fix: 관리자 전역 CSS 오염 제거
TaxBaik CI/CD / build-and-deploy (push) Successful in 1m11s
TaxBaik Browser E2E / browser-e2e (push) Successful in 1m28s

This commit is contained in:
2026-06-27 21:48:26 +09:00
parent aec65905d9
commit 5df5b596c8
2 changed files with 25 additions and 27 deletions
@@ -10,7 +10,7 @@
<MudThemeProvider />
<MudContainer MaxWidth="MaxWidth.Small" Class="d-flex align-center justify-center" Style="min-height: 100vh;">
<MudContainer MaxWidth="MaxWidth.Small" Class="admin-login-page d-flex align-center justify-center" Style="min-height: 100vh;">
<MudPaper Class="pa-8" Elevation="3" Style="width: 100%; max-width: 400px;">
<MudText Typo="Typo.h4" Class="mb-6 text-center">관리자 로그인</MudText>
+24 -26
View File
@@ -44,47 +44,45 @@ html, body {
margin-left: 12px !important;
}
/* MudContainer */
.mud-container {
/* Login page scoped fallback styles. Keep these scoped so they do not override MudBlazor globally. */
.admin-login-page.mud-container {
width: 100%;
margin: 0 auto;
}
.mud-container-maxwidth-small {
.admin-login-page.mud-container-maxwidth-small {
max-width: 600px !important;
}
/* MudPaper */
.mud-paper {
.admin-login-page .mud-paper {
background-color: white;
border-radius: 4px;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12);
padding: 16px;
}
.mud-paper.elevation-3 {
.admin-login-page .mud-paper.elevation-3 {
box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}
/* MudText */
.mud-typography {
.admin-login-page .mud-typography {
color: #333;
line-height: 1.5;
}
.mud-typography--h4 {
.admin-login-page .mud-typography--h4 {
font-size: 2.125rem;
font-weight: 500;
color: #1976d2;
}
.mud-typography--body1 {
.admin-login-page .mud-typography--body1 {
font-size: 1rem;
}
/* Form Elements */
input[type="text"],
input[type="password"] {
.admin-login-page input[type="text"],
.admin-login-page input[type="password"] {
width: 100%;
padding: 12px;
margin-bottom: 12px;
@@ -95,14 +93,14 @@ input[type="password"] {
transition: border-color 0.3s;
}
input[type="text"]:focus,
input[type="password"]:focus {
.admin-login-page input[type="text"]:focus,
.admin-login-page input[type="password"]:focus {
outline: none;
border-color: #1976d2;
box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}
label {
.admin-login-page label {
display: block;
margin-bottom: 6px;
font-weight: 500;
@@ -110,8 +108,8 @@ label {
font-size: 0.875rem;
}
/* MudButton */
button {
/* Login button fallback. Do not apply this to all admin buttons. */
.admin-login-page button {
width: 100%;
padding: 12px 24px;
margin-top: 12px;
@@ -125,17 +123,17 @@ button {
transition: background-color 0.3s;
}
button:hover {
.admin-login-page button:hover {
background-color: #1565c0;
}
button:disabled {
.admin-login-page button:disabled {
background-color: #bdbdbd;
cursor: not-allowed;
}
/* MudAlert */
.mud-alert {
.admin-login-page .mud-alert {
padding: 12px 16px;
margin-bottom: 16px;
border-radius: 4px;
@@ -144,23 +142,23 @@ button:disabled {
color: #c62828;
}
.mud-alert--error {
.admin-login-page .mud-alert--error {
background-color: #ffebee;
color: #c62828;
}
.mud-alert--success {
.admin-login-page .mud-alert--success {
background-color: #e8f5e9;
color: #2e7d32;
}
.mud-alert--info {
.admin-login-page .mud-alert--info {
background-color: #e3f2fd;
color: #1565c0;
}
/* Progress Circle */
.mud-progress-circular {
.admin-login-page .mud-progress-circular {
display: inline-block;
}
@@ -206,12 +204,12 @@ button:disabled {
/* Responsive */
@media (max-width: 600px) {
.mud-container-maxwidth-small {
.admin-login-page.mud-container-maxwidth-small {
max-width: 100% !important;
padding: 16px;
}
.mud-typography--h4 {
.admin-login-page .mud-typography--h4 {
font-size: 1.5rem;
}
}