fix(client/web): refine list layout (#65)

This commit is contained in:
Hexxa 2021-07-24 21:19:23 -05:00 committed by GitHub
parent 81da97650b
commit df46915147
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 226 additions and 121 deletions

View file

@ -54,6 +54,10 @@
color: #27ae60;
}
.green2-font {
color: #15cd3d;
}
.white-font {
color: #fff;
}
@ -94,6 +98,11 @@
background-color: #2980b9;
}
.blue2-bg {
background-color: #2f45c5;
}
.cyan0-bg {
background-color: #1abc9c;
}
@ -130,6 +139,10 @@
background-color: #e67e22;
}
.yellow3-bg {
background-color: #15cd3d;;
}
.yellow3-bg {
background-color: #d35400;
}
@ -142,6 +155,10 @@
background-color: #27ae60;
}
.green2-bg {
background-color: #15cd3d;
}
.white-bg {
background-color: #fff;
}

View file

@ -12,10 +12,48 @@
z-index: 10;
}
.flex-list-container {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
justify-content: flex-start;
}
.flex-list-item {
flex: 1;
display: flex;
align-items: center;
justify-content: flex-start;
}
.flex-list-item-l {
flex: 50%;
display: flex;
align-items: center;
justify-content: flex-start;
}
.flex-list-item-r {
flex: 50%;
display: flex;
align-items: center;
justify-content: flex-end;
}
.flex-list-container .item-name {
line-height: 3rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
overflow-wrap: break-word;
display: block;
}
.container-center {
margin: 2rem auto auto auto;
width: 96%;
max-width: 960px;
max-width: 800px;
z-index: 9;
}
@ -101,6 +139,11 @@
margin-right: 1rem;
}
#item-list .vbar {
overflow: hidden;
margin: 1.5rem 1rem;
}
#item-list .item-name-cell {
max-width: 30%;
}
@ -511,6 +554,14 @@ select {
line-height: 3rem;
}
.vbar {
border-radius: 0.3rem;
height: 6rem;
width: 0.6rem;
display: inline-block;
/* line-height: 4rem; */
}
input.white-square {
border: solid 2px #fff;
background: transparent;
@ -570,13 +621,12 @@ div.hr {
display: inline-block;
}
div.hr {
height: 1px;
background-color: #95a5a6;
margin: 1rem auto 1rem auto;
}
.tail {
#tail {
font-size: 1.2rem;
text-align: center;
margin: 4rem auto;
}
.breadcrumb {
font-size: 1.4rem;
}