Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

Last modified 18 years ago

#363 closed defect (fixed)

Fake buttons are not styled as fake buttons in IE/Win

Reported by: cmlenz@… 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 daniel, 20 years ago

Owner: changed from Jonas Borgström to daniel
Status: newassigned

comment:2 by daniel, 20 years ago

Resolution: fixed
Status: assignedclosed

Applied in [502]. Thanks man. :)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.