Skip to content

Commit 963c9f2

Browse files
authored
Centre align forms (hestiacp#3065)
1 parent f3d1170 commit 963c9f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+3194
-3296
lines changed

web/css/src/base.css

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,6 @@ pre {
4646
margin: 0;
4747
}
4848

49-
dialog {
50-
position: fixed;
51-
padding: 0;
52-
53-
&::backdrop {
54-
background-color: rgb(0 0 0 / 60%);
55-
}
56-
}
57-
58-
summary {
59-
list-style: none;
60-
61-
&::-webkit-details-marker {
62-
display: none;
63-
}
64-
}
65-
6649
ol,
6750
ul {
6851
list-style: none;
@@ -79,3 +62,25 @@ table {
7962
border-collapse: collapse;
8063
border-spacing: 0;
8164
}
65+
66+
textarea {
67+
resize: vertical;
68+
min-height: 60px;
69+
}
70+
71+
dialog {
72+
position: fixed;
73+
padding: 0;
74+
75+
&::backdrop {
76+
background-color: rgb(0 0 0 / 60%);
77+
}
78+
}
79+
80+
summary {
81+
list-style: none;
82+
83+
&::-webkit-details-marker {
84+
display: none;
85+
}
86+
}

web/css/src/themes/dark.css

Lines changed: 17 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -159,29 +159,10 @@ strong {
159159
box-shadow:
160160
0 1px 4px rgb(0 0 0 / 20%),
161161
inset 0 0 60px rgb(0 0 0 / 25%);
162-
}
163-
164-
.card.disable {
165-
}
166-
167-
.card.disable .card-thumb {
168-
}
169-
170-
.card .card-details {
171-
}
172162

173-
.card .card-details p {
174-
color: #bdbdbd;
175-
}
176-
177-
.card p.card-title {
178-
color: #fafafa;
179-
}
180-
181-
.card .card-thumb {
182-
}
183-
184-
.card .card-thumb img {
163+
& p.card-title {
164+
color: #fafafa;
165+
}
185166
}
186167

187168
.l-stat {
@@ -369,21 +350,21 @@ strong {
369350
}
370351

371352
.table-header {
372-
background: #404040 !important;
373-
border-left: 1px solid #212121 !important;
374-
border-right: 1px solid #212121 !important;
375-
border-bottom: 1px solid #212121 !important;
353+
background: #404040;
354+
border-left: 1px solid #212121;
355+
border-right: 1px solid #212121;
356+
border-bottom: 1px solid #212121;
376357
text-shadow: 0 1px rgb(0 0 0 / 95%);
377-
border-bottom-left-radius: 0 !important;
378-
border-bottom-right-radius: 0 !important;
358+
border-bottom-left-radius: 0;
359+
border-bottom-right-radius: 0;
379360
color: #dadada;
380-
box-shadow: inset 0 1px 1px rgb(0 0 0 / 30%) !important;
361+
box-shadow: inset 0 1px 1px rgb(0 0 0 / 30%);
381362

382363
&:hover {
383-
background-color: #404040 !important;
384-
border-left: 1px solid #212121 !important;
385-
border-right: 1px solid #212121 !important;
386-
box-shadow: inset 0 1px 1px rgb(0 0 0 / 30%) !important;
364+
background-color: #404040;
365+
border-left: 1px solid #212121;
366+
border-right: 1px solid #212121;
367+
box-shadow: inset 0 1px 1px rgb(0 0 0 / 30%);
387368
}
388369
}
389370

@@ -770,10 +751,6 @@ textarea:focus::placeholder {
770751

771752
}
772753

773-
.mail-infoblock-td {
774-
775-
}
776-
777754
.mail-infoblock {
778755
color: #fff;
779756
border: 1px solid #606060;
@@ -799,10 +776,10 @@ textarea:focus::placeholder {
799776

800777
.mail-infoblock a {
801778
color: #52b9ff;
802-
}
803779

804-
.mail-infoblock a:hover {
805-
color: #ff3478;
780+
&:hover {
781+
color: #ff3478;
782+
}
806783
}
807784

808785
.additional-info {

0 commit comments

Comments
 (0)