summaryrefslogtreecommitdiff
path: root/!NetSurf
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2008-01-29 13:03:29 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2008-01-29 13:03:29 +0000
commitb74a1a173edc15a53b4775af0490486a7d80731c (patch)
tree1053a628fde8e6cc1f3e8285c61abe688c0fd2ae /!NetSurf
parent0241f21d4dd29af5e00c593da8dff617dff28c6d (diff)
downloadnetsurf-b74a1a173edc15a53b4775af0490486a7d80731c.tar.gz
netsurf-b74a1a173edc15a53b4775af0490486a7d80731c.tar.bz2
Tidy default form element styles.
svn path=/trunk/netsurf/; revision=3801
Diffstat (limited to '!NetSurf')
-rw-r--r--!NetSurf/Resources/CSS,f7937
1 files changed, 17 insertions, 20 deletions
diff --git a/!NetSurf/Resources/CSS,f79 b/!NetSurf/Resources/CSS,f79
index 07813b961..3d97e31fc 100644
--- a/!NetSurf/Resources/CSS,f79
+++ b/!NetSurf/Resources/CSS,f79
@@ -151,34 +151,31 @@ iframe[align=right] { float: right; }
form { display: block; }
form > * { margin-left: inherit; margin-right: inherit; }
-input { background-color: #fff; color: #000; width: 10em;
- height: 1.5em; text-align: left; border-width: 1px;
- border-color: #000; border-style: solid; overflow: hidden;
- padding: 0 2px; margin: 1px;}
+input { background-color: #fff; color: #000; text-align: left;
+ width: 10em; height: 1.5em; overflow: hidden;
+ margin: 1px; border: 1px solid #000; padding: 0 2px; }
input[type=button], input[type=reset], input[type=submit], button {
- background-color: #d9d9d9; color: #000; width: auto;
- border-width: medium; border-color: #d9d9d9;
- border-style: outset; height: auto; text-align: center;}
-input[type=image] { background-color: transparent; color: #000; width: auto;
- height: auto; border: 0; }
+ background-color: #d9d9d9; color: #000; text-align: center;
+ width: auto; height: auto;
+ border: medium outset #d9d9d9; padding: 0 0.5em; }
+input[type=image] { background-color: transparent; color: #000;
+ width: auto; height: auto; border: none; }
input[type=checkbox], input[type=radio] { background-color: transparent;
- padding: 0 0.1em; border: 0; width: 1em; height: 1em; }
+ width: 1em; height: 1em; border: none; padding: 0 0.1em; }
input[type=file] { background-color: #d9d9d9; color: #000;
- border-width: medium; border-color: #d9d9d9;
- border-style: inset; width: 10em; height: 1.5em;
- font-style: italic; }
+ width: 10em; height: 1.5em; font-style: italic;
+ border: medium inset #d9d9d9; }
input[align=left] { float: left; }
input[align=right] { float: right; }
-select { background-color: #d9d9d9; color: #000; width: 10em;
- height: 1.5em; text-align: left; border-width: medium;
- border-color: #d9d9d9; border-style: inset;
- overflow: hidden; padding: 0 2px; margin: 1px; }
-select:after { content: "\25bc"; border-left:4px ridge #d9d9d9; }
+select { background-color: #d9d9d9; color: #000; text-align: left;
+ width: 10em; height: 1.5em; overflow: hidden;
+ margin: 1px; border: medium inset #d9d9d9; padding: 0 2px; }
+select:after { content: "\25bc"; border-left: 4px ridge #d9d9d9; }
textarea { background-color: #fff; color: #000; text-align: left;
- border-width: 1px; border-color: #000; border-style: solid;
- overflow: scroll; padding: 0 2px; margin: 1px; }
+ overflow: scroll;
+ margin: 1px; border: 1px solid #000; padding: 0 2px; }
fieldset { display: block; border: thin solid #888; margin: 1.12em 0; }