mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-02 10:40:53 -05:00
8018bc7249
* running git reset head * renaming the local-mixins file to _plans_faq * removed js to rotate the icon * format:fix * adding aria-hidden for curly braces * removing extra tab space * removing .card.card-body extra class * introducing accordions-container so that we can use the last-child property to remove the border of the last questions * creating new website-redesign-ol-tabs class and adding new styles in this class * adding content for managingYourSubscription and overleafIndividualPlans sections * adding content in overleaf group plans section * removing extra section * running make cleanup_unused_locales * cleaning after rebase * deleting extra variable projectLimits * fixing spaces around curly brackets and some additional changes after rebase GitOrigin-RevId: 3c2267080825d853e680a0a207cb640226262be2
96 lines
2.3 KiB
Text
96 lines
2.3 KiB
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;
|
|
}
|
|
}
|
|
|
|
.website-redesign-ol-tabs {
|
|
// Styling for Website redesign, it will be used in CMS Later on.
|
|
.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: @neutral-70;
|
|
border-bottom: 3px solid @neutral-20 !important;
|
|
margin-right: unset;
|
|
|
|
&:focus,
|
|
&:hover {
|
|
background-color: transparent !important;
|
|
border: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
li.active > a {
|
|
background-color: transparent !important;
|
|
border: 0 !important;
|
|
border-bottom: 3px solid @emerald-green !important;
|
|
color: @neutral-90 !important;
|
|
|
|
&:hover {
|
|
border-bottom: 3px solid @emerald-green !important;
|
|
}
|
|
}
|
|
|
|
.tab-content:extend(.container) {
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
}
|
|
}
|
|
|
|
// 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
|
|
);
|
|
}
|