353 lines
8.0 KiB
CSS
353 lines
8.0 KiB
CSS
:root {
|
|
color: #132238;
|
|
font-family: 'Segoe UI', 'Noto Sans KR', sans-serif;
|
|
line-height: 1.5;
|
|
font-weight: 400;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
background-color: #0f3d2e; /* 최하단 바탕색: 다크 그린 */
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
button,
|
|
input {
|
|
font: inherit;
|
|
}
|
|
|
|
/* 배경 이미지를 담는 큰 박스 */
|
|
.app-shell {
|
|
position: relative;
|
|
width: 98vw; /* 좌우 길이를 더 늘려 배경 노출 감소 */
|
|
height: 96vh; /* 상하 균형을 위해 높이도 살짝 조정 */
|
|
background:
|
|
linear-gradient(rgba(15, 61, 46, 0.4), rgba(15, 61, 46, 0.6)),
|
|
url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80');
|
|
background-size: cover;
|
|
background-position: center;
|
|
border: 4px solid rgba(255, 255, 240, 0.801); /* 테두리 굵기를 8px로 대폭 강화 */
|
|
border-radius: 20px; /* 모서리 각도 조절 (48px -> 20px) */
|
|
box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
overflow-y: auto;
|
|
padding: 40px 24px;
|
|
}
|
|
|
|
.system-header {
|
|
margin-top: 8vh; /* 기존 유지 */
|
|
transform: translateY(-40px); /* 타이틀만 위로 이동 */
|
|
text-align: center;
|
|
color: rgba(255, 255, 240, 0.95); /* 아이보리색 타이틀 */ /*(255, 255, 240, 0.801) (255, 255, 255, 0.95)*/
|
|
text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
z-index: 10;
|
|
}
|
|
|
|
.system-header .sub-title {
|
|
display: block;
|
|
font-size: 1.4rem;
|
|
font-weight: 600;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.system-header .main-title {
|
|
margin: 0;
|
|
font-size: 2.8rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.login-panel {
|
|
width: min(100%, 800px);
|
|
margin-top: 5vh; /* 타이틀 바로 아래쪽에 배치 */
|
|
margin-bottom: auto; /* */
|
|
padding: 52px; /*48px*/
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 32px;
|
|
background: rgba(255, 255, 240, 0.801); /* 로그인 카드 배경 (아이보리 화이트) */ /*(255, 255, 240, 0.801) (255, 255, 255, 0.92)*/
|
|
box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2);
|
|
z-index: 20;
|
|
}
|
|
|
|
.panel-heading h1 {
|
|
margin: 0;
|
|
font-size: clamp(2rem, 3vw, 2.6rem);
|
|
line-height: 1.05;
|
|
color: #0f3d2e;
|
|
}
|
|
|
|
.panel-heading p {
|
|
margin: 12px 0 0;
|
|
color: #4a6659;
|
|
}
|
|
|
|
.login-form {
|
|
display: grid;
|
|
gap: 16px;
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.field {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.field label {
|
|
color: #0a291f;
|
|
font-size: 0.96rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.text-input {
|
|
width: 100%;
|
|
padding: 16px 18px;
|
|
border: 1px solid rgba(15, 61, 46, 0.2);
|
|
border-radius: 18px;
|
|
background: #fdfefe;
|
|
color: #132238;
|
|
transition: all 160ms ease;
|
|
}
|
|
|
|
.text-input:focus {
|
|
outline: none;
|
|
border-color: #0f3d2e;
|
|
box-shadow: 0 0 0 4px rgba(15, 61, 46, 0.14);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.input-hint {
|
|
margin: 0;
|
|
min-height: 24px;
|
|
color: #5c746b;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.primary-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 56px;
|
|
padding: 0 20px;
|
|
border: 0;
|
|
border-radius: 18px;
|
|
background: linear-gradient(180deg, #185c45 0%, #0f3d2e 100%);
|
|
color: #f8fbff;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
box-shadow: 0 20px 40px rgba(15, 61, 46, 0.24);
|
|
transition: all 160ms ease;
|
|
}
|
|
|
|
.primary-button:hover:not(:disabled) {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 24px 44px rgba(15, 61, 46, 0.3);
|
|
}
|
|
|
|
.primary-button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.54;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.status-card,
|
|
.success-panel {
|
|
margin-top: 24px;
|
|
padding: 20px 22px;
|
|
border-radius: 22px;
|
|
border: 1px solid rgba(15, 61, 46, 0.15);
|
|
}
|
|
|
|
.status-card {
|
|
background: #f4f9f7;
|
|
}
|
|
|
|
.status-card strong {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
color: #0f3d2e;
|
|
}
|
|
|
|
.status-card p,
|
|
.success-panel p {
|
|
margin: 0;
|
|
color: #5a7369;
|
|
}
|
|
|
|
.success-panel {
|
|
background: linear-gradient(180deg, #f3f8f5 0%, #edf5ef 100%);
|
|
border-color: rgba(15, 61, 46, 0.18);
|
|
}
|
|
|
|
.success-label {
|
|
margin-bottom: 8px;
|
|
color: #0f3d2e;
|
|
font-size: 0.78rem;
|
|
font-weight: 800;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.success-panel h3 {
|
|
margin: 0 0 8px;
|
|
color: #0a291f;
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.app-shell {
|
|
width: 98vw;
|
|
height: 98vh;
|
|
border-width: 4px; /* 모바일에서는 테두리 살짝 줄임 */
|
|
border-radius: 12px;
|
|
padding: 24px 16px;
|
|
}
|
|
|
|
.login-panel {
|
|
padding: 28px 22px;
|
|
border-radius: 24px;
|
|
}
|
|
}
|
|
|
|
/* Dashboard Specific Styles */
|
|
.dashboard-panel {
|
|
width: min(100%, 1000px); /* 대시보드 패널 너비 확장 (800px -> 1000px) */
|
|
padding: 64px; /* 패널 내부 여유 공간 확대 */
|
|
}
|
|
|
|
.dashboard-content {
|
|
display: grid;
|
|
gap: 24px;
|
|
margin-top: 32px;
|
|
}
|
|
|
|
.welcome-msg {
|
|
margin-bottom: 32px;
|
|
text-align: center;
|
|
}
|
|
|
|
.welcome-msg h2 {
|
|
font-size: 2.4rem; /* 환영 메시지 크기 확대 */
|
|
color: #0f3d2e;
|
|
margin: 0 0 12px 0;
|
|
}
|
|
|
|
.welcome-msg p {
|
|
color: #4a6659;
|
|
font-size: 1.2rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.info-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* 카드 최소 너비 확대 */
|
|
gap: 28px;
|
|
}
|
|
|
|
.info-card {
|
|
background: rgba(255, 255, 255, 0.75); /* 투명도 살짝 조정 */
|
|
border-radius: 24px;
|
|
padding: 32px; /* 카드 내부 여백 확대 */
|
|
border: 1px solid rgba(15, 61, 46, 0.12);
|
|
box-shadow: 0 10px 30px rgba(15, 61, 46, 0.05); /* 카드에 미세한 그림자 추가 */
|
|
}
|
|
|
|
.card-title {
|
|
margin: 0 0 20px 0;
|
|
font-size: 1.4rem; /* 카드 제목 확대 */
|
|
color: #0f3d2e;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
border-bottom: 1px solid rgba(15, 61, 46, 0.1);
|
|
padding-bottom: 12px;
|
|
}
|
|
|
|
.info-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.info-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 14px 0; /* 아이템 간격 확대 */
|
|
border-bottom: 1px dashed rgba(15, 61, 46, 0.1);
|
|
}
|
|
|
|
.info-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.info-label {
|
|
font-size: 0.9rem;
|
|
color: #5a7369;
|
|
margin-bottom: 6px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.6px;
|
|
}
|
|
|
|
.info-value {
|
|
font-size: 1.15rem; /* 값 텍스트 크기 확대 */
|
|
color: #0a291f;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 6px 16px;
|
|
border-radius: 12px;
|
|
font-size: 1.1rem;
|
|
font-weight: 650;
|
|
background-color: #0f3d2e;
|
|
color: #f8fbff;
|
|
border: 2px solid #185c45;
|
|
box-shadow: 0 4px 12px rgba(15, 61, 46, 0.15);
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.footer-actions {
|
|
margin-top: 48px;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.secondary-button {
|
|
background: linear-gradient(180deg, #185c45 0%, #0f3d2e 100%);
|
|
border: none;
|
|
color: #f8fbff;
|
|
padding: 14px 48px; /* 버튼 크기 유지 및 소폭 조정 */
|
|
border-radius: 20px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
box-shadow: none; /* 초기 그림자 없음 (로그인 입력 전과 동일) */
|
|
opacity: 0.54; /* 초기 투명도 (로그인 입력 전과 동일) */
|
|
transition: all 160ms ease;
|
|
}
|
|
|
|
.secondary-button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 20px 40px rgba(15, 61, 46, 0.28); /* 마우스 오버 시 그림자 생성 */
|
|
opacity: 1; /* 마우스 오버 시 선명하게 */
|
|
}
|
|
|
|
/* Dashboard specific background override */
|
|
.dashboard-shell {
|
|
background:
|
|
linear-gradient(rgba(15, 61, 46, 0.5), rgba(15, 61, 46, 0.7)),
|
|
url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80') !important;
|
|
background-size: cover !important;
|
|
background-position: center !important;
|
|
} |