1680 lines
38 KiB
Plaintext
1680 lines
38 KiB
Plaintext
/*浅色*/
|
||
QWidget
|
||
{
|
||
font: 10pt "Microsoft YaHei";
|
||
color: #333333;
|
||
/*background:#FDFDFD;*/
|
||
outline:none;
|
||
}
|
||
|
||
|
||
QWidget:disabled
|
||
{
|
||
color:#666666;
|
||
border-color: #cccccc;
|
||
}
|
||
|
||
QFrame{
|
||
color: #333333;
|
||
background-color: #FDFDFD;/*不能设置为transparent*/
|
||
|
||
}
|
||
|
||
QMainWindow
|
||
{
|
||
background-color: #FFFFFF;
|
||
border: 1px solid #ADBDCD;
|
||
}
|
||
|
||
QMainWindow::separator{
|
||
border: 1px solid #B2B9C3;
|
||
border-style: outset;
|
||
width: 4px;
|
||
height: 4px;
|
||
}
|
||
QMainWindow::separator:hover{
|
||
background: #d9e8fd;
|
||
}
|
||
QSplitter::handle{
|
||
border: 0px solid #B2B9C3;
|
||
width: 4px;
|
||
height: 4px;
|
||
}
|
||
QSplitter::handle:hover{/*splitter->handle(1)->setAttribute(Qt::WA_Hover, true);才生效*/
|
||
border-color: #096ae4;
|
||
background-color: #d9e8fd;
|
||
}
|
||
QSplitter::handle:pressed{
|
||
border-color: #096ae4;
|
||
background-color: #d9e8fd;
|
||
}
|
||
QSizeGrip{
|
||
background-color: none;
|
||
}
|
||
|
||
/* =============================================== */
|
||
/* Label */
|
||
/* =============================================== */
|
||
QLabel {
|
||
background: transparent;
|
||
border: 0px solid transparent;
|
||
padding: 1px;
|
||
}
|
||
|
||
|
||
/* A QLabel is a QFrame ... */
|
||
/* A QToolTip is a QLabel ... */
|
||
QToolTip {
|
||
border: 1px solid #B2B9C3;
|
||
border-radius: 2px;
|
||
opacity:210;
|
||
}
|
||
|
||
|
||
|
||
/* =============================================== */
|
||
/* QMenu */
|
||
/* =============================================== */
|
||
QMenuBar
|
||
{
|
||
background-color: transparent;
|
||
}
|
||
|
||
QMenu
|
||
{
|
||
background:#FDFDFD;
|
||
border: 1px solid #B2B9C3;
|
||
padding: 10px 0px 10px 0px;
|
||
}
|
||
|
||
QMenu::item{
|
||
min-width: 80px;
|
||
height:30px;
|
||
color:#333333;
|
||
background:#FDFDFD;
|
||
border: 1px solid transparent;
|
||
padding: 0px 20px 0px 20px;
|
||
}
|
||
QMenu::item:hover{
|
||
color:#333333;
|
||
background:#d9e8fd;
|
||
}
|
||
|
||
QMenu::item:disabled,QMenu::item:disabled:selected,QMenu::item:disabled:pressed{
|
||
|
||
color: #666666;
|
||
background: #FDFDFD;
|
||
}
|
||
|
||
QMenu::item#editBatch{
|
||
min-width: 150px;
|
||
}
|
||
|
||
QMenu::item:selected{
|
||
color:#333333;
|
||
background:#d9e8fd;
|
||
}
|
||
|
||
QMenu::item:pressed {
|
||
color:#096ae4;
|
||
background:#d9e8fd;
|
||
}
|
||
|
||
QMenu#contextMenu{
|
||
min-width:240px;
|
||
}
|
||
|
||
|
||
/* =============================================== */
|
||
/* TextBox */
|
||
/* =============================================== */
|
||
QLineEdit {
|
||
background: #FDFDFD;/*不建议设为透明,否则table编辑时会字显示*/
|
||
selection-background-color: #096ae4;
|
||
selection-color:#FDFDFD;
|
||
border: 1px solid #B2B9C3;
|
||
border-radius: 2px;
|
||
padding: 0 5 0 5px;
|
||
height:28px;
|
||
}
|
||
|
||
QLineEdit:hover{
|
||
border-color: #096ae4;
|
||
}
|
||
QLineEdit:focus{
|
||
border-color: #096ae4;
|
||
}
|
||
/*QLineEdit[readOnly="true"] { color: gray }*/
|
||
QLineEdit[echoMode="2"]{
|
||
lineedit-password-character: 9679;/*字符的ascii码35 88等 */
|
||
}
|
||
|
||
QLineEdit:read-only {
|
||
color: #666666;
|
||
}
|
||
|
||
QLineEdit:disabled{
|
||
color:#666666;
|
||
}
|
||
|
||
QTextEdit{
|
||
selection-background-color:#096ae4;
|
||
selection-color:#FDFDFD;
|
||
border: 1px solid #B2B9C3;
|
||
|
||
}
|
||
QTextEdit:hover{
|
||
border-color: #096ae4;
|
||
}
|
||
QTextEdit:focus{
|
||
border-color: #096ae4;
|
||
}
|
||
/* =============================================== */
|
||
/* Button */
|
||
/* =============================================== */
|
||
QPushButton {
|
||
border: 1px solid #B2B9C3;
|
||
border-radius: 2px;
|
||
/*background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1,
|
||
stop: 0 #EEEEEF, stop: 0.05 #DADADF,stop: 0.5 #DADADF,
|
||
stop: 0.9 #EEEEEF, stop: 1 #EEEEEF);*/
|
||
/*width: 78px;*/
|
||
padding: 5 5 4 5px;
|
||
}
|
||
|
||
QPushButton:hover{
|
||
background-color: #d9e8fd;
|
||
border-color: #096ae4;
|
||
}
|
||
|
||
QPushButton:pressed,
|
||
QPushButton:checked
|
||
{
|
||
color:#FDFDFD;
|
||
background-color: #096ae4;
|
||
}
|
||
|
||
QPushButton:focus,QPushButton:default {
|
||
|
||
border-color: #096ae4; /* make the default button prominent */
|
||
}
|
||
|
||
QToolButton,QToolButton:unchecked { /* ToolBar里的按钮和带下拉菜单的按钮 */
|
||
border-width: 1px;
|
||
border-radius: 3px;
|
||
background-color: transparent;
|
||
/*width: 80px;*/
|
||
height: 28px;
|
||
}
|
||
QToolButton:checked{
|
||
border-width: 1px;
|
||
background-color: #096ae4;
|
||
border-color: #B2B9C3;
|
||
color:#FDFDFD;
|
||
}
|
||
QToolButton:hover{
|
||
border-width: 1px;
|
||
background-color: #d9e8fd;
|
||
border-color: #096ae4;
|
||
}
|
||
|
||
QToolButton:pressed,QToolButton:checked:hover{
|
||
background-color: #096ae4;
|
||
color:#FDFDFD;
|
||
}
|
||
QToolButton:checked:pressed{
|
||
border-width: 1px;
|
||
background-color: #096ae4;
|
||
border-color: #B2B9C3;
|
||
}
|
||
|
||
|
||
/* only for MenuButtonPopup */
|
||
QToolButton[popupMode="1"]{
|
||
padding-left: 1px;
|
||
padding-right: 15px; /* make way for the popup button */
|
||
border: 1px solid #B2B9C3;
|
||
min-height: 15px;
|
||
/*background: qlineargradient(x1:0, y1:0 ,x2:0, y2:1
|
||
stop: 0 #EEEEEF, stop: 0.05 #DADADF, stop: 0.5 #DADADF
|
||
stop: 0.95 #EEEEEF stop: 1#EEEEEF)*/
|
||
}
|
||
QToolButton[popupMode="1"]:hover{
|
||
border-width: 1px;
|
||
background-color: #d9e8fd;
|
||
border-color: #096ae4;
|
||
}
|
||
|
||
QToolButton::menu-button {
|
||
border: 1px solid #B2B9C3;
|
||
border-top-right-radius: 2px;
|
||
border-bottom-right-radius: 2px;
|
||
width: 16px;
|
||
}
|
||
|
||
QToolButton::menu-button:hover {
|
||
border: 1px solid #096ae4;
|
||
}
|
||
|
||
QToolButton::menu-button:pressed {
|
||
border: 1px solid #B2B9C3;
|
||
}
|
||
|
||
QToolButton QMenu
|
||
{
|
||
selection-background-color: #096ae4;
|
||
selection-color:#FDFDFD;
|
||
background: #FDFDFD;
|
||
border: 1px solid #B2B9C3;
|
||
padding: 10px 0px 10px 0px;
|
||
}
|
||
|
||
QToolButton QMenu::item
|
||
{
|
||
height:30px;
|
||
background: #FDFDFD;
|
||
border: 1px solid transparent;
|
||
padding: 0px 20px 0px 20px;
|
||
}
|
||
|
||
/* =============================================== */
|
||
/* QRadioButton */
|
||
/* =============================================== */
|
||
QRadioButton {
|
||
height: 28px;
|
||
}
|
||
|
||
QRadioButton:hover{
|
||
color:#096ae4;
|
||
}
|
||
|
||
|
||
QRadioButton::indicator{
|
||
width: 14px;
|
||
height: 14px;
|
||
}
|
||
|
||
QRadioButton::indicator::unchecked{
|
||
border-image:url(../../resource/zh/public/light/icon/rkb-normal.png);
|
||
}
|
||
|
||
QRadioButton::indicator:unchecked:hover {
|
||
border-image:url(../../resource/zh/public/light/icon/rkb-hover.png);
|
||
}
|
||
|
||
QRadioButton::indicator:unchecked:pressed {
|
||
border-image:url(../../resource/zh/public/light/icon/rkb-hover.png);
|
||
}
|
||
|
||
QRadioButton::indicator:unchecked:disabled {
|
||
border-image:url(../../resource/zh/public/light/icon/rkb-disable.png);
|
||
}
|
||
|
||
QRadioButton::indicator::checked{
|
||
border-image:url(../../resource/zh/public/light/icon/rkb-select-normal.png);
|
||
}
|
||
|
||
QRadioButton::indicator:checked:hover {
|
||
border-image:url(../../resource/zh/public/light/icon/rkb-select-normal.png);
|
||
}
|
||
|
||
QRadioButton::indicator:checked:pressed {
|
||
border-image:url(../../resource/zh/public/light/icon/rkb-select-normal.png);
|
||
}
|
||
|
||
QRadioButton::indicator:checked:disabled {
|
||
border-image:url(../../resource/zh/public/light/icon/rkb-select-disable.png);
|
||
}
|
||
|
||
/* =============================================== */
|
||
/* QCheckBox */
|
||
/* =============================================== */
|
||
QCheckBox{
|
||
color:#333333;
|
||
}
|
||
|
||
QCheckBox::hover {
|
||
color:#096ae4;
|
||
}
|
||
|
||
QCheckBox::indicator{
|
||
width: 14px;
|
||
height: 14px;
|
||
}
|
||
|
||
|
||
QCheckBox::indicator::unchecked{
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-normal.png);
|
||
}
|
||
|
||
QCheckBox::indicator:unchecked:hover {
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-uncheck-hover.png);
|
||
}
|
||
|
||
QCheckBox::indicator:unchecked:pressed {
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-uncheck-hover.png);
|
||
}
|
||
|
||
QCheckBox::indicator:unchecked:disabled {
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-disable.png);
|
||
}
|
||
|
||
QCheckBox::indicator::checked{
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-select-hover.png);
|
||
}
|
||
|
||
QCheckBox::indicator:checked:hover {
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-select-hover.png);
|
||
}
|
||
|
||
QCheckBox::indicator:checked:pressed {
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-select-hover.png);
|
||
}
|
||
|
||
QCheckBox::indicator:checked:disabled {
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-select-disable.png);
|
||
}
|
||
|
||
QCheckBox::indicator:indeterminate {
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-ptck.png);
|
||
}
|
||
|
||
QCheckBox::indicator:indeterminate:hover {
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-ptck-hover.png);
|
||
}
|
||
|
||
QCheckBox::indicator:indeterminate:pressed {
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-ptck-hover.png);
|
||
}
|
||
|
||
QCheckBox::indicator:indeterminate:disabled {
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-ptck-disable.png);
|
||
}
|
||
|
||
/* =============================================== */
|
||
/* Slider ProgressBar */
|
||
/* =============================================== */
|
||
QProgressBar {
|
||
border: 1px solid #B2B9C3;
|
||
border-radius: 4px;
|
||
text-align: center;
|
||
}
|
||
|
||
QProgressBar::chunk {
|
||
background-color: #b3d7f9;
|
||
width: 4px;
|
||
margin: 1px;
|
||
}
|
||
|
||
QSlider{
|
||
border: 1px solid transparent;
|
||
}
|
||
|
||
QSlider::disabled{
|
||
border: 1px solid transparent;
|
||
}
|
||
|
||
QSlider::groove{
|
||
border: 1px solid #B2B9C3;
|
||
background: #FDFDFD;
|
||
}
|
||
QSlider::handle {/*设置中间的那个滑动的键*/
|
||
border: 1px solid #B2B9C3;
|
||
background: #096ae4;
|
||
}
|
||
QSlider::groove:horizontal {
|
||
height: 3px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
|
||
left:5px; right: 5px;
|
||
}
|
||
QSlider::groove:vertical{
|
||
width: 3px;
|
||
top: 5px; bottom: 5px;
|
||
}
|
||
QSlider::handle:horizontal{
|
||
width: 6px;
|
||
margin: -7px; /* height */
|
||
}
|
||
QSlider::handle:vertical{
|
||
height: 6px;
|
||
margin: -7px; /* height */
|
||
}
|
||
QSlider::add-page{/*还没有滑上去的地方*/
|
||
border: 1px solid #B2B9C3;
|
||
background:#eceff2;
|
||
}
|
||
QSlider::sub-page{/*已经划过的从地方*/
|
||
background: #096ae4;
|
||
}
|
||
|
||
/* =============================================== */
|
||
/* ScrollBar */
|
||
/* =============================================== */
|
||
QScrollBar{
|
||
background-color: #FDFDFD;
|
||
border: 1px solid #DADADF;
|
||
border-radius: 0px;
|
||
padding: 1px;
|
||
margin:0px;
|
||
height: 15px;
|
||
width: 15px;
|
||
}
|
||
|
||
QScrollBar::handle{
|
||
border-color:#B2B9C3;
|
||
border-radius: 8px;
|
||
background: #B2B9C3;
|
||
min-width: 10px;
|
||
min-height: 10px;
|
||
}
|
||
QScrollBar::handle:hover {
|
||
background: #096ae4;
|
||
}
|
||
QScrollBar::add-line, QScrollBar::sub-line,
|
||
QScrollBar::add-page, QScrollBar::sub-page {
|
||
width: 0px;
|
||
background: transparent;
|
||
}
|
||
QScrollArea{
|
||
border: none;
|
||
}
|
||
/*QScrollArea QAbstractSlider{
|
||
border-radius: 0px;
|
||
}*/
|
||
|
||
/* =============================================== */
|
||
/* GroupBox */
|
||
/* =============================================== */
|
||
QGroupBox {
|
||
background-color: #FDFDFD;
|
||
border: 1px solid #B2B9C3;
|
||
padding:6px;
|
||
margin: 12px 0px 0px 0px;
|
||
}
|
||
QGroupBox::title {
|
||
left: 6px;
|
||
top:-10px;
|
||
background-color: #FDFDFD;
|
||
}
|
||
QGroupBox::indicator::unchecked{
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-normal.png);
|
||
}
|
||
QGroupBox::indicator::checked{
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-select-hover.png);
|
||
}
|
||
QGroupBox::indicator:indeterminate {
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-ptck.png);
|
||
}
|
||
/* =============================================== */
|
||
/* ToolBox */
|
||
/* =============================================== */
|
||
QToolBox{
|
||
border: 1px solid #B2B9C3;
|
||
}
|
||
QToolBox::tab {
|
||
background: #eceff2;
|
||
border: 1px solid #B2B9C3;
|
||
}
|
||
QToolBox::tab:hover {
|
||
background-color: #d9e8fd;
|
||
border-color: #096ae4;
|
||
}
|
||
QToolBox::tab:pressed {
|
||
background-color: #096ae4;
|
||
color:#FDFDFD;
|
||
border-color: transparent;
|
||
}
|
||
QToolBox::tab:selected {
|
||
font-weight: bold;
|
||
color:#096ae4;
|
||
background-color: #d9e8fd;
|
||
border: 1px solid #096ae4;
|
||
}
|
||
|
||
/* =============================================== */
|
||
/* QTabBar */
|
||
/* =============================================== */
|
||
QTabWidget{
|
||
/*margin-top:10px;*/
|
||
}
|
||
QTabWidget::pane{
|
||
border: 1px solid #B2B9C3;
|
||
}
|
||
QTabWidget::tab-bar {
|
||
left: 0px;
|
||
}
|
||
QTabBar::tab {
|
||
font-weight:bold;
|
||
color:#333333;
|
||
min-height:30px;
|
||
background: #FDFDFD;
|
||
}
|
||
QTabBar::tab:hover {
|
||
background: #d9e8fd;
|
||
border-color: transparent;
|
||
}
|
||
QTabBar::tab:selected {
|
||
background: #d9e8fd;
|
||
color:#096ae4;
|
||
border-color: #096ae4;
|
||
}
|
||
QTabBar::tab:pressed {
|
||
background: #096ae4;
|
||
border-color: #096ae4;
|
||
color:#FDFDFD;
|
||
}
|
||
QTabBar::tab:focus {
|
||
border-color: #096ae4;
|
||
}
|
||
|
||
QTabBar::tab:top{
|
||
height:30px;
|
||
border-top:0px;
|
||
border-left:0px;
|
||
border-right:0px;
|
||
border-bottom:2px solid transparent;
|
||
padding:0 10 0 10px;
|
||
}
|
||
|
||
QTabBar::tab:top:selected{
|
||
border-top:0px;
|
||
border-left:0px;
|
||
border-right:0px;
|
||
border-bottom:2px solid #096ae4;
|
||
}
|
||
|
||
QTabBar::tab:bottom{
|
||
/* width:80px; */
|
||
height:30px;
|
||
border-top:2px solid transparent;
|
||
border-left:0px;
|
||
border-right:0px;
|
||
border-bottom:0px;
|
||
padding:0 10 0 10px;
|
||
}
|
||
|
||
QTabBar::tab:bottom:selected{
|
||
border-top:2px solid #096ae4;
|
||
border-left:0px;
|
||
border-right:0px;
|
||
border-bottom:0px;
|
||
}
|
||
|
||
QTabBar::tab:right{
|
||
height:80px;
|
||
border-top:0px;
|
||
border-bottom:0px;
|
||
border-left:0px;
|
||
border-right:2px solid transparent;
|
||
padding:5 5 5 6px;
|
||
}
|
||
|
||
QTabBar::tab:right:selected{
|
||
height:80px;
|
||
border-top:0px;
|
||
border-bottom:0px;
|
||
border-left:0px;
|
||
border-right:2px solid #096ae4;
|
||
|
||
}
|
||
QTabBar::tab:left{
|
||
height:80px;
|
||
border-top:0px;
|
||
border-bottom:0px;
|
||
border-right:0px;
|
||
border-left:2px solid transparent;
|
||
padding:5 5 5 6px;
|
||
}
|
||
|
||
QTabBar::tab:left:selected{
|
||
height:80px;
|
||
border-top:0px;
|
||
border-bottom:0px;
|
||
border-right:0px;
|
||
border-left:2px solid #096ae4;
|
||
}
|
||
|
||
|
||
QTabWidget::pane
|
||
{
|
||
border:1px solid #B2B9C3;
|
||
padding:6px;
|
||
}
|
||
|
||
|
||
/* =============================================== */
|
||
/* QHeaderView for list table */
|
||
/* =============================================== */
|
||
QHeaderView {
|
||
background-color: #eceff2;
|
||
border: none;
|
||
margin: -1px;
|
||
padding: 0px;
|
||
height:30px;
|
||
}
|
||
QHeaderView::section, QTableCornerButton::section {/*设置表头属性*//*左上角*/
|
||
background-color: #eceff2;
|
||
padding: 0 3px;
|
||
height: 30px;
|
||
border-top: 0px solid #B2B9C3;
|
||
border-left: 0px solid #B2B9C3;
|
||
border-right: 1px solid #B2B9C3;
|
||
border-bottom: 1px solid #B2B9C3;
|
||
border-radius: 0px;
|
||
}
|
||
QHeaderView::section:hover, QTableCornerButton::section:hover{
|
||
/*background-color: #d9e8fd;*/
|
||
}
|
||
QHeaderView::section:pressed{
|
||
background-color: #096ae4;
|
||
color:#FDFDFD;
|
||
}
|
||
QHeaderView::section:checked {
|
||
background-color: #eceff2;
|
||
color:#333333;
|
||
}
|
||
|
||
QHeaderView::down-arrow
|
||
{
|
||
subcontrol-position:center right;
|
||
padding-right:10px;
|
||
image:url(../../resource/zh/public/light/icon/box-down-normal.png);
|
||
}
|
||
|
||
QHeaderView::up-arrow
|
||
{
|
||
subcontrol-position:center right;
|
||
padding-right:10px;
|
||
image:url(../../resource/zh/public/light/icon/box-up-normal.png);
|
||
}
|
||
|
||
/* =============================================== */
|
||
/* QAbstractItemView */
|
||
/* =============================================== */
|
||
QAbstractItemView
|
||
{
|
||
show-decoration-selected:1;
|
||
selection-background-color:#d9e8fd; /*鼠标选中时背景色*/
|
||
selection-color:#096ae4; /*鼠标选中时前景色:文字颜色*/
|
||
/*设置交替颜色,需要在函数属性中设置:tableWidget->setAlternatingRowColors(true)*/
|
||
alternate-background-color: #f4f8fb;
|
||
background: #FDFDFD;
|
||
color:#333333;
|
||
border: 1px solid #B2B9C3;
|
||
}
|
||
|
||
QAbstractItemView::item
|
||
{
|
||
border-radius:0px;
|
||
min-height:30px;
|
||
border: 0px;
|
||
padding: 0px;
|
||
}
|
||
|
||
QAbstractItemView::item:hover{
|
||
background: #d9e8fd;
|
||
}
|
||
|
||
QAbstractItemView::item:pressed{
|
||
color: #d9e8fd;
|
||
background:#d9e8fd;
|
||
}
|
||
|
||
QAbstractItemView::item:selected:focus {
|
||
background: #d9e8fd;
|
||
color: #096ae4;
|
||
}
|
||
|
||
QAbstractItemView::item:selected:!focus {
|
||
background: #d9e8fd;
|
||
color: #096ae4;
|
||
}
|
||
|
||
QAbstractItemView::item:selected:active {
|
||
background: #d9e8fd;
|
||
color: #096ae4;
|
||
}
|
||
|
||
QAbstractItemView QCheckBox::hover{
|
||
|
||
background: #d9e8fd;
|
||
}
|
||
|
||
QAbstractItemView QCheckBox::pressed{
|
||
color: #096ae4;
|
||
background:#d9e8fd;
|
||
}
|
||
|
||
QAbstractItemView QCheckBox::focus{
|
||
color:#096ae4;
|
||
background: #d9e8fd;
|
||
}
|
||
|
||
QAbstractItemView QCheckBox::selected:focus {
|
||
background: #d9e8fd;
|
||
color: #096ae4;
|
||
}
|
||
|
||
QAbstractItemView QCheckBox::selected:!focus {
|
||
background: #d9e8fd;
|
||
color: #096ae4;
|
||
}
|
||
|
||
QAbstractItemView QCheckBox::selected:active {
|
||
background: #d9e8fd;
|
||
color: #096ae4;
|
||
}
|
||
|
||
QAbstractItemView::indicator::unchecked{
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-normal.png);
|
||
}
|
||
|
||
|
||
QAbstractItemView::indicator::checked{
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-select-hover.png);
|
||
}
|
||
|
||
QAbstractItemView::indicator:indeterminate {
|
||
border-image:url(../../resource/zh/public/light/icon/ckb-ptck.png);
|
||
}
|
||
|
||
QAbstractItemView::branch{
|
||
background-color: #FDFDFD;
|
||
}
|
||
|
||
QAbstractItemView::branch:alternate
|
||
{
|
||
alternate-background-color: #f4f8fb;
|
||
}
|
||
|
||
|
||
QAbstractItemView::branch:hover{
|
||
background: #d9e8fd;
|
||
}
|
||
|
||
QAbstractItemView::branch:pressed{
|
||
color: #d9e8fd;
|
||
background:#d9e8fd;
|
||
}
|
||
|
||
QAbstractItemView::branch:focus{
|
||
color:#096ae4;
|
||
background: #d9e8fd;
|
||
}
|
||
|
||
QAbstractItemView::branch:selected:focus {
|
||
background: #d9e8fd;
|
||
color: #096ae4;
|
||
}
|
||
|
||
QAbstractItemView::branch:selected:!focus{
|
||
background: #d9e8fd;
|
||
color: #096ae4;
|
||
}
|
||
|
||
QAbstractItemView::branch:selected:active {
|
||
background: #d9e8fd;
|
||
color: #096ae4;
|
||
}
|
||
|
||
|
||
/* =============================================== */
|
||
/* QListView QListWidget */
|
||
/* =============================================== */
|
||
QListWidget, QListView
|
||
{
|
||
gridline-color: #B2B9C3; /*表格中的网格线条颜色*/
|
||
border:1px solid #B2B9C3; /*边框线的宽度、颜色*/
|
||
/*border:none;*/ /*去除边界线*/
|
||
/*border-radius:5px;*/
|
||
/*padding:10px 10px;*/ /*表格与边框的间距*/
|
||
}
|
||
|
||
QListView::item, QListWidget::item{
|
||
background: transparent;
|
||
outline-style: none;
|
||
border: none;
|
||
padding: 0px 10px 0px 10px;
|
||
}
|
||
|
||
/* =============================================== */
|
||
/* QTableWidget */
|
||
/* =============================================== */
|
||
QTableWidget, QTableView
|
||
{
|
||
gridline-color: #EEEEEF; /*表格中的网格线条颜色*/
|
||
border:1px solid #B2B9C3; /*边框线的宽度、颜色*/
|
||
/*border:none;*/ /*去除边界线*/
|
||
/*border-radius:5px;*/
|
||
/*padding:10px 10px;*/ /*表格与边框的间距*/
|
||
}
|
||
QTableView::item, QTabWidget::item{
|
||
background: transparent;
|
||
outline-style: none;
|
||
border: none;
|
||
}
|
||
|
||
QTableView QLineEdit
|
||
{
|
||
/*background: #FDFDFD;*/
|
||
border-radius: 0px;
|
||
padding: 0px;
|
||
}
|
||
|
||
QTableWidget QComboBox{
|
||
/*background: #FDFDFD;*/
|
||
border-radius: 0px;
|
||
/*margin: 2px;*/
|
||
border: none;
|
||
height:28px;
|
||
}
|
||
|
||
QTableView[changed="true"] {
|
||
alternate-background-color: #AED8D8;
|
||
background: #88ADD2;
|
||
}
|
||
|
||
QTableView[changed="false"] {
|
||
alternate-background-color: #E6ECF2;
|
||
background: white;
|
||
}
|
||
|
||
/* =============================================== */
|
||
/* QTreeWidget QTreeView */
|
||
/* =============================================== */
|
||
QTreeWidget, QTreeView
|
||
{
|
||
background:#FDFDFD;
|
||
}
|
||
QTreeWidget::item, QTreeView::item{
|
||
background: transparent;
|
||
outline-style: none;
|
||
border: none;
|
||
}
|
||
|
||
|
||
QTreeWidget::branch,QTreeView::branch {
|
||
background-color: #FDFDFD;
|
||
}
|
||
|
||
QTreeWidget::branch:hover,QTreeView::branch:hover{
|
||
background: #d9e8fd;
|
||
}
|
||
|
||
QTreeWidget::branch:pressed,QTreeView::branch:pressed{
|
||
color: #d9e8fd;
|
||
background:#d9e8fd;
|
||
}
|
||
|
||
QTreeWidget::branch:focus,QTreeView::branch:focus{
|
||
color:#096ae4;
|
||
border-color: #d9e8fd;
|
||
}
|
||
|
||
QTreeWidget::branch:selected:focus,QTreeView::branch:selected:focus {
|
||
background: #d9e8fd;
|
||
color: #096ae4;
|
||
}
|
||
|
||
QTreeWidget::branch:selected:!focus,QTreeView::branch:selected:!focus{
|
||
background: #d9e8fd;
|
||
color: #096ae4;
|
||
}
|
||
|
||
QTreeWidget::branch:selected:active,QTreeView::branch:selected:active {
|
||
background: #d9e8fd;
|
||
color: #096ae4;
|
||
}
|
||
|
||
QTreeView::branch {
|
||
width:9px;
|
||
height:9px;
|
||
background-repeat: no-repeat;
|
||
background-position: center;
|
||
}
|
||
|
||
QTreeView::branch:closed:has-children {
|
||
image:url(../../resource/zh/public/light/icon/arrowRight-normal.png);
|
||
}
|
||
|
||
QTreeView::branch:closed:has-children:hover {
|
||
image:url(../../resource/zh/public/light/icon/arrowRight-normal.png);
|
||
}
|
||
|
||
QTreeView::branch:open:has-children {
|
||
image:url(../../resource/zh/public/light/icon/arrowBottom-normal.png);
|
||
}
|
||
|
||
QTreeView::branch:open:has-children:hover {
|
||
image:url(../../resource/zh/public/light/icon/arrowBottom-normal.png);
|
||
}
|
||
|
||
/* =============================================== */
|
||
/* QAbstractSpinBox spinbox QDateTimeEdit */
|
||
/* =============================================== */
|
||
QAbstractSpinBox {
|
||
background: #FDFDFD;/*不建议设为透明,否则table编辑时会字显示*/
|
||
selection-background-color:#096ae4;
|
||
selection-color:#FDFDFD;
|
||
border: 1px solid #B2B9C3;
|
||
border-radius: 2px;
|
||
padding: 0 10 0 10px;
|
||
height:28px;
|
||
}
|
||
|
||
QAbstractSpinBox:hover {
|
||
border-color: #096ae4;
|
||
selection-background-color:#096ae4;
|
||
selection-color:#FDFDFD;
|
||
}
|
||
|
||
QAbstractSpinBox:focus {
|
||
border-color: #096ae4;
|
||
|
||
}
|
||
|
||
/*SpinBox向上按钮样式*/
|
||
QAbstractSpinBox::up-button {
|
||
margin: 5px 5px 5px 5px;
|
||
height:7px;
|
||
width:11px;
|
||
image:url(../../resource/zh/public/light/icon/box-up-normal.png);
|
||
}
|
||
|
||
QAbstractSpinBox::up-button:hover {
|
||
image:url(../../resource/zh/public/light/icon/box-up-select.png);
|
||
|
||
}
|
||
|
||
QAbstractSpinBox::up-button:pressed {
|
||
image:url(../../resource/zh/public/light/icon/box-up-select.png);
|
||
|
||
}
|
||
|
||
QAbstractSpinBox::up-button:disabled{
|
||
image:url(../../resource/zh/public/light/icon/box-up-normal.png);
|
||
|
||
}
|
||
|
||
/*SpinBox向下按钮样式*/
|
||
QAbstractSpinBox::down-button {
|
||
margin: 5px 5px 5px 5px;
|
||
height:7px;
|
||
width:11px;
|
||
image:url(../../resource/zh/public/light/icon/box-down-normal.png);
|
||
}
|
||
|
||
QAbstractSpinBox::down-button:hover{
|
||
image:url(../../resource/zh/public/light/icon/box-down-select.png);
|
||
}
|
||
|
||
QAbstractSpinBox::down-button:pressed{
|
||
image:url(../../resource/zh/public/light/icon/box-down-select.png);
|
||
}
|
||
|
||
QAbstractSpinBox::down-button:disabled{
|
||
image:url(../../resource/zh/public/light/icon/box-down-normal.png);
|
||
|
||
}
|
||
|
||
/* =============================================== */
|
||
/* QComboBox */
|
||
/* =============================================== */
|
||
QComboBox{
|
||
background: #FDFDFD;/*不建议设为透明,否则table编辑时会字显示*/
|
||
selection-background-color:#096ae4;
|
||
selection-color:#FDFDFD;
|
||
border: 1px solid #B2B9C3;
|
||
border-radius: 2px;
|
||
padding: 0 5 0 5px;
|
||
height:28px;
|
||
}
|
||
|
||
QComboBox:hover
|
||
{
|
||
border-color: #096ae4;
|
||
}
|
||
|
||
QComboBox:focus {
|
||
border-color: #096ae4;
|
||
}
|
||
|
||
QComboBox QAbstractItemView
|
||
{
|
||
selection-background-color: #d9e8fd;
|
||
selection-color:#096ae4;
|
||
alternate-background-color: #f4f8fb;
|
||
background: #FDFDFD;
|
||
border: 1px solid #B2B9C3;
|
||
padding: 10px 0px 10px 0px;
|
||
}
|
||
|
||
QComboBox QAbstractItemView::item:selected:active {
|
||
background: transparent;
|
||
color: #096ae4;
|
||
}
|
||
|
||
QComboBox::drop-down {
|
||
border-image:url(../../resource/zh/public/light/icon/box-down-normal.png);
|
||
margin-right: 10px;
|
||
height:7px;
|
||
width:11px;
|
||
subcontrol-origin: margin;
|
||
subcontrol-position: center right;
|
||
}
|
||
|
||
QComboBox::drop-down:hover{
|
||
border-image:url(../../resource/zh/public/light/icon/box-down-select.png);
|
||
}
|
||
|
||
QComboBox::drop-down:open:!hover {
|
||
border-image:url(../../resource/zh/public/light/icon/box-down-normal.png);
|
||
}
|
||
|
||
QComboBox::drop-down:open:hover {
|
||
border-image:url(../../resource/zh/public/light/icon/box-down-select.png);
|
||
}
|
||
|
||
QComboBox::drop-down:disabled {
|
||
border-image:url(../../resource/zh/public/light/icon/box-down-normal.png);
|
||
}
|
||
|
||
/* =============================================== */
|
||
/* QCalendarWidget */
|
||
/* =============================================== */
|
||
QCalendarWidget QWidget{
|
||
border: none;
|
||
background-color: #FDFDFD;
|
||
color:#333333;
|
||
}
|
||
|
||
QCalendarWidget QWidget#qt_calendar_calendarview{
|
||
border-left: 1px solid #B2B9C3;
|
||
border-right: 1px solid #B2B9C3;
|
||
border-bottom: 1px solid #B2B9C3;
|
||
background-color: #FDFDFD;
|
||
}
|
||
|
||
QCalendarWidget QWidget#qt_calendar_navigationbar {
|
||
background-color: #eceff2;
|
||
border: 1px solid #B2B9C3;
|
||
}
|
||
|
||
|
||
QCalendarWidget QMenu{
|
||
width: 80px;
|
||
background-color: #FDFDFD;
|
||
border: 0px solid #cccfd9;
|
||
color:#096ae4;
|
||
}
|
||
|
||
|
||
QCalendarWidget QWidget#qt_calendar_yearbutton{
|
||
background-color: transparent;
|
||
}
|
||
|
||
QCalendarWidget QWidget#qt_calendar_yearbutton{
|
||
background-color: transparent;
|
||
}
|
||
|
||
|
||
QCalendarWidget QAbstractSpinBox {
|
||
background: #FDFDFD;/*不建议设为透明,否则table编辑时会字显示*/
|
||
selection-background-color: #096ae4;
|
||
border: 1px solid #B2B9C3;
|
||
border-radius: 0px;
|
||
padding: 0 10 0 10px;
|
||
height:30px;
|
||
}
|
||
|
||
QCalendarWidget QAbstractSpinBox:hover {
|
||
border-color: #096ae4;
|
||
}
|
||
|
||
QCalendarWidget QAbstractSpinBox:focus {
|
||
border-color: #096ae4;
|
||
}
|
||
|
||
QCalendarWidget QToolButton:pressed,QCalendarWidget QToolButton:checked:hover{
|
||
color:#096ae4;
|
||
}
|
||
|
||
|
||
QCalendarWidget QToolButton#qt_calendar_prevmonth{
|
||
width: 40px;
|
||
qproperty-icon: url(../../resource/zh/public/light/icon/arrowLeft.png);
|
||
background-color: transparent;
|
||
}
|
||
|
||
QCalendarWidget QToolButton#qt_calendar_nextmonth {
|
||
width: 40px;
|
||
qproperty-icon: url(../../resource/zh/public/light/icon/arrowRight.png);
|
||
background-color: transparent;
|
||
}
|
||
|
||
QCalendarWidget QToolButton#qt_calendar_monthbutton {
|
||
padding-right: 10px;
|
||
background-color: transparent;
|
||
}
|
||
|
||
QCalendarWidget QAbstractItemView
|
||
{
|
||
selection-background-color:#096ae4; /*鼠标选中时背景色*/
|
||
selection-color:#FDFDFD; /*鼠标选中时前景色:文字颜色*/
|
||
/*设置交替颜色,需要在函数属性中设置:tableWidget->setAlternatingRowColors(true)*/
|
||
alternate-background-color: #f4f8fb;
|
||
background: #FDFDFD;
|
||
border: 1px solid #B2B9C3;
|
||
}
|
||
|
||
|
||
/* QDateEdit:drop-down{
|
||
border:none;
|
||
padding-right:8px;
|
||
background:white;
|
||
} */
|
||
|
||
QDateEdit::drop-down {
|
||
border-image:url(../../resource/zh/public/light/icon/box-down-normal.png);
|
||
margin-right: 10px;
|
||
height:7px;
|
||
width:11px;
|
||
subcontrol-origin: margin;
|
||
subcontrol-position: center right;
|
||
}
|
||
|
||
QDateEdit::drop-down:hover{
|
||
border-image:url(../../resource/zh/public/light/icon/box-down-select.png);
|
||
}
|
||
|
||
QDateEdit::drop-down:open:!hover {
|
||
border-image:url(../../resource/zh/public/light/icon/box-down-normal.png);
|
||
}
|
||
|
||
QDateEdit::drop-down:open:hover {
|
||
border-image:url(../../resource/zh/public/light/icon/box-down-select.png);
|
||
}
|
||
|
||
QDateEdit::drop-down:disabled {
|
||
border-image:url(../../resource/zh/public/light/icon/box-down-normal.png);
|
||
}
|
||
|
||
|
||
|
||
/* =============================================== */
|
||
/* 主窗口 */
|
||
/* =============================================== */
|
||
MainWindow,CustomMainWindow,CustomUiMainWindow
|
||
{
|
||
border-style:solid;
|
||
background-color: #EFF7FC;
|
||
background-repeat: no-repeat;
|
||
background-position: center;
|
||
background-size: cover;
|
||
background-attachment: fixed;
|
||
border: 1px solid #ADBDCD;
|
||
}
|
||
|
||
WorkFrame
|
||
{
|
||
background-color: #FDFDFD;
|
||
border: 0px solid #ADBDCD;
|
||
border-right:1px solid #ADBDCD;
|
||
}
|
||
|
||
MenuFrame
|
||
{
|
||
min-width: 90px;
|
||
max-width: 90px;
|
||
background-color: transparent;
|
||
}
|
||
|
||
/* =============================================== */
|
||
/* 自定义控件部分- 标题头 */
|
||
/* =============================================== */
|
||
MainTitle{
|
||
background:transparent;
|
||
min-height: 42px;
|
||
max-height: 42px;
|
||
border-bottom:2px solid #d9e8fd;
|
||
}
|
||
|
||
MainTitle QLabel#icon {
|
||
max-height:32px;
|
||
max-width:32px;
|
||
min-height:32px;
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
background:transparent;
|
||
border-image: url(../../resource/zh/public/light/icon/min_logo.png);
|
||
}
|
||
|
||
MainTitle QLabel#title {
|
||
color:#0084D4;
|
||
font-weight: bold;
|
||
font-size: 18px;
|
||
}
|
||
|
||
MainTitle QPushButton#min_btn {
|
||
max-height:32px;
|
||
max-width:32px;
|
||
min-height:32px;
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-position:center;
|
||
background:transparent;
|
||
radius:0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_min.png) 0 96 0 0 ;
|
||
}
|
||
|
||
MainTitle QPushButton#min_btn:hover {
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-position:center;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_min.png) 0 64 0 32;
|
||
}
|
||
|
||
MainTitle QPushButton#min_btn:pressed {
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-position:center;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_min.png) 0 32 0 64 ;
|
||
|
||
}
|
||
|
||
MainTitle QPushButton#min_btn:disabled {
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_min.png) 0 0 0 96 ;
|
||
|
||
}
|
||
|
||
|
||
MainTitle QPushButton#max_btn[buttonStatus="max"]{
|
||
max-height:32px;
|
||
max-width:32px;
|
||
min-height:32px;
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-position:center;
|
||
background:transparent;
|
||
radius:0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_max.png) 0 96 0 0 ;
|
||
}
|
||
|
||
MainTitle QPushButton#max_btn:hover[buttonStatus="max"] {
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-position:center;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_max.png) 0 64 0 32;
|
||
}
|
||
|
||
MainTitle QPushButton#max_btn:pressed[buttonStatus="max"] {
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-position:center;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_max.png) 0 32 0 64 ;
|
||
|
||
}
|
||
|
||
MainTitle QPushButton#max_btn:disabled[buttonStatus="max"] {
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_max.png) 0 0 0 96 ;
|
||
|
||
}
|
||
|
||
|
||
|
||
MainTitle QPushButton#max_btn[buttonStatus="normal"]{
|
||
max-height:32px;
|
||
max-width:32px;
|
||
min-height:32px;
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-position:center;
|
||
background:transparent;
|
||
radius:0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_normal.png) 0 96 0 0 ;
|
||
}
|
||
|
||
MainTitle QPushButton#max_btn:hover[buttonStatus="normal"] {
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-position:center;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_normal.png) 0 64 0 32;
|
||
}
|
||
|
||
MainTitle QPushButton#max_btn:pressed[buttonStatus="normal"] {
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-position:center;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_normal.png) 0 32 0 64 ;
|
||
|
||
}
|
||
|
||
MainTitle QPushButton#max_btn:disabled[buttonStatus="normal"] {
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_normal.png) 0 0 0 96 ;
|
||
|
||
}
|
||
|
||
MainTitle QPushButton#close_btn {
|
||
max-height:32px;
|
||
max-width:32px;
|
||
min-height:32px;
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-position:center;
|
||
background:transparent;
|
||
radius:0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_close.png) 0 96 0 0 ;
|
||
}
|
||
|
||
MainTitle QPushButton#close_btn:hover {
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-position:center;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_close.png) 0 64 0 32;
|
||
}
|
||
|
||
MainTitle QPushButton#close_btn:pressed {
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-position:center;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_close.png) 0 32 0 64 ;
|
||
|
||
}
|
||
|
||
MainTitle QPushButton#close_btn:disabled {
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_close.png) 0 0 0 96 ;
|
||
}
|
||
|
||
/* =============================================== */
|
||
/* 自定义控件部分- 弹出窗 */
|
||
/* =============================================== */
|
||
QWidget#CustomDialogCentralWidget
|
||
{
|
||
background-color: #fdfdfd;
|
||
border-left:1px solid #adbdcd;
|
||
border-right:1px solid #adbdcd;
|
||
border-bottom:1px solid #B2B9C3;
|
||
border-bottom-left-radius: 5px;
|
||
border-bottom-right-radius: 5px;
|
||
border-style: solid;
|
||
}
|
||
|
||
CustomDialogTitle{
|
||
border-top:2px solid #adbdcd;
|
||
border-left:2px solid #adbdcd;
|
||
border-right:2px solid #adbdcd;
|
||
border-bottom:1px solid #B2B9C3;
|
||
background:#d9e8fd;
|
||
min-height: 32px;
|
||
max-height: 32px;
|
||
border-top-left-radius: 5px;
|
||
border-top-right-radius: 5px;
|
||
border-style:solid;
|
||
border-width:1px;
|
||
}
|
||
|
||
CustomDialogTitle QLabel#icon {
|
||
max-height:32px;
|
||
max-width:32px;
|
||
min-height:32px;
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
background:transparent;
|
||
border-image: url(../../resource/zh/public/light/icon/min_logo.png);
|
||
}
|
||
|
||
CustomDialogTitle QLabel#title {
|
||
color:#0084D4;
|
||
font-weight: bold;
|
||
}
|
||
|
||
|
||
CustomDialogTitle QPushButton#close_btn {
|
||
max-height:32px;
|
||
max-width:32px;
|
||
min-height:32px;
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-position:center;
|
||
background:transparent;
|
||
radius:0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_close.png) 0 96 0 0 ;
|
||
}
|
||
|
||
CustomDialogTitle QPushButton#close_btn:hover {
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-position:center;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_close.png) 0 64 0 32;
|
||
}
|
||
|
||
CustomDialogTitle QPushButton#close_btn:pressed {
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-position:center;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_close.png) 0 32 0 64 ;
|
||
|
||
}
|
||
|
||
CustomDialogTitle QPushButton#close_btn:disabled {
|
||
border: 0px;
|
||
padding: 0px 0px 0px 0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_close.png) 0 0 0 96 ;
|
||
}
|
||
|
||
|
||
CustomDialog,CustomUiDialog
|
||
{
|
||
background:#FDFDFD;
|
||
border:2px solid #adbdcd;
|
||
border-radius: 5px;
|
||
border-style:solid;
|
||
border-width:1px;
|
||
}
|
||
|
||
|
||
/* =============================================== */
|
||
/* 自定义控件部分- 主菜单 */
|
||
/* =============================================== */
|
||
MenuFrame QPushButton{
|
||
background-color:transparent;
|
||
background-position:top;
|
||
background-repeat:no-repeat;
|
||
background-origin:padding;
|
||
height:45px;
|
||
width:60px;
|
||
padding:18px 0px -10px 0px;
|
||
margin: 0px -1px 1px 5px;
|
||
border:1px solid transparent;
|
||
|
||
background-image:url(../../resource/zh/public/light/icon/main_common.png);
|
||
border-width: 2px;
|
||
}
|
||
|
||
MenuFrame QPushButton:hover{
|
||
|
||
border-top-left-radius:8px;
|
||
border-bottom-left-radius:8px;
|
||
border-top-right-radius:8px;
|
||
border-bottom-right-radius:8px;
|
||
background-color:#d9e8fd;
|
||
color: #096ae4;
|
||
border-top:2px solid transparent;
|
||
border-left:2px solid transparent;
|
||
border-right:2px solid transparent;
|
||
border-bottom:2px solid transparent;
|
||
|
||
background-image:url(../../resource/zh/public/light/icon/main_common.png);
|
||
}
|
||
|
||
|
||
|
||
MenuFrame QPushButton:pressed, MenuFrame QPushButton:checked,MenuFrame QPushButton:focus{
|
||
border-top-left-radius:8px;
|
||
border-bottom-left-radius:8px;
|
||
border-top-right-radius:0px;
|
||
border-bottom-right-radius:0px;
|
||
background-color: #FDFDFD;
|
||
font-weight: bold;
|
||
color: #096ae4;
|
||
border-top:2px solid #d9e8fd;
|
||
border-left:2px solid #d9e8fd;
|
||
border-right:2px solid transparent;
|
||
border-bottom:2px solid #d9e8fd;
|
||
background-image:url(../../resource/zh/public/light/icon/main_common.png) ;
|
||
}
|
||
|
||
MenuFrame QWidget#centralWidget,MenuFrame QWidget#scrollAreaWidget,MenuFrame QWidget#toolBtnWidget,QScrollArea
|
||
{
|
||
background:transparent;
|
||
}
|
||
|
||
|
||
QPushButton#upButton {
|
||
background-position:top;
|
||
background-repeat:no-repeat;
|
||
background-origin:content;
|
||
|
||
text-align:bottom;
|
||
padding:0px;
|
||
margin: 0px;
|
||
border:0px solid transparent;
|
||
border-radius:0px;
|
||
|
||
color: transparent;
|
||
height: 32px;
|
||
width: 32px;
|
||
background:transparent;
|
||
|
||
border-image: url(../../resource/zh/public/light/icon/btn_up.png) 0 96 0 0 ;
|
||
|
||
}
|
||
|
||
QPushButton#upButton:hover {
|
||
background-color: #d9e8fd;
|
||
border: 0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_up.png) 0 64 0 32;
|
||
}
|
||
|
||
QPushButton#upButton:pressed {
|
||
background-color: #096ae4;
|
||
border: 0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_up.png) 0 32 0 64 ;
|
||
}
|
||
|
||
QPushButton#upButton:disabled {
|
||
background:transparent;
|
||
border: 0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_up.png) 0 0 0 96 ;
|
||
}
|
||
|
||
|
||
QPushButton#downButton {
|
||
background-position:top;
|
||
background-repeat:no-repeat;
|
||
background-origin:content;
|
||
|
||
text-align:bottom;
|
||
padding:0px;
|
||
margin: 0px;
|
||
border:1px solid #B2B9C3;
|
||
border-radius:0px;
|
||
|
||
color: transparent;
|
||
height: 32px;
|
||
width: 32px;
|
||
background:transparent;
|
||
|
||
border-image: url(../../resource/zh/public/light/icon/btn_down.png) 0 96 0 0 ;
|
||
}
|
||
|
||
QPushButton#downButton:hover {
|
||
background-color: #d9e8fd;
|
||
border: 0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_down.png) 0 64 0 32;
|
||
}
|
||
|
||
QPushButton#downButton:pressed {
|
||
background-color: #096ae4;
|
||
border: 0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_down.png) 0 32 0 64 ;
|
||
}
|
||
|
||
QPushButton#downButton:disabled {
|
||
background:transparent;
|
||
border: 0px;
|
||
border-image: url(../../resource/zh/public/light/icon/btn_down.png) 0 0 0 96 ;
|
||
}
|
||
|
||
|
||
|
||
/* =============================================== */
|
||
/* 自定义控件部分- 消息窗 */
|
||
/* =============================================== */
|
||
N_MessageBox
|
||
{
|
||
min-height:180px;
|
||
min-width:300px;
|
||
}
|
||
|
||
|
||
N_MessageBox QLabel
|
||
{
|
||
color: #096ae4;
|
||
font-weight: bold;
|
||
}
|
||
|
||
AdaptImage[MSG_TYPE="ICON_DEFAULT"]
|
||
{
|
||
height:42px;
|
||
width:42px;
|
||
}
|
||
|
||
|
||
AdaptImage[MSG_TYPE="ICON_WARNING"]
|
||
{
|
||
background: transparent; image:url(../../resource/zh/public/light/icon/Warning.png);
|
||
}
|
||
|
||
|
||
AdaptImage[MSG_TYPE="ICON_ERROR"]
|
||
{
|
||
background: transparent; image:url(../../resource/zh/public/light/icon/Error.png);
|
||
}
|
||
|
||
|
||
AdaptImage[MSG_TYPE="ICON_INFORMATION"]
|
||
{
|
||
background: transparent; image:url(../../resource/zh/public/light/icon/Information.png);
|
||
}
|
||
|
||
|
||
AdaptImage[MSG_TYPE="ICON_QUESTION"]
|
||
{
|
||
background: transparent; image:url(../../resource/zh/public/light/icon/Question.png);
|
||
}
|
||
|
||
|
||
AlertMessageBox
|
||
{
|
||
min-height:140px;
|
||
min-width:300px;
|
||
background:#d9e8fd;
|
||
}
|
||
|
||
AlertMessageBox QLabel
|
||
{
|
||
color: #096ae4;
|
||
font-weight: bold;
|
||
}
|
||
QInputDialog
|
||
{
|
||
background-color: #FDFDFD;
|
||
} |