Skip to content

Commit 66eece7

Browse files
committed
style(components): remove nesting, add indentation
1 parent 3c95ac2 commit 66eece7

File tree

2 files changed

+51
-55
lines changed

2 files changed

+51
-55
lines changed

src/components/Footer/Footer.scss

+50-55
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ footer {
5252
}
5353

5454
.icon {
55+
width: 42px;
56+
height: 42px;
5557
transition: transform 250ms ease-in-out;
5658

5759
&:hover {
@@ -67,11 +69,6 @@ footer {
6769
fill: $gold-yellow-70 !important;
6870
}
6971

70-
.icon {
71-
width: 42px;
72-
height: 42px;
73-
}
74-
7572
#copy-link {
7673
display: none;
7774
}
@@ -82,11 +79,19 @@ footer {
8279
@include mq-small {
8380
margin-bottom: $space-lv-2-mobile;
8481
}
85-
}
8682

87-
.contribute-icon-container {
88-
display: flex;
89-
align-items: center;
83+
.contribute-icon-container {
84+
display: flex;
85+
align-items: center;
86+
}
87+
88+
.contribute-text {
89+
margin-left: $space-half-desktop;
90+
color: $gold-yellow-80;
91+
position: relative;
92+
cursor: pointer;
93+
transition: transform 250ms ease-in-out;
94+
}
9095
}
9196

9297
.contribute-icon-container:hover .contribute-text {
@@ -101,13 +106,6 @@ footer {
101106
fill: $gold-yellow-70 !important;
102107
}
103108

104-
.contribute-text {
105-
margin-left: $space-half-desktop;
106-
color: $gold-yellow-80;
107-
position: relative;
108-
cursor: pointer;
109-
transition: transform 250ms ease-in-out;
110-
}
111109

112110
.translation-link {
113111
display: block;
@@ -129,58 +127,55 @@ footer {
129127
.donate-image {
130128
width: 150px;
131129
height: 42px;
132-
}
133-
134-
.donate-image {
135130
transition: transform 100ms ease-in-out;
136131

137132
&:hover {
138133
transform: translateY(-4px);
139134
}
140135
}
136+
}
141137

142-
.contact-container {
143-
margin-bottom: $space-lv-2-desktop;
138+
.contact-container {
139+
margin-bottom: $space-lv-2-desktop;
144140

145-
@include mq-small {
146-
margin-bottom: $space-lv-2-mobile;
147-
}
141+
@include mq-small {
142+
margin-bottom: $space-lv-2-mobile;
143+
}
148144

149-
small {
150-
display: block;
151-
color: $warm-black-40;
152-
margin-bottom: $space-half-desktop;
153-
}
145+
small {
146+
display: block;
147+
color: $warm-black-40;
148+
margin-bottom: $space-half-desktop;
149+
}
150+
}
154151

155-
a {
156-
display: flex;
157-
justify-content: center;
158-
color: $gold-yellow-80;
159-
text-decoration: underline;
152+
.contact-container a {
153+
display: flex;
154+
justify-content: center;
155+
color: $gold-yellow-80;
156+
text-decoration: underline;
157+
}
160158

161-
&:hover {
162-
text-decoration: none;
163-
}
164-
}
165-
}
159+
.footer-notes a {
160+
color: $gold-yellow-50;
161+
text-decoration: underline;
162+
}
166163

167-
.footer-notes {
168-
display: flex;
169-
text-align: center;
170-
justify-content: center;
171-
color: $gold-yellow-50;
164+
.contact-container a:hover {
165+
text-decoration: none;
166+
}
172167

173-
a {
174-
color: $gold-yellow-50;
175-
text-decoration: underline;
168+
.footer-notes {
169+
display: flex;
170+
text-align: center;
171+
justify-content: center;
172+
color: $gold-yellow-50;
173+
}
176174

177-
&:hover {
178-
text-decoration: none;
179-
}
175+
.footer-notes a:hover {
176+
text-decoration: none;
177+
}
180178

181-
&:active {
182-
color: $gold-yellow-60;
183-
}
184-
}
185-
}
179+
.footer-notes a:active {
180+
color: $gold-yellow-60;
186181
}

src/components/Loader/Loader.scss

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from {
2424
transform: rotate(0turn);
2525
}
26+
2627
to {
2728
transform: rotate(1turn);
2829
}

0 commit comments

Comments
 (0)