File tree Expand file tree Collapse file tree 2 files changed +23
-30
lines changed
project_styleguide/templates/patterns/molecules/streamfield/blocks
static_src/sass/components Expand file tree Collapse file tree 2 files changed +23
-30
lines changed Original file line number Diff line number Diff line change 11{% load wagtailcore_tags %}
22
3- < a href ="{% pageurl value.page %} " class ="contact-cta__button button styled-page-link --{{ value.style }} ">
3+ < a href ="{% pageurl value.page %} " class ="button styled-page-links__button styled-page-links__button --{{ value.style }} ">
44 {% if value.title %}
55 {{ value.title }}
66 {% else %}
Original file line number Diff line number Diff line change 44 display : flex ;
55 flex-wrap : wrap ;
66 gap : $spacer-mini ;
7- margin-bottom : $spacer-small ;
87
9- @include media-query (large ) {
10- margin-bottom : $spacer-medium ;
11- }
12- }
8+ & __button {
9+ & --theme-coral {
10+ & :focus ,
11+ & :hover {
12+ background-color : var (--color--coral );
13+ color : var (--color--white );
14+ }
15+ }
1316
14- // Style variations for the contact-cta__button button
15- .styled-page-link--charity {
16- & :hover ,
17- & :focus {
18- background-color : $color--coral ;
19- color : var (--color--background );
20- border-color : $color--coral ;
21- }
22- }
23-
24- .styled-page-link--public {
25- & :hover ,
26- & :focus {
27- background-color : $color--nebuline ;
28- color : var (--color--background );
29- border-color : $color--nebuline ;
30- }
31- }
17+ & --theme-nebuline {
18+ & :focus ,
19+ & :hover {
20+ background-color : var (--color--nebuline );
21+ color : var (--color--white );
22+ }
23+ }
3224
33- .styled-page-link--wagtail {
34- & :hover ,
35- & :focus {
36- background-color : $color--lagoon ;
37- color : var (--color--background );
38- border-color : $color--lagoon ;
25+ & --theme-lagoon {
26+ & :focus ,
27+ & :hover {
28+ background-color : var (--color--lagoon );
29+ color : var (--color--white );
30+ }
31+ }
3932 }
4033}
You can’t perform that action at this time.
0 commit comments