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;
|
||||
}
|
||||
|
||||
|
||||
.ui.label.blue,
|
||||
.record-version {
|
||||
.ui.blue.labels .label,
|
||||
.ui.blue.label {
|
||||
color: @greyDark !important;
|
||||
background-color: @recordVersionBackground !important;
|
||||
border-color: @recordVersionBackground !important;
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
display: inline;
|
||||
}
|
||||
|
||||
// align badges to the right
|
||||
.ui.items > .item .extra.labels-actions {
|
||||
float: right;
|
||||
width: auto;
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
-->
|
||||
<div class="badges">
|
||||
<!--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 }}
|
||||
</span>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user