File tree Expand file tree Collapse file tree 4 files changed +38
-32
lines changed Expand file tree Collapse file tree 4 files changed +38
-32
lines changed Original file line number Diff line number Diff line change 42
42
@include text_link ();
43
43
color : var (--yellow );
44
44
border-color : var (--yellow );
45
+
46
+ @include focus_accessible ();
45
47
}
46
48
47
49
.footer__copyright {
55
57
}
56
58
57
59
.footer__viewGithub {
58
- color : var (--offwhite );
59
- font-size : pxToRem (12 );
60
- display : block ;
60
+ @include hard_button_base ();
61
61
margin-bottom : pxToRem ($grid-unit * 2 );
62
-
63
- @include focus_accessible ($focus_box_shadow_color_alt );
64
62
}
Original file line number Diff line number Diff line change 167
167
}
168
168
169
169
.infoHighlight {
170
- border-radius : var (--border-radius-button );
170
+ border-radius : var (--border-radius-chip );
171
171
padding : pxToRem ($grid-unit / 4 ) pxToRem ($grid-unit * 2 );
172
172
color : var (--black );
173
173
background-color : var (--peach );
174
174
}
175
175
176
176
.actionButton {
177
- border-radius : var (--border-radius-button );
178
- border : pxToRem (2 ) solid var (--offwhite );
179
- text-transform : uppercase ;
180
- font-family : var (--font-family-main );
181
- font-size : pxToRem (18 );
182
- margin-left : auto ;
183
- margin-right : auto ;
184
- display : inline-block ;
185
- background-color : transparent ;
186
- padding : pxToRem ($grid-unit ) pxToRem ($grid-unit * 2 );
187
- color : var (--offwhite );
188
- text-decoration : none ;
189
- cursor : pointer ;
190
- transition : all 0.2s ease-in-out ;
191
- font-weight : var (--font-weight-bold );
192
- letter-spacing : var (--letter-spacing-display );
193
- margin-top : pxToRem ($grid-unit * 3 );
194
-
195
- @include focus_accessible ();
196
-
197
- & :hover {
198
- border-color : var (--yellow );
199
- color : var (--yellow );
200
- }
177
+ @include hard_button_base ();
201
178
}
Original file line number Diff line number Diff line change 30
30
31
31
--border-width-base : 1px ;
32
32
--border-radius-base : 2px ;
33
- --border-radius-button : 16px ;
33
+ --border-radius-chip : 16px ;
34
+ --border-radius-button : 0 ;
34
35
35
36
--border-width-button : 2px ;
36
37
Original file line number Diff line number Diff line change 41
41
border-style : solid ;
42
42
border-color : var (--black );
43
43
background-color : var (--white );
44
- border-radius : var (--border-radius-button );
44
+ border-radius : var (--border-radius-chip );
45
45
padding : pxToRem (4 ) pxToRem (8 );
46
46
cursor : pointer ;
47
47
font-weight : var (--font-weight-bold );
52
52
53
53
@include focus_accessible ();
54
54
}
55
+
56
+ @mixin hard_button_base (
57
+ $foregroundColor : var (--offwhite ),
58
+ $backgroundColor : var (--black )) {
59
+ border-radius : var (--border-radius-button );
60
+ border : pxToRem (2 ) solid $foregroundColor ;
61
+ text-transform : uppercase ;
62
+ font-family : var (--font-family-main );
63
+ font-size : pxToRem (18 );
64
+ margin-left : auto ;
65
+ margin-right : auto ;
66
+ display : inline-block ;
67
+ background-color : $backgroundColor ;
68
+ padding : pxToRem ($grid-unit ) pxToRem ($grid-unit * 2 );
69
+ color : $foregroundColor ;
70
+ text-decoration : none ;
71
+ cursor : pointer ;
72
+ transition : all 0.2s ease-in-out ;
73
+ font-weight : var (--font-weight-bold );
74
+ letter-spacing : var (--letter-spacing-display );
75
+ margin-top : pxToRem ($grid-unit * 3 );
76
+ box-shadow : 8px 8px 0 0 $foregroundColor ;
77
+
78
+ @include focus_accessible ();
79
+
80
+ & :hover {
81
+ border-color : var (--yellow );
82
+ color : var (--yellow );
83
+ }
84
+ }
You can’t perform that action at this time.
0 commit comments