Bug 229812 CSS Errors in themes

patch by bob@bclary.com r=neil sr=alecf
This commit is contained in:
timeless%mozdev.org 2004-05-12 18:51:04 +00:00
Родитель 1cac35061a
Коммит e593d6848b
8 изменённых файлов: 3 добавлений и 738 удалений

Просмотреть файл

@ -1,106 +0,0 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MPL/
*
* 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 the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Dan Haddix
* Brian King
*
* Alternatively, the contents of this file may be used under the terms of
* either of 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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
toolbar#toolbox {
margin :0px;
padding: 4px; 0px; 0px; 0px;
}
toolbar#toolbox button.tool:active {
margin: 2px 0px 0px 2px;
}
toolbar#toolbox button.tool[toggled="1"] {
margin: 2px 0px 0px 2px;
border: 1px white inset;
}
toolbar#toolbox button.tool {
border: 1px solid transparent;
margin: 1px 1px 1px 1px;
padding: 2px;
text-decoration: none;
color: inherit;
}
toolbar.toolbox > toolbargrippy {
visibility: collapse;
}
#pointerButton {
list-style-image:url("chrome://editor/skin/images/Map_pointerTool.gif");
}
#rectButton {
list-style-image:url("chrome://editor/skin/images/Map_rectangleTool.gif");
}
#cirButton {
list-style-image:url("chrome://editor/skin/images/Map_circleTool.gif");
}
#polyButton {
list-style-image:url("chrome://editor/skin/images/Map_polygonTool.gif");
}
#cutButton {
list-style-image:url("chrome://editor/skin/images/Map_Cut.gif");
}
#copyButton {
list-style-image:url("chrome://editor/skin/images/Map_Copy.gif");
}
#pasteButton {
list-style-image:url("chrome://editor/skin/images/Map_Paste.gif");
}
#zoomInButton {
list-style-image:url("chrome://editor/skin/images/Map_zoomIn.gif");
}
#zoomOutButton {
list-style-image:url("chrome://editor/skin/images/Map_zoomOut.gif");
}
#contrastButton {
list-style-image:url("chrome://editor/skin/images/Map_contrast.gif");
}

Просмотреть файл

