X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2FwebConsole.css;h=8860808906a7320addd9d60980475dbb712c38b0;hp=0b25735c90afde28b732cde221974ba57c243e4d;hb=38b75e2e0c3847fd3a7410d927995343cb72ef3f;hpb=72a6fd3905676b14c504bf0532ebd52906c82a4c diff --git a/LCARStrek/global/webConsole.css b/LCARStrek/global/webConsole.css index 0b25735c..88608089 100644 --- a/LCARStrek/global/webConsole.css +++ b/LCARStrek/global/webConsole.css @@ -53,10 +53,20 @@ overflow: auto; } -.hud-main-label { - font-size: 1em; - padding-top: 0.33em; - font-weight: bold; +/* General output styles */ + +.webconsole-timestamp { + color: #8050B0; + 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 { @@ -70,46 +80,65 @@ text-decoration: underline; } -.hud-network { - color: blue; +.webconsole-msg-body { + margin-top: 0; + margin-bottom: 3px; + -moz-margin-start: 3px; + -moz-margin-end: 6px; } -.hud-error { - color: red; +.webconsole-msg-body-piece { + margin: 0; } -.hud-log { - color: black; +.webconsole-msg-url { + margin: 0 6px; } -.hud-warn { - color: orange; +/* Repeated messages */ +.webconsole-msg-repeat { + margin: 2px 0; + padding-left: 4px; + padding-right: 4px; + width: 1em; + color: #000000; + background-color: #FF0000; + border-radius: 40px; + /* font: message-box; */ + font-size: 10px; + font-weight: 600; } -.hud-info { - color: green; +/* TODO move this and other functional rules to content - bug 635359 */ +.webconsole-msg-repeat[value="1"] { + display: none; } -.hud-exception { - color: red; font-weight: bold; +.webconsole-location { + margin-top: 0; + margin-bottom: 0; + -moz-margin-start: 0; + -moz-margin-end: 6px; + width: 10em; + text-align: end; } -.hud-msg-node { - width: 100%; - margin-top: 0.3em; - margin-bottom: 0.3em; - padding-left: 1em; - -moz-user-select: text; - white-space: pre-wrap; - -moz-user-focus: normal; +.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 #9C9CFF; + border-top: 1px solid #9C9CFF; + margin: 0; } .hud-filtered-by-type, @@ -121,28 +150,92 @@ display: none; } +.webconsole-filter-button > .toolbarbutton-menubutton-button { -moz-box-orient: horizontal; list-style-image: url("chrome://global/skin/icons/webconsole.png"); } -/* Network button */ +/* Network styles */ .webconsole-filter-button[category="net"] { - -moz-image-region: rect(0, 40px, 10px, 30px); + -moz-image-region: rect(0, 8px, 8px, 0); } -/* CSS button */ +.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(10px, 40px, 20px, 30px); + -moz-image-region: rect(8px, 8px, 16px, 0); +} + +.webconsole-msg-cssparser > .webconsole-msg-icon-container { + -moz-border-start: solid #00b6f0 6px; } -/* JS button */ +.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(20px, 40px, 30px, 30px); + -moz-image-region: rect(16px, 8px, 24px, 0); +} + +.webconsole-msg-exception > .webconsole-msg-icon-container { + -moz-border-start: solid #fb9500 6px; } -/* Web Developer button */ +.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(30px, 40px, 40px, 30px); + -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 { @@ -188,18 +281,25 @@ 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 { - font-family: monospace; - font-size: 9pt; background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat; - border: none; - padding: 0px 0px 0px 16px; } -.jsterm-input-node > .textbox-input-box > .textbox-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: #8050B0; +} + .jsterm-output-line { font-size: 1em; }