ShtukbaseStandard
archivo del paquete→ .shtukbase/packages/layout-basic/shell.html

shell.html

44 líneas, 2.0 KB.

El archivo tal como está en el paquete: el código y sus comentarios no se traducen.

  1. <!doctype html>
  2. <html lang="ru" data-skin="desktop">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>Shtukbase</title>
  7. <script>
  8. // Theme before the first paint: the same keys as kit-style page.js.
  9. (function () {
  10. var t = null;
  11. try { t = localStorage.getItem('lx-theme'); } catch (e) {}
  12. if (!t && window.matchMedia && matchMedia('(prefers-color-scheme: dark)').matches) t = 'dark';
  13. if (t === 'dark') document.documentElement.setAttribute('data-theme', 'dark');
  14. // The skin: Desktop by default, Calm when chosen (the lx-skin key of kit-style page.js).
  15. var k = null; try { k = localStorage.getItem('lx-skin'); } catch (e) {}
  16. if (k === 'calm' || k === 'desktop') document.documentElement.setAttribute('data-skin', k);
  17. })();
  18. </script>
  19. <link rel="stylesheet" href="/_kit/kit.css">
  20. <link rel="stylesheet" href="/_kit/skins/calm.css">
  21. <link rel="stylesheet" href="/_kit/skins/desktop.css">
  22. <link rel="stylesheet" href="/_pkg/layout-basic/shell.css">
  23. <link rel="preload" as="script" href="/_pkg/layout-basic/lens.js">
  24. </head>
  25. <body>
  26. <div class="lx-app ls-app">
  27. <header class="lx-top ls-top">
  28. <div class="lx-crumbs" id="crumbs">
  29. <span class="lx-crumb ls-space"><span class="t" id="space-name">&nbsp;</span></span>
  30. </div>
  31. <div class="ls-tabs" id="tabs" role="tablist"></div>
  32. <button class="lx-btn icon" id="theme" title="Тема" aria-label="Тема">
  33. <svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M8 1.5a6.5 6.5 0 1 0 0 13a6.5 6.5 0 0 0 0-13zm0 1.5v10a5 5 0 0 1 0-10z" fill="currentColor"/></svg>
  34. </button>
  35. </header>
  36. <div class="lx-body ls-body">
  37. <nav class="ls-side" id="side" aria-label="Пространство"></nav>
  38. <main class="ls-main" id="stage"><div class="ls-empty" id="empty"></div></main>
  39. <aside class="ls-panel" id="panel" hidden></aside>
  40. </div>
  41. </div>
  42. <script src="/_pkg/layout-basic/shell.js"></script>
  43. </body>
  44. </html>