2018-09-12 09:54:09 -04:00
|
|
|
.ol-tabs {
|
|
|
|
// Overrides for nav.less
|
|
|
|
.nav-tabs {
|
2019-12-05 14:09:31 -05:00
|
|
|
border: 0 !important;
|
2018-09-21 18:11:47 -04:00
|
|
|
margin-bottom: 0;
|
2018-09-12 09:54:09 -04:00
|
|
|
margin-top: -@line-height-computed; //- adjusted for portal-name
|
|
|
|
padding: @padding-lg 0 @padding-md;
|
|
|
|
text-align: center;
|
2018-09-24 10:59:22 -04:00
|
|
|
}
|
2018-09-12 09:54:09 -04:00
|
|
|
|
2018-09-24 10:59:22 -04:00
|
|
|
.nav-tabs > li {
|
|
|
|
display: inline-block;
|
|
|
|
float: none;
|
2018-09-20 09:53:23 -04:00
|
|
|
a {
|
2018-09-24 10:59:22 -04:00
|
|
|
border: 0;
|
2018-09-24 17:05:28 -04:00
|
|
|
color: @link-color-alt;
|
2019-12-05 14:09:31 -05:00
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background-color: transparent !important;
|
2018-11-30 08:03:35 -05:00
|
|
|
border: 0;
|
2018-09-27 12:50:38 -04:00
|
|
|
color: @link-hover-color-alt;
|
2018-09-20 09:53:23 -04:00
|
|
|
}
|
2018-09-12 09:54:09 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li.active > a {
|
2019-12-05 14:09:31 -05:00
|
|
|
background-color: transparent !important;
|
|
|
|
border: 0 !important;
|
2018-09-12 09:54:09 -04:00
|
|
|
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;
|
2018-09-12 09:54:09 -04:00
|
|
|
color: @accent-color-secondary!important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tab-content:extend(.container) {
|
2019-12-05 14:09:31 -05:00
|
|
|
background-color: transparent !important;
|
|
|
|
border: none !important;
|
2018-09-12 09:54:09 -04:00
|
|
|
}
|
2018-11-30 08:03:35 -05:00
|
|
|
}
|
2021-09-21 09:46:44 -04:00
|
|
|
|
|
|
|
// Scroll the page up a bit to allow tab links to be shown when navigating to
|
|
|
|
// a bookmarked tab hash
|
|
|
|
[data-ol-bookmarkable-tabset] .tab-pane {
|
|
|
|
scroll-margin-top: calc(
|
|
|
|
@line-height-computed + // Computed text height
|
|
|
|
20px + // nav-link-padding top & bottom
|
|
|
|
@padding-md + // ol-tabs bottom padding
|
|
|
|
(@line-height-computed / 2) // tab-content top padding
|
|
|
|
);
|
|
|
|
}
|