2016-01-26 21:12:48 +03:00
|
|
|
// https://www.google.com/design/spec/components/tabs.html#tabs-specs
|
|
|
|
|
|
|
|
.nav-link {
|
2016-03-28 23:18:19 +03:00
|
|
|
//line-height: $bmd-nav-link-line-height; // set baseline line-height and font sizes
|
2016-01-26 21:12:48 +03:00
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
// navbars
|
|
|
|
.navbar-nav {
|
|
|
|
.nav-link {
|
2016-03-28 23:18:19 +03:00
|
|
|
padding: $bmd-navbar-link-padding;
|
|
|
|
font-size: $bmd-navbar-link-font-size;
|
|
|
|
font-weight: $bmd-navbar-link-font-weight;
|
2016-01-26 21:12:48 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// pills and tabs
|
|
|
|
.nav-tabs,
|
|
|
|
.nav-pills {
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
.nav-link {
|
2016-03-28 23:18:19 +03:00
|
|
|
padding: $bmd-nav-tabs-pills-link-padding;
|
|
|
|
font-size: $bmd-nav-tabs-pills-font-size;
|
|
|
|
font-weight: $bmd-nav-tabs-pills-font-weight;
|
2016-01-26 21:12:48 +03:00
|
|
|
border: 0;
|
|
|
|
}
|
2017-12-10 20:13:55 +03:00
|
|
|
|
|
|
|
.nav-link.active,
|
|
|
|
.nav-item.show .nav-link {
|
|
|
|
background-color: transparent;
|
|
|
|
color: inherit;
|
|
|
|
}
|
2016-01-26 21:12:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// tabs only
|
|
|
|
.nav-tabs {
|
|
|
|
.nav-link {
|
2016-03-28 23:18:19 +03:00
|
|
|
border-bottom: $bmd-nav-tabs-border-size solid transparent;
|
2016-01-26 21:12:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// colors
|
2016-03-28 23:18:19 +03:00
|
|
|
@include bmd-tabs-color($bmd-nav-tabs-color, $bmd-nav-tabs-active-color, $bmd-nav-tabs-active-border-color, $bmd-nav-tabs-disabled-link-color, $bmd-nav-tabs-disabled-link-color-hover);
|
2016-01-26 21:12:48 +03:00
|
|
|
|
|
|
|
&.bg-primary {
|
2016-03-28 23:18:19 +03:00
|
|
|
@include bmd-tabs-color($bmd-nav-tabs-primary-color, $bmd-nav-tabs-primary-active-color, $bmd-nav-tabs-primary-active-border-color, $bmd-nav-tabs-primary-disabled-link-color, $bmd-nav-tabs-primary-disabled-link-color-hover);
|
2016-01-26 21:12:48 +03:00
|
|
|
}
|
|
|
|
|
2017-12-10 20:13:55 +03:00
|
|
|
&.bg-dark {
|
2016-03-28 23:18:19 +03:00
|
|
|
@include bmd-tabs-color($bmd-nav-tabs-inverse-color, $bmd-nav-tabs-inverse-active-color, $bmd-nav-tabs-inverse-active-border-color, $bmd-nav-tabs-inverse-disabled-link-color, $bmd-nav-tabs-inverse-disabled-link-color-hover);
|
2016-01-26 21:12:48 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-02 21:44:55 +03:00
|
|
|
// used to correctly size ripple container
|
|
|
|
.nav {
|
|
|
|
.nav-item {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|