UNPKG

@progress/kendo-ui

Version:

This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.

105 lines (92 loc) 1.97 kB
// Solid input .k-widget.k-input, .k-input { .fill( @input-text, @input-bg, @input-border ); // Hover &:hover, &.k-hover { .fill( @input-hover-text, @input-hover-bg, @input-hover-border ); } // Focus &:focus, &.k-focus { .fill ( @input-focus-text, @input-focus-bg, @input-focus-border ); .box-shadow( @input-focus-shadow ); } &:focus-within { .fill ( @input-focus-text, @input-focus-bg, @input-focus-border ); .box-shadow( @input-focus-shadow ); } // Invalid &.k-invalid { .fill( @border: @error ); .k-input-validation-icon { color: @error; } } } // Solid picker .k-widget.k-picker, .k-picker { .fill( @button-text-color, @button-background-color, @button-border-color, @button-gradient ); // Hover &:hover, &.k-hover { .fill( @button-hover-text-color, @button-hover-background-color, @button-hover-border-color, @button-hover-gradient ); } // Focus &:focus, &.k-focus { .fill ( @border: @button-focused-border-color ); .box-shadow( @button-focused-shadow ); } &:focus-within { .fill ( @border: @button-focused-border-color ); .box-shadow( @button-focused-shadow ); } // Invalid &.k-invalid { .fill( @border: @error ); .k-input-validation-icon { color: @error; } } } // Inner input .k-input-inner { // Placeholder text &::placeholder { color: @input-placeholder-text; opacity: @input-placeholder-opacity; user-select: none; } &:-ms-input-placeholder { color: @input-placeholder-text; } }