sync both themes with suite classic theme changes in SeaMonkey 2.46/2.47 cycles
[themes.git] / LCARStrek / navigator / navigator.css
index 58ca2dec066b11bd80218eb5aa51b31b8732179b..d6dccc79f77d23330bc08079d59ad76b30817c1d 100644 (file)
@@ -1,39 +1,6 @@
-/* ***** 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 "Classic" theme of mozilla.org code.
- *
- * The Initial Developer of the Original Code is
- * the Mozilla Organization.
- * Portions created by the Initial Developer are Copyright (C) 1998-2001
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *   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 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 ***** */
+/* 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/. */
 
 /** Contains style definitions for the navigator application
  **/
   -moz-image-region: rect(21px 75px 42px 50px);
 }
 
-#print-button {
-  list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
-  -moz-image-region: rect(0px 25px 21px 0px);
-}
-
-#print-button[disabled="true"] {
-  -moz-image-region: rect(0px 50px 21px 25px);
-}
-
-#print-button:not([disabled="true"]):hover,
-#print-button:not([disabled="true"]):hover:active,
-#print-button[open="true"] {
-  -moz-image-region: rect(0px 75px 21px 50px);
-}
-
 #home-button {
   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
   -moz-image-region: rect(84px 25px 105px 0px);
@@ -207,20 +159,6 @@ toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover:active {
   -moz-image-region: rect(16px 48px 32px 32px);
 }
 
-toolbar[iconsize="small"] > #print-button {
-  list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
-  -moz-image-region: rect(0 16px 16px 0);
-}
-
-toolbar[iconsize="small"] > #print-button[disabled="true"] {
-  -moz-image-region: rect(0 32px 16px 16px) !important;
-}
-
-toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover,
-toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover:active {
-  -moz-image-region: rect(0 48px 16px 32px);
-}
-
 toolbar[iconsize="small"] > #home-button {
   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
   -moz-image-region: rect(64px 16px 80px 0);
@@ -256,13 +194,13 @@ toolbar[iconsize="small"] > #sync-button[status=active] {
   -moz-box-align: center;
   padding: 0 1px;
   border-left: 3px solid #000000;
-  -moz-margin-start: 2px;
+  margin-inline-start: 2px;
 }
 
 #window-controls > toolbarbutton {
   padding: 3px;
-  -moz-padding-start: 2px;
-  -moz-padding-end: 1px;
+  padding-inline-start: 2px;
+  padding-inline-end: 1px;
 }
 
 toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
@@ -296,8 +234,8 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
 /* ::::: nav-bar-inner ::::: */
 
 .nav-bar-class {
-  -moz-padding-start: 1px;
-  -moz-padding-end: 1px;
+  padding-inline-start: 1px;
+  padding-inline-end: 1px;
   min-width: 0px;
   -moz-box-align: center;
 }
@@ -305,7 +243,9 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
 #urlbar {
   border-radius: 5px;
   margin: 0;
-  -moz-margin-start: 3px;
+  margin-inline-start: 3px;
+  /* make color as light as possible to deal with dark non-domain parts */
+  color: #FFBFFF;
 }
 
 .urlbar-security-level {
@@ -313,8 +253,7 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
   padding: 2px;
 }
 
-.urlbar-security-level[level="high"],
-.urlbar-security-level[level="low"] {
+.urlbar-security-level[level="high"] {
   background-color: #FFCF00;
   color: #000000;
 }
@@ -324,18 +263,30 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
   display: none;
 }
 
+#urlbar-search-splitter {
+  -moz-appearance: none;
+  min-width: 6px;
+  margin: 0 -3px;
+  border: none;
+  background-color: transparent;
+}
+
 /* ::::: notification popups ::::: */
 
 .popup-notification-icon {
   width: 64px;
   height: 64px;
-  -moz-margin-end: 10px;
+  margin-inline-end: 10px;
 }
 
 .popup-notification-icon[popupid="geolocation"] {
   list-style-image: url("chrome://communicator/skin/icons/geolocation-64.png");
 }
 
+.popup-notification-icon[popupid="web-notifications"] {
+  list-style-image: url("chrome://communicator/skin/icons/notification-64.png");
+}
+
 .popup-notification-icon[popupid="addon-install-disabled"],
 .popup-notification-icon[popupid="addon-install-blocked"],
 .popup-notification-icon[popupid="addon-install-started"],
@@ -344,7 +295,7 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
 .popup-notification-icon[popupid="addon-install-complete"],
 .popup-notification-icon[popupid="lwtheme-install-request"],
 .popup-notification-icon[popupid="lwtheme-install-notification"] {
-  list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
+  list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.svg");
   width: 32px;
   height: 32px;
 }
@@ -354,14 +305,25 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
   list-style-image: url("chrome://global/skin/icons/question-64.png");
 }
 
-.popup-notification-icon[popupid="password-change"],
-.popup-notification-icon[popupid="password-save"] {
-  list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
+.popup-notification-icon[popupid="password"] {
+  list-style-image: url("chrome://communicator/skin/icons/key-64.png");
+}
+
+.popup-notification-icon[popupid="click-to-play-plugins"] {
+  list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
+  margin: 0px;
+  width: 32px;
+  height: 32px;
+}
+
+.addon-progress-description {
+  width: 350px;
+  max-width: 350px;
 }
 
 /* Notification icon box */
 #notification-popup-box {
-  -moz-margin-end: 3px;
+  margin-inline-end: 3px;
 }
 
 .notification-anchor-icon:-moz-focusring {
@@ -380,6 +342,12 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
   height: 16px;
 }
 
