wetrade-design
Version:
一款多语言支持Vue3的UI框架
135 lines (134 loc) • 2.72 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
/** gray-sp */
/** blue-sp */
/** green-sp */
/** red-sp */
/** orange-sp */
/** 品牌橙 */
/** 日落黄 */
/** 柠檬黄 */
/** 新生绿 */
/** 绿色 */
/** 碧涛青 */
/** 海蔚蓝 */
/** 品牌蓝色 */
/** 宝石蓝 */
/** 星空紫 */
/** 罗兰紫 */
/** 青春紫 */
/** 品红 */
/** 红色 */
/** 灰色 */
/** 保留ant色板 */
/** 绿色 */
/** 品牌蓝 */
.wd-comment {
position: relative;
background-color: inherit;
}
.wd-comment-inner {
display: flex;
padding: 16px 0;
}
.wd-comment-avatar {
position: relative;
flex-shrink: 0;
margin-right: 12px;
cursor: pointer;
}
.wd-comment-avatar img {
width: 32px;
height: 32px;
border-radius: 50%;
}
.wd-comment-content {
position: relative;
flex: 1 1 auto;
min-width: 1px;
font-size: 14px;
word-wrap: break-word;
}
.wd-comment-content-author {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
margin-bottom: 4px;
font-size: 14px;
}
.wd-comment-content-author > a,
.wd-comment-content-author > span {
padding-right: 8px;
font-size: 12px;
line-height: 18px;
}
.wd-comment-content-author-name {
color: #575E73;
font-size: 14px;
transition: color 0.3s;
}
.wd-comment-content-author-name > * {
color: #575E73;
}
.wd-comment-content-author-name > *:hover {
color: #575E73;
}
.wd-comment-content-author-time {
color: #ccc;
white-space: nowrap;
cursor: auto;
}
.wd-comment-content-detail p {
margin-bottom: inherit;
white-space: pre-wrap;
}
.wd-comment-actions {
margin-top: 12px;
margin-bottom: inherit;
padding-left: 0;
}
.wd-comment-actions > li {
display: inline-block;
color: #575E73;
}
.wd-comment-actions > li > span {
margin-right: 10px;
color: #575E73;
font-size: 12px;
cursor: pointer;
transition: color 0.3s;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.wd-comment-actions > li > span:hover {
color: #595959;
}
.wd-comment-nested {
margin-left: 44px;
}
.wd-comment-rtl {
direction: rtl;
}
.wd-comment-rtl .wd-comment-avatar {
margin-right: 0;
margin-left: 12px;
}
.wd-comment-rtl .wd-comment-content-author > a,
.wd-comment-rtl .wd-comment-content-author > span {
padding-right: 0;
padding-left: 8px;
}
.wd-comment-rtl .wd-comment-actions {
padding-right: 0;
}
.wd-comment-rtl .wd-comment-actions > li > span {
margin-right: 0;
margin-left: 10px;
}
.wd-comment-rtl .wd-comment-nested {
margin-right: 44px;
margin-left: 0;
}