Skip to content

Commit

Permalink
fix: fix styles of number and url fields
Browse files Browse the repository at this point in the history
  • Loading branch information
jerivas committed Aug 12, 2020
1 parent 04a8900 commit 9e404d5
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions grappelli_safe/static/grappelli/css/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,19 @@ input:focus, textarea:focus, select:focus {
border-color: #999 #bbb #bbb #999;
}

textarea[readonly],
input[readonly] {
background: #ddd;
color: #888;
}

/* Text, Password ................................................... */
/* Text inputs ................................................... */

input[type=text], input[type=password], input[type=email], input[type=url] {
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"] {
padding: 5px 3px 4px;
height: 14px;
}
Expand Down Expand Up @@ -350,6 +359,7 @@ input.vManyToManyRawIdAdminField,
}

.inline-tabular input.vTextField,
.inline-tabular input.vURLField,
.inline-tabular textarea.vLargeTextField,
.inline-tabular input.vFileBrowseField {
width: 230px;
Expand Down

0 comments on commit 9e404d5

Please sign in to comment.