@jaisocx/css-code-snippet 1.3.3 → 1.3.4
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/MediaAndStyles/CssCodeSnippet_main.css +2 -0
- package/MediaAndStyles/CssCodeSnippet_main_Webpack.css +1 -2
- package/MediaAndStyles/CssCodeSnippet_main_resolved.css +284 -26
- package/MediaAndStyles/CssCodeSnippet_main_resolved_minimal.css +9 -15
- package/MediaAndStyles/themes/color_themes/csstool-codesnippet-theme-colour-blue.css +19 -0
- package/MediaAndStyles/themes/color_themes/csstool-codesnippet-theme-colour-rosa.css +19 -0
- package/MediaAndStyles/themes/color_themes/csstool-codesnippet-theme-colour-salad.css +18 -0
- package/MediaAndStyles/themes/layout_themes/csstool-codesnippet-theme-size-little.css +1 -0
- package/MediaAndStyles/themes/theme_base/CssCodeSnippet_theme_base_main.css +3 -8
- package/README.md +1 -1
- package/{css_code_snippet.example.html → dev_css_code_snippet__preview.html} +8 -43
- package/{index.example.html → index.preview.html} +18 -44
- package/package.json +4 -4
|
@@ -65,6 +65,8 @@
|
|
|
65
65
|
border: var(--code-snippet-tool--border-width) var(--code-snippet-tool--border-style) var(--code-snippet-tool--border-color);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
+
|
|
69
|
+
|
|
68
70
|
/* the overlapping placeholder, to cover the text near right border,
|
|
69
71
|
to draw right margin, when the width is scrollable to right. */
|
|
70
72
|
.jsx .CodeSnippetHolder::after {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/* @import url("@CssCodeSnippet_MediaAndStyles/responsive_size_Constants.css"); */
|
|
3
|
-
|
|
4
|
-
@import url("@CssCodeSnippet_MediaAndStyles/lines-numbers-variables/code-snippet-lines-numbers-99.css");
|
|
3
|
+
/* @import url("@CssCodeSnippet_MediaAndStyles/lines-numbers-variables/code-snippet-lines-numbers-99.css"); */
|
|
5
4
|
/* @import url("@CssCodeSnippet_MediaAndStyles/lines-numbers-variables/code-snippet-lines-numbers-300.css"); */
|
|
6
5
|
|
|
7
6
|
|
|
@@ -1,26 +1,31 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
.CodeSnippetHolder {
|
|
5
|
-
--lines-numbers--content--99: "\0031\00a\0032\00a\0033\00a\0034\00a\0035\00a\0036\00a\0037\00a\0038\00a\0039\00a\0031\0030\00a\0031\0031\00a\0031\0032\00a\0031\0033\00a\0031\0034\00a\0031\0035\00a\0031\0036\00a\0031\0037\00a\0031\0038\00a\0031\0039\00a\0032\0030\00a\0032\0031\00a\0032\0032\00a\0032\0033\00a\0032\0034\00a\0032\0035\00a\0032\0036\00a\0032\0037\00a\0032\0038\00a\0032\0039\00a\0033\0030\00a\0033\0031\00a\0033\0032\00a\0033\0033\00a\0033\0034\00a\0033\0035\00a\0033\0036\00a\0033\0037\00a\0033\0038\00a\0033\0039\00a\0034\0030\00a\0034\0031\00a\0034\0032\00a\0034\0033\00a\0034\0034\00a\0034\0035\00a\0034\0036\00a\0034\0037\00a\0034\0038\00a\0034\0039\00a\0035\0030\00a\0035\0031\00a\0035\0032\00a\0035\0033\00a\0035\0034\00a\0035\0035\00a\0035\0036\00a\0035\0037\00a\0035\0038\00a\0035\0039\00a\0036\0030\00a\0036\0031\00a\0036\0032\00a\0036\0033\00a\0036\0034\00a\0036\0035\00a\0036\0036\00a\0036\0037\00a\0036\0038\00a\0036\0039\00a\0037\0030\00a\0037\0031\00a\0037\0032\00a\0037\0033\00a\0037\0034\00a\0037\0035\00a\0037\0036\00a\0037\0037\00a\0037\0038\00a\0037\0039\00a\0038\0030\00a\0038\0031\00a\0038\0032\00a\0038\0033\00a\0038\0034\00a\0038\0035\00a\0038\0036\00a\0038\0037\00a\0038\0038\00a\0038\0039\00a\0039\0030\00a\0039\0031\00a\0039\0032\00a\0039\0033\00a\0039\0034\00a\0039\0035\00a\0039\0036\00a\0039\0037\00a\0039\0038\00a\0039\0039\00a";
|
|
6
|
-
}
|
|
7
4
|
|
|
8
5
|
|
|
9
6
|
|
|
10
7
|
|
|
11
8
|
|
|
12
|
-
.jsx .CodeSnippetHolder.css_clean_start_2__color_theme {
|
|
13
|
-
--code-snippet--theme-color: var(--jsx--css-clean-start-2--body-tag--background);
|
|
14
|
-
--code-snippet--background-color: var(--jsx--css-clean-start-2--site--background);
|
|
15
9
|
|
|
16
10
|
|
|
17
|
-
--code-snippet--text-color: var(--jsx--css-clean-start-2--all-tags--color);
|
|
18
11
|
|
|
19
|
-
--code-snippet-tool--border-color: var(--jsx--css-clean-start-2--all-tags--border-color);
|
|
20
12
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
24
29
|
|
|
25
30
|
|
|
26
31
|
|
|
@@ -44,6 +49,28 @@
|
|
|
44
49
|
|
|
45
50
|
}
|
|
46
51
|
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
@supports selector(::-webkit-scrollbar) {
|
|
55
|
+
|
|
56
|
+
.jsx .CodeSnippetHolder.blue::-webkit-scrollbar {
|
|
57
|
+
width: 0.4rem;
|
|
58
|
+
height: 0.4rem;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.jsx .CodeSnippetHolder.blue::-webkit-scrollbar-thumb {
|
|
62
|
+
background-color: steelblue;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.jsx .CodeSnippetHolder.blue::-webkit-scrollbar-track {
|
|
66
|
+
background: #fafaff;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
47
74
|
.jsx.rosa,
|
|
48
75
|
.jsx .rosa,
|
|
49
76
|
.CodeSnippetHolder.rosa {
|
|
@@ -64,6 +91,28 @@
|
|
|
64
91
|
|
|
65
92
|
}
|
|
66
93
|
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
@supports selector(::-webkit-scrollbar) {
|
|
97
|
+
|
|
98
|
+
.jsx .CodeSnippetHolder.rosa::-webkit-scrollbar {
|
|
99
|
+
width: 0.4rem;
|
|
100
|
+
height: 0.4rem;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.jsx .CodeSnippetHolder.rosa::-webkit-scrollbar-thumb {
|
|
104
|
+
background-color: magenta;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.jsx .CodeSnippetHolder.rosa::-webkit-scrollbar-track {
|
|
108
|
+
background: #fffafa;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
67
116
|
.jsx.salad,
|
|
68
117
|
.jsx .salad,
|
|
69
118
|
.CodeSnippetHolder.salad {
|
|
@@ -85,6 +134,27 @@
|
|
|
85
134
|
|
|
86
135
|
|
|
87
136
|
|
|
137
|
+
@supports selector(::-webkit-scrollbar) {
|
|
138
|
+
|
|
139
|
+
.jsx .CodeSnippetHolder.salad::-webkit-scrollbar {
|
|
140
|
+
width: 0.4rem;
|
|
141
|
+
height: 0.4rem;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.jsx .CodeSnippetHolder.salad::-webkit-scrollbar-thumb {
|
|
145
|
+
background-color: lime;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.jsx .CodeSnippetHolder.salad::-webkit-scrollbar-track {
|
|
149
|
+
background: #fefffe;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
88
158
|
|
|
89
159
|
.CodeSnippetHolder.large {
|
|
90
160
|
|
|
@@ -104,6 +174,10 @@
|
|
|
104
174
|
|
|
105
175
|
}
|
|
106
176
|
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
.CodeSnippetHolder,
|
|
107
181
|
.CodeSnippetHolder.little {
|
|
108
182
|
|
|
109
183
|
|
|
@@ -123,15 +197,13 @@
|
|
|
123
197
|
}
|
|
124
198
|
|
|
125
199
|
|
|
126
|
-
.jsx .CssCodeSnippet {
|
|
127
|
-
|
|
128
|
-
--lines-numbers--content: var(--lines-numbers--content--99);
|
|
129
|
-
|
|
130
200
|
|
|
131
201
|
|
|
132
|
-
|
|
202
|
+
.jsx .CssCodeSnippet {
|
|
133
203
|
|
|
204
|
+
--lines-numbers--content: var(--lines-numbers--content--99);
|
|
134
205
|
|
|
206
|
+
--code-snippet-tool--overflow-y: auto;
|
|
135
207
|
|
|
136
208
|
|
|
137
209
|
|
|
@@ -149,8 +221,7 @@
|
|
|
149
221
|
|
|
150
222
|
--lines-numbers--content: var(--lines-numbers--content--99);
|
|
151
223
|
|
|
152
|
-
|
|
153
|
-
--code_snippet__font_family: Courier;
|
|
224
|
+
--code_snippet__font_family: var(--css-clean-start-2--monospace--font-family) Courier, "Courier New", Menlo, Consolas, 'Liberation Mono';
|
|
154
225
|
|
|
155
226
|
|
|
156
227
|
|
|
@@ -189,15 +260,102 @@
|
|
|
189
260
|
|
|
190
261
|
|
|
191
262
|
|
|
192
|
-
@media only screen and (min-width: 2px) and (max-width: 239px) and (min-height: 2px) and (max-height: 99999px) and (orientation: portrait) {
|
|
193
263
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
|
|
201
359
|
|
|
202
360
|
@media only screen and (min-width: 2px) and (max-width: 99999px) and (min-height: 2px) and (max-height: 239px) and (orientation: landscape) {
|
|
203
361
|
|
|
@@ -210,6 +368,8 @@
|
|
|
210
368
|
}
|
|
211
369
|
|
|
212
370
|
|
|
371
|
+
|
|
372
|
+
|
|
213
373
|
@media only screen and (min-width: 240px) and (max-width: 320px) and (min-height: 240px) and (max-height: 99999px) and (orientation: portrait) {
|
|
214
374
|
|
|
215
375
|
.jsx .CssCodeSnippet {
|
|
@@ -220,6 +380,9 @@
|
|
|
220
380
|
}
|
|
221
381
|
}
|
|
222
382
|
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
223
386
|
@media only screen and (min-width: 240px) and (max-width: 99999px) and (min-height: 240px) and (max-height: 320px) and (orientation: landscape) {
|
|
224
387
|
|
|
225
388
|
.jsx .CssCodeSnippet {
|
|
@@ -231,6 +394,8 @@
|
|
|
231
394
|
}
|
|
232
395
|
|
|
233
396
|
|
|
397
|
+
|
|
398
|
+
|
|
234
399
|
@media only screen and (min-width: 321px) and (max-width: 375px) and (min-height: 321px) and (max-height: 99999px) and (orientation: portrait) {
|
|
235
400
|
|
|
236
401
|
.jsx .CssCodeSnippet {
|
|
@@ -241,6 +406,9 @@
|
|
|
241
406
|
}
|
|
242
407
|
}
|
|
243
408
|
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
244
412
|
@media only screen and (min-width: 321px) and (max-width: 99999px) and (min-height: 321px) and (max-height: 375px) and (orientation: landscape) {
|
|
245
413
|
|
|
246
414
|
.jsx .CssCodeSnippet {
|
|
@@ -252,6 +420,8 @@
|
|
|
252
420
|
}
|
|
253
421
|
|
|
254
422
|
|
|
423
|
+
|
|
424
|
+
|
|
255
425
|
@media only screen and (min-width: 376px) and (max-width: 430px) and (min-height: 376px) and (max-height: 99999px) and (orientation: portrait) {
|
|
256
426
|
|
|
257
427
|
.jsx .CssCodeSnippet {
|
|
@@ -262,6 +432,9 @@
|
|
|
262
432
|
}
|
|
263
433
|
}
|
|
264
434
|
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
265
438
|
@media only screen and (min-width: 376px) and (max-width: 99999px) and (min-height: 376px) and (max-height: 430px) and (orientation: landscape) {
|
|
266
439
|
|
|
267
440
|
.jsx .CssCodeSnippet {
|
|
@@ -273,6 +446,8 @@
|
|
|
273
446
|
}
|
|
274
447
|
|
|
275
448
|
|
|
449
|
+
|
|
450
|
+
|
|
276
451
|
@media only screen and (min-width: 431px) and (max-width: 480px) and (min-height: 431px) and (max-height: 99999px) and (orientation: portrait) {
|
|
277
452
|
|
|
278
453
|
.jsx .CssCodeSnippet {
|
|
@@ -283,6 +458,9 @@
|
|
|
283
458
|
}
|
|
284
459
|
}
|
|
285
460
|
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
286
464
|
@media only screen and (min-width: 431px) and (max-width: 99999px) and (min-height: 431px) and (max-height: 480px) and (orientation: landscape) {
|
|
287
465
|
|
|
288
466
|
.jsx .CssCodeSnippet {
|
|
@@ -294,6 +472,8 @@
|
|
|
294
472
|
}
|
|
295
473
|
|
|
296
474
|
|
|
475
|
+
|
|
476
|
+
|
|
297
477
|
@media only screen and (min-width: 481px) and (max-width: 767px) and (min-height: 481px) and (max-height: 99999px) and (orientation: portrait) {
|
|
298
478
|
|
|
299
479
|
.jsx .CssCodeSnippet {
|
|
@@ -304,6 +484,9 @@
|
|
|
304
484
|
}
|
|
305
485
|
}
|
|
306
486
|
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
|
|
307
490
|
@media only screen and (min-width: 481px) and (max-width: 99999px) and (min-height: 481px) and (max-height: 767px) and (orientation: landscape) {
|
|
308
491
|
|
|
309
492
|
.jsx .CssCodeSnippet {
|
|
@@ -315,6 +498,8 @@
|
|
|
315
498
|
}
|
|
316
499
|
|
|
317
500
|
|
|
501
|
+
|
|
502
|
+
|
|
318
503
|
@media only screen and (min-width: 768px) and (max-width: 1024px) and (min-height: 768px) and (max-height: 1024px) and (orientation: portrait) {
|
|
319
504
|
|
|
320
505
|
.jsx .CssCodeSnippet {
|
|
@@ -325,6 +510,9 @@
|
|
|
325
510
|
}
|
|
326
511
|
}
|
|
327
512
|
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
328
516
|
@media only screen and (min-width: 768px) and (max-width: 1024px) and (min-height: 768px) and (max-height: 1024px) and (orientation: landscape) {
|
|
329
517
|
|
|
330
518
|
.jsx .CssCodeSnippet {
|
|
@@ -336,6 +524,8 @@
|
|
|
336
524
|
}
|
|
337
525
|
|
|
338
526
|
|
|
527
|
+
|
|
528
|
+
|
|
339
529
|
@media only screen and (min-width: 768px) and (max-width: 1024px) and (min-height: 1025px) and (max-height: 1194px) and (orientation: portrait) {
|
|
340
530
|
|
|
341
531
|
.jsx .CssCodeSnippet {
|
|
@@ -346,6 +536,9 @@
|
|
|
346
536
|
}
|
|
347
537
|
}
|
|
348
538
|
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
349
542
|
@media only screen and (min-width: 1025px) and (max-width: 1194px) and (min-height: 768px) and (max-height: 1024px) and (orientation: landscape) {
|
|
350
543
|
|
|
351
544
|
.jsx .CssCodeSnippet {
|
|
@@ -357,6 +550,8 @@
|
|
|
357
550
|
}
|
|
358
551
|
|
|
359
552
|
|
|
553
|
+
|
|
554
|
+
|
|
360
555
|
@media only screen and (min-width: 768px) and (max-width: 1024px) and (min-height: 1195px) and (max-height: 99999px) and (orientation: portrait) {
|
|
361
556
|
|
|
362
557
|
.jsx .CssCodeSnippet {
|
|
@@ -367,6 +562,9 @@
|
|
|
367
562
|
}
|
|
368
563
|
}
|
|
369
564
|
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
370
568
|
@media only screen and (min-width: 1195px) and (max-width: 99999px) and (min-height: 768px) and (max-height: 1024px) and (orientation: landscape) {
|
|
371
569
|
|
|
372
570
|
.jsx .CssCodeSnippet {
|
|
@@ -378,6 +576,8 @@
|
|
|
378
576
|
}
|
|
379
577
|
|
|
380
578
|
|
|
579
|
+
|
|
580
|
+
|
|
381
581
|
@media only screen and (min-width: 1025px) and (max-width: 1365px) and (min-height: 1025px) and (max-height: 1365px) and (orientation: portrait) {
|
|
382
582
|
|
|
383
583
|
.jsx .CssCodeSnippet {
|
|
@@ -388,6 +588,9 @@
|
|
|
388
588
|
}
|
|
389
589
|
}
|
|
390
590
|
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
|
|
391
594
|
@media only screen and (min-width: 1025px) and (max-width: 1365px) and (min-height: 1025px) and (max-height: 1365px) and (orientation: landscape) {
|
|
392
595
|
|
|
393
596
|
.jsx .CssCodeSnippet {
|
|
@@ -399,6 +602,8 @@
|
|
|
399
602
|
}
|
|
400
603
|
|
|
401
604
|
|
|
605
|
+
|
|
606
|
+
|
|
402
607
|
@media only screen and (min-width: 1025px) and (max-width: 1440px) and (min-height: 1366px) and (max-height: 1440px) and (orientation: portrait) {
|
|
403
608
|
|
|
404
609
|
.jsx .CssCodeSnippet {
|
|
@@ -409,6 +614,9 @@
|
|
|
409
614
|
}
|
|
410
615
|
}
|
|
411
616
|
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
|
|
412
620
|
@media only screen and (min-width: 1366px) and (max-width: 1440px) and (min-height: 1025px) and (max-height: 1440px) and (orientation: landscape) {
|
|
413
621
|
|
|
414
622
|
.jsx .CssCodeSnippet {
|
|
@@ -420,6 +628,8 @@
|
|
|
420
628
|
}
|
|
421
629
|
|
|
422
630
|
|
|
631
|
+
|
|
632
|
+
|
|
423
633
|
@media only screen and (min-width: 1025px) and (max-width: 1600px) and (min-height: 1441px) and (max-height: 1600px) and (orientation: portrait) {
|
|
424
634
|
|
|
425
635
|
.jsx .CssCodeSnippet {
|
|
@@ -430,6 +640,9 @@
|
|
|
430
640
|
}
|
|
431
641
|
}
|
|
432
642
|
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
|
|
433
646
|
@media only screen and (min-width: 1441px) and (max-width: 1600px) and (min-height: 1025px) and (max-height: 1600px) and (orientation: landscape) {
|
|
434
647
|
|
|
435
648
|
.jsx .CssCodeSnippet {
|
|
@@ -441,6 +654,8 @@
|
|
|
441
654
|
}
|
|
442
655
|
|
|
443
656
|
|
|
657
|
+
|
|
658
|
+
|
|
444
659
|
@media only screen and (min-width: 1025px) and (max-width: 1920px) and (min-height: 1601px) and (max-height: 1920px) and (orientation: portrait) {
|
|
445
660
|
|
|
446
661
|
.jsx .CssCodeSnippet {
|
|
@@ -451,6 +666,9 @@
|
|
|
451
666
|
}
|
|
452
667
|
}
|
|
453
668
|
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
|
|
454
672
|
@media only screen and (min-width: 1601px) and (max-width: 1920px) and (min-height: 1025px) and (max-height: 1920px) and (orientation: landscape) {
|
|
455
673
|
|
|
456
674
|
.jsx .CssCodeSnippet {
|
|
@@ -462,6 +680,8 @@
|
|
|
462
680
|
}
|
|
463
681
|
|
|
464
682
|
|
|
683
|
+
|
|
684
|
+
|
|
465
685
|
@media only screen and (min-width: 1025px) and (max-width: 2560px) and (min-height: 1921px) and (max-height: 2560px) and (orientation: portrait) {
|
|
466
686
|
|
|
467
687
|
.jsx .CssCodeSnippet {
|
|
@@ -472,6 +692,9 @@
|
|
|
472
692
|
}
|
|
473
693
|
}
|
|
474
694
|
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
|
|
475
698
|
@media only screen and (min-width: 1921px) and (max-width: 2560px) and (min-height: 1025px) and (max-height: 2560px) and (orientation: landscape) {
|
|
476
699
|
|
|
477
700
|
.jsx .CssCodeSnippet {
|
|
@@ -483,6 +706,8 @@
|
|
|
483
706
|
}
|
|
484
707
|
|
|
485
708
|
|
|
709
|
+
|
|
710
|
+
|
|
486
711
|
@media only screen and (min-width: 1025px) and (max-width: 3840px) and (min-height: 2561px) and (max-height: 3840px) and (orientation: portrait) {
|
|
487
712
|
|
|
488
713
|
.jsx .CssCodeSnippet {
|
|
@@ -493,6 +718,9 @@
|
|
|
493
718
|
}
|
|
494
719
|
}
|
|
495
720
|
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
|
|
496
724
|
@media only screen and (min-width: 2561px) and (max-width: 3840px) and (min-height: 1025px) and (max-height: 3840px) and (orientation: landscape) {
|
|
497
725
|
|
|
498
726
|
.jsx .CssCodeSnippet {
|
|
@@ -504,6 +732,8 @@
|
|
|
504
732
|
}
|
|
505
733
|
|
|
506
734
|
|
|
735
|
+
|
|
736
|
+
|
|
507
737
|
@media only screen and (min-width: 1025px) and (max-width: 7680px) and (min-height: 3841px) and (max-height: 7680px) and (orientation: portrait) {
|
|
508
738
|
|
|
509
739
|
.jsx .CssCodeSnippet {
|
|
@@ -514,6 +744,9 @@
|
|
|
514
744
|
}
|
|
515
745
|
}
|
|
516
746
|
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
|
|
517
750
|
@media only screen and (min-width: 3841px) and (max-width: 7680px) and (min-height: 1025px) and (max-height: 7680px) and (orientation: landscape) {
|
|
518
751
|
|
|
519
752
|
.jsx .CssCodeSnippet {
|
|
@@ -525,6 +758,8 @@
|
|
|
525
758
|
}
|
|
526
759
|
|
|
527
760
|
|
|
761
|
+
|
|
762
|
+
|
|
528
763
|
@media only screen and (min-width: 1025px) and (max-width: 15360px) and (min-height: 7681px) and (max-height: 15360px) and (orientation: portrait) {
|
|
529
764
|
|
|
530
765
|
.jsx .CssCodeSnippet {
|
|
@@ -535,6 +770,9 @@
|
|
|
535
770
|
}
|
|
536
771
|
}
|
|
537
772
|
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
|
|
538
776
|
@media only screen and (min-width: 7681px) and (max-width: 15360px) and (min-height: 1025px) and (max-height: 15360px) and (orientation: landscape) {
|
|
539
777
|
|
|
540
778
|
.jsx .CssCodeSnippet {
|
|
@@ -546,6 +784,8 @@
|
|
|
546
784
|
}
|
|
547
785
|
|
|
548
786
|
|
|
787
|
+
|
|
788
|
+
|
|
549
789
|
@media only screen and (min-width: 1025px) and (max-width: 25360px) and (min-height: 15361px) and (max-height: 25360px) and (orientation: portrait) {
|
|
550
790
|
|
|
551
791
|
.jsx .CssCodeSnippet {
|
|
@@ -556,6 +796,9 @@
|
|
|
556
796
|
}
|
|
557
797
|
}
|
|
558
798
|
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
|
|
559
802
|
@media only screen and (min-width: 15361px) and (max-width: 25360px) and (min-height: 1025px) and (max-height: 25360px) and (orientation: landscape) {
|
|
560
803
|
|
|
561
804
|
.jsx .CssCodeSnippet {
|
|
@@ -567,6 +810,8 @@
|
|
|
567
810
|
}
|
|
568
811
|
|
|
569
812
|
|
|
813
|
+
|
|
814
|
+
|
|
570
815
|
@media only screen and (min-width: 1025px) and (max-width: 999999px) and (min-height: 25361px) and (max-height: 999999px) and (orientation: portrait) {
|
|
571
816
|
|
|
572
817
|
.jsx .CssCodeSnippet {
|
|
@@ -577,6 +822,9 @@
|
|
|
577
822
|
}
|
|
578
823
|
}
|
|
579
824
|
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
|
|
580
828
|
@media only screen and (min-width: 25361px) and (max-width: 999999px) and (min-height: 1025px) and (max-height: 999999px) and (orientation: landscape) {
|
|
581
829
|
|
|
582
830
|
.jsx .CssCodeSnippet {
|
|
@@ -591,6 +839,11 @@
|
|
|
591
839
|
|
|
592
840
|
|
|
593
841
|
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
|
|
594
847
|
@media (max-width: 440px) {
|
|
595
848
|
.jsx .CodeSnippetHolder {
|
|
596
849
|
max-width: 93vw;
|
|
@@ -656,6 +909,8 @@
|
|
|
656
909
|
}
|
|
657
910
|
|
|
658
911
|
|
|
912
|
+
|
|
913
|
+
|
|
659
914
|
.jsx .CodeSnippetHolder::after {
|
|
660
915
|
content: "";
|
|
661
916
|
|
|
@@ -734,3 +989,6 @@
|
|
|
734
989
|
color: var(--code-snippet--text-color);
|
|
735
990
|
background-color: var(--code-snippet--background-color);
|
|
736
991
|
}
|
|
992
|
+
|
|
993
|
+
|
|
994
|
+
|
|
@@ -9,18 +9,10 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
.jsx .CodeSnippetHolder.css_clean_start_2__color_theme {
|
|
13
|
-
--code-snippet--theme-color: var(--jsx--css-clean-start-2--body-tag--background);
|
|
14
|
-
--code-snippet--background-color: var(--jsx--css-clean-start-2--site--background);
|
|
15
12
|
|
|
16
13
|
|
|
17
|
-
--code-snippet--text-color: var(--jsx--css-clean-start-2--all-tags--color);
|
|
18
14
|
|
|
19
|
-
--code-snippet-tool--border-color: var(--jsx--css-clean-start-2--all-tags--border-color);
|
|
20
15
|
|
|
21
|
-
--code_snippet__column_numbers__text-color: var(--jsx--css-clean-start-2--all-tags--border-color);
|
|
22
|
-
--code_snippet__column_numbers__background-color: var(--jsx--css-clean-start-2--body-tag--background);
|
|
23
|
-
}
|
|
24
16
|
|
|
25
17
|
|
|
26
18
|
|
|
@@ -36,15 +28,15 @@
|
|
|
36
28
|
|
|
37
29
|
|
|
38
30
|
|
|
39
|
-
.jsx .CssCodeSnippet {
|
|
40
31
|
|
|
41
|
-
--lines-numbers--content: var(--lines-numbers--content--99);
|
|
42
32
|
|
|
43
33
|
|
|
44
34
|
|
|
45
|
-
|
|
35
|
+
.jsx .CssCodeSnippet {
|
|
46
36
|
|
|
37
|
+
--lines-numbers--content: var(--lines-numbers--content--99);
|
|
47
38
|
|
|
39
|
+
--code-snippet-tool--overflow-y: auto;
|
|
48
40
|
|
|
49
41
|
|
|
50
42
|
|
|
@@ -62,8 +54,7 @@
|
|
|
62
54
|
|
|
63
55
|
--lines-numbers--content: var(--lines-numbers--content--99);
|
|
64
56
|
|
|
65
|
-
|
|
66
|
-
--code_snippet__font_family: Courier;
|
|
57
|
+
--code_snippet__font_family: var(--css-clean-start-2--monospace--font-family) Courier, "Courier New", Menlo, Consolas, 'Liberation Mono';
|
|
67
58
|
|
|
68
59
|
|
|
69
60
|
|
|
@@ -104,8 +95,6 @@
|
|
|
104
95
|
|
|
105
96
|
|
|
106
97
|
|
|
107
|
-
|
|
108
|
-
|
|
109
98
|
@media (max-width: 440px) {
|
|
110
99
|
.jsx .CodeSnippetHolder {
|
|
111
100
|
max-width: 93vw;
|
|
@@ -171,6 +160,8 @@
|
|
|
171
160
|
}
|
|
172
161
|
|
|
173
162
|
|
|
163
|
+
|
|
164
|
+
|
|
174
165
|
.jsx .CodeSnippetHolder::after {
|
|
175
166
|
content: "";
|
|
176
167
|
|
|
@@ -249,3 +240,6 @@
|
|
|
249
240
|
color: var(--code-snippet--text-color);
|
|
250
241
|
background-color: var(--code-snippet--background-color);
|
|
251
242
|
}
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
@@ -18,3 +18,22 @@
|
|
|
18
18
|
--code_snippet__column_numbers__background-color: #cef;
|
|
19
19
|
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
@supports selector(::-webkit-scrollbar) {
|
|
25
|
+
|
|
26
|
+
.jsx .CodeSnippetHolder.blue::-webkit-scrollbar {
|
|
27
|
+
width: 0.4rem;
|
|
28
|
+
height: 0.4rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.jsx .CodeSnippetHolder.blue::-webkit-scrollbar-thumb {
|
|
32
|
+
background-color: steelblue;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.jsx .CodeSnippetHolder.blue::-webkit-scrollbar-track {
|
|
36
|
+
background: #fafaff;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
}
|
|
@@ -18,3 +18,22 @@
|
|
|
18
18
|
--code_snippet__column_numbers__background-color: white;
|
|
19
19
|
|
|
20
20
|
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
@supports selector(::-webkit-scrollbar) {
|
|
25
|
+
|
|
26
|
+
.jsx .CodeSnippetHolder.rosa::-webkit-scrollbar {
|
|
27
|
+
width: 0.4rem;
|
|
28
|
+
height: 0.4rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.jsx .CodeSnippetHolder.rosa::-webkit-scrollbar-thumb {
|
|
32
|
+
background-color: magenta;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.jsx .CodeSnippetHolder.rosa::-webkit-scrollbar-track {
|
|
36
|
+
background: #fffafa;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
}
|
|
@@ -20,3 +20,21 @@
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
@supports selector(::-webkit-scrollbar) {
|
|
24
|
+
|
|
25
|
+
.jsx .CodeSnippetHolder.salad::-webkit-scrollbar {
|
|
26
|
+
width: 0.4rem;
|
|
27
|
+
height: 0.4rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.jsx .CodeSnippetHolder.salad::-webkit-scrollbar-thumb {
|
|
31
|
+
background-color: lime;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.jsx .CodeSnippetHolder.salad::-webkit-scrollbar-track {
|
|
35
|
+
background: #fefffe;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
@@ -3,11 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
--lines-numbers--content: var(--lines-numbers--content--99);
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
--jsx--css-clean-start-2--all-tags--font-family: LibreFranklin, "Franklin Gothic Medium";
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
--code-snippet-tool--overflow-y: auto;
|
|
11
7
|
|
|
12
8
|
/* base theme css var assignment example */
|
|
13
9
|
/* --jsx--CssCodeSnippet--toolHtmlElement--font-size: 1rem; */
|
|
@@ -25,7 +21,7 @@
|
|
|
25
21
|
/* when the MediaAndStyles/lines-numbers-variables/code-snippet-lines-numbers-99.css file is in the .html page,
|
|
26
22
|
then the css variable --lines-numbers--content--99 is loaded.
|
|
27
23
|
|
|
28
|
-
file: workspace/ts/
|
|
24
|
+
file: workspace/ts/Jaisocx_SitesTools/sites_tools/css_tools/CssCodeSnippet/MediaAndStyles/lines-numbers-variables/code-snippet-lines-numbers-300.css
|
|
29
25
|
contains css vriable --lines-numbers--content--300
|
|
30
26
|
|
|
31
27
|
CssCodeSnippetHelpers js class in file transpiled/Simple/CssCodeSnippetHelpers.js
|
|
@@ -34,8 +30,7 @@
|
|
|
34
30
|
*/
|
|
35
31
|
--lines-numbers--content: var(--lines-numbers--content--99);
|
|
36
32
|
|
|
37
|
-
|
|
38
|
-
--code_snippet__font_family: Courier;
|
|
33
|
+
--code_snippet__font_family: var(--css-clean-start-2--monospace--font-family) Courier, "Courier New", Menlo, Consolas, 'Liberation Mono';
|
|
39
34
|
|
|
40
35
|
/* code snippet tool borders */
|
|
41
36
|
/* by color */
|
package/README.md
CHANGED
|
@@ -15,5 +15,5 @@ Jaisocx Company
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
### Css Code Snippet
|
|
18
|
-
[https://github.com/Jaisocx-Tools/Workspace/tree/main/workspace/ts/
|
|
18
|
+
[https://github.com/Jaisocx-Tools/Workspace/tree/main/workspace/ts/Jaisocx_SitesTools/sites_tools/css_tools/CssCodeSnippet](https://github.com/Jaisocx-Tools/Workspace/tree/main/workspace/ts/Jaisocx_SitesTools/sites_tools/css_tools/CssCodeSnippet)
|
|
19
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html lang="en" class="jsx theme_visible_height">
|
|
2
|
+
<html lang="en" class="jsx theme_visible_height theme_darkmode">
|
|
3
3
|
<head>
|
|
4
4
|
|
|
5
5
|
<title>CssCodeSnippet</title>
|
|
@@ -30,32 +30,6 @@
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
<!--# FONTS PRELOAD WITHOUT JAVASCRIPT CALL -->
|
|
34
|
-
<link
|
|
35
|
-
fetchpriority="high"
|
|
36
|
-
rel="preload"
|
|
37
|
-
as="font"
|
|
38
|
-
type="font/ttf"
|
|
39
|
-
href="https://sandbox.brightday.email/cdn/www/fonts/LibreFranklin/static/LibreFranklin-SemiBold.ttf"
|
|
40
|
-
/>
|
|
41
|
-
|
|
42
|
-
<link
|
|
43
|
-
fetchpriority="high"
|
|
44
|
-
rel="preload"
|
|
45
|
-
as="font"
|
|
46
|
-
type="font/ttf"
|
|
47
|
-
href="https://sandbox.brightday.email/cdn/www/fonts/LibreFranklin/static/LibreFranklin-Regular.ttf"
|
|
48
|
-
/>
|
|
49
|
-
|
|
50
|
-
<!--# CSS FOR FONTS -->
|
|
51
|
-
<link
|
|
52
|
-
rel="stylesheet"
|
|
53
|
-
type="text/css"
|
|
54
|
-
href="https://sandbox.brightday.email/cdn/www/fonts_css/font_LibreFranklin_cdn.css"
|
|
55
|
-
/>
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
33
|
<!--# CSS CLEAN START 2: html & css WHEN STARTING A SITE FROM SCRATCH -->
|
|
60
34
|
|
|
61
35
|
<!--# importing @jaisocx/css-clean-start-2 IN DEV MODE, TO RESEARCH THE .css STYLES IN BROWSER'S DEV TOOLS IN NETWORKS TAB -->
|
|
@@ -80,8 +54,6 @@
|
|
|
80
54
|
|
|
81
55
|
|
|
82
56
|
|
|
83
|
-
|
|
84
|
-
|
|
85
57
|
<!--# STYLES CssCodeSnippet and theme_base -->
|
|
86
58
|
<link
|
|
87
59
|
fetchpriority="medium"
|
|
@@ -237,18 +209,18 @@
|
|
|
237
209
|
/* when a .css is loaded with hardcoded lines numbers in code-snippet-lines-numbers-99.css
|
|
238
210
|
on path MediaAndStyles/lines-numbers-variables/code-snippet-lines-numbers-99.css */
|
|
239
211
|
--lines-numbers--content: var(--lines-numbers--content--99);
|
|
240
|
-
|
|
241
212
|
--lines-number: 29;
|
|
242
213
|
}
|
|
243
214
|
|
|
244
215
|
.jsx .CodeSnippetHolder#code-snippet-example {
|
|
245
|
-
--code-snippet-tool--width:
|
|
216
|
+
--code-snippet-tool--width: fit-content;
|
|
217
|
+
--code-snippet-tool--overflow-y: auto;
|
|
246
218
|
}
|
|
247
219
|
|
|
248
220
|
.jsx .CodeSnippetHolder#code-snippet-example-thin {
|
|
249
221
|
--code-snippet-tool--width: 28rem;
|
|
250
222
|
--code-snippet-tool--height: 22rem;
|
|
251
|
-
--overflow-y: auto;
|
|
223
|
+
--code-snippet-tool--overflow-y: auto;
|
|
252
224
|
}
|
|
253
225
|
|
|
254
226
|
</style>
|
|
@@ -263,20 +235,18 @@
|
|
|
263
235
|
|
|
264
236
|
<h1>Css Code Snippet</h1>
|
|
265
237
|
<h2>@jaisocx/css-code-snippet</h2>
|
|
266
|
-
<h3>
|
|
238
|
+
<h3> dev_css_code_snippet__preview.html </h3>
|
|
267
239
|
<description>Css sites tool rendering code blocks with numbered code rows</description>
|
|
268
240
|
|
|
269
241
|
|
|
270
242
|
|
|
271
243
|
<ThemeButtons>
|
|
272
|
-
<button id="button-turn-on-base-theme" data-theme="">Base Theme</button>
|
|
273
244
|
<button id="button-turn-on-daymode" data-theme="theme_lightmode">Day Mode</button>
|
|
274
245
|
<button id="button-turn-on-nightmode" data-theme="theme_darkmode">Night Mode</button>
|
|
275
246
|
</ThemeButtons>
|
|
276
247
|
|
|
277
248
|
|
|
278
|
-
|
|
279
|
-
<CodeSnippetHolder id="code-snippet-example" class="CodeSnippetHolder css_clean_start_2__color_theme little">
|
|
249
|
+
<CodeSnippetHolder id="code-snippet-example" class="CodeSnippetHolder little salad">
|
|
280
250
|
<pre class="CodeSnippetArea">
|
|
281
251
|
import { TestBed } from '@angular/core/testing';
|
|
282
252
|
import { AppComponent } from './app.component';
|
|
@@ -325,12 +295,7 @@ describe('AppComponent', () => {
|
|
|
325
295
|
|
|
326
296
|
|
|
327
297
|
|
|
328
|
-
<script
|
|
329
|
-
async="true"
|
|
330
|
-
defer="true"
|
|
331
|
-
charset="utf-8"
|
|
332
|
-
type="text/javascript"
|
|
333
|
-
>
|
|
298
|
+
<script>
|
|
334
299
|
|
|
335
300
|
let currentButtonNodeClicked = null;
|
|
336
301
|
|
|
@@ -381,7 +346,7 @@ describe('AppComponent', () => {
|
|
|
381
346
|
function addThemeButtonsEventHandlers() {
|
|
382
347
|
|
|
383
348
|
const buttonsIDs = [
|
|
384
|
-
"button-turn-on-base-theme",
|
|
349
|
+
// "button-turn-on-base-theme",
|
|
385
350
|
"button-turn-on-daymode",
|
|
386
351
|
"button-turn-on-nightmode"
|
|
387
352
|
];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html lang="en" class="jsx theme_visible_height">
|
|
2
|
+
<html lang="en" class="jsx theme_visible_height theme_darkmode">
|
|
3
3
|
<head>
|
|
4
4
|
|
|
5
5
|
<title>CssCodeSnippet</title>
|
|
@@ -30,32 +30,6 @@
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
<!--# FONTS PRELOAD WITHOUT JAVASCRIPT CALL -->
|
|
34
|
-
<link
|
|
35
|
-
fetchpriority="high"
|
|
36
|
-
rel="preload"
|
|
37
|
-
as="font"
|
|
38
|
-
type="font/ttf"
|
|
39
|
-
href="https://sandbox.brightday.email/cdn/www/fonts/LibreFranklin/static/LibreFranklin-SemiBold.ttf"
|
|
40
|
-
/>
|
|
41
|
-
|
|
42
|
-
<link
|
|
43
|
-
fetchpriority="high"
|
|
44
|
-
rel="preload"
|
|
45
|
-
as="font"
|
|
46
|
-
type="font/ttf"
|
|
47
|
-
href="https://sandbox.brightday.email/cdn/www/fonts/LibreFranklin/static/LibreFranklin-Regular.ttf"
|
|
48
|
-
/>
|
|
49
|
-
|
|
50
|
-
<!--# CSS FOR FONTS -->
|
|
51
|
-
<link
|
|
52
|
-
rel="stylesheet"
|
|
53
|
-
type="text/css"
|
|
54
|
-
href="https://sandbox.brightday.email/cdn/www/fonts_css/font_LibreFranklin_cdn.css"
|
|
55
|
-
/>
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
33
|
<!--# CSS CLEAN START 2: html & css WHEN STARTING A SITE FROM SCRATCH -->
|
|
60
34
|
|
|
61
35
|
<!--# importing @jaisocx/css-clean-start-2 IN DEV MODE, TO RESEARCH THE .css STYLES IN BROWSER'S DEV TOOLS IN NETWORKS TAB -->
|
|
@@ -80,14 +54,21 @@
|
|
|
80
54
|
|
|
81
55
|
|
|
82
56
|
|
|
83
|
-
|
|
84
|
-
|
|
85
57
|
<!--# STYLES CssCodeSnippet and theme_base -->
|
|
86
58
|
<link
|
|
59
|
+
fetchpriority="medium"
|
|
60
|
+
rel="stylesheet"
|
|
61
|
+
type="text/css"
|
|
62
|
+
charset="utf-8"
|
|
63
|
+
href="MediaAndStyles/lines-numbers-variables/code-snippet-lines-numbers-99.css"
|
|
64
|
+
/>
|
|
65
|
+
|
|
66
|
+
<link
|
|
67
|
+
fetchpriority="medium"
|
|
87
68
|
rel="stylesheet"
|
|
88
69
|
type="text/css"
|
|
89
70
|
charset="utf-8"
|
|
90
|
-
href="MediaAndStyles/
|
|
71
|
+
href="MediaAndStyles/CssCodeSnippet_main_resolved.css"
|
|
91
72
|
/>
|
|
92
73
|
|
|
93
74
|
|
|
@@ -236,18 +217,18 @@
|
|
|
236
217
|
/* when a .css is loaded with hardcoded lines numbers in code-snippet-lines-numbers-99.css
|
|
237
218
|
on path MediaAndStyles/lines-numbers-variables/code-snippet-lines-numbers-99.css */
|
|
238
219
|
--lines-numbers--content: var(--lines-numbers--content--99);
|
|
239
|
-
|
|
240
220
|
--lines-number: 29;
|
|
241
221
|
}
|
|
242
222
|
|
|
243
223
|
.jsx .CodeSnippetHolder#code-snippet-example {
|
|
244
|
-
--code-snippet-tool--width:
|
|
224
|
+
--code-snippet-tool--width: fit-content;
|
|
225
|
+
--code-snippet-tool--overflow-y: auto;
|
|
245
226
|
}
|
|
246
227
|
|
|
247
228
|
.jsx .CodeSnippetHolder#code-snippet-example-thin {
|
|
248
229
|
--code-snippet-tool--width: 28rem;
|
|
249
230
|
--code-snippet-tool--height: 22rem;
|
|
250
|
-
--overflow-y: auto;
|
|
231
|
+
--code-snippet-tool--overflow-y: auto;
|
|
251
232
|
}
|
|
252
233
|
|
|
253
234
|
</style>
|
|
@@ -262,20 +243,18 @@
|
|
|
262
243
|
|
|
263
244
|
<h1>Css Code Snippet</h1>
|
|
264
245
|
<h2>@jaisocx/css-code-snippet</h2>
|
|
265
|
-
<h3>
|
|
246
|
+
<h3> index.preview.html </h3>
|
|
266
247
|
<description>Css sites tool rendering code blocks with numbered code rows</description>
|
|
267
248
|
|
|
268
249
|
|
|
269
250
|
|
|
270
251
|
<ThemeButtons>
|
|
271
|
-
<button id="button-turn-on-base-theme" data-theme="">Base Theme</button>
|
|
272
252
|
<button id="button-turn-on-daymode" data-theme="theme_lightmode">Day Mode</button>
|
|
273
253
|
<button id="button-turn-on-nightmode" data-theme="theme_darkmode">Night Mode</button>
|
|
274
254
|
</ThemeButtons>
|
|
275
255
|
|
|
276
256
|
|
|
277
|
-
|
|
278
|
-
<CodeSnippetHolder id="code-snippet-example" class="CodeSnippetHolder css_clean_start_2__color_theme little">
|
|
257
|
+
<CodeSnippetHolder id="code-snippet-example" class="CodeSnippetHolder little salad">
|
|
279
258
|
<pre class="CodeSnippetArea">
|
|
280
259
|
import { TestBed } from '@angular/core/testing';
|
|
281
260
|
import { AppComponent } from './app.component';
|
|
@@ -324,12 +303,7 @@ describe('AppComponent', () => {
|
|
|
324
303
|
|
|
325
304
|
|
|
326
305
|
|
|
327
|
-
<script
|
|
328
|
-
async="true"
|
|
329
|
-
defer="true"
|
|
330
|
-
charset="utf-8"
|
|
331
|
-
type="text/javascript"
|
|
332
|
-
>
|
|
306
|
+
<script>
|
|
333
307
|
|
|
334
308
|
let currentButtonNodeClicked = null;
|
|
335
309
|
|
|
@@ -380,7 +354,7 @@ describe('AppComponent', () => {
|
|
|
380
354
|
function addThemeButtonsEventHandlers() {
|
|
381
355
|
|
|
382
356
|
const buttonsIDs = [
|
|
383
|
-
"button-turn-on-base-theme",
|
|
357
|
+
// "button-turn-on-base-theme",
|
|
384
358
|
"button-turn-on-daymode",
|
|
385
359
|
"button-turn-on-nightmode"
|
|
386
360
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jaisocx/css-code-snippet",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "Css sites tool rendering code blocks with numbered code rows",
|
|
5
5
|
"author": "Jaisocx Company",
|
|
6
6
|
"keywords": [
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"styles"
|
|
9
9
|
],
|
|
10
10
|
"files": [
|
|
11
|
-
"index.
|
|
12
|
-
"
|
|
11
|
+
"index.preview.html",
|
|
12
|
+
"dev_css_code_snippet__preview.html",
|
|
13
13
|
|
|
14
14
|
"MediaAndStyles",
|
|
15
15
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@jaisocx/css-clean-start-2": "~1.1.
|
|
43
|
+
"@jaisocx/css-clean-start-2": "~1.1.10"
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|