main.less 2.81 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,td,tr,.el-col,.title{
    border-color: #E6E6E6 !important;
}
.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;
}
.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: 30px;
                    padding: 0 20px;
                    margin: 9px 10px 9px 0;
                }
                .is-active{
                    color: #006CFF;
                    background-color: #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);
}
// 自定义右键菜单样式 
.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);
}
.contextmenu li {
	margin: 0;
	padding: 7px 16px;
	cursor: pointer;
}

.contextmenu li:hover {
	background: #eee;
}
// end