forked from AuroraMiddleware/gtk
Adwaita: places sidebar sizing with min-height...
...more to come.
This commit is contained in:
parent
7c799bbc65
commit
d3a153a45e
@ -2875,7 +2875,6 @@ scrolledwindow {
|
||||
}
|
||||
// This is used when content is touch-dragged past boundaries.
|
||||
// draws a box on top of the content, the size changes programmatically.
|
||||
|
||||
overshoot {
|
||||
&.top {
|
||||
@include overshoot(top);
|
||||
@ -3296,11 +3295,12 @@ placessidebar {
|
||||
row {
|
||||
// Needs overriding of the GtkListBoxRow padding
|
||||
padding: 0px;
|
||||
min-height: 36px;
|
||||
|
||||
// Using margins/padding directly in the SidebarRow
|
||||
// will make the animation of the new bookmark row jump
|
||||
> revealer {
|
||||
padding: 6px 14px 6px 12px;
|
||||
padding: 0 14px;
|
||||
}
|
||||
|
||||
& image.sidebar-icon {
|
||||
@ -3316,7 +3316,8 @@ placessidebar {
|
||||
}
|
||||
|
||||
@at-root button.sidebar-button {
|
||||
padding: 5px;
|
||||
margin-top: 1px;
|
||||
margin-bottom: 1px;
|
||||
@extend button.flat;
|
||||
border-radius: 100%;
|
||||
-gtk-outline-radius: 100%;
|
||||
|
@ -3779,9 +3779,10 @@ stacksidebar row {
|
||||
* File chooser *
|
||||
****************/
|
||||
placessidebar row {
|
||||
padding: 0px; }
|
||||
padding: 0px;
|
||||
min-height: 36px; }
|
||||
placessidebar row > revealer {
|
||||
padding: 6px 14px 6px 12px; }
|
||||
padding: 0 14px; }
|
||||
placessidebar row image.sidebar-icon {
|
||||
opacity: 0.7; }
|
||||
placessidebar row image.sidebar-icon:dir(ltr) {
|
||||
@ -3793,7 +3794,8 @@ placessidebar row {
|
||||
placessidebar row label.sidebar-label:dir(rtl) {
|
||||
padding-left: 2px; }
|
||||
button.sidebar-button {
|
||||
padding: 5px;
|
||||
margin-top: 1px;
|
||||
margin-bottom: 1px;
|
||||
border-radius: 100%;
|
||||
-gtk-outline-radius: 100%; }
|
||||
button.sidebar-button:not(:hover):not(:active) > image, button.sidebar-button:backdrop > image {
|
||||
|
@ -3818,9 +3818,10 @@ stacksidebar row {
|
||||
* File chooser *
|
||||
****************/
|
||||
placessidebar row {
|
||||
padding: 0px; }
|
||||
padding: 0px;
|
||||
min-height: 36px; }
|
||||
placessidebar row > revealer {
|
||||
padding: 6px 14px 6px 12px; }
|
||||
padding: 0 14px; }
|
||||
placessidebar row image.sidebar-icon {
|
||||
opacity: 0.7; }
|
||||
placessidebar row image.sidebar-icon:dir(ltr) {
|
||||
@ -3832,7 +3833,8 @@ placessidebar row {
|
||||
placessidebar row label.sidebar-label:dir(rtl) {
|
||||
padding-left: 2px; }
|
||||
button.sidebar-button {
|
||||
padding: 5px;
|
||||
margin-top: 1px;
|
||||
margin-bottom: 1px;
|
||||
border-radius: 100%;
|
||||
-gtk-outline-radius: 100%; }
|
||||
button.sidebar-button:not(:hover):not(:active) > image, button.sidebar-button:backdrop > image {
|
||||
|
Loading…
Reference in New Issue
Block a user