mirror of https://github.com/status-im/consul.git
62 lines
1.4 KiB
SCSS
62 lines
1.4 KiB
SCSS
%form-element > strong {
|
|
@extend %with-error;
|
|
}
|
|
%form-element-error > input,
|
|
%form-element-error > textarea {
|
|
border: $decor-border-100;
|
|
}
|
|
%form-element [type='text'],
|
|
%form-element [type='password'],
|
|
%form-element textarea {
|
|
-moz-appearance: none;
|
|
-webkit-appearance: none;
|
|
box-shadow: inset 0 4px 1px rgba(0, 0, 0, 0.06);
|
|
border-radius: $decor-radius-100;
|
|
border: $decor-border-100;
|
|
}
|
|
%form-element [type='text']:focus,
|
|
%form-element [type='password']:focus,
|
|
%form-element textarea:focus {
|
|
outline: none;
|
|
}
|
|
%form-element > em > code {
|
|
border-radius: $decor-radius-100;
|
|
}
|
|
%form-element-error > input {
|
|
border-color: $color-failure !important;
|
|
}
|
|
%form-element > strong {
|
|
color: $color-failure;
|
|
}
|
|
%form-element > em {
|
|
color: $gray-400;
|
|
}
|
|
%form-element > em > code {
|
|
background-color: $gray-200;
|
|
color: $magenta-600;
|
|
border-radius: $decor-radius-100;
|
|
}
|
|
%form-element > span {
|
|
color: $black;
|
|
}
|
|
%form-element [type='text'],
|
|
%form-element [type='password'],
|
|
%form-element textarea {
|
|
color: $gray-500;
|
|
}
|
|
%form-element [type='text'],
|
|
%form-element [type='password'],
|
|
%form-element textarea {
|
|
border-color: $gray-300;
|
|
}
|
|
%form-element [type='text']:hover,
|
|
%form-element [type='password']:hover,
|
|
%form-element textarea:hover {
|
|
border-color: $gray-500;
|
|
}
|
|
%form-element [type='text']:focus,
|
|
%form-element [type='password']:focus,
|
|
%form-element textarea:focus {
|
|
border-color: $blue-500;
|
|
}
|