|
|
|
|
@@ -744,11 +744,11 @@ onUnmounted(() => {
|
|
|
|
|
<div class="templateRequestDraft">
|
|
|
|
|
<label class="templateRequestDraft__field">
|
|
|
|
|
<span class="templateRequestDraft__label">요청 제목</span>
|
|
|
|
|
<input v-model="templateRequestDraftTitle" class="input" maxlength="80" placeholder="예: 템플릿 등록 요청" />
|
|
|
|
|
<input v-model="templateRequestDraftTitle" class="templateRequestDraft__input" maxlength="80" placeholder="예: 템플릿 등록 요청" />
|
|
|
|
|
</label>
|
|
|
|
|
<label class="templateRequestDraft__field">
|
|
|
|
|
<span class="templateRequestDraft__label">요청 설명</span>
|
|
|
|
|
<textarea v-model="templateRequestDraftDescription" class="textarea templateRequestDraft__textarea" maxlength="240" placeholder="예: 여름 이벤트 한정 캐릭터 추가용으로 신규 템플릿이 필요합니다." />
|
|
|
|
|
<textarea v-model="templateRequestDraftDescription" class="templateRequestDraft__input templateRequestDraft__textarea" maxlength="240" placeholder="예: 여름 이벤트 한정 캐릭터 추가용으로 신규 템플릿이 필요합니다." />
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modalCard__actions">
|
|
|
|
|
@@ -773,11 +773,11 @@ onUnmounted(() => {
|
|
|
|
|
<div class="templateRequestDraft">
|
|
|
|
|
<label class="templateRequestDraft__field">
|
|
|
|
|
<span class="templateRequestDraft__label">요청 제목</span>
|
|
|
|
|
<input v-model="templateRequestDraftTitle" class="input" maxlength="80" placeholder="예: 템플릿 업데이트 요청" />
|
|
|
|
|
<input v-model="templateRequestDraftTitle" class="templateRequestDraft__input" maxlength="80" placeholder="예: 템플릿 업데이트 요청" />
|
|
|
|
|
</label>
|
|
|
|
|
<label class="templateRequestDraft__field">
|
|
|
|
|
<span class="templateRequestDraft__label">요청 설명</span>
|
|
|
|
|
<textarea v-model="templateRequestDraftDescription" class="textarea templateRequestDraft__textarea" maxlength="240" placeholder="예: 여름 이벤트 한정 캐릭터 추가" />
|
|
|
|
|
<textarea v-model="templateRequestDraftDescription" class="templateRequestDraft__input templateRequestDraft__textarea" maxlength="240" placeholder="예: 여름 이벤트 한정 캐릭터 추가" />
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modalCard__actions">
|
|
|
|
|
@@ -990,13 +990,15 @@ onUnmounted(() => {
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="editorSidebar__section editorSidebar__section--footer">
|
|
|
|
|
<label class="toggle" :class="{ 'toggle--disabled': !canEdit }">
|
|
|
|
|
<label class="toggleSwitch" :class="{ 'toggleSwitch--disabled': !canEdit }">
|
|
|
|
|
<input v-model="isPublic" type="checkbox" :disabled="!canEdit" />
|
|
|
|
|
<span>공개</span>
|
|
|
|
|
<span class="toggleSwitch__track"><span class="toggleSwitch__thumb"></span></span>
|
|
|
|
|
<span class="toggleSwitch__label">공개</span>
|
|
|
|
|
</label>
|
|
|
|
|
<label class="toggle" :class="{ 'toggle--disabled': !canEdit }">
|
|
|
|
|
<label class="toggleSwitch" :class="{ 'toggleSwitch--disabled': !canEdit }">
|
|
|
|
|
<input v-model="showCharacterNames" type="checkbox" :disabled="!canEdit" />
|
|
|
|
|
<span>캐릭터 이름 표시</span>
|
|
|
|
|
<span class="toggleSwitch__track"><span class="toggleSwitch__thumb"></span></span>
|
|
|
|
|
<span class="toggleSwitch__label">캐릭터 이름 표시</span>
|
|
|
|
|
</label>
|
|
|
|
|
<div class="editorSidebar__actionGrid">
|
|
|
|
|
<button class="btn btn--ghost editorSidebar__button" @click="downloadImage">이미지 다운로드</button>
|
|
|
|
|
@@ -1132,23 +1134,55 @@ onUnmounted(() => {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
.toggle {
|
|
|
|
|
.toggleSwitch {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 8px 10px;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
|
|
|
background: rgba(0, 0, 0, 0.12);
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
padding: 10px 12px;
|
|
|
|
|
border-radius: 14px;
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
|
|
background: rgba(255, 255, 255, 0.03);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
user-select: none;
|
|
|
|
|
}
|
|
|
|
|
.toggle input {
|
|
|
|
|
width: 16px;
|
|
|
|
|
height: 16px;
|
|
|
|
|
.toggleSwitch input {
|
|
|
|
|
position: absolute;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
.toggle--disabled {
|
|
|
|
|
.toggleSwitch__track {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 42px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: rgba(255, 255, 255, 0.16);
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
|
|
|
transition: background 180ms ease, border-color 180ms ease;
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
}
|
|
|
|
|
.toggleSwitch__thumb {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 2px;
|
|
|
|
|
left: 2px;
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: rgba(255, 255, 255, 0.94);
|
|
|
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
|
|
|
|
|
transition: transform 180ms ease;
|
|
|
|
|
}
|
|
|
|
|
.toggleSwitch__label {
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
color: rgba(255, 255, 255, 0.9);
|
|
|
|
|
}
|
|
|
|
|
.toggleSwitch input:checked + .toggleSwitch__track {
|
|
|
|
|
background: rgba(96, 165, 250, 0.34);
|
|
|
|
|
border-color: rgba(96, 165, 250, 0.42);
|
|
|
|
|
}
|
|
|
|
|
.toggleSwitch input:checked + .toggleSwitch__track .toggleSwitch__thumb {
|
|
|
|
|
transform: translateX(18px);
|
|
|
|
|
}
|
|
|
|
|
.toggleSwitch--disabled {
|
|
|
|
|
opacity: 0.55;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
@@ -1305,6 +1339,25 @@ onUnmounted(() => {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: rgba(255, 255, 255, 0.64);
|
|
|
|
|
}
|
|
|
|
|
.templateRequestDraft__input {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 14px 0;
|
|
|
|
|
border: 0;
|
|
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
|
|
|
|
|
background: transparent;
|
|
|
|
|
color: rgba(255, 255, 255, 0.94);
|
|
|
|
|
outline: none;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
letter-spacing: -0.02em;
|
|
|
|
|
resize: none;
|
|
|
|
|
}
|
|
|
|
|
.templateRequestDraft__input:focus {
|
|
|
|
|
border-bottom-color: rgba(96, 165, 250, 0.9);
|
|
|
|
|
}
|
|
|
|
|
.templateRequestDraft__input::placeholder {
|
|
|
|
|
color: rgba(255, 255, 255, 0.34);
|
|
|
|
|
}
|
|
|
|
|
.templateRequestDraft__textarea {
|
|
|
|
|
min-height: 92px;
|
|
|
|
|
resize: vertical;
|
|
|
|
|
|