Fixed CSS rendering issues related to important interfering withthe navbar.

This commit is contained in:
Chris 2018-01-14 00:19:09 -05:00
parent 67679a987f
commit 09e1b5b89b
2 changed files with 5 additions and 25 deletions

View File

@ -10,7 +10,6 @@
transition: background-color 0.2s ease; transition: background-color 0.2s ease;
} }
.navbar-logo { height: 32px; } .navbar-logo { height: 32px; }
.hero .navbar.is-freestanding { .hero .navbar.is-freestanding {
background: $navbar-background-color; background: $navbar-background-color;
} }
@ -18,21 +17,4 @@
// For call to action heros, we want to style them on hover. // For call to action heros, we want to style them on hover.
.hero.is-actionable:hover { .hero.is-actionable:hover {
color: #969696; color: #969696;
} }
// https://github.com/jgthms/bulma/issues/935
.navbar-dropdown {
a.navbar-item {
color: #4a4a4a !important;
}
a.navbar-item:hover {
background-color: #f5f5f5 !important;
color: #0a0a0a !important;
}
}
// Works around incorrect coloring on navbar dropdown, related to above.
.is-info div {
color: inherit !important;
}

View File

@ -1,8 +1,9 @@
/* Yuzu uses a dark theme by default */ /* Yuzu uses a dark theme by default */
$background: darken($dark, 8); $background: darken($dark, 8);
$navbar-item-color: $white; $navbar-background-color: $dark;
$navbar-item-hover-background-color: $black; $navbar-item-color: $dark;
$navbar-item-hover-background-color: $dark;
$navbar-item-hover-color: $white; $navbar-item-hover-color: $white;
$box-background-color: $info; $box-background-color: $info;
@ -13,7 +14,4 @@ $text-light: $white;
$text-strong: $white; $text-strong: $white;
$title-color: $white; $title-color: $white;
$subtitle-color: $white; $subtitle-color: $white;
// $link: $primary;
// $link-hover: darken($link, 15);