File tree Expand file tree Collapse file tree 2 files changed +23
-13
lines changed
project_styleguide/templates/patterns/molecules/streamfield/blocks
static_src/sass/components Expand file tree Collapse file tree 2 files changed +23
-13
lines changed Original file line number Diff line number Diff line change 33
44<!-- Sticky block -->
55< div class ="call-to-action__sticky ">
6- < div class ="call-to-action__stickyinner ">
6+ < div class ="call-to-action__inner ">
77 {% if value.get_button_link_block.block_type == "modal_iframe" %}
8- < button class ="call-to-action__button button " data-micromodal-trigger ="iframe-embed-modal ">
9- {{ value.sticky_text }}
8+ < button class ="call-to-action__stickybutton button " data-micromodal-trigger ="iframe-embed-modal ">
9+ < span class =" call-to-action__stickyheading " > {{ value.sticky_text }}</ span >
1010 {% if value.sticky_subtext %}
11- < br >
12- {{ value.sticky_subtext }}
11+ < br > < span class ="call-to-action__stickysubtext "> {{ value.sticky_subtext }}</ span >
1312 {% endif %}
1413 </ button >
1514 {% else %}
1615 < a href ="{{ value.get_button_link }} " class ="call-to-action__button button ">
17- {{ value.sticky_text }}
16+ < span class =" call-to-action__stickyheading " > {{ value.sticky_text }}</ span >
1817 {% if value.get_button_link_block.block_type == "document_link" %}
1918 ({{ value.get_button_file_size|filesizeformat }})
2019 {% endif %}
2120 {% if value.sticky_subtext %}
22- < br >
23- {{ value.sticky_subtext }}
21+ < br > < span class ="call-to-action__stickysubtext "> {{ value.sticky_subtext }}</ span >
2422 {% endif %}
2523 </ a >
2624 {% endif %}
Original file line number Diff line number Diff line change 5555 padding : $spacer-mini ;
5656 }
5757
58- & __stickyinner {
59- display : flex ;
60- align-items : flex-end ;
61- justify-content : space-between ;
62- gap : $spacer-mini ;
58+ & __stickybutton {
59+ @include font-size (' size-five' );
60+ color : var (--color--white );
61+ border : 1px solid var (--color--white );
62+ margin-top : 0 ;
63+
64+ & :focus {
65+ @include focus-style ($outline-color : var (--color--background ));
66+ }
67+ }
68+
69+ & __stickyheading {
70+ font-weight : $weight--semibold ;
6371 }
72+ & __stickysubtext {
73+ font-weight : $weight--extralight ;
74+ }
75+
6476}
You can’t perform that action at this time.
0 commit comments