2018-10-17 12:14:24 -05:00
|
|
|
// Both of these should probably die and become variables as well
|
2018-12-19 00:44:53 -05:00
|
|
|
$spacing-vertical: 2rem;
|
2018-03-26 14:32:43 -07:00
|
|
|
$spacing-width: 36px;
|
|
|
|
|
2019-12-18 00:27:08 -05:00
|
|
|
$breakpoint-xsmall: 600px;
|
|
|
|
$breakpoint-small: 900px;
|
2020-01-27 15:46:17 -05:00
|
|
|
$breakpoint-medium: 1150px;
|
2020-08-10 16:47:39 -04:00
|
|
|
$breakpoint-large: 1600px;
|
2017-08-12 23:37:33 -06:00
|
|
|
|
2017-08-17 23:37:35 -06:00
|
|
|
:root {
|
2020-07-24 13:17:43 -04:00
|
|
|
--border-radius: 5px;
|
|
|
|
--height-input: 2.5rem;
|
|
|
|
--height-button: 2.5rem;
|
|
|
|
--height-checkbox: 24px;
|
|
|
|
--height-radio: 24px;
|
|
|
|
--height-badge: 24px;
|
|
|
|
|
|
|
|
// Spacing
|
|
|
|
--spacing-xxs: calc(2rem / 5);
|
|
|
|
--spacing-xs: calc(2rem / 4);
|
|
|
|
--spacing-s: calc(2rem / 3);
|
|
|
|
--spacing-m: calc(2rem / 2);
|
|
|
|
--spacing-l: 2rem;
|
|
|
|
--spacing-xl: 3rem;
|
|
|
|
|
|
|
|
// Aspect ratio
|
|
|
|
--aspect-ratio-bluray: 41.6666666667%; // 12:5
|
|
|
|
--aspect-ratio-panavision: 36.3636363636%; // 11:4
|
|
|
|
--aspect-ratio-sd: 75%; // 4:3
|
|
|
|
--aspect-ratio-standard: 56.25%; // 16:9
|
|
|
|
|
|
|
|
// Type
|
|
|
|
--font-mono: 'Fira Code';
|
|
|
|
--font-sans: Inter;
|
|
|
|
--font-serif: Georgia;
|
|
|
|
--font-weight-base: 400;
|
|
|
|
--font-weight-light: 300;
|
|
|
|
--font-weight-bold: 700;
|
|
|
|
--font-base: 14px;
|
|
|
|
--font-body: 1rem;
|
2020-10-20 13:10:02 -04:00
|
|
|
--font-xxsmall: 0.65rem;
|
2020-07-24 13:17:43 -04:00
|
|
|
--font-xsmall: 0.7344rem;
|
|
|
|
--font-small: 0.8571rem;
|
|
|
|
--font-large: 1.3rem;
|
|
|
|
--font-title: 1.71rem;
|
|
|
|
--font-heading: 2.94rem;
|
|
|
|
|
2018-10-17 12:14:24 -05:00
|
|
|
// Width & spacing
|
2020-08-10 16:47:39 -04:00
|
|
|
--page-max-width: 1280px;
|
|
|
|
--page-max-width--filepage: 1700px;
|
2019-10-09 12:34:18 -04:00
|
|
|
--mac-titlebar-height: 1.5rem;
|
2019-06-11 14:10:58 -04:00
|
|
|
--mobile: 600px;
|
2020-08-20 22:05:12 -04:00
|
|
|
--side-nav-width: 230px;
|
2020-10-01 16:59:11 -04:00
|
|
|
--side-nav-width--micro: 125px;
|
2020-06-01 13:03:19 -04:00
|
|
|
|
|
|
|
--spacing-main-padding: var(--spacing-xl);
|
2019-08-13 01:35:13 -04: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));
|
2020-02-10 14:43:24 -05:00
|
|
|
--option-select-width: 8rem;
|
2019-05-06 22:35:04 -04:00
|
|
|
|
2018-10-17 12:14:24 -05:00
|
|
|
// Text
|
2017-08-17 23:37:35 -06:00
|
|
|
--text-max-width: 660px;
|
|
|
|
--text-link-padding: 4px;
|
2017-08-18 22:33:01 -06:00
|
|
|
|
2019-05-06 22:35:04 -04:00
|
|
|
// Tabs
|
|
|
|
--tab-indicator-size: 0.5rem;
|
|
|
|
|
2018-10-17 12:14:24 -05:00
|
|
|
// Header
|
2020-10-20 13:10:02 -04:00
|
|
|
// This is tied to the floating player so it knows where to attach to
|
|
|
|
// ui/component/fileRenderFloating/view.jsx
|
|
|
|
--header-height: 80px;
|
2018-04-16 20:21:19 -06:00
|
|
|
|
2019-11-14 12:23:42 -05:00
|
|
|
// Inline Player
|
2020-06-01 13:03:19 -04:00
|
|
|
--inline-player-max-height: calc(100vh - var(--header-height) - var(--spacing-l) * 2);
|
2019-11-14 12:23:42 -05:00
|
|
|
|
2018-10-17 12:14:24 -05:00
|
|
|
// Card
|
2019-11-22 16:13:00 -05:00
|
|
|
--card-radius: var(--border-radius);
|
2018-06-18 12:30:24 -04:00
|
|
|
--card-max-width: 1000px;
|
2020-03-18 13:33:17 -04:00
|
|
|
--card-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
2018-03-26 14:32:43 -07:00
|
|
|
|
2018-10-17 12:14:24 -05:00
|
|
|
// Modal
|
2020-02-06 13:49:05 -05:00
|
|
|
--modal-width: 550px;
|
2017-09-21 10:48:29 -06:00
|
|
|
|
2018-10-17 12:14:24 -05:00
|
|
|
// Animation :)
|
2019-05-06 22:35:04 -04:00
|
|
|
--animation-duration: 0.2s;
|
|
|
|
--animation-style: ease-in-out;
|
2018-07-18 11:55:17 -04:00
|
|
|
|
2018-10-17 12:14:24 -05:00
|
|
|
// Image
|
2018-07-18 11:55:17 -04:00
|
|
|
--thumbnail-preview-height: 100px;
|
|
|
|
--thumbnail-preview-width: 177px;
|
2020-04-21 09:56:03 -04:00
|
|
|
--cover-photo-height: 210px;
|
2019-06-11 14:10:58 -04:00
|
|
|
--channel-thumbnail-width: 10rem;
|
2019-07-21 17:31:22 -04:00
|
|
|
--channel-thumbnail-width--small: 4rem;
|
2019-06-11 14:10:58 -04:00
|
|
|
--file-list-thumbnail-width: 10rem;
|
2019-11-22 16:13:00 -05:00
|
|
|
|
|
|
|
--tag-height: 1.5rem;
|
2017-08-12 23:37:33 -06:00
|
|
|
}
|
2019-12-18 00:27:08 -05:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
:root {
|
2020-08-21 15:44:54 -04:00
|
|
|
--font-body: 0.8rem;
|
2019-12-18 00:27:08 -05:00
|
|
|
}
|
|
|
|
}
|