refactor(admin): 학습센터 관리에서 활성/비활성 제거, 네비에 관리자·관리자 off
- learning-admin: 관리자 모드 토글·인라인 토큰 폼 삭제, 안내 문구는 좌측 메뉴 관리자로 통일 - nav: 관리자 세션 시 로그오프 대신 관리자(모달)·관리자 off(/admin/logout→/learning) - styles: 미사용 관리자 토글 스타일 정리 - README: 관리자 off 동작 반영 Made-with: Cursor
This commit is contained in:
@@ -919,11 +919,6 @@ button.ai-case-inline-link:hover {
|
||||
}
|
||||
|
||||
.admin-mode-header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
@@ -931,75 +926,6 @@ button.ai-case-inline-link:hover {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.admin-mode-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.admin-status {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
padding: 4px 10px;
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
.admin-status.active {
|
||||
background: #dcfce7;
|
||||
color: #166534;
|
||||
}
|
||||
|
||||
.admin-status.inactive {
|
||||
background: #fef3c7;
|
||||
color: #92400e;
|
||||
}
|
||||
|
||||
.btn-admin-off {
|
||||
display: inline-block;
|
||||
padding: 6px 14px;
|
||||
font-size: 13px;
|
||||
color: #6b7280;
|
||||
background: #f3f4f6;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 8px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.btn-admin-off:hover {
|
||||
background: #e5e7eb;
|
||||
color: #374151;
|
||||
}
|
||||
|
||||
.admin-activate-inline {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.admin-activate-inline input[type="password"] {
|
||||
padding: 6px 10px;
|
||||
border: 1px solid #d1d5db;
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
min-width: 140px;
|
||||
}
|
||||
|
||||
.admin-activate-inline button {
|
||||
padding: 6px 14px;
|
||||
font-size: 13px;
|
||||
background: #f59e0b;
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.admin-activate-inline button:hover {
|
||||
background: #d97706;
|
||||
}
|
||||
|
||||
.admin-inline {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
|
||||
Reference in New Issue
Block a user