Skip to content

Commit

Permalink
Fix the Classic theme
Browse files Browse the repository at this point in the history
See #951.
  • Loading branch information
lmoureaux authored and jwrober committed Mar 27, 2022
1 parent 8e2b546 commit c916bd3
Showing 1 changed file with 33 additions and 26 deletions.
59 changes: 33 additions & 26 deletions data/themes/gui-qt/Classic/resource.qss
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ resize_widget
background: #ddca97;
}

QPushButton {
QPushButton, QToolButton {
color: black;
border-image: url(LittleFingerbutton-default.png) 3 3 3 3;
border-top: 3px transparent;
Expand All @@ -96,15 +96,16 @@ QPushButton {
padding: 2px;
}

QPushButton:hover {
QPushButton:hover, QToolButton:hover {
border-image: url(LittleFingerbutton-prelight.png) 3 3 3 3;
}

QPushButton:pressed {
QPushButton:pressed, QToolButton:pressed,
QPushButton:checked, QToolButton:checked {
border-image: url(LittleFingerbutton-pressed.png) 3 3 3 3;
}

QPushButton:disabled {
QPushButton:disabled, QToolButton:disabled {
border-image: url(LittleFingerbutton-insensitive.png) 3 3 3 3;
}

Expand Down Expand Up @@ -687,35 +688,35 @@ units_select {
border: 1px solid black;
}

chatwdg QTextBrowser
chat_widget QTextBrowser
{
background-color: transparent;
border: none;
color: rgb( 240, 240, 240);
}

chatwdg QLineEdit
chat_widget QLineEdit
{
background-color: black;
border: 1px solid #c3b48e;
color: rgb( 240, 240, 240);
}


chatwdg QScrollBar:vertical
chat_widget QScrollBar:vertical
{
background: transparent;
margin: 0px 0 0px 0;
}

messagewdg QListWidget
message_widget QListWidget
{
border: none;
color: white;
background-color: transparent;
}

messagewdg QListWidget::item:hover {
message_widget QListWidget::item:hover {
color: black;
background-color: rgba(180, 160, 120, 225);
}
Expand Down Expand Up @@ -757,68 +758,72 @@ unit_item, impr_item {
selection-background-color: #c3b48e;
}

chatwdg QScrollBar:vertical {
message_widget, chat_widget {
background: black;
}

chat_widget QScrollBar:vertical {
background: transparent;
border: 1px solid #c3b48e;
}

chatwdg QScrollBar::add-page:vertical {
chat_widget QScrollBar::add-page:vertical {
background: transparent;
width: 0px;height: 0px;
}

chatwdg QScrollBar::sub-page:vertical {
chat_widget QScrollBar::sub-page:vertical {
background: transparent;
width: 0px;height: 0px;
}

chatwdg QScrollBar::add-line:vertical {
chat_widget QScrollBar::add-line:vertical {
width: 0px;height: 0px;
}

chatwdg QScrollBar::sub-line:vertical {
chat_widget QScrollBar::sub-line:vertical {
width: 0px;height: 0px;
}


messagewdg QScrollBar:vertical {
message_widget QScrollBar:vertical {
background: transparent;
border: 1px solid #c3b48e;
margin: 0 0 0 0;
}

messagewdg QScrollBar::add-page:vertical {
message_widget QScrollBar::add-page:vertical {
background: transparent;
width: 0px;height: 0px;
}

messagewdg QScrollBar::sub-page:vertical {
message_widget QScrollBar::sub-page:vertical {
background: transparent;
width: 0px;height: 0px;
}

messagewdg QScrollBar::add-line:vertical {
message_widget QScrollBar::add-line:vertical {
width: 0px;height: 0px;
}

messagewdg QScrollBar::sub-line:vertical {
message_widget QScrollBar::sub-line:vertical {
width: 0px;height: 0px;
}

chatwdg QPushButton {
chat_widget QPushButton {
background: transparent;
border: none;
}

chatwdg QCheckBox {
chat_widget QCheckBox {
background: transparent;
}

chatwdg QCheckBox::indicator:checked {
chat_widget QCheckBox::indicator:checked {
image: url(LittleFingercheckbox-checked-pressed.png);
}

chatwdg QCheckBox::indicator:checked:hover {
chat_widget QCheckBox::indicator:checked:hover {
image: url(LittleFingercheckbox-checked-pressed.png);
}

Expand Down Expand Up @@ -852,10 +857,12 @@ hud_input_box QPushButton {
padding: 2px;
}

top_bar {
background: transparent;
}

top_bar_widget {
color: white;
selection-background-color: rgb(34, 150, 4);
alternate-background-color: rgba(125, 25, 125, 125);
/* blink */
selection-color: rgba(85, 25, 25, 185);
}

Expand Down

0 comments on commit c916bd3

Please sign in to comment.