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

Sticky List

We service all of the surrounding counties from our Buckinghamshire, Oxfordshire and London offices, including many of the major towns

Field
Field Type
Field Name
Instructions
Block Data
tab
Heading Type
select
heading_type
Heading Text
text
heading_text
Copy
wysiwyg
copy
Buttons
repeater
buttons_list
-- Button
link
button
Links
repeater
links
-- Link
link
link
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-sticky-list {
	padding-top: rem-calc(80);
	padding-bottom: rem-calc(80);

	&__content {
		position: relative;
		top: auto;

		@include bp($lg) {
			position: sticky;
			top: rem-calc(200);
		}
	}

	&__copy {
		margin-top: rem-calc(24);
	}

	&__list {
		margin-top: rem-calc(20);

		@include bp($lg) {
			margin-top: rem-calc(-22);
		}
	}

	&__list-link {
		display: block;
		border-bottom: 1px solid $lightBlue;
		padding: rem-calc(22 0);
		text-decoration: none;
		color: $darkBlue;
		@include fluid-type(18, 20);
		transition: all 0.3s ease-out;
		position: relative;

		@include bp($lg) {
			padding: rem-calc(35 0);
		}

		&:last-of-type {
			border-bottom: none;
		}

		&:after {
			content: '';
			position: absolute;
			top: rem-calc(19);
			right: 0;
			width: rem-calc(32);
			height: rem-calc(32);
			border-radius: 50%;
			border: 1px solid $darkBlue;
			background-image: url('#{$asset-path}/icons/icon-full-arrow-right-navy.svg');
			background-repeat: no-repeat;
			background-position: center;
			transition: all 0.3s ease-out;

			@include bp($lg) {
				top: rem-calc(35);
			}
		}

		&:hover {
			font-weight: 700;
			border-bottom: 2px solid $darkBlue;

			&:after {
				background-color: $darkBlue;
				background-image: url('#{$asset-path}/icons/icon-full-arrow-right-white.svg');
			}
		}
	}
}
There are is no JavaScript file with this component.
Page Title
Page Type
Page URL

Animation / States

  • As the user scrolls to this component the copy and each link will fade in one by one
  • As the user scrolls down the page, the copy on the left hand side will remain "sticky" and will be in view until the bottom of the component is reached

External Libraries

  • ScrollTrigger (GSAP)

Notes (Design / Dev / SEO)

No notes.