Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit d7145af

Browse files
committed
SASS re-edits on all GTK-3-4
modified: src/Mint-Y/gtk-3.0/gtk-dark.css modified: src/Mint-Y/gtk-3.0/gtk.css modified: src/Mint-Y/gtk-3.0/sass/_applications.scss modified: src/Mint-Y/gtk-3.0/sass/_common.scss modified: src/Mint-Y/gtk-3.0/sass/_drawing.scss modified: src/Mint-Y/gtk-4.0/gtk-dark.css modified: src/Mint-Y/gtk-4.0/gtk.css modified: src/Mint-Y/gtk-4.0/sass/_common.scss modified: src/Mint-Y/gtk-4.0/sass/_drawing.scss
1 parent 4d43b8f commit d7145af

9 files changed

Lines changed: 520 additions & 528 deletions

File tree

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

Lines changed: 82 additions & 83 deletions
Large diffs are not rendered by default.

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

Lines changed: 82 additions & 83 deletions
Large diffs are not rendered by default.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ NautilusListView .view { border-bottom: 1px solid $borders_color; }
249249

250250
.nemo-window-pane widget.entry {
251251
border: 1px solid;
252-
border-radius: 5px;
252+
border-radius: 3px;
253253

254254
@include entry(focus);
255255

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ $asset_suffix: if($variant=='dark', '-dark', ''); // use dark assets in dark var
2121
-GtkDialog-action-area-border: 6;
2222

2323
// We use the outline properties to signal the focus properties
24-
outline-color: transparentize($fg_color, 0.7);
25-
outline-style: none; // was: dashed
24+
outline-color: transparentize($selected_bg_color, 0.5);
25+
outline-style: solid;
2626
outline-offset: -3px;
2727
outline-width: 1px;
2828
-gtk-outline-radius: 4px;
@@ -339,9 +339,7 @@ button {
339339
border: 1px solid;
340340
border-radius: 5px;
341341
padding: 5px 8px;
342-
outline-color: $button_active_bg; // $button_active_bg defined in _colors.scss
343-
outline-style: solid; // Mint-Yz
344-
342+
outline-color: transparentize($button_active_bg, 0.5);
345343

346344
@include button(normal);
347345

@@ -3172,8 +3170,7 @@ headerbar,
31723170

31733171
button.titlebutton {
31743172
$_wm_backdrop_icon_color: $wm_icon_unfocused_bg;
3175-
// Mint-Yz: $_wm_backdrop_icon_color = $wm_icon_unfocused_bg = $wm_title_unfocused (in _colors.scss)
3176-
// Same as src/Mint-Y/metacity-1/metacity-theme-3.xml
3173+
// Mint-Yz: $_wm_backdrop_icon_color = $wm_icon_unfocused_bg = $wm_title_unfocused
31773174
min-width: 18px;
31783175
min-height: 18px;
31793176
@extend .image-button;

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
// normal button
134134
//
135135
color: $fg_color;
136-
outline-color: $button_active_bg;
136+
outline-color: transparentize($button_active_bg, 0.5);
137137
border-color: $button_border;
138138
background-color: $button_bg;
139139
}
@@ -143,7 +143,7 @@
143143
// hovered button
144144
//
145145
color: $fg_color;
146-
outline-color: $button_active_bg;
146+
outline-color: transparentize($button_active_bg, 0.5);
147147
border-color: $button_border;
148148
background-color: if($variant=='light', darken($button_bg, 5%), lighten($button_bg, 5%));
149149
}
@@ -153,7 +153,7 @@
153153
// pushed button
154154
//
155155
color: $selected_fg_color;
156-
outline-color: $selected_fg_color;
156+
outline-color: transparentize($selected_fg_color, 0.5);
157157
border-color: $button_active_border;
158158
background-color: $button_active_bg;
159159
}
@@ -187,7 +187,7 @@
187187
// normal header-bar button
188188
//
189189
color: $header_fg;
190-
outline-color: $button_active_bg;
190+
outline-color: transparentize($button_active_bg, 0.5);
191191
outline-offset: -3px;
192192
background-color: transparentize($header_bg, 1);
193193
border-color: transparentize($header_bg, 1);
@@ -198,7 +198,7 @@
198198
// hovered header-bar button
199199
//
200200
color: $header_fg;
201-
outline-color: $button_active_bg;
201+
outline-color: transparentize($button_active_bg, 0.5);
202202
border-color: $header_button_border;
203203
background-color: $header_button_bg;
204204
}
@@ -208,7 +208,7 @@
208208
// pushed header-bar button
209209
//
210210
color: $selected_fg_color;
211-
outline-color: $selected_fg_color;
211+
outline-color: transparentize($selected_fg_color, 0.5);
212212
border-color: $button_active_border;
213213
background-color: $button_active_bg;
214214
}
@@ -218,8 +218,8 @@
218218
// insensitive header-bar button
219219
//
220220
color: transparentize($header_fg, 0.45);
221-
border-color: transparentize($header_bg, 1);
222221
background-color: transparentize($header_bg, 1);
222+
border-color: transparentize($header_bg, 1);
223223

224224
label { color: inherit; }
225225
}
@@ -238,7 +238,7 @@
238238
// normal osd button
239239
//
240240
color: $osd_fg_color;
241-
outline-color: $button_active_bg;
241+
outline-color: transparentize($button_active_bg, 0.5);
242242
border-color: $osd_button_border;
243243
background-color: $osd_button_bg;
244244
}
@@ -248,7 +248,7 @@
248248
// hover osd button
249249
//
250250
color: $osd_fg_color;
251-
outline-color: $button_active_bg;
251+
outline-color: transparentize($button_active_bg, 0.5);
252252
border-color: $osd_button_border;
253253
background-color: opacify(lighten($osd_button_bg, 7%), 0.1);
254254
}
@@ -258,7 +258,7 @@
258258
// active osd button
259259
//
260260
color: $selected_fg_color;
261-
outline-color: $selected_fg_color;
261+
outline-color: transparentize($selected_fg_color, 0.5);
262262
border-color: $button_active_border;
263263
background-color: $button_active_bg;
264264
}
@@ -279,9 +279,9 @@
279279
background-clip: border-box;
280280

281281
color: $selected_fg_color;
282-
outline-color: $selected_fg_color;
282+
outline-color: transparentize($selected_fg_color, 0.5);
283283
background-color: $actionb_color;
284-
border-color: $actionb_color;
284+
border-color: darken($actionb_color, 30%);
285285
}
286286

287287
@else if $t==undecorated {

0 commit comments

Comments
 (0)