main.less 7.55 KB
.content_box {
    padding: 0 0 8px;
    box-sizing: border-box;
    width: 100%;
    
}
.el-table .success-row {
    background:@tablebg;
}
.main{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 18px 18px 0!important;
}
.pagination {
    padding: 18px;
}
.db{
    display: block;
}
.dn{
    display: none;
}
.cp{
    cursor: pointer;
}
.fl{
    float: left;
}
.fr{
    float: right;
}
.tac{
    text-align: center!important;
}
table{
    border-width: 0;
}
table,tr,.el-col,.title{
    border-color: #E4EBF4 !important;
}
//表格加边框
.el-table{
    border: 1px solid #E6E6E6;
}
.el-table th{
    background-color: #FAFCFF;
}
.formInput {
    height: 100%;
    width: 100%;
	line-height: 20px;
	outline: none;
	border: none;
	color: #606764;
	overflow: visible;
    text-align: left;
    text-indent: 15px;
    padding: 0;
}
input:disabled{
    cursor: not-allowed;
    background-color: #F5F7FA;
}
.formInput:focus{
    border: 1px solid #A0C5F6!important;
}
.psr{
    position: relative;
}
ol, ul { list-style:none; }
.requisite{
    font-style: normal;
    color: red;
}
.top20{
    top: 20px;
}
.top40{
    top: 40px;
}
// 滚动条样式
::-webkit-scrollbar {
	width: 6px;
}
::-webkit-scrollbar {
	height: 6px;
}
::-webkit-scrollbar-thumb {
	border-radius: 3px;
	background: #cbcbcb;
}
::-webkit-scrollbar-thumb {
	border-radius: 3px;
	background: #cbcbcb;
}
::-webkit-scrollbar-track {
	border-radius: 0;
}
::-webkit-scrollbar-track {
	border-radius: 0;
}
/deep/ .el-tabs--border-card{
    border: 0;
}

//二级菜单样式
.tabs{
    >.el-tabs__content{
        position: unset;
        margin-top: 40px;
    }
    >.is-top{
        position: -webkit-fixed;
        position: fixed;
        top: 70px;
        z-index: 999;
        width: 100%;
        margin-bottom: 0;
        border-top: 1px solid #F4F9FF;
    }
}

.el-tabs{
    height: calc(100% - 50px);
    /deep/.el-tabs__content{
        height: 100%;
        position: unset;
         /deep/.el-tab-pane{
             height: 100%;
         }
        background-color: #F4F9FF;
        padding: 0;
    }
    /deep/ .el-tabs__item {
        height: 44px;
        font-size: 16px;
    }
    /deep/ .el-tabs__header{
        background-color: #ffffff;
        margin-bottom: 0;
    }
    .el-tabs__header{
        background-color: #ffffff;
    }
    /deep/ .el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2), .el-tabs--bottom .el-tabs__item.is-top:nth-child(2), .el-tabs--top .el-tabs__item.is-bottom:nth-child(2), .el-tabs--top .el-tabs__item.is-top:nth-child(2){
        padding: 0 20px;
    }
    /deep/.el-tabs__active-bar{
        position: absolute;
        bottom: 5px;
        left: 0;
        height: 2px;
        background-color: #0091FF;
        z-index: 1;
    }
    /deep/.el-tabs__nav-wrap{
        background: #FFFFFF;
        box-shadow: 0px 1px 2px 1px rgba(49, 132, 245, 0.1);
    }
    /deep/.el-tabs__nav .is-active{
        background: #FFFFFF;
        color: #0091FF;
    }
    /deep/.el-tabs__nav-wrap::after{
        height: 0;
    }
    /deep/ .el-tabs__nav{
        margin-left: 20px;
    }
}
// .el-tabs__header{
//     background-color: #ffffff;
// }
// .el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2), .el-tabs--bottom .el-tabs__item.is-top:nth-child(2), .el-tabs--top .el-tabs__item.is-bottom:nth-child(2), .el-tabs--top .el-tabs__item.is-top:nth-child(2){
//     padding: 0 20px;
// }
// .el-tabs__active-bar{
//     position: absolute;
//     bottom: 3px;
//     left: 0;
//     height: 2px;
//     background-color: #409EFF;
//     z-index: 1;
// }
// .el-tabs__nav-wrap{
//     background: #FFFFFF;
//     box-shadow: 0px 1px 2px 1px rgba(49, 132, 245, 0.1);
// }
// .el-tabs__nav .is-active{
//     background: #FFFFFF;
// }
//弹框遮罩层样式
.v-modal{
    opacity: .2;
    background: #fff;
}
.el-dialog{
    -webkit-box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.4);
}
.el-dialog__body{
    padding-bottom: 25px!important;
}
.el-dialog__header{
    border-bottom: 1px solid #F1F1F1;
    background: #0091FF;
}
.el-dialog__headerbtn:focus .el-dialog__close, .el-dialog__headerbtn:hover .el-dialog__close{
    color: #fff;
}
.el-dialog__title{
    line-height: 24px;
    font-size: 18px;
    color: #ffffff;
}
.el-dialog__headerbtn .el-dialog__close{
    color: #ffffff;
}

