From 120ca506c1de0d45884354b425762e90c660f52e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 2 Feb 2008 00:13:19 +0000 Subject: Make text input boxes with height:auto; and no initial value get a sensible height. Make all form elements have their dimensions based on the configured minimum font size, if the current text size is smaller. Remove redundant code for setting radio icon and checkbox sizes. All em/ex based sizes now respect the min font size, when it's in effect. Updated default styles for form elements. svn path=/trunk/netsurf/; revision=3813 --- gtk/res/gtkdefault.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'gtk/res') diff --git a/gtk/res/gtkdefault.css b/gtk/res/gtkdefault.css index 33e82978d..ab66a815b 100644 --- a/gtk/res/gtkdefault.css +++ b/gtk/res/gtkdefault.css @@ -11,14 +11,11 @@ input { font-size: 95%; } input[type=button], input[type=reset], input[type=submit], button { background-color: #ddd; border: medium outset #ddd; } -input[type=image] { background-color: transparent; color: #000; width: auto; - height: auto; border: 0; } input[type=checkbox], input[type=radio] { font-size: 105%; } -input[type=file] { background-color: #ddd; border: medium inset #ddd; - font-style: italic; } +input[type=file] { background-color: #ddd; border: medium inset #ddd; } select { background-color: #ddd; border: medium inset #ddd; font-size: 95%; } -select:after { content: "\25bc"; border-left:4px ridge #ddd; } +select:after { border-left:4px ridge #ddd; } textarea { font-size: 95%; } -- cgit v1.2.3