-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…e-button Feature/#494 style add new page button
- Loading branch information
Showing
8 changed files
with
143 additions
and
27 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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
export const PlusIcon = () => { | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="1.2em" | ||
height="1.2em" | ||
viewBox="0 0 256 256" | ||
aria-hidden="true" | ||
> | ||
<path | ||
fill="currentColor" | ||
d="M222 128a6 6 0 0 1-6 6h-82v82a6 6 0 0 1-12 0v-82H40a6 6 0 0 1 0-12h82V40a6 6 0 0 1 12 0v82h82a6 6 0 0 1 6 6" | ||
/> | ||
</svg> | ||
); | ||
}; |
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
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,17 +1,68 @@ | ||
.container { | ||
display: flex; | ||
padding: var(--space-md); | ||
gap: var(--space-md); | ||
padding: var(--space-s); | ||
gap: var(--space-s); | ||
align-items: center; | ||
justify-content: center; | ||
flex-wrap: wrap; | ||
flex-direction: column; | ||
} | ||
|
||
.thumb { | ||
width: 100%; | ||
height: 240px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
animation: cubic-bezier(1, 0, 0, 1) 0.3s 1 normal thumb; | ||
} | ||
.activeThumb { | ||
background-color: rgb(41, 41, 235); | ||
width: 100%; | ||
height: 240px; | ||
background-color: var(--primary-100); | ||
border-radius: 5px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
animation: ease 0.3s 1 normal thumb; | ||
} | ||
|
||
/* .activeText { | ||
color: white; | ||
} */ | ||
|
||
.addButton { | ||
margin-top: var(--space-md); | ||
margin-bottom: var(--space-md); | ||
border: 1px solid var(--primary-700); | ||
background-color: transparent; | ||
width: 35px; | ||
height: 35px; | ||
border-radius: 100%; | ||
font-size: var(--fs-lg); | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
transition: background-color 0.3s; | ||
cursor: pointer; | ||
} | ||
|
||
.activeText { | ||
.addButton:hover { | ||
background-color: var(--primary-700); | ||
color: white; | ||
} | ||
|
||
@keyframes thumb { | ||
0% { | ||
height: 0; | ||
width: 0; | ||
opacity: 0; | ||
} | ||
15% { | ||
opacity: 0; | ||
} | ||
100% { | ||
opacity: 1; | ||
width: 100%; | ||
height: 240px; | ||
} | ||
} |
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ | |
|
||
.container { | ||
overflow-y: auto; | ||
position: relative; | ||
} | ||
.container[open] { | ||
flex: 1; | ||
|