|
|
|
@ -1,14 +1,10 @@ |
|
|
|
|
// SCSS darken/lighten function override |
|
|
|
|
// if no exists |
|
|
|
|
@if function-exists(nc-darken) == false { |
|
|
|
|
@function nc-darken($color, $value) { |
|
|
|
|
@return darken($color, $value); |
|
|
|
|
} |
|
|
|
|
@function nc-darken($color, $value) { |
|
|
|
|
@return darken($color, $value); |
|
|
|
|
} |
|
|
|
|
@if function-exists(nc-lighten) == false { |
|
|
|
|
@function nc-lighten($color, $value) { |
|
|
|
|
@return lighten($color, $value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@function nc-lighten($color, $value) { |
|
|
|
|
@return lighten($color, $value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// SCSS variables |
|
|
|
@ -22,11 +18,11 @@ $color-background-darker: nc-darken($color-main-background, 14%) !default; |
|
|
|
|
|
|
|
|
|
$color-primary: #0082c9; |
|
|
|
|
$color-primary-text: #ffffff; |
|
|
|
|
// do not use nc-darken in case of overriding because |
|
|
|
|
// do not use nc-darken/lighten in case of overriding because |
|
|
|
|
// primary-text is independent of color-main-text |
|
|
|
|
$color-primary-text-dark: darken($color-primary-text, 7%) !default; |
|
|
|
|
$color-primary-element: $color-primary !default; |
|
|
|
|
$color-primary-element-light: nc-lighten($color-primary-element, 15%) !default; |
|
|
|
|
$color-primary-element-light: lighten($color-primary-element, 15%) !default; |
|
|
|
|
|
|
|
|
|
$color-error: #e9322d; |
|
|
|
|
$color-warning: #eca700; |
|
|
|
@ -35,9 +31,9 @@ $color-success: #46ba61; |
|
|
|
|
// 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-maxcontrast: nc-lighten($color-main-text, 46.2%); |
|
|
|
|
$color-text-light: nc-lighten($color-main-text, 15%); |
|
|
|
|
$color-text-lighter: nc-lighten($color-main-text, 30%); |
|
|
|
|
$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; |
|
|
|
|
|
|
|
|
|
$image-logo: url('../img/logo.svg?v=1'); |
|
|
|
|
$image-login-background: url('../img/background.png?v=2'); |
|
|
|
@ -48,9 +44,9 @@ $color-loading-dark: #777 !default; |
|
|
|
|
$color-box-shadow: rgba(nc-darken($color-main-background, 70%), 0.75) !default; |
|
|
|
|
|
|
|
|
|
// light border like file table or app-content list |
|
|
|
|
$color-border: nc-darken($color-main-background, 7%); |
|
|
|
|
$color-border: nc-darken($color-main-background, 7%) !default; |
|
|
|
|
// darker border like inputs or very visible elements |
|
|
|
|
$color-border-dark: nc-darken($color-main-background, 14%); |
|
|
|
|
$color-border-dark: nc-darken($color-main-background, 14%) !default; |
|
|
|
|
$border-radius: 3px !default; |
|
|
|
|
|
|
|
|
|
$font-face: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif !default; |
|
|
|
|