X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fwidgets.css;h=394d732319b9c72501d3d944fd3d68ea9939bdce;hp=eb0223a28af6312705b83a76129a1ac1844943b8;hb=6568957a6c8bab01b38e271cec8661f148805538;hpb=e2734cc744523d8adb0aa3d44644220b98d8201c diff --git a/LCARStrek/browser/devtools/widgets.css b/LCARStrek/browser/devtools/widgets.css index eb0223a2..394d7323 100644 --- a/LCARStrek/browser/devtools/widgets.css +++ b/LCARStrek/browser/devtools/widgets.css @@ -304,31 +304,39 @@ color: #FF9F00; } -.side-menu-widget-container[with-arrow=true]:-moz-locale-dir(ltr), -.side-menu-widget-group[with-arrow=true]:-moz-locale-dir(ltr), -.side-menu-widget-item[with-arrow=true]:-moz-locale-dir(ltr) { +/* SideMenuWidget container */ + +.side-menu-widget-container[with-arrows=true]:-moz-locale-dir(ltr) { +} + +.side-menu-widget-container[with-arrows=true]:-moz-locale-dir(rtl) { } -.side-menu-widget-container[with-arrow=true]:-moz-locale-dir(rtl), -.side-menu-widget-group[with-arrow=true]:-moz-locale-dir(rtl), -.side-menu-widget-item[with-arrow=true]:-moz-locale-dir(rtl) { +.side-menu-widget-container[with-arrows=true] .side-menu-widget-group { + /* To allow visibility of the dark margin shadow. */ +/* -moz-margin-end: 1px; */ } +.side-menu-widget-container[with-arrows=true] .side-menu-widget-item { + /* To compensate for the arrow image's dark margin. */ +/* -moz-margin-end: -1px; */ +} + +/* SideMenuWidget groups */ + .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; -} +/* SideMenuWidget items */ .side-menu-widget-item { border-top: 1px solid #9C9CFF; - cursor: pointer; + margin-top: -1px; + margin-bottom: -1px; } .side-menu-widget-item:last-of-type { @@ -355,17 +363,15 @@ background-position: center left, top left; } -.side-menu-widget-item-arrow { - -moz-margin-start: -8px; - width: 8px; -} +/* SideMenuWidget items contents */ -.side-menu-widget-item-contents { - padding: 4px; +.side-menu-widget-item-label { + padding: 4px 0px; } -.side-menu-widget-item label { - cursor: inherit; +.side-menu-widget-item-arrow { + -moz-margin-start: -8px; + width: 8px; } .side-menu-widget-item-other { @@ -379,28 +385,35 @@ 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 { +/* border-top-left-radius: 4px; */ } -.side-menu-widget-item-other:first-of-type { - margin-top: 4px; +.side-menu-widget-item-other:not(.selected) > label { + color: #9C9CFF; } -.side-menu-widget-item-other:last-of-type { - margin-bottom: -4px; +/* SideMenuWidget checkboxes */ + +.side-menu-widget-group-checkbox { + margin: 0; + -moz-margin-end: 4px; } -.side-menu-widget-item-other:not(.selected) > label { - color: #9C9CFF; +.side-menu-widget-item-checkbox { + margin: 0; + -moz-margin-start: 4px; + -moz-margin-end: -4px; } +/* SideMenuWidget misc */ + .side-menu-widget-empty-notice-container { - background-color: #000000; padding: 12px; - color: #A09090; + + background-color: #000000; font-weight: 600; + color: #A09090; } /* VariablesView */ @@ -425,15 +438,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 { @@ -514,7 +522,7 @@ /* Custom configurable/enumerable/writable or frozen/sealed/extensible * variables and properties */ -.variable-or-property[non-enumerable]:not([self]):not([exception]):not([return]) > .title > .name { +.variable-or-property[non-enumerable]:not([self]):not([exception]):not([return]):not([scope]) > .title > .name { opacity: 0.5; } @@ -544,6 +552,11 @@ .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; } @@ -561,6 +574,30 @@ color: #008484; } +.variable-or-property[scope]:not(:focus) > .title > .name { + color: #9C9CFF; +} + +/* Aligned values */ + +.variables-view-container[aligned-values] .title > .separator { + -moz-box-flex: 1; +} + +.variables-view-container[aligned-values] .title > .value { + width: 70vw; +} + +.variables-view-container[aligned-values] .title > .element-value-input { + width: calc(70vw - 10px); +} + +/* Actions first */ + +.variables-view-container[actions-first] .variables-view-delete { + -moz-box-ordinal-group: 0; +} + /* Variables and properties tooltips */ .variable-or-property > tooltip > label { @@ -584,19 +621,16 @@ /* 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); } .variables-view-delete > .toolbarbutton-text { @@ -604,7 +638,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; @@ -669,3 +703,71 @@ .arrow[invisible] { visibility: hidden; } + +/* === BEGIN manifest-editor.inc.css === */ + +/* Manifest Editor overrides */ + +.variables-view-container.manifest-editor { + background-color: #000000; + padding: 20px 13px; +} + +.manifest-editor .variable-or-property:focus > .title { +/* background-color: #EDEDED; + color: #000; */ + border-radius: 4px; +} + +.manifest-editor .variables-view-property > .title > .name { +/* color: #27406A; */ +} + +.manifest-editor .variable-or-property > .title > label { + font-family: monospace; +} + +.manifest-editor .variable-or-property > .title > .token-string { +/* color: #54BC6A; */ + font-weight: bold; +} + +.manifest-editor .variable-or-property > .title > .token-boolean, +.manifest-editor .variable-or-property > .title > .token-number { +/* color: #009BD4; */ + font-weight: bold; +} + +.manifest-editor .variable-or-property > .title > .token-undefined { +/* color: #bbb; */ +} + +.manifest-editor .variable-or-property > .title > .token-null { +/* color: #999; */ +} + +.manifest-editor .variable-or-property > .title > .token-other { +/* color: #333; */ +} + +.manifest-editor .variables-view-variable { + border-bottom: none; +} + +.manifest-editor .variables-view-delete, +.manifest-editor .variables-view-delete:hover, +.manifest-editor .variables-view-delete:active { + list-style-image: none; + -moz-image-region: initial; +} + +.manifest-editor .variables-view-delete::before { + width: 12px; + height: 12px; + content: ""; + display: inline-block; + background-image: url("app-manager/remove.svg"); + background-size: 12px auto; +} + +/* === END manifest-editor.inc.css === */