]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/sass/include/_variables.scss
Generate translations
[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
0240da5c
RK
17$support-button: inherit;
18$support-button-heart: #e83e8c;
2fcc2294 19
769ac6c1
RK
20$bg-color: #fff;
21$fg-color: #000;
41a676db
C
22
23$red: #FF0000;
24$green: #39CC0B;
383bfc83 25
22a16e36
C
26$grey-actor-name: #777272;
27
c30745f3 28$expanded-horizontal-margins: 150px;
d178b5c1 29$not-expanded-horizontal-margins: 30px;
c30745f3 30
b33f657c
C
31$button-height: 30px;
32
b33f657c 33$header-height: 50px;
383bfc83 34$header-border-color: #e9eff6;
26c6ee80
C
35$search-input-width: 375px;
36
9a0fc840 37$menu-background: #000;
26c6ee80 38$menu-color: #fff;
8afc19a6 39$menu-bottom-color: #C6C6C6;
26c6ee80 40$menu-width: 240px;
35c29307 41$menu-lateral-padding: 26px;
26c6ee80 42
9a0fc840
RK
43$sub-menu-color: #F7F7F7;
44
efbf0ed7
C
45$footer-height: 30px;
46$footer-margin: 30px;
47
897ec54d 48$footer-border-color: $header-border-color;
3290f37c 49
f0a39880
C
50$separator-border-color: rgba(0, 0, 0, 0.10);
51
11dd0c2e 52$video-miniature-width: 238px;
dc890263 53$video-miniature-margin-bottom: 30px;
e5fc7811
C
54$video-thumbnail-height: 122px;
55$video-thumbnail-width: 223px;
8fc02e47 56$video-thumbnail-ratio: $video-thumbnail-width / $video-thumbnail-height;
054a103b 57
432e7ddc 58$theater-bottom-space: 115px;
9a0fc840 59
db6d617d 60$input-background-color: $bg-color;
9a0fc840
RK
61$input-placeholder-color: #898989;
62
bce47964
C
63$sub-menu-margin-bottom: 30px;
64
0240da5c
RK
65$activated-action-button-color: black;
66
9a0fc840
RK
67/*** map theme ***/
68
69// pass variables into a sass map,
70// to be warned of non-existing variables
71$variables: (
72 --mainColor: var(--mainColor),
73 --mainHoverColor: var(--mainHoverColor),
74 --mainBackgroundColor: var(--mainBackgroundColor),
75 --mainForegroundColor: var(--mainForegroundColor),
2fcc2294 76
1d9d9cfd
RK
77 --menuBackgroundColor: var(--menuBackgroundColor),
78 --menuForegroundColor: var(--menuForegroundColor),
9a0fc840 79 --submenuColor: var(--submenuColor),
2fcc2294 80
9a0fc840 81 --inputColor: var(--inputColor),
5efab546 82 --inputPlaceholderColor: var(--inputPlaceholderColor),
2fcc2294 83
0240da5c 84 --actionButtonColor: var(--actionButtonColor),
2fcc2294
C
85 --supportButtonColor: var(--supportButtonColor),
86 --supportButtonBackgroundColor: var(--supportButtonBackgroundColor),
0240da5c 87 --supportButtonHeartColor: var(--supportButtonHeartColor),
2fcc2294 88
5efab546
C
89 --embedForegroundColor: var(--embedForegroundColor),
90 --embedBigPlayBackgroundColor: var(--embedBigPlayBackgroundColor)
9a0fc840
RK
91);
92
93/*** theme helper ***/
94
95@function var($variable) {
96 @return map-get($variables, $variable);
97}