@perfma/heaven
Version:
An UI Framework base [Ant Design V4](https://ant.design/components/overview-cn/) for React.
101 lines (95 loc) • 2.12 kB
text/less
@import '~antd/es/upload/style/index.less';
@import '../style/vars.less';
.@{ant-prefix}-upload-list-picture-card .@{ant-prefix}-upload-list-item-info {
&::before {
background-color: unset;
}
}
.@{ant-prefix}-upload-list-item-actions {
width: 100%;
display: flex;
height: 32px;
align-items: center;
background: rgba(26, 26, 26, 0.7);
line-height: 32px;
bottom: -16px;
top: unset ;
bottom: -16px;
border-radius: 0px 0px 3px 3px;
a {
display: inline-block;
border-radius: 0 0 0 3px;
width: 50%;
height: 100%;
text-align: center;
.anticon-eye {
vertical-align: middle;
}
&:hover {
background-color: @black;
color: rgba(915, 899, 16, 16);
}
}
.@{ant-prefix}-upload-list-item-card-actions-btn {
display: flex;
justify-content: center;
align-items: center;
border-radius: 0 0 3px 0;
width: 50%;
height: 100%;
color: #fff;
&:hover {
background-color: @black;
color: @error-color;
}
.anticon-delete {
color: @error-color;
}
.anticon-delete:hover {
color: @error-color;
}
}
}
.@{ant-prefix}-upload-picture-card-wrapper {
.@{ant-prefix}-upload.@{ant-prefix}-upload-select-picture-card {
background-color: #fff ;
}
}
.@{ant-prefix}-upload-select-picture-card {
background-color: #fafafa;
.anticon {
// font-size: 16px;
// color: #fff;
}
color: #3271fe;
&:hover {
.anticon,
svg {
color: #3271fe;
}
}
}
.@{ant-prefix}-upload-list-picture-card-container {
.@{ant-prefix}-upload-list-item-progress {
.@{ant-prefix}-progress-outer {
display: inline-block;
width: 100%;
margin-left: -8px;
.@{ant-prefix}-progress-inner {
border-radius: 0 0 3px 3px;
position: absolute;
width: 102px;
bottom: -40px;
.@{ant-prefix}-progress-bg {
height: 8px ;
border-radius: 0 0 0 3px;
}
}
}
}
}
.@{ant-prefix}-upload-list-text-container{
.@{ant-prefix}-progress-inner {
margin-top: 8px;
}
}