]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/sass/include/_variables.scss
Mark additional strings as translatable (#2507)
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _variables.scss
CommitLineData
9b8a7aa8
RK
1@import '_bootstrap-variables';
2
8ff3f883
C
3$small-view: 800px;
4$mobile-view: 500px;
5
8a8e02a4 6$main-fonts: 'Source Sans Pro', sans-serif;
b33f657c
C
7$font-regular: 400;
8$font-semibold: 600;
9$font-bold: 700;
10
457bb213
C
11$grey-background-color: #E5E5E5;
12$grey-background-hover-color: #EFEFEF;
13$grey-foreground-color: #585858;
14$grey-foreground-hover-color: #303030;
15
b33f657c 16$orange-color: #F1680D;
457bb213 17$orange-hover-color: #F97D46;
09223546 18
aa0f1963
RK
19$cyan-color: hsl(187, 77%, 34%);
20
0240da5c
RK
21$support-button: inherit;
22$support-button-heart: #e83e8c;
2fcc2294 23
769ac6c1
RK
24$bg-color: #fff;
25$fg-color: #000;
41a676db
C
26
27$red: #FF0000;
28$green: #39CC0B;
383bfc83 29
22a16e36
C
30$grey-actor-name: #777272;
31
c30745f3 32$expanded-horizontal-margins: 150px;
d178b5c1 33$not-expanded-horizontal-margins: 30px;
c30745f3 34
b33f657c
C
35$button-height: 30px;
36
b33f657c 37$header-height: 50px;
383bfc83 38$header-border-color: #e9eff6;
26c6ee80
C
39$search-input-width: 375px;
40
9a0fc840 41$menu-background: #000;
26c6ee80 42$menu-color: #fff;
8afc19a6 43$menu-bottom-color: #C6C6C6;
26c6ee80 44$menu-width: 240px;
35c29307 45$menu-lateral-padding: 26px;
26c6ee80 46
9a0fc840
RK
47$sub-menu-color: #F7F7F7;
48
efbf0ed7
C
49$footer-height: 30px;
50$footer-margin: 30px;
51
897ec54d 52$footer-border-color: $header-border-color;
3290f37c 53
f0a39880
C
54$separator-border-color: rgba(0, 0, 0, 0.10);
55
11dd0c2e 56$video-miniature-width: 238px;
dc890263 57$video-miniature-margin-bottom: 30px;
e5fc7811
C
58$video-thumbnail-height: 122px;
59$video-thumbnail-width: 223px;
8fc02e47 60$video-thumbnail-ratio: $video-thumbnail-width / $video-thumbnail-height;
054a103b 61
432e7ddc 62$theater-bottom-space: 115px;
9a0fc840 63
db6d617d 64$input-background-color: $bg-color;
9a0fc840
RK
65$input-placeholder-color: #898989;
66
bce47964
C
67$sub-menu-margin-bottom: 30px;
68
0240da5c
RK
69$activated-action-button-color: black;
70
9a0fc840
RK
71/*** map theme ***/
72
73// pass variables into a sass map,
74// to be warned of non-existing variables
75$variables: (
76 --mainColor: var(--mainColor),
77 --mainHoverColor: var(--mainHoverColor),
78 --mainBackgroundColor: var(--mainBackgroundColor),
79 --mainForegroundColor: var(--mainForegroundColor),
aa0f1963 80 --secondaryColor: var(--secondaryColor),
2fcc2294 81
1d9d9cfd
RK
82 --menuBackgroundColor: var(--menuBackgroundColor),
83 --menuForegroundColor: var(--menuForegroundColor),
9a0fc840 84 --submenuColor: var(--submenuColor),
2fcc2294 85
14aa8556 86 --inputBackgroundColor: var(--inputBackgroundColor),
5efab546 87 --inputPlaceholderColor: var(--inputPlaceholderColor),
2fcc2294 88
0240da5c 89 --actionButtonColor: var(--actionButtonColor),
2fcc2294
C
90 --supportButtonColor: var(--supportButtonColor),
91 --supportButtonBackgroundColor: var(--supportButtonBackgroundColor),
0240da5c 92 --supportButtonHeartColor: var(--supportButtonHeartColor),
2fcc2294 93
5efab546
C
94 --embedForegroundColor: var(--embedForegroundColor),
95 --embedBigPlayBackgroundColor: var(--embedBigPlayBackgroundColor)
9a0fc840
RK
96);
97
9a0fc840
RK
98@function var($variable) {
99 @return map-get($variables, $variable);
100}
36f2981f
RK
101
102/*** z-index groups ***/
103
104$zindex: (
105 header : 1000,
4c1c1709 106 /* header context */
757ffdfe 107 headerLeft : 10,
36f2981f
RK
108 menu : 11000,
109 dropdown : 12000,
757ffdfe
RK
110 popover : 13000,
111 tooltip : 14000,
112 loadbar : 15000,
113 modal : 16000,
114 notification : 17000,
115 hotkeys : 18000
36f2981f
RK
116);
117
118@function z($label) {
119 @return map-get($zindex, $label);
120}