117 lines
2.0 KiB
SCSS
Raw Normal View History

2023-04-21 23:19:04 +08:00
.avue-card {
&__item {
margin-bottom: 16px;
border: 1px solid #e8e8e8;
background-color: #fff;
box-sizing: border-box;
2023-04-21 23:19:04 +08:00
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5;
list-style: none;
2023-04-21 23:19:04 +08:00
font-feature-settings: 'tnum';
cursor: pointer;
2023-04-21 23:19:04 +08:00
height: 200px;
&:hover {
border-color: rgba(0, 0, 0, 0.09);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}
2023-04-21 23:19:04 +08:00
&--add {
border: 1px dashed #000;
width: 100%;
2023-04-21 23:19:04 +08:00
color: rgba(0, 0, 0, 0.45);
background-color: #fff;
border-color: #d9d9d9;
border-radius: 2px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
2023-04-21 23:19:04 +08:00
i {
margin-right: 10px;
}
2023-04-21 23:19:04 +08:00
&:hover {
color: #40a9ff;
background-color: #fff;
border-color: #40a9ff;
}
}
}
2023-04-21 23:19:04 +08:00
&__body {
display: flex;
padding: 24px;
}
2023-04-21 23:19:04 +08:00
&__detail {
flex: 1;
}
2023-04-21 23:19:04 +08:00
&__avatar {
width: 48px;
height: 48px;
border-radius: 48px;
overflow: hidden;
margin-right: 12px;
2023-04-21 23:19:04 +08:00
img {
width: 100%;
height: 100%;
}
}
2023-04-21 23:19:04 +08:00
&__title {
color: rgba(0, 0, 0, 0.85);
margin-bottom: 12px;
font-size: 16px;
2023-04-21 23:19:04 +08:00
&:hover {
color: #1890ff;
}
}
2023-04-21 23:19:04 +08:00
&__info {
color: rgba(0, 0, 0, 0.45);
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
height: 64px;
}
2023-04-21 23:19:04 +08:00
&__menu {
display: flex;
2023-04-21 23:19:04 +08:00
justify-content: space-around;
height: 50px;
background: #f7f9fa;
2023-04-21 23:19:04 +08:00
color: rgba(0, 0, 0, 0.45);
text-align: center;
line-height: 50px;
2023-04-21 23:19:04 +08:00
&:hover {
color: #1890ff;
}
}
}
/** joolun 额外加的 */
.avue-comment__main {
2023-04-21 23:19:04 +08:00
flex: unset !important;
border-radius: 5px !important;
margin: 0 8px !important;
}
2023-04-21 23:19:04 +08:00
.avue-comment__header {
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
2023-04-21 23:19:04 +08:00
.avue-comment__body {
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}