81 lines
No EOL
1.8 KiB
Text
81 lines
No EOL
1.8 KiB
Text
/*去掉item虚线边框*/
|
|
QListWidget, QListView, QTreeWidget, QTreeView {
|
|
outline-style: 0px;
|
|
}
|
|
/*设置左侧选项的最小最大宽度,文字颜色和背景颜色*/
|
|
QListWidget {
|
|
min-width: 250px;
|
|
max-width: 250px;
|
|
color: white;
|
|
background: #f3f3f3;
|
|
border:none;
|
|
}
|
|
|
|
/*被选中时的背景颜色和左边框颜色*/
|
|
QListWidget::item:selected {
|
|
background: #eaeaea;
|
|
border-right: 4px solid rgb(9, 187, 7);
|
|
}
|
|
|
|
|
|
/*设置QListWidgetItem样式*/
|
|
QListWidget::item {
|
|
color: red;
|
|
font-family:#f3f3f3 ;
|
|
/* border-right: 4px solid rgb(9, 187, 7);*/
|
|
}
|
|
|
|
/*QPushButton {*/
|
|
/* max-width: 120px;*/
|
|
/* color: white;*/
|
|
/* border-top-left-radius:10px; */
|
|
/* border-top-right-radius:10px;*/
|
|
/* border-bottom-left-radius:10px;*/
|
|
/* border-bottom-right-radius:10px;*/
|
|
/* background: pink;*/
|
|
/*}*/
|
|
/*QPushButton:pressed,*/
|
|
/*QPushButton:pressed:focus {*/
|
|
/* *//* 改变背景色 *//* */
|
|
/* background-color: #f50057;*/
|
|
/* *//* 改变边框风格 *//* */
|
|
/* border-style:inset; */
|
|
/* *//* 改变边框风格 *//* */
|
|
/* border-style:inset; */
|
|
/*}*/
|
|
|
|
/*QPushButton#upload_btn {*/
|
|
/* padding: 3px 20px;*/
|
|
/* text-align:center;*/
|
|
/*}*/
|
|
|
|
|
|
|
|
/*鼠标悬停颜色*/
|
|
/*HistoryPanel::item:hover {*/
|
|
/* background: rgb(52, 52, 52);*/
|
|
/*}*/
|
|
|
|
/*右侧的层叠窗口的背景颜色*/
|
|
QStackedWidget {
|
|
color:snow;
|
|
background: black;
|
|
}
|
|
/*todo_count_label 气泡效果*/
|
|
QLabel#todo_count_label {
|
|
/* color: black;*/
|
|
border-radius: 8px;
|
|
text-align:center;
|
|
background-color:#dcdcdc;
|
|
/* max-width:16px; max-height: 16px;*/
|
|
border:1px solid black;
|
|
font-size:10px;
|
|
}
|
|
/*QLineEdit {*/
|
|
/* border: 2px solid rgb(52,52,52);*/
|
|
/* border-top-left-radius:10px; */
|
|
/* border-top-right-radius:10px;*/
|
|
/* border-bottom-left-radius:10px;*/
|
|
/* border-bottom-right-radius:10px;*/
|
|
|
|
/*}*/ |