2014-08-18 18:25:33 +04:00
|
|
|
.navbar {
|
2015-11-21 19:37:35 +03:00
|
|
|
background-color: @brand-primary;
|
2015-11-24 02:43:41 +03:00
|
|
|
border: 0;
|
|
|
|
border-radius: 0;
|
2014-12-13 14:26:25 +03:00
|
|
|
|
|
|
|
.navbar-brand {
|
|
|
|
position: relative;
|
|
|
|
height: 60px;
|
|
|
|
line-height: 30px;
|
|
|
|
color: inherit;
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: inherit;
|
|
|
|
background-color: transparent;
|
2014-08-18 18:25:33 +04:00
|
|
|
}
|
2014-12-13 14:26:25 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-text {
|
|
|
|
color: inherit;
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-nav {
|
|
|
|
> li > a {
|
|
|
|
color: inherit;
|
|
|
|
padding-top: 20px;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: inherit;
|
2016-08-17 09:41:39 +03:00
|
|
|
background-color: rgba(255,255,255,0.05);
|
2014-12-13 14:26:25 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
> .active > a {
|
|
|
|
&,
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: inherit;
|
2014-12-13 14:32:27 +03:00
|
|
|
background-color: rgba(255, 255, 255, 0.1);
|
2014-12-13 14:26:25 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
> .disabled > a {
|
|
|
|
&,
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: inherit;
|
|
|
|
background-color: transparent;
|
2014-12-13 14:32:27 +03:00
|
|
|
opacity: 0.9;
|
2014-12-13 14:26:25 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-08-18 18:25:33 +04:00
|
|
|
|
2014-12-13 14:26:25 +03:00
|
|
|
// Darken the responsive nav toggle
|
|
|
|
.navbar-toggle {
|
2015-11-24 02:43:41 +03:00
|
|
|
border: 0;
|
2014-12-13 14:26:25 +03:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
.icon-bar {
|
|
|
|
background-color: inherit;
|
|
|
|
border: 1px solid;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-default .navbar-toggle,
|
|
|
|
.navbar-inverse .navbar-toggle {
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-collapse,
|
|
|
|
.navbar-form {
|
|
|
|
border-color: rgba(0,0,0,0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Dropdowns
|
|
|
|
.navbar-nav {
|
|
|
|
> .open > a {
|
|
|
|
&,
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: transparent;
|
|
|
|
color: inherit;
|
|
|
|
}
|
2014-08-18 18:25:33 +04:00
|
|
|
}
|
|
|
|
|
2015-11-21 20:42:16 +03:00
|
|
|
@media (max-width: @grid-float-breakpoint-max) {
|
2015-02-27 14:20:26 +03:00
|
|
|
.navbar-text {
|
|
|
|
color: inherit;
|
|
|
|
margin-top: 15px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
2014-12-13 14:26:25 +03:00
|
|
|
// Dropdowns get custom display
|
2016-06-05 14:20:04 +03:00
|
|
|
.dropdown{
|
|
|
|
.dropdown-toggle{
|
|
|
|
.caret{
|
|
|
|
display:none;
|
2014-12-13 14:26:25 +03:00
|
|
|
}
|
2016-06-05 14:20:04 +03:00
|
|
|
&:after{
|
|
|
|
content: 'keyboard_arrow_right';
|
|
|
|
font-family: 'Material Icons';
|
|
|
|
font-size: 1.5em;
|
|
|
|
float:right;
|
2016-06-06 17:59:55 +03:00
|
|
|
font-feature-settings: 'liga'; /* Support for IE. */
|
2014-12-13 14:26:25 +03:00
|
|
|
}
|
2014-08-18 18:25:33 +04:00
|
|
|
}
|
2016-06-05 14:20:04 +03:00
|
|
|
.dropdown-menu{
|
|
|
|
margin-left:20px;
|
|
|
|
}
|
|
|
|
&.open{
|
|
|
|
.dropdown-toggle:after{
|
|
|
|
content: 'keyboard_arrow_down';
|
|
|
|
}
|
|
|
|
.dropdown-menu {
|
|
|
|
> .dropdown-header {
|
|
|
|
border: 0;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
.divider {
|
|
|
|
border-bottom: 1px solid;
|
|
|
|
opacity: 0.08;
|
|
|
|
}
|
|
|
|
> li > a {
|
|
|
|
color: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: inherit;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
> .active > a {
|
|
|
|
&,
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: inherit;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
> .disabled > a {
|
|
|
|
&,
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: inherit;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
2014-12-13 14:26:25 +03:00
|
|
|
}
|
2014-08-18 18:25:33 +04:00
|
|
|
}
|
2014-12-13 14:26:25 +03:00
|
|
|
}
|
2014-08-18 18:25:33 +04:00
|
|
|
}
|
2014-12-13 14:26:25 +03:00
|
|
|
}
|
2014-08-18 18:25:33 +04:00
|
|
|
|
2014-12-13 14:26:25 +03:00
|
|
|
.navbar-link {
|
|
|
|
color: inherit;
|
|
|
|
&:hover {
|
|
|
|
color: inherit;
|
2014-08-18 18:25:33 +04:00
|
|
|
}
|
2014-12-13 14:26:25 +03:00
|
|
|
}
|
2014-08-18 18:25:33 +04:00
|
|
|
|
2014-12-13 14:26:25 +03:00
|
|
|
.btn-link {
|
|
|
|
color: inherit;
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: inherit;
|
2014-10-02 13:36:05 +04:00
|
|
|
}
|
2014-12-13 14:26:25 +03:00
|
|
|
&[disabled],
|
|
|
|
fieldset[disabled] & {
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2014-08-18 18:25:33 +04:00
|
|
|
}
|
2014-12-13 14:26:25 +03:00
|
|
|
}
|
2014-08-18 18:25:33 +04:00
|
|
|
|
2014-12-13 14:26:25 +03:00
|
|
|
.navbar-form {
|
|
|
|
margin-top: 16px;
|
2015-11-06 19:30:05 +03:00
|
|
|
.form-group {
|
2015-11-19 00:51:06 +03:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
2015-11-07 01:46:05 +03:00
|
|
|
.material-input:before,
|
2015-11-19 00:51:06 +03:00
|
|
|
&.is-focused .material-input:after {
|
2014-12-13 14:26:25 +03:00
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
}
|
2015-11-19 00:51:06 +03:00
|
|
|
|
|
|
|
.form-group .form-control,
|
|
|
|
.form-control {
|
|
|
|
border-color: inherit;
|
|
|
|
color: inherit;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
// re-normalize inputs in a navbar the size of standard bootstrap since our normal inputs are larger by spec than bootstrap
|
|
|
|
//---
|
2015-11-21 17:56:29 +03:00
|
|
|
//height: @mdb-input-height-base;
|
2015-11-19 00:51:06 +03:00
|
|
|
@bs-line-height-base: 1.428571429;
|
|
|
|
@bs-line-height-computed: floor((@font-size-base * @bs-line-height-base)); // ~20px
|
|
|
|
height: (@bs-line-height-computed + 8px);
|
|
|
|
font-size: @font-size-base;
|
|
|
|
line-height: @bs-line-height-base;
|
|
|
|
//---
|
|
|
|
}
|
2014-12-13 14:26:25 +03:00
|
|
|
}
|
2014-12-26 20:42:06 +03:00
|
|
|
|
2015-11-05 02:50:22 +03:00
|
|
|
// SASS conversion note: please mirror any content change in _mixins-shared.scss navbar-variations-content
|
2015-11-24 02:43:41 +03:00
|
|
|
.generic-variations(~".navbar", ~"", @brand-primary, {
|
|
|
|
background-color: @variation-color;
|
|
|
|
color: @variation-color-text;
|
2014-12-26 20:42:06 +03:00
|
|
|
// deeply defined to override welljumbo class without !impotant need
|
2015-11-24 02:43:41 +03:00
|
|
|
.navbar-form .form-group input.form-control,
|
|
|
|
.navbar-form input.form-control {
|
|
|
|
.material-placeholder({
|
|
|
|
color: @variation-color-text;
|
|
|
|
});
|
2015-06-27 13:18:26 +03:00
|
|
|
}
|
2015-06-27 13:23:55 +03:00
|
|
|
.dropdown-menu {
|
2015-11-24 23:13:29 +03:00
|
|
|
border-radius: @border-radius-base;
|
2016-06-05 14:20:04 +03:00
|
|
|
@media (max-width: @grid-float-breakpoint-max) {
|
|
|
|
.dropdown-header{
|
|
|
|
background-color: lighten(@variation-color,5%);
|
|
|
|
}
|
|
|
|
}
|
2015-06-27 13:23:55 +03:00
|
|
|
li > a {
|
2015-11-21 17:56:29 +03:00
|
|
|
font-size: @mdb-dropdown-font-size;
|
2015-06-27 13:23:55 +03:00
|
|
|
padding: 13px 16px;
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2015-11-24 02:43:41 +03:00
|
|
|
color: @variation-color;
|
2015-06-27 13:23:55 +03:00
|
|
|
background-color: @grey-200;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.active > a {
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2015-11-24 02:43:41 +03:00
|
|
|
color: @variation-color-text;
|
2015-06-27 13:23:55 +03:00
|
|
|
}
|
2015-11-24 02:43:41 +03:00
|
|
|
background-color: @variation-color;
|
|
|
|
color: @variation-color-text;
|
2015-02-27 14:09:22 +03:00
|
|
|
}
|
|
|
|
}
|
2014-12-26 20:42:06 +03:00
|
|
|
});
|
2014-09-18 11:38:53 +04:00
|
|
|
|
2014-12-26 20:42:06 +03:00
|
|
|
&-inverse {
|
|
|
|
background-color: @indigo;
|
2014-12-13 14:26:25 +03:00
|
|
|
}
|
2014-10-03 11:46:24 +04:00
|
|
|
|
2015-11-21 20:42:16 +03:00
|
|
|
@media (max-width: @screen-md-max) {
|
2014-10-03 11:46:24 +04:00
|
|
|
|
2014-12-13 14:26:25 +03:00
|
|
|
.navbar-brand {
|
|
|
|
height: 50px;
|
|
|
|
padding: 10px 15px;
|
|
|
|
}
|
|
|
|
.navbar-form {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2014-10-03 11:46:24 +04:00
|
|
|
|
2014-12-13 14:26:25 +03:00
|
|
|
.navbar-nav > li > a {
|
|
|
|
padding-top: 15px;
|
|
|
|
padding-bottom: 15px;
|
2014-10-03 11:46:24 +04:00
|
|
|
}
|
2014-12-13 14:26:25 +03:00
|
|
|
}
|
2014-08-18 18:25:33 +04:00
|
|
|
}
|