overleaf/services/web/frontend/stylesheets/bootstrap-5/pages/website-redesign.scss
Davinder Singh 4c2425fe25 Premium Badge - BS5 migration (#20496)
* migrating premium badge to BS5 and changing the unit test

* fixing unit test

* using badge badge-prepend classes for the premium badge

* fixing unit test

* adding font-weight variable

* removing unused CSS

* adding aria-hidden

GitOrigin-RevId: a1ab2eeedd95ee500c21607abd09a0a8a07289f0
2024-09-25 08:05:33 +00:00

47 lines
922 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);
}
.badge-premium {
--badge-font-weight: 600;
}
}