2015-10-08 20:26:29 +02:00
|
|
|
.navbar-default {
|
2016-06-08 17:43:07 +02:00
|
|
|
background-color: $ascribe--nav-bg-color;
|
|
|
|
box-shadow: 0 0 1px rgba(0,0,0,.1),
|
|
|
|
0 1px 2px rgba(0,0,0,.2);
|
2015-10-08 20:26:29 +02:00
|
|
|
border: 0;
|
|
|
|
border-color: #ccc;
|
|
|
|
border-left: 0;
|
|
|
|
border-right: 0;
|
|
|
|
border-top: 0;
|
|
|
|
font-size: .8em;
|
|
|
|
margin-bottom: 1.5em;
|
2016-06-08 17:43:07 +02:00
|
|
|
|
|
|
|
// All Navbar buttons
|
2016-06-17 16:29:14 +02:00
|
|
|
.navbar-nav .dropdown .dropdown-toggle,
|
2016-06-08 17:43:07 +02:00
|
|
|
.navbar-nav > li > a {
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
border-bottom: 3px solid transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
color: $ascribe--nav-fg-prim-color;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: $ascribe--font-weight-light;
|
|
|
|
line-height: 20px;
|
|
|
|
padding: 15px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: transparent;
|
|
|
|
color: $ascribe--nav-fg-sec-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Currently active route
|
|
|
|
.navbar-nav > li.active > a {
|
|
|
|
background-color: transparent;
|
|
|
|
border-bottom-color: $ascribe--nav-fg-prim-color;
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background-color: transparent;
|
|
|
|
color: $ascribe--nav-fg-prim-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-17 16:30:30 +02:00
|
|
|
// Currently active route (if in dropdown)
|
|
|
|
.navbar-nav .dropdown-menu .active a {
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba($ascribe--button-default-color, .05);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-08 17:43:07 +02:00
|
|
|
// Open dropdowns
|
|
|
|
.navbar-nav .open {
|
2016-06-17 16:29:14 +02:00
|
|
|
.dropdown-toggle {
|
2016-06-08 17:43:07 +02:00
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba($ascribe--button-default-color, .05);
|
|
|
|
color: $ascribe--nav-fg-prim-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu a {
|
|
|
|
color: $ascribe--nav-fg-prim-color;
|
|
|
|
font-weight: $ascribe--font-weight-light;
|
|
|
|
padding-bottom: 9px;
|
|
|
|
padding-top: 9px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu > .divider {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification-menu {
|
2016-06-17 16:29:14 +02:00
|
|
|
.dropdown-toggle:focus,
|
|
|
|
.dropdown-toggle:hover {
|
2016-06-08 17:43:07 +02:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-16 15:55:56 +02:00
|
|
|
.navbar-header {
|
|
|
|
.ascribe-powered-by {
|
|
|
|
color: $ascribe--nav-fg-prim-color;
|
|
|
|
line-height: 20px;
|
|
|
|
padding: 15px;
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
color: $ascribe--nav-fg-sec-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-08 17:43:07 +02:00
|
|
|
.navbar-brand {
|
|
|
|
font-size: 23px;
|
|
|
|
padding: 12px 15px;
|
|
|
|
|
2016-06-16 15:55:56 +02:00
|
|
|
.img-brand {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2016-06-08 17:43:07 +02:00
|
|
|
.icon-ascribe-logo {
|
|
|
|
color: $ascribe--nav-fg-prim-color;
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
color: $ascribe--nav-fg-sec-color;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-toggle {
|
|
|
|
.icon-bar {
|
|
|
|
background-color: $ascribe--nav-fg-prim-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: $ascribe--nav-bg-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* For mobile toggled menu */
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
.navbar-collapse {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-nav {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2016-06-17 16:29:14 +02:00
|
|
|
.navbar-nav .dropdown .dropdown-toggle,
|
2016-06-08 17:43:07 +02:00
|
|
|
.navbar-nav > li > a {
|
|
|
|
display: block;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
padding-top: 10px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-nav .open .dropdown-menu > li > a {
|
|
|
|
padding: 5px 15px 5px 25px;
|
|
|
|
}
|
|
|
|
|
2016-06-17 16:30:30 +02:00
|
|
|
.navbar-nav .open .dropdown-menu .active a {
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-08 17:43:07 +02:00
|
|
|
.navbar-nav .dropdown {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav .open > a,
|
|
|
|
.nav .open > a:hover,
|
|
|
|
.nav .open > a:focus {
|
|
|
|
border-color: transparent;
|
2015-10-08 20:26:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-right {
|
|
|
|
margin-right: 0;
|
2016-06-08 17:43:07 +02:00
|
|
|
}
|