Skip to content

Commit 8d6bca7

Browse files
committed
fix: button style upgrade
1 parent 51ac9a4 commit 8d6bca7

File tree

1 file changed

+22
-22
lines changed
  • src/shared/components/challenge-detail/Header

1 file changed

+22
-22
lines changed

src/shared/components/challenge-detail/Header/style.scss

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,96 +10,96 @@
1010
padding: 0 25px !important;
1111
}
1212

13-
.submitButton {
14-
margin: $base-unit 0;
13+
.challenge-ops-container .submitButton {
14+
margin: 5px;
1515
min-width: 0;
1616
border-width: 2px !important;
1717
border-radius: 50px !important;
1818
height: 48px;
1919
background: #137d60 !important;
2020
color: #fff !important;
2121
white-space: nowrap;
22-
padding: 12 24px !important;
22+
padding: 12px 24px !important;
2323
font-weight: 700;
24-
letter-spacing: 0.8em;
24+
letter-spacing: 0.008em;
2525

2626
@include xs-to-sm {
2727
width: fit-content;
2828
}
2929
}
3030

31-
.submitButtonDisabled {
32-
margin: $base-unit 0;
31+
.challenge-ops-container .submitButtonDisabled {
32+
margin: 5px;
3333
min-width: 0;
3434
border-width: 2px !important;
3535
border-radius: 50px !important;
3636
height: 48px;
37-
padding: 12 24px !important;
37+
padding: 12px 24px !important;
3838
color: #767676 !important;
3939
background: #f4f4f4 !important;
4040
font-weight: 700;
41-
letter-spacing: 0.8em;
41+
letter-spacing: 0.008em;
4242

4343
@include xs-to-sm {
4444
width: fit-content;
4545
}
4646
}
4747

48-
.unregisterButton {
49-
margin: $base-unit 0;
48+
.challenge-ops-container .unregisterButton {
49+
margin: 5px;
5050
min-width: 0;
5151
border-width: 2px !important;
5252
border-radius: 50px !important;
5353
height: 48px;
54-
padding: 12 24px !important;
54+
padding: 12px 24px !important;
5555
color: #137d60 !important;
5656
border-color: #137d60 !important;
5757
background: #fff !important;
5858
font-weight: 700;
59-
letter-spacing: 0.8em;
59+
letter-spacing: 0.008em;
6060

6161
@include xs-to-sm {
6262
width: fit-content;
6363
}
6464
}
6565

66-
.registerBtn {
67-
margin: $base-unit 0;
66+
.challenge-ops-container .registerBtn {
67+
margin: 5px;
6868
min-width: 0;
6969
border-width: 2px !important;
7070
border-radius: 50px !important;
7171
height: 48px;
72-
padding: 12 24px !important;
72+
padding: 12px 24px !important;
7373
background-color: #137d60 !important;
7474
font-weight: 700;
75-
letter-spacing: 0.8em;
75+
letter-spacing: 0.008em;
7676

7777
@include xs-to-sm {
7878
width: fit-content;
7979
}
8080
}
8181

82-
.submitButton:hover,
83-
.registerBtn:hover {
82+
.challenge-ops-container .submitButton:hover,
83+
.challenge-ops-container .registerBtn:hover {
8484
color: #fff !important;
8585
border-color: #219174 !important;
8686
background: #219174 !important;
8787
}
8888

89-
.unregisterButton:hover {
89+
.challenge-ops-container .unregisterButton:hover {
9090
color: #219174 !important;
9191
border-color: #219174 !important;
9292
background: #fff !important;
9393
}
9494

95-
.submitButton:active,
96-
.registerBtn:active {
95+
.challenge-ops-container .submitButton:active,
96+
.challenge-ops-container .registerBtn:active {
9797
color: #fff !important;
9898
border-color: #0d664e !important;
9999
background: #0d664e !important;
100100
}
101101

102-
.unregisterButton:active {
102+
.challenge-ops-container .unregisterButton:active {
103103
color: #0d664e !important;
104104
border-color: #0d664e !important;
105105
background: #fff !important;

0 commit comments

Comments
 (0)