Spaces:
Running
Running
Update flare-ui/src/app/components/environment/environment.component.scss
Browse files
flare-ui/src/app/components/environment/environment.component.scss
CHANGED
@@ -1,212 +1,179 @@
|
|
1 |
.environment-container {
|
2 |
-
|
|
|
3 |
margin: 0 auto;
|
4 |
}
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
19 |
}
|
20 |
}
|
21 |
}
|
22 |
|
23 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
margin-bottom: 20px;
|
25 |
-
|
26 |
|
27 |
-
mat-
|
28 |
-
|
29 |
-
gap: 16px;
|
30 |
-
align-items: flex-start;
|
31 |
-
|
32 |
-
mat-icon {
|
33 |
-
color: #1976d2;
|
34 |
-
margin-top: 4px;
|
35 |
-
}
|
36 |
-
|
37 |
-
p {
|
38 |
-
margin: 4px 0;
|
39 |
-
font-size: 14px;
|
40 |
-
}
|
41 |
}
|
42 |
}
|
43 |
|
44 |
.full-width {
|
45 |
width: 100%;
|
46 |
-
margin-bottom: 20px;
|
47 |
}
|
48 |
|
49 |
-
.
|
|
|
|
|
|
|
|
|
50 |
display: flex;
|
51 |
-
gap:
|
52 |
align-items: flex-start;
|
53 |
-
|
54 |
-
|
55 |
-
.engine-field {
|
56 |
flex: 1;
|
57 |
}
|
58 |
-
|
59 |
-
.
|
60 |
-
|
|
|
61 |
}
|
62 |
}
|
63 |
|
64 |
.settings-panel {
|
65 |
-
margin
|
66 |
-
margin-top: 10px;
|
67 |
-
padding: 0px 10px 0px 10px;
|
68 |
|
69 |
-
mat-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
gap: 8px;
|
74 |
-
|
75 |
-
mat-icon {
|
76 |
-
color: #666;
|
77 |
-
}
|
78 |
-
}
|
79 |
-
}
|
80 |
-
|
81 |
-
.mat-expansion-panel-header-description {
|
82 |
-
flex-grow: 1;
|
83 |
}
|
84 |
}
|
85 |
|
86 |
-
.
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
margin-bottom: 24px;
|
92 |
-
width:90%;
|
93 |
-
|
94 |
-
label {
|
95 |
-
display: block;
|
96 |
-
margin-bottom: 8px;
|
97 |
-
color: rgba(0, 0, 0, 0.87);
|
98 |
-
font-size: 14px;
|
99 |
-
}
|
100 |
-
|
101 |
-
mat-slider {
|
102 |
-
width: 100%;
|
103 |
-
}
|
104 |
|
105 |
-
mat-
|
106 |
-
|
107 |
-
color: rgba(0, 0, 0, 0.6);
|
108 |
-
margin-top: 4px;
|
109 |
}
|
110 |
}
|
111 |
|
112 |
-
.
|
|
|
|
|
|
|
|
|
113 |
display: flex;
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
|
118 |
mat-checkbox {
|
119 |
-
margin-
|
120 |
}
|
121 |
}
|
122 |
|
123 |
-
.
|
124 |
display: flex;
|
125 |
-
gap:
|
126 |
-
margin-top:
|
127 |
-
padding-top:
|
128 |
border-top: 1px solid #e0e0e0;
|
129 |
-
|
130 |
button {
|
131 |
-
mat-spinner {
|
132 |
-
margin-right: 8px;
|
133 |
-
vertical-align: middle;
|
134 |
-
}
|
135 |
-
|
136 |
mat-icon {
|
137 |
-
|
138 |
-
margin-right: 4px;
|
139 |
}
|
140 |
}
|
141 |
}
|
142 |
|
143 |
-
|
144 |
-
|
145 |
-
padding-right: 5px;
|
146 |
}
|
147 |
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
grid-template-columns: 1fr;
|
154 |
-
gap: 20px;
|
155 |
-
margin-bottom: 24px;
|
156 |
-
}
|
157 |
-
|
158 |
-
.collection-checkbox {
|
159 |
-
display: block;
|
160 |
-
margin-bottom: 8px;
|
161 |
-
|
162 |
-
mat-hint {
|
163 |
-
display: block;
|
164 |
-
margin-top: 4px;
|
165 |
-
margin-left: 32px;
|
166 |
-
font-size: 12px;
|
167 |
-
color: rgba(0, 0, 0, 0.6);
|
168 |
}
|
169 |
-
}
|
170 |
-
|
171 |
-
.help-panel {
|
172 |
-
margin: 16px 0;
|
173 |
-
background-color: rgba(0, 0, 0, 0.02);
|
174 |
|
175 |
-
mat-
|
176 |
-
|
177 |
-
|
178 |
-
code {
|
179 |
-
background-color: #e8f5e9;
|
180 |
-
color: #2e7d32;
|
181 |
-
padding: 2px 6px;
|
182 |
-
border-radius: 3px;
|
183 |
-
font-family: 'Fira Code', 'Consolas', monospace;
|
184 |
-
font-size: 13px;
|
185 |
-
}
|
186 |
-
|
187 |
-
.mat-mdc-list-item-line {
|
188 |
-
color: rgba(0, 0, 0, 0.6);
|
189 |
-
font-size: 13px;
|
190 |
-
margin-top: 4px;
|
191 |
}
|
192 |
}
|
193 |
}
|
194 |
|
195 |
-
|
196 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
}
|
198 |
}
|
199 |
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
|
205 |
-
|
206 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
}
|
208 |
|
209 |
-
.
|
210 |
-
|
|
|
|
|
|
|
|
|
211 |
}
|
212 |
}
|
|
|
1 |
.environment-container {
|
2 |
+
padding: 20px;
|
3 |
+
max-width: 1200px;
|
4 |
margin: 0 auto;
|
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 |
+
&:first-child {
|
30 |
+
padding-top: 0;
|
31 |
+
}
|
32 |
+
}
|
33 |
+
|
34 |
+
.section-title {
|
35 |
+
display: flex;
|
36 |
+
align-items: center;
|
37 |
+
gap: 10px;
|
38 |
margin-bottom: 20px;
|
39 |
+
color: #333;
|
40 |
|
41 |
+
mat-icon {
|
42 |
+
color: #1976d2;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
}
|
44 |
}
|
45 |
|
46 |
.full-width {
|
47 |
width: 100%;
|
|
|
48 |
}
|
49 |
|
50 |
+
.small-field {
|
51 |
+
width: 200px;
|
52 |
+
}
|
53 |
+
|
54 |
+
.endpoint-row {
|
55 |
display: flex;
|
56 |
+
gap: 10px;
|
57 |
align-items: flex-start;
|
58 |
+
|
59 |
+
.endpoint-field {
|
|
|
60 |
flex: 1;
|
61 |
}
|
62 |
+
|
63 |
+
.test-button {
|
64 |
+
margin-top: 8px;
|
65 |
+
height: 40px;
|
66 |
}
|
67 |
}
|
68 |
|
69 |
.settings-panel {
|
70 |
+
margin: 20px 0;
|
|
|
|
|
71 |
|
72 |
+
mat-panel-title {
|
73 |
+
display: flex;
|
74 |
+
align-items: center;
|
75 |
+
gap: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
}
|
77 |
}
|
78 |
|
79 |
+
.parameter-config {
|
80 |
+
display: flex;
|
81 |
+
flex-direction: column;
|
82 |
+
gap: 20px;
|
83 |
+
padding: 10px 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
|
85 |
+
mat-checkbox {
|
86 |
+
margin: 10px 0;
|
|
|
|
|
87 |
}
|
88 |
}
|
89 |
|
90 |
+
.stt-settings {
|
91 |
+
padding: 10px 0;
|
92 |
+
}
|
93 |
+
|
94 |
+
.settings-row {
|
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 |
+
.actions {
|
106 |
display: flex;
|
107 |
+
gap: 10px;
|
108 |
+
margin-top: 30px;
|
109 |
+
padding-top: 20px;
|
110 |
border-top: 1px solid #e0e0e0;
|
111 |
+
|
112 |
button {
|
|
|
|
|
|
|
|
|
|
|
113 |
mat-icon {
|
114 |
+
margin-right: 5px;
|
|
|
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 |
+
.loading-overlay {
|
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 |
+
.endpoint-row {
|
165 |
+
flex-direction: column;
|
166 |
+
|
167 |
+
.test-button {
|
168 |
+
width: 100%;
|
169 |
+
}
|
170 |
}
|
171 |
|
172 |
+
.settings-row {
|
173 |
+
flex-direction: column;
|
174 |
+
|
175 |
+
.small-field {
|
176 |
+
width: 100%;
|
177 |
+
}
|
178 |
}
|
179 |
}
|