/* main.css - 主要样式文件 */

/* 基础样式 */
.disabled {
    color: lightgray;
}

.topSpace {
    margin-top: 12px;
}

.cursorPointer {
   cursor: default;
}

.cursorCross {
   cursor: crosshair;
}

.cursorSplitter {
   cursor: row-resize;
}

/* 去掉Canvas的焦点边框 */
canvas, canvas:focus, canvas:active {
   outline: none !important;
   -webkit-tap-highlight-color: rgba(0,0,0,0);
   -webkit-focus-ring-color: rgba(0,0,0,0);
   border: none !important;
   box-shadow: none !important;
}

/* GWT组件样式 */
.gwt-MenuItem-disabled {
    color: lightgray;
}

.offScreen {
    position: absolute;
    right: 101%;
    overflow: hidden;
}

.gwt-Frame {
    overflow: hidden;
    border: 0px !important;
}

.gwt-MenuItem {
    font-size: 14px !important;
}

.gwt-MenuBar-horizontal {
    font-size: 14px !important;
}

.gwt-Label-selected {
    font-size: 1.3em;
    font-weight: 700;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.gwt-Label-1off {
    color: DarkGray;
}

.gwt-Label-2off {
    font-size: 0.8em;
    color: LightGray;
}

.gwt-Label-current {
}

.gwt-Button.chbut {
    padding: 3px;
    margin: 3px;
}

.gwt-Button.chbut.chsel {
    font-weight: bold;
}

.gwt-Button.chbut-black {
    background: black;
    color: white;
}

.gwt-Button.chbut-white {
    background: white;
    color: black;
}

.gwt-TextBox.scalebox {
    width: 100px;
}

.gwt-Button.expand-but {
    line-height: 0;
    font-size: 13px;
    margin-right: 5px;
    border-radius: 0px;
    display: inline-block;
    text-align: center;
    width: 15px;
    height: 15px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 1px;
    padding-top: 0;
    margin-bottom: 1px;
    background: gray;
    color: white;
}

.topButton-red {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    padding: 5px 7px;
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    font-size: small;
    background-color: #ff0000; 
    border: 1px solid #bbb;
    border-bottom: 1px solid #a0a0a0;
    border-radius: 3px;
    -moz-border-radius: 3px;
}

.topButton {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 7px;
    text-decoration: none;
    cursor: pointer;
    font-size: small;
    background-color: #e7e7e7; 
    border: 1px solid #bbb;
    border-bottom: 1px solid #a0a0a0;
    border-radius: 3px;
    -moz-border-radius: 3px;
    display: block;
    text-align: center;
}

.radioPanel label {
    margin-right: 15px;
}

/* 动画 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 