lbry-desktop/src/renderer/scss/_vars.scss

64 lines
1.4 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: 24px;
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
2018-08-03 20:28:11 +02:00
--side-nav-width: 160px;
2018-03-26 23:32:43 +02:00
--side-nav-width-m: 240px;
--side-nav-width-l: 320px;
2018-05-30 20:12:54 +02:00
--font-size-subtext-multiple: 0.92;
2018-03-26 23:32:43 +02:00
--video-aspect-ratio: 56.25%; // 9 x 16
--snack-bar-width: 756px;
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;
2018-10-19 22:16:39 +02:00
// Input
--input-border-size: 1px;
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
2018-03-26 23:32:43 +02:00
--btn-radius: 20px;
--btn-height: 36px;
2018-10-17 19:14:24 +02:00
// Header
2018-06-25 08:53:13 +02:00
--header-height: 60px;
2017-08-13 07:37:33 +02:00
2018-10-17 19:14:24 +02:00
// Header -> search
2018-03-26 23:32:43 +02:00
--search-modal-input-height: 70px;
2018-04-17 04:21:19 +02:00
2018-10-17 19:14:24 +02:00
// Card
2017-08-18 07:37:35 +02:00
--card-radius: 2px;
2018-06-18 18:30:24 +02:00
--card-max-width: 1000px;
2018-03-26 23:32:43 +02:00
2018-10-17 19:14:24 +02:00
// File
2018-07-25 20:21:41 +02:00
--file-tile-media-height: 125px;
--file-tile-media-width: calc(125px * (16 / 9));
--file-tile-media-height-small: 60px;
--file-tile-media-width-small: calc(60px * (16 / 9));
2018-08-14 05:52:09 +02:00
--file-tile-media-height-large: 200px;
--file-tile-media-width-large: calc(200px * (16 / 9));
2018-07-25 20:21:41 +02:00
--file-page-min-width: 400px;
--recommended-content-width: 300px;
--recommended-content-width-medium: 400px;
2017-08-13 07:37:33 +02:00
2018-10-17 19:14:24 +02:00
// Modal
--modal-width: 440px;
2018-10-17 19:14:24 +02:00
// Animation :)
2017-10-03 03:35:52 +02:00
--animation-duration: 0.3s;
--animation-style: cubic-bezier(0.55, 0, 0.1, 1);
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;
2017-08-13 07:37:33 +02:00
}