mirror of
https://github.com/pi-hole/web.git
synced 2026-08-23 06:39:09 +01:00
- add `data-bs-theme` to the body, accordingly to the current theme; - add `data-bs-theme=dark` the the top bar, because we always use some background color with white text, on this element; - change the default theme font-size to 15px. The previous theme used 14px (too small) and the original AdminLTE uses 16px (maybe too big); - use `bg-body-secondary` class on the body to match the previous gray background color on the content area; - use `bg-body-tertiary` class on the sidebar. It is still a dark color, but it will be changed according to the selected themes (when all themes are implemented); - adjust the top bar text color and border color to match the previous theme look; - adjust (or remove) the height on some elements on the top bar, to avoid breaking the layout; - move the old "logo" element to the sidebar (`.sidebar-brand` element); - use CSS to show a smaller "Pi-hole" text logo in the collapse sidebar; - adjust the collapsed sidebar layout, adding `.nav-badge` class to the every badge on the sidebar; - remove the outdated `pull-left` class; - remove other outdated CSS rules; Signed-off-by: RD WebDesign <github@rdwebdesign.com.br> Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>