update both themes for toolkit winstripe changes up to 2011-02-27
[themes.git] / EarlyBlue / global / webConsole.css
index 0953184fb44347e683624d25b5f368b5fbd9ca2e..ade85f346288c7e4140858af7f702bd130d31d61 100644 (file)
   border-bottom: 1px solid #CCD0DD;
 }
 
+.hud-box.animated {
+  -moz-transition: height 100ms;
+}
+
 .hud-outer-wrapper {
   width: 100%; 
   height: 100%;
   overflow: auto; 
 }
 
-.hud-main-label {
-  font-size: 1em;
-  padding-top: 0.33em;
-  font-weight: bold;
+/* General output styles */
+
+.webconsole-timestamp {
+  color: #808080;
+  margin-top: 0;
+  margin-bottom: 0;
+}
+
+.webconsole-msg-icon {
+  list-style-image: url("chrome://global/skin/icons/webconsole.png");
+  -moz-image-region: rect(0, 1px, 0, 0);
+  margin: 3px 4px;
+  width: 8px;
+  height: 8px;
 }
 
 .hud-output-node div {
   -moz-user-focus: normal;
 }
 
-.hud-output-node .hud-network {
-  color: blue;
+.hud-clickable {
+  cursor: pointer;
+  text-decoration: underline;
 }
 
-.hud-output-node .hud-error {
-  color: red;
+.webconsole-msg-body {
+  margin-top: 0;
+  margin-bottom: 3px;
+  -moz-margin-start: 3px;
+  -moz-margin-end: 6px;
 }
 
-.hud-output-node .hud-log {
-  color: black;
+.webconsole-msg-body-piece {
+  margin: 0;
 }
 
-.hud-output-node .hud-warn {
-  color: orange;
+.webconsole-msg-url {
+  margin: 0 6px;
 }
 
-.hud-output-node .hud-info {
-  color: green;
+/* Repeated messages */
+.webconsole-msg-repeat {
+  margin: 2px 0;
+  padding-left: 4px;
+  padding-right: 4px;
+  width: 1em;
+  color: #FFFFFF;
+  background-color: #FF0000;
+  border-radius: 40px;
+  /* font: message-box; */
+  font-size: 10px;
+  font-weight: 600;
 }
 
-.hud-output-node .hud-exception {
-  color: red; font-weight: bold;
+/* TODO move this and other functional rules to content - bug 635359 */
+.webconsole-msg-repeat[value="1"] {
+  display: none;
 }
 
-.hud-msg-node {    
-  width: 100%;
-  margin-top: 0.3em; 
-  margin-bottom: 0.3em; 
-  padding-left: 0.3em;
-  border-bottom: 1px solid #eee;   
+.webconsole-location {
+  margin-top: 0;
+  margin-bottom: 0;
+  -moz-margin-start: 0;
+  -moz-margin-end: 6px;
+  width: 10em;
+  text-align: end;
+}
+
+.hud-msg-node[selected="true"] > .webconsole-timestamp,
+.hud-msg-node[selected="true"] > .webconsole-location {
+  color: inherit;
+}
+
+.hud-output-node,
+.jsterm-input-node,
+.jsterm-complete-node {
+  font: 12px Consolas, Lucida Console, monospace;
 }
 
 .hud-output-node {
-  border-bottom: 1px solid #ddd; 
-  border-top: 1px solid #ddd; 
-  overflow-x: auto; overflow: auto;
-  font: 1em monospace; background-color: white;
-  width: 100%;
+  -moz-appearance: none;
+  border-bottom: 1px solid #666699;
+  border-top: 1px solid #666699;
+  margin: 0;
 }
 
-.hud-filtered-by-type, .hud-filtered-by-string {
+.hud-filtered-by-type,
+.hud-filtered-by-string {
   display: none;
 }
 
-.hud-group:first-child .hud-divider {
+.webconsole-clear-console-button > .toolbarbutton-icon {
   display: none;
 }
 
+.webconsole-filter-button > .toolbarbutton-menubutton-button {
+  -moz-box-orient: horizontal;
+  list-style-image: url("chrome://global/skin/icons/webconsole.png");
+}
+
+/* Network styles */
+.webconsole-filter-button[category="net"] {
+  -moz-image-region: rect(0, 8px, 8px, 0);
+}
+
+.webconsole-msg-network > .webconsole-msg-icon-container {
+  -moz-border-start: solid #000 6px;
+}
+
+.webconsole-msg-network.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
+  -moz-image-region: rect(0, 16px, 8px, 8px);
+}
+
+/* CSS styles */
+.webconsole-filter-button[category="css"] {
+  -moz-image-region: rect(8px, 8px, 16px, 0);
+}
+
+.webconsole-msg-cssparser > .webconsole-msg-icon-container {
+  -moz-border-start: solid #00b6f0 6px;
+}
+
+.webconsole-msg-cssparser.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
+  -moz-image-region: rect(8px, 16px, 16px, 8px);
+}
+
+.webconsole-msg-cssparser.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
+  -moz-image-region: rect(8px, 24px, 16px, 16px);
+}
+
+/* JS styles */
+.webconsole-filter-button[category="js"] {
+  -moz-image-region: rect(16px, 8px, 24px, 0);
+}
+
+.webconsole-msg-exception > .webconsole-msg-icon-container {
+  -moz-border-start: solid #fb9500 6px;
+}
+
+.webconsole-msg-exception.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
+  -moz-image-region: rect(16px, 16px, 24px, 8px);
+}
+
+.webconsole-msg-exception.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
+  -moz-image-region: rect(16px, 24px, 24px, 16px);
+}
+
+/* Web Developer styles */
+.webconsole-filter-button[category="webdev"] {
+  -moz-image-region: rect(24px, 8px, 32px, 0);
+}
+
+.webconsole-msg-console > .webconsole-msg-icon-container {
+  -moz-border-start: solid #cbcbcb 6px;
+}
+
+.webconsole-msg-console.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon,
+.webconsole-msg-output.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
+  -moz-image-region: rect(24px, 16px, 32px, 8px);
+}
+
+.webconsole-msg-console.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
+  -moz-image-region: rect(24px, 24px, 32px, 16px);
+}
+
+.webconsole-msg-console.webconsole-msg-info > .webconsole-msg-icon-container > .webconsole-msg-icon {
+  -moz-image-region: rect(24px, 32px, 32px, 24px);
+}
+
+/* Input and output styles */
+.webconsole-msg-input > .webconsole-msg-icon-container,
+.webconsole-msg-output > .webconsole-msg-icon-container {
+  border-left: solid #808080 6px;
+}
+
+.webconsole-msg-input > .webconsole-msg-icon-container > .webconsole-msg-icon {
+  -moz-image-region: rect(24px, 40px, 32px, 32px);
+}
+
+.webconsole-msg-output > .webconsole-msg-icon-container > .webconsole-msg-icon {
+  -moz-image-region: rect(24px, 48px, 32px, 40px);
+}
+
+.webconsole-close-button {
+  border: none;
+  padding: 3px;
+  list-style-image: url("chrome://global/skin/icons/close.png");
+  -moz-image-region: rect(0, 16px, 16px, 0);
+  -moz-appearance: none;
+}
+
+.webconsole-close-button:hover {
+  -moz-image-region: rect(0, 32px, 16px, 16px);
+}
+
+.webconsole-close-button:hover:active {
+  -moz-image-region: rect(0, 48px, 16px, 32px);
+}
+
 /* JSTerm Styles */
 
 .jsterm-wrapper-node {
   -moz-box-direction: reverse;
 }
 
-.jsterm-output-node div {
-  -moz-user-select: text;
-}
-
 .jsterm-scroll-to-node {
   height: 1px; width: 1px; position: relative; top: 92%; display: block;
 }
 
+.jsterm-input-node,
+.jsterm-complete-node {
+  border: none;
+  padding: 0 0 0 16px;
+}
+
 .jsterm-input-node {
-  width: 98%;
-  font-family: monospace;
-  font-size: 9pt;
-  background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat !important;
-  border: none !important;
-  padding: 0px 0px 0px 16px !important;
+  background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
 }
 
-.jsterm-input-node textarea {
+:-moz-any(.jsterm-input-node,
+          .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
   overflow-x: hidden;
 }
 
+.jsterm-complete-node > .textbox-input-box > .textbox-textarea {
+  color: #808080;
+}
+
 .jsterm-output-line {
-  font-size: 1.2em;
+  font-size: 1em;
 }
 
 .hud-console-filter-toolbar {