forked from AuroraMiddleware/gtk
Adwaita: navigation-sidebar spacing
- split from placessidebar as it's more generic Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3138
This commit is contained in:
parent
d45aabb4ec
commit
962f76ddc9
@ -3389,35 +3389,16 @@ separator.sidebar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/****************
|
/**********************
|
||||||
* File chooser *
|
* Navigation Sidebar *
|
||||||
****************/
|
**********************/
|
||||||
$_placesidebar_icons_opacity: 0.7;
|
|
||||||
|
|
||||||
row image.sidebar-icon { opacity: $_placesidebar_icons_opacity; } // dim the sidebar icons
|
.navigation-sidebar {
|
||||||
// see bug #786613 for details
|
|
||||||
// on this oddity
|
|
||||||
|
|
||||||
/* this should be more generic, only using .navigation-sidebar
|
> row {
|
||||||
https://gitlab.gnome.org/GNOME/gtk/-/issues/2929
|
|
||||||
*/
|
|
||||||
placessidebar, .navigation-sidebar {
|
|
||||||
list {
|
|
||||||
padding: 4px 0;
|
|
||||||
|
|
||||||
> row {
|
|
||||||
margin: 1px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
> separator {
|
|
||||||
margin: 4px 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
row {
|
|
||||||
// Needs overriding of the GtkListBoxRow padding
|
// Needs overriding of the GtkListBoxRow padding
|
||||||
min-height: 36px;
|
min-height: 36px;
|
||||||
padding: 0px;
|
padding: 0px 8px;
|
||||||
|
|
||||||
// Using margins/padding directly in the SidebarRow
|
// Using margins/padding directly in the SidebarRow
|
||||||
// will make the animation of the new bookmark row jump
|
// will make the animation of the new bookmark row jump
|
||||||
@ -3444,6 +3425,27 @@ placessidebar, .navigation-sidebar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:disabled { color: $insensitive_fg_color; }
|
&:disabled { color: $insensitive_fg_color; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/****************
|
||||||
|
* File chooser *
|
||||||
|
****************/
|
||||||
|
|
||||||
|
$_placesidebar_icons_opacity: 0.7;
|
||||||
|
|
||||||
|
row image.sidebar-icon { opacity: $_placesidebar_icons_opacity; } // dim the sidebar icons
|
||||||
|
// see bug #786613 for details
|
||||||
|
// on this oddity
|
||||||
|
|
||||||
|
/* this should be more generic, only using .navigation-sidebar
|
||||||
|
https://gitlab.gnome.org/GNOME/gtk/-/issues/2929
|
||||||
|
*/
|
||||||
|
|
||||||
|
placessidebar {
|
||||||
|
row:not(:last-child) { //FIXME: specificty bump hack
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
image.sidebar-icon {
|
image.sidebar-icon {
|
||||||
&:dir(ltr) { padding-right: 8px; }
|
&:dir(ltr) { padding-right: 8px; }
|
||||||
@ -3798,6 +3800,7 @@ colorchooser .popover.osd { border-radius: 5px; }
|
|||||||
&:hover { -gtk-icon-filter: brightness(1.2); }
|
&:hover { -gtk-icon-filter: brightness(1.2); }
|
||||||
|
|
||||||
> rubberband { @extend rubberband; }
|
> rubberband { @extend rubberband; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.scale-popup {
|
.scale-popup {
|
||||||
|
Loading…
Reference in New Issue
Block a user