@design-factory/design-factory 20.0.0-next.3 → 20.0.1
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
|
@@ -399,8 +399,11 @@
|
|
|
399
399
|
// add
|
|
400
400
|
height: initial; // in single case we will only have one line
|
|
401
401
|
|
|
402
|
-
> .ng-select-container .ng-value-container
|
|
403
|
-
|
|
402
|
+
> .ng-select-container .ng-value-container {
|
|
403
|
+
min-height: calc($input-height-lg - 2 * $input-border-width);
|
|
404
|
+
.ng-value {
|
|
405
|
+
font-size: inherit;
|
|
406
|
+
}
|
|
404
407
|
}
|
|
405
408
|
}
|
|
406
409
|
&.form-control-sm {
|
|
@@ -409,6 +412,9 @@
|
|
|
409
412
|
|
|
410
413
|
> .ng-select-container {
|
|
411
414
|
height: inherit;
|
|
415
|
+
.ng-value-container {
|
|
416
|
+
min-height: calc($input-height-sm - 2 * $input-border-width);
|
|
417
|
+
}
|
|
412
418
|
}
|
|
413
419
|
}
|
|
414
420
|
&.ng-select-disabled {
|
|
@@ -519,11 +525,14 @@
|
|
|
519
525
|
margin-bottom: var(--#{$prefix}select-value-margin); // override
|
|
520
526
|
@include ngs-root('.form-control-lg') {
|
|
521
527
|
// add
|
|
522
|
-
margin-top:
|
|
528
|
+
margin-top: calc(
|
|
529
|
+
($input-height-lg - 2 * $input-border-width - var(--#{$prefix}select-clear-button-height)) / 2
|
|
530
|
+
); //override
|
|
523
531
|
}
|
|
524
532
|
@include ngs-root('.form-control-sm') {
|
|
525
533
|
// add
|
|
526
534
|
margin-top: var(--#{$prefix}select-value-margin-sm); // add
|
|
535
|
+
margin-bottom: var(--#{$prefix}select-value-margin-sm); // add
|
|
527
536
|
}
|
|
528
537
|
@include ltr {
|
|
529
538
|
margin-left: var(--#{$prefix}select-clear-button-margin-left); // add
|
|
@@ -583,7 +592,12 @@
|
|
|
583
592
|
margin-top: var(--#{$prefix}select-value-margin); // add
|
|
584
593
|
@include ngs-root('.form-control-lg') {
|
|
585
594
|
// add
|
|
586
|
-
margin-top:
|
|
595
|
+
margin-top: calc(
|
|
596
|
+
($input-height-lg - 2 * $input-border-width - var(--#{$prefix}select-arrow-wrapper-height)) / 2
|
|
597
|
+
); // add
|
|
598
|
+
@if meta.variable-exists($name: 'df-enableBranding2023') and $df-enableBranding2023 {
|
|
599
|
+
font-size: var(--#{$prefix}typo-sizing-default); // in order to have the arrow verticaly aligned in large
|
|
600
|
+
}
|
|
587
601
|
}
|
|
588
602
|
@include ngs-root('.form-control-sm') {
|
|
589
603
|
// add
|
|
@@ -956,6 +956,8 @@ $df-select-value-height-sm: calc(var(--#{prefix}typo-sizing-small) * $line-heigh
|
|
|
956
956
|
$df-select-value-height-lg: calc(var(--#{prefix}typo-sizing-large) * $line-height-lg) !default;
|
|
957
957
|
$df-select-witharrow-clear-button-margin: var(--#{$prefix}spacing-3) !default;
|
|
958
958
|
$df-select-disabled-bg: var(--#{$prefix}color-disabled-main-background) !default;
|
|
959
|
+
$df-select-value-margin-sm: 0.125rem !default;
|
|
960
|
+
$df-select-value-margin-lg: 0.5rem !default;
|
|
959
961
|
|
|
960
962
|
// Sidenav
|
|
961
963
|
$df-sidenav-item-active-bg-color: var(--#{$prefix}primary-200) !default; // todo define a var for this ?
|