X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fcomputedview.css;h=428c131a8c4bccca06ade0a9b3f9c5d7c86cd433;hp=95730f7eec825abdef990b31a60bb663ca4638e8;hb=ed88669caec874222dbeeb427afef95fbd787acb;hpb=ac5a507f3ed834aa7eafe1243efbf4137d0511bf diff --git a/LCARStrek/browser/devtools/computedview.css b/LCARStrek/browser/devtools/computedview.css index 95730f7e..428c131a 100644 --- a/LCARStrek/browser/devtools/computedview.css +++ b/LCARStrek/browser/devtools/computedview.css @@ -3,22 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* Take away these two :visited rules to get a core dumper */ -/* See https://bugzilla.mozilla.org/show_bug.cgi?id=575675#c30 */ -.link, -.link:visited { - color: #3333FF; -} -.link, -.helplink, -.link:visited, -.helplink:visited { - text-decoration: none; -} -.link:hover { - text-decoration: underline; -} - /* From content */ * { @@ -67,23 +51,29 @@ body { outline: 0; } +.property-value, .other-property-value { + background-image: url("arrow-e.png"); + background-repeat: no-repeat; + background-size: 5px 8px; +} + +@media (min-resolution: 2dppx) { + .property-value, .other-property-value { + background-image: url("arrow-e@2x.png"); + } +} + .property-value { width: 100%; overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; - background-image: url(arrow-e.png); - background-repeat: no-repeat; - background-size: 5px 8px; background-position: 2px center; padding-left: 10px; outline: 0; } .other-property-value { - background-image: url(arrow-e.png); - background-repeat: no-repeat; - background-size: 5px 8px; background-position: left center; padding-left: 8px; } @@ -108,10 +98,6 @@ body { margin-left: -12px!important; } -.expander[open] { - margin-left: -17px!important; -} - .expandable { visibility: visible; } @@ -171,6 +157,25 @@ body { float: right; } +/* Take away these two :visited rules to get a core dumper */ +/* See https://bugzilla.mozilla.org/show_bug.cgi?id=575675#c30 */ + +.link, +.link:visited { + color: #3333FF; +} + +.link, +.helplink, +.link:visited, +.helplink:visited { + text-decoration: none; +} + +.link:hover { + text-decoration: underline; +} + .computedview-colorswatch { border-radius: 50%; width: 1em; @@ -178,6 +183,7 @@ body { vertical-align: text-top; -moz-margin-end: 5px; display: inline-block; + position: relative; } .computedview-colorswatch::before { @@ -189,7 +195,9 @@ body { background-position: 0 0, 6px 6px; position: absolute; border-radius: 50%; - width: 1em; - height: 1em; + top: 0; + left: 0; + right: 0; + bottom: 0; z-index: -1; }