X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Floading-bar.scss;h=d7c30891128d11a465c5a69017d0814ae01be437;hb=1a8c2d74d1022cfddc4a12881a4c167ff3eedb3d;hp=7d687d479c81bb942fc83aad2eef5c5cd035b401;hpb=ed19bb9a3269a9edb247c10d1be1ea20a959f1cb;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/loading-bar.scss b/client/src/sass/loading-bar.scss index 7d687d479..d7c308911 100644 --- a/client/src/sass/loading-bar.scss +++ b/client/src/sass/loading-bar.scss @@ -1,3 +1,4 @@ +@import '_mixins'; // Thanks: https://github.com/aitboudad/ngx-loading-bar/blob/master/loading-bar.css /* Make clicks pass-through */ @@ -9,7 +10,7 @@ -moz-transition: 350ms linear all; -o-transition: 350ms linear all; transition: 350ms linear all; - color: var(--mainColor); + color: pvar(--mainColor); } #loading-bar .bar { @@ -18,9 +19,9 @@ -o-transition: width 350ms; transition: width 350ms; - background: var(--mainColor); + background: pvar(--mainColor); position: fixed; - z-index: 10002; + z-index: z(loadbar); top: 0; left: 0; width: 100%; @@ -50,7 +51,7 @@ #loading-bar-spinner { display: block; position: fixed; - z-index: 10002; + z-index: z(loadbar); top: 10px; left: 10px; }