2017-03-29 15:16:08 -07:00
|
|
|
@import "../abstracts/functions";
|
|
|
|
@import "../abstracts/mixins";
|
2017-06-01 13:11:26 -07:00
|
|
|
|
|
|
|
$item-spacing: 10px;
|
|
|
|
|
2017-03-24 20:19:44 -07:00
|
|
|
/**
|
|
|
|
* Override Bootstrap navigation class, .navbar, ruleset
|
|
|
|
*/
|
|
|
|
.navbar {
|
|
|
|
/**
|
|
|
|
* Explicitly sets the .navbar min-height to a shared value
|
|
|
|
*/
|
|
|
|
min-height: $nav-min-height;
|
2017-08-27 05:04:53 -07:00
|
|
|
|
2017-03-24 20:19:44 -07:00
|
|
|
&-inverse {
|
|
|
|
/**
|
|
|
|
* Overrides the styling for navbar
|
|
|
|
*/
|
|
|
|
background-color: $brand-color;
|
|
|
|
border-color: $brand-color;
|
|
|
|
}
|
2017-08-27 05:04:53 -07:00
|
|
|
|
2017-03-24 20:19:44 -07:00
|
|
|
.navbar-nav {
|
|
|
|
> .active {
|
|
|
|
/**
|
|
|
|
* Overrides the navbar styles on anchor elements
|
|
|
|
*/
|
|
|
|
> a {
|
|
|
|
@include on-event(true) {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-29 15:16:08 -07:00
|
|
|
/**
|
|
|
|
* Beta insignia for navbar logo
|
|
|
|
*/
|
|
|
|
.beta-badge {
|
|
|
|
font-weight: fw(normal, 400);
|
|
|
|
letter-spacing: 5px;
|
|
|
|
}
|
|
|
|
|
2017-03-10 18:39:51 -08:00
|
|
|
/**
|
|
|
|
* Allow bootstrap dropdown items to be rendered when the mouse hovers over
|
|
|
|
* the .dropdown trigger
|
|
|
|
*/
|
2017-03-24 20:19:44 -07:00
|
|
|
.dropdown {
|
|
|
|
@include respond-to('large') {
|
|
|
|
&:hover {
|
|
|
|
> .dropdown-menu {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2017-03-10 18:39:51 -08:00
|
|
|
}
|
2017-03-27 18:26:09 -07:00
|
|
|
}
|
|
|
|
|
2017-06-01 13:11:26 -07:00
|
|
|
/**
|
|
|
|
* Styles the non primary action bar for an entity
|
|
|
|
*/
|
|
|
|
.secondary-actions {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&__action + &__action {
|
|
|
|
margin-left: $item-spacing;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-19 03:05:25 -07:00
|
|
|
/**
|
|
|
|
* Styles the action bar on a tab component
|
|
|
|
*/
|
2017-03-27 18:26:09 -07:00
|
|
|
.action-bar {
|
2017-05-19 03:05:25 -07:00
|
|
|
position: fixed;
|
|
|
|
padding: 5px;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
border-width: 1px 0 0;
|
|
|
|
background-color: #f8f8f8;
|
|
|
|
z-index: z(dropdown);
|
2017-05-19 08:45:05 -07:00
|
|
|
max-height: 50px;
|
2017-06-01 13:11:26 -07:00
|
|
|
|
|
|
|
&__content {
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__item + &__item {
|
|
|
|
margin-left: $item-spacing;
|
|
|
|
}
|
2017-03-27 18:26:09 -07:00
|
|
|
}
|
2017-03-29 18:51:26 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Styles a container list of navigation items
|
|
|
|
*/
|
|
|
|
.tabbed-navigation-list {
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&--tab {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|