Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix input styles

weronkabf9d8c4a81cc
diff --git a/saleor/static/scss/storefront/components/_buttons.scss b/saleor/static/scss/storefront/components/_buttons.scss
index fd8f56ed07..c3c2b03606 100644
--- a/saleor/static/scss/storefront/components/_buttons.scss
+++ b/saleor/static/scss/storefront/components/_buttons.scss
@@ -46,10 +46,12 @@
background-color: $gray;
border: 0;
padding: $global-padding / 2 $global-padding * 2;
+ text-transform: none;
}
&.btn-link {
padding: 0;
vertical-align: baseline;
color: $gray;
+ text-transform: none;
}
}
diff --git a/saleor/static/scss/storefront/components/_forms.scss b/saleor/static/scss/storefront/components/_forms.scss
index d507cea257..e7e3dded7d 100644
--- a/saleor/static/scss/storefront/components/_forms.scss
+++ b/saleor/static/scss/storefront/components/_forms.scss
@@ -5,11 +5,13 @@
&:focus {
color: $body-color;
border-color: $gray;
+ background-color: $form-active;
}
}
.help-block {
color: $red;
+ font-size: 0.8rem;
}
.radio {
diff --git a/saleor/static/scss/storefront/variables.scss b/saleor/static/scss/storefront/variables.scss
index 4c8119928f..ebf24dfaa9 100644
--- a/saleor/static/scss/storefront/variables.scss
+++ b/saleor/static/scss/storefront/variables.scss
@@ -7,6 +7,7 @@ $button-border-radius: 4px;
// COLORS
$skull-gray: #828282;
+$form-active: #FFFAEC;
$gray: #D3D1D0;
$light-gray: #f2f2f2;