﻿
/**
* 重写Extjs的字体大小      
*/
.x-btn-default-small .x-btn-inner, .x-btn-default-medium .x-btn-inner, .x-btn-default-large .x-btn-inner, .x-btn-default-toolbar-small .x-btn-inner, .x-btn-default-toolbar-medium .x-btn-inner, .x-btn-default-toolbar-large .x-btn-inner, .x-menu-item-text, .x-html-editor-tb .x-font-select, .x-panel-header-default, .x-panel-header-text-default, .x-panel-header-default-framed, .x-tip-header, .x-tip-body, .x-form-invalid-tip-body, .x-tip-header-text, .x-progress-text, .x-toolbar, .x-toolbar .x-form-item-label, .x-toolbar .x-toolbar-text, .x-window-header-text-default, .x-tab-bar, .x-tab button, .x-grid-rowbody, .x-grid-row .x-grid-cell, .x-grid-group-title, .x-grid-row-editor .x-form-field, .x-grid-row-editor .x-form-display-field, .x-form-invalid-under, .x-fieldset-header, .x-column-header, .x-mask-msg div, .x-btn-group-header-text-default-framed, table.x-datepicker-inner a, .x-monthpicker-item, .x-dd-drag-ghost
{
    font-family:  '微软雅黑' !important;
    font-size: 12px !important;
}

/*
* 解决Grid不能复制的问题
*/
.x-grid-cell, .x-grid-row, .x-selectable, .x-selectable *
{
    -moz-user-select: -moz-all !important;
    -khtml-user-select: text !important;
    -webkit-user-select: text !important;
}


/* 解决IE下PNG图片透明Bug */
.IEPNG
{
    behavior: url(../PlatformResources/iepngfix.htc);
}

/* 表格行高(15或者20) */
.x-grid-row TD
{
    font-size: 12px;
    line-height: 15px;
}
.x-tab-default-top button, .x-tab-default-top .x-tab-inner
{
    height: 15px;
    line-height: 15px;
}

/* 重写树的行高  */
.x-grid-cell-treecolumn .x-grid-cell-inner { line-height: 28px; }
.x-grid-cell-treecolumn .x-grid-cell-inner img { margin-top: 6px; }
.x-grid-cell-treecolumn .x-grid-cell-inner .x-tree-expander { margin-top: 3px; }
.x-tree-checkbox{margin-top: 6px;}

/** 给只读字段设置样式
  */
.x-custom-field-disabled
{
    color: black !important;
    color: black;
    background: #F0F8FF;
}
.x-grid-with-row-lines .x-grid-cell-inner {
    line-height: 28px;
    padding-bottom: 0;
    padding-top: 0;
}
.x-action-col-icon {
    margin-left: 5px;
    margin-top: 1px;
}
img.x-action-col-icon {
    margin-top: 5px;
    cursor: pointer;
}
.x-btn-icon{margin-left:2px;}
.x-border-layout-ct {
    background-color:#fff;
}
/*Grid样式*/
.actionbtn.x-btn-default-small-icon-text-left button {
    height: 18px;
}
.my-grid .x-grid-view {
    color: #333;
}
.x-grid-with-col-lines .x-grid-cell {
    border-right: 1px solid #D6E2F2;
}
.x-grid-row .x-grid-cell {
    border-color: #D6E2F2;
    border-top: 0;
}
.x-grid-row-selected .x-grid-cell, .x-grid-row-selected .x-grid-rowwrap-div {
    border-style: solid;
}
.x-grid-row .x-grid-cell-special {
    background-color: #fff;
    background-image: none;
}
.x-grid-row-over.x-grid-row .x-grid-cell-special,.x-nlg .x-grid-row-over.x-grid-row .x-grid-cell-special {
    background-color: #efefef;
}
.x-column-header {
    border-top: 1px solid #c5c5c5;
}
.x-column-header-inner {
    line-height: 19px;
}
.x-form-item {
    font: normal 12px '微软雅黑',arial,verdana,sans-serif;
}
.x-form-trigger {
    background-position: -68px 0;
}
/*.x-form-trigger-wrap-focus .x-form-trigger {
    background-position: -68px 0;
}*/
.x-form-text, textarea.x-form-field{
    border-color: #7eadd9;
}
