diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-02-18 12:01:08 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-02-18 12:01:08 +0100 |
commit | 757ffdfe901fddc34c311e3b45689e09a4055aa5 (patch) | |
tree | 6e482641432211a0ff624e33c560c32322a80b0e /client/src/sass/bootstrap.scss | |
parent | 887e1a0376193aa0c53cb2a814eb030750e240cc (diff) | |
download | PeerTube-757ffdfe901fddc34c311e3b45689e09a4055aa5.tar.gz PeerTube-757ffdfe901fddc34c311e3b45689e09a4055aa5.tar.zst PeerTube-757ffdfe901fddc34c311e3b45689e09a4055aa5.zip |
Add notifications popover and tooltips to the z-index table
Diffstat (limited to 'client/src/sass/bootstrap.scss')
-rw-r--r-- | client/src/sass/bootstrap.scss | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index e10b84596..6cced995e 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss | |||
@@ -22,11 +22,13 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
22 | } | 22 | } |
23 | } | 23 | } |
24 | 24 | ||
25 | .dropdown { | 25 | /* rules for dropdowns excepts when in button group, to avoid impacting the dropdown-toggle */ |
26 | .dropdown:not(.btn-group) { | ||
26 | z-index: z(dropdown) !important; | 27 | z-index: z(dropdown) !important; |
27 | } | 28 | } |
28 | 29 | ||
29 | .dropdown-menu { | 30 | .dropdown-menu { |
31 | z-index: z(dropdown) !important; | ||
30 | border-radius: 3px; | 32 | border-radius: 3px; |
31 | box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2); | 33 | box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2); |
32 | font-size: 15px; | 34 | font-size: 15px; |
@@ -187,6 +189,14 @@ ngb-modal-window { | |||
187 | z-index: z(modal) !important; | 189 | z-index: z(modal) !important; |
188 | } | 190 | } |
189 | 191 | ||
192 | ngb-popover-window { | ||
193 | z-index: z(popover) !important; | ||
194 | } | ||
195 | |||
196 | ngb-tooltip-window { | ||
197 | z-index: z(tooltip) !important; | ||
198 | } | ||
199 | |||
190 | .btn-outline-tertiary { | 200 | .btn-outline-tertiary { |
191 | color: var(--secondaryColor); | 201 | color: var(--secondaryColor); |
192 | border-color: var(--secondaryColor); | 202 | border-color: var(--secondaryColor); |