mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-22 20:51:58 +00:00
ui: adapt color badges
This commit is contained in:
committed by
Mojib Wali
parent
3376040e78
commit
3c616bedd5
@@ -20,9 +20,12 @@ h2 {
|
|||||||
margin-inline-end: 0px;
|
margin-inline-end: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.ui.label.blue,
|
||||||
.record-version {
|
.record-version {
|
||||||
color: @greyDark;
|
color: @greyDark !important;
|
||||||
background-color: @recordVersionBackground !important;
|
background-color: @recordVersionBackground !important;
|
||||||
|
border-color: @recordVersionBackground !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.random-records-frontpage article {
|
.random-records-frontpage article {
|
||||||
|
|||||||
@@ -26,3 +26,13 @@
|
|||||||
.identifiers {
|
.identifiers {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ui.items > .item .extra.labels-actions {
|
||||||
|
float: right;
|
||||||
|
width: auto;
|
||||||
|
|
||||||
|
// remove action buttons from search results
|
||||||
|
.ui.small.compact.right.floated.button {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -63,11 +63,11 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<!--Resource type badge-->
|
<!--Resource type badge-->
|
||||||
<span class="ui label teal" title="{{_('Resource type')}}">
|
<span class="ui label grey" title="{{_('Resource type')}}">
|
||||||
{{r.metadata.resource_type | cast_to_dict | vocabulary_title('resource_type') }}
|
{{r.metadata.resource_type | cast_to_dict | vocabulary_title('resource_type') }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="ui label small access-status {{ r.ui.access_status.id }}" data-tooltip="{{ r.ui.access_status.description_l10n }}" data-inverted="">
|
<span class="ui label access-status {{ r.ui.access_status.id }}" data-tooltip="{{ r.ui.access_status.description_l10n }}" data-inverted="">
|
||||||
{% if r.ui.access_status.icon %}<i class="icon {{ r.ui.access_status.icon }}"></i>{% endif %}
|
{% if r.ui.access_status.icon %}<i class="icon {{ r.ui.access_status.icon }}"></i>{% endif %}
|
||||||
{{ r.ui.access_status.title_l10n }}
|
{{ r.ui.access_status.title_l10n }}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user