new color scheme adaptions to menubars and toolbars
[themes.git] / LCARStrek / browser / browser.css
index d4d41c3e173de8679cf8f1727b0597f35b70b479..4a0c9bfab345b84486420a897d50a0d80bf1d5f4 100644 (file)
@@ -30,7 +30,7 @@ menubar {
 /* ::::: primary toolbar ::::: */
 
 .toolbar-primary > .toolbar-box > .toolbar-holder {
-  background-color: #FF9F00;
+  background-color: #A09090;
 }
 
 .toolbar-primary > .toolbar-box > .toolbar-startcap,
@@ -1136,7 +1136,6 @@ window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icon
 
 #urlbar {
   width: 7em;
-  min-width: 7em;
   /* make color as light as possible to deal with dark non-domain parts */
   color: #FFBFFF;
 }
@@ -1236,6 +1235,7 @@ html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
 
 .urlbar-input-box {
   -moz-margin-start: 0;
+  min-width: 4em;
 }
 
 #urlbar-icons {
@@ -1602,8 +1602,7 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-
 /* social recommending panel */
 
 #share-button {
-  width: 16px;
-  height: 16px;
+  -moz-image-region: rect(0, 16px, 16px, 0);
 }
 
 #socialUserPortrait {
@@ -1636,11 +1635,11 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-
   text-decoration: underline;
 }
 
-#editSharePopupText {
+#unsharePopupText {
   height: 48px;
 }
 
-#editSharePopupBottomButtons {
+#unsharePopupBottomButtons {
   margin-top: 1em;
 }
 
@@ -1748,12 +1747,12 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-
 }
 
 #navigator-throbber[busy="true"] {
-  list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif");
+  list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
 }
 
 #navigator-throbber,
 #wrapper-navigator-throbber > #navigator-throbber {
-  list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif");
+  list-style-image: url("chrome://communicator/skin/brand/throbber16-single.png");
 }
 
 /* Tabstrip */
@@ -1828,15 +1827,11 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-
 }
 
 .tab-throbber {
-  list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png");
+  list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
 }
 
 .tab-throbber[progress] {
-  list-style-image: url("chrome://browser/skin/tabbrowser/loading.png");
-}
-
-#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
-  min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */
+  list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
 }
 
 .tab-throbber[pinned],
@@ -1891,7 +1886,7 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-
   }
 
   .tab-content {
-    min-height: -moz-calc(6.8mozmm - 7px); /* subtract borders from the desired height */
+    min-height: calc(6.8mozmm - 7px); /* subtract borders from the desired height */
   }
 }
 
@@ -2149,9 +2144,7 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
 }
 
 .popup-notification-icon[popupid="click-to-play-plugins"] {
-  list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
-  width: 32px;
-  height: 32px;
+  list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
 }
 
 .addon-progress-description {
@@ -2199,6 +2192,10 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
   list-style-image: url("chrome://browser/skin/webapps-64.png");
 }
 
+.popup-notification-icon[popupid="webRTC-shareDevices"] {
+  list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
+}
+
 /* Notification icon box */
 #notification-popup-box {
   position: relative;
@@ -2238,6 +2235,10 @@ window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icon
   list-style-image: url("chrome://global/skin/icons/information-16.png");
 }
 
+#identity-notification-icon {
+  list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
+}
+
 #geo-notification-icon {
   list-style-image: url("chrome://browser/skin/Geolocation-16.png");
 }
@@ -2262,6 +2263,10 @@ window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icon
   list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
 }
 
+#webRTC-notification-icon {
+  list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
+}
+
 #identity-popup-container {
   min-width: 280px;
 }
@@ -2415,29 +2420,6 @@ window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icon
   outline: 1px dotted #008484;
 }
 
-/* Inspector / Highlighter */
-
-#highlighter-panel {
-  -moz-window-shadow: none;
-  background: #000000;
-  border: none;
-}
-
-listitem.style-selector {
-  background-color: #9C9CFF;
-  color: #000000;
-}
-
-listitem.style-section {
-  background-color: #E7ADE7;
-  color: #000000;
-  font-weight: bold;
-}
-
-panel[dimmed="true"] {
-  opacity: 0.5;
-}
-
 /* Add-on bar */
 
 #addon-bar {
@@ -2525,19 +2507,14 @@ panel[dimmed="true"] {
 
 /* Highlighter */
 
-.highlighter-veil {
-  background-color: rgba(25, 25, 25, 0.5);
-}
-
-highlighter-veil-transparentbox {
-  box-shadow: 0 0 0 1px rgba(0,0,0,0.5);
-  outline: 1px dashed rgba(255,255,255,0.5);
-  outline-offset: -1px;
+#highlighter-outline {
+  box-shadow: 0 0 0 1px black;
+  outline: 1px dashed white;
 }
 
-#highlighter-veil-container[locked] > #highlighter-veil-middlebox > #highlighter-veil-transparentbox {
-  box-shadow: 0 0 0 1px black;
-  outline-color: white;
+#highlighter-outline[locked]  {
+  box-shadow: 0 0 0 1px rgba(0,0,0,0.3);
+  outline-color: rgba(255,255,255,0.7);
 }
 
 /* Highlighter toolbar */
