salix/front/core/styles/variables.scss

112 lines
2.9 KiB
SCSS
Raw Normal View History

2019-10-18 19:36:30 +00:00
@import "./util";
2019-02-05 08:13:15 +00:00
$menu-width: 16em;
$topbar-height: 4em;
2019-02-06 10:24:29 +00:00
$mobile-width: 800px;
2019-10-18 20:28:08 +00:00
$font-size: 16px;
2019-02-06 10:24:29 +00:00
2019-02-22 13:34:11 +00:00
// Width
$width-xs: 25em;
2019-10-02 17:24:42 +00:00
$width-sm: 34em;
2019-10-01 14:17:57 +00:00
$width-md: 50em;
$width-lg: 80em;
$width-xl: 100em;
2019-02-22 13:34:11 +00:00
// Spacing
2019-02-06 10:24:29 +00:00
$spacing-xs: 4px;
$spacing-sm: 8px;
$spacing-md: 16px;
$spacing-lg: 32px;
$spacing-xl: 100px;
2019-02-06 10:24:29 +00:00
2019-02-08 16:49:51 +00:00
// Light theme
$color-header: #3d3d3d;
$color-bg: #e5e5e5;
2019-02-08 17:09:14 +00:00
$color-bg-dark: #3d3d3d;
2019-10-01 14:17:57 +00:00
$color-font: #222;
$color-font-light: #555;
2019-02-08 16:49:51 +00:00
$color-font-secondary: #9b9b9b;
2019-02-13 13:01:37 +00:00
$color-font-dark: white;
$color-font-bg: rgba(0, 0, 0, .7);
2019-02-15 13:29:47 +00:00
$color-font-link: #005a9a;
2019-02-08 16:49:51 +00:00
$color-active: #3d3d3d;
$color-active-font: white;
$color-bg-panel: white;
$color-main: #f7931e;
$color-secondary: #ccc;
$color-success: #a3d131;
$color-notice: #32b1ce;
$color-alert: #f42121;
2019-02-15 13:29:47 +00:00
2019-02-10 21:56:11 +00:00
$color-spacer: rgba(0, 0, 0, .3);
$color-spacer-light: rgba(0, 0, 0, .12);
2019-02-08 16:49:51 +00:00
$color-input-underline: rgba(0, 0, 0, .12);
$color-input-underline-hover: rgba(0, 0, 0, .6);
2019-02-08 16:49:51 +00:00
$color-shadow: rgba(0, 0, 0, .2);
2019-10-01 14:17:57 +00:00
$color-hightlight: rgba(0, 0, 0, .05);
2019-02-08 16:49:51 +00:00
$color-hover-cd: rgba(0, 0, 0, .1);
$color-hover-dc: .7;
$color-disabled: .6;
$color-font-link-medium: lighten($color-font-link, 20%);
$color-font-link-light: lighten($color-font-link, 35%);
2019-02-08 16:49:51 +00:00
$color-main-medium: lighten($color-main, 20%);
$color-main-light: lighten($color-main, 35%);
$color-success-medium: lighten($color-success, 20%);
$color-success-light: lighten($color-success, 35%);
$color-notice-medium: lighten($color-notice, 20%);
$color-notice-light: lighten($color-notice, 35%);
$color-alert-medium: lighten($color-alert, 20%);
$color-alert-light: lighten($color-alert, 35%);
2019-09-25 21:09:10 +00:00
/**/
2019-02-08 16:49:51 +00:00
// Dark theme
/*
$color-header: #3d3d3d;
$color-bg: #222;
2019-02-08 17:09:14 +00:00
$color-bg-dark: #222;
$color-font: #eee;
2019-10-01 14:17:57 +00:00
$color-font-light: #aaa;
2019-02-08 16:49:51 +00:00
$color-font-secondary: #777;
2019-02-13 13:01:37 +00:00
$color-font-dark: white;
$color-font-bg: rgba(0, 0, 0, .8);
2019-02-15 13:29:47 +00:00
$color-font-link: #005a9a;
2019-02-08 17:09:14 +00:00
$color-active: #666;
2019-02-08 16:49:51 +00:00
$color-active-font: white;
$color-bg-panel: #3c3b3b;
$color-main: #f7931e;
$color-secondary: #ccc;
$color-success: #a3d131;
$color-notice: #32b1ce;
$color-alert: #f42121;
2019-02-10 21:56:11 +00:00
$color-spacer: rgba(255, 255, 255, .3);
$color-spacer-light: rgba(255, 255, 255, .12);
2019-02-08 16:49:51 +00:00
$color-input-underline: rgba(255, 255, 255, .12);
$color-input-underline-hover: rgba(255, 255, 255, .6);
2019-02-08 16:49:51 +00:00
$color-shadow: rgba(0, 0, 0, .2);
$color-hightlight: rgba(255, 255, 255, .15);
$color-hover-cd: rgba(255, 255, 255, .1);
$color-hover-dc: .7;
$color-disabled: .6;
2019-02-13 13:01:37 +00:00
$color-font-link: lighten($color-main, 10%);
2019-02-08 16:49:51 +00:00
$color-main-medium: darken($color-main, 20%);
$color-main-light: darken($color-main, 35%);
$color-success-medium: darken($color-success, 20%);
$color-success-light: darken($color-success, 35%);
$color-notice-medium: darken($color-notice, 20%);
$color-notice-light: darken($color-notice, 35%);
$color-alert-medium: darken($color-alert, 20%);
$color-alert-light: darken($color-alert, 35%);
2019-02-22 13:34:11 +00:00
/**/
// Border
2019-10-01 14:17:57 +00:00
$border-thin: .05em solid $color-spacer;
$border-thin-light: .05em solid $color-spacer-light;
2019-10-18 19:36:30 +00:00
$shadow: 0 .15em .15em 0 rgba(0, 0, 0, .3);