mirror of
https://github.com/LC044/WeChatMsg
synced 2024-11-15 14:31:18 +08:00
55 lines
1.2 KiB
Plaintext
55 lines
1.2 KiB
Plaintext
QWidget{
|
|
background: rgb(238,244,249);
|
|
}
|
|
/*去掉item虚线边框*/
|
|
QListWidget, QListView, QTreeWidget, QTreeView {
|
|
outline: 0px;
|
|
}
|
|
QMenu::item:selected {
|
|
color: black;
|
|
background: rgb(230, 235, 240);
|
|
}
|
|
/*设置左侧选项的最小最大宽度,文字颜色和背景颜色*/
|
|
QListWidget {
|
|
min-width: 120px;
|
|
max-width: 380px;
|
|
color: black;
|
|
border:none;
|
|
}
|
|
QListWidget::item{
|
|
min-width: 80px;
|
|
max-width: 380px;
|
|
min-height: 60px;
|
|
max-height: 60px;
|
|
}
|
|
QListWidget::item:hover {
|
|
background: rgb(230, 235, 240);
|
|
}
|
|
/*被选中时的背景颜色和左边框颜色*/
|
|
QListWidget::item:selected {
|
|
background: rgb(230, 235, 240);
|
|
border-left: 2px solid rgb(62, 62, 62);
|
|
color: black;
|
|
font-weight: bold;
|
|
}
|
|
/*鼠标悬停颜色*/
|
|
HistoryPanel::item:hover {
|
|
background: rgb(52, 52, 52);
|
|
}
|
|
|
|
QCheckBox::indicator {
|
|
background: rgb(255, 255, 255);
|
|
Width:20px;
|
|
Height:20px;
|
|
border-radius: 10px
|
|
}
|
|
QCheckBox::indicator:unchecked{
|
|
Width:20px;
|
|
Height:20px;
|
|
image: url(:/icons/icons/unselect.svg);
|
|
}
|
|
QCheckBox::indicator:checked{
|
|
Width:20px;
|
|
Height:20px;
|
|
image: url(:/icons/icons/select.svg);
|
|
} |