Skip to content

Commit 6757288

Browse files
authored
Consistent overlay styles (hestiacp#3617)
* Consistent overlay styles * Fix missing gutter on stats page (mobile)
1 parent 4e1f0bb commit 6757288

File tree

6 files changed

+37
-6
lines changed

6 files changed

+37
-6
lines changed

docs/.vitepress/theme/components/InstallOptions.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ export default {
292292
padding: 0;
293293
294294
&::backdrop {
295-
background-color: rgb(0 0 0 / 60%);
295+
background-color: rgb(0 0 0 / 50%);
296296
}
297297
}
298298
.modal-close {

web/css/src/base.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ dialog {
113113
padding: 0;
114114

115115
&::backdrop {
116-
background-color: rgb(0 0 0 / 60%);
116+
background-color: rgb(0 0 0 / 50%);
117117
}
118118
}
119119

web/css/src/themes/dark.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,9 @@ strong {
819819
========================================================================== */
820820

821821
.spinner-overlay {
822-
background-color: rgb(0 0 0 / 50%);
822+
& .fas {
823+
box-shadow: 0 8px 25px rgb(0 0 0 / 90%);
824+
}
823825
}
824826

825827
/* Badge component

web/css/src/themes/default.css

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,6 +1437,13 @@
14371437
========================================================================== */
14381438

14391439
.stats {
1440+
padding-left: 20px;
1441+
padding-right: 20px;
1442+
1443+
@media (--viewport-large) {
1444+
padding-left: 0;
1445+
padding-right: 0;
1446+
}
14401447
}
14411448

14421449
.stats-item {
@@ -2397,17 +2404,21 @@
23972404
justify-content: center;
23982405
align-items: center;
23992406
padding: 50px;
2400-
background-color: rgb(0 0 0 / 10%);
2407+
color: #fff;
2408+
background-color: rgb(0 0 0 / 50%);
24012409
font-size: 50px;
24022410
z-index: 4;
24032411
visibility: hidden;
24042412
opacity: 0;
2405-
transition: opacity 0.2s ease, visibility 0s 0.2s;
24062413

24072414
&.active {
24082415
visibility: visible;
24092416
opacity: 1;
2410-
transition: opacity 0.2s ease, visibility 0s 0s;
2417+
}
2418+
2419+
& .fas {
2420+
border-radius: 50%;
2421+
box-shadow: 0 8px 40px 0 rgb(0 0 0 / 35%);
24112422
}
24122423
}
24132424

web/css/src/themes/flat.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,15 @@ strong {
114114
}
115115
}
116116

117+
/* Spinner
118+
========================================================================== */
119+
120+
.spinner-overlay {
121+
& .fas {
122+
box-shadow: 0 2px 11px 0 rgb(0 0 0 / 50%);
123+
}
124+
}
125+
117126
/* Badge component
118127
========================================================================== */
119128

web/css/src/themes/vestia.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,15 @@ strong {
261261
}
262262
}
263263

264+
/* Spinner
265+
========================================================================== */
266+
267+
.spinner-overlay {
268+
& .fas {
269+
box-shadow: 0 2px 11px 0 rgb(0 0 0 / 50%);
270+
}
271+
}
272+
264273
/* Buttons
265274
========================================================================== */
266275

0 commit comments

Comments
 (0)