debian-mirror-gitlab/app/assets/stylesheets/highlight/white.scss

153 lines
3.4 KiB
SCSS
Raw Normal View History

2015-04-26 12:48:37 +05:30
/* https://github.com/aahan/pygments-github-style */
2016-09-13 17:45:13 +05:30
@mixin matchLine {
color: $black-transparent;
background-color: $match-line;
}
2015-04-26 12:48:37 +05:30
.code.white {
2016-02-05 20:25:01 +05:30
// Line numbers
.line-numbers, .diff-line-num {
background-color: $background-color;
}
2014-09-02 18:07:02 +05:30
2016-02-05 20:25:01 +05:30
.diff-line-num, .diff-line-num a {
2016-06-02 11:05:42 +05:30
color: $black-transparent;
2016-02-05 20:25:01 +05:30
}
2014-09-02 18:07:02 +05:30
2016-02-05 20:25:01 +05:30
// Code itself
pre.code, .diff-line-num {
2016-06-02 11:05:42 +05:30
border-color: $table-border-gray;
2015-09-25 12:07:36 +05:30
}
2016-02-05 20:25:01 +05:30
&, pre.code, .line_holder .line_content {
background-color: #fff;
color: #333;
}
// Diff line
.line_holder {
2016-06-02 11:05:42 +05:30
2016-09-13 17:45:13 +05:30
&.match .line_content {
@include matchLine;
}
2016-02-05 20:25:01 +05:30
.diff-line-num {
&.old {
2016-06-02 11:05:42 +05:30
background-color: $line-number-old;
border-color: $line-removed-dark;
2016-02-05 20:25:01 +05:30
}
&.new {
2016-06-02 11:05:42 +05:30
background-color: $line-number-new;
border-color: $line-added-dark;
}
&.hll:not(.empty-cell) {
background-color: $line-number-select;
border-color: $line-select-yellow-dark;
2016-02-05 20:25:01 +05:30
}
}
.line_content {
&.old {
2016-06-02 11:05:42 +05:30
background-color: $line-removed;
2016-02-05 20:25:01 +05:30
span.idiff {
2016-06-02 11:05:42 +05:30
background-color: $line-removed-dark;
2016-02-05 20:25:01 +05:30
}
}
&.new {
2016-06-02 11:05:42 +05:30
background-color: $line-added;
2016-02-05 20:25:01 +05:30
span.idiff {
2016-06-02 11:05:42 +05:30
background-color: $line-added-dark;
2016-02-05 20:25:01 +05:30
}
}
&.match {
2016-09-13 17:45:13 +05:30
@include matchLine;
2016-06-02 11:05:42 +05:30
}
&.hll:not(.empty-cell) {
background-color: $line-select-yellow;
2016-02-05 20:25:01 +05:30
}
}
2015-04-26 12:48:37 +05:30
}
// highlight line via anchor
pre .hll {
background-color: #f8eec7 !important;
}
2015-09-25 12:07:36 +05:30
// Search result highlight
span.highlight_word {
2015-10-24 18:46:33 +05:30
background-color: #fafe3d !important;
2015-09-25 12:07:36 +05:30
}
2015-04-26 12:48:37 +05:30
.hll { background-color: #f8f8f8 }
2016-06-02 11:05:42 +05:30
.c { color: #998; font-style: italic; }
2015-04-26 12:48:37 +05:30
.err { color: #a61717; background-color: #e3d2d2; }
.k { font-weight: bold; }
.o { font-weight: bold; }
2016-06-02 11:05:42 +05:30
.cm { color: #998; font-style: italic; }
.cp { color: #999; font-weight: bold; }
.c1 { color: #998; font-style: italic; }
.cs { color: #999; font-weight: bold; font-style: italic; }
.gd { color: #000; background-color: #fdd; }
.gd .x { color: #000; background-color: #faa; }
2015-04-26 12:48:37 +05:30
.ge { font-style: italic; }
2016-06-02 11:05:42 +05:30
.gr { color: #a00; }
.gh { color: #999; }
.gi { color: #000; background-color: #dfd; }
.gi .x { color: #000; background-color: #afa; }
.go { color: #888; }
.gp { color: #555; }
2015-04-26 12:48:37 +05:30
.gs { font-weight: bold; }
.gu { color: #800080; font-weight: bold; }
2016-06-02 11:05:42 +05:30
.gt { color: #a00; }
2015-04-26 12:48:37 +05:30
.kc { font-weight: bold; }
.kd { font-weight: bold; }
.kn { font-weight: bold; }
.kp { font-weight: bold; }
.kr { font-weight: bold; }
2016-06-02 11:05:42 +05:30
.kt { color: #458; font-weight: bold; }
.m { color: #099; }
.s { color: #d14; }
.n { color: #333; }
2015-04-26 12:48:37 +05:30
.na { color: teal; }
.nb { color: #0086b3; }
2016-06-02 11:05:42 +05:30
.nc { color: #458; font-weight: bold; }
2015-04-26 12:48:37 +05:30
.no { color: teal; }
.ni { color: purple; }
2016-06-02 11:05:42 +05:30
.ne { color: #900; font-weight: bold; }
.nf { color: #900; font-weight: bold; }
.nn { color: #555; }
2015-04-26 12:48:37 +05:30
.nt { color: navy; }
.nv { color: teal; }
.ow { font-weight: bold; }
2016-06-02 11:05:42 +05:30
.w { color: #bbb; }
.mf { color: #099; }
.mh { color: #099; }
.mi { color: #099; }
.mo { color: #099; }
.sb { color: #d14; }
.sc { color: #d14; }
.sd { color: #d14; }
.s2 { color: #d14; }
.se { color: #d14; }
.sh { color: #d14; }
.si { color: #d14; }
.sx { color: #d14; }
2015-04-26 12:48:37 +05:30
.sr { color: #009926; }
2016-06-02 11:05:42 +05:30
.s1 { color: #d14; }
2015-04-26 12:48:37 +05:30
.ss { color: #990073; }
2016-06-02 11:05:42 +05:30
.bp { color: #999; }
2015-04-26 12:48:37 +05:30
.vc { color: teal; }
.vg { color: teal; }
.vi { color: teal; }
2016-06-02 11:05:42 +05:30
.il { color: #099; }
.gc { color: #999; background-color: #eaf2f5; }
2014-09-02 18:07:02 +05:30
}