@jaisocx/css-code-snippet 1.3.7 → 1.3.9

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.
Files changed (94) hide show
  1. package/MediaAndStyles/CssCodeSnippet_main_resolved.css +0 -0
  2. package/MediaAndStyles/CssCodeSnippet_main_resolved_minimal.css +0 -0
  3. package/MediaAndStyles/lines-numbers-variables/code-snippet-lines-numbers-300.css +0 -0
  4. package/MediaAndStyles/lines-numbers-variables/code-snippet-lines-numbers-99.css +0 -0
  5. package/MediaAndStyles/themes/color_themes/css_code_snippet__css_clean_start_2__color_theme.css +0 -0
  6. package/MediaAndStyles/themes/theme_base/CssCodeSnippet_theme_base_main.css +1 -1
  7. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_d05_very_small_xxs_landscape__CssCodeSnippet__theme_base.css +0 -0
  8. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_d05_very_small_xxs_portrait__CssCodeSnippet__theme_base.css +0 -0
  9. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e02_mobile_xs_landscape__CssCodeSnippet__theme_base.css +0 -0
  10. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e02_mobile_xs_portrait__CssCodeSnippet__theme_base.css +0 -0
  11. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e04_mobile_s_landscape__CssCodeSnippet__theme_base.css +0 -0
  12. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e04_mobile_s_portrait__CssCodeSnippet__theme_base.css +0 -0
  13. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e06_mobile_sm_landscape__CssCodeSnippet__theme_base.css +0 -0
  14. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e06_mobile_sm_portrait__CssCodeSnippet__theme_base.css +0 -0
  15. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e08_mobile_md_landscape__CssCodeSnippet__theme_base.css +0 -0
  16. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e08_mobile_md_portrait__CssCodeSnippet__theme_base.css +0 -0
  17. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h03_tablet_s_landscape__CssCodeSnippet__theme_base.css +0 -0
  18. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h03_tablet_s_portrait__CssCodeSnippet__theme_base.css +0 -0
  19. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h05_tablet_sm_landscape__CssCodeSnippet__theme_base.css +0 -0
  20. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h05_tablet_sm_portrait__CssCodeSnippet__theme_base.css +0 -0
  21. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h07_tablet_md_landscape__CssCodeSnippet__theme_base.css +0 -0
  22. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h07_tablet_md_portrait__CssCodeSnippet__theme_base.css +0 -0
  23. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h09_tablet_lg_landscape__CssCodeSnippet__theme_base.css +0 -0
  24. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h09_tablet_lg_portrait__CssCodeSnippet__theme_base.css +0 -0
  25. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_l02_laptop_sm_landscape__CssCodeSnippet__theme_base.css +0 -0
  26. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_l02_laptop_sm_portrait__CssCodeSnippet__theme_base.css +0 -0
  27. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_l03_laptop_md_landscape__CssCodeSnippet__theme_base.css +0 -0
  28. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_l03_laptop_md_portrait__CssCodeSnippet__theme_base.css +0 -0
  29. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_l07_laptop_lg_landscape__CssCodeSnippet__theme_base.css +0 -0
  30. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_l07_laptop_lg_portrait__CssCodeSnippet__theme_base.css +0 -0
  31. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_s02_display_xl_landscape__CssCodeSnippet__theme_base.css +0 -0
  32. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_s02_display_xl_portrait__CssCodeSnippet__theme_base.css +0 -0
  33. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_s04_display_xxl_landscape__CssCodeSnippet__theme_base.css +0 -0
  34. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_s04_display_xxl_portrait__CssCodeSnippet__theme_base.css +0 -0
  35. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_s08_display_qhd_landscape__CssCodeSnippet__theme_base.css +0 -0
  36. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_s08_display_qhd_portrait__CssCodeSnippet__theme_base.css +0 -0
  37. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t04_tv_4k_landscape__CssCodeSnippet__theme_base.css +0 -0
  38. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t04_tv_4k_portrait__CssCodeSnippet__theme_base.css +0 -0
  39. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t08_tv_8k_landscape__CssCodeSnippet__theme_base.css +0 -0
  40. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t08_tv_8k_portrait__CssCodeSnippet__theme_base.css +0 -0
  41. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t16_tv_16k_landscape__CssCodeSnippet__theme_base.css +0 -0
  42. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t16_tv_16k_portrait__CssCodeSnippet__theme_base.css +0 -0
  43. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t99_tv_xxxl_landscape__CssCodeSnippet__theme_base.css +0 -0
  44. package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t99_tv_xxxl_portrait__CssCodeSnippet__theme_base.css +0 -0
  45. package/MediaAndStyles/themes/theme_base/responsive_size_Imports_CssCodeSnippet_theme_base_Relative.css +0 -0
  46. package/MediaAndStyles/themes/theme_base/responsive_size_Imports_CssCodeSnippet_theme_base_Webpack.css +0 -0
  47. package/MediaAndStyles/themes/theme_base/responsive_size_Imports_CssCodeSnippet_theme_base_Webpack_minimal.css +0 -0
  48. package/README.md +11 -9
  49. package/basetheme.preview.html +99 -0
  50. package/dev_css_code_snippet__preview.html +228 -233
  51. package/index.preview.html +27 -33
  52. package/package.json +14 -9
  53. package/transpiled/CommonJS/CssCodeSnippetHelpers.d.ts +0 -0
  54. package/transpiled/CommonJS/CssCodeSnippetHelpers.d.ts.map +0 -0
  55. package/transpiled/CommonJS/CssCodeSnippetHelpers.js +0 -0
  56. package/transpiled/CommonJS/CssCodeSnippetHelpers.js.map +0 -0
  57. package/transpiled/CommonJS/index.d.ts +0 -0
  58. package/transpiled/CommonJS/index.d.ts.map +0 -0
  59. package/transpiled/CommonJS/index.js +0 -0
  60. package/transpiled/CommonJS/index.js.map +0 -0
  61. package/transpiled/CommonJS/webpack.aliases.cjs +0 -0
  62. package/transpiled/CommonJS/webpack.aliases.cjs.map +0 -0
  63. package/transpiled/CommonJS/webpack.aliases.d.cts +0 -0
  64. package/transpiled/CommonJS/webpack.aliases.d.cts.map +0 -0
  65. package/transpiled/CommonJS/webpack.aliases.d.mts +0 -0
  66. package/transpiled/CommonJS/webpack.aliases.d.mts.map +0 -0
  67. package/transpiled/CommonJS/webpack.aliases.mjs +0 -0
  68. package/transpiled/CommonJS/webpack.aliases.mjs.map +0 -0
  69. package/transpiled/CommonJS/webpackAliases.d.ts +0 -0
  70. package/transpiled/CommonJS/webpackAliases.d.ts.map +0 -0
  71. package/transpiled/CommonJS/webpackAliases.js +0 -0
  72. package/transpiled/CommonJS/webpackAliases.js.map +0 -0
  73. package/transpiled/ESNext/CssCodeSnippetHelpers.d.ts +0 -0
  74. package/transpiled/ESNext/CssCodeSnippetHelpers.d.ts.map +0 -0
  75. package/transpiled/ESNext/CssCodeSnippetHelpers.js +0 -0
  76. package/transpiled/ESNext/CssCodeSnippetHelpers.js.map +0 -0
  77. package/transpiled/ESNext/index.d.ts +0 -0
  78. package/transpiled/ESNext/index.d.ts.map +0 -0
  79. package/transpiled/ESNext/index.js +0 -0
  80. package/transpiled/ESNext/index.js.map +0 -0
  81. package/transpiled/ESNext/webpack.aliases.cjs +0 -0
  82. package/transpiled/ESNext/webpack.aliases.cjs.map +0 -0
  83. package/transpiled/ESNext/webpack.aliases.d.cts +0 -0
  84. package/transpiled/ESNext/webpack.aliases.d.cts.map +0 -0
  85. package/transpiled/ESNext/webpack.aliases.d.mts +0 -0
  86. package/transpiled/ESNext/webpack.aliases.d.mts.map +0 -0
  87. package/transpiled/ESNext/webpack.aliases.mjs +0 -0
  88. package/transpiled/ESNext/webpack.aliases.mjs.map +0 -0
  89. package/transpiled/ESNext/webpackAliases.d.ts +0 -0
  90. package/transpiled/ESNext/webpackAliases.d.ts.map +0 -0
  91. package/transpiled/ESNext/webpackAliases.js +0 -0
  92. package/transpiled/ESNext/webpackAliases.js.map +0 -0
  93. package/transpiled/Simple/CssCodeSnippetHelpers.js +0 -0
  94. package/webpack.aliases.json +1 -2
