Display: Fix input-number styles

pull/5401/head
Angel Fernando Quiroz Campos 7 months ago
parent eea9b15fed
commit 4f0b7fc3c4
  1. 28
      assets/css/scss/atoms/_input_text.scss

@ -1,8 +1,8 @@
.p-inputtext {
@apply border border-support-3 px-4 py-3 text-body-2 bg-white rounded-lg text-gray-90 transition w-full duration-200
@apply border border-support-3 px-4 py-3 text-body-1 bg-white rounded-lg text-gray-90 transition w-full duration-200
placeholder:text-support-3
hover:border-primary hover:text-gray-90 hover:outline-0 hover:outline-none
focus:border-primary focus:text-gray-90 focus:outline-0 focus:outline-none;
hover:border-primary hover:text-gray-90 hover:outline-0 hover:ring-0
focus:border-primary focus:text-gray-90 focus:outline-0 focus:ring-0;
&.p-invalid.p-component {
@apply border-error
@ -46,14 +46,6 @@
}
}
.p-input-icon-left > .p-inputtext {
//padding-left: nth($inputPadding, 2) * 2 + $primeIconFontSize;
}
.p-input-icon-left.p-float-label > label {
//left: nth($inputPadding, 2) * 2 + $primeIconFontSize;
}
.p-input-icon-right {
> i:last-of-type,
> svg:last-of-type {
@ -65,16 +57,10 @@
}
}
.p-inputtext-sm {
.p-inputtext {
//@include scaledFontSize($inputTextFontSize, $scaleSM);
//@include scaledPadding($inputPadding, $scaleSM);
}
.p-inputnumber {
@apply inline-flex;
}
.p-inputtext-lg {
.p-inputtext {
//@include scaledFontSize($inputTextFontSize, $scaleLG);
//@include scaledPadding($inputPadding, $scaleLG);
}
.p-inputnumber-input {
@apply flex-1;
}

Loading…
Cancel
Save