service-provider-app/src/app/holder/search/search-holder.component.scss

116 lines
2.3 KiB
SCSS

.page-header {
margin: 0.5rem 0 0;
color: var(--mat-sys-primary);
font-weight: 500;
}
.form-actions {
display: flex;
justify-content: flex-end;
gap: 16px;
margin-top: 16px;
}
.manage-holder-container {
display: flex;
flex-direction: column;
gap: 1rem;
width: 100%;
.search-fields {
display: flex;
flex-direction: column;
gap: 16px;
.form-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 16px;
align-items: start;
.name {
grid-column: span 2;
}
}
}
.search-actions {
display: flex;
justify-content: flex-end;
gap: 0.5rem;
margin-top: 0.9rem;
button {
display: flex;
align-items: center;
}
}
.results-section {
position: relative;
overflow: auto;
border-radius: 8px;
.loading-shade {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.7);
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
}
mat-slide-toggle {
transform: scale(0.8);
margin-left: -0.5rem;
}
.selected-holder {
color: #28a745;
font-weight: 500;
}
.actions-icons {
display: flex;
}
.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;
}
}
}
@media (max-width: 960px) {
.manage-holder-container {
.search-form {
.search-fields {
.form-row {
grid-template-columns: 1fr;
.name {
grid-column: span 1;
}
}
}
}
}
}