fix(panel_files): add column layout as the only view

This commit is contained in:
hexxa 2022-03-14 20:50:48 +08:00 committed by Hexxa
parent 1b4dec878b
commit ffe3922916
4 changed files with 125 additions and 237 deletions

View file

@ -461,7 +461,6 @@
.title-m {
font-size: 1.4rem;
/* font-weight: bold; */
line-height: 2rem;
overflow: hidden;
white-space: nowrap;
@ -470,6 +469,14 @@
display: block;
}
.title-m-wrap {
font-size: 1.4rem;
line-height: 2rem;
overflow: hidden;
overflow-wrap: break-word;
display: block;
}
.desc-m {
font-size: 1.2rem;
line-height: 2rem;
@ -491,6 +498,13 @@
justify-content: flex-start;
}
.v-mid-r {
display: flex;
flex: 0 0 auto;
align-items: center;
justify-content: flex-end;
}
.full-width {
width: 100%;
}
@ -568,3 +582,15 @@
transform: rotate(360deg);
}
}
.float-l {
float: left;
}
.txt-align-l {
text-align: left;
}
.txt-align-r {
text-align: right;
}

View file

@ -14,9 +14,12 @@
color: #f1c40f;
}
.light-bg {
.lightest-bg {
background-color: white;
}
.light-bg {
background-color: #f6f6f6;
}
.normal-bg {
background-color: #ecf0f6;
}
@ -276,7 +279,7 @@ input:focus {
font-size: 1.8rem;
line-height: 2rem;
display: block;
margin: 2rem 0;
/* margin: 2rem 0; */
word-break: break-all;
}
@ -286,6 +289,9 @@ input:focus {
line-height: 2rem;
display: block;
word-break: break-all;
padding: 2rem;
margin-top: 1rem;
border-radius: 0.8rem;
}
.theme-default #item-rows .hr {
@ -503,10 +509,10 @@ input:focus {
margin: auto 1rem auto auto;
}
.theme-default .float-l {
/* .theme-default .float-l {
display: inline-block;
margin: auto 1rem auto auto;
}
} */
.theme-default .float-r {
display: inline-block;
@ -569,7 +575,6 @@ input:focus {
.theme-default .card {
padding: 1rem;
/* background-color: #e8e8e8; */
text-align: center;
border-radius: 0.8rem;
}