mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 23:00:08 +00:00
Merge branch 'wip/jimmac/gridview-whitespace' into 'master'
Wip/jimmac/gridview whitespace Closes #3164 See merge request GNOME/gtk!2574
This commit is contained in:
commit
921f3a6e16
@ -132,6 +132,9 @@
|
||||
<property name="hscrollbar-policy">never</property>
|
||||
<child>
|
||||
<object class="GtkGridView" id="list">
|
||||
<style>
|
||||
<class name="content-view"/>
|
||||
</style>
|
||||
<signal name="activate" handler="item_activated"/>
|
||||
<property name="single-click-activate">1</property>
|
||||
<property name="model">
|
||||
|
@ -137,6 +137,11 @@ gridview {
|
||||
|
||||
@extend %selected_items;
|
||||
}
|
||||
|
||||
box { //cells
|
||||
border-spacing: 8px; //label separation
|
||||
margin: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -146,16 +151,6 @@ coverflow cover {
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.content-view .tile {
|
||||
margin: 2px;
|
||||
background-color: if($variant=='light', transparent, black);
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
|
||||
&:active, &:selected { background-color: if($variant=='light', transparent, $selected_bg_color); }
|
||||
&:disabled { background-color: if($variant=='light', transparent, $insensitive_bg_color); }
|
||||
}
|
||||
|
||||
label {
|
||||
@include focus-ring();
|
||||
|
||||
@ -3799,6 +3794,16 @@ colorchooser .popover.osd { border-radius: 5px; }
|
||||
|
||||
&:hover { -gtk-icon-filter: brightness(1.2); }
|
||||
|
||||
.tile {
|
||||
margin: 2px;
|
||||
background-color: if($variant=='light', transparent, black);
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
|
||||
&:active, &:selected { background-color: if($variant=='light', transparent, $selected_bg_color); }
|
||||
&:disabled { background-color: if($variant=='light', transparent, $insensitive_bg_color); }
|
||||
}
|
||||
|
||||
> rubberband { @extend rubberband; }
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user