更新样式

This commit is contained in:
邹景立 2023-12-22 23:20:43 +08:00
parent 2d41dfd996
commit 2aeb944c94
3 changed files with 20 additions and 17 deletions

View File

@ -1081,7 +1081,7 @@ button.layui-btn:not([type=button]) {
// 显示删除按钮 // 显示删除按钮
&:hover .image-dialog-item-close { &:hover .image-dialog-item-close {
display: block !important; display: flex !important;
} }
.uploadimage { .uploadimage {
@ -1095,34 +1095,37 @@ button.layui-btn:not([type=button]) {
top: 0; top: 0;
left: 0; left: 0;
right: 0; right: 0;
padding: 2px; padding: 4px;
display: flex;
position: absolute; position: absolute;
}
&-type, &-size {
padding: 3px 5px;
font-size: 11px;
line-height: 12px;
margin-right: 3px;
} }
&-type, &-size, &-close { &-type, &-size, &-close {
color: #FAFAFA; color: #fafafa;
padding: 1px 5px;
font-size: 12px;
transform: scale(0.9);
background: rgba(0, 0, 0, 0.6); background: rgba(0, 0, 0, 0.6);
line-height: 18px;
border-radius: 18px; border-radius: 18px;
} }
&-close { &-close {
float: right; top: 4px;
width: 22px; right: 4px;
height: 22px; width: 20px;
height: 20px;
cursor: pointer; cursor: pointer;
padding: 0;
display: none; display: none;
position: absolute;
font-size: 14px; font-size: 14px;
text-align: center; background: rgba(238, 10, 10, 0.8);
line-height: 22px;
box-sizing: border-box;
background: rgba(238, 10, 10, 0.77);
font-weight: bold; font-weight: bold;
align-items: center;
justify-content: center;
&:hover { &:hover {
color: #FFF; color: #FFF;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long