@@ -2552,16 +2529,6 @@ highlighter-veil-transparentbox {
   -moz-image-region: rect(0 32px 16px 16px);
 }
 
-#inspector-option-toolbarbutton {
-  list-style-image: url("chrome://browser/skin/devtools/inspector-option-icon.png");
-  -moz-image-region: rect(0 16px 16px 0);
-}
-
-#inspector-option-toolbarbutton[open],
-#inspector-option-toolbarbutton:hover {
-  -moz-image-region: rect(0 32px 16px 16px);
-}
-
 #inspector-toolbar,
 #developer-toolbar {
   border-top: 3px solid #000000;
@@ -2612,7 +2579,7 @@ html|*#highlighter-nodeinfobar-pseudo-classes {
 
 #highlighter-nodeinfobar-text {
   /* 100% - size of the buttons and margins */
-  max-width: -moz-calc(100% - 2 * (26px + 6px));
+  max-width: calc(100% - 2 * (26px + 6px));
   padding-bottom: 1px;
 }
 
@@ -2668,7 +2635,7 @@ html|*#highlighter-nodeinfobar-pseudo-classes {
 .highlighter-nodeinfobar-arrow {
   width: 14px;
   height: 14px;
-  -moz-margin-start: -moz-calc(50% - 7px);
+  -moz-margin-start: calc(50% - 7px);
   transform: rotate(-45deg);
   border: 1px solid transparent;
   background-clip: padding-box;
@@ -3027,6 +2994,12 @@ html|*#gcli-output-frame {
   border-color: transparent;
 }
 
