Browse Source

Fix dark mode CSS for tabs

pull/537/head
Pēteris Caune 3 years ago
parent
commit
dd104ff672
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
2 changed files with 23 additions and 0 deletions
  1. +9
    -0
      static/css/base.css
  2. +14
    -0
      static/css/bootstrap-colors.css

+ 9
- 0
static/css/base.css View File

@ -219,3 +219,12 @@ pre {
opacity: 0; opacity: 0;
} }
} }
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
outline: 0;
}

+ 14
- 0
static/css/bootstrap-colors.css View File

@ -35,6 +35,20 @@
background-color: var(--nav-pills-active-link-hover-bg); background-color: var(--nav-pills-active-link-hover-bg);
} }
.nav-tabs > li > a:hover {
color: var(--text-color);
border-color: transparent;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
color: var(--text-color);
background-color: transparent;
border-color: var(--btn-default-border);
border-bottom-color: transparent;
}
.nav-pills > li.active > a, .nav-pills > li.active > a,
.nav-pills > li.active > a:hover, .nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus { .nav-pills > li.active > a:focus {


Loading…
Cancel
Save