@@ -1,260 +1,254 @@
1
1
  <!DOCTYPE html>
2
- <html lang="en" class="jsx theme_visible_height theme_darkmode">
2
+ <html lang="en" class="jsx theme_visible_height theme_darkmode salad">
3
3
  <head>
4
4
 
5
- <title>CssCodeSnippet</title>
5
+ <title> CssCodeSnippet </title>
6
6
 
7
- <base href="./">
7
+ <base href="./" />
8
8
 
9
9
  <meta charset="utf-8" />
10
10
  <meta content="width=device-width, initial-scale=1.0" name="viewport" />
11
11
 
12
12
 
13
13
 
14
- <!--# FAVICON -->
15
- <!-- <link
16
- rel="icon"
17
- type="image/x-icon"
18
- href="https://sandbox.brightday.email/cdn/www/media/images/favicon/Icon_Jaisocx.ico"
19
- href-fallback="favicon/Icon_Jaisocx.ico"
20
- onerror="javascript: ( () => { console.log( this ); this.onerror = null; this.href = this.getAttribute( 'href-fallback' ); } )();"
21
- /> -->
14
+ <!--# FAVICON -->
15
+ <!-- <link-->
16
+ <!-- rel="icon"-->
17
+ <!-- type="image/x-icon"-->
18
+ <!-- href="https://sandbox.basetasks.site/cdn/www/media/images/favicon/Icon_Jaisocx.ico"-->
19
+ <!-- href-fallback="favicon/Icon_Jaisocx.ico"-->
20
+ <!-- onerror="javascript: ( () => { console.log( this ); this.onerror = null; this.href = this.getAttribute( 'href-fallback' ); } )();"-->
21
+ <!-- />-->
22
22
 
