fix(uploadings_panel): normalize styles and clean up

This commit is contained in:
hexxa 2022-03-18 19:26:37 +08:00 committed by Hexxa
parent e013acadfe
commit d022ea064d
6 changed files with 134 additions and 178 deletions

View file

@ -441,7 +441,7 @@
.title-l {
font-size: 1.8rem;
font-weight: bold;
line-height: 2.5rem;
line-height: 3.2rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@ -451,7 +451,7 @@
.desc-l {
font-size: 1.2rem;
line-height: 2rem;
line-height: 3.2rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@ -461,7 +461,7 @@
.title-m {
font-size: 1.4rem;
line-height: 2rem;
line-height: 3.2rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@ -471,7 +471,7 @@
.title-m-wrap {
font-size: 1.4rem;
line-height: 2rem;
line-height: 3.2rem;
overflow: hidden;
overflow-wrap: break-word;
display: block;
@ -479,7 +479,7 @@
.desc-m {
font-size: 1.2rem;
line-height: 2rem;
line-height: 3.2rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;

View file

@ -22,9 +22,6 @@ html {
"Arial", sans-serif;
font-size: 62.5%;
}
body {
line-height: 200%;
}
*:focus {
outline: none;
}
@ -68,16 +65,12 @@ table {
}
input {
font-size: 1.4rem;
font-size: 1.2rem;
line-height: 1.4rem;
height: 1.4rem;
font-weight: bold;
border: none;
padding: 0.8rem 1rem;
width: 10rem;
border: solid 1px #95a5a6;
border-radius: 0.5rem;
transition: opacity 300ms, box-shadow 300ms;
}
@ -87,13 +80,14 @@ input:focus {
button {
cursor: pointer;
font-size: 1.2rem;
line-height: 1.2rem;
padding: 1rem 1rem;
font-weight: bold;
border: none;
border-radius: 0.5rem;
outline: none;
padding: 0.8rem 1rem;
font-weight: bold;
border-radius: 0.5rem;
transition: opacity 300ms;
}

View file

@ -180,11 +180,7 @@ input:focus {
height: 4rem;
}
.theme-default #space-used {
text-align: right;
line-height: 3rem;
font-size: 1.4rem;
}
.container {
width: 100%;
@ -203,10 +199,7 @@ input:focus {
margin-right: 0;
} */
.theme-default .select-btn {
width: 8rem;
display: inline-block;
}
.theme-default #op-bar {
}
@ -340,40 +333,6 @@ input:focus {
padding: 0 1rem;
}
.theme-default #upload-list .info {
display: inline-block;
width: 70%;
}
.theme-default #upload-list .op {
display: inline-block;
width: 30%;
text-align: right;
}
.theme-default #upload-list .title {
font-size: 1.4rem;
line-height: 4rem;
overflow-wrap: break-word;
}
.theme-default #upload-list .desc {
font-size: 1.2rem;
line-height: 4rem;
overflow-wrap: break-word;
}
.theme-default #upload-list .progress-grey {
background-color: #ecf0f6;
width: 100%;
height: 0.3rem;
}
.theme-default #upload-list .progress-green {
background-color: #1abc9c;
height: 100%;
}
.theme-default .upload-item {
padding: 1rem 0 1rem 0;
}
@ -566,7 +525,6 @@ input:focus {
color: #34495e;
background-color: #ecf0f6;
border: solid 1px #95a5a6;
/* margin: 0.5rem 0 1rem 0; */
}
.theme-default .h1,
@ -610,10 +568,6 @@ input:focus {
line-height: 3rem;
}
.theme-default button {
font-size: 1.2rem;
}
.theme-default .button-default {
color: #697384;
background-color: #ecf0f6;
@ -627,10 +581,3 @@ input:focus {
width: 48rem;
}
.theme-default .badge {
border: none;
border-radius: 0.5rem;
font-weight: bold;
font-size: 1.2rem;
padding: 0.8rem 1rem;
}

View file

@ -66,3 +66,48 @@
line-height: 3rem;
font-size: 1.4rem;
}
.theme-default .badge {
border: none;
border-radius: 0.5rem;
font-weight: bold;
font-size: 1.2rem;
padding: 1rem 1rem;
line-height: 1.2rem;
display: inline-block;
}
.theme-default #upload-list .progress-grey {
background-color: #ecf0f6;
width: 100%;
height: 0.3rem;
}
.theme-default #upload-list .progress-green {
background-color: #1abc9c;
height: 100%;
transition: width 300ms;
}
.theme-default #upload-list .info {
display: inline-block;
width: 70%;
}
.theme-default #upload-list .op {
display: inline-block;
width: 30%;
text-align: right;
}
.theme-default #upload-list .title {
font-size: 1.4rem;
line-height: 3.2rem;
overflow-wrap: break-word;
}
.theme-default #upload-list .desc {
font-size: 1.2rem;
line-height: 3.2rem;
overflow-wrap: break-word;
}