mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 19:54:25 +00:00
dc9e317f8f
Tab header styling
39 lines
No EOL
959 B
Text
39 lines
No EOL
959 B
Text
.ol-tabs {
|
|
// Overrides for nav.less
|
|
.nav-tabs {
|
|
border: 0!important;
|
|
margin-bottom: 0;
|
|
margin-top: -@line-height-computed; //- adjusted for portal-name
|
|
padding: @padding-lg 0 @padding-md;
|
|
text-align: center;
|
|
}
|
|
|
|
.nav-tabs > li {
|
|
display: inline-block;
|
|
float: none;
|
|
a {
|
|
border: 0;
|
|
color: @link-color;
|
|
&:hover {
|
|
background-color: transparent!important;
|
|
border: 0!important;
|
|
color: @link-hover-color!important;
|
|
}
|
|
}
|
|
}
|
|
|
|
li.active > a {
|
|
background-color: transparent!important;
|
|
border: 0!important;
|
|
border-bottom: 1px solid @accent-color-secondary!important;
|
|
color: @accent-color-secondary!important;
|
|
&:hover {
|
|
border-bottom: 1px solid @accent-color-secondary!important;
|
|
color: @accent-color-secondary!important;
|
|
}
|
|
}
|
|
.tab-content:extend(.container) {
|
|
background-color: transparent!important;
|
|
border: none!important;
|
|
}
|
|
} |