GTK3: reduce border-radius to button like widgets

This commit is contained in:
Daniel Ruiz de Alegría
2020-12-18 14:24:06 +01:00
parent b2a3a8f92f
commit 243df0df92
7 changed files with 155 additions and 150 deletions
@@ -270,7 +270,7 @@ notebook {
}
tab {
border-radius: $button_radius - 1px;
border-radius: $button_radius;
transition: $button_transition;
min-height: 24px;
@@ -401,7 +401,7 @@ placessidebar {
*********************/
decoration {
$_border_width: 1px;
border-radius: $window_radius+$_border_width $window_radius+$_border_width $button_radius $button_radius;
border-radius: $window_radius+$_border_width $window_radius+$_border_width $button_radius+$_border_width $button_radius+$_border_width;
border: $_border_width solid $base_color;
box-shadow: 0 2px 8px 0 transparentize(black, 0.6),
@@ -6,7 +6,7 @@ $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
$asset_suffix: if($variant=='dark', '-dark', '');
$backdrop_transition: 200ms ease-out;
$button_transition: all 200ms $ease-out-quad;
$button_radius: 5px;
$button_radius: 4px;
$menu_radius: 5px;
$window_radius: $button_radius + 3;
$popover_radius: $button_radius + 4;
@@ -1,3 +1,8 @@
9c9
< $button_radius: 5px;
---
> $button_radius: 4px;
15c15
< $_sizevariant: 'default'; //compact otherwise
---
@@ -7,18 +7,18 @@ RESET='\033[0m'
VERSION=3.24.23
echo
echo " $YELLOW[ i ]$RESET Upstream version $VERSION"
echo -e " $YELLOW[ i ]$RESET Upstream version $VERSION"
echo
while read file;
do
echo
echo " $GREEN[ * ]$RESET Downloading file $file"
echo -e " $GREEN[ * ]$RESET Downloading file $file"
wget https://gitlab.gnome.org/GNOME/gtk/raw/$VERSION/gtk/theme/Adwaita/$file --timestamping --quiet
if [ -f $file.patch ]
then
echo " $YELLOW[ ~ ]$RESET Apply patch"
echo -e " $YELLOW[ ~ ]$RESET Apply patch"
patch $file $file.patch --quiet
fi
done <<- EOF