Global Elements
2
Footer Header Services Strip Services Tabs
Components
36
Card Carousel Cards Grid Content Overlap Content Strip Cta Bar Featured Article Featured Blocks Featured Expert Featured Pods Featured Tabs Form Block Full Screen Carousel Full Width Content Heading Strip Hero Hero Featured Links List Location Tabs Logo Carousel Map Block People Grid Quote Block Reviews Carousel Reviews Tabs Service Tiles Services Strip Services Tabs Staggered Content Sticky Accordion Sticky List Sub Navigation Team Carousel Team Filters Team Strip Tile Carousel Tile Grid

Content Overlap

Equality, Diversity and Inclusion Committee (EDI)

At B P Collins we have an Equality, Diversity and Inclusion Committee (EDI), whose purpose is to strengthen EDI at the firm, to expand everyone’s awareness of the benefits of EDI and to understand how we all perceive the state of EDI at the firm presently.

IMG-20240627-WA0013
Field
Field Type
Field Name
Instructions
Block Data
tab
Column Order
radio
column_order
Column Alignment
radio
column_alignment
Heading Type
select
heading_type
Heading Text
text
heading_text
Copy
wysiwyg
copy
Buttons
repeater
buttons_list
-- Button
link
button
Featured Image
image
featured_image
Featured Video
url
featured_video
Disable Overlap
true_false
disable_overlap
Block Meta
tab
ID
text
block_id
Block Classes
text
block_classes
Block Theme
select
block_theme
Background Colors
select
background_colors
Padding Top
select
padding_top
Padding Bottom
select
padding_bottom
Margin Top
select
margin_top
Margin Bottom
select
margin_bottom

				
@import "../../resources/scss/util/colours";
@import "../../resources/scss/util/variables";
@import "../../resources/scss/util/mixins";

.block-content-overlap {
	padding-top: 0;
	padding-bottom: 0;

	@include bp($sm) {
		padding-top: rem-calc(60);
		padding-bottom: rem-calc(60);
	}

	.heading {
		@include fluid-type(28, 34);
	}

	&__content {
		background-color: $white;
		position: relative;
		z-index: 2;
		padding: rem-calc(20);

		@include bp($lg) {
			padding: rem-calc(60);

			.block-content-overlap--disable & {
				padding: 0;
			}
		}

		.align-items-start & {
			@include bp($lg) {
				margin-top: rem-calc(-60);
			}
		}

		.align-items-end & {
			@include bp($lg) {
				margin-bottom: rem-calc(-60);
			}
		}
	}

	.align-items-start {
		@include bp($lg) {
			margin-top: rem-calc(60);
		}
	}

	.align-items-end {
		@include bp($lg) {
			margin-bottom: rem-calc(60);
		}
	}

	&__copy {
		p {
			&:last-of-type {
				margin-bottom: 0;
			}
		}
	}

	&__buttons {
		margin-top: rem-calc(30);
	}

	&__image {
		display: block;

		img {
			width: 100%;
		}
	}

	&__video {
		position: relative;

		&:hover {
			img {
				transform: scale(1.3);
			}
		}

		picture {
			overflow: hidden;
			position: relative;

			&:after {
				content: '';
				position: absolute;
				top: 0;
				left: 0;
				right: 0;
				bottom: 0;
				background-color: rgba($darkBlue, 0.5);
			}
		}

		img {
			transition: transform 4s ease-out;
			transform: scale(1.05);
		}

		&:hover {
			img {
				transform: scale(1.3);
			}

			&:after {
				background-color: $lightBlue;
			}
		}

		&:after {
			content: '';
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translateY(-50%) translateX(-50%);
			width: rem-calc(72);
			height: rem-calc(72);
			background-color: $white;
			border-radius: 50%;
			background-image: url('#{$asset-path}/icons/icon-play.svg');
			background-size: 25%;
			background-repeat: no-repeat;
			background-position: center;
			transition: all 0.3s ease-out;
		}
	}

	&__image-column {
		@include bp($lg) {
			margin-left: calc(2 / 12 * -100%);

			.block-content-overlap--disable & {
				margin-left: 0;
			}
		}
	}

	&__content-column {
		.flex-row-reverse & {
			@include bp($lg) {
				margin-left: calc(2 / 12 * -100%);

				.block-content-overlap--disable & {
					margin-left: 0;
				}
			}
		}
	}
}
There are is no JavaScript file with this component.

Animation / States

  • As the user scrolls to this component the items will be lazyloaded fade in one by one
  • As the user scrolls there will be a slight parallax effect with the copy and image/video scrolling slowly in different directions
  • If a video is added, once clicked it will open up and play in a modal. If the modal is closed the video will then stop playing

External Libraries

  • Lity
  • ScrollTrigger (GSAP)

Notes (Design / Dev / SEO)

No notes.