forked from AuroraMiddleware/gtk
Adwaita: rubberbands!
Darken the rubberband a bit to make it visible on the selected color background, fix treeview rubberband border issue.
This commit is contained in:
parent
350d555893
commit
56a3fd888a
@ -120,8 +120,8 @@ $asset_suffix: if($variant=='dark', '-dark', '');
|
||||
}
|
||||
|
||||
.rubberband {
|
||||
border: 1px solid $selected_bg_color;
|
||||
background-color: transparentize($selected_bg_color,0.8);
|
||||
border: 1px solid darken($selected_bg_color, 10%);
|
||||
background-color: transparentize(darken($selected_bg_color, 10%), 0.8);
|
||||
}
|
||||
|
||||
.label {
|
||||
@ -1304,6 +1304,8 @@ GtkTreeView.view {
|
||||
border-left-color: mix($fg_color, $base_color, 50%); // this is actually the tree lines color,
|
||||
border-top-color: $bg_color; // while this is the grid lines color, better then nothing
|
||||
|
||||
&.rubberband { @extend .rubberband; } // to avoid borders being overridden by the previously set props
|
||||
|
||||
&:selected { border-radius: 0; } // rest border radius in lists
|
||||
|
||||
&:selected, &:backdrop:selected {
|
||||
|
@ -73,9 +73,9 @@
|
||||
.view:selected, GtkCalendar:selected {
|
||||
border-radius: 3px; }
|
||||
|
||||
.rubberband {
|
||||
border: 1px solid #215d9c;
|
||||
background-color: rgba(33, 93, 156, 0.2); }
|
||||
.rubberband, GtkTreeView.view.rubberband {
|
||||
border: 1px solid #184472;
|
||||
background-color: rgba(24, 68, 114, 0.2); }
|
||||
|
||||
.label.separator {
|
||||
color: #eeeeec; }
|
||||
|
@ -73,9 +73,9 @@
|
||||
.view:selected, GtkCalendar:selected {
|
||||
border-radius: 3px; }
|
||||
|
||||
.rubberband {
|
||||
border: 1px solid #4a90d9;
|
||||
background-color: rgba(74, 144, 217, 0.2); }
|
||||
.rubberband, GtkTreeView.view.rubberband {
|
||||
border: 1px solid #2a76c6;
|
||||
background-color: rgba(42, 118, 198, 0.2); }
|
||||
|
||||
.label.separator {
|
||||
color: #2e3436; }
|
||||
|
Loading…
Reference in New Issue
Block a user