인디케이터 추가 및 css코드 분리
This commit is contained in:
1 parent
429c8d4708
commit
888ac4fa5e
45 files changed
+13009
-14040
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user