23
- <link
24
- rel="icon"
25
- type="image/x-icon"
26
- href="https://sandbox.brightday.email/cdn/www/media/images/favicon/Icon_Sandbox_Brightday.ico"
27
- href-fallback="favicon/Icon_Sandbox_Brightday.ico"
28
- onerror="javascript: ( () => { console.log( this ); this.onerror = null; this.href = this.getAttribute( 'href-fallback' ); } )();"
29
- />
30
23
 
31
24
 
25
+ <!--# CSS CLEAN START 2: html & css WHEN STARTING A SITE FROM SCRATCH -->
26
+
27
+ <!--# importing @jaisocx/css-clean-start-2 IN DEV MODE, TO RESEARCH THE .css STYLES IN BROWSER'S DEV TOOLS IN NETWORKS TAB -->
28
+ <!-- <link
29
+ rel="stylesheet"
30
+ type="text/css"
31
+ charset="utf-8"
32
+ href="../css-clean-start-2/MediaAndStyles/CssCleanStart_2_main_relative.css"
33
+ href-fallback="node_modules/@jaisocx/css-clean-start-2/MediaAndStyles/CssCleanStart_2_main_relative.css"
34
+ onerror="javascript: ( () => { console.log( this ); this.onerror = null; this.href = this.getAttribute( 'href-fallback' ); } )();"
35
+ /> -->
36
+
32
37
 
33
- <!--# CSS CLEAN START 2: html & css WHEN STARTING A SITE FROM SCRATCH -->
34
38
 
