-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #178 from 100-hours-a-week/feature/veronica
Fix : css수정
- Loading branch information
Showing
4 changed files
with
119 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,101 +1,103 @@ | ||
/* Variables converted to standard CSS */ | ||
|
||
.deleteContainer > button { | ||
position: relative; | ||
display: block; | ||
width: 25%; | ||
height: 100%; | ||
border: none; | ||
background: transparent; | ||
cursor: pointer; | ||
z-index: 99; | ||
outline: none; | ||
backface-visibility: hidden; | ||
-webkit-touch-callout: none; | ||
position: relative; | ||
display: block; | ||
width: 25%; | ||
height: 100%; | ||
border: none; | ||
background: transparent; | ||
cursor: pointer; | ||
z-index: 99; | ||
outline: none; | ||
backface-visibility: hidden; | ||
-webkit-touch-callout: none; | ||
} | ||
|
||
.deleteContainer > button > div { | ||
position: absolute; | ||
top: 10px; | ||
right: 0; | ||
bottom: 0; | ||
left: 0; | ||
margin: auto; | ||
position: absolute; | ||
top: 10px; | ||
right: 0; | ||
bottom: 0; | ||
left: 0; | ||
margin: auto; | ||
} | ||
|
||
/* Delete Button Styles */ | ||
.delete:hover .top { | ||
animation: delete 0.8s ease-out; | ||
background: #615efc; | ||
animation: delete 0.8s ease-out; | ||
background: #615efc; | ||
} | ||
|
||
.delete:hover .top::before { | ||
background: #615efc; | ||
background: #615efc; | ||
} | ||
|
||
.delete:hover .bottom { | ||
background: #615efc; | ||
background: #615efc; | ||
} | ||
|
||
.delete .top { | ||
position: absolute; | ||
top: 2px; | ||
width: 24px; | ||
height: 4px; | ||
background: rgb(88, 88, 88); | ||
z-index: 1; | ||
position: absolute; | ||
top: 2px; | ||
width: 24px; | ||
height: 4px; | ||
background: rgb(88, 88, 88); | ||
z-index: 1; | ||
right: 20px; | ||
} | ||
|
||
.delete .top::before { | ||
content: ""; | ||
position: absolute; | ||
top: -2px; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
margin: auto; | ||
width: 14px; | ||
height: 6px; | ||
background: rgb(88, 88, 88); | ||
border-radius: 8px; | ||
content: ""; | ||
position: absolute; | ||
top: -2px; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
margin: auto; | ||
width: 14px; | ||
height: 6px; | ||
background: rgb(88, 88, 88); | ||
border-radius: 8px; | ||
} | ||
|
||
.delete .bottom { | ||
position: absolute; | ||
top: 8px; | ||
width: 24px; | ||
height: 26px; | ||
background: rgb(88, 88, 88); | ||
border-radius: 0 0 6px 6px; | ||
position: absolute; | ||
top: 8px; | ||
width: 24px; | ||
height: 26px; | ||
background: rgb(88, 88, 88); | ||
border-radius: 0 0 6px 6px; | ||
right: 20px; | ||
} | ||
|
||
/* Keyframes for Delete */ | ||
@keyframes delete { | ||
0% { | ||
transform: rotate(0) translateY(0); | ||
} | ||
20% { | ||
transform: rotate(0) translateY(-4px); | ||
} | ||
30% { | ||
transform: rotate(20deg) translateY(-4px); | ||
} | ||
40% { | ||
transform: rotate(-20deg) translateY(-4px); | ||
} | ||
50% { | ||
transform: rotate(20deg) translateY(-4px); | ||
} | ||
60% { | ||
transform: rotate(-10deg) translateY(-4px); | ||
} | ||
70% { | ||
transform: rotate(10deg) translateY(-4px); | ||
} | ||
80% { | ||
transform: rotate(0) translateY(-4px); | ||
} | ||
100% { | ||
transform: rotate(0) translateY(0); | ||
} | ||
0% { | ||
transform: rotate(0) translateY(0); | ||
} | ||
20% { | ||
transform: rotate(0) translateY(-4px); | ||
} | ||
30% { | ||
transform: rotate(20deg) translateY(-4px); | ||
} | ||
40% { | ||
transform: rotate(-20deg) translateY(-4px); | ||
} | ||
50% { | ||
transform: rotate(20deg) translateY(-4px); | ||
} | ||
60% { | ||
transform: rotate(-10deg) translateY(-4px); | ||
} | ||
70% { | ||
transform: rotate(10deg) translateY(-4px); | ||
} | ||
80% { | ||
transform: rotate(0) translateY(-4px); | ||
} | ||
100% { | ||
transform: rotate(0) translateY(0); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,66 @@ | ||
.swipeableContainer { | ||
border-top-left-radius: 20px; | ||
border-top-right-radius: 20px; | ||
padding: 20px; | ||
position: fixed; | ||
bottom: 73px; | ||
width: 100%; | ||
max-width: 440px; | ||
box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1); | ||
transition: height 0.3s ease; | ||
background-color: #f7f7f7; | ||
overflow-y: auto; | ||
left: 50%; | ||
transform: translateX(-50%); | ||
z-index: 1; | ||
border-top-left-radius: 20px; | ||
border-top-right-radius: 20px; | ||
padding: 20px; | ||
position: fixed; | ||
bottom: 73px; | ||
width: 100%; | ||
max-width: 440px; | ||
box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1); | ||
transition: height 0.3s ease; | ||
background-color: #f7f7f7; | ||
overflow-y: auto; | ||
left: 50%; | ||
transform: translateX(-50%); | ||
z-index: 1; | ||
} | ||
|
||
@media screen and (max-width: 768px) { | ||
.swipeableContainer { | ||
width: 90%; | ||
left: 47%; | ||
} | ||
.swipeableContainer { | ||
width: 90%; | ||
left: 47.5%; | ||
} | ||
} | ||
|
||
.swipeHandle { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
align-items: center; | ||
margin-bottom: 10px; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
align-items: center; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.swipeHandle h3 { | ||
font-size: 16px; | ||
font-size: 16px; | ||
} | ||
|
||
.dragHandle { | ||
cursor: pointer; | ||
cursor: pointer; | ||
} | ||
|
||
.dragHandle img { | ||
width: 30px; | ||
height: 15px; | ||
width: 30px; | ||
height: 15px; | ||
} | ||
|
||
.circle-button { | ||
width: 37px; | ||
height: 37px; | ||
background-color: #615efc; | ||
border-radius: 50%; | ||
border: none; | ||
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
cursor: pointer; | ||
position: relative; | ||
margin-right: 30px; | ||
width: 37px; | ||
height: 37px; | ||
background-color: #615efc; | ||
border-radius: 50%; | ||
border: none; | ||
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
cursor: pointer; | ||
position: relative; | ||
margin-right: 30px; | ||
} | ||
|
||
.plus-icon { | ||
font-size: 35px; | ||
color: white; | ||
line-height: 1; | ||
margin-top: 2px; | ||
font-size: 35px; | ||
color: white; | ||
line-height: 1; | ||
margin-top: 2px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters