|
|
@@ -1,45 +1,11 @@
|
|
|
+@use './operations-summary-cards' as summary;
|
|
|
+
|
|
|
/* Page-level layout kept in the global bundle to respect the schedule component style budget. */
|
|
|
app-operations-schedule.schedule-ui {
|
|
|
/* Overview first: the range count anchors the page, while the other figures stay quiet. */
|
|
|
.page-header { margin-bottom: 18px; }
|
|
|
.page-header p { margin: 0; color: #347a64; font-size: 12px; font-weight: 800; letter-spacing: .03em; }
|
|
|
-.summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
|
|
|
-.summary-card {
|
|
|
- display: grid;
|
|
|
- grid-template-columns: minmax(0, 1fr) auto;
|
|
|
- grid-template-rows: auto 1fr;
|
|
|
- align-items: center;
|
|
|
- column-gap: 12px;
|
|
|
- min-width: 0;
|
|
|
- min-height: 124px;
|
|
|
- padding: 16px 18px;
|
|
|
- border-color: #dbe8e2;
|
|
|
- box-shadow: 0 6px 18px rgba(31, 67, 55, .035);
|
|
|
-}
|
|
|
-.summary-card span { grid-column: 1; grid-row: 1; color: #657b70; font-weight: 750; }
|
|
|
-.summary-grid .summary-card strong { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: center; color: #21493c; font-size: clamp(40px, 3vw, 56px) !important; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
|
-.summary-card small { grid-column: 1; grid-row: 2; align-self: end; min-height: 16px; line-height: 1.35; }
|
|
|
-.summary-card-primary {
|
|
|
- position: relative;
|
|
|
- isolation: isolate;
|
|
|
- overflow: hidden;
|
|
|
- border-color: #176c55;
|
|
|
- background: linear-gradient(118deg, #145944, #1d7860);
|
|
|
- box-shadow: 0 10px 24px rgba(23, 108, 85, .16);
|
|
|
-}
|
|
|
-.summary-card-primary::after {
|
|
|
- content: '';
|
|
|
- position: absolute;
|
|
|
- z-index: -1;
|
|
|
- width: 176px;
|
|
|
- height: 176px;
|
|
|
- right: -48px;
|
|
|
- top: -99px;
|
|
|
- border: 27px solid rgba(255, 255, 255, .1);
|
|
|
- border-radius: 50%;
|
|
|
-}
|
|
|
-.summary-card-primary.summary-card-primary span, .summary-card-primary.summary-card-primary strong { color: #fff; }
|
|
|
-.summary-card-primary.summary-card-primary small { color: #c9e5d9; }
|
|
|
+@include summary.cards;
|
|
|
|
|
|
.schedule-planner {
|
|
|
margin-bottom: 14px;
|
|
|
@@ -117,9 +83,6 @@ app-operations-schedule.schedule-ui {
|
|
|
.schedule-workflow[open] > summary { border-bottom: 1px solid #e8efec; }
|
|
|
.schedule-workflow > summary:focus-visible { outline: 3px solid rgba(31, 130, 98, .25); outline-offset: -3px; }
|
|
|
|
|
|
-@media (max-width: 1300px) {
|
|
|
- .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
|
-}
|
|
|
|
|
|
@media (max-width: 1200px) and (min-width: 701px) {
|
|
|
.schedule-planner .toolbar { grid-template-columns: 190px 44px minmax(190px, 1fr) 44px; }
|
|
|
@@ -130,12 +93,6 @@ app-operations-schedule.schedule-ui {
|
|
|
}
|
|
|
|
|
|
@media (max-width: 700px) {
|
|
|
- .summary-grid { gap: 10px; margin-bottom: 12px; }
|
|
|
- .summary-card { min-height: 96px; padding: 14px; }
|
|
|
- .summary-card:first-child { grid-column: 1 / -1; }
|
|
|
- .summary-grid .summary-card strong { font-size: clamp(34px, 8vw, 44px) !important; }
|
|
|
- .summary-card:last-child { min-height: 82px; }
|
|
|
- .summary-grid .summary-card:last-child strong { font-size: clamp(36px, 8vw, 44px) !important; }
|
|
|
.planner-heading { align-items: flex-start; flex-wrap: wrap; padding: 13px 14px 0; }
|
|
|
.planner-heading > div:first-child { display: grid; gap: 3px; }
|
|
|
.planner-meta { justify-content: flex-start; }
|
|
|
@@ -151,3 +108,7 @@ app-operations-schedule.schedule-ui {
|
|
|
.schedule-workflow > summary > span:first-child { display: grid; gap: 3px; }
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+app-support-requests.support-ui {
|
|
|
+ @include summary.cards;
|
|
|
+}
|