mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-15 08:31:57 -05:00
Add a few improvements:
- fix QTextEdit background color - add QTabBar close button style - improve QDockWidget close button style
This commit is contained in:
parent
f172378ab1
commit
9558e3d230
@ -77,7 +77,6 @@ QMenuBar::item:selected
|
||||
{
|
||||
background: transparent;
|
||||
border: 1px solid #3A3939;
|
||||
;
|
||||
}
|
||||
|
||||
QMenuBar::item:pressed
|
||||
@ -295,7 +294,7 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
|
||||
|
||||
QTextEdit
|
||||
{
|
||||
background-color: #302F2F;
|
||||
background-color: #201F1F;
|
||||
color: silver;
|
||||
border: 1px solid #3A3939;
|
||||
}
|
||||
@ -396,6 +395,12 @@ QRadioButton::indicator
|
||||
height: 9px;
|
||||
}
|
||||
|
||||
QCheckBox::indicator:pressed
|
||||
{
|
||||
border: 1px solid #78879b;
|
||||
image:url(:/qss_icons/rc/checkbox.png);
|
||||
}
|
||||
|
||||
QRadioButton::indicator:hover, QCheckBox::indicator:hover
|
||||
{
|
||||
border: 1px solid #78879b;
|
||||
@ -584,6 +589,28 @@ QLabel
|
||||
border: 0px solid black;
|
||||
}
|
||||
|
||||
QTabBar:focus
|
||||
{
|
||||
border: 0px transparent black;
|
||||
}
|
||||
|
||||
QTabBar::close-button {
|
||||
image: url(:/qss_icons/rc/close.png);
|
||||
background: transparent;
|
||||
icon-size: 10px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
QTabBar::close-button:hover
|
||||
{
|
||||
background: rgba(255, 255, 255, 20);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
QTabBar::close-button:pressed {
|
||||
padding: 5px 4px 4px 5px;
|
||||
}
|
||||
|
||||
QTabBar::tab {
|
||||
color: #b1b1b1;
|
||||
border: 1px solid #3A3939;
|
||||
@ -672,17 +699,18 @@ QDockWidget {
|
||||
|
||||
QDockWidget::close-button, QDockWidget::float-button {
|
||||
border: 1px solid transparent;
|
||||
border-radius: 5px;
|
||||
border-radius: 3px;
|
||||
background: transparent;
|
||||
icon-size: 10px;
|
||||
}
|
||||
|
||||
QDockWidget::close-button:hover, QDockWidget::float-button:hover {
|
||||
background: #3A3939;
|
||||
background: rgba(255, 255, 255, 10);
|
||||
}
|
||||
|
||||
QDockWidget::close-button:pressed, QDockWidget::float-button:pressed {
|
||||
padding: 1px -1px -1px 1px;
|
||||
background: rgba(255, 255, 255, 10);
|
||||
}
|
||||
|
||||
QTreeView, QListView, QTableView
|
||||
|
Loading…
Reference in New Issue
Block a user