2018-06-14 07:25:19 +00:00
|
|
|
// SCSS darken/lighten function override
|
2018-06-15 05:54:46 +00:00
|
|
|
@function nc-darken($color, $value) {
|
|
|
|
@return darken($color, $value);
|
2018-06-03 19:06:27 +00:00
|
|
|
}
|
2018-06-15 05:54:46 +00:00
|
|
|
|
|
|
|
@function nc-lighten($color, $value) {
|
|
|
|
@return lighten($color, $value);
|
2018-06-03 19:06:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SCSS variables
|
2018-06-05 14:06:01 +00:00
|
|
|
// DEPRECATED, please use CSS4 vars
|
2018-06-14 07:25:19 +00:00
|
|
|
$color-main-text: #000 !default;
|
|
|
|
$color-main-background: #fff !default;
|
2018-06-03 19:06:27 +00:00
|
|
|
|
|
|
|
// used for different active/disabled states
|
2018-06-14 13:38:43 +00:00
|
|
|
$color-background-dark: nc-darken($color-main-background, 7%) !default;
|
|
|
|
$color-background-darker: nc-darken($color-main-background, 14%) !default;
|
2018-06-03 19:06:27 +00:00
|
|
|
|
2017-02-17 10:45:08 +00:00
|
|
|
$color-primary: #0082c9;
|
|
|
|
$color-primary-text: #ffffff;
|
2018-06-15 05:54:46 +00:00
|
|
|
// do not use nc-darken/lighten in case of overriding because
|
2018-06-14 07:25:19 +00:00
|
|
|
// primary-text is independent of color-main-text
|
2018-06-14 13:38:43 +00:00
|
|
|
$color-primary-text-dark: darken($color-primary-text, 7%) !default;
|
|
|
|
$color-primary-element: $color-primary !default;
|
2018-06-15 05:54:46 +00:00
|
|
|
$color-primary-element-light: lighten($color-primary-element, 15%) !default;
|
2018-06-03 19:06:27 +00:00
|
|
|
|
2017-02-17 10:45:08 +00:00
|
|
|
$color-error: #e9322d;
|
2018-04-17 17:15:05 +00:00
|
|
|
$color-warning: #eca700;
|
2017-02-19 18:47:13 +00:00
|
|
|
$color-success: #46ba61;
|
|
|
|
|
2018-04-18 13:38:30 +00: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;)
|
2018-06-15 05:54:46 +00:00
|
|
|
$color-text-maxcontrast: nc-lighten($color-main-text, 46.2%) !default;
|
|
|
|
$color-text-light: nc-lighten($color-main-text, 15%) !default;
|
|
|
|
$color-text-lighter: nc-lighten($color-main-text, 30%) !default;
|
2018-04-18 13:38:30 +00:00
|
|
|
|
2018-06-03 09:47:45 +00:00
|
|
|
$image-logo: url('../img/logo.svg?v=1');
|
|
|
|
$image-login-background: url('../img/background.png?v=2');
|
2017-02-19 18:47:13 +00:00
|
|
|
|
2018-06-14 07:25:19 +00:00
|
|
|
$color-loading-light: #ccc !default;
|
|
|
|
$color-loading-dark: #777 !default;
|
2018-06-03 08:46:35 +00:00
|
|
|
|
2018-06-14 13:38:43 +00:00
|
|
|
$color-box-shadow: rgba(nc-darken($color-main-background, 70%), 0.75) !default;
|
2018-06-03 08:46:35 +00:00
|
|
|
|
2018-06-03 19:06:27 +00:00
|
|
|
// light border like file table or app-content list
|
2018-06-15 05:54:46 +00:00
|
|
|
$color-border: nc-darken($color-main-background, 7%) !default;
|
2018-06-03 19:06:27 +00:00
|
|
|
// darker border like inputs or very visible elements
|
2018-06-15 05:54:46 +00:00
|
|
|
$color-border-dark: nc-darken($color-main-background, 14%) !default;
|
2018-06-14 07:25:19 +00:00
|
|
|
$border-radius: 3px !default;
|
|
|
|
|
|
|
|
$font-face: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif !default;
|