35
- <!--# importing @jaisocx/css-clean-start-2 IN DEV MODE, TO RESEARCH THE .css STYLES IN BROWSER'S DEV TOOLS IN NETWORKS TAB -->
36
- <!-- <link
39
+ <link
37
40
  rel="stylesheet"
38
41
  type="text/css"
39
42
  charset="utf-8"
40
- href="../css-clean-start-2/MediaAndStyles/CssCleanStart_2_main_relative.css"
41
- href-fallback="node_modules/@jaisocx/css-clean-start-2/MediaAndStyles/CssCleanStart_2_main_relative.css"
43
+ href="../css_clean_start_lite/MediaAndStyles/CssCleanStart_Lite_main_resolved.css"
44
+ href-fallback="node_modules/@jaisocx/css_clean_start_lite/MediaAndStyles/CssCleanStart_Lite_main_resolved.css"
42
45
  onerror="javascript: ( () => { console.log( this ); this.onerror = null; this.href = this.getAttribute( 'href-fallback' ); } )();"
43
- /> -->
46
+ />
44
47
 
45
- <!--# THE SAME importing @jaisocx/css-clean-start-2 IN PROD MODE, PACKED BY @jaisocx/css-importer TOOL -->
46
- <link
48
+
49
+ <!--# STYLES CssCodeSnippet and theme_base -->
50
+ <link
51
+ fetchpriority="medium"
47
52
  rel="stylesheet"
48
53
  type="text/css"
49
54
  charset="utf-8"
50
- href="../css-clean-start-2/MediaAndStyles/CssCleanStart_2_main_resolved_minimal.css"
51
- href-fallback="node_modules/@jaisocx/css-clean-start-2/MediaAndStyles/CssCleanStart_2_main_resolved_minimal.css"
52
- onerror="javascript: ( () => { console.log( this ); this.onerror = null; this.href = this.getAttribute( 'href-fallback' ); } )();"
53
- />
55
+ href="MediaAndStyles/lines-numbers-variables/code-snippet-lines-numbers-99.css"
56
+ />
54
57
 
55
-
56
-
57
- <!--# STYLES CssCodeSnippet and theme_base -->
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
58
+ <link
67
59
  fetchpriority="medium"
68
60
  rel="stylesheet"
69
61
  type="text/css"
70
62
  charset="utf-8"
71
63
  href="MediaAndStyles/CssCodeSnippet_main_relative.css"
72
- />
64
+ />
73
65
 
74
66
 
75
67
 
76
- <!-- <style>
77
- /* .jsx {
68
+ <!-- <style>
69
+ /* .jsx {
78
70
 
79
- }
71
+ }
80
72
 
81
- .jsx .CssCodeSnippet {
73
+ .jsx .CssCodeSnippet {
82
74
 
83
- } */
75
+ } */
84
76
 
85
- </style> -->
77
+ </style> -->
86
78
 
87
79
 
88
80
 
89
- <style>
81
+ <style>
90
82
 
91
- .jsx {
92
- --jsx--css-clean-start-2--site--padding: 2rem 0 0 0;
83
+ .jsx {
84
+ --jsx--css-clean-start-2--site--padding: 2rem 0 0 0;
93
85
 
94
- --jsx--css-clean-start-2--h1--font-size: 1.05rem;
95
- --jsx--css-clean-start-2--h2--font-size: 0.9rem;
96
- --jsx--css-clean-start-2--h3--font-size: 0.83rem;
86
+ --jsx--css-clean-start-2--h1--font-size: 1.05rem;
87
+ --jsx--css-clean-start-2--h2--font-size: 0.9rem;
88
+ --jsx--css-clean-start-2--h3--font-size: 0.83rem;
97
89
 
98
- --jsx--css-clean-start-2--h2--font-weight: 500;
90
+ --jsx--css-clean-start-2--h2--font-weight: 500;
99
91
 
100
- --theme-button-width: fit-content;
101
- }
92
+ --theme-button-width: fit-content;
93
+ }
102
94
 
