forked from AuroraMiddleware/gtk
Adwaita: Keep entry progress visible
When the entry is focused, make the progress one pixel wider so it doesn't get swallowed by the focus outline.
This commit is contained in:
parent
6e6cbd7316
commit
9d26038a10
@ -274,6 +274,10 @@ entry {
|
||||
&:backdrop { background-color: transparent; }
|
||||
}
|
||||
|
||||
&:focus progress {
|
||||
border-bottom-width: 3px;
|
||||
}
|
||||
|
||||
.linked:not(.vertical) > & { @extend %linked; }
|
||||
.linked:not(.vertical) > &:focus + entry,
|
||||
.linked:not(.vertical) > &:focus + button,
|
||||
|
@ -220,6 +220,8 @@ entry, spinbutton {
|
||||
box-shadow: none; }
|
||||
entry progress:backdrop, spinbutton progress:backdrop {
|
||||
background-color: transparent; }
|
||||
entry:focus progress, spinbutton:focus progress {
|
||||
border-bottom-width: 3px; }
|
||||
.linked:not(.vertical) > entry:focus + entry, .linked:not(.vertical) > spinbutton:focus + entry, .linked:not(.vertical) > entry:focus + spinbutton, .linked:not(.vertical) > spinbutton:focus + spinbutton, .linked:not(.vertical) > entry:focus + button, .linked:not(.vertical) > spinbutton:focus + button, .linked:not(.vertical) > entry:focus + combobox > button.combo, .linked:not(.vertical) > spinbutton:focus + combobox > button.combo {
|
||||
border-left-color: #0f2b48; }
|
||||
entry.error, spinbutton.error {
|
||||
|
@ -220,6 +220,8 @@ entry, spinbutton {
|
||||
box-shadow: none; }
|
||||
entry progress:backdrop, spinbutton progress:backdrop {
|
||||
background-color: transparent; }
|
||||
entry:focus progress, spinbutton:focus progress {
|
||||
border-bottom-width: 3px; }
|
||||
.linked:not(.vertical) > entry:focus + entry, .linked:not(.vertical) > spinbutton:focus + entry, .linked:not(.vertical) > entry:focus + spinbutton, .linked:not(.vertical) > spinbutton:focus + spinbutton, .linked:not(.vertical) > entry:focus + button, .linked:not(.vertical) > spinbutton:focus + button, .linked:not(.vertical) > entry:focus + combobox > button.combo, .linked:not(.vertical) > spinbutton:focus + combobox > button.combo {
|
||||
border-left-color: #4a90d9; }
|
||||
entry.error, spinbutton.error {
|
||||
|
Loading…
Reference in New Issue
Block a user