+.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
+  background-color: #008484;
+  color: #000000;
+  text-shadow: none;
+}
+
 .gclitoolbar-complete-node {
   padding-left: 21px;
   background-color: transparent;
@@ -3076,13 +3049,12 @@ html|*#gcli-output-frame {
 
 /* Responsive Mode */
 
-vbox[anonid=browserContainer][responsivemode] {
-  background: #392900 url("chrome://browser/skin/devtools/responsive-background.png");
-  box-shadow: 0 0 7px #9C9CFF inset;
+.browserContainer[responsivemode] {
+  background: #221500 url("chrome://browser/skin/devtools/responsive-background.png");
   padding: 0 20px 20px 20px;
 }
 
-stack[anonid=browserStack][responsivemode] {
+.browserStack[responsivemode] {
   box-shadow: 0 0 7px #9C9CFF;
 }
 
@@ -3121,6 +3093,16 @@ stack[anonid=browserStack][responsivemode] {
   background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
 }
 
+/* Web Console */
+
+.web-console-frame {
+  /* border-bottom: 3px solid #000000; */
+}
+
+.web-console-frame[animated] {
+  transition: height 100ms;
+}
+
 /* Developer Toolbar */
 
 .developer-toolbar-button {
@@ -3130,6 +3112,7 @@ stack[anonid=browserStack][responsivemode] {
   list-style-image: url("chrome://browser/skin/devtools/tools-icons-small.png");
 }
 
+.developer-toolbar-button[open=true],
 .developer-toolbar-button:active:hover,
 .developer-toolbar-button[checked=true] {
 }
@@ -3158,6 +3141,11 @@ stack[anonid=browserStack][responsivemode] {
 }
 
 #developer-toolbar-other-tools > .toolbarbutton-menu-dropmarker {
+  display: none;
+}
+
+#developer-toolbar-toolbox-button {
+  -moz-image-region: rect(64px, 16px, 80px, 0);
 }
 
 /* Error counter */
@@ -3168,100 +3156,66 @@ stack[anonid=browserStack][responsivemode] {
   text-shadow: none;
   background-color: #FF0000;
   border-radius: 1px;
+  -moz-margin-end: 5px;
 }
 
-/* Web Console */
-
-.web-console-frame {
-}
+/* Social toolbar item */
 
-.web-console-frame[animated] {
-  transition: height 100ms;
+#social-provider-button > .toolbarbutton-menu-dropmarker {
+  display: none;
 }
 
-.web-console-splitter {
-  border: none;
+#social-toolbar-item > .toolbarbutton-1 {
 }
 
-
-/* social toolbar button */
-.social-statusarea-container {
-  -moz-appearance: none;
-  border-radius: 3px;
-  background-color: #000000;
+#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1 {
 }
 
-.social-statusarea-container:hover {
-  background-color: #FFCF00;
+#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1:first-child {
 }
 
-#social-toolbar-button[open="true"] > .social-statusarea-container {
-  background-color: #FF9F00;
+#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1:last-child {
 }
 
-/* favicon for the service */
-#social-provider-image {
-  min-width: 20px;
-  min-height: 20px;
-  padding: 2px 5px;
-  margin: 0;
-  background: transparent;
-  list-style-image: url("chrome://browser/skin/social/social.png");
+.social-notification-icon-hbox {
+  pointer-events: none;
 }
 
-#social-provider-image > .button-box > .box-inherit > .button-icon {
-  max-height: 16px;
-  max-width: 16px;
+.social-notification-icon-stack > image {
+  max-height: 20px;
 }
 
-#social-provider-image > .button-box {
-  padding: 0;
-  margin: 0;
-  background: transparent;
-  border: none;
+.social-notification-icon-label {
+  text-align: end;
+  font-size: 9px;
+  font-weight: bold;
+  padding: 0 1px;
+  color: #FF9F00;
+  background-color: #000000;
+  border: 1px solid #9C9CFF;
+  border-radius: 2px;
 }
 
-#social-provider-image > .button-box > .button-menu-dropmarker {
+.social-notification-icon-label[value=""] {
   display: none;
 }
 
-/* hbox that hold notification icons */
-#social-status-iconbox {
-  margin: 0;
-  padding: 0;
+.social-notification-icon-image {
+  -moz-image-region: rect(0, 16px, 16px, 0);
 }
 
-/* hbox that surrounds an image and its counter */
-.social-notification-icon-container {
-  padding: 0;
-  margin: 0;
-  position: relative;
+#social-notification-icon-mentions {
+  background-color: #000000;
+  border-radius: 3px;
+  -moz-margin-start: 2px;
 }
 
-/* notification counter box */
-.social-notification-icon-counter {
-  background-color: #000000;
-  border: 1px solid #9C9CFF;
-  padding-right: 1px;
-  padding-left: 1px;
-  color: #FF9F00;
-  font-size: 9px;
-  font-weight: bold;
-  position: absolute;
-  right: -3px;
-  top: -4px;
-  z-index: 1;
-  text-align: center;
+#social-notification-icon-mentions:hover {
+  background-color: #FFCF00;
 }
 
-/* notification image */
-.social-notification-icon-image {
-  padding: 2px;
-  margin: 0;
-  min-width: 20px;
-  max-width: 32px;
-  max-height: 20px;
-  list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
+#social-notification-icon-mentions[open="true"] {
+  background-color: #FF9F00;
 }
 
 #social-sidebar-splitter {
@@ -3280,7 +3234,7 @@ stack[anonid=browserStack][responsivemode] {
   background-color: #000000;
   color: #FF9F00;
   position: relative;
-  font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
+  cursor: pointer;
 }
 
 #social-statusarea-user-portrait {
@@ -3288,28 +3242,30 @@ stack[anonid=browserStack][responsivemode] {
   height: 32px;
   border-radius: 2px;
   margin: 10px;
-  list-style-image: url("chrome://browser/skin/social/social.png");
 }
 
-#social-statusarea-username {
+#social-statusarea-user > vbox > #social-statusarea-notloggedin,
+#social-statusarea-user > vbox > #social-statusarea-username {
   background: transparent;
   border: none;
   color: #9C9CFF;
-  cursor: pointer;
   min-width: 0;
   margin: 0 6px;
+  list-style-image: none;
 }
-#social-statusarea-username:hover {
+
+#social-statusarea-user[_moz-menuactive] > vbox > #social-statusarea-notloggedin,
+#social-statusarea-user[_moz-menuactive] > vbox > #social-statusarea-username {
   text-decoration: underline;
 }
 
-#social-notification-panel {
-  min-height: 100px;
-  min-width: 100px;
-  max-height: 600px;
-  max-width: 400px;
+.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
+  padding: 0;
 }
 
