ciyidogan commited on
Commit
b819df8
·
verified ·
1 Parent(s): c9eb948

Create version-edit-dialog.component.scss

Browse files
flare-ui/src/app/dialogs/version-edit-dialog/version-edit-dialog.component.scss ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .version-management-container {
2
+ min-height: 500px;
3
+
4
+ .title-chips {
5
+ float: right;
6
+ margin-top: -8px;
7
+
8
+ mat-chip {
9
+ font-size: 12px;
10
+ }
11
+ }
12
+
13
+ .version-selector {
14
+ display: flex;
15
+ gap: 16px;
16
+ align-items: center;
17
+ margin-bottom: 24px;
18
+
19
+ .version-select {
20
+ flex: 1;
21
+ max-width: 400px;
22
+ }
23
+
24
+ .version-actions {
25
+ display: flex;
26
+ gap: 8px;
27
+ }
28
+
29
+ .version-status {
30
+ color: #4caf50;
31
+ font-weight: 500;
32
+ margin-left: 8px;
33
+ }
34
+ }
35
+
36
+ .version-editor {
37
+ mat-tab-group {
38
+ min-height: 400px;
39
+ }
40
+ }
41
+
42
+ .tab-content {
43
+ padding: 24px;
44
+ }
45
+
46
+ .full-width {
47
+ width: 100%;
48
+ margin-bottom: 16px;
49
+ }
50
+
51
+ .metadata-info {
52
+ margin-bottom: 24px;
53
+
54
+ mat-chip {
55
+ font-size: 12px;
56
+ }
57
+ }
58
+
59
+ .generation-config {
60
+ display: grid;
61
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
62
+ gap: 16px;
63
+ margin-bottom: 24px;
64
+ }
65
+
66
+ .fine-tune-section {
67
+ margin-top: 24px;
68
+
69
+ mat-checkbox {
70
+ margin-bottom: 16px;
71
+ }
72
+ }
73
+
74
+ .intents-header {
75
+ display: flex;
76
+ justify-content: space-between;
77
+ align-items: center;
78
+ margin-bottom: 16px;
79
+
80
+ h3 {
81
+ margin: 0;
82
+ }
83
+ }
84
+
85
+ .intents-list {
86
+ mat-expansion-panel {
87
+ margin-bottom: 8px;
88
+
89
+ .intent-chips {
90
+ margin-left: 16px;
91
+
92
+ mat-chip {
93
+ font-size: 11px;
94
+ min-height: 20px;
95
+ padding: 2px 8px;
96
+ }
97
+ }
98
+ }
99
+
100
+ .intent-content {
101
+ padding: 16px;
102
+ }
103
+
104
+ .intent-actions {
105
+ display: flex;
106
+ gap: 8px;
107
+ margin-bottom: 16px;
108
+ padding-bottom: 16px;
109
+ border-bottom: 1px solid #e0e0e0;
110
+ }
111
+
112
+ .intent-summary {
113
+ .summary-item {
114
+ margin-bottom: 16px;
115
+
116
+ strong {
117
+ display: block;
118
+ margin-bottom: 8px;
119
+ color: rgba(0, 0, 0, 0.87);
120
+ }
121
+
122
+ p {
123
+ margin: 0;
124
+ color: rgba(0, 0, 0, 0.6);
125
+ }
126
+
127
+ mat-chip {
128
+ margin: 2px;
129
+ font-size: 12px;
130
+ }
131
+
132
+ mat-list {
133
+ padding-top: 0;
134
+ }
135
+ }
136
+ }
137
+ }
138
+
139
+ .test-result {
140
+ margin-top: 24px;
141
+
142
+ h4 {
143
+ margin-bottom: 16px;
144
+ }
145
+
146
+ .result-card {
147
+ border: 1px solid #e0e0e0;
148
+ border-radius: 4px;
149
+ padding: 16px;
150
+
151
+ &.success {
152
+ background-color: #e8f5e9;
153
+ border-color: #4caf50;
154
+
155
+ .result-header {
156
+ color: #2e7d32;
157
+
158
+ mat-icon {
159
+ color: #4caf50;
160
+ }
161
+ }
162
+ }
163
+
164
+ &.no-match {
165
+ background-color: #fff3e0;
166
+ border-color: #ff9800;
167
+
168
+ .result-header {
169
+ color: #e65100;
170
+
171
+ mat-icon {
172
+ color: #ff9800;
173
+ }
174
+ }
175
+ }
176
+
177
+ .result-header {
178
+ display: flex;
179
+ align-items: center;
180
+ gap: 8px;
181
+ margin-bottom: 16px;
182
+ font-size: 16px;
183
+
184
+ mat-icon {
185
+ font-size: 24px;
186
+ width: 24px;
187
+ height: 24px;
188
+ }
189
+ }
190
+
191
+ .confidence {
192
+ margin-bottom: 16px;
193
+
194
+ mat-progress-bar {
195
+ margin-top: 8px;
196
+ }
197
+ }
198
+
199
+ .parameters {
200
+ h5 {
201
+ margin-bottom: 8px;
202
+ }
203
+
204
+ mat-list {
205
+ background: white;
206
+ border-radius: 4px;
207
+ }
208
+ }
209
+ }
210
+ }
211
+
212
+ .empty-state {
213
+ text-align: center;
214
+ padding: 60px 20px;
215
+
216
+ mat-icon {
217
+ font-size: 64px;
218
+ width: 64px;
219
+ height: 64px;
220
+ color: #e0e0e0;
221
+ margin-bottom: 16px;
222
+ }
223
+
224
+ p {
225
+ color: #666;
226
+ margin-bottom: 24px;
227
+ }
228
+ }
229
+
230
+ .action-buttons {
231
+ margin-top: 24px;
232
+ padding-top: 24px;
233
+ border-top: 1px solid #e0e0e0;
234
+ }
235
+ }
236
+
237
+ mat-dialog-content {
238
+ max-width: 1000px;
239
+ min-width: 800px;
240
+ max-height: 80vh;
241
+ padding: 0;
242
+ }
243
+
244
+ mat-dialog-actions {
245
+ padding: 16px 24px;
246
+ margin: 0;
247
+ border-top: 1px solid #e0e0e0;
248
+ }