open-consul/ui-v2/app/styles/base/components/form-elements/skin.scss
John Cowen d1cbc3f032 ui: Tab Improvements (animations/branding) (#7772)
* ui: Adds a tab selection animation to our app tabs

1. Replace all mentions of `magenta` with a themeable CSS property.
2. Add an easy way to inline style DOM nodes
3. Use CSS properties to add tab animation

* Fix up rendering test

* Avoid DOM noodling as much as possible
2020-05-12 17:14:43 +00:00

45 lines
934 B
SCSS

%form-element-note {
font-style: normal;
}
%form-element-label {
font-weight: $typo-weight-semibold;
}
%form-element-text-input {
-moz-appearance: none;
-webkit-appearance: none;
box-shadow: inset $decor-elevation-100;
border-radius: $decor-radius-100;
border: $decor-border-100;
outline: none;
}
%form-element-text-input::placeholder {
color: $gray-400;
}
%form-element-note > code {
border-radius: $decor-radius-100;
}
%form-element-error > input,
%form-element-error > textarea {
border-color: $color-failure !important;
}
%form-element-text-input {
color: $gray-500;
border-color: $gray-300;
}
%form-element-text-input-hover {
border-color: $gray-500;
}
%form-element-text-input-focus {
border-color: $blue-500;
}
%form-element-label {
color: $black;
}
%form-element-note {
color: $gray-400;
}
%form-element-note > code {
background-color: $gray-200;
color: var(--typo-brand-600, inherit);
}