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