103
- .jsx themebuttons {
104
- width: fit-content;
105
- display: grid;
106
- grid-auto-flow: column;
107
- column-gap: 3rem;
108
- margin: 0.9rem 0px 1.6rem 0px;
109
- }
95
+ .jsx themebuttons {
96
+ width: fit-content;
97
+ display: grid;
98
+ grid-auto-flow: column;
99
+ column-gap: 3rem;
100
+ margin: 0.9rem 0px 1.6rem 0px;
101
+ }
110
102
 
111
- .jsx themebuttons button {
112
- width: var(--theme-button-width);
113
- }
103
+ .jsx themebuttons button {
104
+ width: var(--theme-button-width);
105
+ }
114
106
 
115
- .current::after {
116
- content: "";
117
- position: absolute;
118
- bottom: -0.3rem;
119
- left: 0;
120
- width: 100%;
121
- height: 0;
122
- max-height: 0;
123
- overflow-y: hidden;
124
- border-bottom-width: 0.14rem;
125
- border-bottom-style: solid;
126
- border-bottom-color: var(--clean-start__text-color);
127
- }
107
+ .current::after {
108
+ content: "";
109
+ position: absolute;
110
+ bottom: -0.3rem;
111
+ left: 0;
112
+ width: 100%;
113
+ height: 0;
114
+ max-height: 0;
115
+ overflow-y: hidden;
116
+ border-bottom-width: 0.14rem;
117
+ border-bottom-style: solid;
118
+ border-bottom-color: var(--clean-start__text-color);
119
+ }
128
120
 
129
- .jsx button {
130
- background-color: transparent;
131
- text-align: left;
132
- }
121
+ .jsx button {
122
+ background-color: transparent;
123
+ text-align: left;
124
+ }
133
125
 
134
- #tooltip-button {
135
- font-family: fantasy;
136
- }
126
+ #tooltip-button {
127
+ font-family: fantasy;
128
+ }
137
129
 
138
130
 
139
131
 
140
- .jsx.theme_visible_height body > main > content {
141
- padding: 0 1rem 0 1rem;
132
+ .jsx.theme_visible_height body > main > content {
133
+ padding: 0 1rem 0 1rem;
142
134
 
143
- overflow-y: hidden;
135
+ overflow-y: hidden;
144
136
 
145
- min-height: unset;
146
- height: unset;
137
+ min-height: unset;
138
+ height: unset;
147
139
 
148
- flex-grow: 1;
149
- flex-shrink: 1;
140
+ flex-grow: 1;
141
+ flex-shrink: 1;
150
142
 
151
- display: flex;
152
- flex-direction: column;
153
- flex-basis: auto;
154
- justify-content: stretch;
155
- align-items: stretch;
156
- }
143
+ display: flex;
144
+ flex-direction: column;
145
+ flex-basis: auto;
146
+ justify-content: stretch;
147
+ align-items: stretch;
148
+ }
157
149
 
158
- .jsx.theme_visible_height > body > main > content > * {
159
- flex-grow: 0;
160
- flex-shrink: 1;
161
- }
150
+ .jsx.theme_visible_height > body > main > content > * {
151
+ flex-grow: 0;
152
+ flex-shrink: 1;
153
+ }
162
154
 
163
- .jsx.theme_visible_height .CodeSnippetHolder {
164
- --code-snippet-tool--overflow-y: auto;
165
- --code-snippet-tool--height: unset;
155
+ .jsx.theme_visible_height .CodeSnippetHolder {
156
+ --code-snippet-tool--overflow-y: auto;
157
+ --code-snippet-tool--height: unset;
166
158
 
167
- min-height: 0;
168
- max-height: unset;
169
- height: unset;
159
+ min-height: 0;
160
+ max-height: unset;
161
+ height: unset;
170
162
 
171
- flex-grow: 1;
172
- flex-shrink: 1;
173
- }
163
+ flex-grow: 1;
164
+ flex-shrink: 1;
165
+ }
174
166
 
