Skip to content

Commit

Permalink
Merge pull request CSID-DGU#72 from study2895:main
Browse files Browse the repository at this point in the history
[Fix] ๋กœ๊ทธ์ธ ํŽ˜์ด์ง€ ์น˜์šฐ์นœ ์˜ค๋ฅ˜ ์ˆ˜์ •
  • Loading branch information
study2895 authored Dec 2, 2024
2 parents fcc4e5f + ee9e429 commit 2660fcc
Showing 1 changed file with 131 additions and 129 deletions.
260 changes: 131 additions & 129 deletions src/views/login/login/LoginView.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<div class="login-page page-container">
<div class="mobile-container">
<div
class="mobile-container"
style="font-family: 'NanumSquareRound', sans-serif"
>
<!-- ๋กœ๊ณ  ๋กœ๋”ฉ ํ™”๋ฉด -->
<LogoLoading
v-if="showLoading"
Expand All @@ -20,7 +23,9 @@
</header>

<main class="main-content">
<h1 class="title">๋กœ๊ทธ์ธ</h1>
<h1 class="title" style="font-family: 'NanumSquareRound', sans-serif">
๋กœ๊ทธ์ธ
</h1>
<form @submit.prevent="onSubmit" class="form">
<div class="form-group">
<label for="email">์ด๋ฉ”์ผ</label>
Expand Down Expand Up @@ -91,151 +96,148 @@ export default {
<style scoped>
/* login-page ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋กœ ์Šคํƒ€์ผ ์ œํ•œ */
.login-page {
/* ์™ธ๋ถ€ ์ปจํ…Œ์ด๋„ˆ */
.page-container {
min-height: 100vh;
background-color: #fff9f2;
font-family: 'Nanum Square Round', sans-serif;
display: flex;
justify-content: center;
}
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #fff9f2;
}
/* ๋ชจ๋ฐ”์ผ ์ปจํ…Œ์ด๋„ˆ */
.mobile-container {
width: 395px;
min-width: 340px;
background-color: #fae8da;
min-height: 100vh;
display: flex;
flex-direction: column;
position: relative;
}
/* ๋ชจ๋ฐ”์ผ ์ปจํ…Œ์ด๋„ˆ */
.mobile-container {
width: 395px;
min-width: 340px;
background-color: #fae8da;
min-height: 100vh;
display: flex;
flex-direction: column;
position: relative;
}
/* ํ—ค๋” */
.header {
background-color: #ffffff;
padding: 0.5rem 1rem;
position: fixed;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 395px;
min-width: 340px;
z-index: 10;
}
/* ํ—ค๋” */
.header {
background-color: #ffffff;
padding: 0.5rem 1rem;
position: fixed;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 395px;
min-width: 340px;
z-index: 10;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
height: 3rem;
}
.logo {
height: 3rem;
}
.signup-button {
color: #f6b87a;
background-color: transparent;
padding: 0.25rem 0.5rem;
border-radius: 9999px;
transition: background-color 0.3s ease;
}
.signup-button {
color: #f6b87a;
background-color: transparent;
padding: 0.25rem 0.5rem;
border-radius: 9999px;
transition: background-color 0.3s ease;
}
.signup-button:hover {
background-color: rgba(246, 184, 122, 0.1);
}
.signup-button:hover {
background-color: rgba(246, 184, 122, 0.1);
}
/* ๋ฉ”์ธ ์ปจํ…์ธ  */
.main-content {
margin-top: 160px;
flex-grow: 1;
padding: 4rem 3rem 2rem;
}
/* ๋ฉ”์ธ ์ปจํ…์ธ  */
.main-content {
margin-top: 160px;
flex-grow: 1;
padding: 4rem 3rem 2rem;
}
.title {
margin-bottom: 1rem;
font-size: 1.5rem;
font-weight: bold;
text-align: center;
font-family: 'Nanum Square Round', sans-serif;
}
.title {
margin-bottom: 1rem;
font-size: 1.5rem;
font-weight: bold;
text-align: center;
font-family: 'Nanum Square Round', sans-serif;
}
/* ํผ */
.form {
margin: 2rem 0;
display: flex;
flex-direction: column;
gap: 1rem;
}
/* ํผ */
.form {
margin: 2rem 0;
display: flex;
flex-direction: column;
gap: 1rem;
}
.form-group {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.form-group {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.form-group label {
font-size: 0.875rem;
font-weight: 500;
color: #4a4a4a;
}
.form-group label {
font-size: 0.875rem;
font-weight: 500;
color: #4a4a4a;
}
.form-group input {
width: 100%;
padding: 0.5rem 1rem;
background-color: #ddd7d3;
border: 1px solid #e5e5e5;
border-radius: 9999px;
font-size: 0.875rem;
outline: none;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input {
width: 100%;
padding: 0.5rem 1rem;
background-color: #ddd7d3;
border: 1px solid #e5e5e5;
border-radius: 9999px;
font-size: 0.875rem;
outline: none;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus {
border-color: transparent;
box-shadow: 0 0 0 2px #f6b87a;
}
.form-group input:focus {
border-color: transparent;
box-shadow: 0 0 0 2px #f6b87a;
}
.form-group input.invalid {
border-color: #ff6b6b;
}
.form-group input.invalid {
border-color: #ff6b6b;
}
.error-message {
margin-top: 0.25rem;
font-size: 0.75rem;
color: #ff6b6b;
}
.error-message {
margin-top: 0.25rem;
font-size: 0.75rem;
color: #ff6b6b;
}
.form-actions {
margin-top: 20px;
display: flex;
justify-content: center;
}
.form-actions {
margin-top: 20px;
display: flex;
justify-content: center;
}
/* ๋ฒ„ํŠผ */
.submit-button {
width: 100%;
max-width: 10rem;
padding: 0.5rem 1rem;
height: 2.5rem;
background-color: #f6b87a;
color: #ffffff;
font-size: 0.875rem;
font-weight: 500;
border-radius: 9999px;
text-align: center;
transition: background-color 0.3s ease;
cursor: pointer;
}
/* ๋ฒ„ํŠผ */
.submit-button {
width: 100%;
max-width: 10rem;
padding: 0.5rem 1rem;
height: 2.5rem;
background-color: #f6b87a;
color: #ffffff;
font-size: 0.875rem;
font-weight: 500;
border-radius: 9999px;
text-align: center;
transition: background-color 0.3s ease;
cursor: pointer;
}
.submit-button:hover {
background-color: #e5a769;
}
.submit-button:hover {
background-color: #e5a769;
}
.submit-button:disabled {
background-color: #cccccc;
cursor: not-allowed;
}
.submit-button:disabled {
background-color: #cccccc;
cursor: not-allowed;
}
</style>

0 comments on commit 2660fcc

Please sign in to comment.