Skip to content

Commit 4270874

Browse files
authored
๐ŸŽจstyle: ๋ฒ„ํŠผ ๋ฐ ์œ ์ € ํ”„๋กœํ•„ ์ „ํ™˜ ํšจ๊ณผ ์ถ”๊ฐ€
๐ŸŽจstyle: ๋ฒ„ํŠผ ๋ฐ ์œ ์ € ํ”„๋กœํ•„ ์ „ํ™˜ ํšจ๊ณผ ์ถ”๊ฐ€
2 parents 3b6a75e + 9f45ec7 commit 4270874

File tree

7 files changed

+32
-10
lines changed

7 files changed

+32
-10
lines changed

โ€Žsrc/components/Card/Card.module.scssโ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.08);
1111
background: $white;
1212
gap: 16px;
13-
transition: transform 0.2s ease;
13+
transition: transform 0.2s ease-in-out;
1414
cursor: pointer;
1515

1616
&:hover {
17-
transform: scale(0.95);
17+
transform: scale(0.95) translateZ(0);
1818
}
1919

2020
&.card--empty {
@@ -117,13 +117,13 @@
117117

118118
@keyframes click-pop {
119119
0% {
120-
transform: scale(1);
120+
transform: scale(1) translateZ(0);
121121
}
122122
50% {
123-
transform: scale(1.03); // ์‚ด์ง ์ปค์กŒ๋‹ค๊ฐ€
123+
transform: scale(1.03) translateZ(0); // ์‚ด์ง ์ปค์กŒ๋‹ค๊ฐ€
124124
}
125125
100% {
126-
transform: scale(1); // ๋‹ค์‹œ ์›๋ž˜๋Œ€๋กœ
126+
transform: scale(1) translateZ(0); // ๋‹ค์‹œ ์›๋ž˜๋Œ€๋กœ
127127
}
128128
}
129129

โ€Žsrc/components/UserProfileSelector/UserProfileSelector.module.scssโ€Ž

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,20 @@
5151
width: 56px;
5252
border: 1px solid $gray-200;
5353
border-radius: 100px;
54+
transition: transform 0.1s ease-in-out;
55+
56+
&:hover {
57+
transform: scale(1.15) translateY(-6px) translateZ(0);
58+
}
59+
60+
&:active {
61+
transform: scale(1) translateY(0) translateZ(0);
62+
}
63+
}
64+
65+
&__image--selected {
66+
transform: scale(1.2) translateY(-6px) translateZ(0);
67+
box-shadow: 0 0 0 2px $gray-300;
5468
}
5569

5670
@media (max-width: 767px) {

โ€Žsrc/components/common/Button.module.scssโ€Ž

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,31 @@
99
background-color: $purple-600;
1010
@include font-18-bold;
1111
color: $white;
12+
transition:
13+
transform 0.2s ease-in-out,
14+
background-color 0.2s ease-in-out;
1215

1316
&:disabled {
1417
background-color: $gray-300;
1518
cursor: not-allowed;
19+
filter: opacity(50%);
1620

1721
&:hover,
1822
&:active,
1923
&:focus {
2024
background-color: $gray-300;
2125
border: $gray-300;
26+
transform: none;
2227
}
2328
}
2429

2530
&:hover {
31+
transform: scale(1.05) translateZ(0);
2632
background-color: $purple-700;
2733
}
2834

2935
&:active {
36+
transform: scale(0.97) translateZ(0);
3037
background-color: $purple-800;
3138
}
3239

โ€Žsrc/pages/CreateRecipient/CreateRecipient.jsxโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default function CreateRecipient() {
8181
<div className={styles['create-page__input-section']}>
8282
<FormInput
8383
label="To."
84-
placeholder="๋ฐ›๋Š” ์‚ฌ๋žŒ ์ด๋ฆ„์„ ์ž…๋ ฅํ•ด ์ฃผ์„ธ์š”"
84+
placeholder="๋ฐ›๋Š” ์‚ฌ๋žŒ ์ด๋ฆ„์„ ์ž…๋ ฅํ•ด ์ฃผ์„ธ์š”. (์ตœ๋Œ€ 10์ž)"
8585
value={value}
8686
onChange={handleInputChange}
8787
onBlur={handleBlur}

โ€Žsrc/pages/CreateRecipient/CreateRecipient.module.scssโ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565
flex-shrink: 0;
6666
cursor: pointer;
6767
transition:
68-
transform 0.3s ease,
69-
box-shadow 0.3s ease;
68+
transform 0.3s ease-in-out,
69+
box-shadow 0.3s ease-in-out;
7070

7171
&:hover {
7272
transform: scale(1.05);
@@ -124,7 +124,7 @@
124124
box-shadow 0.3s ease;
125125

126126
&:hover {
127-
transform: scale(1.05);
127+
transform: scale(1.05) translateZ(0);
128128
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
129129
}
130130

โ€Žsrc/pages/MessageForm/MessageForm.jsxโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export default function MessageForm() {
126126
<div className={styles['message-form__input']}>
127127
<FormInput
128128
label="From."
129-
placeholder="์ด๋ฆ„์„ ์ž…๋ ฅํ•ด ์ฃผ์„ธ์š” (10์ž ์ด๋‚ด)"
129+
placeholder="์ด๋ฆ„์„ ์ž…๋ ฅํ•ด ์ฃผ์„ธ์š”. (์ตœ๋Œ€ 10์ž)"
130130
value={sender}
131131
onChange={handleInputChange}
132132
onBlur={handleSenderBlur}

โ€Žsrc/pages/MessageForm/MessageForm.module.scssโ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
& {
1818
display: flex;
1919
align-items: center;
20+
max-width: 320px;
2021
gap: 206px;
2122
}
2223
}

0 commit comments

Comments
ย (0)