lbry-desktop/ui/scss/_vars.scss

79 lines
2 KiB
SCSS
Raw Normal View History

2017-08-18 07:37:35 +02:00
@import "global";
2017-08-13 07:37:33 +02:00
2017-08-18 07:37:35 +02:00
:root {
2017-08-13 07:37:33 +02:00
/* Colors */
2017-08-19 02:42:45 +02:00
--color-brand: #155B4A;
2017-08-13 07:37:33 +02:00
--color-primary: #155B4A;
2017-08-19 01:25:35 +02:00
--color-primary-light: saturate(lighten(#155B4A, 50%), 20%);
--color-light-alt: hsl(hue(#155B4A), 15, 85);
--color-dark-overlay: rgba(32,32,32,0.9);
2017-08-13 07:37:33 +02:00
--color-help: rgba(0,0,0,.6);
--color-notice: #8a6d3b;
--color-error: #a94442;
--color-load-screen-text: #c3c3c3;
--color-money: #216C2A;
--color-meta-light: #505050;
2017-08-19 01:25:35 +02:00
--color-canvas: #f5f5f5;
--color-bg: #ffffff;
--color-bg-alt: #D9D9D9;
2017-08-13 07:37:33 +02:00
/* Font */
--font-size: 16px;
--font-line-height: 1.3333;
2017-08-18 07:37:35 +02:00
--font-size-subtext-multiple: 0.82;
/* Shadows */
--box-shadow-layer: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
--box-shadow-focus: 2px 4px 4px 0 rgba(0,0,0,.14),2px 5px 3px -2px rgba(0,0,0,.2),2px 3px 7px 0 rgba(0,0,0,.12);
2017-08-13 07:37:33 +02:00
2017-08-18 07:37:35 +02:00
/* Misc */
--content-max-width: 1000px;
--nsfw-blur-intensity: 20px;
--height-video-embedded: $width-page-constrained * 9 / 16 ;
2017-08-13 07:37:33 +02:00
/* Transitions */
--transition-duration: .225s;
--transition-type: ease;
2017-08-18 07:37:35 +02:00
/* Text */
--text-color: #000;
--text-max-width: 660px;
--text-link-padding: 4px;
2017-08-13 07:37:33 +02:00
2017-08-18 07:37:35 +02:00
/* Input */
--input-width: 330px;
2017-08-13 07:37:33 +02:00
2017-08-18 07:37:35 +02:00
/* Button */
--button-primary-bg: var(--color-primary);
--button-primary-color: #FFF;
--button-padding: 12px;
--button-height: $spacing-vertical * 1.5;
/* Header */
--header-bg: var(--color-bg);
2017-08-18 07:37:35 +02:00
--header-color: #666;
--header-height: $spacing-vertical * 2.5;
--header-shadow: var(--box-shadow-layer);
2017-08-13 07:37:33 +02:00
2017-08-18 07:37:35 +02:00
/* Window */
2017-08-19 01:25:35 +02:00
--window-bg: var(--color-canvas);
2017-08-13 07:37:33 +02:00
2017-08-18 07:37:35 +02:00
/* Card */
2017-08-19 01:25:35 +02:00
--card-bg: var(--color-bg);
2017-08-18 07:37:35 +02:00
--card-hover-translate: 10px;
--card-margin: $spacing-vertical * 2/3;
--card-max-width: $width-page-constrained;
2017-08-19 03:09:45 +02:00
--card-padding: $spacing-vertical * 2/3;
2017-08-18 07:37:35 +02:00
--card-radius: 2px;
--card-link-scaling: 1.1;
--card-shadow: var(--box-shadow-layer);
--card-small-width: $spacing-vertical * 10;
2017-08-13 07:37:33 +02:00
2017-08-18 07:37:35 +02:00
/* Tooltip */
--tooltip-body-width: 300px;
2017-08-19 01:25:35 +02:00
--tooltip-bg: var(--color-bg);
2017-08-18 07:37:35 +02:00
--tooltip-color: var(--text-color);
--tooltip-shadow: var(--box-shadow-layer);
2017-08-13 07:37:33 +02:00
}