projects
/
themes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
...and even more LCARStrek for FF4 work
[themes.git]
/
LCARStrek
/
global
/
button.css
diff --git
a/LCARStrek/global/button.css
b/LCARStrek/global/button.css
index 0bb53b25e0b83b9391fa7967e0b3916d972b8e3a..34fc8ae7b57a0de35efdaa730f4acd6559930e79 100644
(file)
--- a/
LCARStrek/global/button.css
+++ b/
LCARStrek/global/button.css
@@
-36,44
+36,43
@@
* ***** END LICENSE BLOCK ***** */
/* ===== button.css =====================================================
* ***** END LICENSE BLOCK ***** */
/* ===== button.css =====================================================
- == Styles used by the XUL button element.
+ == Styles used by the XUL
(and XHTML in netError.xhtml)
button element.
======================================================================= */
======================================================================= */
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
/* :::::::::: button :::::::::: */
button {
/* :::::::::: button :::::::::: */
button {
-
-moz-
border-radius: 3px;
+ border-radius: 3px;
margin: 1px 2px;
min-width: 6.3em;
border: none;
background-color: #000000;
color: #FFCF00;
margin: 1px 2px;
min-width: 6.3em;
border: none;
background-color: #000000;
color: #FFCF00;
+ text-shadow: none;
}
.button-box {
}
.button-box {
-
-moz-
border-radius: 3px;
+ border-radius: 3px;
border: 1px solid transparent;
border: 1px solid transparent;
- padding: 1px 4px 2px 3px;
+ padding-top: 1px;
+ padding-bottom: 2px;
+ -moz-padding-start: 3px;
+ -moz-padding-end: 4px;
}
.button-icon {
}
.button-icon {
-
margin-right
: 2px;
+
-moz-margin-end
: 2px;
}
.button-text {
}
.button-text {
-
-moz-
border-radius: 3px;
+ border-radius: 3px;
margin: 0px !important;
text-align: center;
}
/* .......... focused state .......... */
margin: 0px !important;
text-align: center;
}
/* .......... focused state .......... */
-button:focus {
-}
-
-button:focus > .button-box {
+button:-moz-focusring > .button-box {
border: 1px dotted #008484;
}
border: 1px dotted #008484;
}
@@
-86,8
+85,8
@@
button[default="true"] > .button-box {
}
button[default="true"] > .button-box > .button-icon {
}
button[default="true"] > .button-box > .button-icon {
-
margin-right
: 0px;
-
margin-lef
t: 2px;
+
-moz-margin-end
: 0px;
+
-moz-margin-star
t: 2px;
}
button[default="true"]:hover > .button-box,
}
button[default="true"]:hover > .button-box,
@@
-104,19
+103,19
@@
button[default="true"][disabled="true"] > .button-box {
button:hover,
button:hover:active {
button:hover,
button:hover:active {
- border
: none;
+ border: none;
background-color: #FFCF00;
color: #000000;
}
button[open="true"] {
background-color: #FFCF00;
color: #000000;
}
button[open="true"] {
- border
: none;
+ border: none;
background-color: #FF9F00;
color: #000000;
}
background-color: #FF9F00;
color: #000000;
}
-button[checked="true"] {
- border
: none;
+button[checked="true"]
:not(:hover)
{
+ border: none;
background-color: #008484;
color: #000000;
}
background-color: #008484;
color: #000000;
}
@@
-124,7
+123,10
@@
button[checked="true"] {
button:hover:active > .button-box,
button[open="true"] > .button-box,
button[checked="true"] > .button-box {
button:hover:active > .button-box,
button[open="true"] > .button-box,
button[checked="true"] > .button-box {
- padding: 2px 3px 1px 4px;
+ padding-top: 2px;
+ padding-bottom: 1px;
+ -moz-padding-start: 4px;
+ -moz-padding-end: 3px;
}
/* .......... disabled state .......... */
}
/* .......... disabled state .......... */
@@
-137,24
+139,25
@@
button[disabled="true"]:hover:active {
}
button[disabled="true"] > .button-box {
}
button[disabled="true"] > .button-box {
- padding: 1px 4px 2px 3px !important;
+ padding-top: 1px !important;
+ padding-bottom: 2px !important;
+ -moz-padding-start: 3px !important;
+ -moz-padding-end: 4px !important;
}
/* ::::: menu/menu-button buttons ::::: */
button[type="menu-button"] {
}
/* ::::: menu/menu-button buttons ::::: */
button[type="menu-button"] {
- -moz-box-align: center;
- -moz-box-pack: center;
margin: 0px;
border: none;
}
.button-menu-dropmarker,
.button-menubutton-dropmarker {
margin: 0px;
border: none;
}
.button-menu-dropmarker,
.button-menubutton-dropmarker {
-
-moz-
border-radius: 3px;
+ border-radius: 3px;
margin: 1px;
margin: 1px;
-
min-
width: 11px;
-
min-
height: 11px;
+ width: 11px;
+ height: 11px;
}
/* ::::: plain buttons ::::: */
}
/* ::::: plain buttons ::::: */
@@
-177,3
+180,10
@@
button[type="disclosure"] {
button[type="disclosure"][open="true"] {
list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
}
button[type="disclosure"][open="true"] {
list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
}
+
+/* ::::: xhtml buttons ::::: */
+
+button::-moz-focus-inner {
+ padding: 0px;
+ border: 0px none;
+}