From 8007442f67a5f82c2278b236d11763a28b651d0b Mon Sep 17 00:00:00 2001 From: Art Date: Thu, 9 Jul 2020 19:18:24 +0200 Subject: [PATCH 1/4] Events page changes --- .../pages/_community-events-and-meetups.scss | 154 ++++++++++++++++-- 1 file changed, 144 insertions(+), 10 deletions(-) diff --git a/assets/sass/pages/_community-events-and-meetups.scss b/assets/sass/pages/_community-events-and-meetups.scss index c4ab46ae..ff794103 100644 --- a/assets/sass/pages/_community-events-and-meetups.scss +++ b/assets/sass/pages/_community-events-and-meetups.scss @@ -1,3 +1,105 @@ +body { + overflow-x: unset; + height: unset; +} + +.community-events-quick-links { + position: sticky; + top:116px; + z-index: 9; + + background-color: $c-gray-base-light; + + .contents-container { + padding-top: 130px; + } + .in-page-menus-container { + position: relative; + display: block; + + margin-top: 40px; + + .menus-wrap { + position: relative; + display: flex; + } + + .menu-item { + position: relative; + display: inline-block; + + flex: 1; + + background-color: $c-gray-mid-light; + border-right: 1px solid $c-gray-light; + + background-color: #0075a8; + + &:last-child { + border-right: 0; + } + + a { + position: relative; + display: block; + + color: #fff; + font-family: 'Poppins'; + font-size: 12px; + font-weight: 800; + text-transform: uppercase; + letter-spacing: .5px; + line-height: 50px; + text-align: center; + } + + &:hover, + &.active { + background-color: $c-blue; + + a { + color: #fff; + } + } + } + } + + @media (max-width: 575.98px) { + padding-top: 25px; + + .in-page-menus-container { + position: absolute; + + margin-top: 50px; + padding-right: $mobile-side-space; + padding-left: $mobile-side-space; + + .menus-wrap { + flex-wrap: wrap; + } + .menu-item { + flex: 0 0 50%; + + border-bottom: 1px solid $c-gray-base-light; + + &:last-child { + border-right: 1px solid $c-gray-light; + } + } + } + } + @media (min-width: 576px) and (max-width: 767.98px) { + } + @media (min-width: 768px) and (max-width: 991.98px) { + } + @media (min-width: 992px) and (max-width: 1199.98px) { + .lastest-container { + padding-right: $mobile-side-space; + padding-left: $mobile-side-space; + } + } +} + .community-events-and-meetups-screen1 { .set-ground { z-index: -1; @@ -23,8 +125,8 @@ .texts-wrap { z-index: 1; - margin-top: 130px; - margin-bottom: 130px; + margin-top: 30px; + margin-bottom: 30px; .title-label { margin-bottom: 20px; @@ -55,7 +157,7 @@ .title-label { margin-bottom: 14px; - + font-size: 2em; } @@ -100,7 +202,7 @@ .title-label { margin-bottom: 20px; - + font-size: 2em; } @@ -123,7 +225,7 @@ .title-label { margin-bottom: 20px; - + font-size: 2.4em; } @@ -147,7 +249,7 @@ .title-label { margin-bottom: 20px; - + font-size: 2.8em; } @@ -437,7 +539,7 @@ .community-events-and-meetups-screen3 { .texts-container { - padding-top: 150px; + padding-top: 50px; padding-bottom: 40px; text-align: center; @@ -459,8 +561,17 @@ .card-container { height: 100%; - margin-bottom: 30px; + + &.summit-event-card { + height: auto; + + .text-label { + font-size: 18px; + max-height: 100%; + -webkit-line-clamp: inherit; + } + } } .card-item { @@ -472,6 +583,15 @@ border-radius: 1em; + .thumbnail-image { + width: 100%; + } + + .text-subtitle { + color: #78c9cf; + margin-bottom: 10px; + } + .thumbnail-wrap { position: relative; display: inline-block; @@ -553,13 +673,21 @@ } } + .featured-event-card { + .card-item { + .text-label { + font-size: 18px; + } + } + } + @media (max-width: 575.98px) { .texts-container { padding-top: 50px; padding-right: 0; padding-left: 0; } - + .cards-container { padding-right: $mobile-side-space; padding-left: $mobile-side-space; @@ -1104,7 +1232,7 @@ background-position: left center; } - > img, + > img, .thumbnail { position: relative; display: inline-block; @@ -1512,6 +1640,12 @@ } } +.community-events-and-meetups-screen8 { + .contents-container { + padding-top: 150px; + } +} + .community-events-and-meetups-view { .set-ground { From da61d178b61f96117cde302c93f2b40f2ddb532f Mon Sep 17 00:00:00 2001 From: opassion <13392489+opassion@users.noreply.github.com> Date: Thu, 5 Nov 2020 15:03:59 +0000 Subject: [PATCH 2/4] Add event-item partial template --- layouts/partials/event-item.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 layouts/partials/event-item.html diff --git a/layouts/partials/event-item.html b/layouts/partials/event-item.html new file mode 100644 index 00000000..a331e90d --- /dev/null +++ b/layouts/partials/event-item.html @@ -0,0 +1,29 @@ +
+ +
+ {{ .title }} +
+
+
+
{{ .title }}
+
+

+ + {{ .dateText }} +

+
+
+ +
+
From b9e5baaf3796411f5d4e2397a560720692246b6e Mon Sep 17 00:00:00 2001 From: opassion <13392489+opassion@users.noreply.github.com> Date: Fri, 6 Nov 2020 08:49:36 +0000 Subject: [PATCH 3/4] Update subtitle style and add time field --- assets/sass/pages/_community-events-and-meetups.scss | 9 +++++++++ layouts/partials/event-item.html | 6 +++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/assets/sass/pages/_community-events-and-meetups.scss b/assets/sass/pages/_community-events-and-meetups.scss index 2ce8555e..4d6203c1 100644 --- a/assets/sass/pages/_community-events-and-meetups.scss +++ b/assets/sass/pages/_community-events-and-meetups.scss @@ -546,6 +546,11 @@ body { .title-label { color: $c-blue-dark1; + + &.title-sublabel { + color: $c-blue; + margin-bottom: 50px; + } } } @@ -553,6 +558,10 @@ body { padding-right: 0; padding-bottom: 150px; padding-left: 0; + + &.future-cards { + padding-bottom: 75px; + } } .cards-wrap { diff --git a/layouts/partials/event-item.html b/layouts/partials/event-item.html index a331e90d..a270b51d 100644 --- a/layouts/partials/event-item.html +++ b/layouts/partials/event-item.html @@ -1,7 +1,7 @@
- +
{{ .title }}
@@ -16,6 +16,10 @@ /> {{ .dateText }}

+

+ + {{ .timeText}} +