From 99f61af20353f6a9a4fc31e60372151bfd5f71cb Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Thu, 28 Apr 2022 12:10:40 +0300 Subject: [PATCH] [common-assets | new-theme]: Updates for redesign of landing pages. 1. landing-utils.css: a. Updated min-height of landing-section to 60vh and do not apply on landing-section-height-auto (summary tab) b. Added .separator-in-tab (not for small screens) c. Added .card-tab | Added css for .landing .uk-progress (currently not working). 2. utils.css: Uncommented .iframeContainer and .iframeContainer iframe. 3. common/argos_entities.svg: [NEW] Added for DMPs tab in project landing page. --- common/argos_entities.svg | 7 +++++++ library-css/landing-utils.css | 38 ++++++++++++++++++++++++++++++++--- library-css/utils.css | 17 ++++++++-------- 3 files changed, 50 insertions(+), 12 deletions(-) create mode 100644 common/argos_entities.svg diff --git a/common/argos_entities.svg b/common/argos_entities.svg new file mode 100644 index 0000000..12bb06e --- /dev/null +++ b/common/argos_entities.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/library-css/landing-utils.css b/library-css/landing-utils.css index 4ca3f7f..0b502c6 100644 --- a/library-css/landing-utils.css +++ b/library-css/landing-utils.css @@ -414,8 +414,8 @@ background: rgba(var(--landing-default-color-rgb), 0.80); } } -.landing-section{ - min-height: 70vh; +.landing-section:not(.landing-section-height-auto){ + min-height: 60vh; } #landing-sections .landing-section:not(:last-child):before{ @@ -450,4 +450,36 @@ .landing-left-sidebar-width { width: 150px; } -} \ No newline at end of file +} + +@media (min-width:960px) { + .separator-in-tab { + border-left: 1px solid var(--landing-muted-color); + } +} + +.card-tab { + border-radius: 6px; + border-left: 5px var(--landing-section-separator-color) solid; +} + +/* Progress */ +.landing .uk-progress { + height: 16px; + background-color: transparent; +} + +/*firefox*/ +.landing .uk-progress::-moz-progress-bar { + background-color: greenyellow; +} + +/*chrome*/ +.landing .uk-progress::-webkit-progress-value { + background-color: var(--secondary-color); +} + +/*internet explore & edge*/ +.landing .uk-progress::-ms-fill { + background-color: var(--secondary-color); +} diff --git a/library-css/utils.css b/library-css/utils.css index e9ff097..62f7582 100644 --- a/library-css/utils.css +++ b/library-css/utils.css @@ -88,16 +88,15 @@ -webkit-line-clamp: 10; } -/*.iframeContainer {*/ -/* overflow: hidden;*/ +.iframeContainer { + overflow: hidden; +} -/*}*/ - -/*.iframeContainer iframe {*/ -/* width: 100%;*/ -/* height: 100%;*/ -/* border: 0;*/ -/*}*/ +.iframeContainer iframe { + width: 100%; + height: 100%; + border: 0; +} .clipboard-wrapper { background: var(--light-color);