diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-02-13 15:09:31 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-02-13 15:09:36 +0100 |
commit | 36f2981f7d586cea206e4c143c18cf866a4e3acd (patch) | |
tree | b1704dc4711499e226fd108c5b8062ec5731b664 /client/src/sass/loading-bar.scss | |
parent | 5a208b004ad147091586f2d3eafaca07eaa021c4 (diff) | |
download | PeerTube-36f2981f7d586cea206e4c143c18cf866a4e3acd.tar.gz PeerTube-36f2981f7d586cea206e4c143c18cf866a4e3acd.tar.zst PeerTube-36f2981f7d586cea206e4c143c18cf866a4e3acd.zip |
Manage z-indexes in variables
Diffstat (limited to 'client/src/sass/loading-bar.scss')
-rw-r--r-- | client/src/sass/loading-bar.scss | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/src/sass/loading-bar.scss b/client/src/sass/loading-bar.scss index 7d687d479..d584b7c67 100644 --- a/client/src/sass/loading-bar.scss +++ b/client/src/sass/loading-bar.scss | |||
@@ -1,3 +1,4 @@ | |||
1 | @import '_mixins'; | ||
1 | // Thanks: https://github.com/aitboudad/ngx-loading-bar/blob/master/loading-bar.css | 2 | // Thanks: https://github.com/aitboudad/ngx-loading-bar/blob/master/loading-bar.css |
2 | 3 | ||
3 | /* Make clicks pass-through */ | 4 | /* Make clicks pass-through */ |
@@ -20,7 +21,7 @@ | |||
20 | 21 | ||
21 | background: var(--mainColor); | 22 | background: var(--mainColor); |
22 | position: fixed; | 23 | position: fixed; |
23 | z-index: 10002; | 24 | z-index: z(loadbar); |
24 | top: 0; | 25 | top: 0; |
25 | left: 0; | 26 | left: 0; |
26 | width: 100%; | 27 | width: 100%; |
@@ -50,7 +51,7 @@ | |||
50 | #loading-bar-spinner { | 51 | #loading-bar-spinner { |
51 | display: block; | 52 | display: block; |
52 | position: fixed; | 53 | position: fixed; |
53 | z-index: 10002; | 54 | z-index: z(loadbar); |
54 | top: 10px; | 55 | top: 10px; |
55 | left: 10px; | 56 | left: 10px; |
56 | } | 57 | } |