/usr/share/themes/BlackMATE/gtk-3.0/window-controls.css is in mate-themes 3.22.16-4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 | /*left & right not set for ssd by metacity,mutter, g-s, include this case*/
headerbar button.minimize.titlebutton,
headerbar button.maximize.titlebutton,
headerbar button.close.titlebutton,
headerbar button.minimize.titlebutton:backdrop,
headerbar button.maximize.titlebutton:backdrop,
headerbar button.close.titlebutton:backdrop,
/*other WMs*/
headerbar .right button.minimize.titlebutton,
headerbar .right button.minimize.titlebutton:backdrop,
headerbar .right:dir(rtl) button.minimize.titlebutton,
headerbar .right:dir(rtl) button.minimize.titlebutton:backdrop,
headerbar .left button.minimize.titlebutton,
headerbar .left button.minimize.titlebutton:backdrop,
headerbar .left:dir(rtl) button.minimize.titlebutton,
headerbar .left:dir(rtl) button.minimize.titlebutton:backdrop,
headerbar .right button.maximize.titlebutton,
headerbar .right button.maximize.titlebutton:backdrop,
headerbar .right:dir(rtl) button.maximize.titlebutton,
headerbar .right:dir(rtl) button.maximize.titlebutton:backdrop,
headerbar .left button.maximize.titlebutton,
headerbar .left button.maximize.titlebutton:backdrop,
headerbar .left:dir(rtl) button.maximize.titlebutton,
headerbar .left:dir(rtl) button.maximize.titlebutton:backdrop,
headerbar .right button.close.titlebutton,
headerbar .right button.close.titlebutton:backdrop,
headerbar .right:dir(rtl) button.close.titlebutton,
headerbar .right:dir(rtl) button.close.titlebutton:backdrop,
headerbar .left button.close.titlebutton,
headerbar .left button.close.titlebutton:backdrop,
headerbar .left:dir(rtl) button.close.titlebutton,
headerbar .left:dir(rtl) button.close.titlebutton:backdrop {
color: transparent;
background-position: center;
background-repeat: no-repeat;
background-size: 19px 19px;
}
/* Set correct layout with
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/DecorationLayout': <':minimize,maximize,close'>}" for
buttons on the right or
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/DecorationLayout': <'close,maximize,minimize:'>}"
for buttons on the left */
/* minimize */
headerbar button.minimize.titlebutton,
headerbar .right button.minimize.titlebutton,
headerbar .right:dir(rtl) button.minimize.titlebutton,
headerbar .left button.minimize.titlebutton,
headerbar .left:dir(rtl) button.minimize.titlebutton {
background-image: url('window-controls/neutral.png');
}
headerbar button.minimize.titlebutton:hover,
headerbar .right button.minimize.titlebutton:hover,
headerbar .right:dir(rtl) button.minimize.titlebutton:hover,
headerbar .left button.minimize.titlebutton:hover,
headerbar .left:dir(rtl) button.minimize.titlebutton:hover {
background-image: url('window-controls/button-min-focus.png');
}
headerbar button.minimize.titlebutton:active,
headerbar .right button.minimize.titlebutton:active,
headerbar .right:dir(rtl) button.minimize.titlebutton:active,
headerbar .left button.minimize.titlebutton:active,
headerbar .left:dir(rtl) button.minimize.titlebutton:active,
headerbar .right button.minimize.titlebutton:checked,
headerbar .right:dir(rtl) button.minimize.titlebutton:checked,
headerbar .left button.minimize.titlebutton:checked,
headerbar .left:dir(rtl) button.minimize.titlebutton:checked {
background-image: url('window-controls/neutral.png');
}
headerbar button.minimize.titlebutton:backdrop,
headerbar .right button.minimize.titlebutton:backdrop,
headerbar .right:dir(rtl) button.minimize.titlebutton:backdrop,
headerbar .left button.minimize.titlebutton:backdrop,
headerbar .left:dir(rtl) button.minimize.titlebutton:backdrop {
background-image: url('window-controls/unfocus.png');
}
/*
headerbar button.minimize.titlebutton:backdrop:hover,
headerbar .right button.minimize.titlebutton:backdrop:hover,
headerbar .right:dir(rtl) button.minimize.titlebutton:backdrop:hover,
headerbar .left button.minimize.titlebutton:backdrop:hover,
headerbar .left:dir(rtl) button.minimize.titlebutton:backdrop:hover {
background-image: url('window-controls/minimize_unfocused_prelight.png');
}
*/
/* maximize */
headerbar button.maximize.titlebutton,
headerbar .right button.maximize.titlebutton,
headerbar .right:dir(rtl) button.maximize.titlebutton,
headerbar .left button.maximize.titlebutton,
headerbar .left:dir(rtl) button.maximize.titlebutton {
background-image: url('window-controls/neutral.png');
}
headerbar button.maximize.titlebutton:hover,
headerbar .right button.maximize.titlebutton:hover,
headerbar .right:dir(rtl) button.maximize.titlebutton:hover,
headerbar .left button.maximize.titlebutton:hover,
headerbar .left:dir(rtl) button.maximize.titlebutton:hover {
background-image: url('window-controls/button-max-focus.png');
}
headerbar button.maximize.titlebutton:active,
headerbar .right button.maximize.titlebutton:active,
headerbar .right:dir(rtl) button.maximize.titlebutton:active,
headerbar .left button.maximize.titlebutton:active,
headerbar .left:dir(rtl) button.maximize.titlebutton:active,
headerbar .right button.maximize.titlebutton:checked,
headerbar .right:dir(rtl) button.maximize.titlebutton:checked,
headerbar .left button.maximize.titlebutton:checked,
headerbar .left:dir(rtl) button.maximize.titlebutton:checked {
background-image: url('window-controls/neutral.png');
}
headerbar button.maximize.titlebutton:backdrop,
headerbar .right button.maximize.titlebutton:backdrop,
headerbar .right:dir(rtl) button.maximize.titlebutton:backdrop,
headerbar .left button.maximize.titlebutton:backdrop,
headerbar .left:dir(rtl) button.maximize.titlebutton:backdrop {
background-image: url('window-controls/unfocus.png');
}
/*
headerbar button.maximize.titlebutton:backdrop:hover,
headerbar .right button.maximize.titlebutton:backdrop:hover,
headerbar .right:dir(rtl) button.maximize.titlebutton:backdrop:hover,
headerbar .left button.maximize.titlebutton:backdrop:hover,
headerbar .left:dir(rtl) button.maximize.titlebutton:backdrop:hover {
background-image: url('window-controls/maximize_unfocused_prelight.png');
}
*/
/* close */
headerbar button.close.titlebutton, /*Include Metacity/Mutter/G-S close button */
headerbar .right button.close.titlebutton,
headerbar .right:dir(rtl) button.close.titlebutton,
headerbar .left button.close.titlebutton,
headerbar .left:dir(rtl) button.close.titlebutton {
background-image: url('window-controls/neutral.png');
/*padding: 2px 6px 3px 3px;*/ /* FIXME: Uncomment this shit when using the Faenza icon theme and maybe some other icon themes */
}
headerbar button.close.titlebutton:hover,
headerbar .right button.close.titlebutton:hover,
headerbar .right:dir(rtl) button.close.titlebutton:hover,
headerbar .left button.close.titlebutton:hover,
headerbar .left:dir(rtl) button.close.titlebutton:hover {
background-image: url('window-controls/button-close-focus.png');
}
headerbar button.close.titlebutton:active,
headerbar .right button.close.titlebutton:active,
headerbar .right:dir(rtl) button.close.titlebutton:active,
headerbar .left button.close.titlebutton:active,
headerbar .left:dir(rtl) button.close.titlebutton:active,
headerbar .right button.close.titlebutton:checked,
headerbar .right:dir(rtl) button.close.titlebutton:checked,
headerbar .left button.close.titlebutton:checked,
headerbar .left:dir(rtl) button.close.titlebutton:checked {
background-image: url('window-controls/neutral.png');
}
headerbar button.close.titlebutton:backdrop,
headerbar .right button.close.titlebutton:backdrop,
headerbar .right:dir(rtl) button.close.titlebutton:backdrop,
headerbar .left button.close.titlebutton:backdrop,
headerbar .left:dir(rtl) button.close.titlebutton:backdrop {
background-image: url('window-controls/unfocus.png');
}
/*
headerbar button.close.titlebutton:backdrop:hover,
headerbar .right button.close.titlebutton:backdrop:hover,
headerbar .right:dir(rtl) button.close.titlebutton:backdrop:hover,
headerbar .left button.close.titlebutton:backdrop:hover,
headerbar .left:dir(rtl) button.close.titlebutton:backdrop:hover {
background-image: url('window-controls/close_unfocused_prelight.png');
}
*/
.titlebar button.close.titlebutton image {
/* fake request to avoid usage of regular window-close button*/
-gtk-icon-style: requested;
}
/* gtk+-3.20 */
.titlebar button.close.titlebutton image,
.titlebar button.minimize.titlebutton image,
.titlebar button.maximize.titlebutton image {
color: transparent;
}
/* Menu button when fallback kicks in (XFCE, Cinnamon etc.) *//*
.titlebar .button.popup.titlebutton {
background-image: url('window-controls/neutral.png');
}
.titlebar .button.popup.titlebutton:hover {
background-image: url('window-controls/yellow.png');
}
.titlebar .button.popup.titlebutton:active {
background-image: url('window-controls/menu-button-pressed.png');
}
*/
|