@simba088/mat-ui
Version:
基于Vue和ElementUi的PC组件库
1 lines • 13 kB
CSS
@charset "UTF-8";.mat-progress-bar__inner::after,.mat-upload-cover::after,.mat-upload-list--picture-card .mat-upload-list__item-actions::after{content:"";vertical-align:middle}.mat-progress{position:relative;line-height:1}.mat-progress__text{font-size:14px;color:#606266;display:inline-block;vertical-align:middle;margin-left:10px;line-height:1}.mat-progress__text i{vertical-align:middle;display:block}.mat-progress--circle,.mat-progress--dashboard{display:inline-block}.mat-progress--circle .mat-progress__text,.mat-progress--dashboard .mat-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;-webkit-transform:translate(0,-50%);transform:translate(0,-50%)}.mat-progress--circle .mat-progress__text i,.mat-progress--dashboard .mat-progress__text i{vertical-align:middle;display:inline-block}.mat-progress--without-text .mat-progress__text{display:none}.mat-progress--without-text .mat-progress-bar{padding-right:0;margin-right:0;display:block}.mat-progress--text-inside .mat-progress-bar{padding-right:0;margin-right:0}.mat-progress.is-success .mat-progress-bar__inner{background-color:#67C23A}.mat-progress.is-success .mat-progress__text{color:#67C23A}.mat-progress.is-warning .mat-progress-bar__inner{background-color:#E6A23C}.mat-progress.is-warning .mat-progress__text{color:#E6A23C}.mat-progress.is-exception .mat-progress-bar__inner{background-color:#F56C6C}.mat-progress.is-exception .mat-progress__text{color:#F56C6C}.mat-progress-bar{padding-right:50px;display:inline-block;vertical-align:middle;width:100%;margin-right:-55px;-webkit-box-sizing:border-box;box-sizing:border-box}.mat-progress-bar__outer{height:6px;border-radius:100px;background-color:#EBEEF5;overflow:hidden;position:relative;vertical-align:middle}.mat-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:#409EFF;text-align:right;border-radius:100px;line-height:1;white-space:nowrap;-webkit-transition:width .6s ease;transition:width .6s ease}.mat-progress-bar__inner::after{display:inline-block;height:100%}.mat-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#FFF;font-size:12px;margin:0 5px}@-webkit-keyframes progress{0%{background-position:0 0}100%{background-position:32px 0}}@keyframes progress{0%{background-position:0 0}100%{background-position:32px 0}}.mat-upload{display:inline-block;text-align:center;cursor:pointer;outline:0}.mat-upload__input{display:none}.mat-upload__tip{font-size:12px;color:#606266;margin-top:7px}.mat-upload iframe{position:absolute;z-index:-1;top:0;left:0;opacity:0;filter:alpha(opacity=0)}.mat-upload--picture-card{background-color:#fbfdff;border:1px dashed #c0ccda;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;width:148px;height:148px;cursor:pointer;line-height:146px;vertical-align:top}.mat-upload--picture-card i{font-size:28px;color:#8c939d}.mat-upload--picture-card:hover,.mat-upload:focus{border-color:#409EFF;color:#409EFF}.mat-upload:focus .mat-upload-dragger{border-color:#409EFF}.mat-upload-dragger{background-color:#fff;border:1px dashed #d9d9d9;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;width:360px;height:180px;text-align:center;cursor:pointer;position:relative;overflow:hidden}.mat-upload-dragger .mat-icon-upload{font-size:67px;color:#C0C4CC;margin:40px 0 16px;line-height:50px}.mat-upload-dragger+.mat-upload__tip{text-align:center}.mat-upload-dragger~.mat-upload__files{border-top:1px solid #DCDFE6;margin-top:7px;padding-top:5px}.mat-upload-dragger .mat-upload__text{color:#606266;font-size:14px;text-align:center}.mat-upload-dragger .mat-upload__text em{color:#409EFF;font-style:normal}.mat-upload-dragger:hover{border-color:#409EFF}.mat-upload-dragger.is-dragover{background-color:rgba(32,159,255,.06);border:2px dashed #409EFF}.mat-upload-list{margin:0;padding:0;list-style:none}.mat-upload-list__item{-webkit-transition:all .5s cubic-bezier(.55,0,.1,1);transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:#606266;line-height:1.8;margin-top:5px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;width:100%}.mat-upload-list__item .mat-progress{position:absolute;top:20px;width:100%}.mat-upload-list__item .mat-progress__text{position:absolute;right:0;top:-13px}.mat-upload-list__item .mat-progress-bar{margin-right:0;padding-right:0}.mat-upload-list__item:first-child{margin-top:10px}.mat-upload-list__item .mat-icon-upload-success{color:#67C23A}.mat-upload-list__item .mat-icon-close{display:none;position:absolute;top:5px;right:5px;cursor:pointer;opacity:.75;color:#606266}.mat-upload-list__item .mat-icon-close:hover{opacity:1}.mat-upload-list__item .mat-icon-close-tip{display:none;position:absolute;top:5px;right:5px;font-size:12px;cursor:pointer;opacity:1;color:#409EFF}.mat-upload-list__item:hover{background-color:#F5F7FA}.mat-upload-list__item:hover .mat-icon-close{display:inline-block}.mat-upload-list__item:hover .mat-progress__text{display:none}.mat-upload-list__item.is-success .mat-upload-list__item-status-label{display:block}.mat-upload-list__item.is-success .mat-upload-list__item-name:focus,.mat-upload-list__item.is-success .mat-upload-list__item-name:hover{color:#409EFF;cursor:pointer}.mat-upload-list__item.is-success:focus:not(:hover) .mat-icon-close-tip{display:inline-block}.mat-upload-list__item.is-success:active,.mat-upload-list__item.is-success:not(.focusing):focus{outline-width:0}.mat-upload-list__item.is-success:active .mat-icon-close-tip,.mat-upload-list__item.is-success:focus .mat-upload-list__item-status-label,.mat-upload-list__item.is-success:hover .mat-upload-list__item-status-label,.mat-upload-list__item.is-success:not(.focusing):focus .mat-icon-close-tip{display:none}.mat-upload-list.is-disabled .mat-upload-list__item:hover .mat-upload-list__item-status-label{display:block}.mat-upload-list__item-name{color:#606266;display:block;margin-right:40px;overflow:hidden;padding-left:4px;text-overflow:ellipsis;-webkit-transition:color .3s;transition:color .3s;white-space:nowrap}.mat-upload-list__item-name [class^=mat-icon]{height:100%;margin-right:7px;color:#909399;line-height:inherit}.mat-upload-list__item-status-label{position:absolute;right:5px;top:0;line-height:inherit;display:none}.mat-upload-list__item-delete{position:absolute;right:10px;top:0;font-size:12px;color:#606266;display:none}.mat-upload-list__item-delete:hover{color:#409EFF}.mat-upload-list--picture-card{margin:0;display:inline;vertical-align:top}.mat-upload-list--picture-card .mat-upload-list__item{overflow:hidden;background-color:#fff;border:1px solid #c0ccda;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;width:148px;height:148px;margin:0 8px 8px 0;display:inline-block}.mat-upload-list--picture-card .mat-upload-list__item .mat-icon-check,.mat-upload-list--picture-card .mat-upload-list__item .mat-icon-circle-check{color:#FFF}.mat-upload-list--picture-card .mat-upload-list__item .mat-icon-close,.mat-upload-list--picture-card .mat-upload-list__item:hover .mat-upload-list__item-status-label{display:none}.mat-upload-list--picture-card .mat-upload-list__item:hover .mat-progress__text{display:block}.mat-upload-list--picture-card .mat-upload-list__item-name{display:none}.mat-upload-list--picture-card .mat-upload-list__item-thumbnail{width:100%;height:100%}.mat-upload-list--picture-card .mat-upload-list__item-status-label{position:absolute;right:-15px;top:-6px;width:40px;height:24px;background:#13ce66;text-align:center;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-box-shadow:0 0 1pc 1px rgba(0,0,0,.2);box-shadow:0 0 1pc 1px rgba(0,0,0,.2)}.mat-upload-list--picture-card .mat-upload-list__item-status-label i{font-size:12px;margin-top:11px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.mat-upload-list--picture-card .mat-upload-list__item-actions{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;text-align:center;color:#fff;opacity:0;font-size:20px;background-color:rgba(0,0,0,.5);-webkit-transition:opacity .3s;transition:opacity .3s}.mat-upload-list--picture-card .mat-upload-list__item-actions::after{display:inline-block;height:100%}.mat-upload-list--picture-card .mat-upload-list__item-actions span{display:none;cursor:pointer}.mat-upload-list--picture-card .mat-upload-list__item-actions span+span{margin-left:15px}.mat-upload-list--picture-card .mat-upload-list__item-actions .mat-upload-list__item-delete{position:static;font-size:inherit;color:inherit}.mat-upload-list--picture-card .mat-upload-list__item-actions:hover{opacity:1}.mat-upload-list--picture-card .mat-upload-list__item-actions:hover span{display:inline-block}.mat-upload-list--picture-card .mat-progress{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);bottom:auto;width:126px}.mat-upload-list--picture-card .mat-progress .mat-progress__text{top:50%}.mat-upload-list--picture .mat-upload-list__item{overflow:hidden;z-index:0;background-color:#fff;border:1px solid #c0ccda;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;margin-top:10px;padding:10px 10px 10px 90px;height:92px}.mat-upload-list--picture .mat-upload-list__item .mat-icon-check,.mat-upload-list--picture .mat-upload-list__item .mat-icon-circle-check{color:#FFF}.mat-upload-list--picture .mat-upload-list__item:hover .mat-upload-list__item-status-label{background:0 0;-webkit-box-shadow:none;box-shadow:none;top:-2px;right:-12px}.mat-upload-list--picture .mat-upload-list__item:hover .mat-progress__text{display:block}.mat-upload-list--picture .mat-upload-list__item.is-success .mat-upload-list__item-name{line-height:70px;margin-top:0}.mat-upload-list--picture .mat-upload-list__item.is-success .mat-upload-list__item-name i{display:none}.mat-upload-list--picture .mat-upload-list__item-thumbnail{vertical-align:middle;display:inline-block;width:70px;height:70px;float:left;position:relative;z-index:1;margin-left:-80px;background-color:#FFF}.mat-upload-list--picture .mat-upload-list__item-name{display:block;margin-top:20px}.mat-upload-list--picture .mat-upload-list__item-name i{font-size:70px;line-height:1;position:absolute;left:9px;top:10px}.mat-upload-list--picture .mat-upload-list__item-status-label{position:absolute;right:-17px;top:-7px;width:46px;height:26px;background:#13ce66;text-align:center;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-box-shadow:0 1px 1px #ccc;box-shadow:0 1px 1px #ccc}.mat-upload-list--picture .mat-upload-list__item-status-label i{font-size:12px;margin-top:12px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.mat-upload-list--picture .mat-progress{position:relative;top:-7px}.mat-upload-cover{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;z-index:10;cursor:default}.mat-upload-cover::after{display:inline-block;height:100%}.mat-upload-cover img{display:block;width:100%;height:100%}.mat-upload-cover__label{position:absolute;right:-15px;top:-6px;width:40px;height:24px;background:#13ce66;text-align:center;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-box-shadow:0 0 1pc 1px rgba(0,0,0,.2);box-shadow:0 0 1pc 1px rgba(0,0,0,.2)}.mat-upload-cover__label i{font-size:12px;margin-top:11px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);color:#fff}.mat-upload-cover__progress{display:inline-block;vertical-align:middle;position:static;width:243px}.mat-upload-cover__progress+.mat-upload__inner{opacity:0}.mat-upload-cover__content{position:absolute;top:0;left:0;width:100%;height:100%}.mat-upload-cover__interact{position:absolute;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.72);text-align:center}.mat-upload-cover__interact .btn{display:inline-block;color:#FFF;font-size:14px;cursor:pointer;vertical-align:middle;-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);margin-top:60px}.mat-upload-cover__interact .btn span{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.mat-upload-cover__interact .btn:not(:first-child){margin-left:35px}.mat-upload-cover__interact .btn:hover{-webkit-transform:translateY(-13px);transform:translateY(-13px)}.mat-upload-cover__interact .btn:hover span{opacity:1}.mat-upload-cover__interact .btn i{color:#FFF;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.mat-upload-cover__title{position:absolute;bottom:0;left:0;background-color:#FFF;height:36px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;text-align:left;padding:0 10px;margin:0;line-height:36px;font-size:14px;color:#303133}.mat-upload-cover+.mat-upload__inner{opacity:0;position:relative;z-index:1}