home *** CD-ROM | disk | FTP | other *** search
- /*
- * The contents of this file are subject to the Netscape Public
- * License Version 1.1 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.mozilla.org/NPL/
- *
- * Software distributed under the License is distributed on an "AS
- * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- * implied. See the License for the specific language governing
- * rights and limitations under the License.
- *
- * The Original Code is Mozilla Communicator client code, released
- * March 31, 1998.
- *
- * The Initial Developer of the Original Code is Netscape
- * Communications Corporation. Portions created by Netscape are
- * Copyright (C) 1998-1999 Netscape Communications Corporation. All
- * Rights Reserved.
- *
- * Contributor(s):
- * Joe Hewitt (hewitt@netscape.com)
- * Alex W. (Charamel) <lucx@shaw.ca>
- */
-
- /* ===== toolbarbutton.css =====================================================
- == Styles used by the XUL button element.
- ======================================================================= */
-
- @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
-
-
-
- /* ::::: toolbarbutton ::::: */
-
- toolbarbutton {
- -moz-box-align: center;
- -moz-box-pack: center;
- margin: 0;
- padding: 2px 4px;
- background-color: transparent;
- color: -moz-DialogText;
- }
-
-
- .toolbarbutton-text {
- margin: 0px !important;
- text-align: center;
- }
-
- /*if button has label, add padding to the text; fixes conflict with extra margins on buttons without labels*/
- toolbarbutton[label] .toolbarbutton-text{
- margin-left:4px!important;
- }
-
- /*if toolbarbutton type is a menu, add extra margin to separate from adjacent buttons during hover*/
- toolbarbutton[type="menu"]{
- margin-right:1px!important;
- }
-
- /*toolbar text padding*/
- .toolbarbutton-1 .toolbarbutton-text {
- margin: 0px 5px !important;
- }
-
- /* hover over toolbar */
- toolbarbutton:hover,
- toolbarbutton[buttonover="true"],
- toolbarbutton[open="true"]{
- background:#F6F1E6;
- /*background:url("chrome://global/skin/toolbarbutton/button-hilite.png") repeat-x bottom left #EEE4D6;*/
- }
-
- /*hover over navbar icons*/
- toolbarbutton.toolbarbutton-1 .toolbarbutton-icon{
- /*padding:1px 4px;*/
- }
- toolbarbutton.toolbarbutton-1:hover .toolbarbutton-icon{
- /*background:#F6F0E6;
- -moz-border-radius:5px;*/
- }
-
-
- toolbarbutton:hover:active,
- toolbarbutton[open="true"] {
- /*background:#FBF8F3;*/
- }
-
- toolbarbutton[disabled="true"],
- toolbarbutton[disabled="true"]:hover,
- toolbarbutton[disabled="true"]:hover:active,
- toolbarbutton[disabled="true"][open="true"] {
- background:none;
- border-color: none;
- color: #BDA68A;
- }
-
- /* ..... checked state ..... */
-
- toolbarbutton[checked="true"] {
- background:#FBF8F3;
- color: ButtonText !important;
- }
-
- /* ..... checked disabled state ..... */
- toolbarbutton[checked="true"][disabled="true"] {
- color: #BDA68A!important;
- }
-
-
- /* ::::: toolbarbutton menu ::::: */
-
- .toolbarbutton-menu-dropmarker {
- list-style-image: url("chrome://global/skin/arrow/arrow-dn-small.png");
- padding-left: 2px;
- -moz-image-region: auto;
- }
-
-
- .toolbarbutton-menu-dropmarker[disabled="true"] {
- list-style-image: url("chrome://global/skin/arrow/arrow-dn-small-dis.png");
- }
-
- /* ::::: toolbarbutton menu-button ::::: */
-
- toolbarbutton[type="menu-button"] {
- -moz-box-align: stretch;
- -moz-box-orient: horizontal !important;
- }
-
- /*
- 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 {
- }*/
-
- .toolbarbutton-menubutton-button {
- -moz-box-align: center;
- -moz-box-pack: center;
- -moz-box-orient: vertical;
- margin: 0px !important;
- padding: 0px !important;/* get rid of padding inside padding*/
- }
-
- /* .......... dropmarker .......... */
-
- .toolbarbutton-menubutton-dropmarker {
- -moz-box-align: end;
- list-style-image: url("chrome://global/skin/icons/dropmarker.png");
- -moz-image-region: rect(0px 10px 10px 0px);
- }
-
- toolbar[iconsize="large"] .toolbarbutton-menubutton-dropmarker{
- padding-bottom:3px;
- }
-
- toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker{
- padding-bottom:3px;
- }
-
- toolbarbutton:hover .toolbarbutton-menubutton-dropmarker {
- }
-
- .toolbarbutton-menubutton-dropmarker[disabled="true"] {
- -moz-image-region: rect(30px 10px 40px 0px);
- }
-
- .toolbarbutton-menubutton-dropmarker:hover{
- -moz-image-region: rect(10px 10px 20px 0px);
- }
-
- /*toolbarbutton[type="menu-button"][open="true"] .toolbarbutton-menubutton-dropmarker,
- toolbarbutton[type="menu-button"][buttondown="true"] .toolbarbutton-menubutton-dropmarker {
- -moz-image-region: rect(20px 10px 30px 0px);
- }*/
-