chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fiddle with CSS+HTML in effort to get more consistent buttons
[disorder]
/
templates
/
disorder.css
diff --git
a/templates/disorder.css
b/templates/disorder.css
index e647da0697ed5d77cb918b26dd8c022615ab30f1..5df11db76fb5e07e5feaefbae46456fdf2691d0b 100644
(file)
--- a/
templates/disorder.css
+++ b/
templates/disorder.css
@@
-181,9
+181,20
@@
div.filesdirectories p.all {
/* buttons *******************************************************************/
/* buttons *******************************************************************/
+button {
+ border: 0px;
+ background-color: transparent;
+ padding: 0px;
+ cursor: pointer
+ font-family: helvetica,sans-serif;
+ font-weight: normal;
+ font-variant: normal;
+ font-size: 12pt;
+}
+
/* Buttons and links that look like buttons share the same formatting */
/* Buttons and links that look like buttons share the same formatting */
-
button,
a.button {
- padding
: 1
px;
+
span.button,
a.button {
+ padding
-top: 2
px;
border-width: 3px;
border-color: #fefefe; /* Off-white */
border-style: inset;
border-width: 3px;
border-color: #fefefe; /* Off-white */
border-style: inset;
@@
-194,7
+205,12
@@
button,a.button {
font-weight: normal;
font-variant: normal;
font-size: 12pt;
font-weight: normal;
font-variant: normal;
font-size: 12pt;
- overflow: visible /* For IE's benefit */
+ cursor: pointer
+}
+
+a.button {
+ padding-left: 4px;
+ padding-right: 4px;
}
a.button:active,button:active {
}
a.button:active,button:active {