v4.0.0: 덱 UX·i18n·썸네일 저장 개선 및 413 수정
즐겨찾기·홀드 미리보기·페이지 도움말·3개국어 번역을 추가하고, 덱 저장 시 썸네일을 1200px로 통일하며 Nginx/API 업로드 제한을 상향했다. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -43,7 +43,6 @@
|
||||
.admin-main {
|
||||
max-width: 80rem;
|
||||
margin: 0 auto;
|
||||
padding: 3rem 1.5rem 5rem;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
|
||||
@@ -101,6 +101,12 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.app-ad-slot--skyscraper:has(ins.adsbygoogle) {
|
||||
min-height: auto;
|
||||
border: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.app-ad-slot ins {
|
||||
display: block;
|
||||
width: 100%;
|
||||
@@ -130,3 +136,53 @@
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* 페이지 제목 + ? 도움말 */
|
||||
.page-title-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.625rem;
|
||||
}
|
||||
|
||||
.page-title-row h1 {
|
||||
margin: 0;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.page-help-btn {
|
||||
flex-shrink: 0;
|
||||
width: 1.625rem;
|
||||
height: 1.625rem;
|
||||
border-radius: 50%;
|
||||
border: 1px solid #cbd5e1;
|
||||
background: #f8fafc;
|
||||
color: #64748b;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 800;
|
||||
cursor: pointer;
|
||||
line-height: 1;
|
||||
padding: 0;
|
||||
transition: background 0.2s, border-color 0.2s, color 0.2s;
|
||||
}
|
||||
|
||||
.page-help-btn:hover,
|
||||
.page-help-btn[aria-expanded='true'] {
|
||||
background: #eff6ff;
|
||||
border-color: #93c5fd;
|
||||
color: #2563eb;
|
||||
}
|
||||
|
||||
.page-help-tooltip {
|
||||
position: absolute;
|
||||
z-index: 300;
|
||||
max-width: min(22rem, calc(100vw - 2rem));
|
||||
padding: 0.75rem 1rem;
|
||||
font-size: 0.8125rem;
|
||||
line-height: 1.55;
|
||||
color: #334155;
|
||||
background: #fff;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 0.75rem;
|
||||
box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
|
||||
}
|
||||
|
||||
@@ -2,68 +2,69 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.auth-avatar-btn {
|
||||
.auth-profile-trigger {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
max-width: 12.5rem;
|
||||
padding: 0.125rem 0.5rem 0.125rem 0.125rem;
|
||||
border: none;
|
||||
border-radius: 9999px;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.auth-profile-trigger:hover {
|
||||
background: #f1f5f9;
|
||||
}
|
||||
|
||||
.auth-profile-trigger:focus-visible {
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
|
||||
}
|
||||
|
||||
.auth-profile-trigger--guest {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.auth-profile-trigger--named {
|
||||
padding-right: 0.625rem;
|
||||
}
|
||||
|
||||
.auth-avatar-circle {
|
||||
flex-shrink: 0;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 9999px;
|
||||
border: 2px solid #e2e8f0;
|
||||
background: #f1f5f9;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0;
|
||||
padding: 0;
|
||||
transition: border-color 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.auth-avatar-btn.auth-profile-btn--named {
|
||||
padding-right: 12px;
|
||||
gap: 8px;
|
||||
max-width: 180px;
|
||||
}
|
||||
|
||||
.auth-avatar-btn:hover {
|
||||
border-color: #3b82f6;
|
||||
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
|
||||
}
|
||||
|
||||
.auth-avatar-wrap {
|
||||
flex-shrink: 0;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin: 2px;
|
||||
border-radius: 9999px;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
|
||||
.auth-avatar-wrap img {
|
||||
.auth-profile-trigger:hover .auth-avatar-circle {
|
||||
border-color: #3b82f6;
|
||||
}
|
||||
|
||||
.auth-avatar-circle img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.auth-username {
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 700;
|
||||
color: #334155;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.auth-avatar-btn:not(.auth-profile-btn--named) {
|
||||
width: 36px;
|
||||
}
|
||||
|
||||
.auth-avatar-btn:not(.auth-profile-btn--named) .auth-avatar-wrap {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.auth-dropdown {
|
||||
|
||||
@@ -18,22 +18,17 @@
|
||||
font-size: 1.75rem;
|
||||
font-weight: 900;
|
||||
color: #0f172a;
|
||||
margin: 0 0 0.5rem;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.deck-history-header p {
|
||||
font-size: 0.875rem;
|
||||
color: #64748b;
|
||||
margin: 0;
|
||||
line-height: 1.5;
|
||||
.deck-history-header .page-title-row {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.deck-history-toolbar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
align-items: center;
|
||||
margin-bottom: 1.5rem;
|
||||
padding: 1rem 1.25rem;
|
||||
background: #fff;
|
||||
@@ -46,9 +41,36 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
.deck-search-input {
|
||||
.deck-toolbar-fav-row {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
padding-bottom: 0.75rem;
|
||||
border-bottom: 1px solid #f1f5f9;
|
||||
}
|
||||
|
||||
.deck-toolbar-main-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.deck-toolbar-main-row .deck-search-input {
|
||||
flex: 1 1 12rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.deck-toolbar-main-row .deck-series-select {
|
||||
flex: 0 1 11rem;
|
||||
min-width: 9rem;
|
||||
}
|
||||
|
||||
.deck-toolbar-main-row .deck-count-label {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.deck-search-input {
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 0.75rem;
|
||||
padding: 0.625rem 1rem;
|
||||
@@ -70,8 +92,6 @@
|
||||
}
|
||||
|
||||
.deck-series-select {
|
||||
flex: 0 1 11rem;
|
||||
min-width: 9rem;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 0.75rem;
|
||||
padding: 0.625rem 2rem 0.625rem 1rem;
|
||||
@@ -97,6 +117,74 @@
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.deck-favorite-filter {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
width: 100%;
|
||||
padding: 0.625rem 1rem;
|
||||
border: 1px solid #fde68a;
|
||||
border-radius: 0.75rem;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 700;
|
||||
color: #92400e;
|
||||
background: #fffbeb;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.deck-favorite-filter:hover {
|
||||
background: #fef3c7;
|
||||
border-color: #fcd34d;
|
||||
}
|
||||
|
||||
.deck-favorite-filter[aria-pressed='true'] {
|
||||
color: #78350f;
|
||||
background: #fef08a;
|
||||
border-color: #f59e0b;
|
||||
box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.35);
|
||||
}
|
||||
|
||||
.deck-favorite-filter-icon {
|
||||
font-size: 1.125rem;
|
||||
line-height: 1;
|
||||
color: #f59e0b;
|
||||
}
|
||||
|
||||
.deck-favorite-filter .deck-star-icon {
|
||||
color: #fbbf24;
|
||||
}
|
||||
|
||||
.deck-favorite-filter .deck-star-icon.is-on {
|
||||
color: #d97706;
|
||||
}
|
||||
|
||||
.deck-fav-count {
|
||||
margin-left: auto;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 800;
|
||||
color: #b45309;
|
||||
}
|
||||
|
||||
.deck-star-icon {
|
||||
display: inline-block;
|
||||
font-size: 1rem;
|
||||
line-height: 1;
|
||||
color: #cbd5e1;
|
||||
}
|
||||
|
||||
.deck-star-icon::before {
|
||||
content: '☆';
|
||||
}
|
||||
|
||||
.deck-star-icon.is-on {
|
||||
color: #f59e0b;
|
||||
}
|
||||
|
||||
.deck-star-icon.is-on::before {
|
||||
content: '★';
|
||||
}
|
||||
|
||||
.deck-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
||||
@@ -117,7 +205,7 @@
|
||||
background: #fff;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 1rem;
|
||||
overflow: hidden;
|
||||
overflow: visible;
|
||||
box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
|
||||
transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
|
||||
}
|
||||
@@ -128,12 +216,18 @@
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.deck-card.is-favorite {
|
||||
border-color: #fcd34d;
|
||||
box-shadow: 0 2px 12px rgba(245, 158, 11, 0.12);
|
||||
}
|
||||
|
||||
.deck-card-preview {
|
||||
position: relative;
|
||||
aspect-ratio: 16 / 9;
|
||||
background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
|
||||
border-bottom: 1px solid #e2e8f0;
|
||||
overflow: hidden;
|
||||
border-radius: 1rem 1rem 0 0;
|
||||
}
|
||||
|
||||
.deck-card-preview img {
|
||||
@@ -141,7 +235,18 @@
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
object-position: center;
|
||||
background: #f8fafc;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.deck-card-preview--holdable {
|
||||
cursor: zoom-in;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
.deck-card-preview--holdable:active {
|
||||
opacity: 0.92;
|
||||
}
|
||||
|
||||
.deck-card-preview-placeholder {
|
||||
@@ -213,6 +318,83 @@
|
||||
gap: 0.5rem;
|
||||
margin-top: auto;
|
||||
padding-top: 0.5rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.deck-card-actions--primary .deck-card-btn-load {
|
||||
flex: 1.4;
|
||||
}
|
||||
|
||||
.deck-card-more-wrap {
|
||||
position: relative;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.deck-card-more-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 2.25rem;
|
||||
height: 2.25rem;
|
||||
padding: 0;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 0.625rem;
|
||||
background: #f8fafc;
|
||||
color: #64748b;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s, border-color 0.2s, color 0.2s;
|
||||
}
|
||||
|
||||
.deck-card-more-btn:hover,
|
||||
.deck-card-more-btn[aria-expanded='true'] {
|
||||
background: #fff;
|
||||
border-color: #cbd5e1;
|
||||
color: #334155;
|
||||
}
|
||||
|
||||
.deck-card-more-menu {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: calc(100% + 0.35rem);
|
||||
z-index: 20;
|
||||
min-width: 9.5rem;
|
||||
padding: 0.35rem;
|
||||
background: #fff;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 0.75rem;
|
||||
box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
|
||||
}
|
||||
|
||||
.deck-card-more-menu.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.deck-card-more-item {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0.55rem 0.75rem;
|
||||
border: none;
|
||||
border-radius: 0.5rem;
|
||||
background: transparent;
|
||||
color: #334155;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
.deck-card-more-item:hover {
|
||||
background: #f1f5f9;
|
||||
}
|
||||
|
||||
.deck-card-more-item--danger {
|
||||
color: #dc2626;
|
||||
}
|
||||
|
||||
.deck-card-more-item--danger:hover {
|
||||
background: #fef2f2;
|
||||
}
|
||||
|
||||
.deck-card-btn {
|
||||
@@ -240,6 +422,31 @@
|
||||
background: #1d4ed8;
|
||||
}
|
||||
|
||||
.deck-card-btn-favorite {
|
||||
background: #fffbeb;
|
||||
color: #92400e;
|
||||
border: 1px solid #fde68a;
|
||||
}
|
||||
|
||||
.deck-card-btn-favorite:hover {
|
||||
background: #fef3c7;
|
||||
border-color: #fcd34d;
|
||||
}
|
||||
|
||||
.deck-card-btn-favorite.is-on {
|
||||
background: #fef08a;
|
||||
color: #78350f;
|
||||
border-color: #f59e0b;
|
||||
}
|
||||
|
||||
.deck-card-btn-favorite.is-on:hover {
|
||||
background: #fde047;
|
||||
}
|
||||
|
||||
.deck-card-btn-favorite .deck-star-icon {
|
||||
margin-right: 0.15rem;
|
||||
}
|
||||
|
||||
.deck-card-btn-copy {
|
||||
background: #f1f5f9;
|
||||
color: #475569;
|
||||
@@ -316,3 +523,39 @@
|
||||
.deck-status-message.error {
|
||||
color: #ef4444;
|
||||
}
|
||||
|
||||
.deck-preview-hold-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 200;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1.5rem;
|
||||
background: rgba(15, 23, 42, 0.72);
|
||||
backdrop-filter: blur(4px);
|
||||
cursor: zoom-out;
|
||||
}
|
||||
|
||||
.deck-preview-hold-overlay.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.deck-preview-hold-box {
|
||||
max-width: min(92vw, 56rem);
|
||||
max-height: min(88vh, 40rem);
|
||||
background: #fff;
|
||||
border-radius: 1rem;
|
||||
padding: 0.75rem;
|
||||
box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.deck-preview-hold-box img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
max-height: min(84vh, 38rem);
|
||||
width: auto;
|
||||
height: auto;
|
||||
margin: 0 auto;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
@@ -15,19 +15,16 @@
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.profile-header .page-title-row {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.profile-header h1 {
|
||||
margin: 0 0 0.5rem;
|
||||
font-size: 1.75rem;
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.profile-header p {
|
||||
margin: 0;
|
||||
font-size: 0.875rem;
|
||||
color: #64748b;
|
||||
}
|
||||
|
||||
.profile-card {
|
||||
background: #fff;
|
||||
border: 1px solid #e2e8f0;
|
||||
@@ -163,12 +160,32 @@
|
||||
}
|
||||
|
||||
.profile-section-title {
|
||||
margin: 0 0 0.375rem;
|
||||
font-size: 0.9375rem;
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
font-weight: 800;
|
||||
color: #0f172a;
|
||||
}
|
||||
|
||||
.profile-section-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.profile-section-head .profile-section-title {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.profile-settings-panel {
|
||||
margin-bottom: 0.5rem;
|
||||
padding: 0.25rem 1rem;
|
||||
background: #f8fafc;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
.profile-section-desc {
|
||||
margin: 0 0 1rem;
|
||||
font-size: 0.8125rem;
|
||||
@@ -180,35 +197,64 @@
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding: 0.75rem 0;
|
||||
padding: 0.875rem 0;
|
||||
}
|
||||
|
||||
.profile-toggle-row + .profile-toggle-row {
|
||||
border-top: 1px solid #f1f5f9;
|
||||
border-top: 1px solid #e2e8f0;
|
||||
}
|
||||
|
||||
.profile-toggle-text {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.profile-toggle-label {
|
||||
display: block;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
color: #334155;
|
||||
font-weight: 700;
|
||||
color: #0f172a;
|
||||
}
|
||||
|
||||
.profile-toggle-hint {
|
||||
display: block;
|
||||
font-size: 0.75rem;
|
||||
color: #64748b;
|
||||
margin-top: 0.2rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.profile-toggle-wrap {
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.profile-toggle-state {
|
||||
min-width: 1.75rem;
|
||||
font-size: 0.6875rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.04em;
|
||||
text-align: right;
|
||||
color: #94a3b8;
|
||||
margin-top: 0.125rem;
|
||||
}
|
||||
|
||||
.profile-toggle-state.is-on {
|
||||
color: #2563eb;
|
||||
}
|
||||
|
||||
.profile-toggle {
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
display: inline-flex;
|
||||
width: 2.75rem;
|
||||
height: 1.5rem;
|
||||
width: 3rem;
|
||||
height: 1.625rem;
|
||||
align-items: center;
|
||||
border: none;
|
||||
border-radius: 9999px;
|
||||
background: #e2e8f0;
|
||||
background: #cbd5e1;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
padding: 0;
|
||||
@@ -218,19 +264,37 @@
|
||||
background: #2563eb;
|
||||
}
|
||||
|
||||
.profile-toggle:focus-visible {
|
||||
outline: 2px solid #93c5fd;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.profile-toggle-circle {
|
||||
display: inline-block;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
width: 1.25rem;
|
||||
height: 1.25rem;
|
||||
border-radius: 9999px;
|
||||
background: #fff;
|
||||
transform: translateX(0.25rem);
|
||||
transform: translateX(0.2rem);
|
||||
transition: transform 0.2s;
|
||||
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
|
||||
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.profile-toggle-circle.is-on {
|
||||
transform: translateX(1.5rem);
|
||||
transform: translateX(1.55rem);
|
||||
}
|
||||
|
||||
.profile-prefs-notice {
|
||||
margin: 0.5rem 0 0;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
color: #059669;
|
||||
min-height: 1.125rem;
|
||||
}
|
||||
|
||||
.profile-prefs-notice:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.profile-btn-outline {
|
||||
|
||||
Reference in New Issue
Block a user