﻿/* 不再通过这种办法进行样式的内联(这种办法加载的样式表总是在最后加载，导致优先级过高，导致页面内部样式无法以最高级生效)，故改由通过bundle捆集来按顺序加载*/
/*@import url('common_core.css');
@import url(../Skins/S2/skin.css);*/

/*
    API:
    .e-font 用于强制性调整字体为统一规范要求的大小，该类用于因其他样式库导致的字体大小无法调整的情景下添加该类来进行强制性调整。
     
*/

/******************全局调控****************************/

/*统一字体*/
* {
    /*font-size: 12px;*/ /*若要改动字体大小，请使用/framework/font*/
    font-family: Arial,'Microsoft YaHei UI','Microsoft YaHei',Verdana,微软雅黑,宋体;
    -webkit-font-smoothing: subpixel-antialiased;
    line-height: 20px;
    text-size-adjust: 100%;
    color: #666666;
    word-wrap: break-word;
    box-sizing: border-box;
}

/* 若要改动字体大小，请使用/framework/font
    @media screen and (device-width:1680px) {
    * {
        font-size: 14px;
    } 
}

@media screen and (min-device-width:1920px) {
    * {
        font-size: 14px;
    } 
}*/


html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: #fff;
}







/*按钮*/
input[type=button], input[type=submit] {
    background-color: #007FCC;
    color: white;
    text-align: center;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    padding: 5px 15px 5px 15px;
    height: 30px;
    line-height: 20px;
    font-size: 90% !important;
    outline: none;
}

    input[type=button]:hover, input[type=submit]:hover {
        background-color: #005ACC;
    }


/*文本框*/
input[type=text], input[type=password], input[type=number], input[type=date], textarea {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 1px 5px 0px 5px;
    height: 30px;
    line-height: 30px;
    min-width: 30px;
    outline: none;
    width: 175px;
}


    input[type=text]:hover, input[type=password]:hover, input[type=number]:hover, input[type=date]:hover, textarea:hover {
        border: 1px solid #95B8E7;
    }





textarea {
    height: 100px;
}



/*多选控件*/
select {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 0px 5px 2px 5px;
    height: 30px;
    min-width: 30px;
    outline: none;
    width: 175px;
}

    select:hover {
        border: 1px solid #95B8E7;
    }

/*单选按钮*/
/*input[type=radio] {
    height: 20px;
    width: 20px;
    margin: 0 3px 0 0;
}*/

/*多选按钮*/
input[type=checkbox] {
    height: 20px;
    width: 20px;
    margin: 0 2px 0 0;
}




/******************修改easyui样式****************************/

/*文本框*/
input[class*="textbox-text"], input[class*="textbox-text"]:hover {
    border: 0; /*用于消除上文公共样式对easyui输入框样式的影响*/
}

.textbox-label {
    text-align: right !important;
}

/*.textbox { 
    width: 200px;
}*/

/*消息框-防止当内容过多时益出屏目*/
.messager-body {
    max-height: 90vh;
    max-width: 90vw;
}
/*消息框-标题文字*/
.messager-window .panel-title {
    padding-left: 3px;
    padding-top: 1px;
    font-size: 95% !important;
}

/*分页条-页码输入框*/
.pagination .pagination-num {
    height: 23px;
    text-align: center;
}



/******************自定义扩展****************************/
/*区域框*/
.e-kuang {
    border: 1px dashed #95B8E7;
    border-radius: 3px;
    position: relative;
    margin: 15px 10px 10px 10px;
    padding: 5px 5px 5px 5px;
}

.e-kuang_title {
    position: absolute;
    top: -10px;
    left: 20px;
    display: block;
    background-color: white;
    padding: 0 5px;
}

/** 行 **/
.e-row {
    clear: both;
    padding: 5px 0 0px 0;
    overflow: hidden;
}

    /* 行-栅格 */
    .e-row cell, .e-row .e-cell {
        float: left !important;
        overflow: hidden;
        padding: 5px 0 5px 0;
        line-height: 30px;
    }

    .e-row label {
        min-width: 90px;
        text-align: right;
        font-weight: normal;
        line-height: 30px;
        height: 30px;
        padding-top: 1px;
        padding-right: 5px;
        margin-left: 10px;
        margin-bottom: 0;
        float: left;
    }


    .e-row input[type=text], .e-row input[type=number], .e-row input[type=date], .e-row input[type=password], .e-row select {
        float: left;
        /*margin-left: 3px;*/
    }




    .e-row input[type=checkbox], .e-row input[type=radio] {
        float: left;
        /*margin-left: 3px;*/
        margin-top: 5px;
    }

    .e-row espan {
        float: left;
        margin-right: 5px;
        line-height: 30px;
        height: 30px;
        padding-top: 1px;
    }


/*必填项前加一个红色的星号*/
.e-required::before {
    content: '*';
    color: red;
    background-color: red;
    display: inline-block;
    width: 0px;
    height: 0px;
    overflow: visible;
    position: relative;
    left: -0.5em;
    top: 0.24em;
}




/*禁用-（有些控件不支持只读属性，而用disabled又无法post提交,可在其父DIV上加上此属性类以替代性实现）*/
.e-disabled {
    position: relative;
}

    .e-disabled::before {
        content: ' ';
        position: absolute;
        width: 100%;
        height: 100px;
        opacity: 0.05;
    }

/*底部工具栏-主要是为layer.js增加的扩展-用于layer.js的弹出框内的内嵌页面-占用高度为50px*/
/*.e-bottombar {
    padding: 10px 10px;
    text-align: right;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #eee;
    border-top: 1px solid #ddd;
}*/




/*扩展panel-顶部工具栏*/
/* 已基于easyui,请改用easyui的panel
.e-panel-header {
    background-color: #fafafa;
    overflow: hidden;
    padding: 5px 10px;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    top: 0px;
    border-bottom: 1px solid #ccc;
}

.e-panel-body {
    position: fixed;
    top: 40px;
    padding: 10px 10px;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 5px;
    overflow-x: hidden;
}

.e-panel-bottom {
    border-top: 1px solid #ccc;
    background-color: #fafafa;
    overflow: hidden;
    padding: 5px 10px;
    height: 45px;
    position: fixed;
    bottom: 0px;
    width: 100%;
    text-align: right;
}
*/





/*-----------------列表------------------------*/
/*列表中的操作按钮*/
.e-opt-btn {
    border-radius: 3px;
    background-color: Orange;
    color: White;
    padding: 3px 10px 3px 10px;
    margin: 1px 2px 1px 2px;
    cursor: pointer;
    display: inline-block;
}

    .e-opt-btn:hover {
        color: blue;
    }




/*-----------------mask------------------------*/
/*mask-依赖common.js*/
.e-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9990;
    text-align: center;
    overflow: hidden;
}

.e-mask-mask {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #ccc;
    opacity: 0.4;
    z-index: -1;
}

.e-mask-box {
    display: inline-block;
    padding: 15px;
    background-color: #fff;
    margin-top: calc((100vh - 40px)/2 - 5vh);
    height: 50px;
    border-radius: 3px;
}

    .e-mask-box img {
        width: 20px;
        height: 20px;
        float: left;
    }

    .e-mask-box span {
        float: left;
        padding-left: 10px;
    }
