@@ -122,6 +122,7 @@ def __init__(self, app):
122
122
color: #91C3FF;
123
123
padding-top: 10px;
124
124
padding-bottom: 10px;
125
+ border: none;
125
126
}
126
127
127
128
QToolBar#toolBar QToolButton:hover {
@@ -274,6 +275,11 @@ def __init__(self, app):
274
275
color: rgba(145, 195, 255, 0.4);
275
276
}
276
277
278
+ QTabWidget#exportTabs QTabBar::tab,
279
+ QTabWidget#tabCategories QTabBar::tab {
280
+ margin-bottom: 10px;
281
+ }
282
+
277
283
QTabBar::tab:selected {
278
284
color: rgba(145, 195, 255, 1.0);
279
285
}
@@ -343,6 +349,7 @@ def __init__(self, app):
343
349
padding: 6px;
344
350
padding-left: 8px;
345
351
padding-right: 8px;
352
+ combobox-popup: 0;
346
353
}
347
354
348
355
QComboBox::drop-down {
@@ -416,6 +423,7 @@ def __init__(self, app):
416
423
417
424
QToolBox::tab {
418
425
color: #91C3FF;
426
+ border-top: 1px solid rgba(145, 195, 255, .2);
419
427
}
420
428
421
429
QTabWidget QWidget#pageAdvancedOptions, QWidget#pageProfile, QWidget#pageImageSequenceSettings, QWidget#pageVideoSettings, QWidget#pageAudioSettings {
@@ -473,6 +481,10 @@ def __init__(self, app):
473
481
background-color: #0078FF;
474
482
color: #FFFFFF;
475
483
}}
484
+
485
+ QMessageBox QPushButton[text="&{ _ ('Cancel' )} "] {{
486
+ qproperty-icon: none;
487
+ }}
476
488
""" + self .style_sheet .replace ("{PATH}" , f"{ path_unix_slashes } /" )
477
489
478
490
def apply_theme (self ):
@@ -519,7 +531,8 @@ def apply_theme(self):
519
531
{"action" : self .app .window .actionProfile , "icon" : "themes/cosmic/images/tool-profile.svg" , "style" : Qt .ToolButtonTextBesideIcon },
520
532
{"expand" : True },
521
533
{"action" : self .app .window .actionSave , "icon" : "themes/cosmic/images/tool-save-project.svg" , "style" : Qt .ToolButtonTextBesideIcon },
522
- {"action" : self .app .window .actionExportVideo , "icon" : "themes/cosmic/images/tool-export.svg" , "style" : Qt .ToolButtonTextBesideIcon , "stylesheet" : "QToolButton { background-color: #0078FF; color: #FFFFFF; }" },
534
+ {"action" : self .app .window .actionExportVideo , "icon" : "themes/cosmic/images/tool-export.svg" ,
535
+ "style" : Qt .ToolButtonTextBesideIcon , "stylesheet" : "QToolButton { background-color: #0078FF; color: #FFFFFF; border: none; } QToolButton:hover, QToolButton:pressed { background-color: #006EE6; }" },
523
536
{"action" : self .app .window .actionUpdate , "icon" : "themes/cosmic/images/warning.svg" , "visible" : False , "style" : Qt .ToolButtonTextBesideIcon , "stylesheet" : "QToolButton { background-color: #141923; color: #FABE0A; }" }
524
537
]
525
538
self .set_toolbar_buttons (self .app .window .toolBar , icon_size = 20 , settings = toolbar_buttons )
0 commit comments