175
- .jsx.theme_visible_height > body > main > page_signed {
176
- flex-shrink: 1;
167
+ .jsx.theme_visible_height > body > main > page_signed {
168
+ flex-shrink: 1;
177
169
 
178
- display: flex;
179
- flex-direction: row;
180
- justify-content: flex-start;
181
- align-items: center;
170
+ display: flex;
171
+ flex-direction: row;
172
+ justify-content: flex-start;
173
+ align-items: center;
182
174
 
183
- padding: 2rem 0 0 0;
175
+ padding: 2rem 0 0 0;
184
176
 
185
- height: 6rem;
186
- min-height: 6rem;
187
- max-height: 6rem;
188
- width: 100%;
189
- }
177
+ height: 6rem;
178
+ min-height: 6rem;
179
+ max-height: 6rem;
180
+ width: 100%;
181
+ }
190
182
 
191
- .jsx.theme_visible_height > body > main > page_signed text {
192
- display: flex;
193
- flex-direction: row;
194
- justify-content: flex-start;
195
- align-items: center;
183
+ .jsx.theme_visible_height > body > main > page_signed text {
184
+ display: flex;
185
+ flex-direction: row;
186
+ justify-content: flex-start;
187
+ align-items: center;
196
188
 
197
- height: 100%;
198
- min-height: 100%;
199
- max-height: 100%;
189
+ height: 100%;
190
+ min-height: 100%;
191
+ max-height: 100%;
200
192
 
201
- width: 100%;
193
+ width: 100%;
202
194
 
203
- padding: 0 1rem 0 1rem;
195
+ padding: 0 1rem 0 1rem;
204
196
 
205
- color: whitesmoke;
206
- background-color: green;
207
- }
197
+ color: var(--code-snippet--text-color);
198
+ background-color: var(--code-snippet-tool--border-color);
199
+ }
208
200
 
209
- </style>
201
+ </style>
210
202
 
211
203
 
212
204
 
213
- <style>
205
+ <style>
214
206
 
215
- .jsx .CodeSnippetHolder#code-snippet-example,
216
- .jsx .CodeSnippetHolder#code-snippet-example-thin {
217
- /* when a .css is loaded with hardcoded lines numbers in code-snippet-lines-numbers-99.css
218
- on path MediaAndStyles/lines-numbers-variables/code-snippet-lines-numbers-99.css */
219
- --lines-numbers--content: var(--lines-numbers--content--99);
220
- --lines-number: 29;
221
- }
207
+ .jsx .CodeSnippetHolder#code-snippet-example,
208
+ .jsx .CodeSnippetHolder#code-snippet-example-thin {
209
+ /* when a .css is loaded with hardcoded lines numbers in code-snippet-lines-numbers-99.css
210
+ on path MediaAndStyles/lines-numbers-variables/code-snippet-lines-numbers-99.css */
211
+ --lines-numbers--content: var(--lines-numbers--content--99);
212
+ --lines-number: 29;
213
+ }
222
214
 
223
- .jsx .CodeSnippetHolder#code-snippet-example {
224
- --code-snippet-tool--width: fit-content;
225
- --code-snippet-tool--overflow-y: auto;
226
- }
215
+ .jsx .CodeSnippetHolder#code-snippet-example {
216
+ --code-snippet-tool--width: fit-content;
217
+ --code-snippet-tool--overflow-y: auto;
218
+ }
227
219
 
228
- .jsx .CodeSnippetHolder#code-snippet-example-thin {
229
- --code-snippet-tool--width: 28rem;
230
- --code-snippet-tool--height: 22rem;
231
- --code-snippet-tool--overflow-y: auto;
232
- }
220
+ .jsx .CodeSnippetHolder#code-snippet-example-thin {
221
+ --code-snippet-tool--width: 28rem;
222
+ --code-snippet-tool--height: 22rem;
223
+ --code-snippet-tool--overflow-y: auto;
224
+ }
225
+
226
+ </style>
233
227
 
