Skip to content

Commit e7d7c74

Browse files
committed
Fix main window top toolbar style for Cosmic Dusk - remove white gradient hover.
1 parent 9ed5741 commit e7d7c74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/themes/cosmic/theme.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ def __init__(self, app):
122122
color: #91C3FF;
123123
padding-top: 10px;
124124
padding-bottom: 10px;
125+
border: none;
125126
}
126127
127128
QToolBar#toolBar QToolButton:hover {
@@ -526,7 +527,8 @@ def apply_theme(self):
526527
{"action": self.app.window.actionProfile, "icon": "themes/cosmic/images/tool-profile.svg", "style": Qt.ToolButtonTextBesideIcon},
527528
{"expand": True},
528529
{"action": self.app.window.actionSave, "icon": "themes/cosmic/images/tool-save-project.svg", "style": Qt.ToolButtonTextBesideIcon},
529-
{"action": self.app.window.actionExportVideo, "icon": "themes/cosmic/images/tool-export.svg", "style": Qt.ToolButtonTextBesideIcon, "stylesheet": "QToolButton { background-color: #0078FF; color: #FFFFFF; }"},
530+
{"action": self.app.window.actionExportVideo, "icon": "themes/cosmic/images/tool-export.svg",
531+
"style": Qt.ToolButtonTextBesideIcon, "stylesheet": "QToolButton { background-color: #0078FF; color: #FFFFFF; border: none; } QToolButton:hover, QToolButton:pressed { background-color: #006EE6; }"},
530532
{"action": self.app.window.actionUpdate, "icon": "themes/cosmic/images/warning.svg", "visible": False, "style": Qt.ToolButtonTextBesideIcon, "stylesheet": "QToolButton { background-color: #141923; color: #FABE0A; }"}
531533
]
532534
self.set_toolbar_buttons(self.app.window.toolBar, icon_size=20, settings=toolbar_buttons)

0 commit comments

Comments
 (0)