aboutsummaryrefslogtreecommitdiff
path: root/app/assets/sass/_highlight.scss
blob: e7c4ac87094cee01223eb568ea1ad826b4cad3f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.plan-query-container {
   border: 1px solid $line-color;
   padding: $padding-xl;
   background-color: #fff;
   position: absolute;
   box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.3);
   border-radius: $border-radius-base;
   margin-bottom: $padding-xl;
   z-index: 6;
   left: 0;

   code {
      font-weight: 300;
   }

   .plan-query-text {
      background-color: #fff;
      font-family: $font-family-mono;
      text-align: left;

      .code-key-item {
         background-color: $yellow;
         font-weight: 600;
         padding: 1px;
      }
   }

   h3 {
      font-size: $font-size-lg;
      width: 93%;
      text-align: left;
      border-bottom: 1px solid $line-color;
      padding-bottom: $padding-base;
      margin-bottom: $padding-lg;
   }
}

.hljs, .hljs-subst {
  color: $text-color;
}

.hljs-keyword,
.hljs-attribute,
.hljs-selector-tag,
.hljs-meta-keyword,
.hljs-doctag,
.hljs-name {
   color: $dark-blue;
   font-weight: bold;
}

.hljs-built_in,
.hljs-literal,
.hljs-bullet,
.hljs-code,
.hljs-addition {
   color: $dark-blue;
   font-weight: bold;
}

.hljs-regexp,
.hljs-symbol,
.hljs-variable,
.hljs-template-variable,
.hljs-link,
.hljs-selector-attr,
.hljs-selector-pseudo {
   color: $dark-blue;
   font-weight: bold;
}

.hljs-type,
.hljs-string,
.hljs-number,
.hljs-selector-id,
.hljs-selector-class,
.hljs-quote,
.hljs-template-tag,
.hljs-deletion {
  color: $green;
  font-weight: 600;
}

.hljs-title,
.hljs-section {
  color: $dark-blue;
  font-weight: bold;
}

.hljs-comment {
  color: $text-color-light;
  font-style: italic;
}

.hljs-meta {
  color: $text-color-light;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: 600;
}