QPalette{background:#0B1425;}

/* widgetTitle */
QWidget#widgetTitle QLabel {
    font-family: "Microsoft Yahei";
    font-weight: bold;
    color: #FFFFFF;
}
QWidget#widgetTitle QLabel#labTitle {
    margin-left: 50px;
    font-size: 24px;
}
QWidget#widgetTitle QLabel#labTime {
    margin-right: 30px;
    font-size: 20px;
}

QPushButton#btnMenuMin, QPushButton#btnMenuClose, QPushButton#btnMenuSetting {
    border-radius: 5px;
    color: #DCDCDC;
    margin: 15px;
    background: none;
    border-style: none;
}
QPushButton#btnMenuMin:hover{
    color: #FFFFFF;
    margin: 1px 1px 2px 1px;
    background-color: rgba(51, 127, 209, 1.0);
}
QPushButton#btnMenuSetting:hover{
    color: #FFFFFF;
    margin: 1px 1px 2px 1px;
    background-color: rgba(142, 68, 173, 1.0);
}
/* widgetTitle */

/* widgetContent */
QWidget#widgetLeft, QWidget#widgetRight {
    margin-left: 15px;
    margin-right: 15px;
    padding-right: 10px;
    margin-bottom: 20px;
}

QWidget[form="dev"] {
    border: 3px solid #0BB2E9;
    border-radius: 12px;
}
QWidget[form="devAlarm"] {
    border: 3px solid #FF0000;
}

QWidget#widgetContent QLabel {
    font-weight: bold;
/*    font-family: "Microsoft Yahei";*/
}
QLabel[labType='devTitle4'] {
    font-size: 28px;
    color: #62D8FF;
    background-color: #1E5A7C;
}
QLabel[labType='devTitle6'] {
    font-size: 24px;
    color: #62D8FF;
    background-color: #1E5A7C;
}
QLabel[labType='devTitle8'] {
    font-size: 18px;
    color: #62D8FF;
    background-color: #1E5A7C;
}

QLabel[labType='channelNameEven4'] {
    font-size: 28px;
    color: #62D8FF;
    background-color: #194B6C;
}
QLabel[labType='channelNameEven6'] {
    font-size: 20px;
    color: #62D8FF;
    background-color: #194B6C;
}
QLabel[labType='channelNameEven8'] {
    font-size: 16px;
    color: #62D8FF;
    background-color: #194B6C;
}

QLabel[labType='channelValueEven4'] {
    font-size: 28px;
    color: #FFFFFF;
    background-color: #194B6C;
}
QLabel[labType='channelValueEven6'] {
    font-size: 20px;
    color: #FFFFFF;
    background-color: #194B6C;
}
QLabel[labType='channelValueEven8'] {
    font-size: 16px;
    color: #FFFFFF;
    background-color: #194B6C;
}

QLabel[labType='channelNameOdd4'] {
    font-size: 28px;
    color: #62D8FF;
    background-color: #123553;
}
QLabel[labType='channelNameOdd6'] {
    font-size: 20px;
    color: #62D8FF;
    background-color: #123553;
}
QLabel[labType='channelNameOdd8'] {
    font-size: 16px;
    color: #62D8FF;
    background-color: #123553;
}

QLabel[labType='channelValueOdd4'] {
    font-size: 28px;
    color: #FFFFFF;
    background-color: #123553;
}
QLabel[labType='channelValueOdd6'] {
    font-size: 20px;
    color: #FFFFFF;
    background-color: #123553;
}
QLabel[labType='channelValueOdd8'] {
    font-size: 16px;
    color: #FFFFFF;
    background-color: #123553;
}

QLabel[labType='channelNameAlarm'] {
    font-size: 28px;
    color: #FFF000;
    background-color: #9F1919;
}
QLabel[labType='channelValueAlarm'] {
    font-size: 28px;
    color: #FFF000;
    background-color: #9F1919;
}
/* widgetContent */

/* ChannelChartForm */
QPushButton#btnChartClose {
    border-radius: 5px;
    color: #DCDCDC;
    margin: 15px;
    background: none;
    border-style: none;
}
QPushButton#btnChartClose:hover{
    color: #FFFFFF;
    margin: 1px 1px 2px 1px;
    background-color: rgba(238, 0, 0, 1.0);
}
QLabel#labChartTitle {
    font-family: "Microsoft Yahei";
    color: #FFFFFF;
    margin-left: 30px;
    font-size: 20px;
}

QToolTip {
    font-family: "Microsoft Yahei";
    font-size: 16px;
    color: #FFFFFF;
    background-color: #0B1425;
    min-width: 500px;
    padding: 0px 5px;
    border: 2px solid #0BB2E9;
    border-radius: 12px;
}
/* ChannelChartForm */

/* CounterSettingForm */
QPushButton#btnSettingClose {
    border-radius: 5px;
    color: #DCDCDC;
    margin: 15px;
    background: none;
    border-style: none;
}
QPushButton#btnSettingClose:hover{
    color: #FFFFFF;
    margin: 1px 1px 1px 1px;
    background-color: rgba(238, 0, 0, 1.0);
}
QLabel#labSettingTitle {
    font-family: "Microsoft Yahei";
    color: #FFFFFF;
    margin-left: 30px;
    font-size: 20px;
}

