2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2004-07-06 05:23:10 +00:00
|
|
|
|
|
|
|
/* ===== toolbarbutton.css =====================================================
|
|
|
|
== Styles used by the XUL button element.
|
|
|
|
======================================================================= */
|
|
|
|
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
|
|
|
|
/* ::::: toolbarbutton ::::: */
|
|
|
|
|
|
|
|
toolbarbutton {
|
2004-07-06 15:00:10 +00:00
|
|
|
-moz-appearance: toolbarbutton;
|
2004-07-06 05:23:10 +00:00
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
2004-07-06 15:00:10 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 3px;
|
|
|
|
color: -moz-DialogText;
|
2004-07-06 05:23:10 +00:00
|
|
|
}
|
|
|
|
|
2009-10-02 06:22:18 +00:00
|
|
|
toolbarbutton:-moz-lwtheme {
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2009-02-21 16:33:07 +00:00
|
|
|
.toolbarbutton-icon[label]:not([label=""]),
|
|
|
|
.toolbarbutton-icon[type="menu"] {
|
2005-06-01 12:01:39 +00:00
|
|
|
-moz-margin-end: 2px;
|
2004-07-06 05:23:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.toolbarbutton-text {
|
2004-07-06 15:00:10 +00:00
|
|
|
margin: 0 !important;
|
2004-07-06 05:23:10 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2005-07-31 15:34:57 +00:00
|
|
|
toolbarbutton.tabbable {
|
|
|
|
-moz-user-focus: normal !important;
|
|
|
|
}
|
|
|
|
|
2010-02-02 07:48:16 +00:00
|
|
|
toolbarbutton:hover {
|
2004-12-10 02:30:24 +00:00
|
|
|
color: -moz-buttonhovertext;
|
2004-07-06 05:23:10 +00:00
|
|
|
}
|
|
|
|
|
2004-07-06 15:00:10 +00:00
|
|
|
toolbarbutton:hover:active,
|
|
|
|
toolbarbutton[open="true"] {
|
2005-06-01 12:01:39 +00:00
|
|
|
padding-top: 4px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
-moz-padding-start: 4px;
|
|
|
|
-moz-padding-end: 2px;
|
2004-07-06 15:00:10 +00:00
|
|
|
color: ButtonText;
|
|
|
|
}
|
2004-07-06 05:23:10 +00:00
|
|
|
|
|
|
|
toolbarbutton[disabled="true"],
|
|
|
|
toolbarbutton[disabled="true"]:hover,
|
2004-07-06 15:00:10 +00:00
|
|
|
toolbarbutton[disabled="true"]:hover:active,
|
2004-07-06 05:23:10 +00:00
|
|
|
toolbarbutton[disabled="true"][open="true"] {
|
2004-07-06 15:00:10 +00:00
|
|
|
padding: 3px;
|
|
|
|
color: GrayText;
|
2004-07-06 05:23:10 +00:00
|
|
|
}
|
|
|
|
|
2012-05-21 13:43:19 +00:00
|
|
|
toolbarbutton[checked="true"]:not(:hover) {
|
|
|
|
color: ButtonText;
|
2006-07-20 03:09:51 +00:00
|
|
|
}
|
|
|
|
|
2009-10-02 06:22:18 +00:00
|
|
|
toolbarbutton:-moz-lwtheme:not(:hover):not([checked="true"]):not([open="true"]):not([disabled="true"]) {
|
|
|
|
color: inherit;
|
|
|
|
text-shadow: inherit;
|
|
|
|
}
|
|
|
|
|
2004-07-06 05:23:10 +00:00
|
|
|
/* ::::: toolbarbutton menu ::::: */
|
|
|
|
|
|
|
|
.toolbarbutton-menu-dropmarker {
|
2008-01-17 10:24:31 +00:00
|
|
|
-moz-appearance: toolbarbutton-dropdown !important;
|
|
|
|
list-style-image: none;
|
2008-04-08 23:24:13 +00:00
|
|
|
-moz-image-region: auto;
|
2006-09-28 14:36:05 +00:00
|
|
|
padding: 0;
|
2008-03-12 17:25:52 +00:00
|
|
|
margin: 0;
|
2006-09-28 14:36:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.toolbarbutton-menu-dropmarker[disabled="true"] {
|
|
|
|
padding: 0 !important;
|
2004-07-06 05:23:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: toolbarbutton menu-button ::::: */
|
|
|
|
|
|
|
|
toolbarbutton[type="menu-button"] {
|
|
|
|
-moz-box-align: stretch;
|
2004-09-06 03:59:31 +00:00
|
|
|
-moz-appearance: dualbutton;
|
2004-07-06 15:00:10 +00:00
|
|
|
-moz-box-orient: horizontal !important;
|
2004-07-06 05:23:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton[type="menu-button"],
|
|
|
|
toolbarbutton[type="menu-button"]:hover,
|
|
|
|
toolbarbutton[type="menu-button"]:hover:active,
|
|
|
|
toolbarbutton[type="menu-button"][open="true"],
|
|
|
|
toolbarbutton[type="menu-button"][disabled="true"],
|
|
|
|
toolbarbutton[type="menu-button"][disabled="true"]:hover,
|
|
|
|
toolbarbutton[type="menu-button"][disabled="true"]:hover:active {
|
2004-07-06 15:00:10 +00:00
|
|
|
padding: 0 !important;
|
2004-07-06 05:23:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.toolbarbutton-menubutton-button {
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
2004-07-06 15:00:10 +00:00
|
|
|
-moz-box-orient: vertical;
|
2004-07-06 05:23:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* .......... dropmarker .......... */
|
|
|
|
|
|
|
|
.toolbarbutton-menubutton-dropmarker {
|
2013-04-23 14:06:20 +00:00
|
|
|
margin: 0 3px;
|
2008-01-17 10:24:31 +00:00
|
|
|
-moz-appearance: toolbarbutton-dropdown !important;
|
|
|
|
list-style-image: none;
|
2008-04-08 23:24:13 +00:00
|
|
|
-moz-image-region: auto;
|
2006-09-28 14:36:05 +00:00
|
|
|
}
|