Edgewall Software

Ticket #653 (new defect)

Opened 4 years ago

Last modified 19 months ago

Form controls are over-styled

Reported by: cmlenz Owned by: cmlenz
Priority: low Milestone: 2.0
Component: general Version: 0.7.1
Severity: minor Keywords: layout
Cc:

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

Change History

  Changed 4 years ago by anonymous

  • component changed from general to browser

  Changed 4 years ago by cmlenz

  • component changed from browser to general

follow-up: ↓ 4   Changed 2 years ago by sid

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   Changed 2 years ago by cboos

  • milestone set to 2.0

Replying to sid:

... No opinions though after 2 years...

Also no patches ;)

  Changed 19 months ago by asmodai@…

How much would a reset stylesheet work?

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

Add/Change #653 (Form controls are over-styled)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cmlenz. Next status will be 'new'
The owner will change from cmlenz to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.