X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fcomputedview.css;h=3523ce287ea2eb5d9ce0fc93e59598f207654e9d;hp=dd2470ad2174a9335f00fafd9dc25ee237a23b3d;hb=acc20e5dafc253d32dd6f55076943b9eeae398ca;hpb=b27cc46e639c7b6f88a224a7492701957379c32c diff --git a/LCARStrek/browser/devtools/computedview.css b/LCARStrek/browser/devtools/computedview.css index dd2470ad..3523ce28 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); } } @@ -167,3 +170,12 @@ body { cursor: pointer; float: right; } + +.computedview-colorswatch { + display: inline-block; + border-radius: 50%; + width: 1em; + height: 1em; + vertical-align: text-top; + -moz-margin-end: 5px; +}