qt/LedOK/qss/10_MainWindow.css
2022-08-25 18:37:24 +08:00

71 lines
1.5 KiB
CSS

QPushButton[ssType="progManageTool"] {
border-radius: 4px;
background-color: #19c;
color: #000;
padding: 3px 6px;
}
QPushButton[ssType="progManageTool"]:hover {
background-color: #08b;
color: #fff;
}
QPushButton[ssType="progManageTool"]:pressed {
background-color: #07a;
}
QPushButton[ssType="progManageTool"]:disabled {
background-color: #bbb;
color: #777;
}
LoQTitleBar QPushButton {
border-radius: 4px;
icon-size: 20px;
width: 32px;
height: 28px;
}
LoQTitleBar QPushButton:press,
LoQTitleBar QPushButton:hover {
background-color: #C1C1C1;
}
LoQTitleBar QPushButton::menu-indicator {
image: none;
}
QToolButton[ss="MainTab"],
QToolButton[ss="CtrlTab"] {
border: none;
}
QToolButton[ss="MainTab"]:checked,
QToolButton[ss="MainTab"]:hover {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ddd, stop: 1.0 #8cd);
font-size: 15px;
color: #04d;
}
QToolButton[ss="CtrlTab"]:checked,
QToolButton[ss="CtrlTab"]:hover {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #eee, stop: 1.0 #ade);
font-size: 15px;
color: #04d;
}
QPushButton#bnSelectFile {
border-radius: 4px;
background-color: #19c;
border: 1px solid #888;
padding: 3px 6px;
}
QPushButton#bnSelectFile:pressed {
background: transparent;
}
QPushButton[style="multiTool"] {
border-radius: 4px;
padding: 3px 6px;
}
QPushButton[style="multiTool"]:hover {
background-color: rgba(226,226,226,1);
}