From a57cf381cac9ef0ae726b7aae329514b84f653a2 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Fri, 24 Apr 2020 16:30:56 +0000 Subject: [PATCH] [Library | Trunk]: library css changes git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/assets@58546 d315682c-612b-4755-9ff5-7f18f6832af3 --- library.css | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/library.css b/library.css index b9c6b31..873e31e 100644 --- a/library.css +++ b/library.css @@ -1200,19 +1200,30 @@ showTitle h2 { color: rgba(255, 255, 255, 0.8) !important; } -.portal-card-badge { +.badges { + position: absolute; + top: 0; + left: -3px; + padding-left: 0 !important; + width: 70px; +} + +.badges .portal-card-badge { background-color: var(--portal-main-color); color: #fff !important; - font-size: small; + font-size: 10px; border-radius: 3px; + padding: 2px 3px; + margin-bottom: 5px; } -.private-card-badge { - background-color: #000; +.badges .private-card-badge { + background-color: #A4A4A4; color: #fff !important; - font-size: small; + font-size: 10px; border-radius: 3px; + padding: 2px 3px; } .portal-icon-button, .portal-icon-button:hover {