mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-22 20:51:58 +00:00
refactor: use correct class for badge on index page. css rewrite/comment
This commit is contained in:
committed by
Mojib Wali
parent
3c616bedd5
commit
3423caaa70
@@ -20,9 +20,8 @@ h2 {
|
|||||||
margin-inline-end: 0px;
|
margin-inline-end: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ui.blue.labels .label,
|
||||||
.ui.label.blue,
|
.ui.blue.label {
|
||||||
.record-version {
|
|
||||||
color: @greyDark !important;
|
color: @greyDark !important;
|
||||||
background-color: @recordVersionBackground !important;
|
background-color: @recordVersionBackground !important;
|
||||||
border-color: @recordVersionBackground !important;
|
border-color: @recordVersionBackground !important;
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// align badges to the right
|
||||||
.ui.items > .item .extra.labels-actions {
|
.ui.items > .item .extra.labels-actions {
|
||||||
float: right;
|
float: right;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
-->
|
-->
|
||||||
<div class="badges">
|
<div class="badges">
|
||||||
<!--Publication date/Version badge-->
|
<!--Publication date/Version badge-->
|
||||||
<span class="ui label record-version" title="{{_('Publication date')}}">
|
<span class="ui label blue" title="{{_('Publication date')}}">
|
||||||
{{ r.metadata.publication_date }} {{ '(' ~ r.metadata.version ~ ')' if r.metadata.version }}
|
{{ r.metadata.publication_date }} {{ '(' ~ r.metadata.version ~ ')' if r.metadata.version }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user