Skip to content

Commit bcfb77a

Browse files
committed
feat(tpl): move upload progress to viewport top
1 parent 836c6af commit bcfb77a

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/tpl/frontend/index.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ body {
1414
font-variant-ligatures: none;
1515
font-kerning: none;
1616
hyphens: none;
17-
padding-bottom: 1em;
17+
padding-bottom: 2em;
1818
}
1919

2020
body, input, textarea, button {
@@ -69,6 +69,13 @@ button {
6969
cursor: pointer;
7070
}
7171

72+
input:disabled[type=button],
73+
input:disabled[type=submit],
74+
input:disabled[type=reset],
75+
button:disabled {
76+
cursor: default;
77+
}
78+
7279
em {
7380
font-style: normal;
7481
font-weight: normal;
@@ -219,13 +226,14 @@ html.dragging::before {
219226
}
220227

221228
.upload button .progress {
222-
position: absolute;
229+
position: fixed;
223230
left: 0;
224231
top: 0;
225-
bottom: 0;
226232
width: 0;
233+
height: 4px;
227234
opacity: 0.5;
228235
background: #c9c;
236+
pointer-events: none;
229237
}
230238

231239
.archive {

0 commit comments

Comments
 (0)