diff --git a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/overrides.less b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/overrides.less index 6a3c817..08e7513 100644 --- a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/overrides.less +++ b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/overrides.less @@ -123,32 +123,18 @@ pre { font-weight: 400; } -.ui.label.access-right { - float: right; - color: @accessRight; - background-color: white; - +// override access badges color +.ui.label.access-status { &.open { - color: @accessRightOpen; - background-color: white; - - } - - &.restricted { - color: @accessRightRestricted; - background-color: white; - + background-color: @accessRightOpen; } &.embargoed { - color: @accessRightEmbargoed; - background-color: white; - + background-color: @accessRightEmbargoed;; } - &.closed { - color: @accessRightClosed; - background-color: white; - + &.metadata-only { + background-color: @accessRightMetadata; } + } diff --git a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/variables.less b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/variables.less index ba4fe11..e61edc7 100644 --- a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/variables.less +++ b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/variables.less @@ -21,6 +21,7 @@ @accessRightRestricted: #fbbd08; @accessRightEmbargoed : #db2828; @accessRightClosed : #db2828; +@accessRightMetadata : #2185D0; // primary colors TU Graz @tugrazBlack: #231f20;