refactor: 重新迁移极简图标卡片代码

This commit is contained in:
augushong
2025-08-31 12:04:19 +08:00
parent c2f7b26a53
commit ddb72d0760
6 changed files with 32 additions and 94 deletions

View File

@@ -327,35 +327,6 @@
padding: 15px;
}
.ul-card-simple-icon {
display: inline-block;
margin-right: 15px;
margin-bottom: 15px;
box-shadow: 0 2px 12px 0 #bbb;
border-radius: 4px;
border: 1px solid #ebeef5;
background-color: #fff;
box-sizing: border-box;
width: 100px;
padding: 10px;
text-align: center;
}
.ul-card-simple-icon .ul-card-simple-icon-image {
width: 80px;
height: 80px;
background-size: cover;
background-position: center;
display: inline-block;
}
.ul-card-simple-icon .ul-card-simple-icon-title {
border-top: 2px solid #ebeef5;
margin-top: 8px;
padding-top: 8px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.ul-group-title-simple {
line-height: 30px;
font-size: 16px;
@@ -1115,7 +1086,6 @@
padding: 10px;
text-align: center;
}
.ul-card-simple-icon .ul-card-simple-icon-image {
width: 80px;
height: 80px;
@@ -1123,7 +1093,6 @@
background-position: center;
display: inline-block;
}
.ul-card-simple-icon .ul-card-simple-icon-title {
border-top: 2px solid #ebeef5;
margin-top: 8px;

File diff suppressed because one or more lines are too long

View File

@@ -1,29 +1,32 @@
.ul-card-simple-icon {
display: inline-block;
margin-right: 15px;
margin-bottom: 15px;
box-shadow: 0 2px 12px 0 #bbb;
border-radius: 4px;
border: 1px solid #ebeef5;
background-color: #fff;
box-sizing: border-box;
width: 100px;
padding: 10px;
text-align: center;
}
.ul-card-simple-icon .ul-card-simple-icon-image {
width: 80px;
height: 80px;
background-size: cover;
background-position: center;
display: inline-block;
}
.ul-card-simple-icon .ul-card-simple-icon-title {
border-top: 2px solid #ebeef5;
margin-top: 8px;
padding-top: 8px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
display: inline-block;
margin-right: 15px;
margin-bottom: 15px;
box-shadow: 0 2px 12px 0 #bbb;
border-radius: 4px;
border: 1px solid #ebeef5;
background-color: #fff;
box-sizing: border-box;
width: 100px;
padding: 10px;
text-align: center;
.ul-card-simple-icon-image {
width: 80px;
height: 80px;
background-size: cover;
background-position: center;
display: inline-block;
}
.ul-card-simple-icon-title {
border-top: 2px solid #ebeef5;
margin-top: 8px;
padding-top: 8px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}

View File

@@ -1 +0,0 @@
@import './ul-card-simple-icon';

View File

@@ -1,32 +0,0 @@
.ul-card-simple-icon {
display: inline-block;
margin-right: 15px;
margin-bottom: 15px;
box-shadow: 0 2px 12px 0 #bbb;
border-radius: 4px;
border: 1px solid #ebeef5;
background-color: #fff;
box-sizing: border-box;
width: 100px;
padding: 10px;
text-align: center;
.ul-card-simple-icon-image {
width: 80px;
height: 80px;
background-size: cover;
background-position: center;
display: inline-block;
}
.ul-card-simple-icon-title {
border-top: 2px solid #ebeef5;
margin-top: 8px;
padding-top: 8px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}

View File

@@ -3,7 +3,6 @@
@import './nav/index';
@import './form/index';
@import './fieldset/index';
@import './card/index';
@import './title/index';
@import './jumbotron/index';
@import './footer/index';