forked from AuroraMiddleware/gtk
Adwaita: Horizontal OSD spinbutton entry fix
Add placeholder to hande horizontal spinbutton entries, add instructions for horizontal OSD spinbutton entry to use this placeholder.
This commit is contained in:
parent
02758cd48d
commit
aa14b187e0
@ -1142,7 +1142,7 @@ spinbutton {
|
||||
|
||||
padding: 0;
|
||||
|
||||
entry {
|
||||
%spinbutton_horz_entry {
|
||||
min-width: 28px;
|
||||
// reset all the other props since the spinbutton node is styled here
|
||||
margin: 0;
|
||||
@ -1155,6 +1155,10 @@ spinbutton {
|
||||
&:backdrop:disabled { background-color: transparent; }
|
||||
}
|
||||
|
||||
entry {
|
||||
@extend %spinbutton_horz_entry;
|
||||
}
|
||||
|
||||
button {
|
||||
min-height: 16px;
|
||||
margin: 0;
|
||||
@ -1207,6 +1211,10 @@ spinbutton {
|
||||
|
||||
// OSD horizontal
|
||||
.osd &:not(.vertical) {
|
||||
entry {
|
||||
@extend %spinbutton_horz_entry;
|
||||
}
|
||||
|
||||
button {
|
||||
@include button(undecorated);
|
||||
|
||||
|
@ -499,7 +499,7 @@ button:link > label, button:visited > label { text-decoration-line: underline; }
|
||||
/***************** GtkSpinButton * */
|
||||
spinbutton:not(.vertical) { padding: 0; }
|
||||
|
||||
spinbutton:not(.vertical) entry { min-width: 28px; margin: 0; background: none; background-color: transparent; border: none; border-radius: 0; box-shadow: none; }
|
||||
spinbutton:not(.vertical) entry, .osd spinbutton:not(.vertical) entry { min-width: 28px; margin: 0; background: none; background-color: transparent; border: none; border-radius: 0; box-shadow: none; }
|
||||
|
||||
spinbutton:not(.vertical) entry:backdrop:disabled { background-color: transparent; }
|
||||
|
||||
|
@ -507,7 +507,7 @@ button:link > label, button:visited > label { text-decoration-line: underline; }
|
||||
/***************** GtkSpinButton * */
|
||||
spinbutton:not(.vertical) { padding: 0; }
|
||||
|
||||
spinbutton:not(.vertical) entry { min-width: 28px; margin: 0; background: none; background-color: transparent; border: none; border-radius: 0; box-shadow: none; }
|
||||
spinbutton:not(.vertical) entry, .osd spinbutton:not(.vertical) entry { min-width: 28px; margin: 0; background: none; background-color: transparent; border: none; border-radius: 0; box-shadow: none; }
|
||||
|
||||
spinbutton:not(.vertical) entry:backdrop:disabled { background-color: transparent; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user