Skip to content

Commit c3ae18a

Browse files
committed
use _spacing whenever possible
1 parent 126806e commit c3ae18a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src-ts/tools/gamification-admin/pages/badge-listing/BadgeListingPage.module.scss

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
.container {
55
display: flex;
66
flex-direction: column;
7-
padding-top: 32px;
7+
padding-top: $space-xxxxl;
88

99
.badges-table-header {
1010
display: flex;
1111
justify-content: space-between;
12-
padding-bottom: 17px;
12+
padding-bottom: $space-lg;
1313
color: $black-60;
1414
@include font-barlow;
1515
@include font-weight-semibold;
@@ -42,14 +42,14 @@
4242
.badge-row {
4343
display: flex;
4444
justify-content: space-between;
45-
padding: 16px 24px;
45+
padding: $space-lg $space-xxl;
4646

47-
@media (max-width: 768px) {
47+
@include ltemd {
4848
flex-direction: column;
4949
}
5050

5151
&:nth-child(odd) {
52-
background-color: #F4F4F4;
52+
background-color: $black-5;
5353
border-radius: 8px;
5454
}
5555

@@ -60,13 +60,13 @@
6060
.badge-image {
6161
width: 48px;
6262
height: 48px;
63-
margin-right: 20px;
63+
margin-right: $space-xl;
6464
}
6565

6666
.badge-image-disabled {
6767
width: 48px;
6868
height: 48px;
69-
margin-right: 20px;
69+
margin-right: $space-xl;
7070
opacity: 0.5;
7171
filter: grayscale(1);
7272
}
@@ -75,20 +75,20 @@
7575
font-size: 16px;
7676
font-weight: 700;
7777
line-height: 24px;
78-
color: #2a2a2a;
78+
color: $black-100;
7979
}
8080
}
8181

8282
.actions {
8383
display: flex;
8484
align-items: center;
8585

86-
@media (max-width: 768px) {
87-
margin: 8px 0;
86+
@include ltemd {
87+
margin: $space-sm 0;
8888
}
8989

9090
.action-btn {
91-
margin-right: 8px;
91+
margin-right: $space-sm;
9292

9393
&:last-child {
9494
margin-right: 0;

0 commit comments

Comments
 (0)