diff options
Diffstat (limited to 'client/src/sass/bootstrap.scss')
-rw-r--r-- | client/src/sass/bootstrap.scss | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index dd5824b7a..897182e53 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss | |||
@@ -161,9 +161,14 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
161 | 161 | ||
162 | .nav.nav-pills { | 162 | .nav.nav-pills { |
163 | font-size: 16px !important; | 163 | font-size: 16px !important; |
164 | font-weight: $font-semibold !important; | ||
164 | 165 | ||
165 | .nav-link.active { | 166 | .nav-link { |
166 | font-weight: $font-semibold !important; | 167 | opacity: 0.6 !important; |
168 | |||
169 | &.active, &:hover, &:active, &:focus { | ||
170 | opacity: 1 !important; | ||
171 | } | ||
167 | } | 172 | } |
168 | 173 | ||
169 | a { | 174 | a { |
@@ -173,29 +178,23 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
173 | } | 178 | } |
174 | } | 179 | } |
175 | 180 | ||
176 | .nav-tabs { | 181 | .nav-tabs .nav-link { |
177 | 182 | @include disable-default-a-behaviour; | |
178 | .nav-link { | ||
179 | @include disable-default-a-behaviour; | ||
180 | 183 | ||
181 | color: pvar(--mainForegroundColor) !important; | 184 | color: pvar(--mainForegroundColor); |
182 | } | 185 | font-weight: $font-semibold; |
183 | } | 186 | border: none; |
187 | border-bottom: 2px solid transparent; | ||
188 | opacity: 0.6; | ||
184 | 189 | ||
185 | .nav-tabs .nav-link { | ||
186 | &:not(.active) { | ||
187 | border-bottom: 3px solid transparent; | ||
188 | } | ||
189 | &.active { | 190 | &.active { |
190 | font-weight: $font-semibold; | 191 | color: pvar(--mainForegroundColor); |
191 | background-color: pvar(--mainBackgroundColor) !important; | 192 | background-color: pvar(--mainBackgroundColor) !important; |
192 | border: none; | 193 | border-bottom-color: pvar(--mainColor); |
193 | border-bottom: 2px solid pvar(--mainColor); | ||
194 | } | 194 | } |
195 | &:hover { | 195 | |
196 | border-top-color: transparent; | 196 | &.active, &:hover, &:active, &:focus { |
197 | border-left-color: transparent; | 197 | opacity: 1; |
198 | border-right-color: transparent; | ||
199 | } | 198 | } |
200 | } | 199 | } |
201 | 200 | ||