ming-demo3
Version:
mdf metaui web
355 lines (354 loc) • 8.78 kB
CSS
.upload-picture-book .ant-upload {
margin-bottom: 0 ;
}
.upload-picture-book .ant-upload {
margin-top: 0 ;
}
.upload-picture-book .pictureBook {
width: 120px;
height: 120px;
background: #FFFFFF;
border: 1px solid #D9D9D9;
background: rgba(242, 242, 242, 0.5);
border-radius: 4px;
text-align: center;
position: relative;
cursor: pointer;
}
.upload-picture-book .pictureBook .pictureRow {
position: absolute;
border: 5px solid transparent;
width: 0;
height: 0;
border-bottom-color: #D9D9D9;
left: 50%;
top: -10px;
margin-left: -5px;
}
.upload-picture-book .pictureBook .pictureRow:before {
position: absolute;
content: '';
display: block;
left: 50%;
width: 0;
height: 0;
border: 5px solid transparent;
border-bottom-color: #f8f8f8;
top: -4px;
left: -5px;
}
.upload-picture-book .pictureBook:hover {
border-color: #505766;
}
.upload-picture-book .pictureBook:hover .pictureRow {
border-bottom-color: #505766;
}
.upload-picture-book .pictureBook .icon {
width: 24px;
height: 24px;
vertical-align: -3.15em;
}
.upload-picture-book .pictureBook p {
font-size: 12px;
color: #999999;
line-height: 24px;
}
.upload-picture-book .pictureBook .pictureImg {
width: 118px;
height: 118px;
overflow: hidden;
text-align: center;
position: relative;
border-radius: 4px;
}
.upload-picture-book .pictureBook img {
height: 100%;
vertical-align: middle;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
}
.upload-picture-book .pictureBook .fileBtn {
height: 22px;
line-height: 22px;
display: none;
position: absolute;
bottom: 0;
left: 0;
color: #fff;
width: 100%;
background: rgba(0, 0, 0, 0.6);
}
.upload-picture-book .pictureBook .fileBtn i {
font-size: 16px;
color: #fff;
vertical-align: middle;
margin-bottom: 4px;
}
.upload-picture-book .pictureBook .fileBtn i:hover {
color: #fff;
}
.upload-picture-book .pictureBook .fileBtn a {
display: inline-block;
width: 50%;
text-align: center;
color: #fff;
width: 33%;
}
.upload-picture-book .pictureBook .fileBtn a:hover {
background: rgba(0, 0, 0, 0.75);
}
.upload-picture-book .pictureBook:hover .fileBtn {
display: block;
}
.upload-picture-book .ant-badge-count {
right: -20px;
width: 22px;
height: 22px;
border-radius: 12px;
line-height: 22px;
background-image: linear-gradient(-45deg, #FC4C2F 0%, #EE2223 100%);
padding: 0;
}
.picture-book-modal {
height: 500px;
width: 708px ;
}
.picture-book-modal .ant-modal-header {
padding-top: 7px;
padding-bottom: 7px;
padding-right: 60px;
}
.picture-book-modal .ant-modal-header .ant-modal-title {
line-height: 28px;
}
.picture-book-modal .model-header {
display: flex;
justify-content: space-between;
}
.picture-book-modal .model-header .ant-upload-select-text svg {
width: 15px;
height: 15px;
margin-right: 5px;
vertical-align: middle;
}
.picture-book-modal .ant-modal-body {
padding: 16px 20px 18px;
overflow: hidden;
}
.picture-book-modal .ant-modal-body .pictureBook-list {
margin-right: -20px;
}
.picture-book-modal .ant-modal-body .pictureBook-list .ant-upload {
display: block;
}
.picture-book-modal .ant-modal-body .pictureBook-list .pictureBook-list-title {
font-size: 12px;
color: #999;
margin: 10px 0 8px 0;
}
.picture-book-modal .ant-modal-body .pictureBook-list .list-row {
width: 100%;
overflow: auto;
height: 264px;
}
.picture-book-modal .ant-modal-body .pictureBook-list .list-row .list-col {
float: left;
margin-right: 12px;
margin-bottom: 12px;
}
.picture-book-modal .ant-modal-body .pictureBook-list .list-row .list-col .pictureBook {
width: 120px;
height: 120px;
background: #FFFFFF;
border: 1px solid #D9D9D9;
background: rgba(242, 242, 242, 0.5);
border-radius: 4px;
text-align: center;
position: relative;
}
.picture-book-modal .ant-modal-body .pictureBook-list .list-row .list-col .pictureBook .pictureImg {
width: 118px;
height: 118px;
overflow: hidden;
text-align: center;
position: relative;
}
.picture-book-modal .ant-modal-body .pictureBook-list .list-row .list-col .pictureBook .pictureImg img {
height: 100%;
vertical-align: middle;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
}
.picture-book-modal .ant-modal-body .pictureBook-list .list-row .list-col .pictureBook .fileBtn {
height: 22px;
width: 100%;
line-height: 22px;
display: none;
position: absolute;
bottom: 0;
left: 0;
color: #fff;
background: rgba(6, 6, 6, 0.41);
}
.picture-book-modal .ant-modal-body .pictureBook-list .list-row .list-col .pictureBook .fileBtn > span {
display: block;
width: 100%;
}
.picture-book-modal .ant-modal-body .pictureBook-list .list-row .list-col .pictureBook .fileBtn .ant-upload.ant-upload-select {
display: block;
}
.picture-book-modal .ant-modal-body .pictureBook-list .list-row .list-col .pictureBook .fileBtn i {
font-size: 16px;
color: #fff;
vertical-align: middle;
margin-bottom: 4px;
}
.picture-book-modal .ant-modal-body .pictureBook-list .list-row .list-col .pictureBook .fileBtn i:hover {
color: #fff;
}
.picture-book-modal .ant-modal-body .pictureBook-list .list-row .list-col .pictureBook .fileBtn a {
display: inline-block;
width: 100%;
background: rgba(0, 0, 0, 0.5);
text-align: center;
color: #fff;
}
.picture-book-modal .ant-modal-body .pictureBook-list .list-row .list-col .pictureBook .fileBtn a:hover {
background: rgba(0, 0, 0, 0.75);
}
.picture-book-modal .ant-modal-body .pictureBook-list .list-row .list-col .pictureBook:hover .fileBtn {
display: flex;
}
.picture-book-modal .pagination-new {
padding-right: 0;
margin-bottom: -3px;
padding-bottom: 0;
}
.picture-book-modal .ant-pagination-item-active {
background-color: #adb4bc;
color: #fff;
border-color: #adb4bc;
}
.picture-book-modal .ant-modal-footer {
padding: 15px 20px;
max-height: 62px;
}
.picture-big-modal .ant-modal-body {
padding: 0;
height: 600px;
}
.picture-big-modal .picture-big {
position: relative;
height: 100%;
width: 600px;
overflow: hidden;
}
.picture-big-modal .picture-big .pic-left,
.picture-big-modal .picture-big .pic-right {
border-radius: 50%;
background: rgba(0, 0, 0, 0.3);
width: 40px;
height: 40px;
position: absolute;
top: 50%;
margin-top: -20px;
color: #fff;
line-height: 40px;
text-align: center;
z-index: 88;
}
.picture-big-modal .picture-big .pic-left .anticon,
.picture-big-modal .picture-big .pic-right .anticon {
font-size: 22px;
vertical-align: middle;
margin-bottom: 2px;
}
.picture-big-modal .picture-big .pic-left:hover,
.picture-big-modal .picture-big .pic-right:hover {
background: rgba(0, 0, 0, 0.5);
}
.picture-big-modal .picture-big .pic-left {
left: 10px;
}
.picture-big-modal .picture-big .pic-left .anticon {
padding-right: 2px;
}
.picture-big-modal .picture-big .pic-left.pic-left-disabled {
background: rgba(0, 0, 0, 0.15);
}
.picture-big-modal .picture-big .pic-left.pic-left-disabled:hover {
background: rgba(0, 0, 0, 0.15);
}
.picture-big-modal .picture-big .pic-right {
right: 10px;
}
.picture-big-modal .picture-big .pic-right .anticon {
padding-left: 2px;
}
.picture-big-modal .picture-big .pic-right.pic-right-disabled {
background: rgba(0, 0, 0, 0.15);
}
.picture-big-modal .picture-big .pic-right.pic-right-disabled:hover {
background: rgba(0, 0, 0, 0.15);
}
.picture-big-modal .picture-big img {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-height: 100%;
}
.viewContainer.width-percent-50 {
width: 100% ;
}
.viewContainer .pic-book-list {
float: left;
width: 130px;
margin-right: 10px;
margin-bottom: 10px;
position: relative;
}
.viewContainer .pic-book-list .upload-picture-book {
margin-top: 10px;
}
.viewContainer .pic-book-list .ant-tag {
white-space: normal;
display: flex;
align-items: center;
}
.viewContainer .pic-book-list .ant-tag .ant-tag-text {
line-height: 100%;
max-height: 30px;
line-height: 14px;
overflow: hidden;
display: block;
word-break: break-all;
word-wrap: break-word;
}
.viewContainer .pic-book > .ant-row {
padding-left: 150px;
width: 100%;
}
.viewContainer .pic-book > .ant-row .ant-checkbox-wrapper {
float: left;
margin-left: -150px;
}
.container-browse-mode .upload-picture-book .ant-upload {
margin-top: 0 ;
}
.container-browse-mode .upload-picture-book .pictureBook.readOnly:hover {
border-color: #d9d9d9;
cursor: initial;
}
.container-browse-mode .upload-picture-book .pictureBook.readOnly:hover .pictureRow {
border-bottom-color: #d9d9d9;
}
.container-browse-mode .upload-picture-book .pictureBook .icon {
width: 50px;
height: 50px;
vertical-align: -6em;
}