@ -1,58 +0,0 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MPL/
*
* 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 the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Dan Haddix
* Brian King
*
* Alternatively, the contents of this file may be used under the terms of
* either of 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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
.rect {position:absolute; top:1px; left:1px; height:1px; width:1px; border: 1 solid #0000ff;}
.cir {position:absolute; top:1px; left:1px; height:1px; width:1px; border: 1 solid #00ff00; -moz-border-radius: 50%;}
.poly {position:absolute; top:0px; left:0px; height:100%; width:100%;}
.point {position:absolute; top:1px; left:1px; height:3px; width:3px; background-color:#ff0000;}
.pointStart {position:absolute; top:1px; left:1px; height:3px; width:3px; background-color:#8000ff;}
.handletl {position:absolute; top:-5px; left:-5px; height:5px; width:5px; background-color:#ff00ff;}
.handletr {position:absolute; top:-5px; left:100%; height:5px; width:5px; background-color:#ff00ff;}
.handlebl {position:absolute; top:100%; left:-5px; height:5px; width:5px; background-color:#ff00ff;}
.handlebr {position:absolute; top:100%; left:100%; height:5px; width:5px; background-color:#ff00ff;}
.handlel {position:absolute; top:48%; left:-5px; height:5px; width:5px; background-color:#ff00ff;}
.handler {position:absolute; top:48%; left:100%; height:5px; width:5px; background-color:#ff00ff;}
.handlet {position:absolute; top:-5px; left:48%; height:5px; width:5px; background-color:#ff00ff;}
.handleb {position:absolute; top:100%; left:48%; height:5px; width:5px; background-color:#ff00ff;}
#marquee {position:absolute; top:1px; left:-5px; height:-5px; width:1px; border: 1 dashed #0000ff; z-index:10000; visibility: hidden;}
#bgDiv {position:absolute; top:0px; left:0px; width:1; background:url("chrome://editor/skin/images/Map_checker.gif"); background-color: white; cursor: inherit;}
BODY {background-color:appworkspace;}
HTML {height: 100%;}

Просмотреть файл

@ -22,7 +22,7 @@
}
.wizard-header-box-icon {
margin: 3px 20 0 3px;
margin: 3px 20px 0 3px;
}
.wizard-header-icon {
@ -35,7 +35,7 @@
}
.wizard-buttons-top {
padding: 6px 10;
padding: 6px 10px;
background-color: #FFFFFF;
}

Просмотреть файл

@ -62,7 +62,6 @@ slider {
slider[orient="vertical"] {
-moz-appearance: scrollbartrack-vertical;
width: 16px;
height: none;
background-image: url("chrome://global/skin/scrollbar/slider-vrt.gif");
}
@ -175,7 +174,6 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] {
html|div slider[orient="vertical"] {
-moz-appearance: scrollbartrack-vertical;
width: 16px;
height: none;
background-image: url("chrome://global/skin/scrollbar/slider-vrt.gif");
}

Просмотреть файл

@ -43,6 +43,7 @@
@import url("chrome://messenger/skin/");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
/* ::::: primary toolbar buttons ::::: */

Просмотреть файл

@ -1,119 +0,0 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MPL/
*
* 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.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.
*
* Contributor(s):
* Joe Hewitt <hewitt@netscape.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either of 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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* ===== related.css ====================================================
== Styles for the What's Related sidebar panel.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: tree styles ::::: */
treeitem > treerow.relatedresult > treecell {
color: #000000;
text-decoration: none;
}
treeitem > treerow.relatedresult > treecell:hover {
color: #0000FF;
text-decoration: underline;
}
treeitem > treerow.relatedresult > treecell > titledbutton:active {
color: #FF0000;
text-decoration: underline;
}
treeitem[selected="true"] > treerow.relatedresult > treecell {
color: HighlightText;
text-decoration: none;
}
treeitem[container="true"][open="true"][loading="true"]
> treerow.relatedresult > .treecell-indent
{
list-style-image: url("chrome://communicator/skin/icons/loading.gif") !important ;
}
treeitem[container="true"][open="true"] > treerow.relatedresult
> .treecell-indent
{
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
}
/* Uncomment if double-click model is needed
treeitem[container="true"][open="true"][selected="true"] > treerow.relatedresult > .treecell-indent {
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif");
}
*/
treeitem[container="true"] > treerow.relatedresult > .treecell-indent {
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
}
/* Uncomment if double-click model is needed
treeitem[container="true"][selected="true"] > treerow.relatedresult > .treecell-indent {
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif");
}
*/
treeitem[container="true"][id="NC: SiteMapRoot"] > treerow.relatedresult
> .treecell-indent
{
list-style-image: url("chrome://communicator/skin/related/sitemap.gif");
}
treeitem[container="true"][open="true"][id="NC: SiteMapRoot"]
> treerow.relatedresult > .treecell-indent
{
list-style-image: url("chrome://communicator/skin/related/sitemap.gif");
}
/* Single click model, so undo regular search tree selection look. */
treeitem[selected="true"] > treerow.relatedseparator,
treeitem[selected="true"] > treerow.relatedresult {
background-color: transparent;
}
.treecell-indent {
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
}
.tree-cell-twisty {
visibility: collapsed;
}

Просмотреть файл

@ -1,215 +0,0 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MPL/
*
* 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.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.
*
* Contributor(s):
* Dan Haddix
* Brian King
* Joe Hewitt <hewitt@netscape.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either of 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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* ==== EdImageMapPage.css ==================================================
== Styles used by the workspace area of the Image Map Editor.
========================================================================== */
@import url("chrome://editor/content/EdImageMapPage.css");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
body {
background-color: AppWorkspace;
}
#marquee {
border: 1px dashed #0000ff;
}
#bgDiv {
cursor: inherit;
background: url("chrome://editor/skin/btn1/map-checker.gif");
background-color: #ffffff;
}
.rect {
border: 1px solid #0000ff;
}
.cir {
border: 1px solid #00ff00;
}
.point {
background-color: #ff0000;
}
.pointStart {
background-color: #8000ff;
}
.handlel,
.handler,
.handlet,
.handleb,
.handletl,
.handletr,
.handlebl,
.handlebr {
background-color: #ff00ff;
}
/* ::::: move this to content ::::: */
html {
height: 100%;
}
#marquee {
visibility: hidden;
position: absolute;
top: 1px;
left: -5px;
z-index: 10000;
width: 1px;
height: -5px;
}
#bgDiv {
position: absolute;
top: 0px;
left: 0px;
width: 1px;
}
.rect {
position: absolute;
top: 1px;
left: 1px;
width: 1px;
height: 1px;
}
.cir {
position: absolute;
top: 1px;
left: 1px;
width: 1px;
height: 1px;
}
.poly {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
.point {
position: absolute;
top: 1px;
left: 1px;
width: 3px;
height: 3px;
}
.pointStart {
position: absolute;
top: 1px;
left: 1px;
width: 3px;
height: 3px;
}
.handletl {
position: absolute;
top: -5px;
left: -5px;
width: 5px;
height: 5px;
}
.handletr {
position: absolute;
top: -5px;
left: 100%;
width: 5px;
height: 5px;
}
.handlebl {
position: absolute;
top: 100%;
left: -5px;
width: 5px;
height: 5px;
}
.handlebr {
position: absolute;
top: 100%;
left: 100%;
width: 5px;
height: 5px;
}
.handlel {
position: absolute;
top: 48%;
left: -5px;
width: 5px;
height: 5px;
}
.handler {
position: absolute;
top: 48%;
left: 100%;
height: 5px;
width: 5px;
}
.handlet {
position: absolute;
top: -5px;
left: 48%;
height: 5px;
width: 5px;
}
.handleb {
position: absolute;
top: 100%;
left: 48%;
height: 5px;
width: 5px;
}

Просмотреть файл

@ -1,236 +0,0 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MPL/
*
* 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.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.
*
* Contributor(s):
* Joe Hewitt <hewitt@netscape.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either of 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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* ===== addressbook.css ================================================
== Styles for the main Address Book window.
======================================================================= */
@import url("chrome://messenger/skin/");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: primary toolbar masthead ::::: */
#abToolbar > .toolbar-holder > .toolbar-primary-icon {
background-image: url("chrome://messenger/skin/addressbook/icons/mast-ab.gif");
}
/* ::::: primary toolbar buttons ::::: */
.toolbarbutton-1 {
list-style-image: url("chrome://messenger/skin/icons/btn1.gif");
}
#button-newcard {
-moz-image-region: rect(476px 49px 509px 0);
}
#button-newcard:hover {
-moz-image-region: rect(476px 99px 509px 50px);
}
#button-newcard:hover:active {
-moz-image-region: rect(476px 149px 509px 100px);
}
#button-newcard[disabled] {
-moz-image-region: rect(476px 199px 509px 150px) !important;
}
#button-newlist {
-moz-image-region: rect(510px 49px 543px 0);
}
#button-newlist:hover {
-moz-image-region: rect(510px 99px 543px 50px);
}
#button-newlist:hover:active {
-moz-image-region: rect(510px 149px 543px 100px);
}
#button-newlist[disabled] {
-moz-image-region: rect(510px 199px 543px 150px) !important;
}
#button-editcard {
-moz-image-region: rect(442px 49px 475px 0);
}
#button-editcard:hover {
-moz-image-region: rect(442px 99px 475px 50px);
}
#button-editcard:hover:active {
-moz-image-region: rect(442px 149px 475px 100px);
}
#button-editcard[disabled] {
-moz-image-region: rect(442px 199px 475px 150px) !important;
}
#button-newmessage {
-moz-image-region: rect(170px 49px 203px 0);
}
#button-newmessage:hover {
-moz-image-region: rect(170px 99px 203px 50px);
}
#button-newmessage:hover:active {
-moz-image-region: rect(170px 149px 203px 100px);
}
#button-newmessage[disabled] {
-moz-image-region: rect(170px 199px 203px 150px) !important;
}
#button-newim {
list-style-image: url("chrome://messenger/skin/addressbook/icons/im.gif");
}
#button-newim:hover {
list-style-image: url("chrome://messenger/skin/addressbook/icons/im-hov.gif");
}
#button-newim:hover:active {
list-style-image: url("chrome://messenger/skin/addressbook/icons/im-act.gif");
}
#button-newim[disabled] {
list-style-image: url("chrome://messenger/skin/addressbook/icons/im-dis.gif");
}
#button-delete {
-moz-image-region: rect(408px 49px 441px 0);
}
#button-delete:hover {
-moz-image-region: rect(408px 99px 441px 50px);
}
#button-delete:hover:active {
-moz-image-region: rect(408px 149px 441px 100px);
}
#button-delete[disabled] {
-moz-image-region: rect(408px 199px 441px 150px) !important;
}
/* ::::: Card View pane ::::: */
#CardViewBox {
-moz-user-focus: ignore;
min-width: 150px;
background-color: #EFEFEF;
overflow: auto;
}
#CardViewInnerBox {
margin-top: 2px;
margin-bottom: 2px;
padding-right: 8px;
padding-left: 8px;
}
#CardTitle {
margin: 0px;
border-bottom: 2px solid black;
min-width: 120px;
font-size: 150%;
font-weight: bold;
color: #000000;
}
.cardViewGroup {
margin-top: 8px;
padding-bottom: 5px;
min-width: 50px;
}
.CardViewHeading {
margin: 0px 0px 1px 0px;
padding: 1px 1px 1px 5px;
min-width: 30px;
background-color: #8E9EAA;
color: #ffffff;
font-weight: bold;
}
#cvBuddyIcon {
padding-left: 20px;
padding-top: 2px;
}
.CardViewText,
.CardViewLink {
margin: 0px;
padding-right: 2px;
padding-left: 20px;
min-width: 30px;
color: #000000;
}
.CardViewLink {
color: blue;
text-decoration: underline;
cursor: pointer;
}
#cvHomeMapIt, #cvWorkMapIt {
margin-left: 3px;
margin-bottom: -1px;
}
html|a {
border: none !important;
padding-right: 2px;
padding-left: 0px;
}
html|p {
border: none !important;
}
/* ::::: Search Bar ::::: */
#searchBox {
border-top: 1px solid #EEF0F3;
border-right: 1px solid #A5ABB0;
border-bottom: 2px solid;
-moz-border-bottom-colors: #5D616E #BEC3D3;
}