-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
efa0de8
commit a483efa
Showing
9 changed files
with
225 additions
and
283 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
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,178 +1,96 @@ | ||
.container { | ||
max-width: 510px; | ||
width: 100%; | ||
margin: 0 auto; | ||
padding: 0 30px; | ||
display: flex; | ||
flex-wrap: wrap; | ||
max-width: 510px; | ||
width: 100%; | ||
margin: 0 auto; | ||
padding: 0 30px; | ||
display: flex; | ||
flex-wrap: wrap; | ||
} | ||
h2 { | ||
font-size: 16px; | ||
font-size: 16px; | ||
} | ||
h3 { | ||
font-size: 15px; | ||
font-size: 15px; | ||
} | ||
.btn { | ||
transition: 0.2s; | ||
cursor: pointer; | ||
width: 280px; | ||
max-width: 100%; | ||
height: 37px; | ||
line-height: 37px; | ||
padding: 0 10px; | ||
border-radius: 8px; | ||
font-size: 13px; | ||
text-align: center; | ||
color: #fff; | ||
background-color: $primaryColor; | ||
&:hover { | ||
transition: 0.2s; | ||
background-color: $darkPrimaryColor; | ||
} | ||
transition: 0.2s; | ||
cursor: pointer; | ||
width: 280px; | ||
max-width: 100%; | ||
height: 37px; | ||
line-height: 37px; | ||
padding: 0 10px; | ||
border-radius: 8px; | ||
font-size: 13px; | ||
text-align: center; | ||
color: #fff; | ||
background-color: $primaryColor; | ||
&:hover { | ||
transition: 0.2s; | ||
background-color: $darkPrimaryColor; | ||
} | ||
} | ||
.link { | ||
transition: 0.2s; | ||
cursor: pointer; | ||
font-size: 11px; | ||
color: $primaryColor; | ||
&.red { | ||
color: $redColor; | ||
&:hover { | ||
transition: 0.2s; | ||
color: darken($redColor, 10%); | ||
} | ||
} | ||
&:hover { | ||
transition: 0.2s; | ||
color: $darkPrimaryColor; | ||
} | ||
transition: 0.2s; | ||
cursor: pointer; | ||
font-size: 11px; | ||
color: $primaryColor; | ||
&.red { | ||
color: $redColor; | ||
&:hover { | ||
transition: 0.2s; | ||
opacity: 0.8; | ||
} | ||
} | ||
&:hover { | ||
transition: 0.2s; | ||
color: $darkPrimaryColor; | ||
} | ||
} | ||
.title { | ||
font-size: 20px; | ||
width: 100%; | ||
text-align: center; | ||
} | ||
|
||
.form { | ||
width: 340px; | ||
max-width: 100%; | ||
border-radius: 12px; | ||
box-shadow: 0px 0px 6px 0px #00000024; | ||
padding: 30px; | ||
padding-top: 50px; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
.title { | ||
margin-bottom: 40px; | ||
} | ||
.error-title { | ||
color: $redColor; | ||
} | ||
form { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
.link { | ||
margin-top: 14px; | ||
} | ||
.input-wrap { | ||
width: 100%; | ||
margin-bottom: 16px; | ||
position: relative; | ||
display: block; | ||
.label { | ||
position: absolute; | ||
left: 0; | ||
bottom: 8px; | ||
pointer-events: none; | ||
transition: 0.2s ease all; | ||
color: $lightTextColor; | ||
} | ||
input { | ||
padding-top: 20px; | ||
border-bottom: 1px solid #3369f3; | ||
width: 100%; | ||
padding-bottom: 6px; | ||
} | ||
input:focus ~ .label, | ||
input:not(:focus):valid ~ .label { | ||
bottom: 25px; | ||
font-size: 9px; | ||
} | ||
.prompt { | ||
display: none; | ||
position: absolute; | ||
left: 0; | ||
bottom: -16px; | ||
font-size: 8px; | ||
font-weight: 400; | ||
color: $redColor; | ||
} | ||
&.error { | ||
.prompt { | ||
display: block; | ||
} | ||
} | ||
} | ||
.file-wrap { | ||
margin-top: 0; | ||
cursor: pointer; | ||
text-align: center; | ||
input { | ||
display: none; | ||
} | ||
.link { | ||
text-decoration: underline; | ||
} | ||
.filename { | ||
color: #8d8d8d; | ||
} | ||
} | ||
button { | ||
margin-top: 60px; | ||
} | ||
font-size: 20px; | ||
width: 100%; | ||
text-align: center; | ||
} | ||
|
||
.modal { | ||
transition: 0.4s; | ||
opacity: 0; | ||
visibility: hidden; | ||
z-index: 4; | ||
padding: 40px 30px; | ||
position: fixed; | ||
left: 50%; | ||
top: 50%; | ||
transform: translate(-50%, -50%); | ||
background-color: #fff; | ||
.title { | ||
font-size: 15px; | ||
} | ||
button { | ||
margin-top: 16px; | ||
} | ||
&.active { | ||
transition: 0.4s; | ||
opacity: 1; | ||
visibility: visible; | ||
} | ||
transition: 0.4s; | ||
opacity: 0; | ||
visibility: hidden; | ||
z-index: 4; | ||
padding: 40px 30px; | ||
position: fixed; | ||
left: 50%; | ||
top: 50%; | ||
transform: translate(-50%, -50%); | ||
background-color: #fff; | ||
.title { | ||
font-size: 15px; | ||
} | ||
button { | ||
margin-top: 16px; | ||
} | ||
&.active { | ||
transition: 0.4s; | ||
opacity: 1; | ||
visibility: visible; | ||
} | ||
} | ||
.overlay { | ||
transition: 0.4s; | ||
opacity: 0; | ||
visibility: hidden; | ||
z-index: 3; | ||
cursor: pointer; | ||
position: fixed; | ||
left: 0; | ||
top: 0; | ||
width: 100vw; | ||
height: 100vh; | ||
background-color: #000; | ||
&.active { | ||
transition: 0.4s; | ||
opacity: 0.4; | ||
visibility: visible; | ||
} | ||
transition: 0.4s; | ||
opacity: 0; | ||
visibility: hidden; | ||
z-index: 3; | ||
cursor: pointer; | ||
position: fixed; | ||
left: 0; | ||
top: 0; | ||
width: 100vw; | ||
height: 100vh; | ||
background-color: #000; | ||
&.active { | ||
transition: 0.4s; | ||
opacity: 0.4; | ||
visibility: visible; | ||
} | ||
} |
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,16 +1,17 @@ | ||
@import "variables"; | ||
@import "fonts"; | ||
@import "reset"; | ||
@import "shared"; | ||
@import "./variables"; | ||
@import "./fonts"; | ||
@import "./reset"; | ||
@import "./shared"; | ||
|
||
* { | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
html { | ||
font-family: "Inter", sans-serif; | ||
font-weight: 500; | ||
font-size: 12px; | ||
color: $textColor; | ||
font-family: Inter, sans-serif; | ||
font-weight: 500; | ||
font-size: 12px; | ||
color: $textColor; | ||
} |
Oops, something went wrong.