add option to Ox.Input to set readonly attribute

This commit is contained in:
j 2015-02-27 12:26:47 +05:30
commit 46d0dcf2e3
2 changed files with 8 additions and 1 deletions

View file

@ -588,7 +588,9 @@ Forms
}
.$themeClass input.OxCheckbox.OxDisabled,
.$themeClass input.OxInput:disabled {
.$themeClass input.OxInput:disabled,
.$themeClass input.OxInput[readonly=readonly],
.$themeClass textarea.OxInput[readonly=readonly] {
background-image: -moz-linear-gradient(top, $inputDisabledGradient);
background: -ms-linear-gradient(top, $inputDisabledGradient);
background-image: -o-linear-gradient(top, $inputDisabledGradient);