mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Use opacity on disabled/readonly form field
This commit is contained in:
parent
3de19b22b6
commit
30a6ee5d3d
2 changed files with 2 additions and 9 deletions
10
vendors/bootstrap/less/forms.less
vendored
10
vendors/bootstrap/less/forms.less
vendored
|
|
@ -127,19 +127,13 @@ input[readonly],
|
||||||
select[readonly],
|
select[readonly],
|
||||||
textarea[readonly] {
|
textarea[readonly] {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
background-color: @inputDisabledBackground;
|
opacity: 0.7;
|
||||||
}
|
|
||||||
// Explicitly reset the colors here
|
|
||||||
input[type="radio"][disabled],
|
|
||||||
input[type="checkbox"][disabled],
|
|
||||||
input[type="radio"][readonly],
|
|
||||||
input[type="checkbox"][readonly] {
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// FORM FIELD FEEDBACK STATES
|
// FORM FIELD FEEDBACK STATES
|
||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
|
|
|
||||||
1
vendors/bootstrap/less/variables.less
vendored
1
vendors/bootstrap/less/variables.less
vendored
|
|
@ -68,7 +68,6 @@
|
||||||
@inputBackground: @white;
|
@inputBackground: @white;
|
||||||
@inputBorder: #ccc;
|
@inputBorder: #ccc;
|
||||||
@inputBorderRadius: 3px;
|
@inputBorderRadius: 3px;
|
||||||
@inputDisabledBackground: @grayLighter;
|
|
||||||
@formActionsBackground: #f5f5f5;
|
@formActionsBackground: #f5f5f5;
|
||||||
|
|
||||||
// Dropdowns
|
// Dropdowns
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue