diff --git a/resources/themes/Blend of Gray/style.qss b/resources/themes/Blend of Gray/style.qss index a39cd42a7524..c9f89a7d4fdc 100644 --- a/resources/themes/Blend of Gray/style.qss +++ b/resources/themes/Blend of Gray/style.qss @@ -148,6 +148,7 @@ QToolButton background-color:@itembackground; color:@text; } + QToolButton[popupMode="1"] { padding-right: 0.9em; @@ -159,13 +160,13 @@ QToolButton::menu-button { border-radius: 0.2em; background:@itemdarkbackground; } -QToolButton::hover, QToolButton::menu-button::hover +QToolButton:hover, QToolButton::menu-button:hover { border-width: 1px; border-color: #1e1e1e; border-style: solid; border-radius: 0.2em; - background-color: none; + background-color: transparent; } QToolButton:checked { @@ -183,6 +184,14 @@ QToolBar QToolButton, QToolButton::menu-button background-color: none; } +QPushButton:hover, QToolButton:hover { + background-color: @itemalternativebackground; +} + +QPushButton:pressed, QToolButton:pressed { + background-color: @darkalternativegradient; +} + /* ==================================================================================== */ /* COMBO BOX */ /* ==================================================================================== */ @@ -198,8 +207,8 @@ QComboBox { } -QComboBox:hover,QPushButton:hover,QToolButton:hover,QAbstractSpinBox:hover { - background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #565656,stop: 1 #464646); +QComboBox:hover, QAbstractSpinBox:hover { + background-color: @darkalternativegradient; } QComboBox:on { @@ -685,6 +694,11 @@ QgsColorButton, QgsColorRampButton, QgsSymbolButton, QgsFontButton { color:@itembackground; } +QgsColorButton:hover, QgsColorRampButton:hover, QgsSymbolButton:hover, QgsFontButton:hover { + background-color: @darkalternativegradient; + color:@itembackground; +} + QgsMessageBar QLabel, QgsMessageBar QTextEdit, QMessageBar QToolButton { background: transparent; border: none; diff --git a/resources/themes/Blend of Gray/variables.qss b/resources/themes/Blend of Gray/variables.qss index 979e9e51e53c..dcf6807f49da 100644 --- a/resources/themes/Blend of Gray/variables.qss +++ b/resources/themes/Blend of Gray/variables.qss @@ -3,6 +3,7 @@ @itemalternativebackground: #9a9a9a; @itemdarkbackground: #373737 @darkgradient: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #535353, stop: 1 #373737) +@darkalternativegradient: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #565656,stop: 1 #464646); @gradient: QLinearGradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b2b2b2, stop:1 #8f8f8f) @text: #0e0e0e; @toggleoff: #373737