overleaf/services/web/public/stylesheets/components/tabs.less

40 lines
957 B
Text
Raw Normal View History

.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;
2018-09-24 17:05:28 -04:00
color: @link-color-alt;
&:focus, &:hover {
background-color: transparent!important;
border: 0;
2018-09-27 12:50:38 -04:00
color: @link-hover-color-alt;
}
}
}
li.active > a {
background-color: transparent!important;
border: 0!important;
border-bottom: 1px solid @accent-color-secondary!important;
color: @accent-color-secondary!important;
&:hover {
2018-09-21 13:26:49 -04:00
border-bottom: 1px solid @accent-color-secondary!important;
color: @accent-color-secondary!important;
}
}
.tab-content:extend(.container) {
background-color: transparent!important;
border: none!important;
}
}