Initial
This commit is contained in:
171
listify-client/src/app/workspace-page.scss
Normal file
171
listify-client/src/app/workspace-page.scss
Normal file
@@ -0,0 +1,171 @@
|
||||
.workspace-page {
|
||||
width: min(100%, 1120px);
|
||||
margin: 0 auto;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.page-header h1 {
|
||||
margin: 0;
|
||||
font-size: 1.6rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.page-header p {
|
||||
margin: 0.35rem 0 0;
|
||||
color: var(--mat-sys-on-surface-variant);
|
||||
}
|
||||
|
||||
.state-card,
|
||||
.empty-state {
|
||||
border-radius: 8px;
|
||||
background: color-mix(in srgb, var(--mat-sys-surface-container-low) 94%, white);
|
||||
}
|
||||
|
||||
.state-card mat-card-content,
|
||||
.empty-state mat-card-content {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
gap: 0.65rem;
|
||||
padding: 2rem 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.state-card mat-icon,
|
||||
.empty-state mat-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
color: var(--mat-sys-primary);
|
||||
font-size: 48px;
|
||||
}
|
||||
|
||||
.state-card h2,
|
||||
.empty-state h2 {
|
||||
margin: 0;
|
||||
font-size: 1.25rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.state-card p,
|
||||
.empty-state p {
|
||||
max-width: 460px;
|
||||
margin: 0;
|
||||
color: var(--mat-sys-on-surface-variant);
|
||||
}
|
||||
|
||||
.error-state mat-icon {
|
||||
color: var(--mat-sys-error);
|
||||
}
|
||||
|
||||
.template-grid {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.template-card {
|
||||
border-radius: 8px;
|
||||
background: color-mix(in srgb, var(--mat-sys-surface-container-low) 94%, white);
|
||||
}
|
||||
|
||||
.template-card mat-card-header {
|
||||
padding-bottom: 0.35rem;
|
||||
}
|
||||
|
||||
.template-description {
|
||||
margin: 0.5rem 0 0;
|
||||
color: var(--mat-sys-on-surface-variant);
|
||||
}
|
||||
|
||||
.template-meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem 0.85rem;
|
||||
margin-top: 0.9rem;
|
||||
color: var(--mat-sys-on-surface-variant);
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.template-meta span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.3rem;
|
||||
}
|
||||
|
||||
.template-meta mat-icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.template-items {
|
||||
display: grid;
|
||||
gap: 0.45rem;
|
||||
margin: 1rem 0 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.template-items li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
min-width: 0;
|
||||
color: var(--mat-sys-on-surface);
|
||||
}
|
||||
|
||||
.template-items li mat-icon {
|
||||
flex: 0 0 auto;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
color: var(--mat-sys-primary);
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.template-items li span {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@media (min-width: 701px) {
|
||||
.workspace-page {
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.page-header h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.state-card mat-card-content,
|
||||
.empty-state mat-card-content {
|
||||
padding: 3rem 1.5rem;
|
||||
}
|
||||
|
||||
mat-card-content {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
.template-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1040px) {
|
||||
.template-grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user