X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fcomputedview.css;h=95730f7eec825abdef990b31a60bb663ca4638e8;hb=861be9975f09030ab7ac8ba61fbbb25ec4bb20ed;hp=d168820ebf403217f33dba72ef399f0ecc535823;hpb=1783ea508b5f2c4f2f96b96a948aa26172a0380a;p=themes.git diff --git a/LCARStrek/browser/devtools/computedview.css b/LCARStrek/browser/devtools/computedview.css index d168820e..95730f7e 100644 --- a/LCARStrek/browser/devtools/computedview.css +++ b/LCARStrek/browser/devtools/computedview.css @@ -59,7 +59,8 @@ 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; @@ -67,8 +68,7 @@ body { } .property-value { - width: 50%; - max-width: 100%; + width: 100%; overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; @@ -93,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); } } @@ -171,10 +172,24 @@ body { } .computedview-colorswatch { - display: inline-block; 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; }