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