mirror of https://github.com/istio/istio.io.git
124 lines
2.2 KiB
SCSS
124 lines
2.2 KiB
SCSS
// Bootstrap override - looks like this is missing?
|
|
.nav-tabs>li.active>a {
|
|
margin-right: 2px;
|
|
line-height: 1.42857143;
|
|
border: 1px solid #ddd;
|
|
border-bottom-color: transparent;
|
|
border-radius: 4px 4px 0 0;
|
|
}
|
|
|
|
// Documentation Navigation Bar
|
|
.doc-nav {
|
|
display: block;
|
|
margin-bottom: $spacing--xxxl;
|
|
margin-top: $spacing--m;
|
|
.doc-caret {
|
|
margin-right: 10px;
|
|
@media (min-width: $tablet) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.tab {
|
|
display: inline-block;
|
|
|
|
&.docs-tab a {
|
|
border-bottom: 2px solid $gray;
|
|
display: inline-block;
|
|
font-weight: 300;
|
|
|
|
@media (min-width: $tablet) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
a {
|
|
border-bottom: 2px solid transparent;
|
|
color: $gray;
|
|
display: none;
|
|
font-size: .85rem;
|
|
font-weight: 400;
|
|
letter-spacing: 0.5px;
|
|
margin-right: 16px;
|
|
|
|
&:hover {
|
|
border-bottom: 2px solid $gray;
|
|
}
|
|
|
|
@media (min-width: $tablet) {
|
|
display: inline-block;
|
|
font-weight: 300;
|
|
}
|
|
}
|
|
|
|
.current {
|
|
border-bottom: 2px solid $gray;
|
|
color: $gray;
|
|
display: inline-block;
|
|
|
|
@media (min-width: $tablet) {
|
|
border-bottom: 2px solid $secondBrandColor !important;
|
|
color: $secondBrandColor;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Documentation Side Navigation
|
|
.doc-side-nav {
|
|
margin-bottom: 20px;
|
|
|
|
@media (min-width: $tablet) {
|
|
margin-bottom: 0;
|
|
padding: $spacing--xs 0 $spacing--xl;
|
|
}
|
|
|
|
// Add caret to current page
|
|
.current:before{
|
|
content: '> ';
|
|
}
|
|
|
|
.doc-side-nav-title {
|
|
padding: $spacing--s;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.doc-side-nav-list-item {
|
|
display: inline-block;
|
|
padding: 2px $spacing--s;
|
|
width: 100%;
|
|
|
|
a {
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
|
|
h6 {
|
|
color: $mainBrandColor;
|
|
font-size: 100%;
|
|
font-weight: 400;
|
|
line-height: 22px;
|
|
}
|
|
|
|
.submenu {
|
|
padding: 2px 15px;
|
|
}
|
|
|
|
.submenu-link {
|
|
display: block;
|
|
font-size: 100%;
|
|
font-weight: 400;
|
|
line-height: 22px;
|
|
color: $mainBrandColor;
|
|
|
|
&.active:before {
|
|
margin-left: -0.80em;
|
|
content: '> ';
|
|
}
|
|
|
|
&.active {
|
|
line-height: 30px;
|
|
}
|
|
}
|
|
}
|