main.less 5.25 KB
.content_box {
    padding: 0 0 18px;
    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: #E6E6E6 !important;
}
.el-table th{
    background-color: #FBFBFB;
}
.formInput {
    height: 100%;
    width: 100%;
	line-height: 20px;
	outline: none;
	border: none;
	color: #606764;
	overflow: visible;
    text-align: left;
    text-indent: 20px;
    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;
}
// 滚动条样式
::-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;
}
//二级菜单样式
.tabs{
    >.el-tabs__content{
        position: unset;
        margin-top: 50px;
    }
    >.is-top{
        position: -webkit-fixed;
        position: fixed;
        top: 60px;
        z-index: 999;
        width: 100%;
        margin-bottom: 0;
        >.is-top>.el-tabs__nav-scroll{
            height: 50px;
            background-color: #ffffff;
            box-sizing: border-box;
            padding-left: 20px;
            .el-tabs__active-bar{
                display: none;
            }
            >.el-tabs__nav{
                >.el-tabs__item{
                    border: 1px solid #DEDEDE;
                    height: 30px;
                    line-height: 28px;
                    padding: 0 20px;
                    margin: 9px 10px 9px 0;
                }
                .is-active{
                    color: #006CFF;
                    background-color: #ffffff;
                }
            }
        }
    }
}
.el-tabs__item{
    font-size: 16px;
}
//弹框遮罩层样式
.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;
}
// 自定义右键菜单样式 
.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;
}