릴리스: v1.3.75 관리자 모달/사이드바 정리

This commit is contained in:
2026-04-02 16:04:07 +09:00
parent 66c3b1e7b7
commit bd53cf96dc
5 changed files with 53 additions and 7 deletions

View File

@@ -953,21 +953,22 @@ function submitGlobalSearch() {
}
.appShell--leftCollapsed .appUserCard {
min-height: auto;
margin-bottom: 10px;
}
.appShell--leftCollapsed .appUserCard__button,
.appShell--leftCollapsed .appUserCard__guest {
min-height: 44px;
padding: 0;
gap: 0;
justify-content: center;
}
.appShell--leftCollapsed .appUserCard__meta,
.appShell--leftCollapsed .leftNav__label,
.appShell--leftCollapsed .searchStub__input {
opacity: 0;
max-width: 0;
transform: translateX(-4px);
pointer-events: none;
display: none;
}
.appShell--leftCollapsed .appUserCard__avatar {
@@ -976,11 +977,13 @@ function submitGlobalSearch() {
}
.appShell--leftCollapsed .searchStub {
padding: 11px 0;
gap: 0;
justify-content: center;
}
.appShell--leftCollapsed .searchStub__iconButton {
width: auto;
width: 100%;
}
.appShell--leftCollapsed .leftNav {
@@ -988,14 +991,25 @@ function submitGlobalSearch() {
}
.appShell--leftCollapsed .leftNav__item {
padding: 11px 0;
gap: 0;
justify-content: center;
}
.appShell--leftCollapsed .leftNav__glyph {
width: 28px;
height: 28px;
}
.appShell--leftCollapsed .leftRail__bottom {
display: none;
}
.appShell--leftCollapsed .leftRail__content {
display: grid;
align-content: start;
justify-items: stretch;
gap: 12px;
overflow: hidden;
}

View File

@@ -26,6 +26,7 @@ const router = useRouter()
const globalRightRailOpen = inject('rightRailOpen', ref(true))
const localRightRailTarget = inject('localRightRailTarget', '#local-right-rail-root')
const isAdmin = computed(() => !!auth.user?.isAdmin)
const ADMIN_COPYRIGHT_URL = 'https://zenn.town/@murabito'
const activeTab = ref('featured')
const tierlistsMode = ref('requests')
@@ -2389,7 +2390,11 @@ function userAvatarFallback(user) {
</div>
</section>
</aside>
<div v-show="globalRightRailOpen" class="adminSidebarFooter adminUiScope">Copyright © 2026 zenn. All rights reserved.</div>
<div v-show="globalRightRailOpen" class="adminSidebarFooter adminUiScope">
<span>Copyright © 2026 </span>
<a :href="ADMIN_COPYRIGHT_URL" target="_blank" rel="noreferrer">zenn</a>
<span>. All rights reserved.</span>
</div>
</Teleport>
</template>
@@ -2477,6 +2482,14 @@ function userAvatarFallback(user) {
color: var(--theme-text-faint);
opacity: 0.72;
}
.adminUiScope.adminSidebarFooter a {
color: #00ffff;
text-decoration: none;
}
.adminUiScope.adminSidebarFooter a:hover {
color: #00ffff;
text-decoration: underline;
}
.adminUiScope .adminSidebar__panel {
display: grid;
gap: 12px;
@@ -4301,11 +4314,17 @@ function userAvatarFallback(user) {
width: min(560px, 100%);
display: grid;
gap: 14px;
padding: 20px;
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.12);
background: color-mix(in srgb, var(--theme-main-bg) 96%, transparent);
}
.adminUiScope .modalCard:not(.modalCard--customItem) {
padding: 20px;
}
.adminUiScope .modalCard.modalCard--customItem {
gap: 0;
padding: 0;
}
.adminUiScope .modalCard--preview {
width: min(1200px, 100%);
max-height: calc(100dvh - 40px);