client-app/src/app/carnet/goods/goods.component.scss

168 lines
3.8 KiB
SCSS

.goods-container {
.form-section {
margin-bottom: 0.75rem;
}
.checkbox-group {
display: flex;
flex-wrap: wrap;
gap: 16px;
mat-label {
margin-top: 5px;
color: var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));
font-family: var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));
line-height: var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));
font-size: var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));
letter-spacing: var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));
font-weight: var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight));
}
}
.full-width {
width: 100%;
}
.table-actions {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.75rem;
h3 {
margin: 0;
color: var(--mat-sys-primary);
font-weight: 500;
}
.actions {
display: flex;
gap: 16px;
align-items: center;
}
}
.upload-section {
display: flex;
align-items: center;
gap: 8px;
span {
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.table-container {
position: relative;
overflow-x: auto;
.loading-shade {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.7);
display: flex;
align-items: center;
justify-content: center;
z-index: 1;
}
mat-table {
width: 100%;
mat-icon {
cursor: pointer;
transition: all 0.2s ease;
&:hover {
transform: scale(1.1);
}
}
.mat-column-actions {
width: 180px;
text-align: center;
}
}
.no-data-message {
text-align: center;
padding: 0.9rem;
color: rgba(0, 0, 0, 0.54);
mat-icon {
font-size: 1rem;
width: 1rem;
height: 1rem;
margin-bottom: -3px;
}
}
mat-paginator {
border-top: 1px solid rgba(0, 0, 0, 0.12);
border-radius: 0 0 8px 8px;
padding-top: 4px;
}
}
.form-container {
// position: fixed;
// top: 0;
// right: 0;
// bottom: 0;
// width: 400px;
// background: white;
// box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
// padding: 24px;
// overflow-y: auto;
// z-index: 100;
.form-header {
margin-bottom: 24px;
h3 {
margin: 0;
color: var(--mat-sys-primary);
font-weight: 500;
}
}
.form-row {
display: flex;
gap: 16px;
margin-bottom: 16px;
align-items: start;
mat-form-field {
flex: 1;
}
.description {
flex: 2;
}
.country {
flex: 2;
}
}
.form-actions {
display: flex;
justify-content: flex-end;
gap: 16px;
margin-top: 24px;
}
}
.form-actions {
display: flex;
justify-content: flex-end;
margin-top: 0.9rem;
}
}