2018-10-17 19:14:24 +02:00
|
|
|
// Both of these should probably die and become variables as well
|
2018-12-19 06:44:53 +01:00
|
|
|
$spacing-vertical: 2rem;
|
2018-03-26 23:32:43 +02:00
|
|
|
$spacing-width: 36px;
|
|
|
|
|
2018-06-19 22:22:42 +02:00
|
|
|
$medium-breakpoint: 1279px;
|
2018-06-18 18:26:04 +02:00
|
|
|
$large-breakpoint: 1921px;
|
2017-08-13 07:37:33 +02:00
|
|
|
|
2017-08-18 07:37:35 +02:00
|
|
|
:root {
|
2018-10-17 19:14:24 +02:00
|
|
|
// Width & spacing
|
2019-07-24 15:52:35 +02:00
|
|
|
--page-max-width: 1420px;
|
2019-06-11 20:10:58 +02:00
|
|
|
--mobile: 600px;
|
|
|
|
--side-nav-width: 170px;
|
|
|
|
--spacing-miniscule: calc(2rem / 5);
|
|
|
|
--spacing-tiny: calc(2rem / 4);
|
|
|
|
--spacing-small: calc(2rem / 3);
|
|
|
|
--spacing-medium: calc(2rem / 2);
|
|
|
|
--spacing-large: 2rem;
|
|
|
|
--spacing-xlarge: 3rem;
|
|
|
|
--spacing-main-padding: var(--spacing-xlarge);
|
2019-01-24 19:09:27 +01:00
|
|
|
--file-page-max-width: 1787px;
|
2019-01-11 17:34:36 +01:00
|
|
|
--file-max-height: 788px;
|
2019-01-24 19:09:27 +01:00
|
|
|
--file-max-width: 1400px;
|
2019-08-13 07:35:13 +02:00
|
|
|
--floating-viewer-width: 32rem;
|
|
|
|
--floating-viewer-height: 18rem; // 32 * 9/16
|
|
|
|
--floating-viewer-info-height: 5rem;
|
|
|
|
--floating-viewer-container-height: calc(var(--floating-viewer-height) + var(--floating-viewer-info-height));
|
2019-05-07 04:35:04 +02:00
|
|
|
|
2019-07-21 23:31:22 +02:00
|
|
|
// Font
|
|
|
|
--font-multiplier-small: 0.9em;
|
|
|
|
--font-multiplier-medium: 1.1em;
|
|
|
|
--font-multiplier-large: 1.4em;
|
|
|
|
--font-multiplier-xlarge: 1.6rem;
|
|
|
|
--font-body: 1.2rem;
|
|
|
|
--font-label: 0.9em;
|
|
|
|
--font-subtext: 1em;
|
|
|
|
--font-title: 1.6em;
|
2019-09-26 18:07:11 +02:00
|
|
|
--font-section-title: 2rem;
|
2019-07-21 23:31:22 +02:00
|
|
|
--font-heading: 3rem;
|
|
|
|
|
2019-05-29 21:48:44 +02:00
|
|
|
// Color
|
2019-09-26 18:07:11 +02:00
|
|
|
--color-background: #f7f7f7;
|
|
|
|
--color-background--splash: #270f34;
|
2019-09-27 20:56:15 +02:00
|
|
|
--color-card-actions: #f7fbfe;
|
2019-05-29 21:48:44 +02:00
|
|
|
|
2019-07-01 20:42:32 +02:00
|
|
|
// Dark Mode
|
|
|
|
--dm-color-01: #ddd;
|
|
|
|
--dm-color-02: #90908f;
|
|
|
|
--dm-color-03: #6a6a6a;
|
|
|
|
--dm-color-04: #555254;
|
|
|
|
--dm-color-05: #353434;
|
|
|
|
--dm-color-06: #2e2d2e;
|
|
|
|
--dm-color-07: #252424;
|
|
|
|
--dm-color-08: #1e1e1e;
|
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
// Text
|
2017-08-18 07:37:35 +02:00
|
|
|
--text-max-width: 660px;
|
|
|
|
--text-link-padding: 4px;
|
2017-08-19 06:33:01 +02:00
|
|
|
|
2019-05-07 04:35:04 +02:00
|
|
|
// Tabs
|
|
|
|
--tab-indicator-size: 0.5rem;
|
|
|
|
|
2018-10-19 22:16:39 +02:00
|
|
|
// Input
|
|
|
|
--input-border-size: 1px;
|
2019-05-08 03:29:30 +02:00
|
|
|
--input-border-radius: 2px;
|
2019-07-21 23:31:22 +02:00
|
|
|
--input-height: 2.6rem;
|
2018-10-19 22:16:39 +02:00
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
// Select
|
2018-01-21 20:29:48 +01:00
|
|
|
--select-height: 30px;
|
2017-08-20 07:58:03 +02:00
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
// Button
|
2019-07-21 23:31:22 +02:00
|
|
|
--button-radius: var(--input-border-radius);
|
|
|
|
--button-height: var(--input-height);
|
2017-10-15 07:40:15 +02:00
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
// Header
|
2019-07-21 23:31:22 +02:00
|
|
|
--header-height: 5rem;
|
2018-04-17 04:21:19 +02:00
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
// Card
|
2019-05-07 04:35:04 +02:00
|
|
|
--card-radius: 5px;
|
2018-06-18 18:30:24 +02:00
|
|
|
--card-max-width: 1000px;
|
2019-08-21 22:54:44 +02:00
|
|
|
--card-box-shadow: 0px 2px 6px 0px;
|
|
|
|
--card-box-shadow--attached: 0px 4px 6px 0px;
|
2018-03-26 23:32:43 +02:00
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
// Modal
|
2017-12-07 19:07:30 +01:00
|
|
|
--modal-width: 440px;
|
2017-09-21 18:48:29 +02:00
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
// Animation :)
|
2019-05-07 04:35:04 +02:00
|
|
|
--animation-duration: 0.2s;
|
|
|
|
--animation-style: ease-in-out;
|
2018-07-18 17:55:17 +02:00
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
// Image
|
2018-07-18 17:55:17 +02:00
|
|
|
--thumbnail-preview-height: 100px;
|
|
|
|
--thumbnail-preview-width: 177px;
|
2019-07-23 10:05:51 +02:00
|
|
|
--cover-photo-height: 180px;
|
2019-06-11 20:10:58 +02:00
|
|
|
--channel-thumbnail-width: 10rem;
|
2019-07-21 23:31:22 +02:00
|
|
|
--channel-thumbnail-width--small: 4rem;
|
2019-06-11 20:10:58 +02:00
|
|
|
--file-list-thumbnail-width: 10rem;
|
2017-08-13 07:37:33 +02:00
|
|
|
}
|