fix(fe): normalize classnames

This commit is contained in:
hexxa 2022-03-15 22:05:20 +08:00 committed by Hexxa
parent 4601ed9f77
commit 7c1bc34c48
6 changed files with 112 additions and 94 deletions

View file

@ -593,4 +593,8 @@
.txt-align-r {
text-align: right;
}
.work-break-all {
word-break: break-all;
}

View file

@ -49,7 +49,6 @@ input:focus {
box-shadow: 0 0.1rem 1rem rgba(22, 160, 133, 0.1);
}
#root-frame {
position: fixed;
left: 0;
@ -181,31 +180,6 @@ input:focus {
height: 4rem;
}
.theme-default #breadcrumb {
width: 100%;
}
.theme-default #breadcrumb .location-item {
margin: 0 0.5rem 0 0;
display: inline-block;
line-height: 3rem;
}
.theme-default #breadcrumb .item {
margin: 0 0.5rem 0 0;
max-width: 6rem;
display: inline-block;
line-height: 3rem;
}
.theme-default #breadcrumb .content {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
overflow-wrap: break-word;
display: block;
}
.theme-default #space-used {
text-align: right;
line-height: 3rem;
@ -273,20 +247,16 @@ input:focus {
margin-top: 2rem;
}
.theme-default #item-rows .name,
/* .theme-default #item-rows .name,
.theme-default #item-rows .name a {
color: #34495e;
font-size: 1.8rem;
line-height: 2rem;
display: block;
/* margin: 2rem 0; */
word-break: break-all;
}
} */
.theme-default #item-rows .desc {
color: #95a5a6;
font-size: 1.4rem;
line-height: 2rem;
display: block;
word-break: break-all;
padding: 2rem;
@ -300,27 +270,10 @@ input:focus {
background-color: #ecf0f1;
}
.theme-default #item-rows .card {
/* .theme-default #item-rows .card {
padding: 0.5rem 0;
text-align: left;
}
.theme-default #item-rows .column {
width: 50%;
max-width: 100%;
float: left;
}
.theme-default #browser .info {
border: dashed 1px #95a5a6;
font-size: 1.4rem;
padding: 1rem;
color: #697384;
margin: 1rem 0 0 0;
background-color: #ecf0f1;
white-space: nowrap;
overflow: auto;
}
} */
.theme-default .qrcode {
padding: 1rem;
@ -372,10 +325,6 @@ input:focus {
border-top: dashed 1px #7f8c8d;
}
.theme-default #browser .item-op {
text-align: right;
}
.theme-default #icon-home {
color: black;
margin-right: 1rem;
@ -529,12 +478,6 @@ input:focus {
color: #7f8c8d;
}
.theme-default .pane-title {
color: black;
font-size: 1.6rem;
line-height: 1.6rem;
}
.theme-default #pane-settings {
/* padding: 2rem; */
}
@ -568,12 +511,6 @@ input:focus {
background-color: #ecf0f1;
}
.theme-default .card {
padding: 1rem;
text-align: center;
border-radius: 0.8rem;
}
.theme-default .key-value {
margin-top: 0.5rem;
}
@ -674,8 +611,11 @@ input:focus {
}
.theme-default button {
color: #697384;
font-size: 1.2rem;
}
.theme-default .button-default {
color: #697384;
background-color: #ecf0f6;
}

View file

@ -0,0 +1,68 @@
.theme-default .card {
padding: 1rem;
border-radius: 0.8rem;
}
.theme-default #item-rows .column {
width: 50%;
max-width: 100%;
float: left;
}
.theme-default #browser .info {
border: dashed 1px #95a5a6;
font-size: 1.4rem;
padding: 1rem;
color: #697384;
margin: 1rem 0 0 0;
background-color: #ecf0f1;
white-space: nowrap;
overflow: auto;
}
.theme-default .pane-title {
color: black;
font-size: 1.6rem;
line-height: 1.6rem;
}
.theme-default #breadcrumb {
width: 100%;
}
.theme-default #breadcrumb .location-item {
margin: 0 0.5rem 0 0;
display: inline-block;
line-height: 3rem;
}
.theme-default #breadcrumb .item {
margin: 0 0.5rem 0 0;
max-width: 6rem;
display: inline-block;
line-height: 3rem;
}
.theme-default #breadcrumb .content {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
overflow-wrap: break-word;
display: block;
}
.theme-default .inline-blocks {
display: inline-block;
margin: auto 1rem auto auto;
}
.theme-default .select-btn {
width: 8rem;
display: inline-block;
}
.theme-default #space-used {
text-align: right;
line-height: 3rem;
font-size: 1.4rem;
}