diff --git a/src/definitions/collections/form.less b/src/definitions/collections/form.less index dc790440a5..870822e31f 100755 --- a/src/definitions/collections/form.less +++ b/src/definitions/collections/form.less @@ -163,13 +163,23 @@ Transparent ---------------------*/ +.ui.form .field .transparent.input input, +.ui.form .field input.transparent, +.ui.form .field textarea.transparent { + padding: @transparentPadding !important; +} + .ui.form .field textarea.transparent { border-color: transparent !important; background-color: transparent !important; - padding: 0em !important; box-shadow: none !important; - border-radius: 0px !important; - color: inherit; +} + +.ui.form .field.error .transparent.input input, +.ui.form .field.error input.transparent, +.ui.form .field.error textarea.transparent { + background-color: @transparentFormErrorBackground !important; + color: @transparentFormErrorColor !important; } /*-------------------------- diff --git a/src/themes/default/collections/form.variables b/src/themes/default/collections/form.variables index 3644885a63..d68d0baba6 100644 --- a/src/themes/default/collections/form.variables +++ b/src/themes/default/collections/form.variables @@ -103,6 +103,9 @@ @formErrorColor: @negativeTextColor; @formErrorBorder: @negativeBorderColor; @formErrorBackground: @negativeBackgroundColor; +@transparentFormErrorColor: @formErrorColor; +@transparentFormErrorBackground: @formErrorBackground; +@transparentPadding: @inputPadding; /* AutoFill */ @inputAutoFillBackground: #FFFFF0;