mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-17 21:05:04 -04:00
248fc3699a
* adding classes according to bootstrap 5 tabs * adding JS for tabs handeling in BS5 * adding styling for tabs to match the redesign styling * making sure tabs are being highlighted when active * adding a scroll-margin-top to have some extra space * removing extra import, it is not needed here because we already import it in bootstrap-x.js files * using the media-breakpoint-down for a media query styling * introducing .nav-tabs-container to make the tab triggers horizontally scrollable * creating a mixin box-shadow-button-input under scss for bootstrap-5 * moving border-width-base to tabs.scss * aligning tabs to the left under screen size of 768px * removing focus-style mixin from scss files becuase it was a duplicate GitOrigin-RevId: 45780c62681fc9b61961f5436d2d55de66a976b6
43 lines
868 B
SCSS
43 lines
868 B
SCSS
// TODO: .website-redesign to be removed once fully rolled out
|
|
|
|
.website-redesign {
|
|
// hero section of features, enterprises, and universities will have an image that will overflow the page
|
|
overflow-x: hidden;
|
|
|
|
a {
|
|
text-decoration: none;
|
|
|
|
&:focus,
|
|
&:focus-visible {
|
|
outline: 0;
|
|
}
|
|
|
|
&:focus-visible {
|
|
@include box-shadow-button-input;
|
|
}
|
|
|
|
// TODO: remove visited?
|
|
|
|
i {
|
|
vertical-align: middle;
|
|
margin-left: var(--spacing-02);
|
|
}
|
|
|
|
&.link-lg {
|
|
font-size: var(--font-size-04);
|
|
line-height: var(--line-height-03);
|
|
|
|
i {
|
|
font-size: 24px;
|
|
line-height: inherit;
|
|
}
|
|
}
|
|
}
|
|
|
|
.card {
|
|
--bs-card-bg: var(--neutral-10);
|
|
--bs-card-border-radius: var(--border-radius-large);
|
|
--bs-card-spacer-y: var(--spacing-08);
|
|
--bs-card-spacer-x: var(--spacing-08);
|
|
}
|
|
}
|