overleaf/services/web/frontend/stylesheets/components/tabs.less
nate stemen 2d9b089e16 Merge pull request #2401 from overleaf/cmg-ns-pretty-less
Fix inconsistent use of tabs and spaces in less files

GitOrigin-RevId: c69667f0dc6bc70ea3623890e2b2b741e358d454
2019-12-06 04:19:26 +00:00

40 lines
969 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-alt;
&:focus,
&:hover {
background-color: transparent !important;
border: 0;
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 {
border-bottom: 1px solid @accent-color-secondary!important;
color: @accent-color-secondary!important;
}
}
.tab-content:extend(.container) {
background-color: transparent !important;
border: none !important;
}
}