first steps of adopting both themes to toolkit winstripe changes between Mozilla...
[themes.git] / EarlyBlue / global / global.css
index 92f613f69ac00110a62fb11d4e4a340d5322cfac..77959672e84b363677c0fcd7ce9e6358f56985eb 100644 (file)
@@ -42,8 +42,6 @@
 /* all localizable skin settings shall live here */
 @import url("chrome://global/locale/intl.css");
 
-@import url("chrome://global/skin/formatting.css");
-
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 /* ::::: XBL bindings ::::: */
@@ -62,31 +60,32 @@ menulist > menupopup,
 }
 
 .menulist-compact {
-  -moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-compact");
+  -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
+}
+
+/*
+progressmeter[mode="undetermined"] {
+  -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
 }
+*/
 
 /* ::::: root elements ::::: */
 
 window,
 page,
 dialog,
-wizard {
+wizard,
+prefwindow {
   background-color: #CCD0DD;
   color: #000000;
-  font: 11px helvetica,arial,tahoma,sans-serif;
+  font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
 }
 
-page {
-  padding: 3px;
-}
-
-/* deprecated */
 window.dialog {
-  padding: 8px 10px 10px 8px;
-}
-
-[wait-cursor] {
-  cursor: wait !important;
+  padding-top: 8px;
+  padding-bottom: 10px;
+  -moz-padding-start: 8px;
+  -moz-padding-end: 10px;
 }
 
 /* ::::: alert icons :::::*/
@@ -94,7 +93,8 @@ window.dialog {
 .message-icon,
 .alert-icon,
 .error-icon,
-.question-icon {
+.question-icon,
+.authentication-icon {
   width: 32px;
   height: 32px;
 }
@@ -111,7 +111,8 @@ window.dialog {
   list-style-image: url("chrome://global/skin/icons/alert-error.gif");
 }
 
-.question-icon {
+.question-icon,
+.authentication-icon {
   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
 }
 
@@ -131,15 +132,21 @@ statusbar {
   border-top: 1px solid #9999CC;
   background-color: #666699;
   color: #CCD0DD;
-  min-width: 1px;
+  min-height: 16px;
 }
 
 statusbarpanel {
   -moz-box-align: center;
   -moz-box-pack: center;
-  padding: 0px 1px 0px 1px;
+  padding: 0px 1px;
 }
 
+statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
+  -moz-appearance: none;
+  border-top-style: none;
+  border-bottom-style: none;
+  -moz-border-start-style: none;
+}
 
 .statusbar-resizerpanel {
   -moz-box-align: end;
@@ -147,16 +154,197 @@ statusbarpanel {
   padding: 0px;
 }
 
-.statusbarpanel-iconic {
+.statusbarpanel-iconic,
+.statusbarpanel-iconic-text,
+.statusbarpanel-menu-iconic {
+  padding: 0px 1px;
+}
+
+.toolbar-focustarget {
+  -moz-user-focus: ignore !important;
+}
+
+toolbar[mode="text"] .toolbarbutton-text {
+  /* padding: 0 !important;
+  margin: 3px 5px !important; */
+}
+
+/* ::::: miscellaneous formatting ::::: */
+
+:root:-moz-lwtheme,
+[lwthemefooter="true"] {
+  -moz-appearance: none;
+}
+
+:root:-moz-lwtheme-darktext {
+  text-shadow: 1px 1px 2px #FFFFFF;
+}
+
+:root:-moz-lwtheme-brighttext {
+  text-shadow: 1px 1px 2px #000000;
+}
+
+statusbar:-moz-lwtheme,
+sidebarheader:-moz-lwtheme {
+  -moz-appearance: none;
+  background: none;
+  border-style: none;
+}
+
+.inset {
+  border: 1px inset #CCD0DD;
+  /* margin: 0px 5px 5px; */
+}
+
+.outset {
+  border: 1px outset #CCD0DD;
+}
+
+/* separators */
+separator:not([orient="vertical"]) {
+  height: 1.5em;
+}
+
+separator[orient="vertical"] {
+  width: 1.5em;
+}
+
+separator.thin:not([orient="vertical"]) {
+  height: 0.5em;
+}
+
+separator.thin[orient="vertical"] {
+  width: 0.5em;
+}
+
+separator.groove:not([orient="vertical"]) {
+  border-top: 2px groove #CCD0DD;
+  height: 0px;
+  margin-top: 0.4em;
+  margin-bottom: 0.4em;
+}
+
+separator.groove[orient="vertical"] {
+  border-left: 2px groove #CCD0DD;
+  -moz-margin-start: 0.4em;
+  -moz-margin-end: 0.4em;
+}
+
+/* groove separators (0 padding, for dividing effects) */
+separator.groove-thin {
+  border-top: 2px groove #CCD0DD;
+  height: 0px;
+}
+
+separator[orient="vertical"].groove-thin {
+  border-left: 2px groove #CCD0DD;
+}
+
+.small-margin {
+  margin: 0px 1px;
+}
+
+.plain {
+  -moz-appearance: none;
+  margin: 0px !important;
+  border: none;
   padding: 0px;
 }
 
-resizer[dir="bottomright"] {
-  cursor: se-resize;
+description, label  {
+  cursor: default;
+  margin: 1px 3px;
 }
 
-/* ::::: miscellaneous ::::: */
+label[disabled="true"] {
+  color: #808080;
+}
 
-.toolbar-focustarget {
-  -moz-user-focus: ignore !important;
+description {
+/*  margin-bottom: 4px; */
+}
+
+.tooltip-label {
+  margin: 0px;
+}
+
+.header {
+  font-weight: bold;
+}
+
+.monospace {
+  font-family: monospace;
+}
+
+.indent {
+/*  -moz-margin-start: 23px; */
+  -moz-margin-start: 15px;
+}
+
+.box-padded {
+  padding: 5px;
+}
+
+.spaced {
+  margin: 1px 3px;
+}
+
+.wizard-box {
+  padding: 15px 35px 10px;
+}
+
+.text-link {
+  color: blue;
+  text-decoration: underline;
+  cursor: pointer;
+}
+
+.text-link:-moz-focusring {
+  /* Don't specify the outline-color, we should always use initial value. */
+  outline: 1px dotted;
+}
+
+/* :::::: autoscroll popup ::::: */
+
+.autoscroller {
+  height: 28px;
+  width: 28px;
+  border: 0px;
+  margin: -14px;
+  padding: 0px;
+  background-image: url("chrome://global/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;
 }