/* TurboVision-inspired integration layer for TuiCSS. * Keep changes template-owned (do not edit _vendor/tuicss). */ /* Base look */ body.luxtools-tv { min-height: 100vh; color: #fff; /* Keep content visible under fixed bars */ --luxtools-topbar-h: 34px; --luxtools-statusbar-h: 28px; padding-top: 0; padding-bottom: var(--luxtools-statusbar-h); } /* DokuWiki default template tends to assume dark-on-light; override minimal bits */ body.luxtools-tv .dokuwiki { color: inherit; } body.luxtools-tv a { color: rgb(0, 255, 255); } /* Keep the existing centered/max-width layout */ body.luxtools-tv #dokuwiki__site { background: transparent; max-width: none; width: 100%; margin-top: var(--luxtools-topbar-h); } /* Make wrapper a two-column flex layout in TV mode */ body.luxtools-tv #dokuwiki__site .wrapper { display: flex; align-items: stretch; min-height: calc(100vh - var(--luxtools-topbar-h) - var(--luxtools-statusbar-h)); } body.luxtools-tv #dokuwiki__aside { float: none; flex: 0 0 __sidebar_width__; width: auto; } body.luxtools-tv #dokuwiki__content { float: none; flex: 1 1 auto; width: auto; margin: 0; min-width: 0; } body.luxtools-tv .hasSidebar #dokuwiki__content { margin-left: 0; width: auto; } /* Let the page fieldset fill available vertical space */ body.luxtools-tv #dokuwiki__content { display: flex; flex-direction: column; height: 100%; } body.luxtools-tv .luxtools__page-fieldset { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; } /* Ensure the inner wiki content can scroll if it overflows */ body.luxtools-tv .luxtools__page-fieldset > * { min-width: 0; } /* --- Top bar --- */ #dokuwiki__header { margin: 0; } #luxtools__topbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; } #luxtools__topbar .luxtools__topbar-inner { display: flex; align-items: center; gap: 12px; } #luxtools__topbar .luxtools__brand a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: black; } #luxtools__topbar .luxtools__logo { width: 18px; height: 18px; image-rendering: pixelated; } #luxtools__topbar .luxtools__title { font-weight: bold; } #luxtools__topbar .luxtools__search { margin-left: auto; display: flex; justify-content: flex-end; } /* Make the core search form look like TuiCSS input */ #luxtools__topbar form.search { margin: 0; } /* Trace should be inline in the bar (not centered, not blocky) */ #luxtools__topbar .luxtools__trace { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45vw; color: black; } #luxtools__topbar .luxtools__trace .breadcrumbs { display: inline; margin: 0; } #luxtools__topbar .luxtools__trace a { color: black; } #luxtools__topbar form.search input[type="text"], #luxtools__topbar form.search input#qsearch__in { background-color: rgb(0, 0, 0); color: white; outline: 0; border: none; border-radius: 0; padding: 2px 6px; width: 100%; max-width: 26em; } #luxtools__topbar form.search input[type="text"]:focus, #luxtools__topbar form.search input#qsearch__in:focus { background-color: rgb(255, 255, 0); color: black; } #luxtools__topbar form.search button, #luxtools__topbar form.search input[type="submit"] { display: none; } #luxtools__topbar .luxtools__menus { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 10px; } /* Be resilient against generic "nav ul li { display:block }" rules */ #luxtools__topbar ul, #luxtools__topbar li { list-style: none; } #luxtools__topbar .luxtools__menus > li { display: inline-block !important; } /* Keep dropdown menu vertical */ #luxtools__topbar .tui-dropdown-content ul { display: block; } #luxtools__topbar .tui-dropdown-content ul li { display: block !important; } #luxtools__topbar .luxtools__menu { user-select: none; } /* (trace styling moved above) */ #luxtools__topbar .luxtools__dropdown-title { margin: 6px; } /* --- Fieldsets around sidebar and page --- */ .luxtools__sidebar-fieldset, .luxtools__page-fieldset { margin: 0; } .luxtools__page-fieldset { margin-bottom: 0; } /* Avoid double spacing from DokuWiki pads */ #dokuwiki__content { padding-top: 0; } /* --- Status bar --- */ #dokuwiki__pagetools { border: none; background-color: rgb(168, 168, 168); } #dokuwiki__pagetools ul { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; flex-wrap: wrap; } #dokuwiki__pagetools ul li { display: inline-flex !important; margin: 0 0 0 10px; padding: 2px 3px; } #dokuwiki__pagetools ul li a { color: black; text-decoration: none; border-bottom: none; } #dokuwiki__pagetools ul li:active, #dokuwiki__pagetools ul li:hover { background-color: rgb(0, 0, 168); } #dokuwiki__pagetools ul li:active a, #dokuwiki__pagetools ul li:hover a { color: white; } .luxtools__hotkey { margin-right: 4px; } .tui-fieldset { background-color: #0000a8; }