// 自定义右键菜单样式 
.contextmenu {
	margin: 0;
	background: #fff;
	z-index: 3000;
	position: absolute;
	list-style-type: none;
	padding: 5px 0;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 400;
	color: #333;
    box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.3);
    li {
        margin: 0;
        padding: 7px 16px;
        cursor: pointer;
        position: relative;
        .childUl{
            display: none;
            position: absolute;
            left: 92px !important;
            top: 0!important;
            li{
                width: 76px;
            }
        }
    }
    li:hover {
        background: #eee;
        >.childUl{
            display: block;
        }
    }
    .noEdit{
        color: #E6E6E6;
        cursor: not-allowed;
    }
    .noEdit:hover{
        background: #ffffff;
    }
}
// end
//生成按钮样式
.el-button--warning{
    color: #FFF;
    background-color: #F79700;
    border-color: #F79700;
}
.el-button--warning:focus, .el-button--warning:hover{
    background-color: rgba(247, 151, 0,.7);
    border-color: rgba(247, 151, 0,.7);
}
.percent80{
    width: 78%;
    float: left;
}
.createBtn{
    position: absolute;
    width: 50px;
    padding: 6px 0px;
    right: 6px;
    top: 4px;
}
// 增删操作按钮样式
.addMinus{
    border-radius:50%;
    width: 30px !important;
    height: 30px !important;
    font-size: 22px!important;
    padding: 4px 6px;
}
.outAdd,.outAdd:hover:focus{
    background-color: #2FA5FF!important;
    border: 1px solid #2FA5FF!important;
    color: #fff!important;
}
.inAdd,.inAdd:hover:focus{
    border: 1px solid #2FA5FF!important;
    background-color: #fff!important;
    color: #2FA5FF!important;
}
.outMinus,.outMinus:hover:focus{
    background-color: #FA6400!important;
    border: 1px solid #FA6400!important;
    color: #fff!important;
}
.inMinus,.inMinus:hover:focus{
    border: 1px solid #FA6400!important;
    background-color: #fff!important;
    color: #FA6400!important;
}
.import{
    background-color: #00CACD!important;
    border-color: #00CACD!important;
}
.cancel{
    background-color: #F79700!important;
    border-color: #F79700!important;
}
.creat{
    background-color: #0091FF!important;
    border-color: #0091FF!important;
}
.import:hover:focus{
    opacity: .8!important;
}
.cancel:hover:focus{
    opacity: .8!important;
}
.creat:hover:focus{
    opacity: .8!important;
}
.iconfontEdit{
    cursor: pointer;
}
.iconfontEdit:hover{
    color: rgb(0, 108, 255);
}
.el-select,.el-select-tree,.el-date-editor{
    /deep/ .el-input__inner{
        text-align: left!important;
    }
}
.el-input__prefix, .el-input__suffix{
    top: -2px;
}
//表单label居左显示
.tdright {
    text-align: right!important;
    padding-right: 10px!important;
}
//表格操作按钮字体大小
.iconbanli,.icondingwei{
    font-size: 18px;
}
//实预测转换按钮样式
/deep/.el-radio-button__inner {
    border: 1px solid #00cacd!important;
    color: #00cacd;
}
/deep/.el-radio-button__inner:hover {
    color: #00cacd;
}
/deep/.is-active .el-radio-button__inner {
    color: #fff;
}
/deep/.el-radio-button__orig-radio:checked + .el-radio-button__inner {
    background-color: #00cacd;
    border-color: #00cacd;
}
//表格划过行背景色
.el-table--enable-row-hover .el-table__body tr:hover>td{
    background-color: #F5FBFF;
}