lbry-desktop/src/ui/scss/init/_vars.scss

70 lines
1.5 KiB
SCSS
Raw Normal View History

2018-10-17 19:14:24 +02:00
// Both of these should probably die and become variables as well
$spacing-vertical: 2rem;
2018-03-26 23:32:43 +02:00
$spacing-width: 36px;
$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-06-11 20:10:58 +02:00
--page-max-width: 1200px;
--mobile: 600px;
--side-nav-width: 170px;
2018-05-30 20:12:54 +02:00
--font-size-subtext-multiple: 0.92;
2019-06-11 20:10:58 +02:00
--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;
--file-max-height: 788px;
2019-01-24 19:09:27 +01:00
--file-max-width: 1400px;
2018-03-26 23:32:43 +02:00
--video-aspect-ratio: 56.25%; // 9 x 16
2019-05-07 04:35:04 +02:00
2019-05-29 21:48:44 +02:00
// Color
--color-background: #270f34;
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;
2019-05-07 04:35:04 +02:00
// Tabs
--tab-indicator-size: 0.5rem;
--tab-header-size: 1.5rem; // Needs to be static so the animated styling always works
2018-10-19 22:16:39 +02:00
// Input
--input-border-size: 1px;
--input-border-radius: 2px;
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-05-01 07:16:12 +02:00
--button-radius: 2.6rem;
--button-height: 2.6rem;
2018-10-17 19:14:24 +02:00
// Header
2019-06-17 22:32:38 +02:00
--header-height: 6rem;
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;
--card-box-shadow: 0px 0px 30px 2px;
2018-03-26 23:32:43 +02:00
2018-10-17 19:14:24 +02:00
// Modal
--modal-width: 440px;
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-05-13 08:05:38 +02:00
--cover-photo-height: 300px;
2019-06-11 20:10:58 +02:00
--channel-thumbnail-width: 10rem;
--file-list-thumbnail-width: 10rem;
2017-08-13 07:37:33 +02:00
}