summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/highlight/white.scss
blob: 8a932e6540e727a16ab9581f037652c68c9ba055 (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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
/* https://github.com/aahan/pygments-github-style */
.code.white {
  // Line numbers
  .line-numbers, .diff-line-num {
    background-color: $background-color;
  }

  .diff-line-num, .diff-line-num a {
    color: rgba(0, 0, 0, 0.3);
  }

  // Code itself
  pre.code {
    border-left: 1px solid $border-color;
  }

  &, pre.code, .line_holder .line_content {
    background-color: #fff;
    color: #333;
  }

  // Diff line
  .line_holder {
    .diff-line-num {
      &.old {
        background: #ffdddd;
        border-color: #f1c0c0;
      }

      &.new {
        background: #dbffdb;
        border-color: #c1e9c1;
      }
    }

    .line_content {
      &.old {
        background: #ffecec;

        span.idiff {
          background-color: #f8cbcb;
        }
      }

      &.new {
        background: #eaffea;

        span.idiff {
          background-color: #a6f3a6;
        }
      }

      &.match {
        color: rgba(0, 0, 0, 0.3);
        background: #fafafa;
      }
    }
  }

  // highlight line via anchor
  pre .hll {
    background-color: #f8eec7 !important;
  }

  // Search result highlight
  span.highlight_word {
    background-color: #fafe3d !important;
  }

  .hll { background-color: #f8f8f8 }
  .c { color: #999988; font-style: italic; }
  .err { color: #a61717; background-color: #e3d2d2; }
  .k { font-weight: bold; }
  .o { font-weight: bold; }
  .cm { color: #999988; font-style: italic; }
  .cp { color: #999999; font-weight: bold; }
  .c1 { color: #999988; font-style: italic; }
  .cs { color: #999999; font-weight: bold; font-style: italic; }
  .gd { color: #000000; background-color: #ffdddd; }
  .gd .x { color: #000000; background-color: #ffaaaa; }
  .ge { font-style: italic; }
  .gr { color: #aa0000; }
  .gh { color: #999999; }
  .gi { color: #000000; background-color: #ddffdd; }
  .gi .x { color: #000000; background-color: #aaffaa; }
  .go { color: #888888; }
  .gp { color: #555555; }
  .gs { font-weight: bold; }
  .gu { color: #800080; font-weight: bold; }
  .gt { color: #aa0000; }
  .kc { font-weight: bold; }
  .kd { font-weight: bold; }
  .kn { font-weight: bold; }
  .kp { font-weight: bold; }
  .kr { font-weight: bold; }
  .kt { color: #445588; font-weight: bold; }
  .m { color: #009999; }
  .s { color: #dd1144; }
  .n { color: #333333; }
  .na { color: teal; }
  .nb { color: #0086b3; }
  .nc { color: #445588; font-weight: bold; }
  .no { color: teal; }
  .ni { color: purple; }
  .ne { color: #990000; font-weight: bold; }
  .nf { color: #990000; font-weight: bold; }
  .nn { color: #555555; }
  .nt { color: navy; }
  .nv { color: teal; }
  .ow { font-weight: bold; }
  .w { color: #bbbbbb; }
  .mf { color: #009999; }
  .mh { color: #009999; }
  .mi { color: #009999; }
  .mo { color: #009999; }
  .sb { color: #dd1144; }
  .sc { color: #dd1144; }
  .sd { color: #dd1144; }
  .s2 { color: #dd1144; }
  .se { color: #dd1144; }
  .sh { color: #dd1144; }
  .si { color: #dd1144; }
  .sx { color: #dd1144; }
  .sr { color: #009926; }
  .s1 { color: #dd1144; }
  .ss { color: #990073; }
  .bp { color: #999999; }
  .vc { color: teal; }
  .vg { color: teal; }
  .vi { color: teal; }
  .il { color: #009999; }
  .gc { color: #999; background-color: #EAF2F5; }
}