mdb-ui-kit/scss/_nav.scss

50 lines
1.4 KiB
SCSS
Raw Normal View History

2015-12-21 22:27:44 +03:00
// https://www.google.com/design/spec/components/tabs.html#tabs-specs
.nav-link {
//line-height: $mdb-nav-link-line-height; // set baseline line-height and font sizes
text-transform: uppercase;
}
2015-12-23 20:58:25 +03:00
// navbars
.navbar-nav {
.nav-link {
padding: $mdb-navbar-link-padding;
font-size: $mdb-navbar-link-font-size;
font-weight: $mdb-navbar-link-font-weight;
}
}
// pills and tabs
2015-12-21 22:27:44 +03:00
.nav-tabs,
.nav-pills {
border: 0;
.nav-link {
2015-12-23 20:58:25 +03:00
padding: $mdb-nav-tabs-pills-link-padding;
font-size: $mdb-nav-tabs-pills-font-size;
font-weight: $mdb-nav-tabs-pills-font-weight;
2015-12-21 22:27:44 +03:00
border: 0;
}
}
2015-12-23 20:58:25 +03:00
// tabs only
2015-12-21 22:27:44 +03:00
.nav-tabs {
.nav-link {
border-bottom: $mdb-nav-tabs-border-size solid transparent;
}
2015-12-22 00:13:19 +03:00
// colors
@include mdb-tabs-color($mdb-nav-tabs-color, $mdb-nav-tabs-active-color, $mdb-nav-tabs-active-border-color, $mdb-nav-tabs-disabled-link-color, $mdb-nav-tabs-disabled-link-color-hover);
&.bg-primary {
@include mdb-tabs-color($mdb-nav-tabs-primary-color, $mdb-nav-tabs-primary-active-color, $mdb-nav-tabs-primary-active-border-color, $mdb-nav-tabs-primary-disabled-link-color, $mdb-nav-tabs-primary-disabled-link-color-hover);
}
&.bg-inverse {
@include mdb-tabs-color($mdb-nav-tabs-inverse-color, $mdb-nav-tabs-inverse-active-color, $mdb-nav-tabs-inverse-active-border-color, $mdb-nav-tabs-inverse-disabled-link-color, $mdb-nav-tabs-inverse-disabled-link-color-hover);
}
2015-12-21 22:27:44 +03:00
}