lbry-desktop/ui/scss/_vars.scss

114 lines
3 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-meta-light: #505050;
--color-money: #216C2A;
--color-download: #444;
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
/* 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
/* 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
/* Transition */
--transition-duration: .225s;
--transition-type: ease;
2017-08-18 07:37:35 +02:00
/* Text */
--text-color: #000;
--text-help-color: #EEE;
2017-08-18 07:37:35 +02:00
--text-max-width: 660px;
--text-link-padding: 4px;
--text-selection-bg: rgba(saturate(lighten(#155B4A, 20%), 20%), 1); // temp color
--text-selection-color: #FFF;
/* Window */
--window-bg: var(--color-canvas);
2017-08-13 07:37:33 +02:00
2017-08-18 07:37:35 +02:00
/* Input */
--input-width: 330px;
2017-08-19 03:46:45 +02:00
--input-border-size: 2px;
--input-border-color: rgba(0,0,0,.25);
2017-08-13 07:37:33 +02:00
2017-08-18 07:37:35 +02:00
/* Button */
--button-bg: var(--color-bg-alt);
--button-color: #FFF;
2017-08-18 07:37:35 +02:00
--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-active-color: rgba(0,0,0, 0.85);
2017-08-18 07:37:35 +02:00
--header-height: $spacing-vertical * 2.5;
2017-08-13 07:37:33 +02:00
/* Header -> search */
--search-bg: rgba(255, 255, 255, 0.7);
--search-border:1px solid #ccc;
--search-color: #666;
--search-active-color: var(--header-active-color);
/* Tabs */
--tab-bg: transparent;
--tab-color: #666;
--tab-active-color: var(--header-active-color);
--tab-border-size: 2px;
--tab-border: var(--tab-border-size) solid var(--tab-active-color);
/* Table */
--table-border: 1px solid #e2e2e2;
--table-item-even: white;
--table-item-odd: #f4f4f4;
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-small-width: $spacing-vertical * 10;
2017-08-13 07:37:33 +02:00
/* Modal */
--modal-bg: var(--color-bg);
--modal-overlay-bg: rgba(#F5F5F5, 0.75); // --color-canvas: #F5F5F5
--modal-border: 1px solid rgb(204, 204, 204);
/* Menu */
--menu-bg: var(--color-bg);
--menu-radius: 2px;
--menu-item-hover-bg: var(--color-bg-alt);
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-border: 1px solid #aaa;
2017-08-13 07:37:33 +02:00
}