Fix secondary color on dark themes and theme 7 secondary buttons, formatting
This commit is contained in:
parent
3c77ec62d0
commit
e0eeee013e
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue