@appscode/design-system 1.1.0-beta.4 → 1.1.0-beta.5

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.
@@ -51,6 +51,7 @@
51
51
 
52
52
  .ac-single-switch {
53
53
  margin-left: -15px;
54
+ margin-bottom: 35px;
54
55
  }
55
56
 
56
57
  .ac-single-input {
package/main.scss CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  // Third party CSS
6
6
  @import "../node_modules/bulma/bulma.sass";
7
- // @import "bulma-checkradio";
8
- // @import "bulma-switch";
9
- // @import "bulma-tooltip";
7
+ @import "bulma-checkradio";
8
+ @import "bulma-switch";
9
+ @import "bulma-tooltip";
10
10
  @import "font-awesome/css/font-awesome.min.css";
11
11
  @import "vue-multiselect/dist/vue-multiselect.css";
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "1.1.0-beta.4",
3
+ "version": "1.1.0-beta.5",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -78,7 +78,7 @@ const OptionDots = defineAsyncComponent(
78
78
  display: flex;
79
79
  align-items: center;
80
80
  justify-content: center;
81
- margin-right: 24px;
81
+ // margin-right: 24px;
82
82
 
83
83
  img {
84
84
  height: 24px;
@@ -18,503 +18,4 @@ withDefaults(defineProps<Props>(), {
18
18
  </div>
19
19
  </template>
20
20
 
21
- <style lang="scss">
22
- .ac-single-input {
23
- position: relative;
24
- z-index: 1;
25
- margin-bottom: 15px;
26
-
27
- &.is-disable {
28
- opacity: 0.5;
29
-
30
- input,
31
- .button.is-information,
32
- .eye i.fa {
33
- cursor: not-allowed;
34
- }
35
- }
36
-
37
- &.is-information {
38
- input {
39
- padding-right: 45px;
40
-
41
- &[type="password"] {
42
- padding-right: 80px;
43
- }
44
- }
45
-
46
- span.eye i.fa {
47
- right: 35px;
48
- }
49
- }
50
-
51
- &.is-success {
52
- input,
53
- .ac-card,
54
- textarea {
55
- border: 1px solid $primary !important;
56
- }
57
-
58
- p {
59
- color: $primary;
60
- }
61
- }
62
-
63
- &.is-danger {
64
- input,
65
- .ac-card,
66
- textarea {
67
- border: 1px solid $danger;
68
- }
69
-
70
- p {
71
- color: $danger;
72
- }
73
- }
74
-
75
- &.is-loading {
76
- input,
77
- .ac-card,
78
- textarea {
79
- border: 1px solid $info;
80
- opacity: 0.5;
81
- }
82
-
83
- p {
84
- color: $info;
85
- opacity: 0.5;
86
- }
87
- }
88
-
89
- &.borderless-input {
90
- input {
91
- border: none;
92
- font-size: 13px;
93
- padding: 4px 7px;
94
- height: 30px;
95
- background-color: $white-100;
96
- padding-right: 30px;
97
-
98
- &[type="password"] {
99
- padding-right: 30px;
100
- }
101
-
102
- &:focus {
103
- outline: none;
104
- border: none;
105
- }
106
- }
107
-
108
- span.eye {
109
- i.fa {
110
- padding: 9px;
111
- font-size: 12px;
112
- }
113
- }
114
- }
115
-
116
- &.is-normal {
117
- input {
118
- height: 45px;
119
- font-size: 15px;
120
- font-weight: 400;
121
- }
122
-
123
- .button {
124
- &.is-information {
125
- height: 45px;
126
- width: 45px;
127
- margin-top: 0;
128
- }
129
- }
130
-
131
- span.eye i.fa {
132
- padding: 14px 10px;
133
- }
134
-
135
- .ac-search-button {
136
- margin-top: -22.5px;
137
- }
138
-
139
- label {
140
- top: 13px;
141
- font-size: 13px;
142
-
143
- &.show-label {
144
- font-size: 12px;
145
- color: $black-40;
146
- top: -9px;
147
- font-weight: 500;
148
- background-color: $white-100;
149
- }
150
- }
151
-
152
- .control {
153
- &.has-icons-right {
154
- .icon {
155
- height: 45px;
156
- width: 30px;
157
- font-size: 13px;
158
- }
159
- }
160
- }
161
- }
162
-
163
- &.is-small {
164
- input {
165
- height: 36px;
166
- font-size: 13px;
167
- font-weight: 400;
168
- }
169
-
170
- .button {
171
- &.is-information {
172
- height: 36px;
173
- width: 36px;
174
- margin-top: 0;
175
- padding: 10px;
176
- }
177
- }
178
-
179
- span.eye i.fa {
180
- padding: 10px;
181
- }
182
-
183
- .ac-search-button {
184
- margin-top: -18px;
185
- }
186
-
187
- label {
188
- top: 8px;
189
- font-size: 13px;
190
- &.switch-label {
191
- top: 0;
192
- }
193
-
194
- &.show-label {
195
- font-size: 12px;
196
- top: -9px;
197
- font-weight: 500;
198
- color: $black-40;
199
- &.is-required {
200
- &:after {
201
- width: calc(100% + 10px);
202
- }
203
- }
204
- }
205
- }
206
-
207
- .control {
208
- &.has-icons-right {
209
- .icon {
210
- height: 36px;
211
- width: 25px;
212
- font-size: 13px;
213
- }
214
- }
215
- }
216
- }
217
-
218
- &.is-extra-small {
219
- input {
220
- height: 32px;
221
- font-size: 13px;
222
- font-weight: 400;
223
- }
224
-
225
- .button {
226
- &.is-information {
227
- height: 32px;
228
- width: 32px;
229
- margin-top: 0;
230
- }
231
- }
232
-
233
- span.eye i.fa {
234
- padding: 10px;
235
- }
236
-
237
- .ac-search-button {
238
- margin-top: 0px;
239
- top: 0;
240
- display: flex;
241
- align-items: center;
242
- width: 40px;
243
- justify-content: center;
244
- svg {
245
- width: 18px;
246
- }
247
- }
248
-
249
- label {
250
- top: 8px;
251
- font-size: 13px;
252
- &.switch-label {
253
- top: 0;
254
- }
255
-
256
- &.show-label {
257
- font-size: 12px;
258
- top: -9px;
259
- }
260
- }
261
-
262
- .control {
263
- &.has-icons-right {
264
- .icon {
265
- height: 32px;
266
- width: 25px;
267
- font-size: 13px;
268
- }
269
- }
270
- }
271
- }
272
-
273
- &:last-child {
274
- margin-bottom: 0;
275
- }
276
-
277
- &.is-dark {
278
- input {
279
- background-color: $primary-10;
280
- border-color: transparent;
281
- color: $white-100;
282
-
283
- &::placeholder {
284
- color: $primary-10;
285
- }
286
-
287
- button {
288
- i.fa {
289
- color: $white-100;
290
- }
291
- }
292
- }
293
- }
294
-
295
- label {
296
- font-size: 13px;
297
- left: 15px;
298
- top: 11px;
299
- cursor: text;
300
- color: $primary-10;
301
- position: absolute;
302
- z-index: 2;
303
- transition: 0.3s ease-in-out;
304
-
305
- .is-required {
306
- color: $danger;
307
-
308
- img {
309
- position: absolute;
310
- top: 7px;
311
- padding-left: 3px;
312
- }
313
- }
314
-
315
- &.show-label {
316
- top: -9px;
317
- left: 10px;
318
- padding: 0 5px;
319
- font-size: 13px;
320
- color: $black-40;
321
-
322
- &:after {
323
- position: absolute;
324
- content: "";
325
- left: 0;
326
- top: 50%;
327
- background-color: $white-100;
328
- width: 100%;
329
- height: 2px;
330
- margin-top: -1px;
331
- z-index: -1;
332
- }
333
-
334
- // &.is-required {
335
- // &:after {
336
- // width: calc(100% + 10px);
337
- // }
338
- // }
339
- }
340
- }
341
-
342
- .button {
343
- &.is-information {
344
- background-color: transparent;
345
- border: none;
346
- position: absolute;
347
- right: 0;
348
- height: 32px;
349
- width: 32px;
350
- margin-top: 0;
351
-
352
- &:focus {
353
- outline: none;
354
- box-shadow: none;
355
- background-color: #e4e8ef;
356
- transform: scale(0.8);
357
- }
358
- }
359
- }
360
-
361
- .ac-search-button {
362
- background-color: transparent;
363
- border: none;
364
- position: absolute;
365
- left: 0;
366
- top: 50%;
367
- width: 32px;
368
- height: 100%;
369
- margin-top: -15px;
370
- color: $primary-20;
371
- cursor: pointer;
372
- }
373
-
374
- .ac-dropdown-content {
375
- position: absolute;
376
- background-color: $primary-90;
377
- width: 100%;
378
- height: auto;
379
- box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6);
380
- border-radius: 4px;
381
- overflow: hidden;
382
-
383
- ul {
384
- li {
385
- a {
386
- color: $primary-10;
387
- display: block;
388
- font-size: 13px;
389
- padding: 8px 20px;
390
- transition: 0.3s;
391
-
392
- &:hover {
393
- background-color: hsla(
394
- var(--hsl-hue),
395
- var(--hsl-saturation),
396
- var(--hsl-lightness),
397
- 0.2
398
- );
399
- color: $primary;
400
- }
401
- }
402
- }
403
- }
404
- }
405
-
406
- .ac-textarea {
407
- .ac-label {
408
- &.is-required {
409
- &:after {
410
- width: calc(100% + 10px);
411
- }
412
- }
413
- }
414
- textarea {
415
- border: 1px solid $primary-80;
416
- background-color: transparent;
417
- padding: 10px 15px;
418
- min-height: 50px;
419
- &.bg-white {
420
- background-color: transparent;
421
- }
422
-
423
- &:focus {
424
- outline: none;
425
- border: 1px solid $primary;
426
- }
427
- }
428
- }
429
-
430
- input,
431
- .ac-card,
432
- textarea {
433
- background-color: $white-100;
434
- color: $primary-10;
435
- height: 45px;
436
- font-weight: 400;
437
- width: 100%;
438
- border-radius: 4px;
439
- border: 1px solid $primary-80;
440
- padding: 8px 15px;
441
- font-size: 13px;
442
-
443
- &:hover {
444
- border-color: $black-70;
445
- }
446
-
447
- &.bg-white {
448
- background-color: $white-100;
449
- }
450
- &.StripeElement--focus {
451
- border: 1px solid $primary;
452
- }
453
- &:focus {
454
- border: 1px solid $primary;
455
- outline: none;
456
- background-color: $white-100;
457
- }
458
-
459
- &[type="password"] {
460
- padding-right: 40px;
461
- }
462
-
463
- &[type="search"] {
464
- padding-left: 30px;
465
- }
466
-
467
- transition: background-color 0.3s ease-in-out;
468
- }
469
-
470
- .ac-card {
471
- height: 36px;
472
- padding: 10px 20px;
473
- }
474
-
475
- textarea {
476
- height: 55px;
477
- }
478
-
479
- b.isRequired {
480
- color: $danger;
481
- font-size: 13px;
482
- position: absolute;
483
- right: 5px;
484
- z-index: 9;
485
- }
486
-
487
- span.eye {
488
- i.fa {
489
- color: $primary-80;
490
- position: absolute;
491
- cursor: pointer;
492
- padding: 15px;
493
- right: 0;
494
- top: 0;
495
- }
496
- }
497
-
498
- .is-danger {
499
- font-size: 12px;
500
- line-height: 22px;
501
- color: $danger;
502
- text-align: left;
503
-
504
- i.fa {
505
- padding-right: 10px;
506
- }
507
- }
508
- }
509
-
510
- .ac-input.ac-search {
511
- width: 42px;
512
- transition: 0.3s ease-in-out;
513
- padding: 0;
514
- }
515
-
516
- .ac-search:focus {
517
- width: 200px !important;
518
- padding-right: 10px;
519
- }
520
- </style>
21
+ <style lang="scss"></style>
@@ -90,7 +90,9 @@ withDefaults(defineProps<Props>(), {
90
90
  height: 30px;
91
91
  }
92
92
  }
93
-
93
+ .ac-navbar-cluster-switcher {
94
+ max-width: 350px;
95
+ }
94
96
  .ac-navbar-menu {
95
97
  display: flex;
96
98
  align-items: center;
@@ -123,7 +123,7 @@ watch(
123
123
  // margin-top: 3px;
124
124
  // display: flex;
125
125
  // align-items: center;
126
- max-width: 350px;
126
+ // max-width: 350px;
127
127
  // &.cluster-select {
128
128
  // .multiselect__tags {
129
129
  // border: 1px solid $primary-90;
@@ -136,13 +136,13 @@ watch(
136
136
  // }
137
137
 
138
138
  .multiselect__tags {
139
- background-color: #e2f0fb;
139
+ background-color: $white-100;
140
140
  min-height: 36px;
141
141
  // max-height: 36px;
142
142
  font-weight: 500;
143
143
  width: 100%;
144
144
  border-radius: 4px;
145
- border: 1px solid $primary-90;
145
+ border: 1px solid $primary-80;
146
146
  padding: 6px 30px 8px 20px;
147
147
  font-size: 13px;
148
148
  border-radius: 4px;
@@ -185,7 +185,7 @@ watch(
185
185
 
186
186
  .multiselect__input,
187
187
  .multiselect__single {
188
- background-color: #e2f0fb;
188
+ background-color: $white-100;
189
189
  margin-bottom: 0;
190
190
  margin: 0 !important;
191
191
  padding-left: 0;
@@ -241,12 +241,7 @@ watch(
241
241
  }
242
242
 
243
243
  &.multiselect__option--highlight {
244
- background-color: hsla(
245
- var(--hsl-hue),
246
- var(--hsl-saturation),
247
- var(--hsl-lightness),
248
- 0.2
249
- );
244
+ background-color: $white-100;
250
245
  color: $primary;
251
246
 
252
247
  &:after {