sync both themes with toolkit windows theme changes in Mozilla 35 cycle
[themes.git] / EarlyBlue / global / toolbarbutton.css
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 {