From 13c6386af6eb90a65c857cb5d8a36a3a505eec2e Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Mon, 11 Dec 2017 16:40:18 +0300 Subject: [PATCH] darktheme changed --- .../dark_style_sheet/qdarkstyle/style.qss | 80 ++++++++++--------- 1 file changed, 41 insertions(+), 39 deletions(-) diff --git a/3rdparty/dark_style_sheet/qdarkstyle/style.qss b/3rdparty/dark_style_sheet/qdarkstyle/style.qss index e0a8fe1..2bb5005 100644 --- a/3rdparty/dark_style_sheet/qdarkstyle/style.qss +++ b/3rdparty/dark_style_sheet/qdarkstyle/style.qss @@ -24,10 +24,10 @@ QToolTip { border: 1px solid #2b2b2b; - background-color: rgb(90, 102, 117);; + background-color: #383838; color: white; padding: 5px; - opacity: 200; +\\ opacity: 200; } QWidget @@ -579,7 +579,7 @@ QStackedWidget QToolBar { border: 1px transparent #2b2b2b; - background: 1px solid #383838; +\\ background: 1px solid #383838; font-weight: bold; } @@ -964,7 +964,8 @@ QTreeView::branch:selected{ } QTreeView::branch:!selected:hover, QTreeView::item:!selected:hover{ - background-color: #287399; +\\ background-color: #287399; + background-color: #819a67; } QTreeView::branch:has-siblings:!adjoins-item { @@ -1036,7 +1037,7 @@ QSlider::handle:vertical { QToolButton { background-color: #383838; color : white; - border: 1px transparent #2b2b2b; + border: 1px solid #383838; border-radius: 2px; margin: 2px; padding: 2px; @@ -1059,42 +1060,43 @@ QToolButton:text{ QToolButton:disabled{ background-color: transparent; -} - -QToolButton[popupMode="1"] { /* only for MenuButtonPopup */ - padding-right: 20px; /* make way for the popup button */ - border: 1px #2b2b2b; - border-radius: 5px; -} - -QToolButton[popupMode="2"] { /* only for InstantPopup */ - padding-right: 10px; /* make way for the popup button */ - border: 1px #2b2b2b; -} - -/* the subcontrol below is used only in the InstantPopup or DelayedPopup mode */ -QToolButton::menu-indicator { - image: url(:/qss_icons/rc/down_arrow.png); - top: -7px; left: -2px; /* shift it a bit */ -} - -/* the subcontrols below are used only in the MenuButtonPopup mode */ -QToolButton::menu-button { border: 1px transparent #2b2b2b; - border-top-right-radius: 6px; - border-bottom-right-radius: 6px; - /* 16px width + 4px for border = 20px allocated above */ - width: 16px; - outline: none; -} - -QToolButton::menu-arrow { - image: url(:/qss_icons/rc/down_arrow.png); -} - -QToolButton::menu-arrow:open { - border: 1px solid #2b2b2b; } +\\ +\\QToolButton[popupMode="1"] { /* only for MenuButtonPopup */ +\\ padding-right: 20px; /* make way for the popup button */ +\\ border: 1px #2b2b2b; +\\ border-radius: 5px; +\\} +\\ +\\QToolButton[popupMode="2"] { /* only for InstantPopup */ +\\ padding-right: 10px; /* make way for the popup button */ +\\ border: 1px #2b2b2b; +\\} +\\ +\\/* the subcontrol below is used only in the InstantPopup or DelayedPopup mode */ +\\QToolButton::menu-indicator { +\\ image: url(:/qss_icons/rc/down_arrow.png); +\\ top: -7px; left: -2px; /* shift it a bit */ +\\} +\\ +\\/* the subcontrols below are used only in the MenuButtonPopup mode */ +\\QToolButton::menu-button { +\\ border: 1px transparent #2b2b2b; +\\ border-top-right-radius: 6px; +\\ border-bottom-right-radius: 6px; +\\ /* 16px width + 4px for border = 20px allocated above */ +\\ width: 16px; +\\ outline: none; +\\} +\\ +\\QToolButton::menu-arrow { +\\ image: url(:/qss_icons/rc/down_arrow.png); +\\} +\\ +\\QToolButton::menu-arrow:open { +\\ border: 1px solid #2b2b2b; +\\} QPushButton::menu-indicator { subcontrol-origin: padding;