2017-02-17 13:45:08 +03:00
|
|
|
$color-main-text: #000000;
|
|
|
|
$color-main-background: #ffffff;
|
|
|
|
$color-primary: #0082c9;
|
|
|
|
$color-primary-text: #ffffff;
|
|
|
|
$color-error: #e9322d;
|
2018-04-17 20:15:05 +03:00
|
|
|
$color-warning: #eca700;
|
2017-02-19 21:47:13 +03:00
|
|
|
$color-success: #46ba61;
|
2017-08-11 16:11:47 +03:00
|
|
|
$color-primary-element: $color-primary;
|
2017-02-19 21:47:13 +03:00
|
|
|
|
2018-04-18 16:38:30 +03:00
|
|
|
// rgb(118, 118, 118) / #767676
|
|
|
|
// min. color contrast for normal text on white background according to WCAG AA
|
|
|
|
// (Works as well: color: #000; opacity: 0.57;)
|
|
|
|
$color-text-details: #767676;
|
|
|
|
|
2018-01-03 11:32:33 +03:00
|
|
|
$image-logo: '../img/logo.svg?v=1';
|
2017-08-29 16:18:51 +03:00
|
|
|
$image-login-background: '../img/background.png?v=2';
|
2017-02-19 21:47:13 +03:00
|
|
|
|
2017-02-21 19:28:48 +03:00
|
|
|
$color-loading: #969696;
|
|
|
|
$color-loading-dark: #bbbbbb;
|
2017-11-28 12:56:28 +03:00
|
|
|
$color-box-shadow: rgba(nc-darken($color-main-background, 70%), 0.75);
|
2017-09-05 19:50:33 +03:00
|
|
|
$color-border: nc-darken($color-main-background, 8%);
|
2017-09-28 17:32:54 +03:00
|
|
|
$border-radius: 3px;
|
2018-06-03 11:46:35 +03:00
|
|
|
|
|
|
|
// CSS4 Variables
|
|
|
|
// Remember, you cannot use scss functions with css4 variables
|
|
|
|
// All css4 variables must be fixed! Scss is a PRE processor
|
|
|
|
// css4 variables are processed after scss!
|
|
|
|
:root {
|
|
|
|
--color-main-text: $color-main-text;
|
|
|
|
--color-main-background: $color-main-background;
|
|
|
|
--color-primary: $color-primary;
|
|
|
|
--color-primary-text: $color-primary-text;
|
|
|
|
--color-error: $color-error;
|
|
|
|
--color-warning: $color-warning;
|
|
|
|
--color-success: $color-success;
|
|
|
|
--color-primary-element: $color-primary-element;
|
|
|
|
|
|
|
|
--color-text-details: $color-text-details;
|
|
|
|
|
|
|
|
--image-logo: $image-logo;
|
|
|
|
--image-login-background: $image-login-background;
|
|
|
|
|
|
|
|
--color-loading: $color-loading;
|
|
|
|
--color-loading-dark: $color-loading-dark;
|
|
|
|
--color-box-shadow: $color-box-shadow;
|
|
|
|
--color-border: $color-border;
|
|
|
|
--border-radius: $border-radius;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// SCSS darken/lighten function override
|
|
|
|
@function nc-darken($color, $value) {
|
|
|
|
@return darken($color, $value);
|
|
|
|
}
|
|
|
|
|
|
|
|
@function nc-lighten($color, $value) {
|
|
|
|
@return lighten($color, $value);
|
|
|
|
}
|