XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
|
|
|
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
2001-09-20 11:10:52 +04:00
|
|
|
*
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
* 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/
|
2001-09-20 11:10:52 +04:00
|
|
|
*
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
* 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.
|
2001-09-20 11:10:52 +04:00
|
|
|
*
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is
|
|
|
|
* Netscape Communications Corporation.
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 1998
|
|
|
|
* the Initial Developer. All Rights Reserved.
|
2001-09-20 11:10:52 +04:00
|
|
|
*
|
|
|
|
* Contributor(s):
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
* Joe Hewitt <hewitt@netscape.com>
|
|
|
|
*
|
|
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
|
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
* use your version of this file under the terms of the NPL, indicate your
|
|
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
* the provisions above, a recipient may use your version of this file under
|
|
|
|
* the terms of any one of the NPL, the GPL or the LGPL.
|
|
|
|
*
|
|
|
|
* ***** END LICENSE BLOCK ***** */
|
2001-09-20 11:10:52 +04:00
|
|
|
|
|
|
|
/* ===== toolbarbutton.css ==============================================
|
|
|
|
== Styles used by XUL toolbarbutton elements.
|
|
|
|
======================================================================= */
|
|
|
|
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
|
|
|
|
/* ::::: toolbarbutton ::::: */
|
|
|
|
|
|
|
|
toolbarbutton {
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
border: 1px solid transparent;
|
2001-09-20 11:10:52 +04:00
|
|
|
padding: 1px 2px;
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
font: message-box;
|
2001-09-20 11:10:52 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.toolbarbutton-icon {
|
2001-12-05 02:49:25 +03:00
|
|
|
margin-right: 2px;
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
list-style-image: inherit;
|
2001-09-20 11:10:52 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.toolbarbutton-text {
|
|
|
|
margin: 0px !important;
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
text-align: center;
|
2001-09-20 11:10:52 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton:hover {
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
border-top: 1px solid #EEF0F3;
|
|
|
|
border-right: 1px solid #86929E;
|
|
|
|
border-bottom: 1px solid #86929E;
|
|
|
|
border-left: 1px solid #EEF0F3;
|
2001-09-20 11:10:52 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton:hover:active,
|
|
|
|
toolbarbutton[open="true"] {
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
border-top: 1px solid #86929E;
|
|
|
|
border-right: 1px solid #EEF0F3;
|
|
|
|
border-bottom: 1px solid #EEF0F3;
|
|
|
|
border-left: 1px solid #86929E;
|
|
|
|
padding: 2px 1px 0px 3px;
|
2001-09-20 11:10:52 +04:00
|
|
|
}
|
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
toolbarbutton[disabled="true"] {
|
|
|
|
border: 1px solid transparent !important;
|
|
|
|
padding: 1px 2px !important;
|
|
|
|
color: #9399AB !important;
|
2001-09-20 11:10:52 +04:00
|
|
|
}
|
|
|
|
|
2001-10-02 07:06:51 +04:00
|
|
|
/* ..... checked state ..... */
|
2001-09-20 11:10:52 +04:00
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
toolbarbutton[checked="true"] {
|
|
|
|
border-top: 1px solid #454C55 !important;
|
|
|
|
border-right: 1px solid #7D848D !important;
|
|
|
|
border-bottom: 1px solid #7D848D !important;
|
|
|
|
border-left: 1px solid #454C55 !important;
|
|
|
|
background-color: #8C9AA8 !important;
|
2001-09-20 11:10:52 +04:00
|
|
|
color: #EFF1F4;
|
|
|
|
}
|
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
toolbarbutton[checked="true"]:hover:active {
|
|
|
|
padding: 1px 2px;
|
2001-09-20 11:10:52 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: toolbarbutton menu ::::: */
|
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
.toolbarbutton-menu-dropmarker {
|
2001-09-20 11:10:52 +04:00
|
|
|
list-style-image: url("chrome://global/skin/button/tbmenu-arrow.gif");
|
|
|
|
}
|
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
.toolbarbutton-menu-dropmarker[disabled="true"] {
|
2001-09-20 11:10:52 +04:00
|
|
|
list-style-image: url("chrome://global/skin/button/tbmenu-arrow-dis.gif");
|
|
|
|
}
|
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
.toolbarbutton-menu-dropmarker[open="true"] {
|
2001-09-20 11:10:52 +04:00
|
|
|
list-style-image: url("chrome://global/skin/button/tbmenu-arrow-act.gif");
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: toolbarbutton menu-button ::::: */
|
|
|
|
|
|
|
|
.toolbarbutton-menubutton-button {
|
|
|
|
font: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ..... dropmarker ..... */
|
|
|
|
|
|
|
|
.toolbarbutton-menubutton-dropmarker {
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
margin: 20px 5px 15px 40px;
|
2001-09-20 11:10:52 +04:00
|
|
|
width: 13px;
|
|
|
|
height: 11px;
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
list-style-image: url("chrome://global/skin/button/tbmbtn-arrow.gif");
|
2001-09-20 11:10:52 +04:00
|
|
|
}
|
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
toolbarbutton:hover > stack > .toolbarbutton-menubutton-dropmarker {
|
2001-09-20 11:10:52 +04:00
|
|
|
list-style-image: url("chrome://global/skin/button/tbmbtn-arrow-hov.gif");
|
|
|
|
}
|
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
toolbarbutton[open="true"] > stack > .toolbarbutton-menubutton-dropmarker {
|
2001-09-20 11:10:52 +04:00
|
|
|
list-style-image: url("chrome://global/skin/button/tbmbtn-arrow-act.gif");
|
|
|
|
}
|
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 15:04:11 +03:00
|
|
|
toolbarbutton[disabled="true"] > stack > .toolbarbutton-menubutton-dropmarker,
|
|
|
|
toolbarbutton[disabled="true"]:hover > stack > .toolbarbutton-menubutton-dropmarker
|
2001-09-20 11:10:52 +04:00
|
|
|
{
|
|
|
|
list-style-image: none;
|
|
|
|
}
|