Skip to content

Commit cc5034c

Browse files
authored
Select css update
1 parent 5deca53 commit cc5034c

File tree

2 files changed

+42
-34
lines changed

2 files changed

+42
-34
lines changed

input/css/input-root.css

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
:root {
22
color-scheme: light;
3-
--wow-font-size: 20px;
3+
--wow-font-family: var(--font-family);
4+
--wow-font-size: 18px;
45
--wow-bg: #fff;
56
--wow-input-bg: #f6f6f6;
67
--wow-accent: #024ef9;
78
--wow-accent-light: #024ef922;
89
--wow-color: #272848;
910
--wow-label: #272848; /* #79848f; #1d1d27; */
10-
--wow-placeholder: #dfe0ea; /* #7e7e90; */
11+
--wow-placeholder: #7e7e90; /* #dfe0ea; #7e7e90; */
1112
--wow-border: #e2e3ee;
1213
--wow-padding: 1em 1.3em;
1314
--wow-border-radius: 10px;
@@ -21,14 +22,14 @@
2122
@media (prefers-color-scheme: dark) {
2223
:root {
2324
color-scheme: dark;
24-
--wow-bg: #262833;
25-
--wow-input-bg: #242732;
25+
--wow-bg: #1e2128;
26+
--wow-input-bg: #22252c;
2627
--wow-accent: #024ef9;
2728
--wow-accent-light: #024ef922;
2829
--wow-color: #ffffff;
29-
--wow-label: #79848f;
30+
--wow-label: #ebebec;
3031
--wow-placeholder: #353842;
31-
--wow-border: #353842;
32+
--wow-border: #303038;
3233
--wow-padding: 1em 1.3em;
3334
--wow-border-radius: 10px;
3435
--wow-border-hover: #2d2f36;
@@ -37,11 +38,6 @@
3738
--wow-scroll-bg: #22242e;
3839
--wow-icon: #353842;
3940
}
40-
41-
html,
42-
body {
43-
background: var(--wow-bg);
44-
}
4541
}
4642

4743
[color-scheme='light'] {
@@ -65,14 +61,14 @@
6561

6662
[color-scheme='dark'] {
6763
color-scheme: dark;
68-
--wow-bg: #262833;
69-
--wow-input-bg: #242732;
64+
--wow-bg: #1e2128;
65+
--wow-input-bg: #22252c;
7066
--wow-accent: #024ef9;
7167
--wow-accent-light: #024ef922;
7268
--wow-color: #ffffff;
73-
--wow-label: #79848f;
69+
--wow-label: #ebebec;
7470
--wow-placeholder: #353842;
75-
--wow-border: #353842;
71+
--wow-border: #303038;
7672
--wow-padding: 1em 1.3em;
7773
--wow-border-radius: 10px;
7874
--wow-border-hover: #2d2f36;
@@ -84,13 +80,13 @@
8480

8581
@media (max-width: 1600px) {
8682
:root {
87-
--wow-font-size: 18px;
83+
--wow-font-size: 16px;
8884
}
8985
}
9086

9187
@media (max-width: 1280px) {
9288
:root {
93-
--wow-font-size: 16px;
89+
--wow-font-size: 14px;
9490
}
9591
}
9692

@@ -111,3 +107,7 @@
111107
label i {
112108
float: right;
113109
}
110+
111+
h1.full {
112+
text-align: left;
113+
}

input/css/input.css

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ label {
1616
float: left;
1717
width: 100%;
1818
background: transparent;
19-
margin-bottom: 13px;
20-
margin-bottom: 10px;
2119
font-weight: 600;
22-
font-size: 0.9em;
20+
font-size: 1em;
21+
line-height: 2.5;
2322
color: var(--wow-label);
2423
}
2524

@@ -37,6 +36,7 @@ textarea {
3736
border-radius: var(--wow-border-radius);
3837
border: 1px solid var(--wow-border);
3938
background: var(--wow-input-bg);
39+
font-family: var(--wow-font-family);
4040
}
4141

4242
input:hover,
@@ -76,10 +76,10 @@ option {
7676

7777
.password-helper {
7878
position: absolute;
79-
width: 250px;
79+
width: 230px;
8080
right: 0px;
81-
top: -155px;
82-
padding: 20px;
81+
top: -100px;
82+
padding: 10px;
8383
background: var(--wow-bg);
8484
border: 1px solid var(--wow-border);
8585
box-shadow: 0px 1px 3px rgb(0, 0, 0, 0.1);
@@ -93,7 +93,7 @@ option {
9393
display: flex;
9494
align-items: center;
9595
margin-bottom: 3px;
96-
font-size: 12px !important;
96+
font-size: 11px !important;
9797
}
9898

9999
.password-helper-hidden {
@@ -106,15 +106,13 @@ option {
106106
stroke: currentColor;
107107
border-radius: 50%;
108108
padding: 1px;
109-
width: 24px;
110-
height: 24px;
111-
background: #d50012;
112-
color: #fff;
109+
width: 14px;
110+
height: 14px;
111+
color: #d50012;
113112
}
114113

115114
.password-helper .green {
116-
color: #fff;
117-
background: #55cc55;
115+
color: #55cc55;
118116
}
119117

120118
.pass-box {
@@ -247,13 +245,14 @@ option {
247245

248246
.custom-select .items {
249247
color: var(--wow-color);
250-
max-height: 350px;
248+
max-height: 200px;
249+
min-height: 200px;
251250
width: 100%;
252251
overflow-y: auto;
253252
box-sizing: border-box;
254253
scrollbar-width: thin;
255254
scrollbar-color: var(--wow-scroll-thumb) var(--wow-scroll-bg);
256-
z-index: 0;
255+
z-index: 1;
257256
}
258257

259258
.custom-select .items::-webkit-scrollbar {
@@ -270,7 +269,8 @@ option {
270269
padding: var(--wow-padding);
271270
cursor: pointer;
272271
user-select: none;
273-
font-size: 0.9em;
272+
font-size: 1em;
273+
font-weight: 400;
274274
}
275275

276276
.custom-select .items div:hover {
@@ -282,10 +282,18 @@ option {
282282
background: var(--wow-accent);
283283
}
284284

285-
.selectHide {
285+
.selectHide-old {
286286
display: none;
287287
}
288288

289+
.custom-select .rounded {
290+
display: none;
291+
}
292+
293+
.custom-select-open .rounded {
294+
display: inherit !important;
295+
}
296+
289297
.highlight {
290298
align-items: center;
291299
background: var(--wow-accent-light);

0 commit comments

Comments
 (0)