+.social-panel-frame {
+  border-radius: inherit;
+}
 
 .chat-status-icon {
   max-height: 16px;
@@ -3330,54 +3286,48 @@ stack[anonid=browserStack][responsivemode] {
 }
 
 .chat-close-button {
-  list-style-image: url("chrome://global/skin/icons/close-button.gif");
-  padding: 2px 4px;
+  list-style-image: url('chrome://browser/skin/social/chat-close.png');
+  -moz-image-region: rect(0, 14px, 14px, 0);
 }
 
 .chat-close-button:hover,
 .chat-close-button:hover:active {
-  list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
-}
-
-
-.chat-toggle-button {
-  /* XXX get a real image for this */
-  list-style-image: url("chrome://global/skin/arrow/arrow-down-sharp.gif");
-}
-
-.chat-toggle-button:hover {
-  list-style-image: url("chrome://global/skin/arrow/arrow-down-sharp-hover.gif");
-}
-
-.chat-toggle-button[minimized="true"] {
-  list-style-image: url("chrome://global/skin/arrow/arrow-left-sharp.png");
-}
-
-.chat-toggle-button[minimized="true"]:hover {
-  list-style-image: url("chrome://global/skin/arrow/arrow-left-sharp-hover.png");
+  -moz-image-region: rect(14px, 14px, 28px, 0);
 }
 
 .chat-title {
   font-weight: bold;
   font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
+  text-shadow: none;
+  cursor: inherit;
 }
 
 .chat-titlebar {
   background-color: #9C9CFF;
   color: #000000;
   height: 20px;
-  min-height: 20px;
+  min-height: 16px;
   width: 100%;
   margin: 0;
   padding: 2px;
+  -moz-padding-start: 6px;
   border: none;
   border-bottom: 1px solid #008484;
+  cursor: pointer;
 }
 
 .chat-titlebar[minimized="true"] {
   border-bottom: none;
 }
 
+.chat-titlebar[selected] {
+  background-color: #008484;
+}
+
+.chat-titlebar[activity] {
+  background-color: #E7ADE7;
+}
+
 .chat-frame {
   padding: 0;
   margin: 0;
@@ -3397,43 +3347,173 @@ stack[anonid=browserStack][responsivemode] {
   -moz-border-end: 1px solid #008484;
 }
 
-.chatbar-button > .button-box > .box-inherit > .button-icon {
+.chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
+  width: auto;
+  height: auto;
   max-height: 16px;
   max-width: 16px;
-  padding: 2px;
 }
 
-.chatbar-button[open="true"],
-.chatbar-button:hover,
-.chatbar-button:active:hover {
+.chatbar-button > .toolbarbutton-icon {
+  opacity: .6;
+  -moz-margin-end: 0;
+}
+.chatbar-button:hover > .toolbarbutton-icon,
+.chatbar-button[open="true"] > .toolbarbutton-icon {
+  opacity: 1;
+}
+
+.chatbar-button[open="true"] {
 }
 
-/* toolbarbutton-icon */
 .chatbar-button > .toolbarbutton-text,
 .chatbar-button > .toolbarbutton-menu-dropmarker {
   display: none;
 }
 
+.chatbar-button[activity]:not([open="true"]) {
+  background-color: #E7ADE7;
+}
+
+.chatbar-button > menupopup > menuitem[activity] {
+  font-weight: bold;
+}
+
 .chatbar-innerbox {
   background: transparent;
-  margin: -200px -1px 0 -1px;
+  margin: -285px 0 0;
   overflow: hidden;
 }
 
+chatbar {
+  -moz-margin-end: 20px;
+}
+
 chatbar > chatbox {
-  height: 200px;
-  width: 200px;
+  height: 285px;
+  width: 260px;
+  -moz-margin-start: 4px;
   background-color: #000000;
   border: 1px solid #9C9CFF;
   border-bottom: none;
+  border-top-left-radius: 2.5px;
+  border-top-right-radius: 2.5px;
 }
 
-chatbar > chatbox[minimized="true"] {
-  width: 100px;
+chatbox[minimized="true"] {
+  width: 160px;
   height: 20px;
-  border-bottom: none;
 }
 
-chatbar > chatbox + chatbox {
-  -moz-margin-start: -1px;
+.click-to-play-plugins-notification-content {
+  margin: -10px;
+  border-radius: 4px;
+}
+
+.click-to-play-plugins-notification-icon-box {
+  background: #000000;
+  -moz-border-end: 1px solid #FF9F00;
+  padding-top: 16px;
+  -moz-padding-end: 16px;
+  -moz-padding-start: 24px;
+  -moz-margin-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 {
+  /*-moz-border-start: 1px solid #9C9CFF;
+  border-top: 1px solid #9C9CFF;*/
+}
+
+.click-to-play-plugins-notification-description-box {
+  /*border-bottom: 1px solid #9C9CFF;
+  -moz-border-start: 1px solid #9C9CFF;*/
+  padding-top: 12px;
+  -moz-padding-end: 11px;
+  padding-bottom: 9px;
+  -moz-padding-start: 10px;
+}
+
+.click-to-play-plugins-notification-center-box {
+  border-top: 1px solid #FF9F00;
+  border-bottom: 1px solid #FF9F00;
+  /*-moz-border-start: 1px solid #9C9CFF;*/
+  background-color: #000000;
+  -moz-margin-end: 4px;
+}
+
+.click-to-play-plugins-notification-button-container {
+  /*border-top: 1px solid #9C9CFF;
+  -moz-border-start: 1px solid #9C9CFF;*/
+  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-color: #FFCF00;
+  color: #000000;
+  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 {
+  color: #6868AA;
+}
+
+.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: 0;
 }