Skip to content

Commit a00fd12

Browse files
authored
Remove tables from login pages (hestiacp#3006)
1 parent 0175889 commit a00fd12

File tree

17 files changed

+289
-509
lines changed

17 files changed

+289
-509
lines changed

web/css/src/themes/dark.css

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -598,10 +598,6 @@ div.l-content > div.l-separator:nth-of-type(4) {
598598
.vst-ok a:active {
599599
}
600600

601-
.login-box td {
602-
color: #d4d4d4;
603-
}
604-
605601
.form-label,
606602
.form-check label {
607603
color: #d4d4d4;
@@ -734,7 +730,7 @@ a.vst-text:active b {
734730
text-transform: none !important;
735731
}
736732

737-
.login-box .vst-advanced:hover {
733+
.login .vst-advanced:hover {
738734
color: #ff3478 !important;
739735
background-color: transparent;
740736
border-color: transparent;
@@ -743,7 +739,7 @@ a.vst-text:active b {
743739
box-shadow: none !important;
744740
}
745741

746-
.login-box .vst-advanced:active {
742+
.login .vst-advanced:active {
747743
color: #be1f54 !important;
748744
border: none !important;
749745
background: none !important;
@@ -757,15 +753,15 @@ a.vst-text:active b {
757753
text-decoration: none;
758754
}
759755

760-
.login-box .vst-advanced:active,
756+
.login .vst-advanced:active,
761757
.vst-advanced:active {
762758
color: #fff;
763759
background-color: #be1f54;
764760
border-color: #be1f54;
765761
text-decoration: none;
766762
}
767763

768-
.login-box .vst-advanced {
764+
.login .vst-advanced {
769765
border-bottom: none;
770766
color: #326b9b;
771767
font-size: 0.85em !important;
@@ -1035,11 +1031,15 @@ a.button.cancel {
10351031

10361032
.login {
10371033
background-color: #282828;
1038-
box-shadow: 0 8px 25px rgb(0 0 0 / 30%), inset 0 0 2px rgb(0 0 0 / 25%) !important;
1034+
box-shadow: 0 8px 25px rgb(0 0 0 / 30%), inset 0 0 2px rgb(0 0 0 / 25%);
10391035
}
10401036

1041-
.login-welcome {
1042-
color: #fff !important;
1037+
.login-title {
1038+
color: #fff;
1039+
}
1040+
1041+
.login a.error {
1042+
color: #f864fa;
10431043
}
10441044

10451045
.form-title {
@@ -1055,10 +1055,6 @@ a.button.cancel {
10551055
box-shadow: 0 1px 4px rgb(0 0 0 / 35%);
10561056
}
10571057

1058-
.login a.error {
1059-
color: #f864fa;
1060-
}
1061-
10621058
.hestiacp {
10631059

10641060
}
@@ -1071,10 +1067,6 @@ a.button.cancel {
10711067
color: #ff3478;
10721068
}
10731069

1074-
.login-bottom {
1075-
1076-
}
1077-
10781070
.l-unit.selected {
10791071
background-color: #454545;
10801072
color: #d4d4d4;

web/css/src/themes/default.css

Lines changed: 21 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,8 @@ div.l-content > div.l-separator:nth-of-type(4) {
10491049
.body-login,
10501050
.body-reset {
10511051
height: auto;
1052+
display: flex;
1053+
justify-content: center;
10521054
padding-top: 10%;
10531055
background: rgb(102 158 231) !important;
10541056
background: radial-gradient(circle, rgb(102 158 231 / 100%) 0%, rgb(43 86 177 / 100%) 100%) !important;
@@ -2158,13 +2160,6 @@ body.mobile .l-icon-shortcuts {
21582160
color: #d53067;
21592161
}
21602162

2161-
.login-box td {
2162-
color: #4b4b4b;
2163-
font-size: 0.85rem;
2164-
padding-bottom: 4px;
2165-
font-weight: 600;
2166-
}
2167-
21682163
.jump-top {
21692164
margin-top: -60px;
21702165
}
@@ -2351,7 +2346,7 @@ a.vst-text:active b {
23512346
text-transform: none;
23522347
}
23532348

2354-
.login-box .vst-advanced:hover {
2349+
.login .vst-advanced:hover {
23552350
color: #c36;
23562351
background-color: transparent;
23572352
border-color: transparent;
@@ -2368,7 +2363,7 @@ a.vst-text:active b {
23682363
text-decoration: none;
23692364
}
23702365

2371-
.login-box .vst-advanced:active {
2366+
.login .vst-advanced:active {
23722367
color: #fff;
23732368
background-color: #f7d616;
23742369
border-color: #f7d616;
@@ -2383,7 +2378,7 @@ a.vst-text:active b {
23832378
font-size: unset;
23842379
}
23852380

2386-
.login-box .vst-advanced {
2381+
.login .vst-advanced {
23872382
border-bottom: none;
23882383
color: #326b9b;
23892384
text-decoration: none;
@@ -2759,13 +2754,25 @@ a.button.cancel {
27592754
}
27602755

27612756
.login {
2757+
display: flex;
2758+
padding: 80px 50px;
27622759
background-color: rgb(255 255 255 / 70%);
2760+
border-radius: 6px;
27632761
box-shadow:
27642762
0 8px 25px rgb(0 0 0 / 30%),
27652763
inset 0 0 2px rgb(255 255 255 / 100%);
2766-
vertical-align: top;
2767-
width: 500px;
2768-
border-radius: 6px;
2764+
}
2765+
2766+
.login-title {
2767+
color: #4b4b4b;
2768+
font-size: 1.05rem;
2769+
font-weight: 500;
2770+
margin-bottom: 30px;
2771+
}
2772+
2773+
.login a.error {
2774+
color: #be5abf;
2775+
font-size: 0.8rem;
27692776
}
27702777

27712778
.login .form-control {
@@ -2776,13 +2783,8 @@ a.button.cancel {
27762783
font-size: 0.8rem !important;
27772784
}
27782785

2779-
.login-welcome {
2780-
font-size: 1.05rem !important;
2781-
font-weight: 500 !important;
2782-
padding-bottom: 30px !important;
2783-
}
2784-
27852786
.form-title {
2787+
color: #4b4b4b;
27862788
font-size: 1.4rem;
27872789
font-weight: 500;
27882790
padding-bottom: 30px;
@@ -2812,11 +2814,6 @@ a.button.cancel {
28122814
box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
28132815
}
28142816

2815-
.login a.error {
2816-
color: #be5abf;
2817-
font-size: 0.8rem;
2818-
}
2819-
28202817
.hestiacp {
28212818
color: #505050;
28222819
}
@@ -2829,14 +2826,6 @@ a.button.cancel {
28292826
color: #c36;
28302827
}
28312828

2832-
.login-bottom {
2833-
height: 60px;
2834-
text-align: right;
2835-
vertical-align: top;
2836-
font-size: 0.75rem !important;
2837-
margin-right: 65px;
2838-
}
2839-
28402829
.l-unit.selected {
28412830
background-color: #f8f8f8;
28422831
color: #4b4b4b;
@@ -3865,11 +3854,6 @@ li[aria-expanded="true"] a {
38653854
padding-left: 40px !important;
38663855
}
38673856

3868-
.u-flex-align-center {
3869-
display: flex !important;
3870-
justify-content: center !important;
3871-
}
3872-
38733857
.u-console {
38743858
font-family: Inconsolata, "Lucida Console", Monaco, monospace !important;
38753859
white-space: pre !important;

web/css/src/themes/flat.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ strong {
193193
}
194194

195195
.login {
196-
background-color: rgb(255 255 255 / 80%) !important;
196+
background-color: rgb(255 255 255 / 80%);
197197
box-shadow:
198198
0 2px 10px rgb(0 0 0 / 30%),
199-
inset 0 0 2px rgb(255 255 255 / 100%) !important;
199+
inset 0 0 2px rgb(255 255 255 / 100%);
200200
}

web/css/src/themes/vestia.css

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,7 @@ strong {
254254
background: #fff !important;
255255
}
256256

257-
.login {
258-
background-color: rgb(255 255 255 / 80%) !important;
259-
box-shadow:
260-
0 2px 10px rgb(0 0 0 / 30%),
261-
inset 0 0 2px rgb(255 255 255 / 100%) !important;
262-
}
257+
263258

264259
.form-control,
265260
.form-select {
@@ -661,10 +656,10 @@ a.vst-advanced:focus {
661656
}
662657

663658
.login {
664-
background-color: rgb(255 255 255 / 100%) !important;
665-
box-shadow: 0 2px 5px rgb(0 0 0 / 30%), inset 0 0 2px rgb(255 255 255) !important;
666-
font-family: Arial, Helvetica, sans-serif !important;
667-
border-radius: 0 !important;
659+
background-color: rgb(255 255 255 / 100%);
660+
box-shadow: 0 2px 5px rgb(0 0 0 / 30%), inset 0 0 2px rgb(255 255 255);
661+
font-family: Arial, Helvetica, sans-serif;
662+
border-radius: 0;
668663
}
669664

670665
.body-login,

web/css/themes/dark.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/css/themes/default.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/css/themes/flat.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)