From 48361566ae9aaf2214b4a667c9c2fe73a37653c6 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 3 Jan 2019 09:55:53 +0100 Subject: [PATCH] tabs: don't fade tabs' labels under active color layer --- src/scss/editor.scss | 4 ++-- src/scss/layout.scss | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/scss/editor.scss b/src/scss/editor.scss index da80b6d1..52f6174a 100644 --- a/src/scss/editor.scss +++ b/src/scss/editor.scss @@ -267,9 +267,9 @@ z-index: 9999!important; // overflow: visible; } -.widget.editing:after, li.editing a:before, a.editing:before, .content.editing:before, #container.editing:before{ +.widget.editing:after, li.editing a:after, a.editing:before, .content.editing:before, #container.editing:before{ content:""; - z-index: 999; + z-index: 999!important; position: absolute; top:0; left:0; diff --git a/src/scss/layout.scss b/src/scss/layout.scss index 9771e90e..efd17612 100644 --- a/src/scss/layout.scss +++ b/src/scss/layout.scss @@ -107,7 +107,7 @@ body { z-index: 0; // background:var(--color-fg); color: var(--color-custom); - &:after { + &:before { content: ""; position: absolute; top:0; @@ -117,7 +117,8 @@ body { opacity: 0.4; background: radial-gradient( ellipse at center, transparent, var(--color-bg)); } - &:before { + + &:after { content:""; position: absolute; top:0; @@ -127,6 +128,7 @@ body { opacity: 0.3; box-shadow: 0 0 0 1rem var(--color-custom) inset; border-radius: inherit; + z-index: -1; } } }