X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fnetmonitor.css;h=6c0e81c581fd7d6e2413048d6cd563620fcb5783;hp=d2fde02dbf81716465eea8cb033542f5df51266a;hb=1437a48cc96cb2df0e583660e83049b5bffa7b8f;hpb=de5e780daa5242500976dde56483222a51ecdae5 diff --git a/LCARStrek/browser/devtools/netmonitor.css b/LCARStrek/browser/devtools/netmonitor.css index d2fde02d..6c0e81c5 100644 --- a/LCARStrek/browser/devtools/netmonitor.css +++ b/LCARStrek/browser/devtools/netmonitor.css @@ -9,6 +9,12 @@ window { /* === BEGIN netmonitor.inc.css === */ +:root.theme-dark, +:root.theme-light { + --table-splitter-color: #9C9CFF; + --table-zebra-background: rgba(255,159,0,0.1); +} + #requests-menu-empty-notice { margin: 0; padding: 12px; @@ -56,7 +62,7 @@ window { .requests-menu-header:not(:last-child), .requests-menu-subitem:not(:last-child) { - -moz-border-end: 1px solid #9C9CFF; + -moz-border-end: 1px solid var(--table-splitter-color); } .requests-menu-header:not(:last-child):-moz-locale-dir(rtl), @@ -145,18 +151,43 @@ window { } .requests-menu-icon { - outline: 1px solid #A09090; + outline: 1px solid var(--table-splitter-color); } .requests-menu-file { text-align: start; } -.requests-menu-domain { +.requests-menu-security-and-domain { width: 14vw; min-width: 10em; } +.requests-security-state-icon { + width: 16px; + height: 16px; + -moz-margin-end: 4px; +} + +.security-state-insecure { + list-style-image: url("chrome://browser/skin/identity-not-secure.svg"); +} + +.security-state-secure { + cursor: pointer; + list-style-image: url("chrome://browser/skin/identity-secure.svg"); +} + +.security-state-weak { + cursor: pointer; + list-style-image: url("chrome://browser/skin/identity-mixed-passive-loaded.svg"); +} + +.security-state-broken { + cursor: pointer; + list-style-image: url("chrome://browser/skin/identity-mixed-active-loaded.svg"); +} + .requests-menu-type { text-align: center; width: 4em; @@ -167,6 +198,11 @@ window { width: 8em; } +.requests-menu-transferred { + text-align: center; + width: 8em; +} + /* Network requests table: status codes */ box.requests-menu-status { @@ -186,15 +222,20 @@ label.requests-menu-status-code { } box.requests-menu-status:not([code]) { - background-color: #A09090; /* dark grey */ + background-color: var(--theme-content-color2); +} + +box.requests-menu-status[code="cached"] { + border: 2px solid var(--theme-content-color2); + background-color: transparent; } box.requests-menu-status[code^="1"] { - background-color: #9C9CFF; /* light blue */ + background-color: var(---theme-highlight-blue); } box.requests-menu-status[code^="2"] { - background-color: #008484; /* green */ + background-color: var(--theme-highlight-green); } /* 3xx are triangles */ @@ -204,18 +245,18 @@ box.requests-menu-status[code^="3"] { height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; - border-bottom: 10px solid #FF9F00; /* light orange */ + border-bottom: 10px solid var(--theme-highlight-lightorange); border-radius: 0; } /* 4xx and 5xx are squares - error codes */ box.requests-menu-status[code^="4"] { - background-color: #FF0000; /* red */ + background-color: var(--theme-highlight-red); border-radius: 0; /* squares */ } box.requests-menu-status[code^="5"] { - background-color: #6000CF; /* pink? */ + background-color: var(--theme-highlight-pink); border-radius: 0; transform: rotate(45deg); } @@ -331,6 +372,16 @@ box.requests-menu-status[code^="5"] { /* SideMenuWidget */ +#network-table .side-menu-widget-empty-text, +#network-table .side-menu-widget-container { + background-color: var(--theme-body-background); +} + +#network-table .side-menu-widget-item { + border-top-color: transparent; + border-bottom-color: transparent; +} + .side-menu-widget-item-contents { padding: 0px; } @@ -340,7 +391,11 @@ box.requests-menu-status[code^="5"] { } .side-menu-widget-item:not(.selected)[odd] { - background: rgba(255,159,0,0.1); + background-color: var(--table-zebra-background); +} + +.side-menu-widget-item:not(.selected):hover { + background-color: var(--theme-selection-background-semitransparent); } /* Network request details */ @@ -364,7 +419,7 @@ box.requests-menu-status[code^="5"] { -moz-image-region: rect(0px,32px,16px,16px); } -@media (min-resolution: 2dppx) { +@media (min-resolution: 1.25dppx) { #details-pane-toggle { list-style-image: url("chrome://browser/skin/devtools/debugger-collapse@2x.png"); -moz-image-region: rect(0px,32px,32px,0px); @@ -382,10 +437,17 @@ box.requests-menu-status[code^="5"] { /* Network request details tabpanels */ .tabpanel-content { - background-color: var(--theme-toolbar-background); + background-color: var(--theme-sidebar-background); +} + +.theme-dark .tabpanel-content { color: var(--theme-body-color); } +#headers-tabpanel { + background-color: var(--theme-toolbar-background); +} + /* Summary tabpanel */ .tabpanel-summary-container { @@ -399,6 +461,7 @@ box.requests-menu-status[code^="5"] { } .tabpanel-summary-value { + color: inherit; -moz-padding-start: 3px; } @@ -474,6 +537,31 @@ box.requests-menu-status[code^="5"] { transition: transform 0.2s ease-out; } +/* Security tabpanel */ + +.security-info-section { + -moz-padding-start: 1em; +} + +#security-tabpanel { + overflow: auto; +} + +.security-warning-icon { + background-image: url("alerticon-warning.png"); + background-size: 13px 12px; + -moz-margin-start: 5px; + vertical-align: top; + width: 13px; + height: 12px; +} + +@media (min-resolution: 1.25dppx) { + .security-warning-icon { + background-image: url("alerticon-warning@2x.png"); + } +} + /* Custom request form */ #custom-pane { @@ -495,9 +583,9 @@ box.requests-menu-status[code^="5"] { /* Footer */ #requests-menu-footer { - border-top: 1px solid #9C9CFF; padding-top: 3px; background-color: var(--theme-toolbar-background); + border-top: 1px solid var(--table-splitter-color); } .requests-menu-footer-button, @@ -521,9 +609,6 @@ box.requests-menu-status[code^="5"] { .requests-menu-footer-button { } -.requests-menu-footer-button:hover { -} - .requests-menu-footer-button:hover:active { } @@ -534,6 +619,28 @@ box.requests-menu-status[code^="5"] { font-weight: 600; } +#requests-menu-filter-freetext-text { + transition-property: max-width, -moz-padding-end, -moz-padding-start; + transition-duration: 250ms; + transition-timing-function: ease; +} + +#requests-menu-filter-freetext-text:not([focused]):not([filled]) > .textbox-input-box { + overflow: hidden; +} + +#requests-menu-filter-freetext-text:not([focused]):not([filled]) { + max-width: 20px !important; + -moz-padding-end: 5px; + -moz-padding-start: 22px; + background-position: 8px center, top left, top left; +} + +#requests-menu-filter-freetext-text[focused], +#requests-menu-filter-freetext-text[filled] { + max-width: 200px !important; +} + /* Performance analysis buttons */ #requests-menu-network-summary-button { @@ -571,7 +678,7 @@ box.requests-menu-status[code^="5"] { #network-statistics-charts { min-height: 1px; - background-color: var(--theme-toolbar-background); + background-color: var(--theme-sidebar-background); } #network-statistics-charts .pie-chart-container { @@ -665,7 +772,7 @@ box.requests-menu-status[code^="5"] { } .requests-menu-icon-and-file, - .requests-menu-domain { + .requests-menu-security-and-domain { width: 30vw; }