mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-20 14:39:06 +00:00
style: expose bg override variable
This commit is contained in:
committed by
Carlos Valente
parent
dae6f84af0
commit
cfbd540a14
@@ -1,4 +1,5 @@
|
|||||||
.tableWrapper {
|
.tableWrapper {
|
||||||
|
background-color: $ui-black;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
padding: 1rem 0.5rem;
|
padding: 1rem 0.5rem;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ $panel-gap: 0.5rem;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mainContainer {
|
.mainContainer {
|
||||||
background: $ui-black;
|
background-color: $ui-black;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
color: $ui-white;
|
color: $ui-white;
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
|
||||||
|
background-color: $ui-black;
|
||||||
color: $ui-white;
|
color: $ui-white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+21
-10
@@ -6,8 +6,11 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
src: url(@fontsource/open-sans/files/open-sans-latin-300-normal.woff2) format('woff2'), url(@fontsource/open-sans/files/open-sans-latin-300-normal.woff) format('woff');
|
src:
|
||||||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
url(@fontsource/open-sans/files/open-sans-latin-300-normal.woff2) format('woff2'),
|
||||||
|
url(@fontsource/open-sans/files/open-sans-latin-300-normal.woff) format('woff');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
||||||
|
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* open-sans-latin-400-normal */
|
/* open-sans-latin-400-normal */
|
||||||
@@ -16,8 +19,11 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: url(@fontsource/open-sans/files/open-sans-latin-400-normal.woff2) format('woff2'), url(@fontsource/open-sans/files/open-sans-latin-400-normal.woff) format('woff');
|
src:
|
||||||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
url(@fontsource/open-sans/files/open-sans-latin-400-normal.woff2) format('woff2'),
|
||||||
|
url(@fontsource/open-sans/files/open-sans-latin-400-normal.woff) format('woff');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
||||||
|
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* open-sans-latin-600-normal */
|
/* open-sans-latin-600-normal */
|
||||||
@@ -26,11 +32,13 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
src: url(@fontsource/open-sans/files/open-sans-latin-600-normal.woff2) format('woff2'), url(@fontsource/open-sans/files/open-sans-latin-600-normal.woff) format('woff');
|
src:
|
||||||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
url(@fontsource/open-sans/files/open-sans-latin-600-normal.woff2) format('woff2'),
|
||||||
|
url(@fontsource/open-sans/files/open-sans-latin-600-normal.woff) format('woff');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
||||||
|
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$track-color: $white-1;
|
$track-color: $white-1;
|
||||||
$thumb-color: $gray-1100;
|
$thumb-color: $gray-1100;
|
||||||
$thumb-color-hover: $gray-900;
|
$thumb-color-hover: $gray-900;
|
||||||
@@ -49,11 +57,15 @@ $thumb-color-hover: $gray-900;
|
|||||||
box-sizing: inherit;
|
box-sizing: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-size: 15px;
|
||||||
|
font-family: $ontime-font-family;
|
||||||
|
background-color: var(--background-color-override, $ui-black);
|
||||||
|
}
|
||||||
|
|
||||||
body,
|
body,
|
||||||
html,
|
html,
|
||||||
.App {
|
.App {
|
||||||
font-size: 15px;
|
|
||||||
font-family: $ontime-font-family;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
overflow: clip;
|
overflow: clip;
|
||||||
@@ -61,7 +73,6 @@ html,
|
|||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
-webkit-app-region: drag;
|
-webkit-app-region: drag;
|
||||||
background-color: $bg-container-l1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* smaller root size for MacOS laptops */
|
/* smaller root size for MacOS laptops */
|
||||||
|
|||||||
Reference in New Issue
Block a user