mirror of https://github.com/rancher/ui.git
18502
This commit is contained in:
parent
3188375aac
commit
644b242a23
|
|
@ -80,6 +80,7 @@ textarea {
|
|||
font-size: 15px;
|
||||
line-height: 24px;
|
||||
width: 100%;
|
||||
color: $input-color;
|
||||
|
||||
&[size] {
|
||||
display: inline-block;
|
||||
|
|
@ -94,7 +95,7 @@ textarea {
|
|||
border-color: $input-bg-hover;
|
||||
background: rgba($input-bg-hover, .2);
|
||||
&::placeholder {
|
||||
color: $input-bg-hover;
|
||||
color: $input-color-placeholder;
|
||||
}
|
||||
}
|
||||
&.disabled, &[disabled], &[disabled]:hover {
|
||||
|
|
@ -102,14 +103,14 @@ textarea {
|
|||
border-color: $input-bg-disabled;
|
||||
cursor: not-allowed;
|
||||
&::placeholder {
|
||||
color: darken($input-bg-disabled, 5%);
|
||||
color: $input-color-placeholder;
|
||||
}
|
||||
}
|
||||
&:focus {
|
||||
background: rgba($input-border-focus, .2);
|
||||
border-color: $input-border-focus;
|
||||
&::placeholder {
|
||||
color: $input-border-focus;
|
||||
color: $input-color-placeholder;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ $banner-color : white;
|
|||
|
||||
/*Forms*/
|
||||
//** Placeholder text color
|
||||
$input-color-placeholder : darken($light-grey, 50%);
|
||||
$input-color-placeholder : $text-color;
|
||||
|
||||
//** `<input>` background color
|
||||
$input-bg : lighten($dark-grey, 5);
|
||||
|
|
@ -93,7 +93,7 @@ $input-bg-hover : $light-grey;
|
|||
$input-bg-disabled : #f3f4f8;
|
||||
|
||||
//** Text color for `<input>`s
|
||||
$input-color : $text-color;
|
||||
$input-color : lighten($text-color, 50%);
|
||||
|
||||
//** `<input>` border color
|
||||
$input-border : transparent;
|
||||
|
|
|
|||
Loading…
Reference in New Issue