|
26 | 26 | <link href="src/common/lib/highlightjs/styles/default.css" rel="stylesheet" /> |
27 | 27 | <link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet"></link> |
28 | 28 | <!-- Theme Reference --> |
29 | | - <link id="themelink" href="styles/material.css" rel="stylesheet" /> |
| 29 | + <link id="themelink" href="styles/fluent2.css" rel="stylesheet" /> |
30 | 30 | <link href="styles/index.css" rel="stylesheet" /> |
31 | 31 | <link href="src/common/lib/content/codemirror.css" rel="stylesheet"></link> |
32 | 32 | <script src="src/skipChunk.js" type="text/javascript"></script> |
|
116 | 116 | <div class='sb-header-item sb-table-cell'> |
117 | 117 | <div id='sb-header-text' class='e-sb-header-text'> |
118 | 118 | <span class='sb-header-text-left'>Essential Studio for</span> |
119 | | - <span class='sb-header-text-right' role="button" tabindex="0">JavaScript</span> |
| 119 | + <span class='sb-header-text-right' role="button" tabindex="0">JavaScript</span> |
120 | 120 | </div> |
121 | 121 | </div> |
122 | 122 | <div class='sb-header-item sb-table-cell sb-lang-toggler-wrapper'> |
|
140 | 140 | </div> |
141 | 141 | </div> |
142 | 142 | </div> |
| 143 | + <div class="sb-header-item sb-table-cell" id="sb-dark-theme"> |
| 144 | + <div class="sb-switch-btn" role="button" data-theme="dark" id="buttoncolor"> |
| 145 | + <svg xmlns="http://www.w3.org/2000/svg" style="display: none;" id="dark-icon" |
| 146 | + width="16" height="14" fill="currentColor" class="bi bi-moon" viewBox="0 0 16 16"> |
| 147 | + <path |
| 148 | + d="M6 .278a.77.77 0 0 1 .08.858 7.2 7.2 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277q.792-.001 1.533-.16a.79.79 0 0 1 .81.316.73.73 0 0 1-.031.893A8.35 8.35 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.75.75 0 0 1 6 .278M4.858 1.311A7.27 7.27 0 0 0 1.025 7.71c0 4.02 3.279 7.276 7.319 7.276a7.32 7.32 0 0 0 5.205-2.162q-.506.063-1.029.063c-4.61 0-8.343-3.714-8.343-8.29 0-1.167.242-2.278.681-3.286" /> |
| 149 | + </svg> |
| 150 | + <svg xmlns="http://www.w3.org/2000/svg" style="display: none;" |
| 151 | + id="light-icon" width="16" height="14" fill="currentColor" class="bi bi-sun" |
| 152 | + viewBox="0 0 16 16"> |
| 153 | + <path |
| 154 | + d="M8 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6m0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8M8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0m0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13m8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5M3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8m10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0m-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0m9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707M4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708" /> |
| 155 | + </svg> |
| 156 | + <span id="sb-dark-span"></span> |
| 157 | + </div> |
| 158 | + </div> |
| 159 | + |
| 160 | + <div class="sb-table-cell sb-theme-splitter sb-download-splitter"></div> |
143 | 161 | <div class='sb-header-item sb-table-cell sb-search-wrapper'> |
144 | 162 | <div class='sb-search-btn' id='sb-trigger-search' role="button" tabindex="0" aria-label="toggle sample search" title="Toggle sample search"> |
145 | 163 | <span class='sb-settings sb-icons sb-icon-Search' role="presentation" aria-label="Search sample"></span> |
|
199 | 217 | </div> |
200 | 218 | <div id='theme-switcher-popup' class='sb-theme-popup'> |
201 | 219 | <ul id="themelist" class="options" role="list"> |
202 | | - <li class="e-list" id="fluent" role="listitem"> |
| 220 | + <li class='active' id="material3" role="listitem"> |
203 | 221 | <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
204 | | - <span class="switch-text">Fluent</span> |
205 | | - </li> |
206 | | - <li class="e-list" id="fluent-dark" role="listitem"> |
207 | | - <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
208 | | - <span class="switch-text">Fluent Dark</span> |
| 222 | + <span class="switch-text">Material 3</span> |
209 | 223 | </li> |
210 | 224 | <li class="e-list" id="bootstrap5" role="listitem"> |
211 | 225 | <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
212 | | - <span class="switch-text">Bootstrap v5</span> |
| 226 | + <span class="switch-text">Bootstrap 5</span> |
213 | 227 | </li> |
214 | | - <li class="e-list" id="bootstrap5-dark" role="listitem"> |
| 228 | + <li class="e-list" id="fluent2" role="listitem"> |
215 | 229 | <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
216 | | - <span class="switch-text">Bootstrap v5 Dark</span> |
| 230 | + <span class="switch-text">Fluent 2</span> |
217 | 231 | </li> |
218 | 232 | <li class="e-list" id="tailwind"> |
219 | 233 | <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
220 | 234 | <span class="switch-text">Tailwind CSS</span> |
221 | 235 | </li> |
222 | | - <li class="e-list" id="tailwind-dark"> |
223 | | - <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
224 | | - <span class="switch-text">Tailwind CSS Dark</span> |
225 | | - </li> |
226 | | - <li class='e-list' id="material" role="listitem"> |
227 | | - <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
228 | | - <span class="switch-text">Material</span> |
229 | | - </li> |
230 | | - <li class="e-list" id="material-dark"> |
231 | | - <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
232 | | - <span class="switch-text">Material Dark</span> |
233 | | - </li> |
234 | | - <li class='active' id="material3" role="listitem"> |
235 | | - <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
236 | | - <span class="switch-text">Material 3</span> |
237 | | - </li> |
238 | | - <li class="e-list" id="material3-dark" role="listitem"> |
239 | | - <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
240 | | - <span class="switch-text">Material 3 Dark</span> |
241 | | - </li> |
242 | | - <li id="fabric" role="listitem"> |
243 | | - <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
244 | | - <span class="switch-text">Fabric</span> |
245 | | - </li> |
246 | | - <li class="e-list" id="fabric-dark"> |
247 | | - <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
248 | | - <span class="switch-text">Fabric Dark</span> |
249 | | - </li> |
250 | | - <li class="e-list" id="bootstrap4" role="listitem"> |
251 | | - <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
252 | | - <span class="switch-text">Bootstrap v4</span> |
253 | | - </li> |
254 | | - <li class="e-list" id="bootstrap" role="listitem"> |
255 | | - <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
256 | | - <span class="switch-text">Bootstrap</span> |
257 | | - </li> |
258 | | - <li class="e-list" id="bootstrap-dark"> |
259 | | - <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
260 | | - <span class="switch-text">Bootstrap Dark</span> |
261 | | - </li> |
262 | 236 | <li class="e-list" id="highcontrast"> |
263 | 237 | <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
264 | 238 | <span class="switch-text">High Contrast</span> |
265 | 239 | </li> |
| 240 | + <li class="e-list" id="fluent" role="listitem"> |
| 241 | + <span class='sb-icons sb-theme-select sb-icon-icon-selection'></span> |
| 242 | + <span class="switch-text">Fluent</span> |
| 243 | + </li> |
266 | 244 | </ul> |
267 | 245 | <div class="sb-theme-studio"><a target="_blank" href="https://ej2.syncfusion.com/themestudio/?theme=material" aria-label="Go to Theme Studio">Go to Theme Studio</a></div> |
268 | 246 | </div> |
|
279 | 257 | </div> |
280 | 258 | <div class='setting-content setting-theme-change'> |
281 | 259 | <select id='sb-setting-theme' class='sb-setting-theme-select'> |
282 | | - <option value="fluent">Fluent</option> |
283 | | - <option value="fluent-dark">Fluent Dark</option> |
284 | | - <option value="bootstrap5">Bootstrap v5</option> |
285 | | - <option value="bootstrap5-dark">Bootstrap v5 Dark</option> |
286 | | - <option value="tailwind">Tailwind CSS</option> |
287 | | - <option value="tailwind-dark">Tailwind CSS Dark</option> |
288 | | - <option value="material">Material</option> |
289 | | - <option value="material-dark">Material Dark</option> |
290 | 260 | <option value="material3">Material 3</option> |
291 | | - <option value="material3-dark">Material 3 Dark</option> |
292 | | - <option value="fabric">Fabric</option> |
293 | | - <option value="fabric-dark">Fabric Dark</option> |
294 | | - <option value="bootstrap4">Bootstrap v4</option> |
295 | | - <option value="bootstrap">Bootstrap</option> |
296 | | - <option value="bootstrap-dark">Bootstrap Dark</option> |
| 261 | + <option value="bootstrap5">Bootstrap 5</option> |
| 262 | + <option value="fluent2">Fluent 2</option> |
| 263 | + <option value="tailwind">Tailwind CSS</option> |
297 | 264 | <option value="highcontrast">High Contrast</option> |
| 265 | + <option value="fluent">Fluent</option> |
| 266 | + </select> |
| 267 | + </div> |
| 268 | + </div> |
| 269 | + <div class='sb-setting-item sb-setting-theme-section' id="mobiledarkswitch"> |
| 270 | + <div class='setting-label'> |
| 271 | + <div> <svg xmlns="http://www.w3.org/2000/svg" style="margin-right: 5px;" id="light-icon" |
| 272 | + width="16" height="14" fill="currentColor" class="bi bi-sun" viewBox="0 0 16 16"> |
| 273 | + <path |
| 274 | + d="M8 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6m0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8M8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0m0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13m8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5M3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8m10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0m-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0m9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707M4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708" /> |
| 275 | + </svg></div> |
| 276 | + <div class='sb-setting-text'>Theme Mode</div> |
| 277 | + </div> |
| 278 | + <div class='setting-content setting-theme-change'> |
| 279 | + <select id='sb-theme-mode' class='sb-setting-theme-select'> |
| 280 | + <option value="lightMode">Light mode</option> |
| 281 | + <option value="darkMode">Dark mode</option> |
| 282 | + |
298 | 283 | </select> |
299 | 284 | </div> |
300 | 285 | </div> |
@@ -422,25 +407,25 @@ <h1 class='sb-sample-text' aria-level="1" role="heading">Data Grid</h1> |
422 | 407 | </div> |
423 | 408 | <div class='description-section sb-rightpane-padding'> |
424 | 409 | </div> |
425 | | - <div class="ad-wrapper"> |
426 | | - <div id='ad-image' class="ad-img"> |
| 410 | + <div class="banner-wrapper"> |
| 411 | + <div id="banner-image" class="banner-img"> |
427 | 412 | <div class="row"> |
428 | 413 | <div class="col-sm-12"> |
429 | 414 | <div class="col-sm-12"> |
430 | | - <div id="ad-banner-head" class="ad-header">Transform your JavaScript web apps today with Syncfusion Javascript controls</div> |
| 415 | + <div id="banner-head" class="banner-header">Transform your JavaScript web apps today with Syncfusion Javascript controls</div> |
431 | 416 | </div> |
432 | 417 | <div class="col-sm-12 cnt-area"> |
433 | 418 | <div class="content-area"> |
434 | | - <div class="ad-cnt-pt"> |
435 | | - <div class="ad-cnt-icon click-icon sb-icons sb-icon-icon-selection"></div> |
| 419 | + <div class="banner-cnt-pt"> |
| 420 | + <div class="banner-cnt-icon click-icon sb-icons sb-icon-icon-selection"></div> |
436 | 421 | <div class="cnt-text">80+ high-performance and responsive UI components</div> |
437 | 422 | </div> |
438 | | - <div class="ad-cnt-pt"> |
439 | | - <div class="ad-cnt-icon click-icon sb-icons sb-icon-icon-selection"></div> |
| 423 | + <div class="banner-cnt-pt"> |
| 424 | + <div class="banner-cnt-icon click-icon sb-icons sb-icon-icon-selection"></div> |
440 | 425 | <div class="cnt-text">Dedicated support</div> |
441 | 426 | </div> |
442 | | - <div class="ad-cnt-pt"> |
443 | | - <div class="ad-cnt-icon click-icon sb-icons sb-icon-icon-selection"></div> |
| 427 | + <div class="banner-cnt-pt"> |
| 428 | + <div class="banner-cnt-icon click-icon sb-icons sb-icon-icon-selection"></div> |
444 | 429 | <div class="cnt-text">Hassle-free licensing</div> |
445 | 430 | </div> |
446 | 431 | </div> |
|
0 commit comments