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