forked from AuroraMiddleware/gtk
Adwaita: fix entry progressbar
it now moves using the whole entry lenght, in the process the style was tweaked to not need a special case for focused entries.
This commit is contained in:
parent
7c577ddf4f
commit
b23300c89d
@ -266,7 +266,7 @@ entry {
|
||||
selection:focus { @extend %selected_items; }
|
||||
|
||||
progress {
|
||||
margin: 1px;
|
||||
margin: 2px -6px;
|
||||
border-radius: 0;
|
||||
border-width: 0 0 2px;
|
||||
border-color: $selected_bg_color;
|
||||
@ -277,10 +277,6 @@ 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,
|
||||
|
@ -227,7 +227,7 @@ entry, spinbutton:not(.vertical) {
|
||||
background-image: linear-gradient(to bottom, #333636);
|
||||
box-shadow: none; }
|
||||
entry progress, spinbutton:not(.vertical) progress {
|
||||
margin: 1px;
|
||||
margin: 2px -6px;
|
||||
border-radius: 0;
|
||||
border-width: 0 0 2px;
|
||||
border-color: #215d9c;
|
||||
@ -237,8 +237,6 @@ entry, spinbutton:not(.vertical) {
|
||||
box-shadow: none; }
|
||||
entry progress:backdrop, spinbutton:not(.vertical) progress:backdrop {
|
||||
background-color: transparent; }
|
||||
entry:focus progress, spinbutton:focus:not(.vertical) progress {
|
||||
border-bottom-width: 3px; }
|
||||
.linked:not(.vertical) > entry:focus + entry, .linked:not(.vertical) > spinbutton:focus:not(.vertical) + entry, .linked:not(.vertical) > entry:focus + spinbutton:not(.vertical), .linked:not(.vertical) > spinbutton:focus:not(.vertical) + spinbutton:not(.vertical), .linked:not(.vertical) > entry:focus + button, .linked:not(.vertical) > spinbutton:focus:not(.vertical) + button, .linked:not(.vertical) > entry:focus + combobox > button.combo, .linked:not(.vertical) > spinbutton:focus:not(.vertical) + combobox > button.combo {
|
||||
border-left-color: #0f2b48; }
|
||||
entry.error, spinbutton.error:not(.vertical) {
|
||||
|
@ -227,7 +227,7 @@ entry, spinbutton:not(.vertical) {
|
||||
background-image: linear-gradient(to bottom, #f1f1f1);
|
||||
box-shadow: none; }
|
||||
entry progress, spinbutton:not(.vertical) progress {
|
||||
margin: 1px;
|
||||
margin: 2px -6px;
|
||||
border-radius: 0;
|
||||
border-width: 0 0 2px;
|
||||
border-color: #4a90d9;
|
||||
@ -237,8 +237,6 @@ entry, spinbutton:not(.vertical) {
|
||||
box-shadow: none; }
|
||||
entry progress:backdrop, spinbutton:not(.vertical) progress:backdrop {
|
||||
background-color: transparent; }
|
||||
entry:focus progress, spinbutton:focus:not(.vertical) progress {
|
||||
border-bottom-width: 3px; }
|
||||
.linked:not(.vertical) > entry:focus + entry, .linked:not(.vertical) > spinbutton:focus:not(.vertical) + entry, .linked:not(.vertical) > entry:focus + spinbutton:not(.vertical), .linked:not(.vertical) > spinbutton:focus:not(.vertical) + spinbutton:not(.vertical), .linked:not(.vertical) > entry:focus + button, .linked:not(.vertical) > spinbutton:focus:not(.vertical) + button, .linked:not(.vertical) > entry:focus + combobox > button.combo, .linked:not(.vertical) > spinbutton:focus:not(.vertical) + combobox > button.combo {
|
||||
border-left-color: #4a90d9; }
|
||||
entry.error, spinbutton.error:not(.vertical) {
|
||||
|
Loading…
Reference in New Issue
Block a user