Files
overleaf-cep/services/web/frontend/stylesheets/pages/error-pages.scss
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

57 lines
1.0 KiB
SCSS

.error-container {
display: flex;
align-items: center;
&.full-height {
margin-top: calc(-1 * ($header-height + var(--spacing-08)) / 2);
}
.error-details {
flex: 1 1 50%;
padding: var(--spacing-08);
max-width: 90%;
@include media-breakpoint-up(sm) {
padding: var(--spacing-11);
}
}
.error-status {
@include heading-lg;
margin-bottom: var(--spacing-08);
color: var(--content-secondary);
}
.error-description {
@include heading-sm;
color: var(--content-disabled-dark);
margin-bottom: var(--spacing-08);
}
.error-box {
background-color: var(--bg-light-tertiary);
padding: var(--spacing-04);
font-family: $font-family-monospace;
margin-bottom: var(--spacing-08);
}
.error-actions {
margin-top: var(--spacing-11);
display: flex;
gap: var(--spacing-06);
}
.error-btn {
@extend .btn;
@extend .btn-primary;
display: block;
@include media-breakpoint-up(sm) {
display: inline-block;
}
}
}