* Fixed minimal 16px.
parent
b29c83f1d3
commit
2816ed6eeb
|
@ -43,9 +43,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
%button {
|
%button {
|
||||||
min-height: 22px;
|
min-height: 16px;
|
||||||
min-width: 20px;
|
min-width: 16px;
|
||||||
padding: ($spacing - 3px) ($spacing + 1px);
|
padding: ($spacing + 1px) $spacing;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-radius: $roundness;
|
border-radius: $roundness;
|
||||||
|
@ -344,7 +344,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&.image-button {
|
&.image-button {
|
||||||
min-width: 24px;
|
min-width: 16px;
|
||||||
padding-left: $spacing;
|
padding-left: $spacing;
|
||||||
padding-right: $spacing;
|
padding-right: $spacing;
|
||||||
}
|
}
|
||||||
|
@ -374,7 +374,7 @@
|
||||||
|
|
||||||
@include exports("button") {
|
@include exports("button") {
|
||||||
%close_button {
|
%close_button {
|
||||||
min-height: 22px;
|
min-height: 16px;
|
||||||
min-width: 16px;
|
min-width: 16px;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
@ -417,8 +417,8 @@
|
||||||
&.circular,
|
&.circular,
|
||||||
&.circular-button { // FIXME: aggregate to buttons
|
&.circular-button { // FIXME: aggregate to buttons
|
||||||
padding: 0;
|
padding: 0;
|
||||||
min-width: 26px;
|
min-width: 28px;
|
||||||
min-height: 26px;
|
min-height: 28px;
|
||||||
border-radius: 9999px; // Fixed: https://github.com/GNOME/gtk/commit/a6409458f0d50d673a4dc370b9251993b7835b6b
|
border-radius: 9999px; // Fixed: https://github.com/GNOME/gtk/commit/a6409458f0d50d673a4dc370b9251993b7835b6b
|
||||||
-gtk-outline-radius: 9999px;
|
-gtk-outline-radius: 9999px;
|
||||||
|
|
||||||
|
@ -426,6 +426,33 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.path-bar button {
|
||||||
|
&.text-button, &.image-button, & {
|
||||||
|
padding-left: $spacing;
|
||||||
|
padding-right: $spacing;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.text-button.image-button label {
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.text-button.image-button, & {
|
||||||
|
label:last-child { padding-right: $spacing * 2; }
|
||||||
|
label:first-child { padding-left: $spacing * 2; }
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
padding-left: $spacing;
|
||||||
|
padding-right: $spacing;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.slider-button {
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
spinbutton {
|
spinbutton {
|
||||||
button {
|
button {
|
||||||
color: mix($text_color, $base_color, .4);
|
color: mix($text_color, $base_color, .4);
|
||||||
|
@ -537,7 +564,7 @@
|
||||||
|
|
||||||
box button, box entry {
|
box button, box entry {
|
||||||
@extend %linked_button;
|
@extend %linked_button;
|
||||||
padding: ($spacing - 3px) ($spacing + 1px);
|
padding: ($spacing + 1px) $spacing;
|
||||||
}
|
}
|
||||||
|
|
||||||
.linked:not(.vertical) > & > box > button.combo {
|
.linked:not(.vertical) > & > box > button.combo {
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
%entry {
|
%entry {
|
||||||
min-height: 22px;
|
min-height: 16px;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-radius: $roundness;
|
border-radius: $roundness;
|
||||||
|
@ -124,7 +124,7 @@
|
||||||
@include linear-gradient($bg, to top);
|
@include linear-gradient($bg, to top);
|
||||||
@include border($bg);
|
@include border($bg);
|
||||||
|
|
||||||
padding: ($spacing - 3px) ($spacing + 3px);
|
padding: ($spacing + 1px) ($spacing + 3px);
|
||||||
|
|
||||||
color: $fg;
|
color: $fg;
|
||||||
caret-color: $fg;
|
caret-color: $fg;
|
||||||
|
|
|
@ -287,7 +287,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
modelbutton {
|
modelbutton {
|
||||||
min-height: 24px;
|
min-height: 16px;
|
||||||
padding-left: ($spacing + 3px);
|
padding-left: ($spacing + 3px);
|
||||||
padding-right: ($spacing + 3px);
|
padding-right: ($spacing + 3px);
|
||||||
border: none;
|
border: none;
|
||||||
|
|
Loading…
Reference in New Issue