]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/sass/include/_variables.scss
Improve abstract videos list
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _variables.scss
1 $small-view: 800px;
2 $mobile-view: 500px;
3
4 $main-fonts: 'Source Sans Pro', sans-serif;
5 $font-regular: 400;
6 $font-semibold: 600;
7 $font-bold: 700;
8
9 $grey-background-color: #E5E5E5;
10 $grey-background-hover-color: #EFEFEF;
11 $grey-foreground-color: #585858;
12 $grey-foreground-hover-color: #303030;
13
14 $orange-color: #F1680D;
15 $orange-hover-color: #F97D46;
16
17 $bg-color: #fff;
18 $fg-color: #000;
19
20 $red: #FF0000;
21 $green: #39CC0B;
22
23 $grey-actor-name: #777272;
24
25 $expanded-horizontal-margins: 150px;
26 $not-expanded-horizontal-margins: 30px;
27
28 $button-height: 30px;
29
30 $header-height: 50px;
31 $header-border-color: #e9eff6;
32 $search-input-width: 375px;
33
34 $menu-background: #000;
35 $menu-color: #fff;
36 $menu-bottom-color: #C6C6C6;
37 $menu-width: 240px;
38 $menu-lateral-padding: 26px;
39
40 $sub-menu-color: #F7F7F7;
41
42 $footer-height: 30px;
43 $footer-margin: 30px;
44
45 $footer-border-color: $header-border-color;
46
47 $separator-border-color: rgba(0, 0, 0, 0.10);
48
49 $video-miniature-width: 238px;
50 $video-thumbnail-height: 122px;
51 $video-thumbnail-width: 223px;
52
53 $theater-bottom-space: 115px;
54
55 $input-background-color: $bg-color;
56 $input-placeholder-color: #898989;
57
58 $sub-menu-margin-bottom: 30px;
59
60 /*** map theme ***/
61
62 // pass variables into a sass map,
63 // to be warned of non-existing variables
64 $variables: (
65 --mainColor: var(--mainColor),
66 --mainHoverColor: var(--mainHoverColor),
67 --mainBackgroundColor: var(--mainBackgroundColor),
68 --mainForegroundColor: var(--mainForegroundColor),
69 --menuBackgroundColor: var(--menuBackgroundColor),
70 --menuForegroundColor: var(--menuForegroundColor),
71 --submenuColor: var(--submenuColor),
72 --inputColor: var(--inputColor),
73 --inputPlaceholderColor: var(--inputPlaceholderColor)
74 );
75
76 /*** theme helper ***/
77
78 @function var($variable) {
79 @return map-get($variables, $variable);
80 }