change back project manager styles

This commit is contained in:
iLLiCiTiT 2022-01-14 17:47:11 +01:00
parent 17578c5447
commit ce5c70e28d
4 changed files with 13 additions and 9 deletions

View file

@ -51,10 +51,9 @@
"border-hover": "rgba(168, 175, 189, .3)",
"border-focus": "rgb(92, 173, 214)",
"warning-btn-bg": "rgb(201, 54, 54)",
"warning-btn-bg": "rgb(201, 54, 54)",
"warning-btn-bg-disabled": "rgba(201, 54, 54, 64)",
"delete-btn-bg": "rgb(201, 54, 54)",
"delete-btn-bg-disabled": "rgba(201, 54, 54, 64)",
"tab-widget": {
"bg": "#21252B",

View file

@ -734,11 +734,11 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
background: {color:bg-view-hover};
}
#WarningButton {
background: {color:warning-btn-bg};
#DeleteButton {
background: {color:delete-btn-bg};
}
#WarningButton:disabled {
background: {color:warning-btn-bg-disabled};
#DeleteButton:disabled {
background: {color:delete-btn-bg-disabled};
}
/* Launcher specific stylesheets */
@ -1228,6 +1228,11 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
background: #21252B;
}
/* Tray */
#TrayRestartButton {
background: {color:restart-btn-bg};
}
/* Globally used names */
#Separator {
background: {color:bg-menu-separator};

View file

@ -95,7 +95,7 @@ class ResourceCache:
def get_warning_pixmap(cls):
src_image = get_warning_image()
colors = get_objected_colors()
color_value = colors["warning-btn-bg"]
color_value = colors["delete-btn-bg"]
return paint_image_with_color(
src_image,

View file

@ -369,7 +369,7 @@ class ConfirmProjectDeletion(QtWidgets.QDialog):
cancel_btn = QtWidgets.QPushButton("Cancel", self)
cancel_btn.setToolTip("Cancel deletion of the project")
confirm_btn = QtWidgets.QPushButton("Permanently Delete Project", self)
confirm_btn.setObjectName("WarningButton")
confirm_btn.setObjectName("DeleteButton")
confirm_btn.setEnabled(False)
confirm_btn.setToolTip("Confirm deletion")