36 lines
619 B
Plaintext
36 lines
619 B
Plaintext
/* 全局 QPushButton 样式 */
|
|
QPushButton {
|
|
background-color: #D0D0D0;
|
|
color: #303030;
|
|
border-radius: 10px;
|
|
padding: 5px;
|
|
font-weight: bold;
|
|
min-width: 80px;
|
|
}
|
|
|
|
QPushButton:hover {
|
|
background-color: #E0E0E0;
|
|
}
|
|
|
|
QPushButton:pressed {
|
|
background-color: #C0C0C0;
|
|
}
|
|
|
|
/* 单独的消息按钮样式(可选) */
|
|
.messageButton {
|
|
background-color: #B0B0B0;
|
|
color: #303030;
|
|
border-radius: 10px;
|
|
padding: 5px;
|
|
font-weight: bold;
|
|
min-width: 80px;
|
|
}
|
|
|
|
.messageButton:hover {
|
|
background-color: #C0C0C0;
|
|
}
|
|
|
|
.messageButton:pressed {
|
|
background-color: #A0A0A0;
|
|
}
|