Merge pull request #2095 from PhenomRetroShare/Fix_ForumSelectBckgColor

Fix Forum Post Selection BackGround Color
This commit is contained in:
csoler 2020-11-04 09:14:26 +01:00 committed by GitHub
commit acac1103d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 131 additions and 92 deletions

View File

@ -1038,10 +1038,20 @@ MessagesDialog QWidget#messageTreeWidget::item:hover {
color: black; color: black;
} }
GxsForumThreadWidget QWidget#threadTreeWidget {
selection-background-color: #cde8ff;
show-decoration-selected: 1;
}
GxsForumThreadWidget QWidget#threadTreeWidget::item { GxsForumThreadWidget QWidget#threadTreeWidget::item {
padding: 2px; padding: 2px;
} }
GxsForumThreadWidget QWidget#threadTreeWidget::item:selected:active ,
GxsForumThreadWidget QWidget#threadTreeWidget::item:selected:!active {
background-color: #cde8ff;
}
GxsChannelDialog GroupTreeWidget QTreeWidget#treeWidget::item{ GxsChannelDialog GroupTreeWidget QTreeWidget#treeWidget::item{
/*background-color: #F00000;*/ /*background-color: #F00000;*/
/*padding: 2px*/ /*padding: 2px*/

View File

@ -91,14 +91,14 @@ QMainWindow::separator:horizontal {
width: 5px; width: 5px;
margin-top: 2px; margin-top: 2px;
margin-bottom: 2px; margin-bottom: 2px;
image: url(qss/qdarkstyle/rc/Vsepartoolbar.png); image: url(%THISPATH%/qdarkstyle/rc/Vsepartoolbar.png);
} }
QMainWindow::separator:vertical { QMainWindow::separator:vertical {
height: 5px; height: 5px;
margin-left: 2px; margin-left: 2px;
margin-right: 2px; margin-right: 2px;
image: url(qss/qdarkstyle/rc/Hsepartoolbar.png); image: url(%THISPATH%/qdarkstyle/rc/Hsepartoolbar.png);
} }
/* QToolTip --------------------------------------------------------------- */ /* QToolTip --------------------------------------------------------------- */
@ -157,47 +157,47 @@ QCheckBox::indicator {
} }
QCheckBox::indicator:unchecked { QCheckBox::indicator:unchecked {
image: url(qss/qdarkstyle/rc/checkbox_unchecked.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_unchecked.png);
} }
QCheckBox::indicator:unchecked:hover, QCheckBox::indicator:unchecked:hover,
QCheckBox::indicator:unchecked:focus, QCheckBox::indicator:unchecked:focus,
QCheckBox::indicator:unchecked:pressed { QCheckBox::indicator:unchecked:pressed {
border: none; border: none;
image: url(qss/qdarkstyle/rc/checkbox_unchecked_focus.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_unchecked_focus.png);
} }
QCheckBox::indicator:unchecked:disabled { QCheckBox::indicator:unchecked:disabled {
image: url(qss/qdarkstyle/rc/checkbox_unchecked_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_unchecked_disabled.png);
} }
QCheckBox::indicator:checked { QCheckBox::indicator:checked {
image: url(qss/qdarkstyle/rc/checkbox_checked.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_checked.png);
} }
QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:hover,
QCheckBox::indicator:checked:focus, QCheckBox::indicator:checked:focus,
QCheckBox::indicator:checked:pressed { QCheckBox::indicator:checked:pressed {
border: none; border: none;
image: url(qss/qdarkstyle/rc/checkbox_checked_focus.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_checked_focus.png);
} }
QCheckBox::indicator:checked:disabled{ QCheckBox::indicator:checked:disabled{
image: url(qss/qdarkstyle/rc/checkbox_checked_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_checked_disabled.png);
} }
QCheckBox::indicator:indeterminate { QCheckBox::indicator:indeterminate {
image: url(qss/qdarkstyle/rc/checkbox_indeterminate.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_indeterminate.png);
} }
QCheckBox::indicator:indeterminate:disabled { QCheckBox::indicator:indeterminate:disabled {
image: url(qss/qdarkstyle/rc/checkbox_indeterminate_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_indeterminate_disabled.png);
} }
QCheckBox::indicator:indeterminate:focus, QCheckBox::indicator:indeterminate:focus,
QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:hover,
QCheckBox::indicator:indeterminate:pressed { QCheckBox::indicator:indeterminate:pressed {
image: url(qss/qdarkstyle/rc/checkbox_indeterminate_focus.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_indeterminate_focus.png);
} }
/* QGroupBox -------------------------------------------------------------- */ /* QGroupBox -------------------------------------------------------------- */
@ -236,22 +236,22 @@ QGroupBox::indicator:unchecked:hover,
QGroupBox::indicator:unchecked:focus, QGroupBox::indicator:unchecked:focus,
QGroupBox::indicator:unchecked:pressed { QGroupBox::indicator:unchecked:pressed {
border: none; border: none;
image: url(qss/qdarkstyle/rc/checkbox_unchecked_focus.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_unchecked_focus.png);
} }
QGroupBox::indicator:checked:hover, QGroupBox::indicator:checked:hover,
QGroupBox::indicator:checked:focus, QGroupBox::indicator:checked:focus,
QGroupBox::indicator:checked:pressed { QGroupBox::indicator:checked:pressed {
border: none; border: none;
image: url(qss/qdarkstyle/rc/checkbox_checked_focus.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_checked_focus.png);
} }
QGroupBox::indicator:checked:disabled { QGroupBox::indicator:checked:disabled {
image: url(qss/qdarkstyle/rc/checkbox_checked_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_checked_disabled.png);
} }
QGroupBox::indicator:unchecked:disabled { QGroupBox::indicator:unchecked:disabled {
image: url(qss/qdarkstyle/rc/checkbox_unchecked_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_unchecked_disabled.png);
} }
/* QRadioButton ----------------------------------------------------------- */ /* QRadioButton ----------------------------------------------------------- */
@ -294,7 +294,7 @@ QRadioButton::indicator {
} }
QRadioButton::indicator:unchecked { QRadioButton::indicator:unchecked {
image: url(qss/qdarkstyle/rc/radio_unchecked.png); image: url(%THISPATH%/qdarkstyle/rc/radio_unchecked.png);
} }
QRadioButton::indicator:unchecked:hover, QRadioButton::indicator:unchecked:hover,
@ -302,13 +302,13 @@ QRadioButton::indicator:unchecked:focus,
QRadioButton::indicator:unchecked:pressed { QRadioButton::indicator:unchecked:pressed {
border: none; border: none;
outline: none; outline: none;
image: url(qss/qdarkstyle/rc/radio_unchecked_focus.png); image: url(%THISPATH%/qdarkstyle/rc/radio_unchecked_focus.png);
} }
QRadioButton::indicator:checked { QRadioButton::indicator:checked {
border: none; border: none;
outline: none; outline: none;
image: url(qss/qdarkstyle/rc/radio_checked.png); image: url(%THISPATH%/qdarkstyle/rc/radio_checked.png);
} }
QRadioButton::indicator:checked:hover, QRadioButton::indicator:checked:hover,
@ -316,16 +316,16 @@ QRadioButton::indicator:checked:focus,
QRadioButton::indicator:checked:pressed { QRadioButton::indicator:checked:pressed {
border: none; border: none;
outline: none; outline: none;
image: url(qss/qdarkstyle/rc/radio_checked_focus.png); image: url(%THISPATH%/qdarkstyle/rc/radio_checked_focus.png);
} }
QRadioButton::indicator:checked:disabled { QRadioButton::indicator:checked:disabled {
outline: none; outline: none;
image: url(qss/qdarkstyle/rc/radio_checked_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/radio_checked_disabled.png);
} }
QRadioButton::indicator:unchecked:disabled { QRadioButton::indicator:unchecked:disabled {
image: url(qss/qdarkstyle/rc/radio_unchecked_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/radio_unchecked_disabled.png);
} }
/* QMenuBar --------------------------------------------------------------- */ /* QMenuBar --------------------------------------------------------------- */
@ -403,42 +403,42 @@ QMenu::indicator {
/* non-exclusive indicator = check box style indicator (see QActionGroup::setExclusive) */ /* non-exclusive indicator = check box style indicator (see QActionGroup::setExclusive) */
QMenu::indicator:non-exclusive:unchecked { QMenu::indicator:non-exclusive:unchecked {
image: url(qss/qdarkstyle/rc/checkbox_unchecked.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_unchecked.png);
} }
QMenu::indicator:non-exclusive:unchecked:selected { QMenu::indicator:non-exclusive:unchecked:selected {
image: url(qss/qdarkstyle/rc/checkbox_unchecked_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_unchecked_disabled.png);
} }
QMenu::indicator:non-exclusive:checked { QMenu::indicator:non-exclusive:checked {
image: url(qss/qdarkstyle/rc/checkbox_checked.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_checked.png);
} }
QMenu::indicator:non-exclusive:checked:selected { QMenu::indicator:non-exclusive:checked:selected {
image: url(qss/qdarkstyle/rc/checkbox_checked_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_checked_disabled.png);
} }
/* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */ /* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */
QMenu::indicator:exclusive:unchecked { QMenu::indicator:exclusive:unchecked {
image: url(qss/qdarkstyle/rc/radio_unchecked.png); image: url(%THISPATH%/qdarkstyle/rc/radio_unchecked.png);
} }
QMenu::indicator:exclusive:unchecked:selected { QMenu::indicator:exclusive:unchecked:selected {
image: url(qss/qdarkstyle/rc/radio_unchecked_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/radio_unchecked_disabled.png);
} }
QMenu::indicator:exclusive:checked { QMenu::indicator:exclusive:checked {
image: url(qss/qdarkstyle/rc/radio_checked.png); image: url(%THISPATH%/qdarkstyle/rc/radio_checked.png);
} }
QMenu::indicator:exclusive:checked:selected { QMenu::indicator:exclusive:checked:selected {
image: url(qss/qdarkstyle/rc/radio_checked_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/radio_checked_disabled.png);
} }
QMenu::right-arrow { QMenu::right-arrow {
margin: 5px; margin: 5px;
image: url(qss/qdarkstyle/rc/right_arrow.png) image: url(%THISPATH%/qdarkstyle/rc/right_arrow.png)
} }
/* QAbstractItemView ------------------------------------------------------ */ /* QAbstractItemView ------------------------------------------------------ */
@ -501,7 +501,7 @@ QScrollBar::handle:horizontal:hover {
QScrollBar::add-line:horizontal { QScrollBar::add-line:horizontal {
margin: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;
border-image: url(qss/qdarkstyle/rc/right_arrow_disabled.png); border-image: url(%THISPATH%/qdarkstyle/rc/right_arrow_disabled.png);
width: 10px; width: 10px;
height: 10px; height: 10px;
subcontrol-position: right; subcontrol-position: right;
@ -510,7 +510,7 @@ QScrollBar::add-line:horizontal {
QScrollBar::sub-line:horizontal { QScrollBar::sub-line:horizontal {
margin: 0px 3px 0px 3px; margin: 0px 3px 0px 3px;
border-image: url(qss/qdarkstyle/rc/left_arrow_disabled.png); border-image: url(%THISPATH%/qdarkstyle/rc/left_arrow_disabled.png);
height: 10px; height: 10px;
width: 10px; width: 10px;
subcontrol-position: left; subcontrol-position: left;
@ -519,7 +519,7 @@ QScrollBar::sub-line:horizontal {
QScrollBar::add-line:horizontal:hover, QScrollBar::add-line:horizontal:hover,
QScrollBar::add-line:horizontal:on { QScrollBar::add-line:horizontal:on {
border-image: url(qss/qdarkstyle/rc/right_arrow.png); border-image: url(%THISPATH%/qdarkstyle/rc/right_arrow.png);
height: 10px; height: 10px;
width: 10px; width: 10px;
subcontrol-position: right; subcontrol-position: right;
@ -528,7 +528,7 @@ QScrollBar::add-line:horizontal:on {
QScrollBar::sub-line:horizontal:hover, QScrollBar::sub-line:horizontal:hover,
QScrollBar::sub-line:horizontal:on { QScrollBar::sub-line:horizontal:on {
border-image: url(qss/qdarkstyle/rc/left_arrow.png); border-image: url(%THISPATH%/qdarkstyle/rc/left_arrow.png);
height: 10px; height: 10px;
width: 10px; width: 10px;
subcontrol-position: left; subcontrol-position: left;
@ -570,7 +570,7 @@ QScrollBar::handle:vertical:hover {
QScrollBar::sub-line:vertical { QScrollBar::sub-line:vertical {
margin: 3px 0px 3px 0px; margin: 3px 0px 3px 0px;
border-image: url(qss/qdarkstyle/rc/up_arrow_disabled.png); border-image: url(%THISPATH%/qdarkstyle/rc/up_arrow_disabled.png);
height: 10px; height: 10px;
width: 10px; width: 10px;
subcontrol-position: top; subcontrol-position: top;
@ -579,7 +579,7 @@ QScrollBar::sub-line:vertical {
QScrollBar::add-line:vertical { QScrollBar::add-line:vertical {
margin: 3px 0px 3px 0px; margin: 3px 0px 3px 0px;
border-image: url(qss/qdarkstyle/rc/down_arrow_disabled.png); border-image: url(%THISPATH%/qdarkstyle/rc/down_arrow_disabled.png);
height: 10px; height: 10px;
width: 10px; width: 10px;
subcontrol-position: bottom; subcontrol-position: bottom;
@ -588,7 +588,7 @@ QScrollBar::add-line:vertical {
QScrollBar::sub-line:vertical:hover, QScrollBar::sub-line:vertical:hover,
QScrollBar::sub-line:vertical:on { QScrollBar::sub-line:vertical:on {
border-image: url(qss/qdarkstyle/rc/up_arrow.png); border-image: url(%THISPATH%/qdarkstyle/rc/up_arrow.png);
height: 10px; height: 10px;
width: 10px; width: 10px;
subcontrol-position: top; subcontrol-position: top;
@ -597,7 +597,7 @@ QScrollBar::sub-line:vertical:on {
QScrollBar::add-line:vertical:hover, QScrollBar::add-line:vertical:hover,
QScrollBar::add-line:vertical:on { QScrollBar::add-line:vertical:on {
border-image: url(qss/qdarkstyle/rc/down_arrow.png); border-image: url(%THISPATH%/qdarkstyle/rc/down_arrow.png);
height: 10px; height: 10px;
width: 10px; width: 10px;
subcontrol-position: bottom; subcontrol-position: bottom;
@ -654,7 +654,7 @@ QPlainTextEdit:selected {
/* QSizeGrip --------------------------------------------------------------- */ /* QSizeGrip --------------------------------------------------------------- */
QSizeGrip { QSizeGrip {
image: url(qss/qdarkstyle/rc/sizegrip.png); image: url(%THISPATH%/qdarkstyle/rc/sizegrip.png);
width: 12px; width: 12px;
height: 12px; height: 12px;
} }
@ -682,29 +682,29 @@ QToolBar QToolButton{
QToolBar::handle:horizontal { QToolBar::handle:horizontal {
width: 6px; width: 6px;
image: url(qss/qdarkstyle/rc/Hmovetoolbar.png); image: url(%THISPATH%/qdarkstyle/rc/Hmovetoolbar.png);
} }
QToolBar::handle:vertical { QToolBar::handle:vertical {
height: 6px; height: 6px;
image: url(qss/qdarkstyle/rc/Vmovetoolbar.png); image: url(%THISPATH%/qdarkstyle/rc/Vmovetoolbar.png);
} }
QToolBar::separator:horizontal { QToolBar::separator:horizontal {
width: 3px; width: 3px;
image: url(qss/qdarkstyle/rc/Hsepartoolbar.png); image: url(%THISPATH%/qdarkstyle/rc/Hsepartoolbar.png);
} }
QToolBar::separator:vertical { QToolBar::separator:vertical {
height: 3px; height: 3px;
image: url(qss/qdarkstyle/rc/Vsepartoolbar.png); image: url(%THISPATH%/qdarkstyle/rc/Vsepartoolbar.png);
} }
QToolButton#qt_toolbar_ext_button { QToolButton#qt_toolbar_ext_button {
background: #32414B; background: #32414B;
border: 0px; border: 0px;
color: #F0F0F0; color: #F0F0F0;
image: url(qss/qdarkstyle/rc/right_arrow.png); image: url(%THISPATH%/qdarkstyle/rc/right_arrow.png);
} }
/* QAbstractSpinBox ------------------------------------------------------- */ /* QAbstractSpinBox ------------------------------------------------------- */
@ -732,13 +732,13 @@ QAbstractSpinBox:up-button {
QAbstractSpinBox::up-arrow, QAbstractSpinBox::up-arrow,
QAbstractSpinBox::up-arrow:disabled, QAbstractSpinBox::up-arrow:disabled,
QAbstractSpinBox::up-arrow:off { QAbstractSpinBox::up-arrow:off {
image: url(qss/qdarkstyle/rc/up_arrow_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/up_arrow_disabled.png);
width: 9px; width: 9px;
height: 9px; height: 9px;
} }
QAbstractSpinBox::up-arrow:hover { QAbstractSpinBox::up-arrow:hover {
image: url(qss/qdarkstyle/rc/up_arrow.png); image: url(%THISPATH%/qdarkstyle/rc/up_arrow.png);
} }
QAbstractSpinBox:down-button { QAbstractSpinBox:down-button {
@ -752,13 +752,13 @@ QAbstractSpinBox:down-button {
QAbstractSpinBox::down-arrow, QAbstractSpinBox::down-arrow,
QAbstractSpinBox::down-arrow:disabled, QAbstractSpinBox::down-arrow:disabled,
QAbstractSpinBox::down-arrow:off { QAbstractSpinBox::down-arrow:off {
image: url(qss/qdarkstyle/rc/down_arrow_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/down_arrow_disabled.png);
width: 9px; width: 9px;
height: 9px; height: 9px;
} }
QAbstractSpinBox::down-arrow:hover { QAbstractSpinBox::down-arrow:hover {
image: url(qss/qdarkstyle/rc/down_arrow.png); image: url(%THISPATH%/qdarkstyle/rc/down_arrow.png);
} }
QAbstractSpinBox:hover{ QAbstractSpinBox:hover{
@ -1028,13 +1028,13 @@ QToolButton::menu-button:checked:hover {
} }
QToolButton::menu-indicator { QToolButton::menu-indicator {
image: url(qss/qdarkstyle/rc/down_arrow.png); image: url(%THISPATH%/qdarkstyle/rc/down_arrow.png);
top: -8px; /* shift it a bit */ top: -8px; /* shift it a bit */
left: -4px; /* shift it a bit */ left: -4px; /* shift it a bit */
} }
QToolButton::menu-arrow { QToolButton::menu-arrow {
image: url(qss/qdarkstyle/rc/down_arrow.png); image: url(%THISPATH%/qdarkstyle/rc/down_arrow.png);
} }
QToolButton::menu-arrow:open { QToolButton::menu-arrow:open {
@ -1109,7 +1109,8 @@ QComboBox::item:alternate {
} }
QComboBox::item:checked { QComboBox::item:checked {
font-weight: bold; /*font-weight: bold;*/
background-color: #148CD2;
} }
QComboBox::item:selected { QComboBox::item:selected {
@ -1128,13 +1129,13 @@ QComboBox::drop-down {
} }
QComboBox::down-arrow { QComboBox::down-arrow {
image: url(qss/qdarkstyle/rc/down_arrow_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/down_arrow_disabled.png);
} }
QComboBox::down-arrow:on, QComboBox::down-arrow:on,
QComboBox::down-arrow:hover, QComboBox::down-arrow:hover,
QComboBox::down-arrow:focus { QComboBox::down-arrow:focus {
image: url(qss/qdarkstyle/rc/down_arrow.png); image: url(%THISPATH%/qdarkstyle/rc/down_arrow.png);
} }
/* QSlider ---------------------------------------------------------------- */ /* QSlider ---------------------------------------------------------------- */
@ -1289,15 +1290,15 @@ QTabBar::close-button {
border: 0; border: 0;
margin: 2px; margin: 2px;
padding: 0; padding: 0;
image: url(qss/qdarkstyle/rc/close.png); image: url(%THISPATH%/qdarkstyle/rc/close.png);
} }
QTabBar::close-button:hover { QTabBar::close-button:hover {
image: url(qss/qdarkstyle/rc/close-hover.png); image: url(%THISPATH%/qdarkstyle/rc/close-hover.png);
} }
QTabBar::close-button:pressed { QTabBar::close-button:pressed {
image: url(qss/qdarkstyle/rc/close-pressed.png); image: url(%THISPATH%/qdarkstyle/rc/close-pressed.png);
} }
/* QTabBar::tab - selected ----------------------------------------------- */ /* QTabBar::tab - selected ----------------------------------------------- */
@ -1486,19 +1487,19 @@ QTabBar::tab:right:!selected:hover {
} }
QTabBar QToolButton::right-arrow:enabled { QTabBar QToolButton::right-arrow:enabled {
image: url(qss/qdarkstyle/rc/right_arrow.png); image: url(%THISPATH%/qdarkstyle/rc/right_arrow.png);
} }
QTabBar QToolButton::left-arrow:enabled { QTabBar QToolButton::left-arrow:enabled {
image: url(qss/qdarkstyle/rc/left_arrow.png); image: url(%THISPATH%/qdarkstyle/rc/left_arrow.png);
} }
QTabBar QToolButton::right-arrow:disabled { QTabBar QToolButton::right-arrow:disabled {
image: url(qss/qdarkstyle/rc/right_arrow_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/right_arrow_disabled.png);
} }
QTabBar QToolButton::left-arrow:disabled { QTabBar QToolButton::left-arrow:disabled {
image: url(qss/qdarkstyle/rc/left_arrow_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/left_arrow_disabled.png);
} }
QTabBar QToolButton{ QTabBar QToolButton{
@ -1514,8 +1515,8 @@ QDockWidget {
background-color: #19232D; background-color: #19232D;
border: 1px solid #32414B; border: 1px solid #32414B;
border-radius: 4px; border-radius: 4px;
titlebar-close-icon: url(qss/qdarkstyle/rc/close.png); titlebar-close-icon: url(%THISPATH%/qdarkstyle/rc/close.png);
titlebar-normal-icon: url(qss/qdarkstyle/rc/undock.png); titlebar-normal-icon: url(%THISPATH%/qdarkstyle/rc/undock.png);
} }
QDockWidget::title { QDockWidget::title {
@ -1557,39 +1558,39 @@ QDockWidget::float-button:pressed {
QTreeView:branch:selected, QTreeView:branch:selected,
QTreeView:branch:hover { QTreeView:branch:hover {
background: url(qss/qdarkstyle/rc/transparent.png); background: url(%THISPATH%/qdarkstyle/rc/transparent.png);
} }
QTreeView::branch:has-siblings:!adjoins-item { QTreeView::branch:has-siblings:!adjoins-item {
border-image: url(qss/qdarkstyle/rc/transparent.png); border-image: url(%THISPATH%/qdarkstyle/rc/transparent.png);
} }
QTreeView::branch:has-siblings:adjoins-item { QTreeView::branch:has-siblings:adjoins-item {
border-image: url(qss/qdarkstyle/rc/transparent.png); border-image: url(%THISPATH%/qdarkstyle/rc/transparent.png);
} }
QTreeView::branch:!has-children:!has-siblings:adjoins-item { QTreeView::branch:!has-children:!has-siblings:adjoins-item {
border-image: url(qss/qdarkstyle/rc/transparent.png); border-image: url(%THISPATH%/qdarkstyle/rc/transparent.png);
} }
QTreeView::branch:has-children:!has-siblings:closed, QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings { QTreeView::branch:closed:has-children:has-siblings {
image: url(qss/qdarkstyle/rc/branch_closed.png); image: url(%THISPATH%/qdarkstyle/rc/branch_closed.png);
} }
QTreeView::branch:open:has-children:!has-siblings, QTreeView::branch:open:has-children:!has-siblings,
QTreeView::branch:open:has-children:has-siblings { QTreeView::branch:open:has-children:has-siblings {
image: url(qss/qdarkstyle/rc/branch_open.png); image: url(%THISPATH%/qdarkstyle/rc/branch_open.png);
} }
QTreeView::branch:has-children:!has-siblings:closed:hover, QTreeView::branch:has-children:!has-siblings:closed:hover,
QTreeView::branch:closed:has-children:has-siblings:hover { QTreeView::branch:closed:has-children:has-siblings:hover {
image: url(qss/qdarkstyle/rc/branch_closed-on.png); image: url(%THISPATH%/qdarkstyle/rc/branch_closed-on.png);
} }
QTreeView::branch:open:has-children:!has-siblings:hover, QTreeView::branch:open:has-children:!has-siblings:hover,
QTreeView::branch:open:has-children:has-siblings:hover { QTreeView::branch:open:has-children:has-siblings:hover {
image: url(qss/qdarkstyle/rc/branch_open-on.png); image: url(%THISPATH%/qdarkstyle/rc/branch_open-on.png);
} }
QListView::item:!selected:hover, QListView::item:!selected:hover,
@ -1611,12 +1612,12 @@ QColumnView::item:selected:hover {
QTreeView::indicator:checked, QTreeView::indicator:checked,
QListView::indicator:checked { QListView::indicator:checked {
image: url(qss/qdarkstyle/rc/checkbox_checked.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_checked.png);
} }
QTreeView::indicator:unchecked, QTreeView::indicator:unchecked,
QListView::indicator:unchecked { QListView::indicator:unchecked {
image: url(qss/qdarkstyle/rc/checkbox_unchecked.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_unchecked.png);
} }
QTreeView::indicator:checked:hover, QTreeView::indicator:checked:hover,
@ -1625,7 +1626,7 @@ QTreeView::indicator:checked:pressed,
QListView::indicator:checked:hover, QListView::indicator:checked:hover,
QListView::indicator:checked:focus, QListView::indicator:checked:focus,
QListView::indicator:checked:pressed { QListView::indicator:checked:pressed {
image: url(qss/qdarkstyle/rc/checkbox_checked_focus.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_checked_focus.png);
} }
QTreeView::indicator:unchecked:hover, QTreeView::indicator:unchecked:hover,
@ -1634,7 +1635,7 @@ QTreeView::indicator:unchecked:pressed,
QListView::indicator:unchecked:hover, QListView::indicator:unchecked:hover,
QListView::indicator:unchecked:focus, QListView::indicator:unchecked:focus,
QListView::indicator:unchecked:pressed { QListView::indicator:unchecked:pressed {
image: url(qss/qdarkstyle/rc/checkbox_unchecked_focus.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_unchecked_focus.png);
} }
QTreeView::indicator:indeterminate:hover, QTreeView::indicator:indeterminate:hover,
@ -1643,12 +1644,12 @@ QTreeView::indicator:indeterminate:pressed,
QListView::indicator:indeterminate:hover, QListView::indicator:indeterminate:hover,
QListView::indicator:indeterminate:focus, QListView::indicator:indeterminate:focus,
QListView::indicator:indeterminate:pressed { QListView::indicator:indeterminate:pressed {
image: url(qss/qdarkstyle/rc/checkbox_indeterminate_focus.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_indeterminate_focus.png);
} }
QTreeView::indicator:indeterminate, QTreeView::indicator:indeterminate,
QListView::indicator:indeterminate { QListView::indicator:indeterminate {
image: url(qss/qdarkstyle/rc/checkbox_indeterminate.png); image: url(%THISPATH%/qdarkstyle/rc/checkbox_indeterminate.png);
} }
QListView, QListView,
@ -1771,7 +1772,7 @@ QHeaderView::down-arrow {
width: 16px; width: 16px;
height: 16px; height: 16px;
border-right: 1px solid #19232D; border-right: 1px solid #19232D;
image: url(qss/qdarkstyle/rc/down_arrow.png); image: url(%THISPATH%/qdarkstyle/rc/down_arrow.png);
} }
QHeaderView::up-arrow { QHeaderView::up-arrow {
@ -1779,7 +1780,7 @@ QHeaderView::up-arrow {
width: 16px; width: 16px;
height: 16px; height: 16px;
border-right: 1px solid #19232D; border-right: 1px solid #19232D;
image: url(qss/qdarkstyle/rc/up_arrow.png); image: url(%THISPATH%/qdarkstyle/rc/up_arrow.png);
} }
/* QToolBox -------------------------------------------------------------- */ /* QToolBox -------------------------------------------------------------- */
@ -1876,12 +1877,12 @@ QSplitter::separator:hover {
QSplitter::separator:horizontal { QSplitter::separator:horizontal {
width: 5px; width: 5px;
image: url(qss/qdarkstyle/rc/Vsepartoolbar.png); image: url(%THISPATH%/qdarkstyle/rc/Vsepartoolbar.png);
} }
QSplitter::separator:vertical { QSplitter::separator:vertical {
height: 5px; height: 5px;
image: url(qss/qdarkstyle/rc/Hsepartoolbar.png); image: url(%THISPATH%/qdarkstyle/rc/Hsepartoolbar.png);
} }
@ -1912,13 +1913,13 @@ QDateEdit::drop-down {
} }
QDateEdit::down-arrow { QDateEdit::down-arrow {
image: url(qss/qdarkstyle/rc/down_arrow_disabled.png); image: url(%THISPATH%/qdarkstyle/rc/down_arrow_disabled.png);
} }
QDateEdit::down-arrow:on, QDateEdit::down-arrow:on,
QDateEdit::down-arrow:hover, QDateEdit::down-arrow:hover,
QDateEdit::down-arrow:focus { QDateEdit::down-arrow:focus {
image: url(qss/qdarkstyle/rc/down_arrow.png); image: url(%THISPATH%/qdarkstyle/rc/down_arrow.png);
} }
QDateEdit QAbstractItemView { QDateEdit QAbstractItemView {
@ -1976,10 +1977,6 @@ GxsForumThreadWidget QLabel#forumName
font: bold; font: bold;
} }
GxsForumThreadWidget QWidget#threadTreeWidget::item {
padding: 2px;
}
ForumsDialog, GxsForumThreadWidget ForumsDialog, GxsForumThreadWidget
{ {
qproperty-textColorRead: darkgray; qproperty-textColorRead: darkgray;
@ -1993,6 +1990,20 @@ ForumsDialog, GxsForumThreadWidget
qproperty-backgroundColorFiltered: darkGreen; qproperty-backgroundColorFiltered: darkGreen;
} }
GxsForumThreadWidget QWidget#threadTreeWidget {
selection-background-color: #005599;
show-decoration-selected: 1;
}
GxsForumThreadWidget QWidget#threadTreeWidget::item {
padding: 2px;
}
GxsForumThreadWidget QWidget#threadTreeWidget::item:selected:active ,
GxsForumThreadWidget QWidget#threadTreeWidget::item:selected:!active {
background-color: #005599;
}
QTreeView [new=true]{ QTreeView [new=true]{
color: #0099cc; color: #0099cc;
@ -2056,8 +2067,8 @@ GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton:disabled {
} }
/* only for MenuButtonPopup */ /* only for MenuButtonPopup */
GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton[popupMode="1"] { GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton[popupMode="1"] {
padding-right: 0px; padding-right: 0px;
} }
GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton::menu-arrow { GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton::menu-arrow {
@ -2102,7 +2113,7 @@ GxsCreateCommentDialog QPushButton#postButton, GxsGroupDialog QPushButton#create
CreateCircleDialog QPushButton#createButton:hover, CreateLobbyDialog QPushButton#createButton:hover, CreateCircleDialog QPushButton#createButton:hover, CreateLobbyDialog QPushButton#createButton:hover,
IdEditDialog QPushButton#createButton:hover, CreateGxsForumMsg QPushButton#postButton:hover, IdEditDialog QPushButton#createButton:hover, CreateGxsForumMsg QPushButton#postButton:hover,
GxsCreateCommentDialog QPushButton#postButton:hover, , GxsGroupDialog QPushButton#createButton:hover { GxsCreateCommentDialog QPushButton#postButton:hover, GxsGroupDialog QPushButton#createButton:hover {
background: #03b1f3; background: #03b1f3;
border-radius: 4px; border-radius: 4px;
min-width: 4em; min-width: 4em;
@ -2122,12 +2133,12 @@ CreateGxsChannelMsg QPushButton#postButton:disabled, GxsCreateCommentDialog QPus
} }
QTabBar#smTab::tab{ QTabBar#smTab::tab{
height: 32px; height: 32px;
width: 32px; width: 32px;
} }
QLabel#avatarLabel{ QLabel#avatarLabel{
border: 2px solid #CCCCCC; border: 2px solid #CCCCCC;
border-radius: 4px; border-radius: 4px;
} }
@ -2178,7 +2189,7 @@ BoardPostDisplayWidget_compact QFrame#voteFrame {
background: #141415; background: #141415;
} }
BoardPostDisplayWidget_compact QToolButton#voteDownButton, QToolButton#voteUpButton, BoardPostDisplayWidget_compact QToolButton#voteDownButton, QToolButton#voteUpButton,
BoardPostDisplayWidget_card QToolButton#voteDownButton, QToolButton#voteUpButton BoardPostDisplayWidget_card QToolButton#voteDownButton, QToolButton#voteUpButton
{ {
border: none; border: none;

View File

@ -557,6 +557,14 @@ QComboBox:on
selection-background-color: #4a4a4a; selection-background-color: #4a4a4a;
} }
/* Needed to remove indicator - fix #132 */
QComboBox::indicator {
background-color:transparent;
selection-background-color:transparent;
color:transparent;
selection-color:transparent;
}
QComboBox QAbstractItemView QComboBox QAbstractItemView
{ {
background-color: #201F1F; background-color: #201F1F;
@ -1176,10 +1184,20 @@ GxsForumThreadWidget QToolButton#subscribeToolButton:hover {
border-radius: 4px; border-radius: 4px;
} }
GxsForumThreadWidget QWidget#threadTreeWidget {
selection-background-color: #445566;
show-decoration-selected: 1;
}
GxsForumThreadWidget QWidget#threadTreeWidget::item { GxsForumThreadWidget QWidget#threadTreeWidget::item {
padding: 2px; padding: 2px;
} }
GxsForumThreadWidget QWidget#threadTreeWidget::item:selected:active ,
GxsForumThreadWidget QWidget#threadTreeWidget::item:selected:!active {
background-color: #445566;
}
GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton { GxsChannelPostsWidgetWithModel QToolButton#subscribeToolButton {
font: bold; font: bold;
font-size: 14px; font-size: 14px;