Adwaita: use margins for entry image spacing

there used to be a padding, since it was the only option in the
past, that makes little sense now, hence use margins.
This commit is contained in:
Lapo Calamandrei 2016-07-24 19:11:27 +02:00
parent bc070a70a5
commit bab906f838
3 changed files with 6 additions and 10 deletions

View File

@ -254,8 +254,8 @@ entry {
@include entry(normal);
image { // icons inside the entry
&.left { padding-left: 0; padding-right: 6px; }
&.right { padding-left: 6px; padding-right: 0; }
&.left { margin-right: 6px; }
&.right { margin-left: 6px; }
}
undershoot {

View File

@ -171,12 +171,10 @@ entry {
box-shadow: inset 0 0 0 1px rgba(33, 93, 156, 0); }
spinbutton:not(.vertical) image.left,
entry image.left {
padding-left: 0;
padding-right: 6px; }
margin-right: 6px; }
spinbutton:not(.vertical) image.right,
entry image.right {
padding-left: 6px;
padding-right: 0; }
margin-left: 6px; }
spinbutton:not(.vertical) undershoot.left,
entry undershoot.left {
background-color: transparent;

View File

@ -171,12 +171,10 @@ entry {
box-shadow: inset 0 0 0 1px rgba(74, 144, 217, 0); }
spinbutton:not(.vertical) image.left,
entry image.left {
padding-left: 0;
padding-right: 6px; }
margin-right: 6px; }
spinbutton:not(.vertical) image.right,
entry image.right {
padding-left: 6px;
padding-right: 0; }
margin-left: 6px; }
spinbutton:not(.vertical) undershoot.left,
entry undershoot.left {
background-color: transparent;