flare / flare-ui /src /app /components /projects /projects.component.scss
ciyidogan's picture
Upload 44 files
9eba098 verified
raw
history blame
3.21 kB
.projects-container {
height: 100%;
display: flex;
flex-direction: column;
.toolbar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
flex-wrap: wrap;
gap: 16px;
.toolbar-left {
display: flex;
gap: 8px;
align-items: center;
}
.toolbar-right {
display: flex;
gap: 16px;
align-items: center;
.search-field {
width: 300px;
}
.view-toggle {
border: 1px solid #e0e0e0;
border-radius: 4px;
}
}
}
mat-progress-bar {
margin-bottom: 20px;
}
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 20px;
padding-bottom: 20px;
.project-card {
transition: all 0.3s ease;
&:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
&.disabled {
opacity: 0.7;
.project-icon {
background-color: #999 !important;
}
}
&.deleted {
opacity: 0.5;
background-color: #fafafa;
}
.project-icon {
background-color: #3f51b5;
color: white;
}
mat-card-title {
font-size: 18px;
font-weight: 500;
}
mat-card-subtitle {
margin-top: 4px;
}
.project-info {
margin-top: 16px;
.info-item {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
color: #666;
mat-icon {
font-size: 18px;
width: 18px;
height: 18px;
color: #999;
}
span {
font-size: 14px;
}
}
}
mat-card-actions {
padding: 8px 16px;
display: flex;
justify-content: space-between;
button:last-child {
margin-left: auto;
}
}
}
}
.table-container {
flex: 1;
overflow: auto;
background: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
.projects-table {
width: 100%;
.deleted-icon {
color: #f44336;
font-size: 16px;
vertical-align: middle;
margin-left: 8px;
}
.deleted-row {
opacity: 0.5;
background-color: #fafafa;
}
mat-chip {
font-size: 12px;
}
}
}
.no-data {
text-align: center;
padding: 60px 20px;
color: #999;
mat-icon {
font-size: 64px;
height: 64px;
width: 64px;
margin-bottom: 16px;
}
p {
font-size: 16px;
margin: 0 0 24px 0;
}
}
}
@media (max-width: 768px) {
.projects-container {
.toolbar {
.toolbar-left,
.toolbar-right {
width: 100%;
justify-content: center;
}
.search-field {
width: 100%;
}
}
.projects-grid {
grid-template-columns: 1fr;
}
}
}