-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(project): update edit and create forms
- Loading branch information
1 parent
6eacccf
commit b40c144
Showing
12 changed files
with
277 additions
and
151 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,83 +1,83 @@ | ||
@use 'src/styles/variables'; | ||
|
||
.inner { | ||
position: relative; | ||
border: 1px solid rgba(255, 255, 255, 0.3); | ||
border-radius: 4px; | ||
&:hover { | ||
border: 1px solid variables.$white; | ||
opacity: 0.8; | ||
} | ||
position: relative; | ||
box-sizing: border-box; | ||
border: 2px solid rgba(255, 255, 255, 0.3); | ||
border-radius: 4px; | ||
&:hover { | ||
border: 2px solid variables.$white; | ||
opacity: 0.8; | ||
} | ||
} | ||
|
||
.selected { | ||
border: 2px solid variables.$deep-blue !important; | ||
border-radius: 4px; | ||
} | ||
|
||
.wrapper { | ||
position: relative; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 10px; | ||
cursor: pointer; | ||
position: relative; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
width: min-content; | ||
height: min-content; | ||
cursor: pointer; | ||
|
||
.image { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.image { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
.box { | ||
position: relative; | ||
width: 140px; | ||
height: 140px; | ||
padding: 10px; | ||
img { | ||
position: relative; | ||
transition: all 0.5s ease; | ||
} | ||
.kids { | ||
position: absolute; | ||
top: 5px; | ||
right: 5px; | ||
color: variables.$link; | ||
} | ||
&:hover { | ||
img { | ||
transform: translate(-5px, -5px); | ||
} | ||
} | ||
.box { | ||
position: relative; | ||
width: 140px; | ||
height: 140px; | ||
padding: 10px; | ||
img { | ||
position: relative; | ||
transition: all 0.5s ease; | ||
} | ||
.circle { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
// border: 1px solid rgba(255, 255, 255, 0.3); | ||
background: #1F232C; | ||
border: 1px solid transparent; | ||
border-radius: 100px; | ||
.kids { | ||
position: absolute; | ||
top: 5px; | ||
right: 5px; | ||
color: variables.$link; | ||
} | ||
.overlay { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100%; | ||
height: 100%; | ||
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 95%); | ||
border: 1px solid transparent; | ||
border-radius: 4px; | ||
&:hover { | ||
img { | ||
transform: translate(-5px, -5px); | ||
} | ||
} | ||
} | ||
.circle { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
// border: 1px solid rgba(255, 255, 255, 0.3); | ||
background: #1f232c; | ||
border: 1px solid transparent; | ||
border-radius: 100px; | ||
} | ||
.overlay { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100%; | ||
height: 100%; | ||
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 95%); | ||
border: 1px solid transparent; | ||
border-radius: 4px; | ||
} | ||
|
||
&:hover { | ||
.box { | ||
border: 1px solid variables.$white; | ||
opacity: 0.8; | ||
} | ||
h2 { | ||
opacity: 0.8; | ||
} | ||
&:hover { | ||
h2 { | ||
opacity: 0.8; | ||
} | ||
|
||
|
||
|
||
} | ||
} | ||
|
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
Oops, something went wrong.