X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fwidgets.css;h=b5b8d06dd29f7edae6bc77487e15953539dd2d47;hp=a7192d9fe5df90f0d7c7bc7d14667824ce199024;hb=3a0880a969044096e60703908f84629b16830ee2;hpb=82b4252f7e41007fc93fa3b94fd7418a07c03fd1 diff --git a/LCARStrek/browser/devtools/widgets.css b/LCARStrek/browser/devtools/widgets.css index a7192d9f..b5b8d06d 100644 --- a/LCARStrek/browser/devtools/widgets.css +++ b/LCARStrek/browser/devtools/widgets.css @@ -25,7 +25,7 @@ breadcrumbs-widget-items, to match toolbar-buttons style. This negative margin compensates the extra row of pixels created by the shadow.*/ - margin: -1px 0; +/* margin: -1px 0;*/ } /* Preloading hack, LTR */ @@ -304,29 +304,28 @@ color: #FF9F00; } -.side-menu-widget-container[with-arrow=true]:-moz-locale-dir(ltr), -.side-menu-widget-item-or-group[with-arrow=true]:-moz-locale-dir(ltr) { +.side-menu-widget-container[with-arrows=true]:-moz-locale-dir(ltr) { } -.side-menu-widget-container[with-arrow=true]:-moz-locale-dir(rtl), -.side-menu-widget-item-or-group[with-arrow=true]:-moz-locale-dir(rtl) { +.side-menu-widget-container[with-arrows=true]:-moz-locale-dir(rtl) { } .side-menu-widget-group-title { - background-color: #A09090; padding: 4px; + + background-color: #A09090; color: #000000; - transition-property: background-color; - transition-duration: 0.3s; } -.side-menu-widget-group:hover > .side-menu-widget-group-title { - background-color: #FFCF00; +.side-menu-widget-group-checkbox { + margin: 0; + padding: 0; } .side-menu-widget-item { border-top: 1px solid #9C9CFF; - cursor: pointer; + margin-top: -1px; + margin-bottom: -1px; } .side-menu-widget-item:last-of-type { @@ -353,17 +352,18 @@ background-position: center left, top left; } +.side-menu-widget-item-label { + padding: 4px 0px; +} + .side-menu-widget-item-arrow { -moz-margin-start: -8px; width: 8px; } -.side-menu-widget-item-contents { - padding: 4px; -} - -.side-menu-widget-item label { - cursor: inherit; +.side-menu-widget-item-checkbox { + -moz-margin-start: 4px; + -moz-margin-end: -6px; } .side-menu-widget-item-other { @@ -377,17 +377,8 @@ color: #000000; } -.side-menu-widget-item.selected .side-menu-widget-item-other:first-of-type { - border-top: 1px dotted #9C9CFF; - margin-top: 3px; -} - .side-menu-widget-item-other:first-of-type { - margin-top: 4px; -} - -.side-menu-widget-item-other:last-of-type { - margin-bottom: -4px; +/* border-top-left-radius: 4px; */ } .side-menu-widget-item-other:not(.selected) > label { @@ -395,10 +386,11 @@ } .side-menu-widget-empty-notice-container { - background-color: #000000; padding: 12px; - color: #A09090; + + background-color: #000000; font-weight: 600; + color: #A09090; } /* VariablesView */ @@ -423,15 +415,10 @@ } .variables-view-scope > .variables-view-element-details:not(:empty) { - margin-top: 1px; -moz-margin-start: 2px; -moz-margin-end: 1px; } -.variables-view-scope > .variables-view-element-details.enum:not(:empty) { - border-bottom: 1px solid #9C9CFF; -} - /* Generic traits applied to both variables and properties */ .variable-or-property { @@ -509,10 +496,10 @@ color: #FF9F00; } -/* Non enumerable, configurable and writable variables and properties */ +/* Custom configurable/enumerable/writable or frozen/sealed/extensible + * variables and properties */ -.variable-or-property[proto] > .title > .name, -.variable-or-property[non-enumerable]:not([self]):not([exception]) > .title > .name { +.variable-or-property[non-enumerable]:not([self]):not([exception]):not([return]):not([scope]) > .title > .name { opacity: 0.5; } @@ -520,13 +507,11 @@ border-bottom: 1px dashed #9C9CFF; } -.variable-or-property[non-configurable][non-writable] > .title > .name { +.variable-or-property[non-writable] > .title > .name { border-bottom: 1px dashed #FF0000; } -.variable-or-property[non-writable] > .title:after { - content: " "; - display: inline-block; +.variable-or-property-non-writable-icon { background: url("chrome://browser/skin/identity-icons-https.png") no-repeat; width: 16px; height: 16px; @@ -534,16 +519,42 @@ } @media (min-resolution: 2dppx) { - .variable-or-property[non-writable] > .title:after { + .variable-or-property-non-writable-icon > .title:after { background-image: url("chrome://browser/skin/identity-icons-https@2x.png"); background-size: 32px; } } +.variable-or-property-frozen-label, +.variable-or-property-sealed-label, +.variable-or-property-non-extensible-label { + -moz-padding-end: 4px; +} + +.variable-or-property:not(:focus) > .title > .variable-or-property-frozen-label, +.variable-or-property:not(:focus) > .title > .variable-or-property-sealed-label, +.variable-or-property:not(:focus) > .title > .variable-or-property-non-extensible-label { + color: #A09090; +} + +/* Special variables and properties */ + +.variable-or-property[safe-getter] > .title > .name { + border-bottom: 1px dashed #A09090; +} + .variable-or-property[exception]:not(:focus) > .title > .name { color: #FF0000; } +.variable-or-property[return]:not(:focus) > .title > .name { + color: #008484; +} + +.variable-or-property[scope]:not(:focus) > .title > .name { + color: #9C9CFF; +} + /* Variables and properties tooltips */ .variable-or-property > tooltip > label { @@ -552,26 +563,35 @@ .variable-or-property[non-enumerable] > tooltip > label[value=enumerable], .variable-or-property[non-configurable] > tooltip > label[value=configurable], -.variable-or-property[non-writable] > tooltip > label[value=writable] { +.variable-or-property[non-writable] > tooltip > label[value=writable] +.variable-or-property[non-extensible] > tooltip > label[value=extensible] { + color: #A09090; text-decoration: line-through; } +.variable-or-property[safe-getter] > tooltip > label[value=WebIDL] { + -moz-padding-start: 4px; + -moz-border-start: 1px dotted #9C9CFF; + color: #008484; +} + /* Variables and properties editing */ .variables-view-delete { - list-style-image: url("chrome://global/skin/icons/close.png"); + list-style-image: url("chrome://browser/skin/devtools/vview-delete.png"); -moz-image-region: rect(0, 16px, 16px, 0); - opacity: 0; } .variables-view-delete:hover { - opacity: 1; + -moz-image-region: rect(0, 32px, 16px, 16px); } -*:hover > .title > .variables-view-delete:not(:hover), -*:focus > .title > .variables-view-delete:not(:hover) { - opacity: 0.5; - transition: opacity 0.2s ease-in-out; +.variables-view-delete:active { + -moz-image-region: rect(0, 48px, 16px, 32px); +} + +*:not(:hover) .variables-view-delete { + display: none; } .variables-view-delete > .toolbarbutton-text { @@ -579,7 +599,7 @@ } .variables-view-edit { - background: url("chrome://browser/skin/tabview/edit-light.png") center no-repeat; + background: url("chrome://browser/skin/devtools/vview-edit.png") center no-repeat; width: 20px; height: 16px; cursor: pointer;