QDialogButtonBox {
    height: 40px;
}
QDialogButtonBox QPushButton {
    min-height: 32px;
    min-width: 150px;
    color: #FFFFFF;
    font-size: 16px;
    font-family: "Microsoft Yahei";
}

QTabBar::tab {
    min-width: 120px;
    min-height: 40px;
    color: #FFFFFF;
    font-family: "Microsoft Yahei";
    border: 1px solid #0BB2E9;
    border-bottom: none;
}
QTabBar::tab:selected {
    font-size: 16px;
    background-color: #1E5A7C;
    color: #62D8FF;
}
QTabBar::tab:!selected {
    font-size: 14px;
    background-color: #194B6C;
    margin-top: 4px;
}
QTabBar::tab:first {
    border-top-left-radius: 10px;
}
QTabBar::tab:last {
    border-top-right-radius: 10px;
}
QTabWidget::pane {
    border: 1px solid #0BB2E9;
}

QWidget#tabBasic QLabel {
    color: #FFFFFF;
    font-family: "Microsoft Yahei";
    font-size: 16px;
}
QWidget#tabBasic QLineEdit {
    color: #FFFFFF;
    font-family: "Microsoft Yahei";
    font-size: 16px;
    background-color: transparent;
    border: 1px solid #0BB2E9;
    border-radius: 6px;
}

QPushButton#btnSelectDir {
    border-radius: 8px;
    color: #FFFFFF;
    font-family: "Microsoft Yahei";
    border: 1px solid #0BB2E9;
    background-color: transparent;
}
QPushButton#btnSelectDir:hover {
    color: #FFFFFF;
    background-color: rgba(51, 127, 209, 1.0);
}

QRadioButton {
    font-size: 20px;
    color: #FFFFFF;
    font-family: "Microsoft YaHei";
}
QRadioButton::indicator {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    border: 2px solid #62D8FF;
}
QRadioButton::indicator::unchecked {
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
}
QRadioButton::indicator::checked {
    background: #62D8FF;
}

QWidget#tabChannel QLabel#labelCounter {
    color: #FFFFFF;
    font-family: "Microsoft Yahei";
    font-size: 16px;
    margin-left: 30px;
}

QComboBox#selectCounter {
    border: 1px solid #0BB2E9;
    border-radius: 6px;
    font-family: "Microsoft YaHei";
    font-size: 16px;
    padding: 6px;
    color: #FFFFFF;
}

QComboBox#selectCounter QAbstractItemView {
    font-family: "Microsoft YaHei";
    color: #0BB2E9;
    background-color: #123553;
    selection-background-color: #1E5A7C;
}

QComboBox#selectCounter::down-arrow {
    image: url(":/images/arrowDown2.png");
}

QComboBox#selectCounter::down-arrow::on {
    image: url(":/images/arrowUp2.png");
}

QComboBox#selectCounter::drop-down {
    subcontrol-origin: padding;
    subcontrol-position: top right;
    width: 20px;
    border: 0px;
    padding-right: 15px;
}

QWidget#widgetChannel {

}

QWidget#widgetChannel QLabel {
    color: #FFFFFF;
    font-family: "Microsoft YaHei";
    font-size: 16px;
}
QWidget#widgetChannel QLineEdit {
    color: #FFFFFF;
    font-family: "Microsoft YaHei";
    font-size: 16px;
}
QWidget#widgetChannel QDoubleSpinBox {
    color: #FFFFFF;
    font-family: "Microsoft YaHei";
    font-size: 16px;
}
QWidget#widgetChannel QCheckBox {
    color: #FFFFFF;
    font-family: "Microsoft YaHei";
    font-size: 16px;
    padding-left: 15px;
}
QWidget#widgetChannel QCheckBox::indicator {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    border: 2px solid #62D8FF;
}
QWidget#widgetChannel QCheckBox::indicator::unchecked {
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
}
QWidget#widgetChannel QCheckBox::indicator::checked {
    background: #62D8FF;
}

QWidget#widgetChannel QLabel[table="header"] {
    background-color: #1E5A7C;
    color: #62D8FF;
}
QWidget#widgetChannel QLabel[table="trEven"] {
    background-color: #194B6C;
}
QWidget#widgetChannel QLabel[table="trOdd"] {
    background-color: #123553;
}

QWidget#widgetChannel QLineEdit[table="trEven"] {
    background-color: #194B6C;
    padding-left: 10px;
}
QWidget#widgetChannel QLineEdit[table="trOdd"] {
    background-color: #123553;
    padding-left: 10px;
}

QWidget#widgetChannel QDoubleSpinBox[table="trEven"] {
    background-color: #194B6C;
    padding-left: 10px;
}
QWidget#widgetChannel QDoubleSpinBox[table="trOdd"] {
    background-color: #123553;
    padding-left: 10px;
}

QWidget#widgetChannel QCheckBox[table="trEven"] {
    background-color: #194B6C;
}
QWidget#widgetChannel QCheckBox[table="trOdd"] {
    background-color: #123553;
}

/* CounterSettingForm */
