+++ /dev/null
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: NPL 1.1/GPL 2.0/LGPL 2.1
- *
- * 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.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):
- * Scott MacGregor <mscott@netscape.com>
- * Robert Kaiser <KaiRo@KaiRo.at>
- *
- * 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 ***** */
-
-/* ===== alert.css =====================================================
- == Styles specific to the alerts dialog.
- ======================================================================= */
-
-@import url("chrome://global/skin/");
-
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
-.alertBox {
- border-right: 2px solid #7B969C;
- border-bottom: 2px solid #7B969C;
- border-top: 2px solid #7B969C;
- border-left: 2px solid #7B969C;
- background-color: -moz-Dialog;
- min-height: 50px;
-}
-
-.alertBox[orient="horizontal"] > .alertImageBox {
- -moz-margin-start: 4px;
- -moz-margin-end: 6px;
- min-height: 46px;
-}
-
-.alertBox[orient="vertical"] > .alertImageBox {
- margin-top: 6px;
- margin-bottom: 4px;
- min-width: 46px;
-}
-
-.alertTitle {
- font-weight: bold;
-}
-
-.alertText {
- -moz-margin-end: 6px;
-}
-
-.alertText[clickable="true"] {
- cursor: pointer;
- color: #1455D6;
- text-decoration: underline;
-}
-
-.alertText[clickable="true"]:hover:active {
- color: #424F63;
-}
-
-.alertBox[orient="horizontal"] > .alertTextBox {
- -moz-padding-start: 10px;
- padding-top: 5px;
-}
-
-.alertBox[orient="vertical"] > .alertTextBox {
- -moz-padding-start: 5px;
- -moz-padding-end: 5px;
- margin-bottom: 8px;
- -moz-box-align: center; /* also hard-coded in alert.js, see bug 311557 */
-}
#downloadView > treechildren::-moz-tree-image(Name) {
margin-right: 2px;
}
-
-/* :::::: autoscroll popup ::::: */
-
-#autoscroller {
- height: 28px;
- width: 28px;
- border: 0px;
- margin: -14px;
- padding: 0px;
- background-image: url("chrome://communicator/skin/icons/autoscroll.png");
- background-color: transparent;
- -moz-appearance: none;
-}
-
-#autoscroller[scrolldir="NS"] {
- background-position: left center;
-}
-
-#autoscroller[scrolldir="EW"] {
- background-position: left bottom;
-}
-
-#autoscroller[transparent="true"] {
- background-position: center top;
-}
-
-#autoscroller[transparent="true"][scrolldir="NS"] {
- background-position: center center;
-}
-
-#autoscroller[transparent="true"][scrolldir="EW"] {
- background-position: center bottom;
-}
-
-#autoscroller[translucent="true"] {
- background-position: right top;
-}
-
-#autoscroller[translucent="true"][scrolldir="NS"] {
- background-position: right center;
-}
-
-#autoscroller[translucent="true"][scrolldir="EW"] {
- background-position: right bottom;
-}
/* ::::: autocomplete popups ::::: */
-.autocomplete-result-popup,
+panel[type="autocomplete"],
.autocomplete-history-popup {
border: 1px solid #9999CC;
background-color: white !important;
color: white !important;
}
-/* seamonkey and thunderbird do not use the new autocomplete widget yet so we need a couple of the old styles rules */
-
-.autocomplete-treebody::-moz-tree-row(menuactive) {
- background-color: #336699;
-}
-
-.autocomplete-treebody::-moz-tree-cell-text(menuactive) {
- color: white !important;
-}
-
-/* end of seamonkey and thunderbird required autocomplete rules */
-
/* ::::: textboxes inside toolbarpaletteitems ::::: */
toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input {
/* XXX: Firefox rules - look into those when we support FF
-moz-binding: url("chrome://global/skin/globalBindings.xml#tabbrowser-tab") !important;
background: transparent !important;
- margin: 0px !important;
+ margin: 0px 0px 1px !important;
padding: 0px !important;
border: none !important;
height: 22px !important;
- margin-bottom: 1px;
*/
}
*/
.tab-drop-indicator-bar {
- display:none;
+ visibility: hidden;
height: 9px;
margin-top: -9px;
position: relative;
}
.tab-drop-indicator-bar[dragging="true"] {
- display: -moz-box;
+ visibility: visible;
}
/**
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-findbar > toolbarbutton.findbar-closebutton {
+.findbar-closebutton {
list-style-image: url("chrome://global/skin/icons/close-button.gif");
}
/* find-next button */
-findbar > toolbarbutton.findbar-find-next {
+.findbar-find-next {
/* XXX: look into this when we support FF
list-style-image: url("chrome://global/skin/icons/find.png");
-moz-image-region: rect(0px 16px 16px 0px);
/* find-previous button */
-findbar > toolbarbutton.findbar-find-previous {
+.findbar-find-previous {
/* XXX: look into this when we support FF
list-style-image: url("chrome://global/skin/icons/find.png");
-moz-image-region: rect(0px 32px 16px 16px);
/* highlight button */
-findbar > toolbarbutton.findbar-highlight {
+.findbar-highlight {
/* XXX: look into this when we support FF
list-style-image: url("chrome://global/skin/icons/find.png");
-moz-image-region: rect(0px 48px 16px 32px);
*/
}
-findbar > image.find-status-icon {
+.find-status-icon {
list-style-image: none;
margin-top: 0px;
margin-bottom: 0px;
height: 16px;
}
-findbar > label.findbar-find-status {
+.findbar-find-status {
margin-top: 0px;
margin-bottom: 0px;
-moz-margin-start: 3px;
padding: 2px;
}
-findbar > image.find-status-icon[status="notfound"] {
+.find-status-icon[status="notfound"] {
/* XXX: look into this when we support FF
list-style-image: url("chrome://global/skin/icons/notfound.png");
*/
}
-findbar > .find-field-container > textbox.findbar-textbox {
+.findbar-textbox {
-moz-binding: url("chrome://global/content/bindings/findbar.xml#findbar-textbox");
border: none;
margin: 0px;
}
-findbar > .find-field-container > textbox.findbar-textbox[status="notfound"] {
+.findbar-textbox[status="notfound"] {
background-color: #FFC0C0;
color: #000000;
}
-findbar[flash="true"] > .find-field-container > textbox.findbar-textbox {
+.findbar-textbox {
background-color: #FFFFC0;
}
-findbar > image.find-status-icon[status="wrapped"] {
+.find-status-icon[status="wrapped"] {
/* XXX: look into this when we support FF
list-style-image: url("chrome://global/skin/icons/wrap.png");
*/
}
-findbar > .find-field-container {
+.find-field-container {
/* -moz-appearance: textfield; */
}
.toolbar-focustarget {
-moz-user-focus: ignore !important;
}
+
+/* :::::: autoscroll popup ::::: */
+
+#autoscroller {
+ height: 28px;
+ width: 28px;
+ border: 0px;
+ margin: -14px;
+ padding: 0px;
+ background-image: url("chrome://communicator/skin/icons/autoscroll.png");
+ background-color: transparent;
+ -moz-appearance: none;
+}
+
+#autoscroller[scrolldir="NS"] {
+ background-position: left center;
+}
+
+#autoscroller[scrolldir="EW"] {
+ background-position: left bottom;
+}
+
+#autoscroller[transparent="true"] {
+ background-position: center top;
+}
+
+#autoscroller[transparent="true"][scrolldir="NS"] {
+ background-position: center center;
+}
+
+#autoscroller[transparent="true"][scrolldir="EW"] {
+ background-position: center bottom;
+}
+
+#autoscroller[translucent="true"] {
+ background-position: right top;
+}
+
+#autoscroller[translucent="true"][scrolldir="NS"] {
+ background-position: right center;
+}
+
+#autoscroller[translucent="true"][scrolldir="EW"] {
+ background-position: right bottom;
+}
margin: 0px;
border: 1px outset #CCD0DD;
color: #000000;
- list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
+/* list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); */
}
.menulist-compact > .menulist-dropmarker {
-moz-margin-start: 2px;
padding: 0 !important;
- list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
+ border: none !important;
+/* list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); */
}
.menulist-compact[disabled="true"] > .menulist-dropmarker {
- list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
+/* list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif"); */
}
.menulist-compact > .menulist-label {
#errorContainer {
display: none;
}
+
+/* Custom styling for 'blacklist' error class */
+
+:root.blacklist #errorTitle, :root.blacklist #errorLongContent,
+:root.blacklist #errorShortDesc, :root.blacklist #errorLongDesc,
+:root.blacklist a {
+ background-color: #FFC0C0; /* red */
+ color: #666699;
+}
+
+:root.blacklist #errorPageContainer {
+ background-image: url("chrome://global/skin/icons/blacklist_large.png");
+ background-color: #FFC0C0;
+}
+
+:root.blacklist {
+ background: #000000;
+}
+
+:root.blacklist #errorTryAgain {
+ display: none;
+}
/* ::::: menupopup ::::: */
menupopup,
-popup {
+popup,
+panel {
border: 1px outset #CCD0DD;
padding: 1px;
min-width: 1px;
padding: 2px 0px 0px 2px;
}
+/* XXX - scrollbar.xml always grabs the OS settings and we don't want that */
+scrollbarbutton[sbattr="scrollbar-up-bottom"],
+scrollbarbutton[sbattr="scrollbar-down-top"] {
+ display: none;
+}
+
/* ::::: square at the corner of two scrollbars ::::: */
scrollcorner {
margin-bottom: 2px;
}
-richlistitem[selected="true"][opType="none"] .descriptionCrop {
+richlistitem[selected="true"]:not([opType]) .descriptionCrop {
display: none;
}
-moz-margin-start: -2px;
}
-richlistitem[availableUpdateURL="none"] .updateBadge,
+.updateBadge,
+.updateAvailableBox,
.notifyBadge {
display: none;
}
+richlistitem[availableUpdateURL][updateable="true"]
+richlistitem[availableUpdateURL][updateable="true"] .updateAvailableBox,
richlistitem[compatible="false"] .notifyBadge,
richlistitem[blocklisted="true"] .notifyBadge,
richlistitem[satisfiesDependencies="false"] .notifyBadge {
display: none;
}
-richlistitem[opType="needs-uninstall"] .updateAvailableBox,
-richlistitem[availableUpdateURL="none"] .updateAvailableBox {
- display: none;
-}
-
richlistitem[loading="true"] .updateBadge {
display: -moz-box;
width: 16px;
display: -moz-box;
}
-richlistitem[opType="needs-uninstall"] .updateBadge,
richlistitem[opType="needs-uninstall"] .notifyBadge {
display: none;
}
--- /dev/null
+#description-image:not([src]) {
+ height: 32px;
+ width: 32px;
+}
+
+richlistitem {
+ min-height: 36px; /* Don't forget to update the richlistbox height! */
+}
+
+richlistbox {
+ /* 3 items high, plus 4px for top and bottom margins, less 2px for border */
+ min-height: 110px;
+}
@namespace html url(http://www.w3.org/1999/xhtml);
+html|object:not([width]), html|object[width=""],
+html|embed:not([width]), html|embed[width=""],
+html|applet:not([width]), html|applet[width=""] {
+ width: 240px;
+}
+
+html|object:not([height]), html|object[height=""],
+html|embed:not([height]), html|embed[height=""],
+html|applet:not([height]), html|applet[height=""] {
+ height: 200px;
+}
+
html|object > *|*,
html|embed > *|*,
html|applet > *|* {
-.listbox {
-}
-
#itemList {
margin: 10px 4px 10px 4px;
border: 1px inset #CCD0DD;
list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
}
-toolbarbutton.chevron {
- list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
+#bookmarks-chevron {
+ list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important;
}
-toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
+#bookmarks-chevron > .toolbarbutton-menu-dropmarker {
display: none;
}