ui: adapt color badges

This commit is contained in:
David Eckhard
2021-05-17 13:14:56 +02:00
committed by Mojib Wali
parent 3376040e78
commit 3c616bedd5
3 changed files with 16 additions and 3 deletions

View File

@@ -20,9 +20,12 @@ h2 {
margin-inline-end: 0px;
}
.ui.label.blue,
.record-version {
color: @greyDark;
color: @greyDark !important;
background-color: @recordVersionBackground !important;
border-color: @recordVersionBackground !important;
}
.random-records-frontpage article {

View File

@@ -26,3 +26,13 @@
.identifiers {
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;
}
}

View File

@@ -63,11 +63,11 @@
</span>
<!--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') }}
</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 %}
{{ r.ui.access_status.title_l10n }}
</span>