projects
/
themes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update to current trunk
[themes.git]
/
EarlyBlue
/
global
/
checkbox.css
diff --git
a/EarlyBlue/global/checkbox.css
b/EarlyBlue/global/checkbox.css
index b419653813603d0c6caaa1b59ed7356a96645a0c..230f09be207152762be37cf0ca2361c6765b476e 100644
(file)
--- a/
EarlyBlue/global/checkbox.css
+++ b/
EarlyBlue/global/checkbox.css
@@
-35,25
+35,35
@@
*
* ***** END LICENSE BLOCK ***** */
*
* ***** END LICENSE BLOCK ***** */
+/* ===== checkbox.css ===================================================
+ == Styles used by the XUL checkbox element.
+ ======================================================================= */
+
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-/*
stylesheet for XUL <checkbox> element
*/
+/*
::::: checkbox :::::
*/
-/* default checkbox for dialogs */
-/* outer frame */
checkbox {
checkbox {
- -moz-box-align: center;
margin: 1px 2px;
margin: 1px 2px;
- padding: 1px;
+ border-left: 1px transparent;
+ border-right: 1px transparent;
+}
+
+.checkbox-spacer-box {
+ -moz-box-align: center;
+ border-right: 4px solid transparent;
+}
+
+.checkbox-label-center-box {
+ -moz-box-align: center;
}
.checkbox-label-box {
border: 1px solid transparent;
}
.checkbox-label-box {
border: 1px solid transparent;
- padding: 0px 1px;
-moz-box-align: center;
}
-moz-box-align: center;
}
-.checkbox-icon {
+.checkbox-icon
[src]
{
margin-right: 2px;
}
margin-right: 2px;
}
@@
-63,14
+73,14
@@
checkbox {
/* ..... focused state ..... */
/* ..... focused state ..... */
-checkbox:focus > .checkbox-label-box {
+checkbox:focus > .checkbox-label-
center-box > .checkbox-label-
box {
border: 1px dotted #9999CC;
}
/* ..... disabled state ..... */
border: 1px dotted #9999CC;
}
/* ..... disabled state ..... */
-checkbox[disabled="true"] > .checkbox-check {
- background-color:
-moz-Dialog
;
+checkbox[disabled="true"] > .checkbox-
spacer-box > .checkbox-
check {
+ background-color:
#CCD0DD
;
}
checkbox[disabled="true"] {
}
checkbox[disabled="true"] {
@@
-80,23
+90,22
@@
checkbox[disabled="true"] {
/* ::::: checkmark image ::::: */
.checkbox-check {
/* ::::: checkmark image ::::: */
.checkbox-check {
- -moz-box-align: center;
border: 1px inset #CCD0DD;
width: 12px;
height: 12px;
background: transparent 50% 50% no-repeat;
}
border: 1px inset #CCD0DD;
width: 12px;
height: 12px;
background: transparent 50% 50% no-repeat;
}
-
-checkbox:hover:active > .checkbox-check {
- background-color:
transparent
;
+
+checkbox:hover:active > .checkbox-
spacer-box > .checkbox-
check {
+ background-color:
#CCD0DD
;
}
/* ..... checked state ..... */
}
/* ..... checked state ..... */
-checkbox[checked="true"] > .checkbox-check {
+checkbox[checked="true"] > .checkbox-
spacer-box > .checkbox-
check {
background-image: url("chrome://global/skin/checkbox/cbox-check.gif");
}
background-image: url("chrome://global/skin/checkbox/cbox-check.gif");
}
-checkbox[checked="true"][disabled="true"] > .checkbox-check {
+checkbox[checked="true"][disabled="true"] > .checkbox-
spacer-box > .checkbox-
check {
background-image: url("chrome://global/skin/checkbox/cbox-check-disabled.gif") !important
}
background-image: url("chrome://global/skin/checkbox/cbox-check-disabled.gif") !important
}