Skip to content

Commit

Permalink
Merge pull request #10 from informa/issue/separate-statics
Browse files Browse the repository at this point in the history
Radio, Checkboxes, Test
  • Loading branch information
Sebastian Vetter committed Aug 21, 2013
2 parents 825c824 + d1c8964 commit c7a7fd6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions fancypages/static/fancypages/less/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
display: block;
margin-bottom: 5px;
text-transform: capitalize;
font-family: @baseFontFamily;
}

// Form controls
Expand Down Expand Up @@ -105,6 +106,16 @@
margin-top: 1px \9; /* IE8-9 */
line-height: normal;
}
input[type="radio"] {
-webkit-appearance: radio;
-moz-appearance: radio;
appearance: radio;
}
input[type="checkbox"] {
-webkit-appearance: checkbox;
-moz-appearance: checkbox;
appearance: checkbox;
}

// Reset width of input images, buttons, radios, checkboxes
input[type="file"],
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/test_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_update_a_toplevel_page(self):

form = page.form
self.assertEquals(form['name'].value, page_name)
self.assertEquals(form['description'].value, page_description)
self.assertEquals(form['description'].value.strip(), page_description)
self.assertEquals(
form['date_visible_start'].value,
date(now, 'd-m-Y')
Expand Down

0 comments on commit c7a7fd6

Please sign in to comment.