2017-05-22 23:10:03 +00:00
|
|
|
//
|
|
|
|
// Variables
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
// Dimensions
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
$space-min: 4px;
|
|
|
|
$space-xs: 8px;
|
|
|
|
$space-sm: 12px;
|
|
|
|
$space-md: 16px;
|
|
|
|
$space-lg: 24px;
|
|
|
|
$space-xl: 32px;
|
|
|
|
$space-xxl: 48px;
|
|
|
|
$space-max: 64px;
|
|
|
|
|
|
|
|
$space-thumb: 42px;
|
|
|
|
|
|
|
|
|
|
|
|
// Typography
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2022-05-09 20:21:24 +00:00
|
|
|
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
2017-05-22 23:10:03 +00:00
|
|
|
$font-family-base: $font-family-sans-serif;
|
|
|
|
|
|
|
|
$font-size-base: 13px;
|
|
|
|
|
|
|
|
$font-size-h1: 20px;
|
|
|
|
$font-size-h2: 16px;
|
|
|
|
|
|
|
|
$line-height-base: 1.539;
|
|
|
|
$line-height-computed: ceil($font-size-base * $line-height-base);
|
|
|
|
|
|
|
|
// todo: line-height-small
|
|
|
|
$line-height-large: 26px;
|
|
|
|
$line-height-large-touch: $space-thumb;
|
|
|
|
|
|
|
|
$link-hover-decoration: underline;
|
|
|
|
|
|
|
|
$headings-font-family: inherit;
|
|
|
|
$headings-font-weight: 400;
|
|
|
|
$headings-line-height: 1.2;
|
|
|
|
|
|
|
|
|
|
|
|
// Components
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2018-12-12 10:34:39 +00:00
|
|
|
$padding-base-vertical: 2px;
|
2017-05-22 23:10:03 +00:00
|
|
|
|
2018-12-12 10:34:39 +00:00
|
|
|
$padding-base-horizontal: $space-xs;
|
|
|
|
$padding-large-horizontal: $space-sm;
|
2017-05-22 23:10:03 +00:00
|
|
|
|
2018-12-12 10:34:39 +00:00
|
|
|
$border-radius-small: 3px;
|
|
|
|
$border-radius-base: 4px;
|
|
|
|
$border-radius-large: 6px;
|
2017-05-22 23:10:03 +00:00
|
|
|
|
|
|
|
$border-width: 1px;
|
|
|
|
|
|
|
|
$separator-width: 1px;
|
|
|
|
|
2018-12-12 10:34:39 +00:00
|
|
|
// Buttons
|
2017-05-22 23:10:03 +00:00
|
|
|
// --------------------------------------------------
|
|
|
|
|
2018-12-12 10:34:39 +00:00
|
|
|
$btn-disabled-opacity: 0.5;
|
|
|
|
|
|
|
|
// Z-index master list
|
|
|
|
// --------------------------------------------------
|
2017-05-22 23:10:03 +00:00
|
|
|
|
|
|
|
$z-index-mobile-nav: 0;
|
|
|
|
$z-index-navbar-bg: 10;
|
|
|
|
$z-index-main: 10;
|
|
|
|
$z-index-level: 10;
|
|
|
|
$z-index-level-active: 20;
|
|
|
|
$z-index-navbar: 20;
|
|
|
|
$z-index-menu: 30;
|
2023-12-25 05:51:53 +00:00
|
|
|
$z-index-modal: 40;
|
2017-05-22 23:10:03 +00:00
|
|
|
$z-index-drag-layer: 50;
|
|
|
|
$z-index-loading-cover: 60;
|
|
|
|
|
2023-10-04 13:27:02 +00:00
|
|
|
// Item pane
|
|
|
|
// --------------------------------------------------
|
|
|
|
$item-pane-sections: (
|
2023-12-23 07:54:08 +00:00
|
|
|
"info": var(--accent-blue),
|
2023-12-24 06:26:30 +00:00
|
|
|
"abstract": var(--accent-azure),
|
2023-12-23 07:54:08 +00:00
|
|
|
"attachments": var(--accent-green),
|
|
|
|
"notes": var(--accent-yellow),
|
2023-12-25 05:51:53 +00:00
|
|
|
"attachment-info": var(--accent-green),
|
|
|
|
"attachment-preview": #926d70,
|
|
|
|
"attachment-annotations": var(--tag-purple),
|
2023-12-24 06:26:30 +00:00
|
|
|
"libraries-collections": var(--accent-teal),
|
2023-12-23 07:54:08 +00:00
|
|
|
"tags": var(--accent-orange),
|
|
|
|
"related": var(--accent-wood),
|
2023-10-04 13:27:02 +00:00
|
|
|
);
|
2023-10-18 12:16:08 +00:00
|
|
|
|
|
|
|
$tagColorsLookup: (
|
2023-12-25 05:51:53 +00:00
|
|
|
'#ff6666': --tag-red,
|
|
|
|
'#ff8c19': --tag-orange,
|
|
|
|
'#999999': --tag-gray,
|
|
|
|
'#5fb236': --tag-green,
|
|
|
|
'#009980': --tag-teal,
|
|
|
|
'#2ea8e5': --tag-blue,
|
|
|
|
'#576dd9': --tag-indigo,
|
|
|
|
'#a28ae5': --tag-purple,
|
|
|
|
'#a6507b': --tag-plum,
|
2023-10-18 12:16:08 +00:00
|
|
|
);
|
2024-01-24 08:22:17 +00:00
|
|
|
|
|
|
|
// Layout constants
|
|
|
|
// --------------------------------------------------
|
2024-04-13 07:44:17 +00:00
|
|
|
$min-width-tabs-deck: 570px;
|
2024-01-24 08:22:17 +00:00
|
|
|
$min-width-collections-pane: 200px;
|
|
|
|
$min-width-items-pane: 370px;
|
2024-08-08 16:42:16 +00:00
|
|
|
$min-width-item-pane: 320px;
|
|
|
|
$min-width-context-pane: 320px;
|
2024-01-24 08:22:17 +00:00
|
|
|
$width-sidenav: 37px;
|
2024-04-13 07:44:17 +00:00
|
|
|
|
|
|
|
$height-toolbar: 41px;
|
|
|
|
$min-height-items-pane: 150px;
|