2018-10-19 15:17:02 +00:00
|
|
|
%form-element > strong {
|
|
|
|
@extend %with-error;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2018-09-21 09:18:32 +00:00
|
|
|
%form-element-error > input,
|
|
|
|
%form-element-error > textarea {
|
|
|
|
border: $decor-border-100;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
|
|
|
%form-element [type='text'],
|
2018-09-21 09:18:32 +00:00
|
|
|
%form-element [type='password'],
|
|
|
|
%form-element textarea {
|
2018-08-29 11:11:58 +00:00
|
|
|
-moz-appearance: none;
|
|
|
|
-webkit-appearance: none;
|
2018-10-19 15:17:02 +00:00
|
|
|
box-shadow: inset 0 4px 1px rgba(0, 0, 0, 0.06);
|
2018-09-21 09:18:32 +00:00
|
|
|
border-radius: $decor-radius-100;
|
|
|
|
border: $decor-border-100;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
|
|
|
%form-element [type='text']:focus,
|
|
|
|
%form-element [type='password']:focus,
|
|
|
|
%form-element textarea:focus {
|
|
|
|
outline: none;
|
2018-09-21 09:18:32 +00:00
|
|
|
}
|
|
|
|
%form-element > em > code {
|
|
|
|
border-radius: $decor-radius-100;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
|
|
|
%form-element-error > input {
|
2018-11-09 15:28:26 +00:00
|
|
|
border-color: $color-failure !important;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2018-10-19 15:17:02 +00:00
|
|
|
%form-element > strong {
|
2018-11-09 15:28:26 +00:00
|
|
|
color: $color-failure;
|
2018-10-19 15:17:02 +00:00
|
|
|
}
|
2018-08-29 11:11:58 +00:00
|
|
|
%form-element > em {
|
2018-11-09 15:28:26 +00:00
|
|
|
color: $gray-400;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2018-09-21 09:18:32 +00:00
|
|
|
%form-element > em > code {
|
2018-11-09 15:28:26 +00:00
|
|
|
background-color: $gray-200;
|
|
|
|
color: $magenta-600;
|
2018-09-21 09:18:32 +00:00
|
|
|
border-radius: $decor-radius-100;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
|
|
|
%form-element > span {
|
2018-11-09 15:28:26 +00:00
|
|
|
color: $black;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
|
|
|
%form-element [type='text'],
|
|
|
|
%form-element [type='password'],
|
|
|
|
%form-element textarea {
|
2018-11-09 15:28:26 +00:00
|
|
|
color: $gray-500;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
|
|
|
%form-element [type='text'],
|
|
|
|
%form-element [type='password'],
|
|
|
|
%form-element textarea {
|
2018-11-09 15:28:26 +00:00
|
|
|
border-color: $gray-300;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
|
|
|
%form-element [type='text']:hover,
|
|
|
|
%form-element [type='password']:hover,
|
|
|
|
%form-element textarea:hover {
|
2018-11-09 15:28:26 +00:00
|
|
|
border-color: $gray-500;
|
2018-09-21 09:18:32 +00:00
|
|
|
}
|
|
|
|
%form-element [type='text']:focus,
|
|
|
|
%form-element [type='password']:focus,
|
|
|
|
%form-element textarea:focus {
|
2018-11-09 15:28:26 +00:00
|
|
|
border-color: $blue-500;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|