276 lines
4.3 KiB
CSS
276 lines
4.3 KiB
CSS
.stories-page {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.stories-header {
|
|
text-align: center;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.stories-header h1 {
|
|
font-size: 2.5rem;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.stories-header p {
|
|
color: #888;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.stories-controls {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-bottom: 2rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.search-input {
|
|
flex: 1;
|
|
min-width: 250px;
|
|
padding: 0.75rem 1rem;
|
|
border: 2px solid #333;
|
|
border-radius: 12px;
|
|
background: #1a1a1a;
|
|
color: white;
|
|
font-size: 1rem;
|
|
transition: border-color 0.3s;
|
|
}
|
|
|
|
.search-input:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
}
|
|
|
|
.create-btn {
|
|
padding: 0.75rem 1.5rem;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 12px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition:
|
|
transform 0.2s,
|
|
box-shadow 0.2s;
|
|
}
|
|
|
|
.create-btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 4rem 2rem;
|
|
background: #1a1a1a;
|
|
border-radius: 20px;
|
|
border: 2px dashed #333;
|
|
}
|
|
|
|
.empty-icon {
|
|
font-size: 4rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.empty-state h2 {
|
|
color: #ccc;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.empty-state p {
|
|
color: #888;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.stories-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.story-card {
|
|
background: #1a1a1a;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
border: 1px solid #333;
|
|
transition:
|
|
transform 0.3s,
|
|
box-shadow 0.3s;
|
|
}
|
|
|
|
.story-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.story-cover {
|
|
height: 160px;
|
|
background: linear-gradient(135deg, #2d1f3d 0%, #1a1a2e 100%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-size: cover;
|
|
background-position: center;
|
|
position: relative;
|
|
}
|
|
|
|
.cover-placeholder {
|
|
font-size: 4rem;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.nsfw-badge {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
padding: 0.3rem 0.6rem;
|
|
background: linear-gradient(135deg, #ff4757 0%, #ff6b6b 100%);
|
|
color: white;
|
|
border-radius: 6px;
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
|
|
}
|
|
|
|
.story-content {
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.story-content h3 {
|
|
margin: 0 0 0.75rem;
|
|
font-size: 1.25rem;
|
|
color: white;
|
|
}
|
|
|
|
.story-genres {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.genre-tag {
|
|
padding: 0.25rem 0.75rem;
|
|
background: rgba(102, 126, 234, 0.2);
|
|
color: #a0b4ff;
|
|
border-radius: 20px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.story-description {
|
|
color: #aaa;
|
|
font-size: 0.9rem;
|
|
line-height: 1.5;
|
|
margin-bottom: 1rem;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.story-meta {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
font-size: 0.85rem;
|
|
color: #888;
|
|
}
|
|
|
|
.story-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.btn {
|
|
padding: 0.5rem 1rem;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-view {
|
|
background: #2a2a2a;
|
|
color: #ccc;
|
|
}
|
|
|
|
.btn-view:hover {
|
|
background: #333;
|
|
}
|
|
|
|
.btn-play {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
flex: 1;
|
|
}
|
|
|
|
.btn-play:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.btn-delete {
|
|
background: #2a2a2a;
|
|
color: #ff6b6b;
|
|
}
|
|
|
|
.btn-delete:hover {
|
|
background: rgba(255, 107, 107, 0.2);
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.stories-page {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.stories-header h1 {
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
.stories-header p {
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.stories-controls {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.search-input {
|
|
min-width: 100%;
|
|
}
|
|
|
|
.create-btn {
|
|
text-align: center;
|
|
}
|
|
|
|
.stories-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.story-card {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.story-info h2 {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.story-meta {
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
}
|