Vibe deck UI and hiding notes UI for now
This commit is contained in:
@@ -210,6 +210,101 @@
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.card-grid.detailed-view {
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||
}
|
||||
|
||||
.card-grid.detailed-view .card-cell {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height: 180px;
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.card-grid.detailed-view .card-image-wrapper {
|
||||
width: 130px;
|
||||
height: 100%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.card-grid.detailed-view .card-label {
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-start;
|
||||
padding: 0.75rem;
|
||||
gap: 0.4rem;
|
||||
background: var(--bg-surface);
|
||||
}
|
||||
|
||||
.card-grid.detailed-view .card-name {
|
||||
font-size: 1rem;
|
||||
font-weight: 700;
|
||||
white-space: normal;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.card-stats {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.card-stats .stat {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.card-stats .stat i {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.card-stats .stat:nth-child(1) {
|
||||
color: #ffab40;
|
||||
}
|
||||
|
||||
/* Attack */
|
||||
.card-stats .stat:nth-child(2) {
|
||||
color: #f44336;
|
||||
}
|
||||
|
||||
/* Health */
|
||||
|
||||
.card-description-preview {
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-secondary);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
line-height: 1.4;
|
||||
margin-top: 0.2rem;
|
||||
}
|
||||
|
||||
.sort-group {
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.sort-select {
|
||||
border-radius: var(--radius-sm) 0 0 var(--radius-sm);
|
||||
}
|
||||
|
||||
.sort-dir-btn {
|
||||
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
|
||||
border-left: none;
|
||||
background: var(--bg-surface);
|
||||
}
|
||||
|
||||
.view-toggle-btn {
|
||||
min-width: 40px;
|
||||
background: var(--bg-surface);
|
||||
}
|
||||
|
||||
/* ── Card Cell ── */
|
||||
.card-cell {
|
||||
cursor: pointer;
|
||||
|
||||
Reference in New Issue
Block a user