@appscode/design-system 2.2.17 → 2.2.19

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.17",
3
+ "version": "2.2.19",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -25,6 +25,7 @@
25
25
  padding: 6px 30px 8px 20px;
26
26
  font-size: 13px;
27
27
  border-radius: 4px;
28
+
28
29
  &:hover {
29
30
  border-color: $ac-primary;
30
31
  }
@@ -40,6 +41,7 @@
40
41
  .multiselect__tags-wrap {
41
42
  display: flex;
42
43
  align-items: center;
44
+ flex-wrap: wrap;
43
45
  }
44
46
 
45
47
  .multiselect__tag {
@@ -79,9 +81,11 @@
79
81
  margin-bottom: 0;
80
82
  }
81
83
  }
84
+
82
85
  .multiselect__select {
83
86
  height: 36px;
84
87
  }
88
+
85
89
  .multiselect__content {
86
90
  .multiselect__element {
87
91
  .multiselect__option {
@@ -90,16 +94,20 @@
90
94
  font-size: 13px;
91
95
  display: flex;
92
96
  align-items: center;
97
+
93
98
  img {
94
99
  width: 30px;
95
100
  }
101
+
96
102
  p {
97
103
  font-size: 13px;
98
104
  color: $color-heading;
99
105
  }
106
+
100
107
  p:not(.location) {
101
108
  font-weight: 500;
102
109
  }
110
+
103
111
  a {
104
112
  display: block;
105
113
  font-weight: 400;
@@ -118,6 +126,7 @@
118
126
  &.multiselect__option--highlight {
119
127
  background-color: $white-100;
120
128
  color: $ac-secondary;
129
+
121
130
  &:hover {
122
131
  background-color: $primary-light-gray;
123
132
  }
@@ -173,7 +182,7 @@
173
182
  }
174
183
  }
175
184
 
176
- .multiselect__tags > span {
185
+ .multiselect__tags>span {
177
186
  font-size: 13px;
178
187
  line-height: 1.6;
179
188
  color: $color-heading;
@@ -325,6 +334,7 @@
325
334
  font-size: 13px;
326
335
  display: flex;
327
336
  align-items: center;
337
+
328
338
  .multiselect__single {
329
339
  font-size: 12px;
330
340
  }
@@ -354,6 +364,7 @@
354
364
  }
355
365
 
356
366
  &.is-danger {
367
+
357
368
  input,
358
369
  .ac-card,
359
370
  textarea {
@@ -366,6 +377,7 @@
366
377
  }
367
378
 
368
379
  &.is-loading {
380
+
369
381
  input,
370
382
  .ac-card,
371
383
  textarea {
@@ -445,10 +457,12 @@
445
457
  }
446
458
  }
447
459
  }
460
+
448
461
  li {
449
462
  .multiselect__option {
450
463
  font-size: 13px;
451
464
  color: $color-heading;
465
+
452
466
  &:has(input[type="checkbox"]) {
453
467
  label {
454
468
  left: 24px;
@@ -456,22 +470,27 @@ li {
456
470
  }
457
471
  }
458
472
  }
473
+
459
474
  .multiselect__option--selected {
460
475
  label {
461
476
  right: 30px;
462
477
  }
463
478
  }
479
+
464
480
  .multi-select-wrapper.is-small {
465
481
  .multiselect .multiselect__tags {
482
+
466
483
  .multiselect__input,
467
484
  .multiselect__single {
468
485
  top: 3.5px !important;
469
486
  }
470
487
  }
488
+
471
489
  .multiselect .multiselect__tags .multiselect__placeholder {
472
490
  padding-top: 3.5px !important;
473
491
  }
474
492
  }
493
+
475
494
  // has info button start
476
495
  .multi-select-wrapper {
477
496
  &.has-info-button {
@@ -479,28 +498,33 @@ li {
479
498
  z-index: 99;
480
499
  right: 30px;
481
500
  }
501
+
482
502
  &.has-refresh-button {
483
503
  .multiselect__select {
484
504
  z-index: 99;
485
505
  right: 60px;
486
506
  }
507
+
487
508
  .button {
488
509
  &.is-refresh {
489
510
  right: 30px;
490
511
  }
491
512
  }
492
513
  }
514
+
493
515
  .button {
494
516
  &.is-information {
495
517
  right: 0;
496
518
  }
497
519
  }
498
520
  }
521
+
499
522
  &.has-refresh-button {
500
523
  .multiselect__select {
501
524
  z-index: 99;
502
525
  right: 30px;
503
526
  }
527
+
504
528
  .button {
505
529
  &.is-refresh {
506
530
  right: 0;
@@ -508,9 +532,87 @@ li {
508
532
  }
509
533
  }
510
534
 
535
+ // clear
536
+ &.has-clear-button {
537
+ &.has-refresh-button {
538
+ .multiselect__select {
539
+ z-index: 99;
540
+ right: 60px;
541
+ }
542
+
543
+ .button {
544
+ &.is-clear {
545
+ right: 30px;
546
+ }
547
+ }
548
+ }
549
+
550
+ &.has-info-button {
551
+ &.has-refresh-button {
552
+ .multiselect__select {
553
+ z-index: 99;
554
+ right: 60px;
555
+ }
556
+
557
+ .button {
558
+ &.is-clear {
559
+ right: 90px;
560
+ }
561
+ }
562
+ }
563
+
564
+ .multiselect__select {
565
+ z-index: 99;
566
+ right: 60px;
567
+ }
568
+
569
+ .button {
570
+ &.is-clear {
571
+ right: 30px;
572
+ }
573
+ }
574
+ }
575
+
576
+ .multiselect__select {
577
+ z-index: 99;
578
+ right: 30px;
579
+ }
580
+
581
+ .button {
582
+ &.is-clear {
583
+ right: 0px;
584
+ }
585
+ }
586
+ }
587
+
588
+ &.has-info-button {
589
+ &.has-refresh-button {
590
+ &.has-clear-button {
591
+ // .multiselect__select {
592
+ // z-index: 99;
593
+ // right: 60px;
594
+ // }
595
+ }
596
+
597
+
598
+
599
+
600
+ // .button {
601
+ // &.is-information {
602
+ // right: 0;
603
+ // }
604
+ // }
605
+ }
606
+ }
607
+
608
+ // clear
609
+
610
+
511
611
  .button {
612
+
512
613
  &.is-information,
513
- &.is-refresh {
614
+ &.is-refresh,
615
+ &.is-clear {
514
616
  background-color: transparent;
515
617
  border: none;
516
618
  position: absolute;
@@ -526,6 +628,7 @@ li {
526
628
  transform: scale(0.8);
527
629
  }
528
630
  }
631
+
529
632
  &.is-refresh.spin {
530
633
  i {
531
634
  animation: spin 1s linear infinite;
@@ -543,11 +646,14 @@ li {
543
646
  font-size: 12px !important;
544
647
  border-bottom: 1px solid $color-border-light;
545
648
  }
649
+
546
650
  .multiselect__option:not(.multiselect__option--disabled) {
547
651
  padding-left: 32px !important;
548
652
  }
653
+
549
654
  .multiselect__option--selected {
550
655
  font-weight: 500 !important;
656
+
551
657
  &:before {
552
658
  position: absolute;
553
659
  content: "";
@@ -569,26 +675,32 @@ li {
569
675
  from {
570
676
  -moz-transform: rotate(0deg);
571
677
  }
678
+
572
679
  to {
573
680
  -moz-transform: rotate(360deg);
574
681
  }
575
682
  }
683
+
576
684
  @-webkit-keyframes spin {
577
685
  from {
578
686
  -webkit-transform: rotate(0deg);
579
687
  }
688
+
580
689
  to {
581
690
  -webkit-transform: rotate(360deg);
582
691
  }
583
692
  }
693
+
584
694
  @keyframes spin {
585
695
  from {
586
696
  transform: rotate(0deg);
587
697
  }
698
+
588
699
  to {
589
700
  transform: rotate(360deg);
590
701
  }
591
702
  }
703
+
592
704
  // has info button end
593
705
 
594
706
  // dark theme end
@@ -596,21 +708,16 @@ li {
596
708
  Responsive Classes
597
709
  *****************************************/
598
710
  // Extra small devices (portrait phones, less than 576px)
599
- @media (max-width: 575.98px) {
600
- }
711
+ @media (max-width: 575.98px) {}
601
712
 
602
713
  // Small devices (landscape phones, 576px and up)
603
- @media (min-width: 576px) and (max-width: 767.98px) {
604
- }
714
+ @media (min-width: 576px) and (max-width: 767.98px) {}
605
715
 
606
716
  // Medium devices (tablets, 768px and up)
607
- @media (min-width: 768px) and (max-width: 991.98px) {
608
- }
717
+ @media (min-width: 768px) and (max-width: 991.98px) {}
609
718
 
610
719
  // Large devices (desktops, 992px and up)
611
- @media (min-width: 992px) and (max-width: 1199.98px) {
612
- }
720
+ @media (min-width: 992px) and (max-width: 1199.98px) {}
613
721
 
614
722
  // Extra large devices (large desktops, 1200px and up)
615
- @media (min-width: 1200px) {
616
- }
723
+ @media (min-width: 1200px) {}