From 6ba2049083762bb5b9529de9c1db98f17cbfd92d Mon Sep 17 00:00:00 2001 From: Jonathan S Berry Date: Thu, 19 Dec 2024 14:25:25 +0000 Subject: [PATCH 1/3] Don't fix masthead height --- ckanext/dms/assets/css/dms.css | 1 - 1 file changed, 1 deletion(-) diff --git a/ckanext/dms/assets/css/dms.css b/ckanext/dms/assets/css/dms.css index 8eba896..aed39a5 100644 --- a/ckanext/dms/assets/css/dms.css +++ b/ckanext/dms/assets/css/dms.css @@ -239,7 +239,6 @@ p.small { } .account-masthead { - height: 40px; background: #EDE8E8; } From 2cf48765e0c1336a9586cf10c8738c0dbf5011e1 Mon Sep 17 00:00:00 2001 From: Jonathan S Berry Date: Mon, 6 Jan 2025 13:54:23 +0000 Subject: [PATCH 2/3] Fix followee popover display --- ckanext/dms/assets/css/dms.css | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/ckanext/dms/assets/css/dms.css b/ckanext/dms/assets/css/dms.css index aed39a5..c2c2657 100644 --- a/ckanext/dms/assets/css/dms.css +++ b/ckanext/dms/assets/css/dms.css @@ -1110,3 +1110,34 @@ i.fa.icon.fa-file-pdf-o::before { margin-top: 26px; } } + +.popover-followee li.nav-item a, +.popover-followee li.active a, +.popover-followee li a { + margin: 0px; + font-size: 12px; +} + +.popover-followee li:hover{ + background-color: #fff; +} + +.popover-followee li a:hover{ + color: #187794 +} + +.popover-followee h3.popover-header{ + margin-top: 0px; +} + +.popover-followee .popover-header .input-group-text{ + display: none; +} + +.popover-followee .followee-container{ + overflow-x: hidden; +} + +.popover.fade{ + transition: none; +} From ce6c1795b65b29d242067e60198c25731c465f98 Mon Sep 17 00:00:00 2001 From: Jonathan S Berry Date: Mon, 6 Jan 2025 14:35:12 +0000 Subject: [PATCH 3/3] Cleanup activity stream responsiveness --- ckanext/dms/assets/css/dms-main.css | 14 ++++++++------ ckanext/dms/assets/css/dms.css | 25 +++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 6 deletions(-) diff --git a/ckanext/dms/assets/css/dms-main.css b/ckanext/dms/assets/css/dms-main.css index 26a79ea..b5223e8 100644 --- a/ckanext/dms/assets/css/dms-main.css +++ b/ckanext/dms/assets/css/dms-main.css @@ -10083,11 +10083,13 @@ h4 small { .activity { padding: 0; list-style-type: none; - background: transparent url('../../../base/images/dotted.png') 14px 0 repeat-y; + border-left: lightgrey dotted 1px; + margin-left: 25px; + background: none; } .activity .item { position: relative; - margin: 0 0 15px 0; + margin: 0 0 15px -25px; padding: 0; } .activity .item:before, @@ -10110,10 +10112,10 @@ h4 small { display: block; position: absolute; top: 0; - left: 0; - width: 30px; - height: 30px; - line-height: 30px; + left: 4px; + width: 40px; + height: 40px; + line-height: 40px; text-align: center; color: #ffffff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); diff --git a/ckanext/dms/assets/css/dms.css b/ckanext/dms/assets/css/dms.css index c2c2657..5dee854 100644 --- a/ckanext/dms/assets/css/dms.css +++ b/ckanext/dms/assets/css/dms.css @@ -1141,3 +1141,28 @@ i.fa.icon.fa-file-pdf-o::before { .popover.fade{ transition: none; } + +.activity .item span.fa-stack { + margin-right: 30px; +} + +@media (max-width: 540px) { + #followee-filter{ + width: 100%; + margin-bottom: 20px; + } + #followee-popover { + width: 100%; + } + .activity .item span.fa-stack{ + display: none; + } + .activity { + border-left: none; + } +} +@media (min-width: 541px) { + .activity .item .date { + margin: 5px 0 0 80px; + } +}