gtk4 improvements

This commit is contained in:
Eudaimon 2021-11-06 11:40:18 +01:00
parent a5aded4f7c
commit b327cb9db5

View file

@ -2399,7 +2399,7 @@ background: linear-gradient(to top, @theme_header_bg, shade(@theme_header_bg, 1.
.selection-mode.titlebar:not(headerbar) .selection-menu:backdrop arrow, .selection-mode.titlebar:not(headerbar) .selection-menu arrow,
headerbar.selection-mode .selection-menu:backdrop arrow,
headerbar.selection-mode .selection-menu arrow {
-GtkArrow-arrow-scaling: 1; }
/*-GtkArrow-arrow-scaling: 1;*/ }
.selection-mode.titlebar:not(headerbar) .selection-menu:backdrop .arrow, .selection-mode.titlebar:not(headerbar) .selection-menu .arrow,
headerbar.selection-mode .selection-menu:backdrop .arrow,
headerbar.selection-mode .selection-menu .arrow {
@ -2761,7 +2761,7 @@ treeview.view header button, treeview.view header button:hover, treeview.view he
*********/
menubar,
.menubar {
-GtkWidget-window-dragging: true;
/*-GtkWidget-window-dragging: true;*/
padding: 0px;
box-shadow: inset 0 -1px alpha(black, 0.1); }
menubar:backdrop,
@ -3147,9 +3147,9 @@ border: 1px solid @borders;
min-width: 1em;
min-height: 1em;
}
* {
/* * {
-GtkScrollbar-has-backward-stepper: true;
-GtkScrollbar-has-forward-stepper: true; }
-GtkScrollbar-has-forward-stepper: true; }*/
/*scrollbar.top {
border-bottom: 1px solid @borders; }
scrollbar.bottom {
@ -3345,7 +3345,7 @@ switch {
outline-offset: -16px;
outline-style: solid;
outline-width: 4px;
-gtk-outline-radius: 100%; }
/*-gtk-outline-radius: 100%;*/ }
/*switch:backdrop slider {
transition: 80ms ease-out;
box-shadow: 0 1px 2px alpha(black, 0.4), inset 0 0 0 1px alpha(white, 0.3); }
@ -3705,10 +3705,10 @@ progressbar.horizontal trough, scale.horizontal trough, levelbar.horizontal trou
scale.fine-tune highlight,
scale.fine-tune trough {
border-radius: 5px;
-gtk-outline-radius: 7px; }
/*-gtk-outline-radius: 7px;*/ }
scale trough {
outline-offset: 2px;
-gtk-outline-radius: 5px;
/*-gtk-outline-radius: 5px;*/
padding: 0px; }
/* scale fill:backdrop, scale fill {
background-color: @borders; }*/
@ -4187,7 +4187,7 @@ scrolledwindow viewport.frame {
overshoot.top {
background-image: radial-gradient(to bottom, alpha(@theme_selected_bg_color_breeze, 0.8) 0%, alpha(@theme_selected_bg_color_breeze, 0.5) 50%, alpha(@theme_selected_bg_color_breeze, 0) 100%);
background-image: radial-gradient(farthest-side at top, alpha(@theme_selected_bg_color_breeze, 0.8) 0%, alpha(@theme_selected_bg_color_breeze, 0.5) 50%, alpha(@theme_selected_bg_color_breeze, 0) 100%);
background-size: 100% 1em;
background-repeat: no-repeat;
background-position: center top;
@ -4197,7 +4197,7 @@ overshoot.top {
}
overshoot.bottom {
background-image: radial-gradient(to top, alpha(@theme_selected_bg_color_breeze, 0.8) 0%, alpha(@theme_selected_bg_color_breeze, 0.5) 50%, alpha(@theme_selected_bg_color_breeze, 0) 100%);
background-image: radial-gradient(farthest-side at bottom, alpha(@theme_selected_bg_color_breeze, 0.8) 0%, alpha(@theme_selected_bg_color_breeze, 0.5) 50%, alpha(@theme_selected_bg_color_breeze, 0) 100%);
background-size: 100% 1em;
background-repeat: no-repeat;
background-position: center bottom;
@ -4207,7 +4207,7 @@ overshoot.bottom {
}
overshoot.left {
background-image: radial-gradient(to right, alpha(@theme_selected_bg_color_breeze, 0.8) 0%, alpha(@theme_selected_bg_color_breeze, 0.5) 50%, alpha(@theme_selected_bg_color_breeze, 0) 100%);
background-image: radial-gradient(farthest-side at left, alpha(@theme_selected_bg_color_breeze, 0.8) 0%, alpha(@theme_selected_bg_color_breeze, 0.5) 50%, alpha(@theme_selected_bg_color_breeze, 0) 100%);
background-size: 1em 100%;
background-repeat: no-repeat;
background-position: center left;
@ -4217,7 +4217,7 @@ overshoot.left {
}
overshoot.right {
background-image: radial-gradient(to left, alpha(@theme_selected_bg_color_breeze, 0.8) 0%, alpha(@theme_selected_bg_color_breeze, 0.5) 50%, alpha(@theme_selected_bg_color_breeze, 0) 100%);
background-image: radial-gradient(farthest-side at right, alpha(@theme_selected_bg_color_breeze, 0.8) 0%, alpha(@theme_selected_bg_color_breeze, 0.5) 50%, alpha(@theme_selected_bg_color_breeze, 0) 100%);
background-size: 1em 100%;
background-repeat: no-repeat;
background-position: center right;
@ -4535,10 +4535,10 @@ messagedialog.csd .dialog-action-area button {
messagedialog.csd .dialog-action-area button:first-child {
border-left-style: none;
border-bottom-left-radius: 2px;
-gtk-outline-bottom-left-radius: 1px; }
/*-gtk-outline-bottom-left-radius: 1px;*/ }
messagedialog.csd .dialog-action-area button:last-child {
border-bottom-right-radius: 2px;
-gtk-outline-bottom-right-radius: 1px; }
/*-gtk-outline-bottom-right-radius: 1px;*/ }
filechooser .dialog-action-box {
border-top: 1px solid @borders; }
@ -4620,7 +4620,7 @@ placessidebar row {
margin-bottom: 3px;
padding: 0;
border-radius: 100%;
-gtk-outline-radius: 100%; }
/*-gtk-outline-radius: 100%;*/ }
button.sidebar-button:not(:hover):not(:active) > image, button.sidebar-button:backdrop > image {
opacity: 0.7; }
placessidebar row:selected:active {