Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions css/login.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.login {
width: 500px;
height: fit-content;
background-color: white;
border-radius: 5px;
border: 1px solid #c4c4c4;
text-align: center;
padding: 30px;
}

.login * {
margin: 0;
}

.login p {
margin: 28px 0;
font-size: 1rem;
}

.login .loginBtn {
height: 60px;
font-size: 22px;/*1.375rem*/
font-weight: 700;
margin-top: 4px;
}

.login h2 {
font-size: 16px;
color: var(--black);
font-weight: 400;
margin: 28px 0 30px 0;
}
230 changes: 230 additions & 0 deletions css/modal.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@
.modal {
/* position: fixed; */
background-color: rgba(0, 0, 0, 0.3);
height: 100vh;
width: 100%;
display: none;
}

.modal a {
color: var(--gray);
}

.modal-content {
/* position: fixed; */
width: 32.5rem;
height: fit-content;
background-color: var(--white);
border-radius: 10px;
border: 1px solid var(--light-gray);
}

.header {
width: 100%;
height: 58px;
border-bottom: 1px solid var(--light-gray);
}

.title {
font-size: 1rem;
font-weight: 500;
line-height: 3.625rem;
text-align: center;
}

.closeBtn {
position: absolute;
background: url(../img/close.svg) no-repeat;
background-size: contain;
width: 1rem;
height: 1rem;
top: 0;
right: 0;
margin: 20px;

}

.modal-content section {
padding: 24px;
display: flex;
flex-direction: column;
align-items: start;
}

.login-section p {
font-weight: 500;
font-size: 1.25rem;
padding-top: 2px;
padding-bottom: 24px;
}

.login-section .login-form{
width: 100%;
}

.login-section .login-form * {
width: 100%;
}

.login-section input {
font-size: 1rem;
padding: 0 1em;
}

.login-section input[type="password"] {
margin-top: 10px;
}

.login-section input::placeholder {
color: var(--gray);
}

.login-section input:focus::placeholder{
color: transparent;
}

.login-form >input:focus{
border: 2px solid var(--touch-blue);
}

.login-form .message {
color: red;
font-size: 14px;
font-weight: 400;
padding: 0;
margin-top: 6px;
margin-left: 4px;
}


/*로그인유지 체크박스 커스텀*/
.check-keep label[for="keep"] {
color: var(--gray);
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
margin-top: 1rem;
width: fit-content;
font-weight: 500;
}

.check-keep label::before{
content: "";
display: block;
width: 1.375rem;
height: 1.375rem;
border: 1px solid var(--gray);
border-radius: 50%;
background: url(../img/check.svg) no-repeat 50% 50%;
margin-left: 4px;
}

.check-keep input:checked+label::before {
background: url(../img/checked.svg) no-repeat 50% 50%;
background-color: var(--blue);
border-color: var(--blue);
}

.login-section .loginBtn{
margin: 20px 0;
font-size: 18px;
font-weight: 700;
height: 50px;
}

.box {
border: 1px solid var(--light-gray);
border-radius: 5px;
width: 100%;
height: 50px;
}

.join-find {
width: 100%;
display: flex;
justify-content: center;
color: var(--gray);
font-size: 14px;
}

.join-find li+li{
position: relative;
padding-left: 25px;
}

li:nth-child(2)::before{
content: '';
position: absolute;
top: 1px;
left: 12px;
width: 1px;
height: 14px;
background-color: var(--gray);
}


.or {
padding: 14px 24px 5px 24px;
position: relative;
height: fit-content;
}

.or hr {
background:var(--light-gray);
height:1px;
border:0;
}

.or span{
position: absolute;
left: 50%;
transform: translate(-50%,-50%);
background-color: var(--white);
padding: 0 13px;
color: var(--gray);
font-size: 0.8rem;

}

/*social-login--------------------*/
.login-social {
display: flex;
/* flex-direction: column; */
gap: 10px;
}

.socialBtn {
display: flex;
}

.socialBtn img {
margin-left: 12px;
}

.socialBtn span {
margin: 0 auto;
line-height: 50px;
}

.google {
border-color: var(--gray);
}

.facebook {
border-color: var(--sky);
}

.naver {
border-color: var(--green);
}

.kakao {
border-color: var(--yellow);
}

/*modal open-close*/
.modal.active {
display: block;
}

91 changes: 91 additions & 0 deletions css/reset-common.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
/* font-import ----------------------------------*/
@import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css);

/* reset-css ------------------------------------*/
.a11y-hidden {
overflow: hidden;
position: absolute;
clip: rect(0 0 0 0); /* IE 6,7 */
clip: rect(0,0,0,0);
width: 1px;
height: 1px;
margin: -1px;
border: 0;
padding: 0;
}

ul,
ol {
list-style: none;
}

button {
border: none;
background-color: transparent;
}

a {
color: inherit;
text-decoration: none;
outline: none;
}

a:hover, a:active {
text-decoration: none;
}

input,
input:focus,
textarea,
textarea:focus {
outline: none;
box-shadow: none;
}
/* common-css-----------------------------------*/
:root {
--bg-gray: #F2F2F2;
--light-gray: #C4C4C4;
--gray: #767676;
--black: #000000;
--white: #ffffff;
--green: #00BF18;
--sky: #2D9CDB;
--blue: #2F80ED;
--touch-blue: #1c6cd4;
--yellow: #F2C94C;
}


body {
height: 100vh;
background-color: var(--bg-gray);
}

* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Spoqa Han Sans Neo', 'sans-serif';
font-weight: 400;
}

.center {
position: fixed;
inset: 0;
margin: auto;
}

.loginBtn {
width: 100%;
color: var(--white);
border-radius: 5px;
background-color: var(--blue);
}

.loginBtn:hover {
background-color: var(--touch-blue);
}

button:hover {
cursor: pointer;
}
3 changes: 3 additions & 0 deletions img/check.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions img/checked.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions img/close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions img/facebook-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions img/google-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions img/kakao-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions img/naver-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions img/weniv-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading