Skip to content

Commit 45d8f5d

Browse files
author
SkyzohKey
committed
Changed GtkSwitch colors + fixed selection color
1 parent 05bbb37 commit 45d8f5d

1 file changed

Lines changed: 12 additions & 16 deletions

File tree

res/themes/app.css

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ GtkSwitch.trough {
3737
}
3838

3939
GtkSwitch.trough:active {
40-
background: #27AE60;
40+
background: #2ECC71;
4141
}
4242

4343
GtkSwitch.trough:insensitive {
@@ -49,15 +49,15 @@ GtkSwitch.trough:backdrop {
4949
}
5050

5151
GtkSwitch.trough:active:backdrop {
52-
background: #27AE60;
52+
background: #2ECC71;
5353
}
5454

5555
GtkSwitch.trough:insensitive:backdrop {
5656
background: @ui_darker;
5757
}
5858

5959
GtkSwitch.slider {
60-
background: @ui_darker;
60+
background: #C0392B;
6161
border-top-left-radius: 2px;
6262
border-top-right-radius: 0px;
6363
border-bottom-left-radius: 2px;
@@ -70,6 +70,7 @@ GtkSwitch.slider:insensitive {
7070
}
7171

7272
GtkSwitch.slider:active {
73+
background-color: #27AE60;
7374
border-top-left-radius: 0px;
7475
border-top-right-radius: 2px;
7576
border-bottom-left-radius: 0px;
@@ -242,9 +243,7 @@ GtkScrolledWindow {
242243
border-radius: 0;
243244
color: @ui_text;
244245
}
245-
.box-search GtkSearchEntry:selected {
246-
background-color: #5688f9;
247-
}
246+
248247
.box-search GtkToggleButton {
249248
background-color: transparent;
250249
background-image: none;
@@ -415,9 +414,6 @@ GtkScrolledWindow {
415414
background-color: @ui_darker;
416415
color: @ui_text;
417416
}
418-
.entry-inverted:selected {
419-
background-color: @selected_text_color;
420-
}
421417
.entry-inverted:hover {
422418
background-color: @ui_main;
423419
}
@@ -464,10 +460,6 @@ GtkScrolledWindow {
464460

465461
color: @ui_text;
466462
}
467-
.entry-principal:selected,
468-
.entry-principal:selected:backdrop {
469-
background-color: @selected_text_color;
470-
}
471463

472464
.entry-chat {
473465
border: none;
@@ -479,9 +471,6 @@ GtkScrolledWindow {
479471
background-color: @ui_darker;
480472
color: @ui_text;
481473
}
482-
.entry-chat:selected {
483-
background-color: @selected_text_color;
484-
}
485474

486475
.friendlist-row {
487476
background-color: @ui_dark;
@@ -591,3 +580,10 @@ GtkScrolledWindow {
591580
background-color: #237f35;
592581
color: @ui_text;
593582
}
583+
584+
/** ENTRIES SELECTION COLOR **/
585+
GtkSearchEntry :selected,
586+
GtkEntry:selected {
587+
background-color: @selected_text_color;
588+
color: @selected_text_color;
589+
}

0 commit comments

Comments
 (0)