mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-13 12:10:23 +00:00
68 lines
1.1 KiB
SCSS
68 lines
1.1 KiB
SCSS
@import "../abstracts/functions";
|
|
@import "../abstracts/mixins";
|
|
/**
|
|
* Override Bootstrap navigation class, .navbar, ruleset
|
|
*/
|
|
.navbar {
|
|
/**
|
|
* Explicitly sets the .navbar min-height to a shared value
|
|
*/
|
|
min-height: $nav-min-height;
|
|
&-inverse {
|
|
/**
|
|
* Overrides the styling for navbar
|
|
*/
|
|
background-color: $brand-color;
|
|
border-color: $brand-color;
|
|
}
|
|
.navbar-nav {
|
|
> .active {
|
|
/**
|
|
* Overrides the navbar styles on anchor elements
|
|
*/
|
|
> a {
|
|
@include on-event(true) {
|
|
background-color: inherit;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Beta insignia for navbar logo
|
|
*/
|
|
.beta-badge {
|
|
font-weight: fw(normal, 400);
|
|
letter-spacing: 5px;
|
|
}
|
|
|
|
/**
|
|
* Allow bootstrap dropdown items to be rendered when the mouse hovers over
|
|
* the .dropdown trigger
|
|
*/
|
|
.dropdown {
|
|
@include respond-to('large') {
|
|
&:hover {
|
|
> .dropdown-menu {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.action-bar {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/**
|
|
* Styles a container list of navigation items
|
|
*/
|
|
.tabbed-navigation-list {
|
|
white-space: nowrap;
|
|
|
|
&--tab {
|
|
border-radius: 0;
|
|
}
|
|
}
|