Skip to content

Commit

Permalink
Fixed #411
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceliuice committed Apr 1, 2024
1 parent ad81e59 commit b4c6360
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 28 deletions.
9 changes: 5 additions & 4 deletions src/_sass/gtk/_common-4.0.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3306,14 +3306,15 @@ row {
background-size $ripple-fade-out-duration $ease-out,
background-image $ripple-fade-out-opacity-duration $ease-out;
outline: none;
box-shadow: inset 0 0 0 9999px transparent;
box-shadow: none;
background-color: transparent;
background-image: radial-gradient(circle farthest-corner at center, transparent 30%, transparent 0%);
background-repeat: no-repeat;
background-position: center;
background-size: 1000% 1000%;

&:focus {
box-shadow: inset 0 0 0 9999px $overlay-focus;
background-color: $overlay-focus;
color: $text;
}

Expand All @@ -3322,7 +3323,7 @@ row {
box-shadow 0ms,
background-size $ripple-fade-out-duration $ease-out,
background-image $ripple-fade-out-opacity-duration $ease-out;
box-shadow: inset 0 0 0 9999px $overlay-hover;
background-color: $overlay-hover;
color: $text;
}

Expand All @@ -3332,7 +3333,7 @@ row {
background-size 0ms,
background-image 0ms;
animation: ripple $ripple-fade-in-duration $ease-out forwards;
box-shadow: inset 0 0 0 9999px $overlay-hover;
background-color: $overlay-hover;
background-image: radial-gradient(circle farthest-corner at center, $overlay-active 30%, transparent 0%);
background-size: 100% 100%;
color: $text;
Expand Down
9 changes: 5 additions & 4 deletions src/gtk/4.0/gtk-Compact.css
Original file line number Diff line number Diff line change
Expand Up @@ -3785,7 +3785,8 @@ treeview.view > header > button, row.activatable {
color: rgba(0, 0, 0, 0.6);
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 1200ms cubic-bezier(0, 0, 0.2, 1);
outline: none;
box-shadow: inset 0 0 0 9999px transparent;
box-shadow: none;
background-color: transparent;
background-image: radial-gradient(circle farthest-corner at center, transparent 30%, transparent 0%);
background-repeat: no-repeat;
background-position: center;
Expand All @@ -3794,14 +3795,14 @@ treeview.view > header > button, row.activatable {

columnview.view > header > button:focus,
treeview.view > header > button:focus, row.activatable:focus {
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
color: rgba(0, 0, 0, 0.87);
}

columnview.view > header > button:hover,
treeview.view > header > button:hover, row.activatable:hover {
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), box-shadow 0ms, background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 1200ms cubic-bezier(0, 0, 0.2, 1);
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
color: rgba(0, 0, 0, 0.87);
}

Expand All @@ -3810,7 +3811,7 @@ treeview.view > header > button.has-open-popup, columnview.view > header > butto
treeview.view > header > button:active, row.activatable.has-open-popup, row.activatable:active {
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), background-size 0ms, background-image 0ms;
animation: ripple 225ms cubic-bezier(0, 0, 0.2, 1) forwards;
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0.12) 30%, transparent 0%);
background-size: 100% 100%;
color: rgba(0, 0, 0, 0.87);
Expand Down
9 changes: 5 additions & 4 deletions src/gtk/4.0/gtk-Dark-Compact.css
Original file line number Diff line number Diff line change
Expand Up @@ -3704,7 +3704,8 @@ treeview.view > header > button, row.activatable {
color: rgba(255, 255, 255, 0.7);
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 1200ms cubic-bezier(0, 0, 0.2, 1);
outline: none;
box-shadow: inset 0 0 0 9999px transparent;
box-shadow: none;
background-color: transparent;
background-image: radial-gradient(circle farthest-corner at center, transparent 30%, transparent 0%);
background-repeat: no-repeat;
background-position: center;
Expand All @@ -3713,14 +3714,14 @@ treeview.view > header > button, row.activatable {

columnview.view > header > button:focus,
treeview.view > header > button:focus, row.activatable:focus {
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
color: white;
}

columnview.view > header > button:hover,
treeview.view > header > button:hover, row.activatable:hover {
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), box-shadow 0ms, background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 1200ms cubic-bezier(0, 0, 0.2, 1);
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
color: white;
}

Expand All @@ -3729,7 +3730,7 @@ treeview.view > header > button.has-open-popup, columnview.view > header > butto
treeview.view > header > button:active, row.activatable.has-open-popup, row.activatable:active {
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), background-size 0ms, background-image 0ms;
animation: ripple 225ms cubic-bezier(0, 0, 0.2, 1) forwards;
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0.12) 30%, transparent 0%);
background-size: 100% 100%;
color: white;
Expand Down
9 changes: 5 additions & 4 deletions src/gtk/4.0/gtk-Dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -3704,7 +3704,8 @@ treeview.view > header > button, row.activatable {
color: rgba(255, 255, 255, 0.7);
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 1200ms cubic-bezier(0, 0, 0.2, 1);
outline: none;
box-shadow: inset 0 0 0 9999px transparent;
box-shadow: none;
background-color: transparent;
background-image: radial-gradient(circle farthest-corner at center, transparent 30%, transparent 0%);
background-repeat: no-repeat;
background-position: center;
Expand All @@ -3713,14 +3714,14 @@ treeview.view > header > button, row.activatable {

columnview.view > header > button:focus,
treeview.view > header > button:focus, row.activatable:focus {
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
color: white;
}

columnview.view > header > button:hover,
treeview.view > header > button:hover, row.activatable:hover {
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), box-shadow 0ms, background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 1200ms cubic-bezier(0, 0, 0.2, 1);
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
color: white;
}

Expand All @@ -3729,7 +3730,7 @@ treeview.view > header > button.has-open-popup, columnview.view > header > butto
treeview.view > header > button:active, row.activatable.has-open-popup, row.activatable:active {
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), background-size 0ms, background-image 0ms;
animation: ripple 225ms cubic-bezier(0, 0, 0.2, 1) forwards;
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0.12) 30%, transparent 0%);
background-size: 100% 100%;
color: white;
Expand Down
9 changes: 5 additions & 4 deletions src/gtk/4.0/gtk-Light-Compact.css
Original file line number Diff line number Diff line change
Expand Up @@ -3697,7 +3697,8 @@ treeview.view > header > button, row.activatable {
color: rgba(0, 0, 0, 0.6);
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 1200ms cubic-bezier(0, 0, 0.2, 1);
outline: none;
box-shadow: inset 0 0 0 9999px transparent;
box-shadow: none;
background-color: transparent;
background-image: radial-gradient(circle farthest-corner at center, transparent 30%, transparent 0%);
background-repeat: no-repeat;
background-position: center;
Expand All @@ -3706,14 +3707,14 @@ treeview.view > header > button, row.activatable {

columnview.view > header > button:focus,
treeview.view > header > button:focus, row.activatable:focus {
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
color: rgba(0, 0, 0, 0.87);
}

columnview.view > header > button:hover,
treeview.view > header > button:hover, row.activatable:hover {
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), box-shadow 0ms, background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 1200ms cubic-bezier(0, 0, 0.2, 1);
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
color: rgba(0, 0, 0, 0.87);
}

Expand All @@ -3722,7 +3723,7 @@ treeview.view > header > button.has-open-popup, columnview.view > header > butto
treeview.view > header > button:active, row.activatable.has-open-popup, row.activatable:active {
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), background-size 0ms, background-image 0ms;
animation: ripple 225ms cubic-bezier(0, 0, 0.2, 1) forwards;
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0.12) 30%, transparent 0%);
background-size: 100% 100%;
color: rgba(0, 0, 0, 0.87);
Expand Down
9 changes: 5 additions & 4 deletions src/gtk/4.0/gtk-Light.css
Original file line number Diff line number Diff line change
Expand Up @@ -3697,7 +3697,8 @@ treeview.view > header > button, row.activatable {
color: rgba(0, 0, 0, 0.6);
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 1200ms cubic-bezier(0, 0, 0.2, 1);
outline: none;
box-shadow: inset 0 0 0 9999px transparent;
box-shadow: none;
background-color: transparent;
background-image: radial-gradient(circle farthest-corner at center, transparent 30%, transparent 0%);
background-repeat: no-repeat;
background-position: center;
Expand All @@ -3706,14 +3707,14 @@ treeview.view > header > button, row.activatable {

columnview.view > header > button:focus,
treeview.view > header > button:focus, row.activatable:focus {
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
color: rgba(0, 0, 0, 0.87);
}

columnview.view > header > button:hover,
treeview.view > header > button:hover, row.activatable:hover {
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), box-shadow 0ms, background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 1200ms cubic-bezier(0, 0, 0.2, 1);
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
color: rgba(0, 0, 0, 0.87);
}

Expand All @@ -3722,7 +3723,7 @@ treeview.view > header > button.has-open-popup, columnview.view > header > butto
treeview.view > header > button:active, row.activatable.has-open-popup, row.activatable:active {
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), background-size 0ms, background-image 0ms;
animation: ripple 225ms cubic-bezier(0, 0, 0.2, 1) forwards;
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0.12) 30%, transparent 0%);
background-size: 100% 100%;
color: rgba(0, 0, 0, 0.87);
Expand Down
9 changes: 5 additions & 4 deletions src/gtk/4.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -3785,7 +3785,8 @@ treeview.view > header > button, row.activatable {
color: rgba(0, 0, 0, 0.6);
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 1200ms cubic-bezier(0, 0, 0.2, 1);
outline: none;
box-shadow: inset 0 0 0 9999px transparent;
box-shadow: none;
background-color: transparent;
background-image: radial-gradient(circle farthest-corner at center, transparent 30%, transparent 0%);
background-repeat: no-repeat;
background-position: center;
Expand All @@ -3794,14 +3795,14 @@ treeview.view > header > button, row.activatable {

columnview.view > header > button:focus,
treeview.view > header > button:focus, row.activatable:focus {
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
color: rgba(0, 0, 0, 0.87);
}

columnview.view > header > button:hover,
treeview.view > header > button:hover, row.activatable:hover {
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), box-shadow 0ms, background-size 300ms cubic-bezier(0, 0, 0.2, 1), background-image 1200ms cubic-bezier(0, 0, 0.2, 1);
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
color: rgba(0, 0, 0, 0.87);
}

Expand All @@ -3810,7 +3811,7 @@ treeview.view > header > button.has-open-popup, columnview.view > header > butto
treeview.view > header > button:active, row.activatable.has-open-popup, row.activatable:active {
transition: all 75ms cubic-bezier(0, 0, 0.2, 1), background-size 0ms, background-image 0ms;
animation: ripple 225ms cubic-bezier(0, 0, 0.2, 1) forwards;
box-shadow: inset 0 0 0 9999px alpha(currentColor, 0.08);
background-color: alpha(currentColor, 0.08);
background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0.12) 30%, transparent 0%);
background-size: 100% 100%;
color: rgba(0, 0, 0, 0.87);
Expand Down

0 comments on commit b4c6360

Please sign in to comment.