X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fcomputedview.css;h=95730f7eec825abdef990b31a60bb663ca4638e8;hb=ac5a507f3ed834aa7eafe1243efbf4137d0511bf;hp=b9b999c0982c116ba0f27e882e488ce28eee4d1e;hpb=2efcd25dc1dc8e4c55c31d226b99b9cfda531de1;p=themes.git diff --git a/LCARStrek/browser/devtools/computedview.css b/LCARStrek/browser/devtools/computedview.css index b9b999c0..95730f7e 100644 --- a/LCARStrek/browser/devtools/computedview.css +++ b/LCARStrek/browser/devtools/computedview.css @@ -22,7 +22,7 @@ /* From content */ * { - -moz-box-sizing: border-box; + box-sizing: border-box; } :root { @@ -59,15 +59,16 @@ body { } .property-name { - width: 50%; + /* -12px is so the expander triangle isn't pushed up above the property */ + width: calc(100% - 12px); overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; + outline: 0; } .property-value { - width: 50%; - max-width: 100%; + width: 100%; overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; @@ -76,6 +77,7 @@ body { background-size: 5px 8px; background-position: 2px center; padding-left: 10px; + outline: 0; } .other-property-value { @@ -91,7 +93,8 @@ body { width: 200px; } .property-value { - width: auto; + /* -212px is accounting for the 200px property-name and the 12px triangle */ + width: calc(100% - 212px); } } @@ -100,12 +103,6 @@ body { } /* From skin */ -.helplink { - /* FIXME: remove this image - background-image: url("chrome://browser/skin/devtools/goto-mdn.png"); - */ -} - .expander { visibility: hidden; margin-left: -12px!important; @@ -173,3 +170,26 @@ body { cursor: pointer; float: right; } + +.computedview-colorswatch { + border-radius: 50%; + width: 1em; + height: 1em; + vertical-align: text-top; + -moz-margin-end: 5px; + display: inline-block; +} + +.computedview-colorswatch::before { + content: ''; + background-color: #9C9CFF; + background-image: linear-gradient(45deg, #A09090 25%, transparent 25%, transparent 75%, #A09090 75%, #A09090), + linear-gradient(45deg, #A09090 25%, transparent 25%, transparent 75%, #A09090 75%, #A09090); + background-size: 12px 12px; + background-position: 0 0, 6px 6px; + position: absolute; + border-radius: 50%; + width: 1em; + height: 1em; + z-index: -1; +}