mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-09 14:44:34 +08: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],
|
||||
textarea[readonly] {
|
||||
cursor: not-allowed;
|
||||
background-color: @inputDisabledBackground;
|
||||
}
|
||||
// Explicitly reset the colors here
|
||||
input[type="radio"][disabled],
|
||||
input[type="checkbox"][disabled],
|
||||
input[type="radio"][readonly],
|
||||
input[type="checkbox"][readonly] {
|
||||
background-color: transparent;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// FORM FIELD FEEDBACK STATES
|
||||
// --------------------------
|
||||
|
||||
|
|
1
vendors/bootstrap/less/variables.less
vendored
1
vendors/bootstrap/less/variables.less
vendored
|
@ -68,7 +68,6 @@
|
|||
@inputBackground: @white;
|
||||
@inputBorder: #ccc;
|
||||
@inputBorderRadius: 3px;
|
||||
@inputDisabledBackground: @grayLighter;
|
||||
@formActionsBackground: #f5f5f5;
|
||||
|
||||
// Dropdowns
|
||||
|
|
Loading…
Add table
Reference in a new issue