Fix secondary color on dark themes and theme 7 secondary buttons, formatting

This commit is contained in:
Igor Scheller 2021-08-14 17:00:32 +02:00 committed by Michael Weimann
parent 3c77ec62d0
commit e0eeee013e
No known key found for this signature in database
GPG Key ID: 34F0524D4DA694A1
3 changed files with 14 additions and 0 deletions

View File

@ -2,3 +2,4 @@
$input-group-addon-color: #222; $input-group-addon-color: #222;
$input-disabled-bg: #111; $input-disabled-bg: #111;
$alert-bg-scale: 70%; $alert-bg-scale: 70%;
$secondary: #222;

View File

@ -246,6 +246,18 @@ table,
background-image: linear-gradient(to right, rgb(0, 132, 176) , rgb(0, 163, 86)); background-image: linear-gradient(to right, rgb(0, 132, 176) , rgb(0, 163, 86));
} }
.btn-secondary {
color: $primary;
background-color: #000;
border-color: $primary;
&:hover {
color: $primary;
background-color: #000;
border-color: darken($primary, 10%);
}
}
.bg-warning { .bg-warning {
color: #000; color: #000;
} }

View File

@ -6,6 +6,7 @@ use Engelsystem\Helpers\Authenticator;
use Engelsystem\Http\Request; use Engelsystem\Http\Request;
use Twig\Extension\AbstractExtension as TwigExtension; use Twig\Extension\AbstractExtension as TwigExtension;
use Twig\Extension\GlobalsInterface as GlobalsInterface; use Twig\Extension\GlobalsInterface as GlobalsInterface;
use function array_key_exists; use function array_key_exists;
class Globals extends TwigExtension implements GlobalsInterface class Globals extends TwigExtension implements GlobalsInterface