overleaf-cep/services/web/frontend/stylesheets/bootstrap-5/modules/metrics/admin-hub.scss
Antoine Clausse ab19b01d43 [web] Migrate metrics module Pug files to Bootstrap 5 (2) (#26199)
* Reapply "[web] Migrate metrics module Pug files to Bootstrap 5 (#25745)"

This reverts commit 0962383998f29313cc1fa33b98255a38896738a0.

* Remove foot-scripts from metricsApp.pug

* Fix loading-overlay position

* Hide carets on print display

* Fix Dropdown

* Fix Tooltips

GitOrigin-RevId: 754d9a004f7b476578ee20565203aef98b08bbf4
2025-06-12 08:05:16 +00:00

93 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;
}
}