인디케이터 추가 및 css코드 분리
This commit is contained in:
1 parent
429c8d4708
commit
888ac4fa5e
45 files changed
+13009
-14040
No files matched your search
@@ -0,0 +1,947 @@
|
||||
/* =====================================================
|
||||
Layout Components
|
||||
===================================================== */
|
||||
|
||||
/* Landing Page Container - Free Scroll */
|
||||
.landing-container {
|
||||
width: 100%;
|
||||
height: 100dvh;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
background-color: var(--color-bg-darker);
|
||||
}
|
||||
|
||||
.landing-section {
|
||||
background: var(--Color-teal-800, #002224);
|
||||
min-height: 100dvh;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Page Container */
|
||||
.page-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
padding: var(--spacing-page);
|
||||
overflow: hidden;
|
||||
background-color: #002224;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.page-container {
|
||||
padding: var(--spacing-page-md);
|
||||
}
|
||||
}
|
||||
|
||||
/* Page Container - Full Height with Background */
|
||||
.page-container-full {
|
||||
width: 100%;
|
||||
min-height: 100dvh;
|
||||
color: var(--color-text-white);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: var(--spacing-page);
|
||||
background-color: var(--color-bg-dark);
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.page-container-full {
|
||||
padding: var(--spacing-page-md);
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.page-container-full {
|
||||
padding: 2.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Wizard Page Container - 단계별 페이지 전환용 */
|
||||
.wizard-page-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #002224;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Main Content Area */
|
||||
.main-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
max-width: 72rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 100%;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.main-content {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
|
||||
/* Dashboard Layout */
|
||||
.dashboard-layout {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
min-height: 100dvh;
|
||||
background-color: var(--color-bg-darker);
|
||||
color: var(--color-text-white);
|
||||
}
|
||||
|
||||
.dashboard-content {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
position: relative;
|
||||
overflow-y: auto;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Card Components
|
||||
===================================================== */
|
||||
|
||||
/* Base Card */
|
||||
.card {
|
||||
background-color: var(--color-bg-card);
|
||||
border-radius: var(--radius-3xl);
|
||||
padding: var(--spacing-page);
|
||||
border: 1px solid var(--color-border-white-5);
|
||||
box-shadow: var(--shadow-xl);
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.card {
|
||||
padding: var(--spacing-page-md);
|
||||
}
|
||||
}
|
||||
|
||||
/* Card Variants */
|
||||
.card-flex {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.card-flex-1 {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.card-flex-2 {
|
||||
flex: 2;
|
||||
}
|
||||
|
||||
.card-overflow-hidden {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Card Inner (Darker Background) */
|
||||
.card-inner {
|
||||
background-color: rgba(18, 26, 29, 0.5);
|
||||
border-radius: var(--radius-2xl);
|
||||
border: 1px solid var(--color-border-white-5);
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Header Components
|
||||
===================================================== */
|
||||
|
||||
/* Page Header */
|
||||
.page-header {
|
||||
text-align: center;
|
||||
margin-bottom: 2rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Page Title */
|
||||
.page-title {
|
||||
font-size: var(--text-3xl);
|
||||
font-weight: 700;
|
||||
margin-bottom: 0.5rem;
|
||||
letter-spacing: -0.025em;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.page-title {
|
||||
font-size: var(--text-4xl);
|
||||
}
|
||||
}
|
||||
|
||||
/* Page Subtitle */
|
||||
.page-subtitle {
|
||||
color: var(--color-text-gray-400);
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.page-subtitle {
|
||||
font-size: var(--text-lg);
|
||||
}
|
||||
}
|
||||
|
||||
/* Section Title (Mint color uppercase) */
|
||||
.section-title {
|
||||
color: #94FBE0;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.006em;
|
||||
margin-bottom: 0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Section Title Purple */
|
||||
.section-title-purple {
|
||||
color: #AE72F9;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.006em;
|
||||
margin-bottom: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Button Components
|
||||
===================================================== */
|
||||
|
||||
/* Primary Button (Purple) */
|
||||
.btn-primary {
|
||||
background-color: var(--color-purple);
|
||||
color: var(--color-text-white);
|
||||
font-weight: 700;
|
||||
padding: 1rem 4rem;
|
||||
border-radius: var(--radius-full);
|
||||
transition: all var(--transition-normal);
|
||||
transform: scale(1);
|
||||
box-shadow: var(--shadow-purple);
|
||||
font-size: var(--text-lg);
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background-color: var(--color-purple-hover);
|
||||
}
|
||||
|
||||
.btn-primary:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
.btn-primary:disabled {
|
||||
background-color: #4b5563;
|
||||
color: var(--color-text-gray-400);
|
||||
cursor: not-allowed;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Secondary Button (Mint) */
|
||||
.btn-secondary {
|
||||
background-color: var(--color-mint);
|
||||
color: var(--color-bg-dark);
|
||||
font-weight: 700;
|
||||
padding: 1rem;
|
||||
border-radius: var(--radius-xl);
|
||||
transition: all var(--transition-normal);
|
||||
transform: scale(1);
|
||||
font-size: var(--text-base);
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background-color: var(--color-mint-hover);
|
||||
}
|
||||
|
||||
.btn-secondary:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
.btn-secondary:disabled {
|
||||
background-color: rgba(166, 255, 234, 0.5);
|
||||
color: rgba(18, 26, 29, 0.5);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* Outline Button */
|
||||
.btn-outline {
|
||||
background-color: transparent;
|
||||
border: 1px solid var(--color-border-gray-600);
|
||||
color: var(--color-text-white);
|
||||
font-weight: 700;
|
||||
padding: 1rem 4rem;
|
||||
border-radius: var(--radius-full);
|
||||
transition: all var(--transition-normal);
|
||||
font-size: var(--text-base);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn-outline:hover {
|
||||
border-color: var(--color-text-gray-500);
|
||||
}
|
||||
|
||||
/* Back Button */
|
||||
.btn-back {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem 1.25rem;
|
||||
border-radius: var(--radius-full);
|
||||
border: 1px solid var(--color-border-gray-600);
|
||||
background-color: transparent;
|
||||
color: var(--color-text-gray-300);
|
||||
font-size: var(--text-base);
|
||||
transition: background-color var(--transition-normal);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn-back:hover {
|
||||
background-color: rgba(31, 41, 55, 1);
|
||||
}
|
||||
|
||||
/* Regenerate Button (Mint Outline) */
|
||||
.btn-regenerate {
|
||||
margin-top: 1rem;
|
||||
width: 100%;
|
||||
padding: 0.75rem;
|
||||
background-color: var(--color-mint-20);
|
||||
color: var(--color-mint);
|
||||
border: 1px solid var(--color-mint-30);
|
||||
font-weight: 700;
|
||||
border-radius: var(--radius-xl);
|
||||
transition: background-color var(--transition-normal);
|
||||
font-size: var(--text-base);
|
||||
flex-shrink: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn-regenerate:hover {
|
||||
background-color: var(--color-mint-30);
|
||||
}
|
||||
|
||||
.btn-regenerate:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* Selection Button */
|
||||
.btn-select {
|
||||
padding: 0.75rem;
|
||||
border-radius: var(--radius-xl);
|
||||
border: 1px solid var(--color-border-gray-700);
|
||||
background-color: rgba(18, 26, 29, 0.4);
|
||||
color: var(--color-text-gray-400);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 700;
|
||||
transition: all var(--transition-normal);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn-select:hover {
|
||||
border-color: var(--color-border-gray-600);
|
||||
}
|
||||
|
||||
.btn-select.active {
|
||||
border-color: var(--color-mint);
|
||||
background-color: var(--color-bg-dark);
|
||||
color: var(--color-mint);
|
||||
}
|
||||
|
||||
.btn-select:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Form Components
|
||||
===================================================== */
|
||||
|
||||
/* Select Input */
|
||||
.select-input {
|
||||
width: 100%;
|
||||
padding: 0.75rem 1rem;
|
||||
border-radius: var(--radius-xl);
|
||||
background-color: var(--color-bg-dark);
|
||||
border: 1px solid var(--color-border-gray-700);
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-gray-300);
|
||||
}
|
||||
|
||||
.select-input:focus {
|
||||
outline: none;
|
||||
border-color: var(--color-mint);
|
||||
}
|
||||
|
||||
.select-input:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* Text Input */
|
||||
.text-input {
|
||||
width: 100%;
|
||||
padding: 0.75rem 1rem;
|
||||
border-radius: var(--radius-xl);
|
||||
background-color: var(--color-bg-dark);
|
||||
border: 1px solid var(--color-border-gray-700);
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-gray-300);
|
||||
}
|
||||
|
||||
.text-input:focus {
|
||||
outline: none;
|
||||
border-color: var(--color-mint);
|
||||
}
|
||||
|
||||
/* Textarea - Lyrics */
|
||||
.textarea-lyrics {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-gray-400);
|
||||
background-color: transparent;
|
||||
resize: none;
|
||||
border: none;
|
||||
padding-right: 0.5rem;
|
||||
line-height: 1.625;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.textarea-lyrics:focus {
|
||||
outline: none;
|
||||
color: var(--color-text-gray-300);
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Navigation Components
|
||||
===================================================== */
|
||||
|
||||
/* Back Button Container */
|
||||
.back-button-container {
|
||||
width: 100%;
|
||||
max-width: 1040px;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
margin-bottom: 1.5rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Bottom Button Container */
|
||||
.bottom-button-container {
|
||||
position: fixed;
|
||||
bottom: 32px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
z-index: 30;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.bottom-button-container > * {
|
||||
pointer-events: all;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.bottom-button-container {
|
||||
left: 240px;
|
||||
}
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Sidebar Components
|
||||
===================================================== */
|
||||
|
||||
/* Sidebar Container */
|
||||
.sidebar {
|
||||
position: fixed;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: var(--color-bg-dark);
|
||||
border-right: 1px solid var(--color-border-white-5);
|
||||
transition: all var(--transition-slow);
|
||||
z-index: 50;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.sidebar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar.expanded {
|
||||
width: 15rem;
|
||||
}
|
||||
|
||||
.sidebar.collapsed {
|
||||
width: 5rem;
|
||||
}
|
||||
|
||||
.sidebar.mobile-open {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.sidebar.mobile-closed {
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.sidebar.mobile-closed {
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
|
||||
/* Sidebar Header */
|
||||
.sidebar-header {
|
||||
padding: 1.25rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.sidebar-header.collapsed {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
/* Sidebar Logo */
|
||||
.sidebar-logo {
|
||||
font-family: 'Playfair Display', serif;
|
||||
font-style: italic;
|
||||
font-size: var(--text-2xl);
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.025em;
|
||||
color: var(--color-text-white);
|
||||
cursor: pointer;
|
||||
transition: color var(--transition-normal);
|
||||
}
|
||||
|
||||
.sidebar-logo:hover {
|
||||
color: var(--color-mint);
|
||||
}
|
||||
|
||||
/* Sidebar Menu */
|
||||
.sidebar-menu {
|
||||
flex: 1;
|
||||
padding: 0 0.75rem;
|
||||
margin-top: 1rem;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Sidebar Menu Item */
|
||||
.sidebar-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.75rem 1rem;
|
||||
border-radius: var(--radius-xl);
|
||||
transition: all var(--transition-normal);
|
||||
cursor: pointer;
|
||||
margin-bottom: 0.25rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar-item.collapsed {
|
||||
justify-content: center;
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.sidebar-item.active {
|
||||
background-color: var(--color-mint);
|
||||
color: var(--color-bg-dark);
|
||||
}
|
||||
|
||||
.sidebar-item:not(.active) {
|
||||
color: var(--color-text-gray-400);
|
||||
}
|
||||
|
||||
.sidebar-item:not(.active):not(.disabled):hover {
|
||||
background-color: rgba(255, 255, 255, 0.05);
|
||||
color: var(--color-text-white);
|
||||
}
|
||||
|
||||
.sidebar-item.disabled {
|
||||
opacity: 0.4;
|
||||
cursor: not-allowed;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.sidebar-item-icon {
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: color var(--transition-normal);
|
||||
}
|
||||
|
||||
.sidebar-item.active .sidebar-item-icon {
|
||||
color: var(--color-bg-dark);
|
||||
}
|
||||
|
||||
.sidebar-item-label {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Sidebar Footer */
|
||||
.sidebar-footer {
|
||||
padding: 1rem;
|
||||
margin-top: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
/* Credit Card */
|
||||
.credit-card {
|
||||
background-color: var(--color-bg-card);
|
||||
border-radius: var(--radius-2xl);
|
||||
padding: 1rem;
|
||||
border: 1px solid var(--color-border-white-5);
|
||||
}
|
||||
|
||||
.credit-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.credit-label {
|
||||
color: var(--color-text-gray-400);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.credit-value {
|
||||
color: var(--color-text-white);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.credit-bar {
|
||||
width: 100%;
|
||||
height: 0.375rem;
|
||||
background-color: #1f2937;
|
||||
border-radius: var(--radius-full);
|
||||
overflow: hidden;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.credit-bar-fill {
|
||||
height: 100%;
|
||||
background-color: var(--color-mint);
|
||||
}
|
||||
|
||||
.credit-upgrade-btn {
|
||||
width: 100%;
|
||||
padding: 0.625rem;
|
||||
background-color: var(--color-bg-dark);
|
||||
color: var(--color-text-white);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 700;
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--color-border-gray-700);
|
||||
transition: background-color var(--transition-normal);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.credit-upgrade-btn:hover {
|
||||
background-color: #1f2937;
|
||||
}
|
||||
|
||||
/* Profile Section */
|
||||
.profile-section {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
|
||||
.profile-section.collapsed {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.profile-avatar {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
border-radius: var(--radius-full);
|
||||
border: 1px solid var(--color-border-gray-700);
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.profile-avatar-default {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: var(--color-bg-gray-700);
|
||||
color: var(--color-text-gray-400);
|
||||
}
|
||||
|
||||
.profile-name {
|
||||
color: var(--color-text-white);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 700;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.profile-credits {
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
margin-top: 2px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Sidebar Language Switch */
|
||||
.sidebar-language-switch {
|
||||
padding: 0 1rem 0.75rem;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
/* Toggle container */
|
||||
.lang-toggle {
|
||||
position: relative;
|
||||
display: flex;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
border-radius: 999px;
|
||||
padding: 2px;
|
||||
width: 100%;
|
||||
max-width: 120px;
|
||||
}
|
||||
|
||||
.lang-toggle-option {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding: 4px 0;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.03em;
|
||||
color: rgba(255, 255, 255, 0.4);
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
transition: color 0.3s ease;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.lang-toggle-option.active {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.lang-toggle-option:hover:not(.active) {
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
|
||||
/* Sliding indicator */
|
||||
.lang-toggle-slider {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
bottom: 2px;
|
||||
width: calc(50% - 2px);
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
border-radius: 999px;
|
||||
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.lang-toggle-slider.left {
|
||||
transform: translateX(2px);
|
||||
}
|
||||
|
||||
.lang-toggle-slider.right {
|
||||
transform: translateX(calc(100% + 2px));
|
||||
}
|
||||
|
||||
/* Collapsed state - simple button */
|
||||
.lang-toggle-collapsed {
|
||||
padding: 4px 6px;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.03em;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.lang-toggle-collapsed:hover {
|
||||
color: #ffffff;
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
|
||||
/* Sidebar Footer Actions */
|
||||
.sidebar-footer-actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.sidebar-footer-actions .logout-btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sidebar-inquiry-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.75rem 1rem;
|
||||
color: var(--color-text-gray-400);
|
||||
text-decoration: none;
|
||||
transition: color var(--transition-normal);
|
||||
white-space: nowrap;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 700;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.sidebar-inquiry-btn:hover {
|
||||
color: var(--color-text-white);
|
||||
}
|
||||
|
||||
.sidebar-inquiry-btn.collapsed {
|
||||
justify-content: center;
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
/* Logout Button */
|
||||
.logout-btn {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.75rem 1rem;
|
||||
color: var(--color-text-gray-400);
|
||||
background: none;
|
||||
border: none;
|
||||
transition: color var(--transition-normal);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.logout-btn:hover {
|
||||
color: var(--color-text-white);
|
||||
}
|
||||
|
||||
.logout-btn.collapsed {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.logout-btn-label {
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* 모바일 전용 사이드바 튜토리얼 토글 */
|
||||
.sidebar-tutorial-btn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.sidebar-tutorial-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
width: 100%;
|
||||
margin-top: 0.5rem;
|
||||
padding: 0.75rem;
|
||||
border-radius: var(--radius-lg);
|
||||
color: var(--color-text-gray-400);
|
||||
border: none;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 500;
|
||||
transition: color var(--transition-normal), background-color var(--transition-normal);
|
||||
}
|
||||
|
||||
.sidebar-tutorial-btn:hover {
|
||||
color: var(--color-text-white);
|
||||
background-color: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.sidebar-tutorial-btn.active {
|
||||
color: var(--color-mint);
|
||||
}
|
||||
|
||||
.sidebar-tutorial-label {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.sidebar-tutorial-badge {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.sidebar-tutorial-badge.on {
|
||||
color: var(--color-mint);
|
||||
}
|
||||
|
||||
.sidebar-tutorial-badge.off {
|
||||
color: var(--color-text-gray-400);
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile Menu Button */
|
||||
.mobile-menu-btn {
|
||||
position: fixed;
|
||||
top: 1rem;
|
||||
right: 1rem;
|
||||
z-index: 40;
|
||||
padding: 0.625rem;
|
||||
background-color: var(--color-bg-card);
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--color-border-white-10);
|
||||
color: var(--color-text-gray-400);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mobile-menu-btn:hover {
|
||||
color: var(--color-text-white);
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.mobile-menu-btn {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile Overlay */
|
||||
.mobile-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
z-index: 40;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.mobile-overlay {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,502 @@
|
||||
/* =====================================================
|
||||
Business Settings Components
|
||||
===================================================== */
|
||||
|
||||
/* Settings Container */
|
||||
.settings-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0.75rem;
|
||||
background-color: var(--color-bg-dark);
|
||||
color: var(--color-text-white);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.settings-container {
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.settings-container {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Settings Header */
|
||||
.settings-header {
|
||||
text-align: center;
|
||||
margin-bottom: 1rem;
|
||||
max-width: 42rem;
|
||||
margin-left: 2.5rem;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.settings-header {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.settings-header {
|
||||
margin-bottom: 2rem;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.settings-title {
|
||||
font-size: var(--text-lg);
|
||||
font-weight: 700;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.settings-title {
|
||||
font-size: var(--text-xl);
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.settings-title {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.settings-title {
|
||||
font-size: var(--text-3xl);
|
||||
}
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
color: var(--color-text-gray-400);
|
||||
font-size: 9px;
|
||||
font-weight: 300;
|
||||
line-height: 1.625;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.settings-description {
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.settings-description {
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
}
|
||||
|
||||
/* Settings Card */
|
||||
.settings-card {
|
||||
width: 100%;
|
||||
max-width: 36rem;
|
||||
}
|
||||
|
||||
.settings-card-inner {
|
||||
background-color: var(--color-bg-card);
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 0.75rem;
|
||||
border: 1px solid var(--color-border-white-5);
|
||||
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.settings-card-inner {
|
||||
padding: 1rem;
|
||||
border-radius: var(--radius-2xl);
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.settings-card-inner {
|
||||
padding: 1.5rem;
|
||||
border-radius: var(--radius-3xl);
|
||||
}
|
||||
}
|
||||
|
||||
.settings-card-title {
|
||||
color: var(--color-mint);
|
||||
font-size: 9px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 0.5rem;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.settings-card-title {
|
||||
font-size: 10px;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.settings-card-title {
|
||||
font-size: var(--text-xs);
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Social Items */
|
||||
.social-items {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.social-items {
|
||||
gap: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.social-item {
|
||||
background-color: var(--color-bg-dark);
|
||||
padding: 0.5rem;
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--color-border-white-5);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
transition: border-color var(--transition-normal);
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.social-item {
|
||||
padding: 0.75rem;
|
||||
border-radius: var(--radius-xl);
|
||||
}
|
||||
}
|
||||
|
||||
.social-item:hover {
|
||||
border-color: var(--color-border-white-10);
|
||||
}
|
||||
|
||||
.social-item-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.social-item-left {
|
||||
gap: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.social-item-icon {
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
border-radius: var(--radius-lg);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.social-item-icon {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.social-item-icon-inner {
|
||||
width: 0.75rem;
|
||||
height: 0.75rem;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.social-item-icon-inner {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.social-item-name {
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
color: var(--color-text-gray-300);
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.social-item-name {
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
}
|
||||
|
||||
.social-item-connect {
|
||||
color: var(--color-mint);
|
||||
font-size: 9px;
|
||||
font-weight: 700;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.social-item-connect {
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.social-item-connect:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Footer Component
|
||||
===================================================== */
|
||||
|
||||
/* Landing Footer */
|
||||
.landing-footer {
|
||||
width: 100%;
|
||||
background: var(--Color-teal-800, #002224);
|
||||
padding: 40px 1.5rem;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.landing-footer {
|
||||
padding: 48px 5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.landing-footer {
|
||||
padding: 60px 100px;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
max-width: 1144px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.footer-content {
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 4rem;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-left {
|
||||
min-width: 262px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.footer-logo {
|
||||
height: 24px;
|
||||
width: auto;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.footer-copyright {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #379599;
|
||||
letter-spacing: -0.006em;
|
||||
line-height: 1.19;
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.footer-link {
|
||||
font-size: 13px;
|
||||
color: #379599;
|
||||
text-decoration: none;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.footer-link:hover {
|
||||
opacity: 1;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.footer-link-divider {
|
||||
font-size: 13px;
|
||||
color: #379599;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.footer-right {
|
||||
max-width: 600px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.footer-info {
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
color: #CEE5E6;
|
||||
letter-spacing: -0.006em;
|
||||
line-height: 1.19;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.footer-info {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Header Component
|
||||
===================================================== */
|
||||
|
||||
/* Landing Header */
|
||||
.landing-header {
|
||||
width: calc(100% - 2rem);
|
||||
max-width: 1280px;
|
||||
padding: 12px 12px 12px 24px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
position: fixed;
|
||||
top: 16px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
z-index: 10100;
|
||||
background: rgba(0, 34, 36, 0.3);
|
||||
border: 1px solid rgba(229, 241, 242, 0.2);
|
||||
border-radius: 999px;
|
||||
backdrop-filter: blur(40px);
|
||||
-webkit-backdrop-filter: blur(40px);
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.landing-header {
|
||||
width: calc(100% - 10rem);
|
||||
}
|
||||
}
|
||||
|
||||
.header-logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.header-logo img {
|
||||
height: 100%;
|
||||
width: auto;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.header-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.header-actions .lang-toggle {
|
||||
width: auto;
|
||||
max-width: none;
|
||||
padding: 2px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.header-actions .lang-toggle-option {
|
||||
padding: 4px 10px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.header-login-btn {
|
||||
padding: 10px 24px;
|
||||
border-radius: 999px;
|
||||
background-color: #94FBE0;
|
||||
color: #000000;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
transition: all var(--transition-normal);
|
||||
letter-spacing: -0.006em;
|
||||
line-height: 1.19;
|
||||
}
|
||||
|
||||
.header-login-btn:hover {
|
||||
background-color: #7fe8cc;
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 12px rgba(148, 251, 224, 0.3);
|
||||
}
|
||||
|
||||
.header-login-btn:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
.header-start-btn {
|
||||
padding: 10px 24px;
|
||||
border-radius: 999px;
|
||||
background-color: #AE72F9;
|
||||
color: #FFFFFF;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
transition: all var(--transition-normal);
|
||||
letter-spacing: -0.006em;
|
||||
line-height: 1.19;
|
||||
}
|
||||
|
||||
.header-start-btn:hover {
|
||||
background-color: #9B5DE5;
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 12px rgba(174, 114, 249, 0.3);
|
||||
}
|
||||
|
||||
.header-start-btn:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
.header-avatar {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
border-radius: var(--radius-full);
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--color-border-gray-700);
|
||||
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.header-avatar {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.header-avatar img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Content Safe Area (for Landing Pages)
|
||||
===================================================== */
|
||||
.content-safe-area {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,12 @@
|
||||
/* CASTAD Design System - 도메인별 CSS 파일 매니페스트 */
|
||||
|
||||
@import './tokens.css';
|
||||
@import './base-components.css';
|
||||
@import './media-components.css';
|
||||
@import './generation-flow.css';
|
||||
@import './landing.css';
|
||||
@import './dashboard.css';
|
||||
@import './business-settings.css';
|
||||
@import './studio-assets.css';
|
||||
@import './contents-social.css';
|
||||
@import './modals-overlays.css';
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,593 @@
|
||||
/* =====================================================
|
||||
Player Components
|
||||
===================================================== */
|
||||
|
||||
/* Player Bar */
|
||||
.player-bar {
|
||||
background-color: rgba(0, 0, 0, 0.4);
|
||||
border-radius: var(--radius-full);
|
||||
padding: 0.75rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Play Button */
|
||||
.play-btn {
|
||||
color: var(--color-mint);
|
||||
flex-shrink: 0;
|
||||
transition: transform var(--transition-normal);
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.play-btn:hover {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.play-btn:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* Progress Bar */
|
||||
.progress-bar-container {
|
||||
flex: 1;
|
||||
height: 0.375rem;
|
||||
background-color: #1f2937;
|
||||
border-radius: var(--radius-full);
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.progress-bar-container:disabled,
|
||||
.progress-bar-container.disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.progress-bar-fill {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
background-color: var(--color-mint);
|
||||
border-radius: var(--radius-full);
|
||||
}
|
||||
|
||||
.progress-bar-thumb {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%) translateX(-50%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.progress-bar-thumb-glow {
|
||||
position: absolute;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
background-color: var(--color-mint);
|
||||
border-radius: var(--radius-full);
|
||||
opacity: 0.2;
|
||||
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
||||
}
|
||||
|
||||
.progress-bar-thumb-dot {
|
||||
width: 0.75rem;
|
||||
height: 0.75rem;
|
||||
background-color: var(--color-mint);
|
||||
border-radius: var(--radius-full);
|
||||
box-shadow: var(--shadow-mint-glow);
|
||||
border: 1px solid rgba(18, 26, 29, 0.2);
|
||||
}
|
||||
|
||||
/* Time Display */
|
||||
.time-display {
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-gray-500);
|
||||
font-family: monospace;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Image Grid Components
|
||||
===================================================== */
|
||||
|
||||
/* Image Grid */
|
||||
.image-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.image-grid-4 {
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
/* Image Item */
|
||||
.image-item {
|
||||
aspect-ratio: 1;
|
||||
background-color: rgba(18, 26, 29, 0.5);
|
||||
border-radius: var(--radius-xl);
|
||||
border: 1px solid var(--color-border-white-5);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.image-item img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.image-item-badge {
|
||||
position: absolute;
|
||||
top: 0.5rem;
|
||||
left: 0.5rem;
|
||||
padding: 0.25rem 0.5rem;
|
||||
background-color: var(--color-purple-80);
|
||||
border-radius: 0.25rem;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-white);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.image-item-remove {
|
||||
position: absolute;
|
||||
top: 0.5rem;
|
||||
right: 0.5rem;
|
||||
width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
border-radius: var(--radius-full);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
transition: all var(--transition-normal);
|
||||
}
|
||||
|
||||
.image-item-remove:hover {
|
||||
background-color: rgba(239, 68, 68, 0.8);
|
||||
color: var(--color-text-white);
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Upload Components
|
||||
===================================================== */
|
||||
|
||||
/* Upload Zone */
|
||||
.upload-zone {
|
||||
flex: 1;
|
||||
border: 2px dashed var(--color-border-gray-600);
|
||||
border-radius: var(--radius-2xl);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1.5rem;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
transition: border-color var(--transition-normal);
|
||||
}
|
||||
|
||||
.upload-zone:hover {
|
||||
border-color: rgba(166, 255, 234, 0.5);
|
||||
}
|
||||
|
||||
.upload-zone-icon {
|
||||
margin-bottom: 1rem;
|
||||
color: var(--color-text-gray-500);
|
||||
transition: color var(--transition-normal);
|
||||
}
|
||||
|
||||
.upload-zone:hover .upload-zone-icon {
|
||||
color: var(--color-mint);
|
||||
}
|
||||
|
||||
.upload-zone-title {
|
||||
color: var(--color-text-gray-300);
|
||||
font-size: var(--text-base);
|
||||
font-weight: 500;
|
||||
line-height: 1.625;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.upload-zone-subtitle {
|
||||
color: var(--color-text-gray-500);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Tag Components
|
||||
===================================================== */
|
||||
|
||||
/* Tag */
|
||||
.tag {
|
||||
padding: 0.625rem 1.25rem;
|
||||
background-color: var(--color-bg-card-inner);
|
||||
border-radius: var(--radius-full);
|
||||
font-size: var(--text-base);
|
||||
color: #e5e7eb;
|
||||
border: 1px solid var(--color-border-white-10);
|
||||
}
|
||||
|
||||
/* Tag with Dot */
|
||||
.tag-dot {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-gray-400);
|
||||
}
|
||||
|
||||
.tag-dot::before {
|
||||
content: '';
|
||||
width: 0.375rem;
|
||||
height: 0.375rem;
|
||||
border-radius: var(--radius-full);
|
||||
background-color: var(--color-mint);
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Social Card Components
|
||||
===================================================== */
|
||||
|
||||
/* Social Card */
|
||||
.social-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
background-color: var(--color-bg-dark);
|
||||
padding: 1rem;
|
||||
border-radius: var(--radius-2xl);
|
||||
border: 1px solid var(--color-border-white-5);
|
||||
transition: all var(--transition-normal);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.social-card:hover {
|
||||
border-color: var(--color-border-white-10);
|
||||
}
|
||||
|
||||
.social-card.selected {
|
||||
border-color: var(--color-mint);
|
||||
box-shadow: 0 0 15px rgba(166, 255, 234, 0.15);
|
||||
background-color: var(--color-bg-card);
|
||||
}
|
||||
|
||||
.social-icon {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
border-radius: var(--radius-xl);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
transition: transform var(--transition-slow);
|
||||
}
|
||||
|
||||
.social-icon-inner {
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
color: var(--color-text-white);
|
||||
}
|
||||
|
||||
.social-check {
|
||||
position: absolute;
|
||||
top: -0.25rem;
|
||||
right: -0.25rem;
|
||||
width: 1.25rem;
|
||||
height: 1.25rem;
|
||||
background-color: var(--color-mint);
|
||||
border-radius: var(--radius-full);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--color-bg-dark);
|
||||
border: 2px solid var(--color-bg-dark);
|
||||
}
|
||||
|
||||
.social-name {
|
||||
font-size: var(--text-base);
|
||||
font-weight: 700;
|
||||
transition: color var(--transition-normal);
|
||||
}
|
||||
|
||||
.social-card.selected .social-name {
|
||||
color: var(--color-text-white);
|
||||
}
|
||||
|
||||
.social-card:not(.selected) .social-name {
|
||||
color: var(--color-text-gray-300);
|
||||
}
|
||||
|
||||
.social-email {
|
||||
margin-left: auto;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-purple);
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Video Preview Components
|
||||
===================================================== */
|
||||
|
||||
/* Video Container */
|
||||
.video-container {
|
||||
flex: 1;
|
||||
background-color: #000;
|
||||
border-radius: var(--radius-2xl);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
.video-pattern {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
opacity: 0.1;
|
||||
background-image:
|
||||
linear-gradient(45deg, var(--color-bg-dark) 25%, transparent 25%),
|
||||
linear-gradient(-45deg, var(--color-bg-dark) 25%, transparent 25%),
|
||||
linear-gradient(45deg, transparent 75%, var(--color-bg-dark) 75%),
|
||||
linear-gradient(-45deg, transparent 75%, var(--color-bg-dark) 75%);
|
||||
background-size: 40px 40px;
|
||||
background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
|
||||
}
|
||||
|
||||
.video-controls {
|
||||
position: absolute;
|
||||
bottom: 1rem;
|
||||
left: 1rem;
|
||||
right: 1rem;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.video-controls-inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.video-play-btn {
|
||||
color: var(--color-text-white);
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
transition: color var(--transition-normal);
|
||||
}
|
||||
|
||||
.video-play-btn:hover {
|
||||
color: var(--color-mint);
|
||||
}
|
||||
|
||||
.video-progress {
|
||||
flex: 1;
|
||||
height: 0.375rem;
|
||||
background-color: rgba(255, 255, 255, 0.2);
|
||||
border-radius: var(--radius-full);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.video-progress-fill {
|
||||
height: 100%;
|
||||
background-color: var(--color-mint);
|
||||
}
|
||||
|
||||
/* Video Player */
|
||||
.video-player {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Video Loading State */
|
||||
.video-loading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Video Error State */
|
||||
.video-error {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.video-error svg {
|
||||
width: 4rem;
|
||||
height: 4rem;
|
||||
color: #ef4444;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
/* Social Card Disabled State */
|
||||
.social-card.disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Tags Container
|
||||
===================================================== */
|
||||
|
||||
.tags-container {
|
||||
margin-top: 1rem;
|
||||
background-color: rgba(18, 26, 29, 0.6);
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 0.75rem 1rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
justify-content: center;
|
||||
border: 1px solid var(--color-border-white-5);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Status Messages
|
||||
===================================================== */
|
||||
|
||||
/* Error Message */
|
||||
.error-message {
|
||||
margin-top: 1rem;
|
||||
padding: 0.75rem;
|
||||
background-color: rgba(239, 68, 68, 0.1);
|
||||
border: 1px solid rgba(239, 68, 68, 0.3);
|
||||
border-radius: var(--radius-xl);
|
||||
color: #f87171;
|
||||
font-size: var(--text-sm);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Status Message */
|
||||
.status-message {
|
||||
margin-top: 1rem;
|
||||
padding: 0.75rem;
|
||||
background-color: var(--color-mint-10);
|
||||
border: 1px solid var(--color-mint-30);
|
||||
border-radius: var(--radius-xl);
|
||||
color: var(--color-mint);
|
||||
font-size: var(--text-sm);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
Utility Classes
|
||||
===================================================== */
|
||||
|
||||
/* Flex utilities */
|
||||
.flex-center {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.flex-between {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.flex-col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.flex-1 {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.flex-2 {
|
||||
flex: 2;
|
||||
}
|
||||
|
||||
.shrink-0 {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.min-h-0 {
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
/* Gap utilities */
|
||||
.gap-2 { gap: 0.5rem; }
|
||||
.gap-3 { gap: 0.75rem; }
|
||||
.gap-4 { gap: 1rem; }
|
||||
.gap-6 { gap: 1.5rem; }
|
||||
|
||||
/* Margin utilities */
|
||||
.mb-1 { margin-bottom: 0.25rem; }
|
||||
.mb-2 { margin-bottom: 0.5rem; }
|
||||
.mb-3 { margin-bottom: 0.75rem; }
|
||||
.mb-4 { margin-bottom: 1rem; }
|
||||
.mb-6 { margin-bottom: 1.5rem; }
|
||||
.mt-4 { margin-top: 1rem; }
|
||||
.mt-6 { margin-top: 1.5rem; }
|
||||
|
||||
/* Text utilities */
|
||||
.text-center { text-align: center; }
|
||||
.text-right { text-align: right; }
|
||||
.font-bold { font-weight: 700; }
|
||||
.font-medium { font-weight: 500; }
|
||||
|
||||
/* Overflow utilities */
|
||||
.overflow-hidden { overflow: hidden; }
|
||||
.overflow-y-auto { overflow-y: auto; }
|
||||
|
||||
/* Width utilities */
|
||||
.w-full { width: 100%; }
|
||||
|
||||
/* Animation */
|
||||
@keyframes pulse {
|
||||
0%, 100% { opacity: 0.2; }
|
||||
50% { opacity: 0.4; }
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.animate-spin {
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
.animate-pulse {
|
||||
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
||||
}
|
||||
|
||||
/* Grid utilities */
|
||||
.grid-cols-3 {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
|
||||
/* Space utilities */
|
||||
.space-y-4 > * + * {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.space-y-5 > * + * {
|
||||
margin-top: 1.25rem;
|
||||
}
|
||||
|
||||
/* Min width */
|
||||
.min-w-280 {
|
||||
min-width: 280px;
|
||||
}
|
||||
|
||||
/* Scrollbar utility */
|
||||
.scrollbar-hide {
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
|
||||
.scrollbar-hide::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,74 @@
|
||||
/* =====================================================
|
||||
CASTAD Design System - CSS Variables & Component Classes
|
||||
===================================================== */
|
||||
|
||||
/* =====================================================
|
||||
CSS Variables - Design Tokens
|
||||
===================================================== */
|
||||
:root {
|
||||
/* Primary Colors */
|
||||
--color-mint: #a6ffea;
|
||||
--color-mint-hover: #8affda;
|
||||
--color-mint-glow: rgba(166, 255, 234, 0.6);
|
||||
--color-mint-10: rgba(166, 255, 234, 0.1);
|
||||
--color-mint-20: rgba(166, 255, 234, 0.2);
|
||||
--color-mint-30: rgba(166, 255, 234, 0.3);
|
||||
--color-mint-50: rgba(166, 255, 234, 0.5);
|
||||
|
||||
--color-purple: #a682ff;
|
||||
--color-purple-hover: #9570f0;
|
||||
--color-purple-glow: rgba(166, 130, 255, 0.2);
|
||||
--color-purple-80: rgba(166, 130, 255, 0.8);
|
||||
|
||||
/* Background Colors - Teal-600 based */
|
||||
--color-bg-dark: #002224;
|
||||
--color-bg-darker: #001a1c;
|
||||
--color-bg-card: #003538;
|
||||
--color-bg-card-inner: #004548;
|
||||
|
||||
/* Text Colors */
|
||||
--color-text-white: #ffffff;
|
||||
--color-text-gray-300: #d1d5db;
|
||||
--color-text-gray-400: #9ca3af;
|
||||
--color-text-gray-500: #6b7280;
|
||||
|
||||
/* Border Colors */
|
||||
--color-border-white-5: rgba(255, 255, 255, 0.05);
|
||||
--color-border-white-10: rgba(255, 255, 255, 0.1);
|
||||
--color-border-gray-600: #4b5563;
|
||||
--color-border-gray-700: #374151;
|
||||
|
||||
/* Shadows */
|
||||
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
||||
--shadow-purple: 0 10px 15px -3px rgba(166, 130, 255, 0.2);
|
||||
--shadow-mint-glow: 0 0 10px rgba(166, 255, 234, 0.6);
|
||||
|
||||
/* Spacing */
|
||||
--spacing-page: 1.5rem;
|
||||
--spacing-page-md: 2rem;
|
||||
|
||||
/* Border Radius */
|
||||
--radius-sm: 0.5rem;
|
||||
--radius-md: 0.75rem;
|
||||
--radius-lg: 1rem;
|
||||
--radius-xl: 1.25rem;
|
||||
--radius-2xl: 1rem;
|
||||
--radius-3xl: 1.5rem;
|
||||
--radius-full: 9999px;
|
||||
|
||||
/* Font Sizes */
|
||||
--text-xs: 0.75rem;
|
||||
--text-sm: 0.875rem;
|
||||
--text-base: 1rem;
|
||||
--text-lg: 1.125rem;
|
||||
--text-xl: 1.25rem;
|
||||
--text-2xl: 1.5rem;
|
||||
--text-3xl: 1.875rem;
|
||||
--text-4xl: 2.25rem;
|
||||
|
||||
/* Transitions */
|
||||
--transition-fast: 150ms;
|
||||
--transition-normal: 200ms;
|
||||
--transition-slow: 300ms;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user