aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/z-index.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-05-04 09:02:50 +0200
committerChocobozzz <me@florianbigard.com>2022-05-04 09:02:59 +0200
commit26da644eab9ef62a3e559ac5626bb65a0b13a14d (patch)
tree95826f6881c28290ff8a657b07ae5966f9993370 /client/src/sass/z-index.scss
parent9295c68b74fe1f1e2e9f72009205d7f0379844c5 (diff)
downloadPeerTube-26da644eab9ef62a3e559ac5626bb65a0b13a14d.tar.gz
PeerTube-26da644eab9ef62a3e559ac5626bb65a0b13a14d.tar.zst
PeerTube-26da644eab9ef62a3e559ac5626bb65a0b13a14d.zip
Fix help component z-index
Diffstat (limited to 'client/src/sass/z-index.scss')
-rw-r--r--client/src/sass/z-index.scss69
1 files changed, 69 insertions, 0 deletions
diff --git a/client/src/sass/z-index.scss b/client/src/sass/z-index.scss
new file mode 100644
index 000000000..e46813dc3
--- /dev/null
+++ b/client/src/sass/z-index.scss
@@ -0,0 +1,69 @@
1@use '_variables' as *;
2@use '_mixins' as *;
3
4.header {
5 z-index: z(header);
6}
7
8.help-popover {
9 z-index: z(help-popover);
10}
11
12ngx-loading-bar {
13 z-index: z(header) + 1 !important;
14}
15
16/* rules for dropdowns excepts when in button group, to avoid impacting the dropdown-toggle */
17.dropdown,
18.dropup {
19 z-index: z(dropdown) !important;
20}
21
22.list-overflow-menu,
23.parent-entry {
24 z-index: z(menu) - 1 !important;
25}
26
27.btn-group,
28.dropdown-root,
29.action-dropdown,
30.input-group-prepend,
31.column-toggle {
32 z-index: inherit !important;
33}
34
35.dropdown-menu {
36 z-index: z(dropdown) + 1 !important;
37}
38
39p-toast .p-toast {
40 z-index: z(notification) !important;
41}
42
43ngb-modal-backdrop {
44 z-index: z(modal) - 1 !important;
45}
46
47ngb-popover-window {
48 z-index: z(popover) !important;
49}
50
51ngb-tooltip-window {
52 z-index: z(tooltip) !important;
53}
54
55ngb-modal-window {
56 z-index: z(modal) !important;
57
58 ngb-tooltip-window {
59 z-index: z(modal + 1) !important;
60 }
61
62 ngb-popover-window {
63 z-index: z(modal + 1) !important;
64 }
65
66 .help-popover {
67 z-index: z(modal + 1) !important;
68 }
69}