234
- </style>
228
+ </head>
235
229
 
236
- </head>
230
+ <body>
237
231
 
238
- <body>
232
+ <main>
239
233
 
240
- <main>
234
+ <content>
241
235
 
242
- <content>
236
+ <h1> Css Code Snippet </h1>
237
+ <h2> @jaisocx/css-code-snippet </h2>
238
+ <h3> dev_css_code_snippet__preview.html </h3>
243
239
 
244
- <h1>Css Code Snippet</h1>
245
- <h2>@jaisocx/css-code-snippet</h2>
246
- <h3> dev_css_code_snippet__preview.html </h3>
247
- <description>Css sites tool rendering code blocks with numbered code rows</description>
240
+ <description> Css sites tool rendering code blocks with numbered code rows </description>
248
241
 
249
242
 
250
243
 
251
- <ThemeButtons>
252
- <button id="button-turn-on-daymode" data-theme="theme_lightmode">Day Mode</button>
253
- <button id="button-turn-on-nightmode" data-theme="theme_darkmode">Night Mode</button>
254
- </ThemeButtons>
244
+ <ThemeButtons>
245
+ <button id="button-turn-on-base" data-theme=""> Base </button>
246
+ <button id="button-turn-on-daymode" data-theme="theme_lightmode"> Day Mode </button>
247
+ <button id="button-turn-on-nightmode" data-theme="theme_darkmode"> Night Mode </button>
248
+ </ThemeButtons>
255
249
 
256
250
 
257
- <CodeSnippetHolder id="code-snippet-example" class="CodeSnippetHolder little salad">
251
+ <CodeSnippetHolder id="code-snippet-example" class="CodeSnippetHolder little salad">
258
252
  <pre class="CodeSnippetArea">
259
253
  import { TestBed } from '@angular/core/testing';
260
254
  import { AppComponent } from './app.component';
@@ -286,105 +280,106 @@ describe('AppComponent', () => {
286
280
  });
287
281
  });
288
282
  </pre>
289
- </CodeSnippetHolder>
283
+ </CodeSnippetHolder>
290
284
 
291
285
 
292
- </content>
286
+ </content>
293
287
 
294
288
 
295
289
 
296
- <page_signed>
297
- <text>CSS Code Snippet 1.2.7 2025</text>
298
- </page_signed>
290
+ <page_signed>
291
+ <text> CSS Code Snippet 1.3.7 2026 </text>
292
+ </page_signed>
299
293
 
300
- </main>
294
+ </main>
301
295
 
302
- </body>
296
+ </body>
303
297
 
304
298
 
305
299
 
306
- <script>
300
+ <script>
307
301
 
308
- let currentButtonNodeClicked = null;
302
+ let currentButtonNodeClicked = null;
309
303
 
310
- let cssClassesNames = [
311
- "jsx",
312
- "theme_visible_height"
313
- ];
304
+ let cssClassesNames = [
305
+ "jsx",
306
+ "theme_visible_height",
307
+ "salad"
308
+ ];
314
309
 
315
310
 
316
311
 
