sync both themes with toolkit windows theme changes in Mozilla 35 cycle
authorRobert Kaiser <kairo@kairo.at>
Tue, 6 Jan 2015 15:34:34 +0000 (16:34 +0100)
committerRobert Kaiser <kairo@kairo.at>
Tue, 6 Jan 2015 15:34:34 +0000 (16:34 +0100)
21 files changed:
EarlyBlue/global/aboutSupport.css
EarlyBlue/global/autocomplete.css
EarlyBlue/global/global.css
EarlyBlue/global/globalBindings.xml
EarlyBlue/global/icons/autocomplete-search.svg [new file with mode: 0644]
EarlyBlue/global/menu.css
EarlyBlue/global/menulist.css
EarlyBlue/global/popup.css
EarlyBlue/global/toolbarbutton.css
EarlyBlue/mozapps/plugins/pluginInstallerWizard.css [deleted file]
LCARStrek/browser/browser.css
LCARStrek/global/aboutSupport.css
LCARStrek/global/autocomplete.css
LCARStrek/global/global.css
LCARStrek/global/globalBindings.xml
LCARStrek/global/icons/autocomplete-search.svg [new file with mode: 0644]
LCARStrek/global/menu.css
LCARStrek/global/menulist.css
LCARStrek/global/popup.css
LCARStrek/global/toolbarbutton.css
LCARStrek/mozapps/plugins/pluginInstallerWizard.css [deleted file]

index 5c556dfa84dd4b58e76f15bd40c47f7016ed6220..8b71b9f14c524532e219fa88102c82a4eac1ffe8 100644 (file)
@@ -105,7 +105,6 @@ td {
 
 #reset-box > button {
   display: block;
-  margin: auto;
 }
 
 .block {
index 591da91125dd7861dc083316771b7578d04cbc17..6bd01046c758f321680f75961cd7ca1cf30b3062 100644 (file)
@@ -124,6 +124,32 @@ panel[type="autocomplete-richlistbox"],
   border-top: 1px solid #666699;
 }
 
