231 lines
4.0 KiB
CSS
231 lines
4.0 KiB
CSS
/* 템플릿 목록 페이지 스타일 */
|
|
|
|
.template-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
padding: 20px;
|
|
background: linear-gradient(135deg, #AA20FF 0%, #8A1ACC 100%);
|
|
color: white;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.template-stats {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.stat-card {
|
|
flex: 1;
|
|
padding: 20px;
|
|
background: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
text-align: center;
|
|
border-left: 4px solid #AA20FF;
|
|
}
|
|
|
|
.stat-number {
|
|
font-size: 2em;
|
|
font-weight: bold;
|
|
color: #AA20FF;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.stat-label {
|
|
color: #666;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.category-filter {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.category-btn {
|
|
padding: 8px 16px;
|
|
border: 1px solid #ddd;
|
|
background: white;
|
|
color: #666;
|
|
text-decoration: none;
|
|
border-radius: 20px;
|
|
font-size: 0.9em;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.category-btn:hover,
|
|
.category-btn.active {
|
|
background: #AA20FF;
|
|
color: white;
|
|
border-color: #AA20FF;
|
|
}
|
|
|
|
.template-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.template-card {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
transition: all 0.3s ease;
|
|
border: 2px solid transparent;
|
|
}
|
|
|
|
.template-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 8px 24px rgba(0,0,0,0.15);
|
|
border-color: #AA20FF;
|
|
}
|
|
|
|
.template-card-header {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.template-title {
|
|
font-size: 1.3em;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.template-category {
|
|
display: inline-block;
|
|
padding: 4px 12px;
|
|
background: #e9ecef;
|
|
color: #666;
|
|
border-radius: 12px;
|
|
font-size: 0.8em;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.template-description {
|
|
color: #666;
|
|
line-height: 1.5;
|
|
margin-bottom: 15px;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.template-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 0.9em;
|
|
color: #888;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.template-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.btn-template {
|
|
flex: 1;
|
|
padding: 10px 15px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 0.9em;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
text-decoration: none;
|
|
text-align: center;
|
|
}
|
|
|
|
.btn-use {
|
|
background: #AA20FF;
|
|
color: white;
|
|
}
|
|
|
|
.btn-use:hover {
|
|
background: #8A1ACC;
|
|
color: white;
|
|
}
|
|
|
|
.btn-preview {
|
|
background: #fff;
|
|
color: #666;
|
|
border: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.btn-preview:hover {
|
|
background: #e9ecef;
|
|
color: #333;
|
|
}
|
|
|
|
.search-form {
|
|
background: white;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.search-form .form-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.search-form select,
|
|
.search-form input {
|
|
padding: 8px 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.create-btn {
|
|
position: fixed;
|
|
bottom: 30px;
|
|
right: 30px;
|
|
width: 60px;
|
|
height: 60px;
|
|
background: #AA20FF;
|
|
color: white;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-decoration: none;
|
|
font-size: 1.5em;
|
|
box-shadow: 0 4px 12px rgba(170, 32, 255, 0.3);
|
|
transition: all 0.3s;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.create-btn:hover {
|
|
background: #8A1ACC;
|
|
transform: scale(1.1);
|
|
color: white;
|
|
}
|
|
|
|
/* 반응형 */
|
|
@media (max-width: 768px) {
|
|
.template-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.template-stats {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.category-filter {
|
|
justify-content: center;
|
|
}
|
|
|
|
.search-form .form-row {
|
|
flex-direction: column;
|
|
}
|
|
} |