X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fwidgets.css;h=f66c5d3028457110cb4a1fb0190992e7602c309f;hb=13c3af49c9439e162a7de0c7113a4b4b76e3433d;hp=b5b8d06dd29f7edae6bc77487e15953539dd2d47;hpb=3a0880a969044096e60703908f84629b16830ee2;p=themes.git diff --git a/LCARStrek/browser/devtools/widgets.css b/LCARStrek/browser/devtools/widgets.css index b5b8d06d..f66c5d30 100644 --- a/LCARStrek/browser/devtools/widgets.css +++ b/LCARStrek/browser/devtools/widgets.css @@ -304,12 +304,28 @@ color: #FF9F00; } -.side-menu-widget-container[with-arrows=true]:-moz-locale-dir(ltr) { +/* SideMenuWidget container */ + +.side-menu-widget-container:-moz-locale-dir(ltr), +.side-menu-widget-empty-notice-container:-moz-locale-dir(ltr) { +} + +.side-menu-widget-container:-moz-locale-dir(rtl), +.side-menu-widget-empty-notice-container:-moz-locale-dir(rtl)[with-arrows=true]:-moz-locale-dir(rtl) { } -.side-menu-widget-container[with-arrows=true]:-moz-locale-dir(rtl) { +.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 { padding: 4px; @@ -317,10 +333,7 @@ color: #000000; } -.side-menu-widget-group-checkbox { - margin: 0; - padding: 0; -} +/* SideMenuWidget items */ .side-menu-widget-item { border-top: 1px solid #9C9CFF; @@ -352,6 +365,12 @@ background-position: center left, top left; } +/* SideMenuWidget items contents */ + +.side-menu-widget-item-contents { + padding: 2px; +} + .side-menu-widget-item-label { padding: 4px 0px; } @@ -361,11 +380,6 @@ width: 8px; } -.side-menu-widget-item-checkbox { - -moz-margin-start: 4px; - -moz-margin-end: -6px; -} - .side-menu-widget-item-other { background-color: #000000; margin: 0 -4px; @@ -385,6 +399,21 @@ color: #9C9CFF; } +/* SideMenuWidget checkboxes */ + +.side-menu-widget-group-checkbox { + margin: 0; + -moz-margin-end: 4px; +} + +.side-menu-widget-item-checkbox { + margin: 0; + -moz-margin-start: 4px; + -moz-margin-end: -4px; +} + +/* SideMenuWidget misc */ + .side-menu-widget-empty-notice-container { padding: 12px; @@ -395,10 +424,6 @@ /* VariablesView */ -.variables-view-container { - background: #000000; -} - .variables-view-empty-notice { color: #A09090; padding: 2px; @@ -409,11 +434,6 @@ color: #000000; } -.variables-view-scope:focus > .title { - background-color: #008484; - color: #000000; -} - .variables-view-scope > .variables-view-element-details:not(:empty) { -moz-margin-start: 2px; -moz-margin-end: 1px; @@ -422,26 +442,20 @@ /* Generic traits applied to both variables and properties */ .variable-or-property { - transition: background 1s ease-in-out; - color: #FF9F00; + transition: background 1s ease-in-out, color 1s ease-in-out; } .variable-or-property[changed] { - background: rgba(255, 207, 0, 0.3); - transition-duration: 0.4s; + color: #000000; + transition-duration: .4s; } .variable-or-property > .title > .value { + -moz-box-flex: 1; -moz-padding-start: 6px; -moz-padding-end: 4px; } -.variable-or-property:focus > .title { - background-color: #008484; - color: #000000; - border-radius: 5px; -} - .variable-or-property[editable] > .title > .value { cursor: text; } @@ -455,6 +469,9 @@ .variables-view-variable { -moz-margin-start: 1px; -moz-margin-end: 1px; +} + +.variables-view-variable:not(:last-child) { border-bottom: 1px solid #A09090; } @@ -462,45 +479,16 @@ font-weight: 600; } -.variables-view-variable:not(:focus) > .title > .name { - color: #FF9F00; -} - -.variables-view-property:not(:focus) > .title > .name { - color: #E7ADE7; -} - -/* Token value colors */ - -.variable-or-property:not(:focus) > .title > .token-undefined { - color: #8050B0; -} - -.variable-or-property:not(:focus) > .title > .token-null { - color: #008484; +.variable-or-property:focus > .title > label { + color: inherit !important; } -.variable-or-property:not(:focus) > .title > .token-boolean { - color: #FFCF00; -} - -.variable-or-property:not(:focus) > .title > .token-number { - color: #E7ADE7; -} - -.variable-or-property:not(:focus) > .title > .token-string { - color: #9C9CFF; -} - -.variable-or-property:not(:focus) > .title > .token-other { - color: #FF9F00; -} /* Custom configurable/enumerable/writable or frozen/sealed/extensible * variables and properties */ .variable-or-property[non-enumerable]:not([self]):not([exception]):not([return]):not([scope]) > .title > .name { - opacity: 0.5; + opacity: 0.6; } .variable-or-property[non-configurable] > .title > .name { @@ -511,6 +499,10 @@ border-bottom: 1px dashed #FF0000; } +.variable-or-property[safe-getter] > .title > .name { + border-bottom: 1px dashed #A09090; +} + .variable-or-property-non-writable-icon { background: url("chrome://browser/skin/identity-icons-https.png") no-repeat; width: 16px; @@ -537,22 +529,30 @@ color: #A09090; } -/* Special variables and properties */ +/* Aligned values */ -.variable-or-property[safe-getter] > .title > .name { - border-bottom: 1px dashed #A09090; +.variables-view-container[aligned-values] .title > .separator { + -moz-box-flex: 1; } -.variable-or-property[exception]:not(:focus) > .title > .name { - color: #FF0000; +.variables-view-container[aligned-values] .title > .value { + -moz-box-flex: 0; + width: 70vw; } -.variable-or-property[return]:not(:focus) > .title > .name { - color: #008484; +.variables-view-container[aligned-values] .title > .element-value-input { + width: calc(70vw - 10px); } -.variable-or-property[scope]:not(:focus) > .title > .name { - color: #9C9CFF; +/* Actions first */ + +.variables-view-container[actions-first] .variables-view-delete, +.variables-view-container[actions-first] .variables-view-add-property { + -moz-box-ordinal-group: 0; +} + +.variables-view-container[actions-first] [invisible] { + visibility: hidden; } /* Variables and properties tooltips */ @@ -590,14 +590,6 @@ -moz-image-region: rect(0, 48px, 16px, 32px); } -*:not(:hover) .variables-view-delete { - display: none; -} - -.variables-view-delete > .toolbarbutton-text { - display: none; -} - .variables-view-edit { background: url("chrome://browser/skin/devtools/vview-edit.png") center no-repeat; width: 20px; @@ -619,13 +611,13 @@ .element-name-input { -moz-margin-start: -2px !important; -moz-margin-end: 2px !important; - color: #E7ADE7; font-weight: 600; } .element-value-input, .element-name-input { border: 1px solid #008484 !important; + color: inherit; } /* Variables and properties searching */ @@ -644,7 +636,7 @@ .arrow { background: url("chrome://global/skin/tree/twisty-closed.gif") center center no-repeat; width: 9px; - height: 20px; + height: 16px; -moz-margin-start: 5px; -moz-margin-end: 5px; } @@ -654,7 +646,7 @@ } .arrow[open] { - background-image: url("chrome://global/skin/tree/twisty-open.png"); + background-image: url("chrome://global/skin/tree/twisty-open.gif"); } .variables-view-scope > .title > .arrow[open] { @@ -664,3 +656,84 @@ .arrow[invisible] { visibility: hidden; } + +/* === BEGIN manifest-editor.inc.css === */ + +/* Manifest Editor overrides */ + +.variables-view-container.manifest-editor { + background-color: #000000; + padding: 20px 2px; +} + +.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, +.manifest-editor textbox { + 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, +.manifest-editor .variables-view-add-property:hover, +.manifest-editor .variables-view-add-property:active { + list-style-image: none; + -moz-image-region: initial; +} + +.manifest-editor .variables-view-delete::before, +.manifest-editor .variables-view-add-property::before { + width: 11px; + height: 11px; + content: ""; + display: inline-block; + background-size: 11px auto; +} + +.manifest-editor .variables-view-delete::before { + background-image: url("app-manager/remove.svg"); + background-size: 12px auto; +} + +.manifest-editor .variables-view-add-property::before { + background-image: url("app-manager/add.svg"); + -moz-margin-end: 2px; +} + +/* === END manifest-editor.inc.css === */