+.ac-title-box {
+}
+
+.ac-url-box {
+  /* When setting a vertical margin here, half of that needs to be added
+     .ac-title-box's translateY for when .ac-url-box is hidden (see below). */
+/*  margin: 1px 0 4px;*/
+}
+
+.autocomplete-richlistitem[actiontype="keyword"] .ac-url-box,
+.autocomplete-richlistitem[actiontype="searchengine"] .ac-url-box,
+.autocomplete-richlistitem[actiontype="visiturl"] .ac-url-box,
+.autocomplete-richlistitem[type~="autofill"] .ac-url-box {
+  visibility: hidden;
+}
+
+.autocomplete-richlistitem[actiontype="keyword"] .ac-title-box,
+.autocomplete-richlistitem[actiontype="searchengine"] .ac-title-box,
+.autocomplete-richlistitem[actiontype="visiturl"] .ac-title-box,
+.autocomplete-richlistitem[type~="autofill"] .ac-title-box {
+  /* Center the title by moving it down by half of .ac-url-box's height,
+     including vertical margins (if any). */
+/*  transform: translateY(calc(.5em + 2px));*/
+  transform: translateY(calc(.5em));
+}
+
 .ac-site-icon {
   width: 16px;
   height: 16px;
index a800586455f98bb12e20600414e9b0e44684365e..6724853ee9c9ce70859a620e04f26b9b684856bf 100644 (file)
@@ -21,15 +21,10 @@ radio {
   -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
 }
 
-menulist > menupopup,
-.menulist-menupopup {
+menulist > menupopup {
   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
 }
 
-.menulist-compact {
-  -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
-}
-
 /* ::::: root elements ::::: */
 
 window,
index b8ae09570ad86cbf3d17aa61d79eecb5d5577e4b..daaa92f00be5841ff860b813f49e45ee68c64873 100644 (file)
     </content>
   </binding>
 
-  <binding id="menulist-compact" display="xul:menu"
-           extends="chrome://global/content/bindings/menulist.xml#menulist">
-    <content sizetopopup="false">
-      <xul:hbox class="menulist-label-box" flex="1">
-        <xul:image class="menulist-icon" xbl:inherits="src"/>
-        <xul:label class="menulist-label" xbl:inherits="value=label,crop,accesskey" crop="right" flex="1"/>
-      </xul:hbox>
-      <children includes="menupopup"/>
-    </content>
-  </binding>
-
 </bindings>
\ No newline at end of file
diff --git a/EarlyBlue/global/icons/autocomplete-search.svg b/EarlyBlue/global/icons/autocomplete-search.svg
new file mode 100644 (file)
index 0000000..90322fc
--- /dev/null
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>\r
+<!-- This Source Code Form is subject to the terms of the Mozilla Public\r
+   - License, v. 2.0. If a copy of the MPL was not distributed with this\r
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->\r
+<svg xmlns="http://www.w3.org/2000/svg"\r
+     xmlns:xlink="http://www.w3.org/1999/xlink"\r
+     x="0px" y="0px"\r
+     viewBox="0 0 16 16"\r
+     enable-background="new 0 0 16 16"\r
+     xml:space="preserve">\r
+<style>\r
+  use:not(:target) {\r
+    display: none;\r
+  }\r
+\r
+  use {\r
+    fill: #666699;\r
+  }\r
+\r
+  use[id$="-inverted"] {\r
+    fill: #FFFFFF;\r
+  }\r
+</style>\r
+<defs style="display:none">\r
+  <path id="search" fill-rule="evenodd" clip-rule="evenodd" d="M9.356,1.178c-3.014,0-5.458,2.45-5.458,5.472c0,1.086,0.32,2.096,0.864,2.947\r
+    l-3.279,3.287c-0.396,0.397-0.396,1.041,0,1.438l0.202,0.202c0.396,0.397,1.039,0.397,1.435,0l3.275-3.283\r
+    c0.854,0.554,1.869,0.88,2.962,0.88c3.014,0,5.458-2.45,5.458-5.471C14.814,3.627,12.371,1.178,9.356,1.178z M9.356,10.001\r
+    c-1.847,0-3.344-1.501-3.344-3.352c0-1.851,1.497-3.352,3.344-3.352c1.846,0,3.344,1.501,3.344,3.352\r
+    C12.7,8.501,11.203,10.001,9.356,10.001z"/>\r
+</defs>\r
+<use id="search-icon"             xlink:href="#search"/>\r
+<use id="search-icon-inverted"    xlink:href="#search"/>\r
+</svg>\r
index 5e8c9957160486cb31a3147dae99b98c1dd6b0fe..ea038910a2fed00abc29bdec0b8caca46444f7e3 100644 (file)
@@ -83,9 +83,7 @@ popup > menuitem {
 
 /* ::::: menu/menuitems in menulist popups ::::: */
 
-.menulist-menupopup > menuitem,
 menulist > menupopup > menuitem,
-.menulist-menupopup > menu,
 menulist > menupopup > menu {
   padding: 1px 5px;
   max-width: none;
@@ -182,9 +180,7 @@ menulist > menupopup > menu {
   color: inherit;
 }
 
-.menulist-menupopup > menuitem > .menu-iconic-left,
 menulist > menupopup > menuitem > .menu-iconic-left,
-.menulist-menupopup > menu > .menu-iconic-left,
 menulist > menupopup > menu > .menu-iconic-left {
   display: none;
 }
@@ -224,8 +220,7 @@ menuseparator {
   margin: 2px 0px;
 }
 
-menulist > menupopup > menuseparator,
-.menulist-menupopup > menuseparator {
+menulist > menupopup > menuseparator {
   border: 1px inset #CCD0DD;
   margin: 2px 0px;
 }
index 4d88b006bfb5d9a136221bd8366d65e5cd1fba89..33e472ad130db1dd4fcb6e4dd82067ea3c2af458 100644 (file)
@@ -36,12 +36,12 @@ menulist {
   -moz-margin-start: 1ex !important;
 }
 
-menulist:focus:not(.menulist-compact) > .menulist-label-box {
+menulist:focus > .menulist-label-box {
   background-color: #336699;
   color: #000000;
 }
 
-menulist:-moz-focusring:not([open="true"]):not(.menulist-compact) > .menulist-label-box {
+menulist:-moz-focusring:not([open="true"]) > .menulist-label-box {
 /*  border: 1px dotted #808080; */
 }
 
@@ -88,40 +88,3 @@ html|*.menulist-editable-input {
   color: inherit;
   font: inherit;
 }
-
-/* ::::: compact menulists ::::: */
-
-.menulist-compact {
-  -moz-box-align: center;
-  -moz-box-pack: center;
-  margin: 0px;
-  border: 1px outset #CCD0DD;
-  color: #000000;
-  list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
-}
-
-.menulist-compact > .menulist-label-box {
-  border: 1px solid transparent;
-}
-
-.menulist-compact > .menulist-label-box > .menulist-label {
-  margin: 0 3px !important;
-  text-align: end;
-}
-
-.menulist-compact > .menulist-label-box > .menulist-icon {
-  -moz-margin-start: 2px;
-}
-
-.menulist-compact[open="true"] {
-  border: 1px inset #CCD0DD;
-  /* color: ThreeDHighlight; */
-}
-
-.menulist-compact[disabled="true"] {
-  list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
-}
-
-.menulist-compact:-moz-focusring:not([open="true"]) > .menulist-label-box {
-  border: 1px dotted #999999;
-}
\ No newline at end of file
index 076cc04e09139c4ea4f17346fe644e02ec3b0f21..0e4b896bdae9f812c02f42922851ec9a67e2f8eb 100644 (file)
@@ -8,6 +8,13 @@
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
+/* ::::: Variables ::::: */
+.panel-arrowcontent {
+  --panel-arrowcontent-background: #CCD0DD;
+  --panel-arrowcontent-color: #000000;
+  --panel-arrowcontent-border: 1px outset #CCD0DD;
+}
+
 /* ::::: menupopup ::::: */
 
 menupopup,
@@ -45,9 +52,10 @@ panel[type="arrow"][side="right"] {
 
 .panel-arrowcontent {
   padding: 6px;
-  background-color: #CCD0DD;
+  color: var(--panel-arrowcontent-color);
+  background: var(--panel-arrowcontent-background);
   background-clip: padding-box;
-  border: 1px outset #CCD0DD;
+  border: var(--panel-arrowcontent-border);
   margin: 0px;
 }
 
@@ -105,8 +113,7 @@ tooltip[titletip="true"] {
 
 /* rules for popups associated with menulists */
 
-menulist > menupopup,
-.menulist-menupopup {
+menulist > menupopup {
   border: 1px solid #666699;
   min-width: 0px;
   padding: 0px;
index 65f2eaa4ccea667ce192ee98d8614d831dfadc91..84c21f427cb2ba75e3eb01cbc0f8d8df3ed8e240 100644 (file)
@@ -149,6 +149,48 @@ toolbarbutton[disabled="true"]:hover:active > toolbarbutton.toolbarbutton-menubu
   padding: 1px !important;
 }
 
+/* ::::: toolbarbutton badged ::::: */
+
+.toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
+  -moz-margin-end: 0;
+}
+
+.toolbarbutton-badge[badge=""] {
+  display: none;
+}
+
+.toolbarbutton-badge {
+  background-color: #CCD0DD;
+}
+
+.toolbarbutton-badge::after {
+  /* The |content| property is set in the content stylesheet. */
+  font-size: 10px;
+  font-weight: bold;
+  padding: 1px 2px 2px;
+  color: #000000;
+  background-color: inherit;
+  border-radius: 2px;
+  box-shadow: 0 1px 0 #9999CC inset,
+              0 -1px 0 #9999CC inset,
+              0 1px 0 #9999CC;
+  position: absolute;
+  top: -4px;
+  right: -2px;
+  min-width: 10px;
+  line-height: 10px;
+  text-align: center;
+}
+
+.toolbarbutton-badge:-moz-locale-dir(rtl)::after {
+  left: -2px;
+  right: auto;
+}
+
+.toolbarbutton-badge-container {
+  position: relative;
+}
+
 /* .......... dropmarker .......... */
 
 .toolbarbutton-menubutton-dropmarker {
diff --git a/EarlyBlue/mozapps/plugins/pluginInstallerWizard.css b/EarlyBlue/mozapps/plugins/pluginInstallerWizard.css
deleted file mode 100644 (file)
index 1cba7dc..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#licenseContainer, #pluginList {
-  -moz-appearance: listbox;
-  margin: 2px 4px;
-  border: 1px inset #CCD0DD;
-  background-color: #FFFFFF;
-  color: #000000;
-}
-
index 3ae9430d7a42d9b2695aee92879cfa5c756d703f..095e51c857bc268a29c9ca8de7cee30d235ec4fd 100644 (file)
@@ -4288,58 +4288,6 @@ html|*#gcli-output-frame {
   display: none;
 }
 
-.toolbarbutton-badge-container {
-  margin: 0;
-  padding: 0;
-  position: relative;
-}
-
-#nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container {
-  padding: 2px 2px;
-}
-
-.toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon {
-  position: absolute;
-  top: 2px;
-  right: 2px;
-}
-
-.toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
-  -moz-margin-end: 0;
-}
-
-.toolbarbutton-badge[badge=""] {
-  display: none;
-}
-.toolbarbutton-badge[badge]:not([badge=""])::after {
-  /* The |content| property is set in the content stylesheet. */
-  font-size: 9px;
-  font-weight: bold;
-  padding: 0 1px;
-  color: #FF9F00;
-  background-color: #000000;
-  border: 1px solid #9C9CFF;
-  border-radius: 2px;
-  position: absolute;
-  top: 0;
-  right: 0;
-}
-
-#nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
-  top: 1px;
-  right: 1px;
-}
-
-.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
-  left: 0;
-  right: auto;
-}
-
-#nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
-  left: 1px;
-  right: auto;
-}
-
 #social-notification-icon-mentions {
   background-color: #000000;
   border-radius: 3px;
index 7bfe0013e266f7c220176f403cce9b56dbdd24b6..f1a003a40e1e46fb8b7139243b5e8deafa80c4e3 100644 (file)
@@ -161,7 +161,6 @@ td {
 
 #reset-box > button {
   display: block;
-  margin: auto;
 }
 
 .block {
index ee86e3319492a64bd831e961556565ddbef0963f..7096b319b03627454d0629b5b0af0d87f7b6321d 100644 (file)
@@ -135,6 +135,32 @@ panel[type="autocomplete-richlistbox"],
   border-top: 1px solid #E7ADE7;
 }
 
+.ac-title-box {
+}
+
+.ac-url-box {
+  /* When setting a vertical margin here, half of that needs to be added
+     .ac-title-box's translateY for when .ac-url-box is hidden (see below). */
+/*  margin: 1px 0 4px;*/
+}
+
+.autocomplete-richlistitem[actiontype="keyword"] .ac-url-box,
+.autocomplete-richlistitem[actiontype="searchengine"] .ac-url-box,
+.autocomplete-richlistitem[actiontype="visiturl"] .ac-url-box,
+.autocomplete-richlistitem[type~="autofill"] .ac-url-box {
+  visibility: hidden;
+}
+
+.autocomplete-richlistitem[actiontype="keyword"] .ac-title-box,
+.autocomplete-richlistitem[actiontype="searchengine"] .ac-title-box,
+.autocomplete-richlistitem[actiontype="visiturl"] .ac-title-box,
+.autocomplete-richlistitem[type~="autofill"] .ac-title-box {
+  /* Center the title by moving it down by half of .ac-url-box's height,
+     including vertical margins (if any). */
+/*  transform: translateY(calc(.5em + 2px));*/
+  transform: translateY(calc(.5em));
+}
+
 .ac-site-icon {
   width: 16px;
   height: 16px;
index 6cf895d0e86e84e2f9ac6e4567f5e4b8bdc810d5..071d561c453d9d7f6a1595adeec323efffb01b3a 100644 (file)
@@ -21,15 +21,10 @@ radio {
   -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
 }
 
-menulist > menupopup,
-.menulist-menupopup {
+menulist > menupopup {
   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
 }
 
-.menulist-compact {
-  -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
-}
-
 /* LCARStrek special bindings */
 
 statusbar {
index 03c29f24b32815cc53709bbc95e705c83f32c54e..15cfb5a837b3983585951849a81348643203f8cb 100755 (executable)
     </content>
   </binding>
 
-  <binding id="menulist-compact" display="xul:menu"
-           extends="chrome://global/content/bindings/menulist.xml#menulist">
-    <content sizetopopup="false">
-      <xul:hbox class="menulist-label-box" flex="1">
-        <xul:image class="menulist-icon" xbl:inherits="src"/>
-        <xul:label class="menulist-label" xbl:inherits="value=label,crop,accesskey" crop="right" flex="1"/>
-      </xul:hbox>
-      <children includes="menupopup"/>
-    </content>
-  </binding>
-
-
+  
   <binding id="statusbar" extends="chrome://global/content/bindings/general.xml#statusbar">
     <content>
       <xul:box class="statusbar-left"/>
diff --git a/LCARStrek/global/icons/autocomplete-search.svg b/LCARStrek/global/icons/autocomplete-search.svg
new file mode 100644 (file)
index 0000000..fdd54a3
--- /dev/null
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>\r
+<!-- This Source Code Form is subject to the terms of the Mozilla Public\r
+   - License, v. 2.0. If a copy of the MPL was not distributed with this\r
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->\r
+<svg xmlns="http://www.w3.org/2000/svg"\r
+     xmlns:xlink="http://www.w3.org/1999/xlink"\r
+     x="0px" y="0px"\r
+     viewBox="0 0 16 16"\r
+     enable-background="new 0 0 16 16"\r
+     xml:space="preserve">\r
+<style>\r
+  use:not(:target) {\r
+    display: none;\r
+  }\r
+\r
+  use {\r
+    fill: #FFCF00;\r
+  }\r
+\r
+  use[id$="-inverted"] {\r
+    fill: #000000;\r
+  }\r
+</style>\r
+<defs style="display:none">\r
+  <path id="search" fill-rule="evenodd" clip-rule="evenodd" d="M9.356,1.178c-3.014,0-5.458,2.45-5.458,5.472c0,1.086,0.32,2.096,0.864,2.947\r
+    l-3.279,3.287c-0.396,0.397-0.396,1.041,0,1.438l0.202,0.202c0.396,0.397,1.039,0.397,1.435,0l3.275-3.283\r
+    c0.854,0.554,1.869,0.88,2.962,0.88c3.014,0,5.458-2.45,5.458-5.471C14.814,3.627,12.371,1.178,9.356,1.178z M9.356,10.001\r
+    c-1.847,0-3.344-1.501-3.344-3.352c0-1.851,1.497-3.352,3.344-3.352c1.846,0,3.344,1.501,3.344,3.352\r
+    C12.7,8.501,11.203,10.001,9.356,10.001z"/>\r
+</defs>\r
+<use id="search-icon"             xlink:href="#search"/>\r
+<use id="search-icon-inverted"    xlink:href="#search"/>\r
+</svg>\r
index 45f25b4bc6cdf848f4f84b87284947037347efab..dafa9ea25c18666dfc1babb6cbccc662593a3aba 100644 (file)
@@ -83,9 +83,7 @@ popup > menuitem {
 
 /* ::::: menu/menuitems in menulist popups ::::: */
 
-.menulist-menupopup > menuitem,
 menulist > menupopup > menuitem,
-.menulist-menupopup > menu,
 menulist > menupopup > menu {
   padding: 1px 5px;
   max-width: none;
@@ -182,9 +180,7 @@ menulist > menupopup > menu {
   color: inherit;
 }
 
-.menulist-menupopup > menuitem > .menu-iconic-left,
 menulist > menupopup > menuitem > .menu-iconic-left,
-.menulist-menupopup > menu > .menu-iconic-left,
 menulist > menupopup > menu > .menu-iconic-left {
   display: none;
 }
@@ -224,8 +220,7 @@ menuseparator {
   margin: 2px 0px;
 }
 
-menulist > menupopup > menuseparator,
-.menulist-menupopup > menuseparator {
+menulist > menupopup > menuseparator {
   border: 1px solid #9C9CFF;
   margin: 2px 0px;
 }
index c16582ae4141688f6cea5bfff3d09ecf23f2b15a..470b46afc5c7d42ac2ce88011889b3af427ff766 100644 (file)
@@ -50,12 +50,12 @@ menulist[open="true"] {
   -moz-margin-start: 1ex !important;
 }
 
-menulist:focus:not(.menulist-compact) > .menulist-label-box {
+menulist:focus > .menulist-label-box {
   background-color: #008484;
   color: #FFCF00;
 }
 
-menulist:-moz-focusring:not([open="true"]):not(.menulist-compact) > .menulist-label-box {
+menulist:-moz-focusring:not([open="true"]) > .menulist-label-box {
 /*  border: 1px dotted #FFCF00; */
 }
 
@@ -121,36 +121,3 @@ html|*.menulist-editable-input {
   color: inherit;
   font: inherit;
 }
-
-/* ::::: compact menulists ::::: */
-
-.menulist-compact {
-  -moz-box-align: center;
-  -moz-box-pack: center;
-  margin: 0px;
-  color: #E7ADE7;
-  border: 1px solid #9C9CFF;
-  list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
-}
-
-.menulist-compact > .menulist-label-box > .menulist-label {
-  margin: 0 3px !important;
-  text-align: end;
-}
-
-.menulist-compact > .menulist-label-box > .menulist-icon {
-  -moz-margin-start: 2px;
-}
-
-.menulist-compact[open="true"] {
-  border: 1px solid #FFCF00;
-}
-
-.menulist-compact:hover,
-.menulist-compact[open="true"] {
-  list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
-}
-
-.menulist-compact[disabled="true"] {
-  list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
-}
index 0320d30aa8c1c9d51a91561fa35332caf207a2c7..00661adf46c7d8f61f38de91001a6d409d97f0a2 100644 (file)
@@ -8,6 +8,13 @@
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
+/* ::::: Variables ::::: */
+.panel-arrowcontent {
+  --panel-arrowcontent-background: #000000;
+  --panel-arrowcontent-color: #FF9F00;
+  --panel-arrowcontent-border: 1px solid #FF9F00;
+}
+
 /* ::::: menupopup ::::: */
 
 menupopup,
@@ -46,9 +53,10 @@ panel[type="arrow"][side="right"] {
 .panel-arrowcontent {
   border-radius: 6px;
   padding: 6px;
-  background-color: #000000;
+  color: var(--panel-arrowcontent-color);
+  background: var(--panel-arrowcontent-background);
   background-clip: padding-box;
-  border: 1px solid #FF9F00;
+  border: var(--panel-arrowcontent-border);
   margin: 0px;
 }
 
@@ -107,8 +115,7 @@ tooltip[titletip="true"] {
 
 /* rules for popups associated with menulists */
 
-menulist > menupopup,
-.menulist-menupopup {
+menulist > menupopup {
   border: 1px solid #FF9F00;
   min-width: 0px;
   padding: 0px;
index 2b0d4598fd9bceadbf0e5d5ac8a4e85c31cf7cdc..feaa25607ed89997ba663e4aaa48e53265a8820b 100644 (file)
@@ -175,6 +175,48 @@ toolbarbutton[disabled="true"]:hover:active > toolbarbutton.toolbarbutton-menubu
   padding: 1px 2px !important;
 }
 
+/* ::::: toolbarbutton badged ::::: */
+
+.toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
+  -moz-margin-end: 0;
+}
+
+.toolbarbutton-badge[badge=""] {
+  display: none;
+}
+
+.toolbarbutton-badge {
+  background-color: #000000;
+}
+
+.toolbarbutton-badge::after {
+  /* The |content| property is set in the content stylesheet. */
+  font-size: 10px;
+  font-weight: bold;
+  padding: 1px 2px 2px;
+  color: #FF9F00;
+  background-color: inherit;
+  border-radius: 2px;
+  box-shadow: 0 1px 0 #9C9CFF inset,
+              0 -1px 0 #9C9CFF inset,
+              0 1px 0 #9C9CFF;
+  position: absolute;
+  top: -4px;
+  right: -2px;
+  min-width: 10px;
+  line-height: 10px;
+  text-align: center;
+}
+
+.toolbarbutton-badge:-moz-locale-dir(rtl)::after {
+  left: -2px;
+  right: auto;
+}
+
+.toolbarbutton-badge-container {
+  position: relative;
+}
+
 /* .......... dropmarker .......... */
 
 .toolbarbutton-menubutton-dropmarker {
diff --git a/LCARStrek/mozapps/plugins/pluginInstallerWizard.css b/LCARStrek/mozapps/plugins/pluginInstallerWizard.css
deleted file mode 100644 (file)
index 9ff05c0..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#licenseContainer, #pluginList {
-  margin: 2px 4px;
-  border-radius: 5px;
-  border: 1px solid #9C9CFF;
-  background-color: #000000;
-  color: #FF9F00;
-}
-