Skip to content

Commit

Permalink
Blend of Gray theme fixes:
Browse files Browse the repository at this point in the history
- white background on white text options/project/etc. panel list widget
- unwanted light gray tool button's menu button
  • Loading branch information
nirvn committed Dec 27, 2018
1 parent 5b0a6bf commit 8ccf812
Showing 1 changed file with 22 additions and 15 deletions.
37 changes: 22 additions & 15 deletions resources/themes/Blend of Gray/style.qss
Expand Up @@ -51,23 +51,21 @@ QAbstractSpinBox {
border-radius:4px; border-radius:4px;
background-color: @darkgradient; background-color: @darkgradient;
color:@itembackground; color:@itembackground;
} }


QAbstractSpinBox::up-button { QAbstractSpinBox::up-button {
subcontrol-origin: border; subcontrol-origin: border;
subcontrol-position: top right; subcontrol-position: top right;

width: 16px;
width: 16px;
image: url(@theme_path/icons/arrow-up.svg); image: url(@theme_path/icons/arrow-up.svg);
} }

QAbstractSpinBox::down-button {
subcontrol-origin: border;
subcontrol-position: bottom right;


width: 16px; QAbstractSpinBox::down-button {
subcontrol-origin: border;
subcontrol-position: bottom right;
width: 16px;
image: url(@theme_path/icons/arrow-down.svg); image: url(@theme_path/icons/arrow-down.svg);
} }




/* ==================================================================================== */ /* ==================================================================================== */
Expand Down Expand Up @@ -149,15 +147,15 @@ QToolButton::menu-button {
border-width: 1px; border-width: 1px;
border-color: none; border-color: none;
border-radius: 4px; border-radius: 4px;
background: none; background:@itemdarkbackground;
} }
QToolButton::hover, QToolButton::menu-button::hover QToolButton::hover, QToolButton::menu-button::hover
{ {
border-width: 1px; border-width: 1px;
border-color: #1e1e1e; border-color: #1e1e1e;
border-style: solid; border-style: solid;
border-radius: 4px; border-radius: 4px;
background-color:@itembackground; background-color: none;
} }
QToolButton:checked QToolButton:checked
{ {
Expand All @@ -184,7 +182,7 @@ QComboBox {
border-style: solid; border-style: solid;
border: 1px solid #1e1e1e; border: 1px solid #1e1e1e;
border-radius:4px; border-radius:4px;
padding: 3px 3px 3px 3px; padding: 3px;
} }




Expand Down Expand Up @@ -635,3 +633,12 @@ QgsMessageBar QLabel, QgsMessageBar QTextEdit, QMessageBar QToolButton {
QgsPropertyOverrideButton { QgsPropertyOverrideButton {
padding: 0px; padding: 0px;
} }

QListWidget#mOptionsListWidget {
background-color: @itemdarkbackground;
color: @itembackground;
}

QListWidget#mOptionsListWidget::item {
padding: 3px;
}

0 comments on commit 8ccf812

Please sign in to comment.