+#web-notifications-notification-icon {
+  list-style-image: url("chrome://communicator/skin/icons/notification-16.png");
+  width: 16px;
+  height: 16px;
+}
+
 #addons-notification-icon {
   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
   width: 16px;
@@ -393,11 +361,119 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
 }
 
 #password-notification-icon {
-  list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
+  list-style-image: url("chrome://communicator/skin/icons/key-16.png");
+  width: 16px;
+  height: 16px;
+}
+
+#plugins-notification-icon {
+  list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
   width: 16px;
   height: 16px;
 }
 
+.click-to-play-plugins-notification-content {
+  margin: -10px;
+  border-radius: 4px;
+}
+
+.click-to-play-plugins-notification-icon-box {
+  background-color: #000000;
+  border-inline-end: 1px solid #FF9F00;
+  padding-top: 16px;
+  padding-inline-end: 16px;
+  padding-inline-start: 24px;
+  margin-inline-start: 4px;
+  margin-top: 4px;
+  margin-bottom: 4px;
+}
+
+.click-to-play-plugins-notification-icon-box:-moz-locale-dir(ltr) {
+  border-bottom-left-radius: 4px;
+  border-top-left-radius: 4px;
+}
+
+.click-to-play-plugins-notification-icon-box:-moz-locale-dir(rtl) {
+  border-bottom-right-radius: 4px;
+  border-top-right-radius: 4px;
+}
+
+.click-to-play-plugins-notification-separator {
+}
+
+.click-to-play-plugins-notification-description-box {
+  padding-top: 12px;
+  padding-inline-end: 11px;
+   padding-bottom: 9px;
+  padding-inline-start: 10px;
+}
+
+.click-to-play-plugins-notification-center-box {
+  border-top: 1px solid #FF9F00;
+  border-bottom: 1px solid #FF9F00;
+  background-color: #000000;
+  margin-inline-end: 4px;
+}
+
+.click-to-play-plugins-notification-button-container {
+  margin: 0px;
+  padding: 16px;
+}
+
+.center-item-box {
+  padding: 12px 16px 0px 16px;
+}
+
+.center-item-box[padbottom="true"] {
+  padding-bottom: 12px;
+}
+
+.center-item-icon {
+  background-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
+  background-repeat: no-repeat;
+  height: 16px;
+  width: 16px;
+  margin-bottom: 4px;
+}
+
+.center-item-box[warn="true"] {
+  background-image: url("chrome://navigator/skin/click-to-play-warning-stripes.png");
+  background-repeat: repeat-x;
+  padding: 8px 16px 6px 16px;
+}
+
+.center-item-box[padbottom="true"][warn="true"] {
+  padding-bottom: 4px;
+}
+
+.center-item-box[showseparator="true"] {
+  border-top: 1px solid #9C9CFF;
+}
+
+.center-item-box[warn="false"] > .center-item-warning {
+  display: none;
+}
+
+.center-item-warning > .text-link[href=""] {
+  display: none;
+}
+
+.center-item-warning-icon {
+  background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
+  background-repeat: no-repeat;
+  width: 16px;
+  height: 15px;
+  margin-bottom: 4px;
+}
+
+.center-item-warning-description {
+  color: #828282;
+}
+
+.center-item-button {
+  min-width: 0px;
+}
+
 /* ::::: page proxy icon ::::: */
 
 #page-proxy-deck,
@@ -408,7 +484,7 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
 }
 
 #page-proxy-deck {
-  cursor: -moz-grab;
+  cursor: grab;
   margin: 0;
 }
 
@@ -423,7 +499,7 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
 /* ::::: autocomplete ::::: */
 
 .autocomplete-treebody::-moz-tree-cell-text(value) {
-  -moz-padding-start: 13px;
+  padding-inline-start: 13px;
 }
 
 .autocomplete-treebody::-moz-tree-cell-text(comment) {
@@ -451,7 +527,7 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
 }
 
 .autocomplete-search-engine-img {
-  -moz-margin-end: 4px;
+  margin-inline-end: 4px;
 }
 
 .autocomplete-history-dropmarker:hover {
@@ -473,7 +549,7 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
 #go-button {
   margin: 0;
   padding: 2px 0;
-  -moz-margin-start: 2px;
+  margin-inline-start: 2px;
   background-color: #000000;
 }
 
@@ -519,7 +595,7 @@ toolbar[mode="icons"] #search-button > .button-box > .button-text {
 /* ::::: throbber ::::: */
 
 #throbber-box {
-  -moz-margin-start: 2px;
+  margin-inline-start: 2px;
 }
 
 /* ::::: security button ::::: */
@@ -533,8 +609,7 @@ toolbar[mode="icons"] #search-button > .button-box > .button-text {
 }
 
 /* |high| and |low| styles could be different, to better reflect the secure level... */
-#security-button[level="high"] > .statusbarpanel-contentbox,
-#security-button[level="low"] > .statusbarpanel-contentbox {
+#security-button[level="high"] > .statusbarpanel-contentbox {
   list-style-image: url("chrome://communicator/skin/icons/lock-secure-hover.png");
   background-color: #FFCF00;
 }