mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-18 12:30:57 +03:00
Sass alert improvements (better variables).
This commit is contained in:
parent
ee66f11e5e
commit
5e1ea0940c
|
@ -1,26 +1,27 @@
|
||||||
// project specific CSS goes here
|
// project specific CSS goes here
|
||||||
|
|
||||||
|
// Alert colors
|
||||||
|
|
||||||
|
$white: #fff;
|
||||||
|
$mint-green: #d6e9c6;
|
||||||
|
$black: #000;
|
||||||
|
$pink: #f2dede;
|
||||||
|
$dark-pink: #eed3d7;
|
||||||
|
$red: #b94a48;
|
||||||
|
|
||||||
// bootstrap alert CSS, translated to the django-standard levels of
|
// bootstrap alert CSS, translated to the django-standard levels of
|
||||||
// debug, info, success, warning, error
|
// debug, info, success, warning, error
|
||||||
|
|
||||||
$alert-debug-bgcolor: #fff;
|
|
||||||
$alert-debug-border: #d6e9c6;
|
|
||||||
$alert-debug-color: #000;
|
|
||||||
|
|
||||||
$alert-error-bgcolor: #f2dede;
|
|
||||||
$alert-error-border: #eed3d7;
|
|
||||||
$alert-error-color: #b94a48;
|
|
||||||
|
|
||||||
.alert-debug {
|
.alert-debug {
|
||||||
background-color: $alert-debug-bgcolor;
|
background-color: $white;
|
||||||
border-color: $alert-debug-border;
|
border-color: $mint-green;
|
||||||
color: $alert-debug-color;
|
color: $black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert-error {
|
.alert-error {
|
||||||
background-color: $alert-error-bgcolor;
|
background-color: $pink;
|
||||||
border-color: $alert-error-border;
|
border-color: $dark-pink;
|
||||||
color: $alert-error-color;
|
color: $red;
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is a fix for the bootstrap4 alpha release
|
// This is a fix for the bootstrap4 alpha release
|
||||||
|
|
Loading…
Reference in New Issue
Block a user