X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fwebconsole.css;h=67d3f4f6d28ee77418a943780bc1bd09678cf55e;hp=35b4c457506f4fd35d0325caf328651668cf47e3;hb=45dc7657b767fde2dc6b5d3ec71379bf5f624007;hpb=b981e4fd9e29e9b4781f1a4e6dbee38e2e253c2f diff --git a/LCARStrek/browser/devtools/webconsole.css b/LCARStrek/browser/devtools/webconsole.css index 35b4c457..67d3f4f6 100644 --- a/LCARStrek/browser/devtools/webconsole.css +++ b/LCARStrek/browser/devtools/webconsole.css @@ -15,7 +15,7 @@ window { width: 200px; } -/* === webconsole.inc.css === */ +/* === BEGIN webconsole.inc.css === */ /* General output styles */ @@ -61,7 +61,7 @@ a { } /* The red bubble that shows the number of times a message is repeated */ -.message > .repeats { +.message-repeats { -moz-user-select: none; flex: 0 0 auto; margin: 2px 6px; @@ -75,39 +75,51 @@ a { font-weight: 600; } -.message > .repeats[value="1"] { +.message-repeats[value="1"] { display: none; } -.message > .location { +.message-location { -moz-margin-start: 6px; + display: flex; flex: 0 0 auto; align-self: flex-start; + justify-content: flex-end; width: 10em; margin-top: 4px; - text-align: end; color: #3333FF; - text-overflow: ellipsis; text-decoration: none; - overflow: hidden; white-space: nowrap; } -.message > .location:hover, -.message > .location:focus { +.message-location:hover, +.message-location:focus { text-decoration: underline; } +.message-location > .filename { + text-overflow: ellipsis; + text-align: end; + overflow: hidden; + white-space: nowrap; +} + +.message-location > .line-number { + flex: 0 0 auto; +} + .hud-msg-node[selected="true"] > .webconsole-timestamp, .hud-msg-node[selected="true"] > .webconsole-location { color: inherit; } +.jsterm-input-container { + border-top-width: 1px; + border-top-style: solid; +} + #output-wrapper { - background: #000000; - color: #FF9F00; direction: ltr; - border-bottom: 1px solid #9C9CFF; overflow: auto; } @@ -119,6 +131,10 @@ a { align-items: flex-start; } +#output-container.hideTimestamps > .message > .timestamp { + display: none; +} + .filtered-by-type, .filtered-by-string { display: none; @@ -286,11 +302,11 @@ a { .jsterm-complete-node { -moz-padding-start: 16px; margin: 3px 0 0 0; + background-color: transparent; } .jsterm-input-node { background: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16) no-repeat; - background-position: 0%; } :-moz-any(.jsterm-input-node, @@ -298,10 +314,6 @@ a { overflow-x: hidden; } -.jsterm-complete-node > .textbox-input-box > .textbox-textarea { - color: #8050B0; -} - .inlined-variables-view .body { display: flex; flex-direction: column; @@ -310,6 +322,7 @@ a { .inlined-variables-view iframe { display: block; flex: 1; + margin-top: 5px; margin-bottom: 15px; -moz-margin-end: 15px; border: 1px solid #9C9CFF; @@ -321,6 +334,10 @@ a { border: none; } +.devtools-side-splitter ~ #webconsole-sidebar[hidden] { + display: none; +} + /* Security styles */ .message[category=security] > .icon { @@ -349,7 +366,129 @@ a { } .navigation-marker .url { - background-color: #000000; -moz-padding-end: 9px; text-decoration: none; } + +.consoleTrace .body > div { + display: flex; + margin-bottom: 5px; +} + +.consoleTrace .title { + display: block; + flex: 1 1 auto; +} + +.stacktrace { + list-style: none; + padding: 0 1em 0 1.5em; + margin: 0; + max-height: 10em; + overflow-y: auto; + + border: 1px solid #A09090; + border-radius: 3px; +} + +.stacktrace li { + display: flex; + margin: 0; +} + +.stacktrace .function { + display: block; + flex: 1 1 auto; +} + +/* Replace these values with CSS variables as available */ +.theme-dark .jsterm-input-container { + background-color: #000000; /* tabToolbarBackgroundColor */ + border-color: #9C9CFF; /* mainBackgroundColor */ +} + +.theme-dark .jsterm-input-node { + color: #E7ADE7; /* textColor */ +} + +.theme-dark .jsterm-complete-node { + color: #A09090; /* commentColor */ +} + +.theme-dark .navigation-marker .url { + background: #000000; /* mainBackgroundColor */ +} + +.theme-dark .inlined-variables-view iframe { + border-color: #A09090; +} + +.theme-dark .stacktrace { + border-color: #A09090; +} + +.theme-light .jsterm-input-container { + background-color: #000000; /* tabToolbarBackgroundColor */ + border-color: #9C9CFF; /* mainBackgroundColor */ +} + +.theme-light .jsterm-input-node { + color: #E7ADE7; /* textColor */ +} + +.theme-light .jsterm-complete-node { + color: #A09090; /* commentColor */ +} + +.theme-light .navigation-marker .url { + background: #000000; /* mainBackgroundColor */ +} + +.theme-light .inlined-variables-view iframe { + border-color: #A09090; +} + +.theme-dark .stacktrace { + border-color: #A09090; +} + +@media (max-width: 500px) { + .message > .timestamp { + display: none; + } + .toolbarbutton-text { + display: none; + } + .hud-console-filter-toolbar .webconsole-filter-button { + min-width: 40px; + } + .hud-console-filter-toolbar .webconsole-clear-console-button { + min-width: 25px; + } + .webconsole-filter-button > .toolbarbutton-menubutton-button:before { + width: 16px; + height: 16px; + margin-left: 1px; + } + .toolbarbutton-menubutton-dropmarker { + margin: 0px; + } +} + +@media (max-width: 300px) { + .hud-console-filter-toolbar { + -moz-box-orient: vertical; + } + .toolbarbutton-text { + display: -moz-box; + } + .devtools-toolbarbutton { + margin-top: 3px; + } + .hud-console-filter-toolbar .hud-filter-box, + .hud-console-filter-toolbar .devtools-toolbarbutton { + margin-top: 5px; + } +} + +/* === END webconsole.inc.css === */