From 754a5f0a41a8cd3d5e41505b42a5eef309f45a61 Mon Sep 17 00:00:00 2001 From: rdwebdesign Date: Sun, 24 Oct 2021 16:33:01 -0300 Subject: [PATCH] Signed-off-by: rdwebdesign --- style/themes/lcars.css | 41 +++++++++-------------------------------- 1 file changed, 9 insertions(+), 32 deletions(-) diff --git a/style/themes/lcars.css b/style/themes/lcars.css index 85b76684..f448e195 100644 --- a/style/themes/lcars.css +++ b/style/themes/lcars.css @@ -1,26 +1,15 @@ /*=== LCARS Pi-hole Theme ===*/ -/* -- corrigir o nome do arquivo CSS (lcars.css); -- change theme.php: add the new theme; -- add the new fonts to the 'style/vendor/' directory (because of CSP); -- create the new dir "Antonio", for the new compressed font "Antonio"; -- add the Antonio font files; -- create the file "Antonio.css", to load the font files; -- create the new dir "UbuntuMono", for the new compressed font "Ubuntu Mono"; -- add the Ubuntu Mono font files; -- create the file "UbuntuMono.css", to load the font files; -- change header.php: include the new fonts + set the default theme color to "#4488FF"; -*/ - - /*** Main variables ***/ :root { --sidebar-width: 230px; --gradient-pos: 300px; --primary-color: #48F; --text-color: #9AB; -} + --net-never-color: #000; + --net-recent-color: #055; + --net-old-color: #125; + --net-older-color: #1C2228;} .sidebar-collapse { --sidebar-width: 50px; @@ -132,7 +121,7 @@ td code { kbd { color: #000; background-color: #9AB; - box-shadow: inset -1px -1px 2px 0px rgba(0, 0, 0, .5); + box-shadow: inset -1px -1px 2px 0 rgba(0, 0, 0, .5); vertical-align: middle; } @@ -223,7 +212,7 @@ th { .allowed-row .btn-default.text-red, .blocked-row .btn-default.text-green { background-color: #BCD; - text-shadow: 0px 0px 1px #FFF; + text-shadow: 0 0 1px #FFF; } #domain-frequency table button, @@ -360,10 +349,6 @@ label { background: #D43; } -#loginform .has-error + .row .btn { - background: #D43; -} - #loginform .has-error + .row .btn:hover { background: #D32; } @@ -543,7 +528,7 @@ label { } .main-header .navbar .nav > li > a > .label { - top: 0px; + top: 0; right: 0; font-size: 1em; padding: .25em; @@ -629,7 +614,7 @@ label { } .sidebar { - padding: 0 0 4px 0; + padding: 0 0 4px; background: #000; font-weight: bold; text-transform: uppercase; @@ -764,7 +749,7 @@ label { .user-panel { padding: 30px 10%; background: #CCE6FF; - border-radius: 75px 0 0 0; + border-radius: 75px 0 0; z-index: 0; } @@ -1412,8 +1397,6 @@ table.dataTable { padding: 0; } .main-header { - background-size: auto; - background-position: 0 0; background-image: linear-gradient(to right, #000 4px, #8BF 4px); background-size: 100% 100%; background-position: 300px 0; @@ -1734,12 +1717,6 @@ div.dataTables_wrapper div.dataTables_paginate ul.pagination { /*** Network table colors ***/ -:root { - --net-never-color: #000; - --net-recent-color: #055; - --net-old-color: #125; - --net-older-color: #1C2228; -} .network-never { background-color: var(--net-never-color); }