Browse Source
Merge pull request #851 from mrfelton/fix/settings-menu-zindex
fix(ui): ensure settings menu shows on top
renovate/lint-staged-8.x
JimmyMow
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with
11 additions and
7 deletions
-
app/components/Contacts/ChannelForm/ChannelForm.scss
-
app/components/Contacts/ConnectManually/ConnectManually.scss
-
app/components/Contacts/Network/Network.scss
-
app/components/Form/Form.scss
-
app/components/Settings/Settings.scss
-
app/styles/tooltip.scss
|
@ -3,7 +3,7 @@ |
|
|
.container { |
|
|
.container { |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
top: 0; |
|
|
top: 0; |
|
|
z-index: z("contact-form", "modal"); |
|
|
z-index: z('contact-form', 'modal'); |
|
|
height: 100vh; |
|
|
height: 100vh; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
background: var(--darkestBackground); |
|
|
background: var(--darkestBackground); |
|
|
|
@ -3,7 +3,7 @@ |
|
|
.container { |
|
|
.container { |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
top: 0; |
|
|
top: 0; |
|
|
z-index: z("connect-form", "modal"); |
|
|
z-index: z('connect-form', 'modal'); |
|
|
height: 100vh; |
|
|
height: 100vh; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
background: red; |
|
|
background: red; |
|
|
|
@ -83,7 +83,7 @@ |
|
|
display: block; |
|
|
display: block; |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
margin-top: 0; |
|
|
margin-top: 0; |
|
|
z-index: z("network-filters", "open"); |
|
|
z-index: z('network-filters', 'open'); |
|
|
|
|
|
|
|
|
li { |
|
|
li { |
|
|
margin: 10px 0; |
|
|
margin: 10px 0; |
|
|
|
@ -3,7 +3,7 @@ |
|
|
.container { |
|
|
.container { |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
top: 0; |
|
|
top: 0; |
|
|
z-index: z("form", "container"); |
|
|
z-index: z('form', 'container'); |
|
|
height: 100vh; |
|
|
height: 100vh; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
background: var(--lightestBackground); |
|
|
background: var(--lightestBackground); |
|
|
|
@ -1,10 +1,12 @@ |
|
|
|
|
|
@import 'styles/variables.scss'; |
|
|
|
|
|
|
|
|
.container { |
|
|
.container { |
|
|
background: var(--lightestBackground); |
|
|
background: var(--lightestBackground); |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
width: 200px; |
|
|
width: 200px; |
|
|
top: 30px; |
|
|
top: 30px; |
|
|
left: -100px; |
|
|
left: -100px; |
|
|
z-index: z("settings-form", "modal"); |
|
|
z-index: z('settings-form', 'modal'); |
|
|
|
|
|
|
|
|
li { |
|
|
li { |
|
|
padding: 20px; |
|
|
padding: 20px; |
|
|
|
@ -1,3 +1,5 @@ |
|
|
|
|
|
@import 'styles/variables.scss'; |
|
|
|
|
|
|
|
|
/* Tooltips */ |
|
|
/* Tooltips */ |
|
|
[data-hint] { |
|
|
[data-hint] { |
|
|
position: relative; |
|
|
position: relative; |
|
@ -11,7 +13,7 @@ |
|
|
will-change: transform; |
|
|
will-change: transform; |
|
|
visibility: hidden; |
|
|
visibility: hidden; |
|
|
opacity: 0; |
|
|
opacity: 0; |
|
|
z-index: z("tooltip", "after"); |
|
|
z-index: z('tooltip', 'after'); |
|
|
pointer-events: none; |
|
|
pointer-events: none; |
|
|
transition: 0.2s ease; |
|
|
transition: 0.2s ease; |
|
|
transition-delay: 0ms; |
|
|
transition-delay: 0ms; |
|
@ -22,7 +24,7 @@ |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
background: transparent; |
|
|
background: transparent; |
|
|
border: 6px solid transparent; |
|
|
border: 6px solid transparent; |
|
|
z-index: z("tooltip", "before"); |
|
|
z-index: z('tooltip', 'before'); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[data-hint]::after { |
|
|
[data-hint]::after { |
|
|