Skip to content

Commit e3d19a3

Browse files
authored
fix: event listing page styles (#157)
* fix: APPS-3340 adjust spacing and color of event listing page header * fix: APPS-3182 change Film Format in filter dropdown to Screening Format * fix: APPS-3190 adjust font size of title in blockCardThreeColumn * fix: APPS-3192 adjust spacing between category pills in blockCardThreeColumn * fix: APPS-3188 adjust spacing between date, image, and meta in blockCardThreeColumn * fix: APPS-3199 change divider between events to be solid * fix: APPS-3344 wrap blockCardThreeColumn pills and adjust row and column gaps * fix: APPS-3184 adjust widths of the Done and Clear buttons in the filter dropdowns to match * fix: APPS-3345 adjust padding around event list section to match design * fix: remove blank lines * fix: put updated styles in appropriate media queries
1 parent d127662 commit e3d19a3

File tree

2 files changed

+77
-3
lines changed

2 files changed

+77
-3
lines changed

composables/useIndexAggregator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export async function useIndexAggregator() {
2323
size: 100
2424
}
2525
},
26-
'Film Format': {
26+
'Screening Format': {
2727
terms: {
2828
field: 'ftvaScreeningFormatFilters.title.keyword',
2929
size: 100

pages/events/index.vue

Lines changed: 76 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ function transformEsResponseToFilterGroups(aggregations: Aggregations): FilterGr
360360
let searchField
361361
if (key === 'Event Type') {
362362
searchField = 'ftvaEventTypeFilters.title.keyword'
363-
} else if (key === 'Film Format') {
363+
} else if (key === 'Screening Format') {
364364
searchField = 'ftvaScreeningFormatFilters.title.keyword'
365365
}
366366
@@ -521,6 +521,7 @@ const parseFirstEventMonth = computed(() => {
521521
:section-title="heading.titleGeneral"
522522
/>
523523
<SectionWrapper
524+
class="main"
524525
ref="el"
525526
theme="paleblue"
526527
>
@@ -642,10 +643,18 @@ const parseFirstEventMonth = computed(() => {
642643
align-items: center;
643644
text-align: center;
644645
max-width: 787px;
646+
padding-top: var(--space-2xl);
647+
padding-bottom: 0;
645648
}
646649
647650
.header :deep(.section-title) {
648-
color: var(--heading-grey);
651+
color: $heading-grey;
652+
line-height: 1;
653+
margin-bottom: var(--space-l);
654+
}
655+
656+
.main {
657+
padding-top: var(--space-xl);
649658
}
650659
651660
.full-width {
@@ -734,6 +743,24 @@ const parseFirstEventMonth = computed(() => {
734743
}
735744
}
736745
746+
.date-filter :deep(.vue-date-picker .action-row button),
747+
.filters-dropdown :deep(.action-row button) {
748+
padding: 10px 18px;
749+
line-height: 15px;
750+
751+
>.label {
752+
font-family: var(--font-secondary);
753+
font-size: 15px;
754+
line-height: 15px;
755+
text-transform: capitalize;
756+
}
757+
758+
.svg__icon-close {
759+
height: 20px;
760+
width: 20px;
761+
}
762+
}
763+
737764
.remove-filters {
738765
margin-top: 0;
739766
margin-bottom: 0;
@@ -763,6 +790,12 @@ const parseFirstEventMonth = computed(() => {
763790
letter-spacing: 0.8px;
764791
}
765792
793+
:deep(.block-card-three-column .meta .floating-slot) {
794+
flex-wrap: wrap;
795+
column-gap: 10px;
796+
row-gap: 8px;
797+
}
798+
766799
:deep(.base-calendar) {
767800
max-width: 1000px;
768801
padding-top: 32px;
@@ -779,6 +812,37 @@ const parseFirstEventMonth = computed(() => {
779812
padding: 2.5%;
780813
}
781814
815+
@media(min-width: 1025px) {
816+
:deep(.section-teaser-list) {
817+
padding: var(--space-xl);
818+
}
819+
820+
:deep(.section-teaser-list .list-item) {
821+
border-bottom: 1px solid $page-blue;
822+
823+
&:last-child {
824+
border-bottom: 0;
825+
}
826+
}
827+
828+
:deep(.block-card-three-column) {
829+
gap: 45px;
830+
}
831+
832+
:deep(.block-card-three-column .day-month-date) {
833+
flex: 0.7;
834+
}
835+
836+
:deep(.block-card-three-column .card-meta) {
837+
padding: 0;
838+
}
839+
840+
:deep(.block-card-three-column .meta .title) {
841+
font-size: 30px;
842+
line-height: 32px;
843+
}
844+
}
845+
782846
@media(max-width: 1200px) {
783847
.base-calendar {
784848
max-width: 900px;
@@ -800,6 +864,7 @@ const parseFirstEventMonth = computed(() => {
800864
top: 65px;
801865
z-index: 1000;
802866
background-color: var(--pale-blue);
867+
padding: 20px;
803868
}
804869
}
805870
@@ -822,6 +887,15 @@ const parseFirstEventMonth = computed(() => {
822887
}
823888
}
824889
}
890+
891+
:deep(.block-card-three-column .image-block),
892+
:deep(.block-card-three-column .image-block .image) {
893+
aspect-ratio: 1.69 / 1;
894+
}
895+
896+
:deep(.block-card-three-column .meta .title) {
897+
font-size: 26px;
898+
}
825899
}
826900
827901
@media #{$small} {

0 commit comments

Comments
 (0)