Files
luxtools-template/css/pagetools.less
2026-01-30 13:49:46 +01:00

93 lines
2.3 KiB
Plaintext
Executable File

/**
* This file provides the styles for the page tools as a sticky status bar
* at the bottom of the page (TurboVision-style).
*
* @author luxick <git@luxick.de>
*/
/*
* Status bar styling (inspired by TuiCSS turbo-vision example)
* The page tools are displayed as a sticky bar at the bottom of the viewport
*/
#dokuwiki__pagetools.pagetools-statusbar {
/* Fixed positioning at bottom of viewport */
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 100;
/* Visual styling - status bar appearance */
background-color: @ini_background_alt;
border-top: 1px solid @ini_border;
padding: 0 0.5em;
ul {
display: flex;
flex-wrap: wrap;
align-items: center;
list-style: none;
margin: 0;
padding: 0;
gap: 0.25em;
li {
display: inline-block;
margin: 0;
padding: 0;
a {
display: inline-flex;
align-items: center;
padding: 0.35em 0.5em;
text-decoration: none;
color: @ini_text;
white-space: nowrap;
border-radius: 2px;
transition: background-color 0.15s ease;
&:hover,
&:focus {
background-color: @ini_background_neu;
text-decoration: none;
}
&:active {
background-color: @ini_background_neu;
.accesskey {
color: @ini_text;
}
}
/* Accesskey badge - prominent display like F1, F2 shortcuts */
.accesskey {
display: inline-block;
color: @ini_theme_color;
font-weight: bold;
font-size: 0.85em;
margin-right: 0.4em;
min-width: 1.2em;
text-align: center;
text-transform: uppercase;
}
.label {
font-size: 0.9em;
}
}
}
}
/* RTL support */
[dir=rtl] & {
ul li a {
.accesskey {
margin-right: 0;
margin-left: 0.4em;
}
}
}
}