mirror of
https://github.com/jgthms/bulma
synced 2026-03-18 19:34:30 -07:00
Fix hover/active states on desktop
This commit is contained in:
@@ -4390,10 +4390,9 @@ a.nav-item.is-tab.is-active {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
a.navbar-item:hover,
|
||||
a.navbar-item.is-active,
|
||||
.navbar-item.has-dropdown:hover .navbar-link,
|
||||
.navbar-item.has-dropdown.is-active .navbar-link {
|
||||
a.navbar-item:hover, a.navbar-item.is-active,
|
||||
.navbar-link:hover,
|
||||
.navbar-link.is-active {
|
||||
background-color: whitesmoke;
|
||||
color: #0a0a0a;
|
||||
}
|
||||
@@ -4499,10 +4498,6 @@ a.navbar-item.is-active,
|
||||
pointer-events: auto;
|
||||
transform: translateY(0);
|
||||
}
|
||||
a.navbar-item.is-active {
|
||||
background-color: transparent;
|
||||
color: #0a0a0a;
|
||||
}
|
||||
.navbar-link::after {
|
||||
border: 1px solid #00d1b2;
|
||||
border-right: 0;
|
||||
@@ -4578,6 +4573,17 @@ a.navbar-item.is-active,
|
||||
margin-left: -1rem;
|
||||
margin-right: -1rem;
|
||||
}
|
||||
a.navbar-item.is-active,
|
||||
.navbar-link.is-active {
|
||||
color: #ff3860;
|
||||
}
|
||||
a.navbar-item.is-active:not(:hover),
|
||||
.navbar-link.is-active:not(:hover) {
|
||||
background-color: transparent;
|
||||
}
|
||||
.navbar-item.has-dropdown:hover .navbar-link, .navbar-item.has-dropdown.is-active .navbar-link {
|
||||
background-color: whitesmoke;
|
||||
}
|
||||
}
|
||||
|
||||
.pagination {
|
||||
|
||||
Reference in New Issue
Block a user