Adjustments to titlebar

master
Christian Medel 2019-04-02 09:24:20 -04:00
parent 601a32f9c9
commit 68d37a8493
7 changed files with 22 additions and 16 deletions

BIN
gtk-3.0/assets/close-focused.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

View File

@ -2327,23 +2327,29 @@ messagedialog {
padding-right: 12px;
color: alpha(currentColor, 0.7); }
.titlebar .titlebutton.close, .titlebar .titlebutton.maximize, .titlebar .titlebutton.minimize, .titlebar .titlebutton:not(separator) {
padding: 3px;
min-width: 14px;
min-height: 14px;
padding: 0;
border: none;
box-shadow: none;
border-radius: 0;
border: 1px solid shade(@titlebar_bg_color, 0.8);
border-right-color: shade(@titlebar_bg_color, 1.25);
border-bottom-color: shade(@titlebar_bg_color, 1.25);
background-image: linear-gradient(to bottom right, @titlebar_bg_color, shade(@titlebar_bg_color, 0.85));
box-shadow: inset -1px -1px shade(@titlebar_bg_color, 0.8), inset 1px 1px shade(@titlebar_bg_color, 1.1); }
.titlebar .titlebutton.close:hover, .titlebar .titlebutton.maximize:hover, .titlebar .titlebutton.minimize:hover, .titlebar .titlebutton:not(separator):hover {
background-image: linear-gradient(to top left, @titlebar_bg_color, shade(@titlebar_bg_color, 0.85)); }
.titlebar .titlebutton:backdrop {
border-color: shade(@theme_bg_color, 0.8);
border-right-color: shade(@theme_bg_color, 1.02);
border-bottom-color: shade(@theme_bg_color, 1.02);
background-image: linear-gradient(to bottom right, shade(@theme_bg_color, 1.08), shade(@theme_bg_color, 0.95));
box-shadow: inset -1px -1px shade(@theme_bg_color, 0.8), inset 1px 1px shade(@theme_bg_color, 1.02); }
.titlebar .titlebutton:backdrop:hover {
background-image: linear-gradient(to top left, shade(@theme_bg_color, 1.08), shade(@theme_bg_color, 0.95)); }
color: transparent;
background-color: transparent;
-gtk-icon-shadow: none;
background-position: center center;
background-repeat: no-repeat; }
.titlebar .titlebutton.close {
background: url("assets/close-focused.png") no-repeat no-repeat; }
.titlebar .titlebutton.close:backdrop {
background: url("assets/close-unfocused.png") no-repeat no-repeat; }
.titlebar .titlebutton.maximize {
background: url("assets/maximize-focused.png") no-repeat no-repeat; }
.titlebar .titlebutton.maximize:backdrop {
background: url("assets/maximize-unfocused.png") no-repeat no-repeat; }
.titlebar .titlebutton.minimize {
background: url("assets/minimize-focused.png") no-repeat no-repeat; }
.titlebar .titlebutton.minimize:backdrop {
background: url("assets/minimize-unfocused.png") no-repeat no-repeat; }
.tiled .titlebar:not(headerbar), .tiled .titlebar:backdrop:not(headerbar), .maximized .titlebar:not(headerbar), .maximized .titlebar:backdrop:not(headerbar) {
border-radius: 0; }