aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/include
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/sass/include')
-rw-r--r--client/src/sass/include/_variables.scss20
1 files changed, 18 insertions, 2 deletions
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss
index e087a2548..d0e1a8c9c 100644
--- a/client/src/sass/include/_variables.scss
+++ b/client/src/sass/include/_variables.scss
@@ -93,8 +93,24 @@ $variables: (
93 --embedBigPlayBackgroundColor: var(--embedBigPlayBackgroundColor) 93 --embedBigPlayBackgroundColor: var(--embedBigPlayBackgroundColor)
94); 94);
95 95
96/*** theme helper ***/
97
98@function var($variable) { 96@function var($variable) {
99 @return map-get($variables, $variable); 97 @return map-get($variables, $variable);
100} 98}
99
100/*** z-index groups ***/
101
102$zindex: (
103 header : 1000,
104 /* header context */
105 headerLeft : 10,
106 menu : 11000,
107 dropdown : 12000,
108 loadbar : 13000,
109 modal : 14000,
110 notification : 15000,
111 hotkeys : 16000
112);
113
114@function z($label) {
115 @return map-get($zindex, $label);
116}