@eui/styles 17.0.0-next.2 → 17.0.0-next.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/styles/eui-ecl-ec.css +7 -8
- package/dist/styles/eui-ecl-ec.css.map +1 -1
- package/dist/styles/eui-ecl-eu.css +7 -8
- package/dist/styles/eui-ecl-eu.css.map +1 -1
- package/dist/styles/eui-ecl.css +2 -0
- package/dist/styles/eui-ecl.css.map +1 -0
- package/dist/styles/eui-icons-flags.css +2 -0
- package/dist/styles/eui-icons-flags.css.map +1 -0
- package/dist/styles/eui-legacy-bootstrap-utilities.css.map +1 -1
- package/dist/styles/eui-legacy-icons-font.css +2 -0
- package/dist/styles/eui-legacy-icons-font.css.map +1 -0
- package/dist/styles/eui-print.css +1 -1
- package/dist/styles/eui-print.css.map +1 -1
- package/dist/styles/eui-showcase-all.css +2 -1
- package/dist/styles/eui-showcase-all.css.map +1 -1
- package/dist/styles/eui-theme-compact.css +2 -0
- package/dist/styles/eui-theme-compact.css.map +1 -0
- package/dist/styles/eui-theme-dark.css +2 -0
- package/dist/styles/eui-theme-dark.css.map +1 -0
- package/dist/styles/eui-utilities.css +1 -1
- package/dist/styles/eui-utilities.css.map +1 -1
- package/dist/styles/eui.css +1 -1
- package/dist/styles/eui.css.map +1 -1
- package/package.json +6 -1
- package/src/styles/01-ecl/_module-eui-ecl.scss +27 -0
- package/src/styles/02-base/mixins/_eui-border-state.scss +7 -7
- package/src/styles/02-base/mixins/_eui-clearable-input.scss +26 -13
- package/src/styles/02-base/mixins/_eui-disabled.scss +1 -1
- package/src/styles/02-base/mixins/_eui-input.scss +8 -9
- package/src/styles/02-base/mixins/_eui-scrollbars.scss +1 -2
- package/src/styles/02-base/mixins/_module.scss +0 -6
- package/src/styles/02b-base-vars/_layout.vars.scss +0 -23
- package/src/styles/02b-base-vars/_module.scss +1 -0
- package/src/styles/02b-base-vars/_other.vars.scss +3 -0
- package/src/styles/03-assets/_module-icons-flags.scss +1 -0
- package/src/styles/03-assets/_module-legacy-icons-font.scss +1 -0
- package/src/styles/05-material/_material.scss +54 -0
- package/src/styles/05-material/_module.scss +1 -25
- package/src/styles/05-material/overrides/_calendar.scss +2 -1
- package/src/styles/06-shared/_module.scss +5 -2
- package/src/styles/07-elements/_module.scss +2 -1
- package/src/styles/07-elements/directives/_eui-clearable-input.scss +26 -0
- package/src/styles/{06-shared → 07-elements/directives}/_eui-input-maxlength.scss +1 -3
- package/src/styles/07-elements/directives/_module.scss +2 -0
- package/src/styles/07-elements/eui-table-default/_eui-table-default.scss +1 -73
- package/src/styles/08-themes/_module-compact.scss +34 -8
- package/src/styles/08-themes/_module-dark.scss +53 -0
- package/src/styles/10-media/_module-print.scss +61 -291
- package/src/styles/99-utilities/_module.scss +1 -1
- package/src/styles/999-showcase/_component-demo-exports.scss +2 -0
- package/src/styles/999-showcase/_module.scss +2 -1
- package/src/styles/999-showcase/_prism-dracula.scss +584 -0
- package/src/styles/999-showcase/_prism-theme.scss +6 -4
- package/src/styles/999-showcase/_specific-typography.scss +14 -8
- package/src/styles/eui-ecl.scss +7 -0
- package/src/styles/eui-icons-flags.scss +7 -0
- package/src/styles/eui-legacy-icons-font.scss +7 -0
- package/src/styles/eui-print.scss +2 -0
- package/src/styles/eui-showcase-all-dev.scss +10 -11
- package/src/styles/eui-showcase-all.scss +8 -10
- package/src/styles/eui-theme-compact.scss +7 -0
- package/src/styles/eui-theme-dark.scss +7 -0
- package/src/styles/eui.scss +0 -6
- package/src/styles/02-base/mixins/_eui-accessibility.scss +0 -39
- package/src/styles/02-base/mixins/_ux-clearable-input.scss +0 -29
- package/src/styles/02-base/mixins/_ux-form-control-state.scss +0 -32
- package/src/styles/05-material/_module-cdk.scss +0 -110
- package/src/styles/05-material/compiled/_full.scss +0 -685
- package/src/styles/05-material/compiled/_sources.scss +0 -382
- package/src/styles/06-shared/_default.scss +0 -11
|
@@ -0,0 +1,584 @@
|
|
|
1
|
+
/* PrismJS 1.14.0
|
|
2
|
+
http://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+abap+actionscript+ada+apacheconf+apl+applescript+c+arff+asciidoc+asm6502+aspnet+autohotkey+autoit+bash+basic+batch+bison+brainfuck+bro+cpp+csharp+arduino+coffeescript+clojure+ruby+csp+css-extras+d+dart+diff+django+docker+eiffel+elixir+elm+markup-templating+erlang+fsharp+flow+fortran+gedcom+gherkin+git+glsl+go+graphql+groovy+haml+handlebars+haskell+haxe+http+hpkp+hsts+ichigojam+icon+inform7+ini+io+j+java+jolie+json+julia+keyman+kotlin+latex+less+liquid+lisp+livescript+lolcode+lua+makefile+markdown+erb+matlab+mel+mizar+monkey+n4js+nasm+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+perl+php+php-extras+sql+powershell+processing+prolog+properties+protobuf+pug+puppet+pure+python+q+qore+r+jsx+typescript+renpy+reason+rest+rip+roboconf+crystal+rust+sas+sass+scss+scala+scheme+smalltalk+smarty+plsql+soy+stylus+swift+tcl+textile+twig+tsx+vbnet+velocity+verilog+vhdl+vim+visual-basic+wasm+wiki+xeora+xojo+yaml&plugins=line-numbers+toolbar+show-language */
|
|
3
|
+
/**
|
|
4
|
+
* prism.js default theme for JavaScript, CSS and HTML
|
|
5
|
+
* Based on dabblet (http://dabblet.com)
|
|
6
|
+
* @author Lea Verou
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/*
|
|
10
|
+
* Dracula Theme for Prism.JS
|
|
11
|
+
*
|
|
12
|
+
* @author Gustavo Costa
|
|
13
|
+
* e-mail: gusbemacbe@gmail.com
|
|
14
|
+
*
|
|
15
|
+
* @contributor Jon Leopard
|
|
16
|
+
* e-mail: jonlprd@gmail.com
|
|
17
|
+
*
|
|
18
|
+
* @license MIT 2016-2020
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/* Aligned color variables for eUI Dark theme, passing WCAG2.1 AA checks */
|
|
22
|
+
html.eui-t-dark
|
|
23
|
+
{
|
|
24
|
+
--background: #282A36;
|
|
25
|
+
--comment: #8095d9;
|
|
26
|
+
--foreground: #F8F8F2;
|
|
27
|
+
--selection: #44475A;
|
|
28
|
+
|
|
29
|
+
--cyan: #8BE9FD;
|
|
30
|
+
--green: #50FA7B;
|
|
31
|
+
--orange: #FFB86C;
|
|
32
|
+
--pink: #ff8be3;
|
|
33
|
+
--purple: #BD93F9;
|
|
34
|
+
--red: #FF5555;
|
|
35
|
+
--yellow: #F1FA8C;
|
|
36
|
+
|
|
37
|
+
/* Transparency */
|
|
38
|
+
|
|
39
|
+
/** 30% of transparency **/
|
|
40
|
+
--background-30: #282A3633;
|
|
41
|
+
--comment-30: #6272A433;
|
|
42
|
+
--foreground-30: #F8F8F233;
|
|
43
|
+
--selection-30: #44475A33;
|
|
44
|
+
|
|
45
|
+
--cyan-30: #8BE9FD33;
|
|
46
|
+
--green-30: #50FA7B33;
|
|
47
|
+
--orange-30: #FFB86C33;
|
|
48
|
+
--pink-30: #FF79C633;
|
|
49
|
+
--purple-30: #BD93F933;
|
|
50
|
+
--red-30: #FF555533;
|
|
51
|
+
--yellow-30: #F1FA8C33;
|
|
52
|
+
|
|
53
|
+
/** 40% of transparency **/
|
|
54
|
+
--background-40: #282A3666;
|
|
55
|
+
--comment-40: #6272A466;
|
|
56
|
+
--foreground-40: #F8F8F266;
|
|
57
|
+
--selection-40: #44475A66;
|
|
58
|
+
|
|
59
|
+
--cyan-40: #8BE9FD66;
|
|
60
|
+
--green-40: #50FA7B66;
|
|
61
|
+
--orange-40: #FFB86C66;
|
|
62
|
+
--pink-40: #FF79C666;
|
|
63
|
+
--purple-40: #BD93F966;
|
|
64
|
+
--red-40: #FF555566;
|
|
65
|
+
--yellow-40: #F1FA8C66;
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
pre::-webkit-scrollbar
|
|
69
|
+
{
|
|
70
|
+
width: 14px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
pre::-webkit-scrollbar-track
|
|
74
|
+
{
|
|
75
|
+
background-color: var(--comment);
|
|
76
|
+
border-radius: 0px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
pre::-webkit-scrollbar-thumb
|
|
80
|
+
{
|
|
81
|
+
background-color: var(--purple);
|
|
82
|
+
border-radius: 0px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* Selection */
|
|
86
|
+
|
|
87
|
+
pre[class*="language-"]::-moz-selection,
|
|
88
|
+
pre[class*="language-"] ::-moz-selection,
|
|
89
|
+
code[class*="language-"]::-moz-selection,
|
|
90
|
+
code[class*="language-"] ::-moz-selection
|
|
91
|
+
{
|
|
92
|
+
text-shadow: none;
|
|
93
|
+
background-color: var(--selection);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
pre[class*="language-"]::selection,
|
|
97
|
+
pre[class*="language-"] ::selection,
|
|
98
|
+
code[class*="language-"]::selection,
|
|
99
|
+
code[class*="language-"] ::selection
|
|
100
|
+
{
|
|
101
|
+
text-shadow: none;
|
|
102
|
+
background-color: var(--selection);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/* Line numbers */
|
|
106
|
+
|
|
107
|
+
pre.line-numbers
|
|
108
|
+
{
|
|
109
|
+
position: relative;
|
|
110
|
+
padding-left: 3.8em;
|
|
111
|
+
counter-reset: linenumber;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
pre.line-numbers > code
|
|
115
|
+
{
|
|
116
|
+
position: relative;
|
|
117
|
+
white-space: inherit;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.line-numbers .line-numbers-rows
|
|
121
|
+
{
|
|
122
|
+
position: absolute;
|
|
123
|
+
pointer-events: none;
|
|
124
|
+
top: 0;
|
|
125
|
+
font-size: 100%;
|
|
126
|
+
left: -3.8em;
|
|
127
|
+
width: 3em; /* works for line-numbers below 1000 lines */
|
|
128
|
+
letter-spacing: -1px;
|
|
129
|
+
border-right: 1px solid #999;
|
|
130
|
+
|
|
131
|
+
-webkit-user-select: none;
|
|
132
|
+
-moz-user-select: none;
|
|
133
|
+
-ms-user-select: none;
|
|
134
|
+
user-select: none;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.line-numbers-rows > span
|
|
138
|
+
{
|
|
139
|
+
pointer-events: none;
|
|
140
|
+
display: block;
|
|
141
|
+
counter-increment: linenumber;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.line-numbers-rows > span:before
|
|
145
|
+
{
|
|
146
|
+
content: counter(linenumber);
|
|
147
|
+
color: #999;
|
|
148
|
+
display: block;
|
|
149
|
+
padding-right: 0.8em;
|
|
150
|
+
text-align: right;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/* Toolbar for copying */
|
|
154
|
+
|
|
155
|
+
div.code-toolbar
|
|
156
|
+
{
|
|
157
|
+
position: relative;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
div.code-toolbar > .toolbar
|
|
161
|
+
{
|
|
162
|
+
position: absolute;
|
|
163
|
+
top: 0.3em;
|
|
164
|
+
right: 0.2em;
|
|
165
|
+
transition: opacity 0.3s ease-in-out;
|
|
166
|
+
opacity: 0;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
div.code-toolbar:hover > .toolbar
|
|
170
|
+
{
|
|
171
|
+
opacity: 1;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
div.code-toolbar > .toolbar .toolbar-item
|
|
175
|
+
{
|
|
176
|
+
display: inline-block;
|
|
177
|
+
padding-right: 20px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
div.code-toolbar > .toolbar a
|
|
181
|
+
{
|
|
182
|
+
cursor: pointer;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
div.code-toolbar > .toolbar button
|
|
186
|
+
{
|
|
187
|
+
background: none;
|
|
188
|
+
border: 0;
|
|
189
|
+
color: inherit;
|
|
190
|
+
font: inherit;
|
|
191
|
+
line-height: normal;
|
|
192
|
+
overflow: visible;
|
|
193
|
+
padding: 0;
|
|
194
|
+
-webkit-user-select: none; /* for button */
|
|
195
|
+
-moz-user-select: none;
|
|
196
|
+
-ms-user-select: none;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
div.code-toolbar > .toolbar a,
|
|
200
|
+
div.code-toolbar > .toolbar button,
|
|
201
|
+
div.code-toolbar > .toolbar span
|
|
202
|
+
{
|
|
203
|
+
color: var(--foreground);
|
|
204
|
+
font-size: 0.8em;
|
|
205
|
+
padding: 0.5em;
|
|
206
|
+
background: var(--comment);
|
|
207
|
+
border-radius: 0.5em;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
div.code-toolbar > .toolbar a:hover,
|
|
211
|
+
div.code-toolbar > .toolbar a:focus,
|
|
212
|
+
div.code-toolbar > .toolbar button:hover,
|
|
213
|
+
div.code-toolbar > .toolbar button:focus,
|
|
214
|
+
div.code-toolbar > .toolbar span:hover,
|
|
215
|
+
div.code-toolbar > .toolbar span:focus
|
|
216
|
+
{
|
|
217
|
+
color: inherit;
|
|
218
|
+
text-decoration: none;
|
|
219
|
+
background-color: var(--green);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* Remove text shadow for printing */
|
|
223
|
+
|
|
224
|
+
@media print
|
|
225
|
+
{
|
|
226
|
+
code[class*="language-"],
|
|
227
|
+
pre[class*="language-"]
|
|
228
|
+
{
|
|
229
|
+
text-shadow: none;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
code[class*="language-"],
|
|
234
|
+
pre[class*="language-"]
|
|
235
|
+
{
|
|
236
|
+
color: var(--foreground);
|
|
237
|
+
background: var(--background);
|
|
238
|
+
text-shadow: none;
|
|
239
|
+
font-family: PT Mono, Consolas, Monaco, "Andale Mono", "Ubuntu Mono",
|
|
240
|
+
monospace;
|
|
241
|
+
text-align: left;
|
|
242
|
+
white-space: pre;
|
|
243
|
+
word-spacing: normal;
|
|
244
|
+
word-break: normal;
|
|
245
|
+
word-wrap: normal;
|
|
246
|
+
line-height: 1.5;
|
|
247
|
+
|
|
248
|
+
-moz-tab-size: 4;
|
|
249
|
+
-o-tab-size: 4;
|
|
250
|
+
tab-size: 4;
|
|
251
|
+
|
|
252
|
+
-webkit-hyphens: none;
|
|
253
|
+
-moz-hyphens: none;
|
|
254
|
+
-ms-hyphens: none;
|
|
255
|
+
hyphens: none;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/* Code blocks */
|
|
259
|
+
|
|
260
|
+
pre[class*="language-"]
|
|
261
|
+
{
|
|
262
|
+
background: var(--background);
|
|
263
|
+
border-radius: 0.5em;
|
|
264
|
+
padding: 1em;
|
|
265
|
+
margin: 0.5em 0;
|
|
266
|
+
overflow: auto;
|
|
267
|
+
height: auto;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
:not(pre) > code[class*="language-"],
|
|
271
|
+
pre[class*="language-"]
|
|
272
|
+
{
|
|
273
|
+
background: var(--background);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/* Inline code */
|
|
277
|
+
:not(pre) > code[class*="language-"]
|
|
278
|
+
{
|
|
279
|
+
padding: 4px 7px;
|
|
280
|
+
border-radius: 0.3em;
|
|
281
|
+
white-space: normal;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/* Code box limit */
|
|
285
|
+
|
|
286
|
+
.limit-300
|
|
287
|
+
{
|
|
288
|
+
height: 300px !important;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.limit-300
|
|
292
|
+
{
|
|
293
|
+
height: 400px !important;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.limit-500
|
|
297
|
+
{
|
|
298
|
+
height: 500px !important;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.limit-600
|
|
302
|
+
{
|
|
303
|
+
height: 600px !important;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.limit-700
|
|
307
|
+
{
|
|
308
|
+
height: 700px !important;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.limit-800
|
|
312
|
+
{
|
|
313
|
+
height: 800px !important;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.language-css
|
|
317
|
+
{
|
|
318
|
+
color: var(--purple);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.token
|
|
322
|
+
{
|
|
323
|
+
color: var(--pink);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.language-css .token
|
|
327
|
+
{
|
|
328
|
+
color: var(--pink);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.token.script
|
|
332
|
+
{
|
|
333
|
+
color: var(--foreground);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.token.bold
|
|
337
|
+
{
|
|
338
|
+
font-weight: bold;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.token.italic
|
|
342
|
+
{
|
|
343
|
+
font-style: italic;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.token.atrule, .token.attr-name, .token.attr-value
|
|
347
|
+
{
|
|
348
|
+
color: var(--green);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.language-css .token.atrule
|
|
352
|
+
{
|
|
353
|
+
color: var(--purple);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.language-html .token.attr-value, .language-markup .token.attr-value
|
|
357
|
+
{
|
|
358
|
+
color: var(--yellow);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.token.boolean
|
|
362
|
+
{
|
|
363
|
+
color: var(--purple);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.token.builtin, .token.class-name
|
|
367
|
+
{
|
|
368
|
+
color: var(--cyan);
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.token.comment
|
|
372
|
+
{
|
|
373
|
+
color: var(--comment);
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.token.constant
|
|
377
|
+
{
|
|
378
|
+
color: var(--purple);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.language-javascript .token.constant
|
|
382
|
+
{
|
|
383
|
+
color: var(--orange);
|
|
384
|
+
font-style: italic;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.token.entity
|
|
388
|
+
{
|
|
389
|
+
color: var(--pink);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.language-css .token.entity
|
|
393
|
+
{
|
|
394
|
+
color: var(--green);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.language-html .token.entity.named-entity
|
|
398
|
+
{
|
|
399
|
+
color: var(--purple);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.language-html .token.entity:not(.named-entity)
|
|
403
|
+
{
|
|
404
|
+
color: var(--pink);
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.language-markup .token.entity.named-entity
|
|
408
|
+
{
|
|
409
|
+
color: var(--purple);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.language-markup .token.entity:not(.named-entity)
|
|
413
|
+
{
|
|
414
|
+
color: var(--pink);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.token.function
|
|
418
|
+
{
|
|
419
|
+
color: var(--green);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.language-css .token.function
|
|
423
|
+
{
|
|
424
|
+
color: var(--cyan);
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.token.important, .token.keyword
|
|
428
|
+
{
|
|
429
|
+
color: var(--pink);
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.token.prolog
|
|
433
|
+
{
|
|
434
|
+
color: var(--foreground);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.token.property
|
|
438
|
+
{
|
|
439
|
+
color: var(--orange);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.language-css .token.property
|
|
443
|
+
{
|
|
444
|
+
color: var(--cyan);
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.token.punctuation
|
|
448
|
+
{
|
|
449
|
+
color: var(--pink);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.language-css .token.punctuation
|
|
453
|
+
{
|
|
454
|
+
color: var(--orange);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.language-html .token.punctuation, .language-markup .token.punctuation
|
|
458
|
+
{
|
|
459
|
+
color: var(--foreground);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.token.selector
|
|
463
|
+
{
|
|
464
|
+
color: var(--pink);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.language-css .token.selector
|
|
468
|
+
{
|
|
469
|
+
color: var(--green);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.token.regex
|
|
473
|
+
{
|
|
474
|
+
color: var(--red);
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.language-css .token.rule:not(.atrule)
|
|
478
|
+
{
|
|
479
|
+
color: var(--foreground);
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.token.string
|
|
483
|
+
{
|
|
484
|
+
color: var(--yellow);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.token.tag
|
|
488
|
+
{
|
|
489
|
+
color: var(--pink);
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.token.url
|
|
493
|
+
{
|
|
494
|
+
color: var(--cyan);
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.language-css .token.url
|
|
498
|
+
{
|
|
499
|
+
color: var(--orange);
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.token.variable
|
|
503
|
+
{
|
|
504
|
+
color: var(--comment);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.token.number
|
|
508
|
+
{
|
|
509
|
+
color: rgba(189, 147, 249, 1);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.token.operator
|
|
513
|
+
{
|
|
514
|
+
color: rgba(139, 233, 253, 1);
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.token.char
|
|
518
|
+
{
|
|
519
|
+
color: rgba(255, 135, 157, 1);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.token.symbol
|
|
523
|
+
{
|
|
524
|
+
color: rgba(255, 184, 108, 1);
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.token.deleted
|
|
528
|
+
{
|
|
529
|
+
color: #e2777a;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.token.namespace
|
|
533
|
+
{
|
|
534
|
+
color: #e2777a;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/* Line Highlighter */
|
|
538
|
+
|
|
539
|
+
.highlight-line
|
|
540
|
+
{
|
|
541
|
+
color: inherit;
|
|
542
|
+
display: inline-block;
|
|
543
|
+
text-decoration: none;
|
|
544
|
+
|
|
545
|
+
border-radius: 4px;
|
|
546
|
+
padding: 2px 10px;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.highlight-line:empty:before
|
|
550
|
+
{
|
|
551
|
+
content: " ";
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.highlight-line:not(:last-child)
|
|
555
|
+
{
|
|
556
|
+
min-width: 100%;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.highlight-line .highlight-line:not(:last-child)
|
|
560
|
+
{
|
|
561
|
+
min-width: 0;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.highlight-line-isdir
|
|
565
|
+
{
|
|
566
|
+
color: var(--foreground);
|
|
567
|
+
background-color: var(--selection-30);
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.highlight-line-active
|
|
571
|
+
{
|
|
572
|
+
background-color: var(--comment-30);
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.highlight-line-add
|
|
576
|
+
{
|
|
577
|
+
background-color: var(--green-30);
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.highlight-line-remove
|
|
581
|
+
{
|
|
582
|
+
background-color: var(--red-30);
|
|
583
|
+
}
|
|
584
|
+
}
|
|
@@ -2,7 +2,7 @@ code[class*="language-"],
|
|
|
2
2
|
pre[class*="language-"] {
|
|
3
3
|
color: black;
|
|
4
4
|
background: none;
|
|
5
|
-
text-shadow:
|
|
5
|
+
text-shadow: none;
|
|
6
6
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
|
7
7
|
font-size: 1em;
|
|
8
8
|
text-align: left;
|
|
@@ -22,6 +22,7 @@ pre[class*="language-"] {
|
|
|
22
22
|
hyphens: none;
|
|
23
23
|
|
|
24
24
|
font-size: 14px;
|
|
25
|
+
@include eui-accessible-focus();
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
|
|
@@ -67,11 +68,12 @@ code[class*="language"] {
|
|
|
67
68
|
padding: 0 1em;
|
|
68
69
|
display: block;
|
|
69
70
|
overflow: auto;
|
|
71
|
+
font-size: v(eui-base-font-size);
|
|
70
72
|
}
|
|
71
73
|
|
|
72
74
|
:not(pre) > code[class*="language-"],
|
|
73
75
|
pre[class*="language-"] {
|
|
74
|
-
background: #
|
|
76
|
+
background: #fff;
|
|
75
77
|
}
|
|
76
78
|
|
|
77
79
|
/* Inline code */
|
|
@@ -89,7 +91,7 @@ pre[class*="language-"] {
|
|
|
89
91
|
}
|
|
90
92
|
|
|
91
93
|
.token.punctuation {
|
|
92
|
-
color: #
|
|
94
|
+
color: #5f5f5f;
|
|
93
95
|
}
|
|
94
96
|
|
|
95
97
|
.token.namespace {
|
|
@@ -112,7 +114,7 @@ pre[class*="language-"] {
|
|
|
112
114
|
.token.char,
|
|
113
115
|
.token.builtin,
|
|
114
116
|
.token.inserted {
|
|
115
|
-
color: #
|
|
117
|
+
color: #517b00;
|
|
116
118
|
}
|
|
117
119
|
|
|
118
120
|
.token.operator,
|
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
// SHOWCASE
|
|
2
2
|
.inner-title {
|
|
3
3
|
color: v(eui-base-color-grey-100);
|
|
4
|
+
font-family: v(eui-base-font-family);
|
|
4
5
|
font-size: v(eui-base-font-size-l);
|
|
5
6
|
padding: v(eui-base-spacing-m) 0 v(eui-base-spacing-s) 0;
|
|
6
|
-
@include eui-font-family-light;
|
|
7
|
+
// @include eui-font-family-light;
|
|
7
8
|
|
|
8
9
|
&.first {
|
|
9
10
|
padding-top: v(eui-base-spacing-s);
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
|
|
13
|
-
h1.section-title
|
|
14
|
-
.section-title.big {
|
|
14
|
+
h1.section-title {
|
|
15
15
|
border-bottom: 1px solid v(eui-base-color-grey-75);
|
|
16
16
|
color: v(eui-base-color-primary-100);
|
|
17
|
+
font-family: v(eui-base-font-family);
|
|
17
18
|
font-size: v(eui-base-font-size-4xl);
|
|
18
19
|
margin: v(eui-base-font-size-3xl) 0 v(eui-base-font-size-2xl);
|
|
19
20
|
padding-bottom: v(eui-base-spacing-m);
|
|
20
21
|
text-align: center;
|
|
21
22
|
width: 100%;
|
|
22
|
-
@include eui-font-family-light;
|
|
23
|
+
// @include eui-font-family-light;
|
|
23
24
|
|
|
25
|
+
&:first-of-type,
|
|
24
26
|
&.first {
|
|
25
27
|
margin-top: v(eui-base-spacing-m);
|
|
26
28
|
}
|
|
@@ -29,12 +31,14 @@ h1.section-title,
|
|
|
29
31
|
h3.section-title {
|
|
30
32
|
border-bottom: 1px solid v(eui-base-color-grey-25);
|
|
31
33
|
color: v(eui-base-color-primary-100);
|
|
34
|
+
font-family: v(eui-base-font-family);
|
|
32
35
|
font-size: v(eui-base-font-size-3xl);
|
|
33
36
|
margin: v(eui-base-spacing-4xl) 0 v(eui-base-spacing-l);
|
|
34
37
|
padding-bottom: v(eui-base-spacing-s);
|
|
35
38
|
width: 100%;
|
|
36
|
-
@include eui-font-family-light;
|
|
39
|
+
// @include eui-font-family-light;
|
|
37
40
|
|
|
41
|
+
&:first-of-type,
|
|
38
42
|
&.first {
|
|
39
43
|
margin-top: v(eui-base-spacing-l);
|
|
40
44
|
}
|
|
@@ -45,11 +49,12 @@ h5.section-title,
|
|
|
45
49
|
.section-title {
|
|
46
50
|
border-bottom: 1px solid v(eui-base-color-grey-25);
|
|
47
51
|
color: v(eui-base-color-primary);
|
|
52
|
+
font-family: v(eui-base-font-family);
|
|
48
53
|
font-size: v(eui-base-font-size-l);
|
|
49
54
|
margin: v(eui-base-spacing-4xl) 0 v(eui-base-spacing-l);
|
|
50
55
|
padding-bottom: v(eui-base-spacing-s);
|
|
51
56
|
width: 100%;
|
|
52
|
-
@include eui-font-family-light;
|
|
57
|
+
// @include eui-font-family-light;
|
|
53
58
|
|
|
54
59
|
&.noborder {
|
|
55
60
|
border-bottom: none;
|
|
@@ -57,13 +62,13 @@ h5.section-title,
|
|
|
57
62
|
margin-bottom: v(eui-base-spacing-m);
|
|
58
63
|
}
|
|
59
64
|
|
|
65
|
+
&:first-of-type,
|
|
60
66
|
&.first {
|
|
61
67
|
margin-top: v(eui-base-spacing-l);
|
|
62
68
|
}
|
|
63
69
|
}
|
|
64
70
|
|
|
65
|
-
h6.section-title
|
|
66
|
-
.section-title.small {
|
|
71
|
+
h6.section-title {
|
|
67
72
|
color: v(eui-base-color-info-110);
|
|
68
73
|
display: table;
|
|
69
74
|
font-family: v(eui-base-font-family);
|
|
@@ -83,6 +88,7 @@ h6.section-title,
|
|
|
83
88
|
border-bottom: none;
|
|
84
89
|
}
|
|
85
90
|
|
|
91
|
+
&:first-of-type,
|
|
86
92
|
&.first {
|
|
87
93
|
margin-top: v(eui-base-spacing-m);
|
|
88
94
|
}
|