Commit 9d26038a authored by Matthias Clasen's avatar Matthias Clasen
Browse files

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.
parent 6e6cbd73
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment