Skip to content

Commit 8d20064

Browse files
committed
Mint-Y-Dark: Lighten up pressed buttons
1 parent bcd96ad commit 8d20064

2 files changed

Lines changed: 17 additions & 11 deletions

File tree

src/Mint-Y/gtk-3.0/gtk-dark.css

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ button {
275275
color: rgba(255, 255, 255, 0.87);
276276
outline-color: rgba(255, 255, 255, 0.17);
277277
border-color: #080808;
278-
background-color: rgba(0, 0, 0, 0.15);
278+
background-color: rgba(255, 255, 255, 0.15);
279279
background-clip: padding-box;
280280
transition-duration: 50ms; }
281281
button:active:not(:disabled) label:disabled, button:checked:not(:disabled) label:disabled {
@@ -294,7 +294,7 @@ button {
294294
button:disabled:active, button:disabled:checked {
295295
color: rgba(255, 255, 255, 0.67);
296296
border-color: rgba(8, 8, 8, 0.85);
297-
background-color: rgba(0, 0, 0, 0.1);
297+
background-color: rgba(255, 255, 255, 0.1);
298298
opacity: 0.6; }
299299
button:disabled:active label, button:disabled:checked label {
300300
color: inherit; }
@@ -511,7 +511,7 @@ button {
511511
color: rgba(255, 255, 255, 0.87);
512512
outline-color: rgba(255, 255, 255, 0.17);
513513
border-color: #080808;
514-
background-color: rgba(0, 0, 0, 0.15); }
514+
background-color: rgba(255, 255, 255, 0.15); }
515515
.inline-toolbar toolbutton > button:disabled {
516516
color: rgba(255, 255, 255, 0.42);
517517
border-color: rgba(32, 32, 35, 0.55);
@@ -521,7 +521,7 @@ button {
521521
.inline-toolbar toolbutton > button:disabled:active, .inline-toolbar toolbutton > button:disabled:checked {
522522
color: rgba(255, 255, 255, 0.67);
523523
border-color: rgba(8, 8, 8, 0.85);
524-
background-color: rgba(0, 0, 0, 0.1);
524+
background-color: rgba(255, 255, 255, 0.1);
525525
opacity: 0.6; }
526526
.inline-toolbar toolbutton > button:disabled:active label, .inline-toolbar toolbutton > button:disabled:checked label {
527527
color: inherit; }
@@ -1024,7 +1024,7 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
10241024
color: rgba(255, 255, 255, 0.87);
10251025
outline-color: rgba(255, 255, 255, 0.17);
10261026
border-color: rgba(5, 5, 6, 0.4);
1027-
background-color: rgba(0, 0, 0, 0.15);
1027+
background-color: rgba(255, 255, 255, 0.15);
10281028
background-clip: padding-box; }
10291029

10301030
.primary-toolbar button:disabled, headerbar button:disabled {
@@ -1039,7 +1039,7 @@ window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop, w
10391039
.primary-toolbar button:disabled:checked, headerbar button:disabled:checked {
10401040
color: rgba(255, 255, 255, 0.67);
10411041
border-color: rgba(8, 8, 8, 0.85);
1042-
background-color: rgba(0, 0, 0, 0.1); }
1042+
background-color: rgba(255, 255, 255, 0.1); }
10431043

10441044
.primary-toolbar toolbar.selection-mode button,
10451045
.selection-mode.primary-toolbar button, .primary-toolbar .selection-mode.inline-toolbar button, headerbar.selection-mode button {
@@ -1101,7 +1101,7 @@ headerbar .linked:not(.vertical).path-bar > button {
11011101
color: rgba(255, 255, 255, 0.87);
11021102
outline-color: rgba(255, 255, 255, 0.17);
11031103
border-color: rgba(5, 5, 6, 0.4);
1104-
background-color: rgba(0, 0, 0, 0.15); }
1104+
background-color: rgba(255, 255, 255, 0.15); }
11051105
.primary-toolbar toolbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:disabled,
11061106
.primary-toolbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:disabled, .primary-toolbar .inline-toolbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:disabled, headerbar .linked:not(.vertical):not(.path-bar).stack-switcher > button:disabled,
11071107
.primary-toolbar toolbar .linked:not(.vertical).path-bar > button:disabled,
@@ -1137,7 +1137,7 @@ headerbar .linked:not(.vertical).path-bar > button {
11371137
color: rgba(255, 255, 255, 0.87);
11381138
outline-color: rgba(255, 255, 255, 0.17);
11391139
border-color: rgba(5, 5, 6, 0.4);
1140-
background-color: rgba(0, 0, 0, 0.15); }
1140+
background-color: rgba(255, 255, 255, 0.15); }
11411141

11421142
.primary-toolbar .linked:not(.vertical) entry + button:last-child:disabled, headerbar .linked:not(.vertical) entry + button:last-child:disabled {
11431143
color: rgba(255, 255, 255, 0.47);
@@ -2918,7 +2918,7 @@ headerbar button.titlebutton,
29182918
color: rgba(255, 255, 255, 0.87);
29192919
outline-color: rgba(255, 255, 255, 0.17);
29202920
border-color: rgba(5, 5, 6, 0.4);
2921-
background-color: rgba(0, 0, 0, 0.15); }
2921+
background-color: rgba(255, 255, 255, 0.15); }
29222922
headerbar button.titlebutton.close, headerbar button.titlebutton.maximize, headerbar button.titlebutton.minimize,
29232923
.titlebar button.titlebutton.close,
29242924
.titlebar button.titlebutton.maximize,
@@ -3151,7 +3151,7 @@ filechooser placessidebar.sidebar list {
31513151
color: rgba(255, 255, 255, 0.87);
31523152
outline-color: rgba(255, 255, 255, 0.17);
31533153
border-color: #080808;
3154-
background-color: rgba(0, 0, 0, 0.15); }
3154+
background-color: rgba(255, 255, 255, 0.15); }
31553155
.nautilus-window placessidebar.sidebar list row.sidebar-row:not(:selected) button.sidebar-button:not(:hover):not(:active) > image,
31563156
filechooser placessidebar.sidebar list row.sidebar-row:not(:selected) button.sidebar-button:not(:hover):not(:active) > image {
31573157
opacity: 0.5; }
@@ -3849,7 +3849,7 @@ EvWindow .content-view .view:focus:selected {
38493849
color: rgba(255, 255, 255, 0.87);
38503850
outline-color: rgba(255, 255, 255, 0.17);
38513851
border-color: #080808;
3852-
background-color: rgba(0, 0, 0, 0.15); }
3852+
background-color: rgba(255, 255, 255, 0.15); }
38533853
#content_frame button:disabled {
38543854
color: rgba(255, 255, 255, 0.42);
38553855
border-color: rgba(32, 32, 35, 0.55);

src/Mint-Y/gtk-3.0/sass/_colors.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@ $tooltip_bg_color: transparentize(mix($selected_bg_color, black, 95%), 0.05);
127127
$tooltip_fg_color: #FFFFFF;
128128
$drop_target_color: $selected_bg_color;
129129

130+
@if $variant == 'light' {
131+
$button_active_bg: transparentize(black, 0.85);
132+
} @else {
133+
$button_active_bg: transparentize(white, 0.85);
134+
}
135+
130136
// Links and status
131137
$link_color: #5294E2;
132138
$link_visited_color: #5294E2;

0 commit comments

Comments
 (0)