Files
Verso/services/web/frontend/stylesheets/components/upgrade-prompt.scss
T
Rebeka Dekany 3f11776ecd Remove LESS stylesheets and dependencies (#27409)
* Remove components, core and modules LESS stylesheets

* Remove variables LESS stylesheets

* Remove app LESS stylesheets

* Remove github-sync, onboarding LESS stylesheets

* Remove main-light and IEEE LESS stylesheets

* Remove Less loader configuration

* Remove bootstrap-3 entrypoint

* Rename bootstrap-5 entrypoint to bootstrap

* Remove bootstrap-5 CSS folder and move stylesheets

* Update CSS variables

* Restore and update github-sync.scss path

* Fix try-premium.scss path and fix undefined mixin error

* Restore entrypoints

* Simplify buildCssPath to always use main-style.css

* Remove less from prettier formatting scripts

* Remove less from addHook extension

* Source format

* Remove nvd3 file reference from prettierignore (equivalent of nvd3.scss)

* Remove less and less-loader

* Add SCSS files to pirates require hook

GitOrigin-RevId: bd83c79f4d6ef7305d75993959a4dc5e7714ef9c
2025-08-06 08:05:38 +00:00

86 lines
1.6 KiB
SCSS

.upgrade-prompt {
border-radius: var(--border-radius-base);
box-shadow: 0 4px 6px 0 #1e25301f;
padding: var(--spacing-06);
background-color: var(--white);
container: inline-size; // Defines the parent as a container
.upgrade-prompt-card-container {
@container (max-width: 700px) {
width: 100%;
}
}
.row {
margin-left: 0;
margin-right: 0;
}
.upgrade-prompt-title {
font-weight: 600;
}
.upgrade-prompt-summary {
margin-bottom: var(--spacing-10);
}
.upgrade-prompt-card {
display: flex;
flex-direction: column;
border-radius: var(--border-radius-medium);
padding: var(--spacing-09);
height: 100%;
font-size: var(--font-size-02);
h3 {
margin: 0;
font-weight: 600;
}
}
.upgrade-prompt-card-premium {
border: 2px solid transparent;
background:
linear-gradient(white, white) padding-box,
var(--premium-gradient) border-box;
}
.upgrade-prompt-card-free {
border: 2px solid var(--border-divider);
}
.upgrade-prompt-price {
margin-bottom: var(--spacing-05);
}
.upgrade-prompt-price-number {
@include heading-xl;
font-weight: 600;
}
.upgrade-prompt-list {
margin-bottom: var(--spacing-08);
& .material-symbols {
vertical-align: bottom;
}
& li:not(:last-of-type) {
margin-bottom: var(--spacing-05);
}
}
.upgrade-prompt-all-plans {
@include body-xs;
margin-top: var(--spacing-07);
margin-bottom: 0;
& .material-symbols {
vertical-align: bottom;
font-size: var(--font-size-02);
}
}
}