Slightly improved (personal opinion, of course) button aspect

This commit is contained in:
Eudaimon 2021-11-26 15:49:00 +01:00
parent e322d25dc1
commit 63081a2d90
2 changed files with 10 additions and 7 deletions

View File

@ -4,7 +4,7 @@
@define-color text_widget_bg #2d2c2c;
@define-color button_fg @text_widget_fg;
@define-color button_bg #4F6665;
@define-color button_bg #415446;
@define-color button_pushed_fg mix(@button_fg, @selected_fg, 0.5);
@define-color button_pushed_bg mix(@button_bg, @selected_bg, 0.5);

View File

@ -675,7 +675,7 @@ button, button.flat:hover, button.flat:focus {
-gtk-icon-shadow: 0 1px alpha(@text_shadow_color, 0.7), 0 -1px alpha(black, 0.3);*/
border-color: @border_color; /*shade(@theme_base_color_breeze, 0.4);*/
/*background: linear-gradient(to top, shade(@theme_bg_color_breeze, 1), shade(@theme_bg_color_breeze, 1.05));*/
background-image: linear-gradient(to bottom, alpha(@highlight_color,0.1), alpha(black,0.1));
background-image: linear-gradient(to bottom, alpha(@highlight_color,0.2), alpha(black,0.2));
/*box-shadow: inset 0px 1px 1px shade(@theme_bg_color_breeze, 1.15);*/
/*box-shadow: inset 0px 1px 1px alpha(@highlight_color, 0.5),
inset 0px -1px 1px alpha(black, 0.85),
@ -683,7 +683,8 @@ button, button.flat:hover, button.flat:focus {
box-shadow:
inset 0px 2px 3px 0 alpha(@highlight_color, 0.4),
inset 0px 1px 0px 0 alpha(@highlight_color, 0.8),
inset 0px -2px 2px 0px alpha(black, 0.85);
inset 0px -2px 2px 0px alpha(black, 0.4),
inset 0px -1px 1px 0px alpha(black, 0.5);
/*inset 0 0 0 1px black*/;
background-color: @button_bg_color;
}
@ -1418,6 +1419,7 @@ button {
button.image-button {
padding-left: 2px;
padding-right: 2px; }
calendar header button.image-button {
padding: 0;
}
@ -1434,17 +1436,17 @@ button {
button.font separator,
button.file separator {
background-color: transparent; }
background-color: @borders; }
button.font > box > box > label {
font-weight: bold; }
.inline-toolbar
/*.inline-toolbar
button, .inline-toolbar
button:backdrop {
border-radius: 5px;
border-width: 1px; }
border-width: 1px; }*/
.primary-toolbar
button {
@ -1681,6 +1683,7 @@ toolbar.inline-toolbar toolbutton:backdrop:only-child > button.flat, .linked:not
border-radius: 5px;
border-style: solid; }
/*
modelbutton.flat,
.menuitem.button.flat, modelbutton.flat:backdrop, modelbutton.flat:backdrop:hover,
.menuitem.button.flat:backdrop,
@ -1694,7 +1697,7 @@ button:visited:checked, calendar.button, .scale-popup button:hover, .scale-popup
border-color: transparent;
box-shadow: inset 0 1px alpha(white, 0), 0 1px alpha(white, 0);
text-shadow: none;
-gtk-icon-shadow: none; }
-gtk-icon-shadow: none; }*/
/* menu buttons */
modelbutton.flat,