diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-07 00:15:49 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-07 00:15:49 +0100 |
commit | 758f0d19f227bf2f33544040120023b8dd4d095f (patch) | |
tree | 1ab2aa01c3595a49a3dbd2fc1d0b1d9a1c7601ff /client/src/sass/bootstrap.scss | |
parent | 54e7884775197877dd941b44bef03b3c6387b22a (diff) | |
download | PeerTube-758f0d19f227bf2f33544040120023b8dd4d095f.tar.gz PeerTube-758f0d19f227bf2f33544040120023b8dd4d095f.tar.zst PeerTube-758f0d19f227bf2f33544040120023b8dd4d095f.zip |
Improve nav in admin/configuration
Diffstat (limited to 'client/src/sass/bootstrap.scss')
-rw-r--r-- | client/src/sass/bootstrap.scss | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index 61f9d016b..5e0b16bfa 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss | |||
@@ -163,9 +163,21 @@ ngb-tabset.bootstrap { | |||
163 | } | 163 | } |
164 | } | 164 | } |
165 | 165 | ||
166 | .nav-tabs .nav-link.active { | 166 | .nav-tabs .nav-link { |
167 | background-color: var(--mainBackgroundColor) !important; | 167 | &:not(.active) { |
168 | border-bottom: none; | 168 | opacity: .6; |
169 | border-bottom: 3px solid transparent; | ||
170 | } | ||
171 | &.active { | ||
172 | background-color: var(--mainBackgroundColor) !important; | ||
173 | border: none; | ||
174 | border-bottom: 2px solid var(--mainColor); | ||
175 | } | ||
176 | &:hover { | ||
177 | border-top-color: transparent; | ||
178 | border-left-color: transparent; | ||
179 | border-right-color: transparent; | ||
180 | } | ||
169 | } | 181 | } |
170 | 182 | ||
171 | .card { | 183 | .card { |