Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceliuice committed May 26, 2024
1 parent f8e6ff4 commit 7ecd0f6
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 65 deletions.
28 changes: 14 additions & 14 deletions src/_sass/gtk/_common-3.20.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2441,19 +2441,19 @@ scrollbar {
&:disabled { background-color: $track-disabled; }
}

&.horizontal slider { margin: 2px 0; }
&.horizontal slider { margin: if($window == 'round', $space-size, $space-size 0); }

&.vertical slider { margin: 0 2px; }
&.vertical slider { margin: if($window == 'round', $space-size, 0 $space-size); }

&.fine-tune {
slider {
min-width: 4px;
min-height: 4px;
min-width: $space-size;
min-height: $space-size;
}

&.horizontal slider { margin: 2px 0; }
&.horizontal slider { margin: if($window == 'round', $space-size / 2, $space-size / 2 0); }

&.vertical slider { margin: 0 2px; }
&.vertical slider { margin: if($window == 'round', $space-size / 2, 0 $space-size / 2); }
}

&.overlay-indicator {
Expand All @@ -2466,16 +2466,16 @@ scrollbar {
background-color: transparent;

slider {
min-width: 4px;
min-height: 4px;
margin: if($window == 'round', 0, $space-size / 2);
min-width: $space-size;
min-height: $space-size;
margin: $space-size / 2;
border: 1px solid rgba($base, 0.3);
}

button {
min-width: 4px;
min-height: 4px;
margin: 4px - 1px;
min-width: $space-size;
min-height: $space-size;
margin: $space-size / 2;
border: 1px solid rgba($base, 0.3);
border-radius: $circular-radius;
background-color: $text-disabled;
Expand All @@ -2488,13 +2488,13 @@ scrollbar {
&.horizontal {
slider { min-width: $_slider_min_length; }

button { min-width: 8px; }
button { min-width: $space-size; }
}

&.vertical {
slider { min-height: $_slider_min_length; }

button { min-height: 8px; }
button { min-height: $space-size; }
}
}

Expand Down
10 changes: 5 additions & 5 deletions src/gtk/3.0/gtk-Dark-compact.css
Original file line number Diff line number Diff line change
Expand Up @@ -2633,11 +2633,11 @@ scrollbar slider:disabled {
}

scrollbar.horizontal slider {
margin: 2px 0;
margin: 4px 0;
}

scrollbar.vertical slider {
margin: 0 2px;
margin: 0 4px;
}

scrollbar.fine-tune slider {
Expand Down Expand Up @@ -2672,7 +2672,7 @@ scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider {
scrollbar.overlay-indicator:not(.dragging):not(.hovering) button {
min-width: 4px;
min-height: 4px;
margin: 3px;
margin: 2px;
border: 1px solid rgba(43, 43, 43, 0.3);
border-radius: 9999px;
background-color: rgba(255, 255, 255, 0.5);
Expand All @@ -2689,15 +2689,15 @@ scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider {
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button {
min-width: 8px;
min-width: 4px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical slider {
min-height: 24px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button {
min-height: 8px;
min-height: 4px;
}

scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering {
Expand Down
24 changes: 12 additions & 12 deletions src/gtk/3.0/gtk-Dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -2633,24 +2633,24 @@ scrollbar slider:disabled {
}

scrollbar.horizontal slider {
margin: 2px 0;
margin: 6px 0;
}

scrollbar.vertical slider {
margin: 0 2px;
margin: 0 6px;
}

scrollbar.fine-tune slider {
min-width: 4px;
min-height: 4px;
min-width: 6px;
min-height: 6px;
}

scrollbar.fine-tune.horizontal slider {
margin: 2px 0;
margin: 3px 0;
}

scrollbar.fine-tune.vertical slider {
margin: 0 2px;
margin: 0 3px;
}

scrollbar.overlay-indicator:not(.fine-tune) slider {
Expand All @@ -2663,15 +2663,15 @@ scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider {
min-width: 4px;
min-height: 4px;
min-width: 6px;
min-height: 6px;
margin: 3px;
border: 1px solid rgba(43, 43, 43, 0.3);
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering) button {
min-width: 4px;
min-height: 4px;
min-width: 6px;
min-height: 6px;
margin: 3px;
border: 1px solid rgba(43, 43, 43, 0.3);
border-radius: 9999px;
Expand All @@ -2689,15 +2689,15 @@ scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider {
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button {
min-width: 8px;
min-width: 6px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical slider {
min-height: 24px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button {
min-height: 8px;
min-height: 6px;
}

scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering {
Expand Down
10 changes: 5 additions & 5 deletions src/gtk/3.0/gtk-Light-compact.css
Original file line number Diff line number Diff line change
Expand Up @@ -2633,11 +2633,11 @@ scrollbar slider:disabled {
}

scrollbar.horizontal slider {
margin: 2px 0;
margin: 4px 0;
}

scrollbar.vertical slider {
margin: 0 2px;
margin: 0 4px;
}

scrollbar.fine-tune slider {
Expand Down Expand Up @@ -2672,7 +2672,7 @@ scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider {
scrollbar.overlay-indicator:not(.dragging):not(.hovering) button {
min-width: 4px;
min-height: 4px;
margin: 3px;
margin: 2px;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 9999px;
background-color: rgba(0, 0, 0, 0.38);
Expand All @@ -2689,15 +2689,15 @@ scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider {
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button {
min-width: 8px;
min-width: 4px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical slider {
min-height: 24px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button {
min-height: 8px;
min-height: 4px;
}

scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering {
Expand Down
24 changes: 12 additions & 12 deletions src/gtk/3.0/gtk-Light.css
Original file line number Diff line number Diff line change
Expand Up @@ -2633,24 +2633,24 @@ scrollbar slider:disabled {
}

scrollbar.horizontal slider {
margin: 2px 0;
margin: 6px 0;
}

scrollbar.vertical slider {
margin: 0 2px;
margin: 0 6px;
}

scrollbar.fine-tune slider {
min-width: 4px;
min-height: 4px;
min-width: 6px;
min-height: 6px;
}

scrollbar.fine-tune.horizontal slider {
margin: 2px 0;
margin: 3px 0;
}

scrollbar.fine-tune.vertical slider {
margin: 0 2px;
margin: 0 3px;
}

scrollbar.overlay-indicator:not(.fine-tune) slider {
Expand All @@ -2663,15 +2663,15 @@ scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider {
min-width: 4px;
min-height: 4px;
min-width: 6px;
min-height: 6px;
margin: 3px;
border: 1px solid rgba(255, 255, 255, 0.3);
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering) button {
min-width: 4px;
min-height: 4px;
min-width: 6px;
min-height: 6px;
margin: 3px;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 9999px;
Expand All @@ -2689,15 +2689,15 @@ scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider {
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button {
min-width: 8px;
min-width: 6px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical slider {
min-height: 24px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button {
min-height: 8px;
min-height: 6px;
}

scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering {
Expand Down
10 changes: 5 additions & 5 deletions src/gtk/3.0/gtk-compact.css
Original file line number Diff line number Diff line change
Expand Up @@ -2634,11 +2634,11 @@ scrollbar slider:disabled {
}

scrollbar.horizontal slider {
margin: 2px 0;
margin: 4px 0;
}

scrollbar.vertical slider {
margin: 0 2px;
margin: 0 4px;
}

scrollbar.fine-tune slider {
Expand Down Expand Up @@ -2673,7 +2673,7 @@ scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider {
scrollbar.overlay-indicator:not(.dragging):not(.hovering) button {
min-width: 4px;
min-height: 4px;
margin: 3px;
margin: 2px;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 9999px;
background-color: rgba(0, 0, 0, 0.38);
Expand All @@ -2690,15 +2690,15 @@ scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider {
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button {
min-width: 8px;
min-width: 4px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical slider {
min-height: 24px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button {
min-height: 8px;
min-height: 4px;
}

scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering {
Expand Down
24 changes: 12 additions & 12 deletions src/gtk/3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -2634,24 +2634,24 @@ scrollbar slider:disabled {
}

scrollbar.horizontal slider {
margin: 2px 0;
margin: 6px 0;
}

scrollbar.vertical slider {
margin: 0 2px;
margin: 0 6px;
}

scrollbar.fine-tune slider {
min-width: 4px;
min-height: 4px;
min-width: 6px;
min-height: 6px;
}

scrollbar.fine-tune.horizontal slider {
margin: 2px 0;
margin: 3px 0;
}

scrollbar.fine-tune.vertical slider {
margin: 0 2px;
margin: 0 3px;
}

scrollbar.overlay-indicator:not(.fine-tune) slider {
Expand All @@ -2664,15 +2664,15 @@ scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider {
min-width: 4px;
min-height: 4px;
min-width: 6px;
min-height: 6px;
margin: 3px;
border: 1px solid rgba(255, 255, 255, 0.3);
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering) button {
min-width: 4px;
min-height: 4px;
min-width: 6px;
min-height: 6px;
margin: 3px;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 9999px;
Expand All @@ -2690,15 +2690,15 @@ scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider {
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button {
min-width: 8px;
min-width: 6px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical slider {
min-height: 24px;
}

scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button {
min-height: 8px;
min-height: 6px;
}

scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering {
Expand Down

0 comments on commit 7ecd0f6

Please sign in to comment.