@visns-studio/visns-components 5.11.2 → 5.11.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,290 @@
1
+ .container {
2
+ padding: 20px;
3
+ background: #fff;
4
+ border-radius: 8px;
5
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
6
+ }
7
+
8
+ .header {
9
+ margin-bottom: 30px;
10
+ border-bottom: 1px solid #eee;
11
+ padding-bottom: 15px;
12
+
13
+ h3 {
14
+ margin: 0 0 5px 0;
15
+ color: #333;
16
+ font-size: 1.4em;
17
+ }
18
+
19
+ p {
20
+ margin: 0;
21
+ color: #666;
22
+ font-size: 0.9em;
23
+ }
24
+ }
25
+
26
+ .loading {
27
+ text-align: center;
28
+ padding: 40px;
29
+ color: #666;
30
+ }
31
+
32
+ /* Existing Associations */
33
+ .existingAssociations {
34
+ margin-bottom: 40px;
35
+
36
+ h4 {
37
+ margin: 0 0 15px 0;
38
+ color: #333;
39
+ font-size: 1.1em;
40
+ }
41
+ }
42
+
43
+ .noAssociations {
44
+ padding: 20px;
45
+ text-align: center;
46
+ color: #999;
47
+ background: #f8f9fa;
48
+ border-radius: 6px;
49
+ font-style: italic;
50
+ }
51
+
52
+ .associationsList {
53
+ display: flex;
54
+ flex-direction: column;
55
+ gap: 12px;
56
+ }
57
+
58
+ .associationItem {
59
+ display: flex;
60
+ justify-content: space-between;
61
+ align-items: center;
62
+ padding: 15px;
63
+ border: 1px solid #e0e0e0;
64
+ border-radius: 6px;
65
+ background: #fafafa;
66
+ transition: all 0.2s ease;
67
+
68
+ &:hover {
69
+ background: #f5f5f5;
70
+ border-color: #d0d0d0;
71
+ }
72
+
73
+ &.primary {
74
+ border-color: #007bff;
75
+ background: #e7f3ff;
76
+
77
+ &:hover {
78
+ background: #d1ecf1;
79
+ }
80
+ }
81
+ }
82
+
83
+ .associationInfo {
84
+ flex: 1;
85
+
86
+ .companyName {
87
+ font-weight: 600;
88
+ color: #333;
89
+ margin-bottom: 4px;
90
+ display: flex;
91
+ align-items: center;
92
+ gap: 8px;
93
+ }
94
+
95
+ .primaryBadge {
96
+ background: #007bff;
97
+ color: white;
98
+ padding: 2px 6px;
99
+ border-radius: 3px;
100
+ font-size: 0.75em;
101
+ font-weight: 500;
102
+ text-transform: uppercase;
103
+ }
104
+
105
+ .relationshipInfo {
106
+ margin-bottom: 4px;
107
+
108
+ .relationshipType {
109
+ color: #666;
110
+ font-weight: 500;
111
+ text-transform: capitalize;
112
+ }
113
+
114
+ .notes {
115
+ color: #888;
116
+ font-size: 0.9em;
117
+ }
118
+ }
119
+
120
+ .associatedAt {
121
+ color: #999;
122
+ font-size: 0.8em;
123
+ }
124
+ }
125
+
126
+ .associationActions {
127
+ display: flex;
128
+ gap: 8px;
129
+ align-items: center;
130
+ }
131
+
132
+ .setPrimaryBtn,
133
+ .removeBtn,
134
+ .associateBtn {
135
+ padding: 6px 12px;
136
+ border: none;
137
+ border-radius: 4px;
138
+ font-size: 0.85em;
139
+ cursor: pointer;
140
+ transition: all 0.2s ease;
141
+
142
+ &:disabled {
143
+ opacity: 0.6;
144
+ cursor: not-allowed;
145
+ }
146
+ }
147
+
148
+ .setPrimaryBtn {
149
+ background: #28a745;
150
+ color: white;
151
+
152
+ &:hover:not(:disabled) {
153
+ background: #218838;
154
+ }
155
+ }
156
+
157
+ .removeBtn {
158
+ background: #dc3545;
159
+ color: white;
160
+
161
+ &:hover:not(:disabled) {
162
+ background: #c82333;
163
+ }
164
+ }
165
+
166
+ .associateBtn {
167
+ background: #007bff;
168
+ color: white;
169
+ padding: 10px 20px;
170
+ font-size: 0.9em;
171
+
172
+ &:hover:not(:disabled) {
173
+ background: #0056b3;
174
+ }
175
+ }
176
+
177
+ /* New Association Form */
178
+ .newAssociation {
179
+ border-top: 1px solid #eee;
180
+ padding-top: 30px;
181
+
182
+ h4 {
183
+ margin: 0 0 20px 0;
184
+ color: #333;
185
+ font-size: 1.1em;
186
+ }
187
+ }
188
+
189
+ .associationForm {
190
+ background: #f8f9fa;
191
+ padding: 20px;
192
+ border-radius: 6px;
193
+ border: 1px solid #e9ecef;
194
+ }
195
+
196
+ .formRow {
197
+ display: flex;
198
+ gap: 20px;
199
+ margin-bottom: 20px;
200
+
201
+ &:last-child {
202
+ margin-bottom: 0;
203
+ }
204
+
205
+ @media (max-width: 768px) {
206
+ flex-direction: column;
207
+ gap: 15px;
208
+ }
209
+ }
210
+
211
+ .formField {
212
+ flex: 1;
213
+
214
+ label {
215
+ display: block;
216
+ margin-bottom: 5px;
217
+ color: #333;
218
+ font-weight: 500;
219
+ font-size: 0.9em;
220
+
221
+ input[type="checkbox"] {
222
+ margin-right: 8px;
223
+ }
224
+ }
225
+ }
226
+
227
+ .selectField,
228
+ .textField {
229
+ width: 100%;
230
+ padding: 8px 12px;
231
+ border: 1px solid #ced4da;
232
+ border-radius: 4px;
233
+ background: white;
234
+ font-size: 0.9em;
235
+ color: #495057;
236
+
237
+ &:focus {
238
+ outline: none;
239
+ border-color: #007bff;
240
+ box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
241
+ }
242
+ }
243
+
244
+ .textareaField {
245
+ width: 100%;
246
+ padding: 8px 12px;
247
+ border: 1px solid #ced4da;
248
+ border-radius: 4px;
249
+ background: white;
250
+ font-size: 0.9em;
251
+ color: #495057;
252
+ resize: vertical;
253
+ min-height: 60px;
254
+
255
+ &:focus {
256
+ outline: none;
257
+ border-color: #007bff;
258
+ box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
259
+ }
260
+ }
261
+
262
+ .formActions {
263
+ margin-top: 20px;
264
+ text-align: right;
265
+ }
266
+
267
+ /* Responsive Design */
268
+ @media (max-width: 768px) {
269
+ .container {
270
+ padding: 15px;
271
+ }
272
+
273
+ .associationItem {
274
+ flex-direction: column;
275
+ align-items: flex-start;
276
+ gap: 15px;
277
+ }
278
+
279
+ .associationActions {
280
+ align-self: flex-end;
281
+ }
282
+
283
+ .formActions {
284
+ text-align: center;
285
+ }
286
+
287
+ .associateBtn {
288
+ width: 100%;
289
+ }
290
+ }