317
- // declaring the function, this is used in the event handler of the theme turning button when clicked on this button.
318
- function turnOnTheme ( buttonNodeClicked ) {
312
+ // declaring the function, this is used in the event handler of the theme turning button when clicked on this button.
313
+ function turnOnTheme ( buttonNodeClicked ) {
319
314
 
320
- if ( currentButtonNodeClicked !== null ) {
321
- currentButtonNodeClicked.classList.remove( "current" );
322
- }
323
-
324
- const htmlNode = document.getElementsByTagName("html")[0];
325
- const htmlNodeClassList = htmlNode.classList;
315
+ if ( currentButtonNodeClicked !== null ) {
316
+ currentButtonNodeClicked.classList.remove( "current" );
317
+ }
326
318
 
327
- const themeCssClassPrefix = "theme";
319
+ const htmlNode = document.getElementsByTagName("html")[0];
320
+ const htmlNodeClassList = htmlNode.classList;
328
321
 
329
- htmlNodeClassList.forEach (
330
- (cssClassName) => {
331
- if ( cssClassesNames.includes( cssClassName ) ) {
332
- return;
333
- }
322
+ const themeCssClassPrefix = "theme";
334
323
 
335
- if ( cssClassName.startsWith( themeCssClassPrefix ) === true ) {
336
- htmlNodeClassList.remove( cssClassName );
337
- }
324
+ htmlNodeClassList.forEach (
325
+ (cssClassName) => {
326
+ if ( cssClassesNames.includes( cssClassName ) ) {
327
+ return;
338
328
  }
339
- );
340
329
 
341
- const themeName = buttonNodeClicked.dataset.theme;
342
- if ( themeName && ( themeName.length !== 0 ) ) {
343
- htmlNode.classList.add( themeName );
330
+ if ( cssClassName.startsWith( themeCssClassPrefix ) === true ) {
331
+ htmlNodeClassList.remove( cssClassName );
332
+ }
344
333
  }
334
+ );
345
335
 
346
- currentButtonNodeClicked = buttonNodeClicked;
347
- currentButtonNodeClicked.classList.add( "current" );
348
-
336
+ const themeName = buttonNodeClicked.dataset.theme;
337
+ if ( themeName && ( themeName.length !== 0 ) ) {
338
+ htmlNode.classList.add( themeName );
349
339
  }
350
340
 
351
- // declaring the function, this adds to buttons the event handler to turn on the theme.
352
- // this function is invoked when the site loads in the browser,
353
- // in the event handler for the event DOMContentLoaded
354
- function addThemeButtonsEventHandlers() {
341
+ currentButtonNodeClicked = buttonNodeClicked;
342
+ currentButtonNodeClicked.classList.add( "current" );
355
343
 
356
- const buttonsIDs = [
357
- // "button-turn-on-base-theme",
358
- "button-turn-on-daymode",
359
- "button-turn-on-nightmode"
360
- ];
344
+ }
361
345
 
362
- for ( let buttonId of buttonsIDs ) {
346
+ // declaring the function, this adds to buttons the event handler to turn on the theme.
347
+ // this function is invoked when the site loads in the browser,
348
+ // in the event handler for the event DOMContentLoaded
349
+ function addThemeButtonsEventHandlers() {
363
350
 
364
- let buttonNode = document.getElementById( buttonId );
351
+ const buttonsIDs = [
352
+ "button-turn-on-base",
353
+ "button-turn-on-daymode",
354
+ "button-turn-on-nightmode"
355
+ ];
365
356
 
366
- buttonNode.addEventListener (
367
- "click",
368
- (evt) => {
369
- let buttonNodeClicked = evt.target;
370
- turnOnTheme ( buttonNodeClicked );
371
- }
372
- );
357
+ for ( let buttonId of buttonsIDs ) {
358
+
359
+ let buttonNode = document.getElementById( buttonId );
360
+
361
+ buttonNode.addEventListener (
362
+ "click",
363
+ (evt) => {
364
+ let buttonNodeClicked = evt.target;
365
+ turnOnTheme ( buttonNodeClicked );
366
+ }
367
+ );
373
368
 
374
- }
375
369
  }
370
+ }
376
371
 
377
372
 
378
373
 
379
- // DOCUMENT ONLOAD, INVOKES THE FUNCTION TO PRELOAD THEME FONTS
380
- document.addEventListener('DOMContentLoaded', () => {
374
+ // DOCUMENT ONLOAD, INVOKES THE FUNCTION TO PRELOAD THEME FONTS
375
+ document.addEventListener('DOMContentLoaded', () => {
381
376
 
382
- // adding to buttons the event handler to turn on the theme.
383
- addThemeButtonsEventHandlers();
377
+ // adding to buttons the event handler to turn on the theme.
378
+ addThemeButtonsEventHandlers();
384
379
 
385
- });
380
+ });
386
381
 
387
- </script>
382
+ </script>
388
383
 
389
384
  </html>
390
385