BookStack/resources/assets/sass/_variables.scss

68 lines
1.5 KiB
SCSS
Raw Normal View History

2015-07-13 03:01:42 +08:00
// Variables
///////////////
// Sizes
2015-08-31 00:53:30 +08:00
$max-width: 1400px;
2015-07-13 03:01:42 +08:00
// Screen breakpoints
$xl: 1100px;
$ipad-width: 1028px; // Is actually 1024 but we go over to ensure functionality.
$l: 1000px;
$m: 880px;
2015-07-13 03:01:42 +08:00
$s: 600px;
$xs: 400px;
$xxs: 360px;
$screen-lg: 1200px;
$screen-md: 992px;
$screen-sm: 768px;
2015-07-13 03:01:42 +08:00
$screen-sizes: (('xxs', $xxs), ('xs', $xs), ('s', $s), ('m', $m), ('l', $l), ('xl', $xl));
2015-07-13 03:01:42 +08:00
// Spacing (Margins+Padding)
$-xxxl: 64px;
$-xxl: 48px;
$-xl: 32px;
$-l: 24px;
$-m: 16px;
$-s: 12px;
$-xs: 6px;
$-xxs: 3px;
$spacing: (('xxs', $-xxs), ('xs', $-xs), ('s', $-s), ('m', $-m), ('l', $-l), ('xl', $-xl), ('xxl', $-xxl));
2015-07-13 03:01:42 +08:00
// Fonts
$text: -apple-system, BlinkMacSystemFont,
"Segoe UI", "Oxygen", "Ubuntu", "Roboto", "Cantarell",
"Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
$mono: "Lucida Console", "DejaVu Sans Mono", "Ubunto Mono", Monaco, monospace;
$heading: $text;
2015-08-31 00:53:30 +08:00
$fs-m: 15px;
2015-07-13 03:01:42 +08:00
$fs-s: 14px;
// Colours
2015-08-31 00:53:30 +08:00
$primary: #0288D1;
$primary-dark: #0288D1;
2015-07-13 03:01:42 +08:00
$secondary: #e27b41;
2015-08-31 00:53:30 +08:00
$positive: #52A256;
2015-09-05 03:40:36 +08:00
$negative: #E84F4F;
2016-06-20 02:02:53 +08:00
$info: $primary;
2016-03-12 23:52:19 +08:00
$warning: $secondary;
$primary-faded: rgba(21, 101, 192, 0.15);
2015-07-13 03:01:42 +08:00
2015-08-31 18:43:28 +08:00
// Item Colors
$color-bookshelf: #af5a5a;
2015-08-31 18:43:28 +08:00
$color-book: #009688;
$color-chapter: #ef7c3c;
2015-08-31 18:43:28 +08:00
$color-page: $primary;
$color-page-draft: #9A60DA;
2015-08-31 18:43:28 +08:00
2015-07-13 03:01:42 +08:00
// Text colours
$text-dark: #444;
$text-light: #EEE;
// Shadows
$bs-light: 0 0 4px 1px #CCC;
$bs-med: 0 1px 3px 1px rgba(76, 76, 76, 0.26);
$bs-card: 0 1px 3px 1px rgba(76, 76, 76, 0.26), 0 1px 12px 0px rgba(76, 76, 76, 0.2);
$bs-hover: 0 2px 2px 1px rgba(0,0,0,.13);