Modify ↓
#363 closed defect (fixed)
Fake buttons are not styled as fake buttons in IE/Win
Reported by: | Owned by: | daniel | |
---|---|---|---|
Priority: | normal | Milestone: | 0.7 |
Component: | general | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The "fake button" style as used for the "Add attachment" link in the ticket view does not work for IE/Windows. (Reason, IE fails on the attribute selectors in the rule, and skips the whole rule).
The following inline patch fixes this problem:
Index: htdocs/css/trac.css =================================================================== --- htdocs/css/trac.css (revision 495) +++ htdocs/css/trac.css (working copy) @@ -33,13 +33,20 @@ } /* Forms */ input,textarea,select { background: #fff; margin: 2px;} -input[type="submit"]:hover,input[type="reset"]:hover,a.fake-button:hover { background: #ccb; } -input[type="submit"],input[type="reset"],.fake-button,a.fake-button { +input[type="submit"]:hover,input[type="reset"]:hover { background: #ccb; } +input[type="submit"],input[type="reset"]{ background: #eee; color: #222; border: 1px outset #ccc; padding: .1em .5em; } +a.fake-button:hover { background: #ccb; } +.fake-button,a.fake-button { + background: #eee; + color: #222; + border: 1px outset #ccc; + padding: .1em .5em; +} form.inline { float: left; } form.inline input { margin: 1em; } .fake-button, a.fake-button {
Attachments (0)
Change History (2)
comment:1 by , 20 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Applied in [502]. Thanks man. :)