summaryrefslogtreecommitdiff
path: root/gtk/res
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2008-02-02 00:13:19 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2008-02-02 00:13:19 +0000
commit120ca506c1de0d45884354b425762e90c660f52e (patch)
tree802bf68de8fb60088c4236484e6c9228278bd08d /gtk/res
parent83941da263d03bdfc97ff48780af6881a250f3bc (diff)
downloadnetsurf-120ca506c1de0d45884354b425762e90c660f52e.tar.gz
netsurf-120ca506c1de0d45884354b425762e90c660f52e.tar.bz2
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
Diffstat (limited to 'gtk/res')
-rw-r--r--gtk/res/gtkdefault.css7
1 files changed, 2 insertions, 5 deletions
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%; }