Skip to content

Commit d1875aa

Browse files
authored
Start removing tables from forms (hestiacp#2986)
* Disable default browser margin on <h1> * Remove tables on Add Web form * Remove tables on Edit Web form * Improve class naming * Tidy alerts * Remove dead .mode-add class * Remove tables on Add/Edit User forms * Set role attribute on alerts * Remove tables on Add/Edit Mail forms * Fix formatting * Consistently stack "hint" messages So these inputs can eventually be full width. * Remove tables on Add/Edit Database forms
1 parent 9ec5235 commit d1875aa

40 files changed

+1587
-2126
lines changed

web/css/src/themes/default.css

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ body {
196196
background: radial-gradient(circle, rgb(102 158 231 / 100%) 0%, rgb(43 86 177 / 100%) 100%) !important;
197197
}
198198

199+
h1,
199200
p,
200201
pre {
201202
margin: 0;
@@ -530,9 +531,8 @@ a {
530531
}
531532

532533
.alert {
533-
border-radius: 4px;
534534
box-sizing: border-box;
535-
display: block;
535+
border-radius: 4px;
536536
font-size: 0.8rem;
537537
font-weight: 400;
538538
padding: 0.8rem;
@@ -596,10 +596,6 @@ a {
596596
color: #fff;
597597
}
598598

599-
form#vstobjects .alert {
600-
width: 380px;
601-
}
602-
603599
.app-list.cards {
604600
display: flex;
605601
flex-wrap: wrap;
@@ -2865,9 +2861,8 @@ a.button.cancel {
28652861
.page-title {
28662862
font-size: 1.4rem !important;
28672863
font-weight: 500 !important;
2868-
padding-bottom: 30px !important;
2864+
padding-bottom: 10px !important;
28692865
letter-spacing: -0.01em;
2870-
cursor: default;
28712866
}
28722867

28732868
.section-title {
@@ -3866,6 +3861,10 @@ li[aria-expanded="true"] a {
38663861
margin-left: 10px !important;
38673862
}
38683863

3864+
.u-mb5 {
3865+
margin-bottom: 5px !important;
3866+
}
3867+
38693868
.u-mb10 {
38703869
margin-bottom: 10px !important;
38713870
}

web/css/src/themes/flat.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ strong {
168168
}
169169

170170
.alert {
171-
text-shadow: none !important;
172-
box-shadow: none !important;
171+
text-shadow: none;
172+
box-shadow: none;
173173
}
174174

175175
.pill.usage {

web/css/src/themes/vestia.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ strong {
237237
}
238238

239239
.alert {
240-
text-shadow: none !important;
241-
box-shadow: none !important;
240+
text-shadow: none;
241+
box-shadow: none;
242242
}
243243

244244
.pill.usage {

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)