darktheme changed

This commit is contained in:
Arin Alexander 2017-12-11 16:40:18 +03:00
parent 4c3e96b01e
commit 13c6386af6

View File

@ -24,10 +24,10 @@
QToolTip QToolTip
{ {
border: 1px solid #2b2b2b; border: 1px solid #2b2b2b;
background-color: rgb(90, 102, 117);; background-color: #383838;
color: white; color: white;
padding: 5px; padding: 5px;
opacity: 200; \\ opacity: 200;
} }
QWidget QWidget
@ -579,7 +579,7 @@ QStackedWidget
QToolBar { QToolBar {
border: 1px transparent #2b2b2b; border: 1px transparent #2b2b2b;
background: 1px solid #383838; \\ background: 1px solid #383838;
font-weight: bold; font-weight: bold;
} }
@ -964,7 +964,8 @@ QTreeView::branch:selected{
} }
QTreeView::branch:!selected:hover, QTreeView::item:!selected:hover{ QTreeView::branch:!selected:hover, QTreeView::item:!selected:hover{
background-color: #287399; \\ background-color: #287399;
background-color: #819a67;
} }
QTreeView::branch:has-siblings:!adjoins-item { QTreeView::branch:has-siblings:!adjoins-item {
@ -1036,7 +1037,7 @@ QSlider::handle:vertical {
QToolButton { QToolButton {
background-color: #383838; background-color: #383838;
color : white; color : white;
border: 1px transparent #2b2b2b; border: 1px solid #383838;
border-radius: 2px; border-radius: 2px;
margin: 2px; margin: 2px;
padding: 2px; padding: 2px;
@ -1059,42 +1060,43 @@ QToolButton:text{
QToolButton:disabled{ QToolButton:disabled{
background-color: transparent; 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: 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 { QPushButton::menu-indicator {
subcontrol-origin: padding; subcontrol-origin: padding;