Files
overleaf-cep/services/web/frontend/stylesheets/modules/metrics/admin-hub.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

94 lines
1.3 KiB
SCSS

.hub-header {
h2 {
display: inline-block;
}
.dropdown {
margin-right: var(--spacing-04);
}
}
.admin-item {
position: relative;
margin-bottom: var(--spacing-12);
.section-title {
text-transform: capitalize;
}
.alert-danger {
color: var(--content-danger);
}
}
.hidden-chart-section {
display: none;
}
.hub-circle {
display: inline-block;
background-color: var(--green-70);
border-radius: 50%;
width: 160px;
height: 160px;
text-align: center;
padding-top: 50px;
color: white;
}
.hub-circle-number {
display: block;
font-size: 36px;
font-weight: 900;
line-height: 1;
}
.hub-big-number {
float: left;
font-size: 32px;
font-weight: 900;
line-height: 40px;
color: var(--green-70);
}
.hub-big-number,
.hub-number-label {
display: block;
}
.hub-metric-link {
position: absolute;
top: 9px;
right: 0;
i {
margin-right: 5px;
}
}
.custom-donut-container {
svg {
max-width: 700px;
margin: auto;
}
.chart-center-text {
font-family: $font-family-sans-serif;
font-size: 40px;
font-weight: bold;
fill: var(--green-70);
text-anchor: middle;
}
.nv-legend-text {
font-family: $font-family-sans-serif;
font-size: 14px;
}
}
.chart-no-center-text {
.chart-center-text {
display: none;
}
}