File tree Expand file tree Collapse file tree 6 files changed +60
-98
lines changed Expand file tree Collapse file tree 6 files changed +60
-98
lines changed Original file line number Diff line number Diff line change 11@import ' color' ;
22@import ' font' ;
33@import ' breakpoint' ;
4- @import ' wordpress-article' ;
4+ @import ' wordpress-article' ;
5+ @import ' transition' ;
6+ @import ' mixins' ;
Original file line number Diff line number Diff line change 1+ @mixin linkList {
2+ .c-footer-list {
3+ list-style : none ;
4+ padding-left : 14px ;
5+
6+ & __item {
7+ position : relative ;
8+ font-size : 0.87rem ;
9+ line-height : 18px ;
10+ margin-bottom : 1.4rem ;
11+ & :before {
12+ position : absolute ;
13+ top : 50% ;
14+ left : -20px ;
15+ content : ' ' ;
16+ display : block ;
17+ color : #fff ;
18+ width : 10px ;
19+ height : 1px ;
20+ background : $mid-gray-2 ;
21+ transition : $soease ;
22+ transform : scaleX (0 );
23+ transform-origin : left center ;
24+ }
25+ & :hover ::before {
26+ transform : scaleX (1 );
27+ transform-origin : right center ;
28+ }
29+ & :after {
30+ position : absolute ;
31+ top : 50% ;
32+ left : -20px ;
33+ content : ' ' ;
34+ display : block ;
35+ color : #fff ;
36+ width : 10px ;
37+ height : 1px ;
38+ background : $mid-gray-2 ;
39+ transition : $soease ;
40+ opacity : 0.5 ;
41+ }
42+ } // &__list-item
43+
44+ & __link {
45+ text-decoration : none ;
46+ color : $white ;
47+ transition : $soease ;
48+ & :hover {
49+ color : $mid-gray-2 ;
50+ }
51+ }
52+ } // c-footer-list
53+ }
Original file line number Diff line number Diff line change 1+ $soease : all 0.4s cubic-bezier (0.76 , 0 , 0.3 , 1 );
Original file line number Diff line number Diff line change @@ -239,37 +239,7 @@ if (process.client) {
239239} // c-footer-menu
240240
241241// メニューのリスト
242- .c-footer-list {
243- list-style : none ;
244- padding-left : 14px ;
245-
246- & __item {
247- position : relative ;
248- font-size : 0.87rem ;
249- line-height : 28px ;
250- margin-bottom : 0.5rem ;
251- & :before {
252- position : absolute ;
253- top : 50% ;
254- left : -12px ;
255- content : ' ' ;
256- display : block ;
257- color : #fff ;
258- width : 5px ;
259- height : 1px ;
260- background : $mid-gray-2 ;
261- }
262- } // &__list-item
263-
264- & __link {
265- text-decoration : none ;
266- color : $white ;
267- transition : all 0.3s ease ;
268- & :hover {
269- color : $mid-gray-2 ;
270- }
271- }
272- } // c-footer-list
242+ @include linkList ;
273243
274244.sns-link {
275245 margin : 16px 0 40px 0 ;
Original file line number Diff line number Diff line change @@ -28,37 +28,5 @@ query ($page: Int) {
2828</static-query >
2929
3030<style lang="scss" scoped>
31- // メニューのリスト
32- .c-footer-list {
33- list-style : none ;
34- padding-left : 14px ;
35-
36- & __item {
37- position : relative ;
38- font-size : 0.87rem ;
39- line-height : 18px ;
40- margin-bottom : 0.6rem ;
41- & :before {
42- position : absolute ;
43- top : 50% ;
44- left : -12px ;
45- content : ' ' ;
46- display : block ;
47- color : #fff ;
48- width : 5px ;
49- height : 1px ;
50- background : $mid-gray-2 ;
51- }
52- } // &__list-item
53-
54- & __link {
55- text-decoration : none ;
56- color : $white ;
57- transition : all 0.3s ease ;
58- & :hover {
59- color : $mid-gray-2 ;
60- }
61- }
62- } // c-footer-list
63-
31+ @include linkList ;
6432 </style >
Original file line number Diff line number Diff line change @@ -31,37 +31,5 @@ query ($page: Int) {
3131</static-query >
3232
3333<style lang="scss" scoped>
34- // メニューのリスト
35- .c-footer-list {
36- list-style : none ;
37- padding-left : 14px ;
38-
39- & __item {
40- position : relative ;
41- font-size : 0.87rem ;
42- line-height : 18px ;
43- margin-bottom : 0.6rem ;
44- & :before {
45- position : absolute ;
46- top : 50% ;
47- left : -12px ;
48- content : ' ' ;
49- display : block ;
50- color : #fff ;
51- width : 5px ;
52- height : 1px ;
53- background : $mid-gray-2 ;
54- }
55- } // &__list-item
56-
57- & __link {
58- text-decoration : none ;
59- color : $white ;
60- transition : all 0.3s ease ;
61- & :hover {
62- color : $mid-gray-2 ;
63- }
64- }
65- } // c-footer-list
66-
34+ @include linkList ;
6735 </style >
You can’t perform that action at this time.
0 commit comments