Skip to content

Commit 44e9d50

Browse files
handsomemattbarryvdh
authored andcommitted
localize hljs's css to phpdebugbar (php-debugbar#333)
currently these styles will override anything in my application, localizing them to only the debugbar seems like a good solution.
1 parent 5198c9f commit 44e9d50

File tree

1 file changed

+58
-58
lines changed
  • src/DebugBar/Resources/vendor/highlightjs/styles

1 file changed

+58
-58
lines changed

src/DebugBar/Resources/vendor/highlightjs/styles/github.css

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -4,122 +4,122 @@ github.com style (c) Vasily Polovnyov <[email protected]>
44
55
*/
66

7-
.hljs {
7+
div.phpdebugbar .hljs {
88
display: block; padding: 0.5em;
99
color: #333;
1010
background: #f8f8f8
1111
}
1212

13-
.hljs-comment,
14-
.hljs-template_comment,
15-
.diff .hljs-header,
16-
.hljs-javadoc {
13+
div.phpdebugbar .hljs-comment,
14+
div.phpdebugbar .hljs-template_comment,
15+
div.phpdebugbar .diff .hljs-header,
16+
div.phpdebugbar .hljs-javadoc {
1717
color: #998;
1818
font-style: italic
1919
}
2020

21-
.hljs-keyword,
22-
.css .rule .hljs-keyword,
23-
.hljs-winutils,
24-
.javascript .hljs-title,
25-
.nginx .hljs-title,
26-
.hljs-subst,
27-
.hljs-request,
28-
.hljs-status {
21+
div.phpdebugbar .hljs-keyword,
22+
div.phpdebugbar .css .rule .hljs-keyword,
23+
div.phpdebugbar .hljs-winutils,
24+
div.phpdebugbar .javascript .hljs-title,
25+
div.phpdebugbar .nginx .hljs-title,
26+
div.phpdebugbar .hljs-subst,
27+
div.phpdebugbar .hljs-request,
28+
div.phpdebugbar .hljs-status {
2929
color: #333;
3030
font-weight: bold
3131
}
3232

33-
.hljs-number,
34-
.hljs-hexcolor,
35-
.ruby .hljs-constant {
33+
div.phpdebugbar .hljs-number,
34+
div.phpdebugbar .hljs-hexcolor,
35+
div.phpdebugbar .ruby .hljs-constant {
3636
color: #099;
3737
}
3838

39-
.hljs-string,
40-
.hljs-tag .hljs-value,
41-
.hljs-phpdoc,
42-
.tex .hljs-formula {
39+
div.phpdebugbar .hljs-string,
40+
div.phpdebugbar .hljs-tag .hljs-value,
41+
div.phpdebugbar .hljs-phpdoc,
42+
div.phpdebugbar .tex .hljs-formula {
4343
color: #d14
4444
}
4545

46-
.hljs-title,
47-
.hljs-id,
48-
.coffeescript .hljs-params,
49-
.scss .hljs-preprocessor {
46+
div.phpdebugbar .hljs-title,
47+
div.phpdebugbar .hljs-id,
48+
div.phpdebugbar .coffeescript .hljs-params,
49+
div.phpdebugbar .scss .hljs-preprocessor {
5050
color: #900;
5151
font-weight: bold
5252
}
5353

54-
.javascript .hljs-title,
55-
.lisp .hljs-title,
56-
.clojure .hljs-title,
57-
.hljs-subst {
54+
div.phpdebugbar .javascript .hljs-title,
55+
div.phpdebugbar .lisp .hljs-title,
56+
div.phpdebugbar .clojure .hljs-title,
57+
div.phpdebugbar .hljs-subst {
5858
font-weight: normal
5959
}
6060

61-
.hljs-class .hljs-title,
62-
.haskell .hljs-type,
63-
.vhdl .hljs-literal,
64-
.tex .hljs-command {
61+
div.phpdebugbar .hljs-class .hljs-title,
62+
div.phpdebugbar .haskell .hljs-type,
63+
div.phpdebugbar .vhdl .hljs-literal,
64+
div.phpdebugbar .tex .hljs-command {
6565
color: #458;
6666
font-weight: bold
6767
}
6868

69-
.hljs-tag,
70-
.hljs-tag .hljs-title,
71-
.hljs-rules .hljs-property,
72-
.django .hljs-tag .hljs-keyword {
69+
div.phpdebugbar .hljs-tag,
70+
div.phpdebugbar .hljs-tag .hljs-title,
71+
div.phpdebugbar .hljs-rules .hljs-property,
72+
div.phpdebugbar .django .hljs-tag .hljs-keyword {
7373
color: #000080;
7474
font-weight: normal
7575
}
7676

77-
.hljs-attribute,
78-
.hljs-variable,
79-
.lisp .hljs-body {
77+
div.phpdebugbar .hljs-attribute,
78+
div.phpdebugbar .hljs-variable,
79+
div.phpdebugbar .lisp .hljs-body {
8080
color: #008080
8181
}
8282

83-
.hljs-regexp {
83+
div.phpdebugbar .hljs-regexp {
8484
color: #009926
8585
}
8686

87-
.hljs-symbol,
88-
.ruby .hljs-symbol .hljs-string,
89-
.lisp .hljs-keyword,
90-
.tex .hljs-special,
91-
.hljs-prompt {
87+
div.phpdebugbar .hljs-symbol,
88+
div.phpdebugbar .ruby .hljs-symbol .hljs-string,
89+
div.phpdebugbar .lisp .hljs-keyword,
90+
div.phpdebugbar .tex .hljs-special,
91+
div.phpdebugbar .hljs-prompt {
9292
color: #990073
9393
}
9494

95-
.hljs-built_in,
96-
.lisp .hljs-title,
97-
.clojure .hljs-built_in {
95+
div.phpdebugbar .hljs-built_in,
96+
div.phpdebugbar .lisp .hljs-title,
97+
div.phpdebugbar .clojure .hljs-built_in {
9898
color: #0086b3
9999
}
100100

101-
.hljs-preprocessor,
102-
.hljs-pragma,
103-
.hljs-pi,
104-
.hljs-doctype,
105-
.hljs-shebang,
106-
.hljs-cdata {
101+
div.phpdebugbar .hljs-preprocessor,
102+
div.phpdebugbar .hljs-pragma,
103+
div.phpdebugbar .hljs-pi,
104+
div.phpdebugbar .hljs-doctype,
105+
div.phpdebugbar .hljs-shebang,
106+
div.phpdebugbar .hljs-cdata {
107107
color: #999;
108108
font-weight: bold
109109
}
110110

111-
.hljs-deletion {
111+
div.phpdebugbar .hljs-deletion {
112112
background: #fdd
113113
}
114114

115-
.hljs-addition {
115+
div.phpdebugbar .hljs-addition {
116116
background: #dfd
117117
}
118118

119-
.diff .hljs-change {
119+
div.phpdebugbar .diff .hljs-change {
120120
background: #0086b3
121121
}
122122

123-
.hljs-chunk {
123+
div.phpdebugbar .hljs-chunk {
124124
color: #aaa
125125
}

0 commit comments

Comments
 (0)