From c346cff2fd67da6452a75ec374ad204afa99883e Mon Sep 17 00:00:00 2001 From: defnax Date: Wed, 30 Sep 2020 23:18:45 +0200 Subject: [PATCH] few more fixes for dark stylesheets --- retroshare-gui/src/qss/qdarkstyle-v2.qss | 42 ++++++++++++------------ retroshare-gui/src/qss/qdarkstyle.qss | 18 +++++----- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/retroshare-gui/src/qss/qdarkstyle-v2.qss b/retroshare-gui/src/qss/qdarkstyle-v2.qss index 4f6ee1cae..3bfe94a19 100644 --- a/retroshare-gui/src/qss/qdarkstyle-v2.qss +++ b/retroshare-gui/src/qss/qdarkstyle-v2.qss @@ -1983,7 +1983,7 @@ QTreeView [new=true]{ /* changes for the subscribe Button */ -PostedListWidget QToolButton#subscribeToolButton { +PostedListWidgetWithModel QToolButton#subscribeToolButton { font: bold; font-size: 15px; color: white; @@ -1992,7 +1992,7 @@ PostedListWidget QToolButton#subscribeToolButton { max-height: 27px; } -PostedListWidget QToolButton#subscribeToolButton:hover { +PostedListWidgetWithModel QToolButton#subscribeToolButton:hover { background: #03b1f3; border-radius: 4px; } @@ -2011,7 +2011,7 @@ GxsForumThreadWidget QToolButton#subscribeToolButton:hover { border-radius: 4px; } -GxsChannelPostsWidget QToolButton#subscribeToolButton { +GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton { font: bold; font-size: 14px; color: white; @@ -2020,18 +2020,18 @@ GxsChannelPostsWidget QToolButton#subscribeToolButton { max-height: 27px; } -GxsChannelPostsWidget QToolButton#subscribeToolButton:hover { +GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton:hover { background: #03b1f3; border-radius: 4px; } -GxsChannelPostsWidget QToolButton#subscribeToolButton:pressed { +GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton:pressed { background: #03b1f3; border-radius: 4px; border: 1px solid gray; } -GxsChannelPostsWidget QToolButton#subscribeToolButton:disabled { +GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton:disabled { background: gray; border-radius: 4px; border: 1px solid gray; @@ -2039,15 +2039,15 @@ GxsChannelPostsWidget QToolButton#subscribeToolButton:disabled { } /* only for MenuButtonPopup */ -GxsChannelPostsWidget QToolButton#subscribeToolButton[popupMode="1"] { +GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton[popupMode="1"] { padding-right: 0px; } -GxsChannelPostsWidget QToolButton#subscribeToolButton::menu-arrow { +GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton::menu-arrow { image: none; } -GxsChannelPostsWidget QToolButton#subscribeToolButton::menu-button { +GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton::menu-button { image: none; } @@ -2074,7 +2074,7 @@ PostedCreatePostDialog QPushButton#submitButton:hover { } -PostedItem QFrame#mainFrame { +BoardPostDisplayWidget_compact QFrame#mainFrame { border-radius: 4px; border: 1px solid #32414B; background-color: #19232D; @@ -2088,7 +2088,7 @@ GxsChannelPostItem QFrame#mainFrame { } -PostedItem QPushButton#shareButton +BoardPostDisplayWidget_compact QPushButton#shareButton { background-color: transparent; min-width: 80px; @@ -2096,28 +2096,28 @@ PostedItem QPushButton#shareButton } -PostedItem QLabel#scoreLabel +BoardPostDisplayWidget_compact QLabel#scoreLabel { background-color: transparent; } -PostedItem QFrame#voteFrame { +BoardPostDisplayWidget_compact QFrame#voteFrame { background: #141415; } -PostedItem QToolButton#voteDownButton, QToolButton#voteUpButton +BoardPostDisplayWidget_compact QToolButton#voteDownButton, QToolButton#voteUpButton, +BoardPostDisplayWidget_card QToolButton#voteDownButton, QToolButton#voteUpButton { border: none; - } -PostedItem QLabel#thumbnailLabel{ +BoardPostDisplayWidget_compact QLabel#pictureLabel{ border: 2px solid #CCCCCC; border-radius: 3px; } -PostedCardView QPushButton#shareButton +BoardPostDisplayWidget_card QPushButton#shareButton { background-color: transparent; min-width: 80px; @@ -2125,21 +2125,21 @@ PostedCardView QPushButton#shareButton } -PostedCardView QFrame#voteFrame { +BoardPostDisplayWidget_card QFrame#voteFrame { background: #141415; } -PostedCardView QFrame#mainFrame { +BoardPostDisplayWidget_card QFrame#mainFrame { background-color: #19232D; } -PostedCardView QFrame#mainFrame [new=false]{ +BoardPostDisplayWidget_card QFrame#mainFrame [new=false]{ background: #19232D; } -PostedCardView > QFrame#mainFrame[new=true] { +BoardPostDisplayWidget_card > QFrame#mainFrame[new=true] { background-color: #005000; } diff --git a/retroshare-gui/src/qss/qdarkstyle.qss b/retroshare-gui/src/qss/qdarkstyle.qss index 6e73d5097..d7e1a38e8 100644 --- a/retroshare-gui/src/qss/qdarkstyle.qss +++ b/retroshare-gui/src/qss/qdarkstyle.qss @@ -1148,7 +1148,7 @@ OpModeStatus[opMode="Minimal"] { /* changes for the subscribe Button */ -PostedListWidget QToolButton#subscribeToolButton { +PostedListWidgetWithModel QToolButton#subscribeToolButton { font: bold; font-size: 15px; color: white; @@ -1157,7 +1157,7 @@ PostedListWidget QToolButton#subscribeToolButton { max-height: 27px; } -PostedListWidget QToolButton#subscribeToolButton:hover { +PostedListWidgetWithModel QToolButton#subscribeToolButton:hover { background: #03b1f3; border-radius: 4px; } @@ -1176,7 +1176,7 @@ GxsForumThreadWidget QToolButton#subscribeToolButton:hover { border-radius: 4px; } -GxsChannelPostsWidget QToolButton#subscribeToolButton { +GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton { font: bold; font-size: 14px; color: white; @@ -1185,18 +1185,18 @@ GxsChannelPostsWidget QToolButton#subscribeToolButton { max-height: 27px; } -GxsChannelPostsWidget QToolButton#subscribeToolButton:hover { +GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton:hover { background: #03b1f3; border-radius: 4px; } -GxsChannelPostsWidget QToolButton#subscribeToolButton:pressed { +GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton:pressed { background: #03b1f3; border-radius: 4px; border: 1px solid gray; } -GxsChannelPostsWidget QToolButton#subscribeToolButton:disabled { +GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton:disabled { background: gray; border-radius: 4px; border: 1px solid gray; @@ -1204,15 +1204,15 @@ GxsChannelPostsWidget QToolButton#subscribeToolButton:disabled { } /* only for MenuButtonPopup */ -GxsChannelPostsWidget QToolButton#subscribeToolButton[popupMode="1"] { +GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton[popupMode="1"] { padding-right: 0px; } -GxsChannelPostsWidget QToolButton#subscribeToolButton::menu-arrow { +GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton::menu-arrow { image: none; } -GxsChannelPostsWidget QToolButton#subscribeToolButton::menu-button { +GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton::menu-button { image: none; }