flare / flare-ui /src /app /components /environment /environment.component.scss
ciyidogan's picture
Upload 118 files
9f79da5 verified
:host {
display: block;
padding: 24px;
max-width: 1200px;
margin: 0 auto;
}
mat-card {
mat-card-header {
margin-bottom: 24px;
mat-card-title {
display: flex;
align-items: center;
gap: 8px;
font-size: 24px;
mat-icon {
font-size: 28px;
width: 28px;
height: 28px;
}
}
}
}
.loading-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 48px;
gap: 16px;
p {
color: rgba(0, 0, 0, 0.6);
margin: 0;
}
}
.provider-section {
margin-bottom: 32px;
h3 {
display: flex;
align-items: center;
gap: 8px;
color: rgba(0, 0, 0, 0.87);
margin-bottom: 16px;
font-size: 18px;
font-weight: 500;
mat-icon {
font-size: 24px;
width: 24px;
height: 24px;
}
}
}
.full-width {
width: 100%;
}
mat-form-field {
margin-bottom: 16px;
&.full-width {
width: 100%;
}
}
mat-divider {
margin: 32px 0;
}
.settings-panel {
margin-top: 16px;
background: #f5f5f5;
mat-expansion-panel-header {
mat-panel-title {
display: flex;
align-items: center;
gap: 8px;
mat-icon {
font-size: 20px;
width: 20px;
height: 20px;
}
}
}
.panel-content {
padding: 16px;
.hint-text {
color: rgba(0, 0, 0, 0.6);
font-size: 14px;
margin-bottom: 16px;
}
}
}
mat-slide-toggle {
display: block;
margin-bottom: 16px;
}
.config-item {
margin: 24px 0;
label {
display: block;
color: rgba(0, 0, 0, 0.87);
font-weight: 500;
margin-bottom: 8px;
}
mat-slider {
width: calc(100% - 60px);
display: inline-block;
}
.slider-value {
display: inline-block;
width: 50px;
text-align: right;
color: rgba(0, 0, 0, 0.6);
font-weight: 500;
}
}
mat-card-actions {
padding: 16px 24px;
margin: 0 -24px -24px;
border-top: 1px solid rgba(0, 0, 0, 0.12);
button {
mat-icon {
margin-right: 4px;
}
}
}
// Icon styling in select options
mat-option {
mat-icon {
margin-right: 8px;
vertical-align: middle;
}
}
// Responsive adjustments
@media (max-width: 768px) {
:host {
padding: 16px;
}
.provider-section {
margin-bottom: 24px;
}
mat-divider {
margin: 24px 0;
}
}