Bug 24282: SCSS conversion broke style in search results item status

Before SCSS conversion, there was a style for search results item status :
  #searchresults span.status {
Conversion to SCSS added ul :
  #searchresults ul span.status {
Now style does not apply anymore.
You can see that items on loan are not red anymore.

To test, apply the patch and regenerate your CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).
Clear your browser cache if necessary.

All rules using #searchresults in 17.11 :
    font-size : 90%;
    list-style: url(../img/item-bullet.gif);
    padding : .2em 0;
        clear : left;
}

    clear : left;
    color : #900;
    display : block;
}

    clear : left;
    display : block;
}

    display : block;
}

    float : left;
    margin : 3px 5px 3px -5px;
}

    vertical-align : top;
}

Apply patch update intranet CSS file and check you see the same rules.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 1f1ad0ddf9)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Fridolin Somers 2019-12-20 08:40:37 +01:00 committed by Lucas Gass
parent 9a062f563d
commit e0635da039
1 changed files with 15 additions and 15 deletions

View File

@ -2332,24 +2332,24 @@ li {
margin: 3px 5px 3px -5px;
}
}
}
span {
&.status {
clear: left;
color: #900;
display: block;
}
&.unavailable {
clear: left;
display: block;
}
span {
&.status {
clear: left;
color: #900;
display: block;
}
table {
td {
vertical-align: top;
}
&.unavailable {
clear: left;
display: block;
}
}
table {
td {
vertical-align: top;
}
}