Spaces:
Building
Building
Update flare-ui/src/app/components/environment/environment.component.scss
Browse files
flare-ui/src/app/components/environment/environment.component.scss
CHANGED
@@ -1,45 +1,29 @@
|
|
1 |
-
.
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
.main-card {
|
8 |
-
mat-card-header {
|
9 |
-
margin-bottom: 20px;
|
10 |
-
|
11 |
-
mat-card-title {
|
12 |
-
display: flex;
|
13 |
-
align-items: center;
|
14 |
-
gap: 10px;
|
15 |
-
font-size: 24px;
|
16 |
-
|
17 |
-
mat-icon {
|
18 |
-
font-size: 28px;
|
19 |
-
height: 28px;
|
20 |
-
width: 28px;
|
21 |
-
}
|
22 |
-
}
|
23 |
-
}
|
24 |
-
}
|
25 |
-
|
26 |
-
.section {
|
27 |
-
padding: 20px 0;
|
28 |
|
29 |
-
|
30 |
-
|
|
|
31 |
}
|
32 |
}
|
33 |
|
34 |
-
.section
|
35 |
-
|
36 |
-
align-items: center;
|
37 |
-
gap: 10px;
|
38 |
-
margin-bottom: 20px;
|
39 |
-
color: #333;
|
40 |
|
41 |
-
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
}
|
44 |
}
|
45 |
|
@@ -47,132 +31,93 @@
|
|
47 |
width: 100%;
|
48 |
}
|
49 |
|
50 |
-
|
51 |
-
|
52 |
}
|
53 |
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
|
|
|
|
58 |
|
59 |
-
.
|
60 |
-
|
61 |
}
|
62 |
|
63 |
-
.
|
64 |
-
|
65 |
-
|
|
|
66 |
}
|
67 |
}
|
68 |
|
69 |
-
.
|
70 |
-
|
|
|
|
|
|
|
71 |
|
72 |
-
|
73 |
display: flex;
|
74 |
align-items: center;
|
75 |
-
gap:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
}
|
77 |
-
}
|
78 |
-
|
79 |
-
.parameter-config {
|
80 |
-
display: flex;
|
81 |
-
flex-direction: column;
|
82 |
-
gap: 20px;
|
83 |
-
padding: 10px 0;
|
84 |
|
85 |
-
mat-
|
86 |
-
margin:
|
87 |
}
|
88 |
}
|
89 |
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
display: flex;
|
96 |
-
gap: 20px;
|
97 |
-
margin-bottom: 20px;
|
98 |
-
flex-wrap: wrap;
|
99 |
-
|
100 |
-
mat-checkbox {
|
101 |
-
margin-top: 10px;
|
102 |
}
|
103 |
}
|
104 |
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
margin
|
109 |
-
padding-top: 20px;
|
110 |
-
border-top: 1px solid #e0e0e0;
|
111 |
|
112 |
button {
|
113 |
mat-icon {
|
114 |
-
margin-right:
|
115 |
-
}
|
116 |
-
}
|
117 |
-
}
|
118 |
-
|
119 |
-
mat-divider {
|
120 |
-
margin: 30px 0;
|
121 |
-
}
|
122 |
-
|
123 |
-
// Material overrides
|
124 |
-
::ng-deep {
|
125 |
-
.mat-mdc-form-field {
|
126 |
-
.mat-mdc-text-field-wrapper {
|
127 |
-
background-color: #f5f5f5;
|
128 |
-
}
|
129 |
-
|
130 |
-
&.mat-focused {
|
131 |
-
.mat-mdc-text-field-wrapper {
|
132 |
-
background-color: #fff;
|
133 |
-
}
|
134 |
-
}
|
135 |
-
}
|
136 |
-
|
137 |
-
.mat-expansion-panel {
|
138 |
-
box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
|
139 |
-
border-radius: 8px !important;
|
140 |
-
|
141 |
-
&:not(.mat-expanded) {
|
142 |
-
&:hover {
|
143 |
-
background-color: #f5f5f5;
|
144 |
-
}
|
145 |
}
|
146 |
}
|
147 |
}
|
148 |
|
149 |
-
|
150 |
-
position: fixed;
|
151 |
-
top: 0;
|
152 |
-
left: 0;
|
153 |
-
right: 0;
|
154 |
-
bottom: 0;
|
155 |
-
background: rgba(255, 255, 255, 0.8);
|
156 |
-
display: flex;
|
157 |
-
align-items: center;
|
158 |
-
justify-content: center;
|
159 |
-
z-index: 1000;
|
160 |
-
}
|
161 |
-
|
162 |
-
// Responsive
|
163 |
@media (max-width: 768px) {
|
164 |
-
.
|
165 |
flex-direction: column;
|
|
|
166 |
|
167 |
-
|
168 |
-
|
|
|
169 |
}
|
170 |
-
}
|
171 |
-
|
172 |
-
.settings-row {
|
173 |
-
flex-direction: column;
|
174 |
|
175 |
-
|
176 |
width: 100%;
|
177 |
}
|
178 |
}
|
|
|
1 |
+
.loading-container {
|
2 |
+
display: flex;
|
3 |
+
flex-direction: column;
|
4 |
+
align-items: center;
|
5 |
+
justify-content: center;
|
6 |
+
padding: 48px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
+
p {
|
9 |
+
margin-top: 16px;
|
10 |
+
color: rgba(0, 0, 0, 0.6);
|
11 |
}
|
12 |
}
|
13 |
|
14 |
+
.provider-section {
|
15 |
+
margin: 24px 0;
|
|
|
|
|
|
|
|
|
16 |
|
17 |
+
h3 {
|
18 |
+
display: flex;
|
19 |
+
align-items: center;
|
20 |
+
gap: 8px;
|
21 |
+
margin-bottom: 16px;
|
22 |
+
color: rgba(0, 0, 0, 0.87);
|
23 |
+
|
24 |
+
mat-icon {
|
25 |
+
color: #1976d2;
|
26 |
+
}
|
27 |
}
|
28 |
}
|
29 |
|
|
|
31 |
width: 100%;
|
32 |
}
|
33 |
|
34 |
+
mat-form-field {
|
35 |
+
margin-bottom: 16px;
|
36 |
}
|
37 |
|
38 |
+
mat-divider {
|
39 |
+
margin: 32px 0;
|
40 |
+
}
|
41 |
+
|
42 |
+
.settings-panel {
|
43 |
+
margin: 16px 0;
|
44 |
|
45 |
+
.panel-content {
|
46 |
+
padding: 16px;
|
47 |
}
|
48 |
|
49 |
+
.hint-text {
|
50 |
+
color: rgba(0, 0, 0, 0.6);
|
51 |
+
font-size: 14px;
|
52 |
+
margin-bottom: 16px;
|
53 |
}
|
54 |
}
|
55 |
|
56 |
+
.config-grid {
|
57 |
+
display: flex;
|
58 |
+
flex-direction: column;
|
59 |
+
gap: 16px;
|
60 |
+
margin-top: 16px;
|
61 |
|
62 |
+
.config-item {
|
63 |
display: flex;
|
64 |
align-items: center;
|
65 |
+
gap: 16px;
|
66 |
+
|
67 |
+
label {
|
68 |
+
flex: 0 0 200px;
|
69 |
+
font-weight: 500;
|
70 |
+
}
|
71 |
+
|
72 |
+
mat-slider {
|
73 |
+
flex: 1;
|
74 |
+
}
|
75 |
+
|
76 |
+
.slider-value {
|
77 |
+
flex: 0 0 50px;
|
78 |
+
text-align: right;
|
79 |
+
font-weight: 500;
|
80 |
+
color: #1976d2;
|
81 |
+
}
|
82 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
|
84 |
+
mat-slide-toggle {
|
85 |
+
margin: 8px 0;
|
86 |
}
|
87 |
}
|
88 |
|
89 |
+
// Icon in select options
|
90 |
+
mat-option {
|
91 |
+
mat-icon {
|
92 |
+
margin-right: 8px;
|
93 |
+
vertical-align: middle;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
}
|
95 |
}
|
96 |
|
97 |
+
// Button styling
|
98 |
+
mat-card-actions {
|
99 |
+
padding: 16px;
|
100 |
+
margin: 0;
|
|
|
|
|
101 |
|
102 |
button {
|
103 |
mat-icon {
|
104 |
+
margin-right: 4px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
}
|
106 |
}
|
107 |
}
|
108 |
|
109 |
+
// Responsive adjustments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
@media (max-width: 768px) {
|
111 |
+
.config-item {
|
112 |
flex-direction: column;
|
113 |
+
align-items: flex-start !important;
|
114 |
|
115 |
+
label {
|
116 |
+
flex: none;
|
117 |
+
margin-bottom: 8px;
|
118 |
}
|
|
|
|
|
|
|
|
|
119 |
|
120 |
+
mat-slider {
|
121 |
width: 100%;
|
122 |
}
|
123 |
}
|