Edgewall Software
Modify

Opened 15 years ago

Last modified 4 years ago

#653 new defect

Form controls are over-styled

Reported by: Christopher Lenz Owned by:
Priority: low Milestone: unscheduled
Component: general Version: 0.7.1
Severity: minor Keywords: layout css
Cc: Branch:
Release Notes:
API Changes:

Description

The default Trac "theme" applies a number of CSS styles to form controls, such as text inputs, buttons and fieldsets. The problem with this is that it is impossible for customized installations to get the default look of form controls back by simply overriding the CSS styles. Instead, the form-related styles would need to be removed or commented out from the Trac stylesheet, thus making updates to newer versions of Trac harder.

I believe we should consider leaving the styling of form controls up to the user agent. Styling of fieldsets is okay IMHO, setting widths and margins on form controls is also okay, but it starts getting problematic when modifying borders and background color, and also when setting the padding of form controls.

Opinions?

Attachments (0)

Change History (8)

comment:1 by anonymous, 15 years ago

Component: generalbrowser

comment:2 by Christopher Lenz, 15 years ago

Component: browsergeneral

comment:3 by sid, 13 years ago

Just looked at the 0.11dev trac.css file and the css file still has this. No opinions though after 2 years…

in reply to:  3 comment:4 by Christian Boos, 13 years ago

Milestone: 2.0

Replying to sid:

… No opinions though after 2 years…

Also no patches ;)

comment:5 by asmodai@…, 12 years ago

How much would a reset stylesheet work?

http://developer.yahoo.com/yui/reset/

comment:6 by Christian Boos, 9 years ago

Milestone: 2.0unscheduled

Milestone 2.0 deleted

comment:7 by Ryan J Ollos, 4 years ago

Owner: Christopher Lenz removed

comment:8 by figaro, 4 years ago

Keywords: css added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned. Next status will be 'new'.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


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