@appscode/design-system 2.2.18 → 2.2.20

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "2.2.18",
3
+ "version": "2.2.20",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -1,19 +1,4 @@
1
1
  .multiselect {
2
- // margin-top: 3px;
3
- // display: flex;
4
- // align-items: center;
5
- // max-width: 350px;
6
- // &.cluster-select {
7
- // .multiselect__tags {
8
- // border: 1px solid $color-border;
9
- // background-color: $table-header;
10
-
11
- // .multiselect__input {
12
- // background-color: $table-header;
13
- // }
14
- // }
15
- // }
16
-
17
2
  .multiselect__tags {
18
3
  background-color: $white-100;
19
4
  min-height: 36px;
@@ -25,6 +10,7 @@
25
10
  padding: 6px 30px 8px 20px;
26
11
  font-size: 13px;
27
12
  border-radius: 4px;
13
+
28
14
  &:hover {
29
15
  border-color: $ac-primary;
30
16
  }
@@ -80,9 +66,11 @@
80
66
  margin-bottom: 0;
81
67
  }
82
68
  }
69
+
83
70
  .multiselect__select {
84
71
  height: 36px;
85
72
  }
73
+
86
74
  .multiselect__content {
87
75
  .multiselect__element {
88
76
  .multiselect__option {
@@ -91,16 +79,20 @@
91
79
  font-size: 13px;
92
80
  display: flex;
93
81
  align-items: center;
82
+
94
83
  img {
95
84
  width: 30px;
96
85
  }
86
+
97
87
  p {
98
88
  font-size: 13px;
99
89
  color: $color-heading;
100
90
  }
91
+
101
92
  p:not(.location) {
102
93
  font-weight: 500;
103
94
  }
95
+
104
96
  a {
105
97
  display: block;
106
98
  font-weight: 400;
@@ -119,6 +111,7 @@
119
111
  &.multiselect__option--highlight {
120
112
  background-color: $white-100;
121
113
  color: $ac-secondary;
114
+
122
115
  &:hover {
123
116
  background-color: $primary-light-gray;
124
117
  }
@@ -174,7 +167,7 @@
174
167
  }
175
168
  }
176
169
 
177
- .multiselect__tags > span {
170
+ .multiselect__tags>span {
178
171
  font-size: 13px;
179
172
  line-height: 1.6;
180
173
  color: $color-heading;
@@ -326,6 +319,7 @@
326
319
  font-size: 13px;
327
320
  display: flex;
328
321
  align-items: center;
322
+
329
323
  .multiselect__single {
330
324
  font-size: 12px;
331
325
  }
@@ -355,6 +349,7 @@
355
349
  }
356
350
 
357
351
  &.is-danger {
352
+
358
353
  input,
359
354
  .ac-card,
360
355
  textarea {
@@ -367,6 +362,7 @@
367
362
  }
368
363
 
369
364
  &.is-loading {
365
+
370
366
  input,
371
367
  .ac-card,
372
368
  textarea {
@@ -446,10 +442,12 @@
446
442
  }
447
443
  }
448
444
  }
445
+
449
446
  li {
450
447
  .multiselect__option {
451
448
  font-size: 13px;
452
449
  color: $color-heading;
450
+
453
451
  &:has(input[type="checkbox"]) {
454
452
  label {
455
453
  left: 24px;
@@ -457,22 +455,27 @@ li {
457
455
  }
458
456
  }
459
457
  }
458
+
460
459
  .multiselect__option--selected {
461
460
  label {
462
461
  right: 30px;
463
462
  }
464
463
  }
464
+
465
465
  .multi-select-wrapper.is-small {
466
466
  .multiselect .multiselect__tags {
467
+
467
468
  .multiselect__input,
468
469
  .multiselect__single {
469
470
  top: 3.5px !important;
470
471
  }
471
472
  }
473
+
472
474
  .multiselect .multiselect__tags .multiselect__placeholder {
473
475
  padding-top: 3.5px !important;
474
476
  }
475
477
  }
478
+
476
479
  // has info button start
477
480
  .multi-select-wrapper {
478
481
  &.has-info-button {
@@ -480,28 +483,33 @@ li {
480
483
  z-index: 99;
481
484
  right: 30px;
482
485
  }
486
+
483
487
  &.has-refresh-button {
484
488
  .multiselect__select {
485
489
  z-index: 99;
486
490
  right: 60px;
487
491
  }
492
+
488
493
  .button {
489
494
  &.is-refresh {
490
495
  right: 30px;
491
496
  }
492
497
  }
493
498
  }
499
+
494
500
  .button {
495
501
  &.is-information {
496
502
  right: 0;
497
503
  }
498
504
  }
499
505
  }
506
+
500
507
  &.has-refresh-button {
501
508
  .multiselect__select {
502
509
  z-index: 99;
503
510
  right: 30px;
504
511
  }
512
+
505
513
  .button {
506
514
  &.is-refresh {
507
515
  right: 0;
@@ -509,9 +517,67 @@ li {
509
517
  }
510
518
  }
511
519
 
520
+ // clear
521
+ &.has-clear-button {
522
+ &.has-refresh-button {
523
+ .multiselect__select {
524
+ z-index: 99;
525
+ right: 30px;
526
+ }
527
+
528
+ .button {
529
+ &.is-clear {
530
+ right: 60px;
531
+ }
532
+ }
533
+ }
534
+
535
+ &.has-info-button {
536
+ &.has-refresh-button {
537
+ .multiselect__select {
538
+ z-index: 99;
539
+ right: 60px;
540
+ }
541
+
542
+ .button {
543
+ &.is-clear {
544
+ right: 90px;
545
+ }
546
+ }
547
+ }
548
+
549
+ .multiselect__select {
550
+ z-index: 99;
551
+ right: 30px;
552
+ }
553
+
554
+ .button {
555
+ &.is-clear {
556
+ right: 60px;
557
+ }
558
+ }
559
+ }
560
+
561
+ .multiselect__select {
562
+ z-index: 99;
563
+ right: 0px;
564
+ }
565
+
566
+ .button {
567
+ &.is-clear {
568
+ right: 30px;
569
+ }
570
+ }
571
+ }
572
+
573
+ // clear
574
+
575
+
512
576
  .button {
577
+
513
578
  &.is-information,
514
- &.is-refresh {
579
+ &.is-refresh,
580
+ &.is-clear {
515
581
  background-color: transparent;
516
582
  border: none;
517
583
  position: absolute;
@@ -527,6 +593,7 @@ li {
527
593
  transform: scale(0.8);
528
594
  }
529
595
  }
596
+
530
597
  &.is-refresh.spin {
531
598
  i {
532
599
  animation: spin 1s linear infinite;
@@ -544,11 +611,14 @@ li {
544
611
  font-size: 12px !important;
545
612
  border-bottom: 1px solid $color-border-light;
546
613
  }
614
+
547
615
  .multiselect__option:not(.multiselect__option--disabled) {
548
616
  padding-left: 32px !important;
549
617
  }
618
+
550
619
  .multiselect__option--selected {
551
620
  font-weight: 500 !important;
621
+
552
622
  &:before {
553
623
  position: absolute;
554
624
  content: "";
@@ -570,26 +640,32 @@ li {
570
640
  from {
571
641
  -moz-transform: rotate(0deg);
572
642
  }
643
+
573
644
  to {
574
645
  -moz-transform: rotate(360deg);
575
646
  }
576
647
  }
648
+
577
649
  @-webkit-keyframes spin {
578
650
  from {
579
651
  -webkit-transform: rotate(0deg);
580
652
  }
653
+
581
654
  to {
582
655
  -webkit-transform: rotate(360deg);
583
656
  }
584
657
  }
658
+
585
659
  @keyframes spin {
586
660
  from {
587
661
  transform: rotate(0deg);
588
662
  }
663
+
589
664
  to {
590
665
  transform: rotate(360deg);
591
666
  }
592
667
  }
668
+
593
669
  // has info button end
594
670
 
595
671
  // dark theme end
@@ -597,21 +673,16 @@ li {
597
673
  Responsive Classes
598
674
  *****************************************/
599
675
  // Extra small devices (portrait phones, less than 576px)
600
- @media (max-width: 575.98px) {
601
- }
676
+ @media (max-width: 575.98px) {}
602
677
 
603
678
  // Small devices (landscape phones, 576px and up)
604
- @media (min-width: 576px) and (max-width: 767.98px) {
605
- }
679
+ @media (min-width: 576px) and (max-width: 767.98px) {}
606
680
 
607
681
  // Medium devices (tablets, 768px and up)
608
- @media (min-width: 768px) and (max-width: 991.98px) {
609
- }
682
+ @media (min-width: 768px) and (max-width: 991.98px) {}
610
683
 
611
684
  // Large devices (desktops, 992px and up)
612
- @media (min-width: 992px) and (max-width: 1199.98px) {
613
- }
685
+ @media (min-width: 992px) and (max-width: 1199.98px) {}
614
686
 
615
687
  // Extra large devices (large desktops, 1200px and up)
616
- @media (min-width: 1200px) {
617
- }
688
+ @media (min-width: 1200px) {}