2015-07-13 03:01:42 +08:00
|
|
|
// Variables
|
|
|
|
///////////////
|
|
|
|
|
|
|
|
// Screen breakpoints
|
2018-12-09 07:34:06 +08:00
|
|
|
$xxl: 1400px;
|
2015-07-13 03:01:42 +08:00
|
|
|
$xl: 1100px;
|
|
|
|
$ipad-width: 1028px; // Is actually 1024 but we go over to ensure functionality.
|
|
|
|
$l: 1000px;
|
2018-10-17 01:49:16 +08:00
|
|
|
$m: 880px;
|
2015-07-13 03:01:42 +08:00
|
|
|
$s: 600px;
|
|
|
|
$xs: 400px;
|
|
|
|
$xxs: 360px;
|
2015-09-03 23:51:10 +08:00
|
|
|
$screen-lg: 1200px;
|
2015-10-19 00:29:26 +08:00
|
|
|
$screen-md: 992px;
|
2015-09-03 23:51:10 +08:00
|
|
|
$screen-sm: 768px;
|
2015-07-13 03:01:42 +08:00
|
|
|
|
2019-04-07 16:57:48 +08:00
|
|
|
// List of screen sizes
|
2018-10-17 01:49:16 +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;
|
|
|
|
|
2019-04-07 16:57:48 +08:00
|
|
|
// List of our spacing sizes
|
2018-12-10 00:51:31 +08:00
|
|
|
$spacing: (('none', 0), ('xxs', $-xxs), ('xs', $-xs), ('s', $-s), ('m', $-m), ('l', $-l), ('xl', $-xl), ('xxl', $-xxl));
|
2018-10-17 01:49:16 +08:00
|
|
|
|
2015-07-13 03:01:42 +08:00
|
|
|
// Fonts
|
2017-08-19 21:33:55 +08:00
|
|
|
$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;
|
2018-12-02 00:29:57 +08:00
|
|
|
$fs-m: 14px;
|
|
|
|
$fs-s: 12px;
|
2015-07-13 03:01:42 +08:00
|
|
|
|
|
|
|
// Colours
|
2015-08-31 00:53:30 +08:00
|
|
|
$primary: #0288D1;
|
|
|
|
$primary-dark: #0288D1;
|
2019-05-06 07:15:03 +08:00
|
|
|
$secondary: #cf4d03;
|
|
|
|
$positive: #0f7d15;
|
|
|
|
$negative: #ab0f0e;
|
2016-06-20 02:02:53 +08:00
|
|
|
$info: $primary;
|
2016-03-12 23:52:19 +08:00
|
|
|
$warning: $secondary;
|
2016-02-12 06:23:19 +08:00
|
|
|
$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
|
2018-08-27 21:18:09 +08:00
|
|
|
$color-bookshelf: #af5a5a;
|
2015-08-31 18:43:28 +08:00
|
|
|
$color-book: #009688;
|
2018-12-02 00:29:57 +08:00
|
|
|
$color-chapter: #d7804a;
|
2015-08-31 18:43:28 +08:00
|
|
|
$color-page: $primary;
|
2016-03-13 20:04:08 +08:00
|
|
|
$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);
|
2019-05-06 07:15:03 +08:00
|
|
|
$bs-large: 0 1px 6px 1px rgba(22, 22, 22, 0.2);
|
2018-10-22 03:05:11 +08:00
|
|
|
$bs-card: 0 1px 6px -1px rgba(0, 0, 0, 0.1);
|
2017-09-03 23:37:51 +08:00
|
|
|
$bs-hover: 0 2px 2px 1px rgba(0,0,0,.13);
|