From c4460289dd1725d56322647e95f117e93f1e8941 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 14 Jul 2013 20:07:28 +0200 Subject: [PATCH] finish sync of LCARStrek with Firefox 23 browser windows theme changes --- LCARStrek/browser/browser.css | 83 ++++++++++++++++++ LCARStrek/browser/devtools/netmonitor.css | 47 +++++++++- LCARStrek/browser/devtools/toolbox.css | 6 +- LCARStrek/browser/devtools/webconsole.css | 7 ++ LCARStrek/browser/devtools/widgets.css | 14 ++- .../browser/social/share-button-active.png | Bin 0 -> 201 bytes LCARStrek/browser/social/share-button.png | Bin 0 -> 201 bytes 7 files changed, 150 insertions(+), 7 deletions(-) create mode 100644 LCARStrek/browser/social/share-button-active.png create mode 100644 LCARStrek/browser/social/share-button.png diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index e123cdc2..027911cd 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -1600,6 +1600,89 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- -moz-image-region: rect(0, 32px, 16px, 16px); } +/* social share panel */ + +#social-share-panel > iframe { +/* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/ + width: 300px; + height: 150px; +} + +#social-share-button { + list-style-image: url("chrome://browser/skin/social/share-button.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.social-share-toolbar { + border-right: 1px solid #9C9CFF; +/* background-color: #000000; */ +} + +#social-share-provider-buttons { + padding: 6px; +} + +#social-share-provider-buttons > .share-provider-button { + -moz-appearance: none; + padding: 5px; + margin: 1px; + border: none; + background: none; + border-radius: 2px; +} + +#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]), +#social-share-provider-buttons > .share-provider-button:hover, +#social-share-provider-buttons > .share-provider-button:active { + padding: 4px; +} + +#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) { +} + +#social-share-provider-buttons > .share-provider-button > .toolbarbutton-text { + display: none; +} +#social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon { + width: 16px; + min-height: 16px; + max-height: 16px; +} + +/* fixup corners for share panel */ +.social-panel > .social-panel-frame { + border-radius: inherit; +} + +#social-share-panel { + max-height: 600px; + min-height: 100px; + max-width: 800px; + min-width: 300px; +} + +.social-share-frame { +/* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */ + width: 330px; + height: 150px; + border-top-left-radius: none; + border-bottom-left-radius: none; + border-top-right-radius: inherit; + border-bottom-right-radius: inherit; + /* we resize our panels dynamically, make it look nice */ + transition: height 100ms ease-out, width 100ms ease-out; +} + +#social-share-panel > .social-share-toolbar { + border-top-left-radius: inherit; + border-bottom-left-radius: inherit; +} + +#social-share-provider-buttons { + border-top-left-radius: inherit; + border-bottom-left-radius: inherit; +} + /* social recommending panel */ #social-mark-button { diff --git a/LCARStrek/browser/devtools/netmonitor.css b/LCARStrek/browser/devtools/netmonitor.css index 2e6ad813..9a8bbf13 100644 --- a/LCARStrek/browser/devtools/netmonitor.css +++ b/LCARStrek/browser/devtools/netmonitor.css @@ -171,7 +171,6 @@ window { -moz-padding-start: 4px; -moz-border-start: 1px dotted #000000; font-size: 90%; - text-align: left; pointer-events: none; } @@ -179,6 +178,14 @@ window { -moz-margin-start: -100px !important; /* Don't affect layout. */ } +.requests-menu-timings-division:-moz-locale-dir(ltr) { + transform-origin: left center; +} + +.requests-menu-timings-division:-moz-locale-dir(rtl) { + transform-origin: right center; +} + /* Network requests table: waterfall items */ .requests-menu-subitem.requests-menu-waterfall { @@ -189,15 +196,30 @@ window { margin-bottom: -1px; } -.requests-menu-timings { +.requests-menu-subitem.requests-menu-waterfall:-moz-locale-dir(rtl) { + background-position: right center; +} + +.requests-menu-timings:-moz-locale-dir(ltr) { + transform-origin: left center; +} + +.requests-menu-timings:-moz-locale-dir(rtl) { + transform-origin: right center; +} + +.requests-menu-timings-total:-moz-locale-dir(ltr) { transform-origin: left center; } +.requests-menu-timings-total:-moz-locale-dir(rtl) { + transform-origin: right center; +} + .requests-menu-timings-total { -moz-padding-start: 8px; font-size: 85%; font-weight: 600; - transform-origin: left center; } .requests-menu-timings-cap { @@ -208,16 +230,33 @@ window { .requests-menu-timings-cap.start { -moz-border-end: none; +} + +.requests-menu-timings-cap.end { + -moz-border-start: none; +} + +.requests-menu-timings-cap.start:-moz-locale-dir(ltr) { border-radius: 4px 0 0 4px; transform-origin: right center; } -.requests-menu-timings-cap.end { +.requests-menu-timings-cap.start:-moz-locale-dir(rtl) { -moz-border-start: none; border-radius: 0 4px 4px 0; transform-origin: left center; } +.requests-menu-timings-cap.end:-moz-locale-dir(ltr) { + border-radius: 0 4px 4px 0; + transform-origin: left center; +} + +.requests-menu-timings-cap.end:-moz-locale-dir(rtl) { + border-radius: 4px 0 0 4px; + transform-origin: right center; +} + .requests-menu-timings-box { height: 10px; border-top: 1px solid #FFCF00; diff --git a/LCARStrek/browser/devtools/toolbox.css b/LCARStrek/browser/devtools/toolbox.css index ffb857ed..fcdd6bc9 100644 --- a/LCARStrek/browser/devtools/toolbox.css +++ b/LCARStrek/browser/devtools/toolbox.css @@ -150,7 +150,11 @@ window { .devtools-tab > image { -moz-margin-end: 0px; -/* -moz-margin-start: 8px; */ +/* -moz-margin-start: 4px; */ +} + +#toolbox-tab-options > image { +/* margin: 0 8px; */ } .devtools-tab:hover > image { diff --git a/LCARStrek/browser/devtools/webconsole.css b/LCARStrek/browser/devtools/webconsole.css index be6686a6..b5216812 100644 --- a/LCARStrek/browser/devtools/webconsole.css +++ b/LCARStrek/browser/devtools/webconsole.css @@ -102,6 +102,13 @@ window { display: none; } +.hidden-message { + display: block; + visibility: hidden; + height: 0; + overflow: hidden; +} + /* WebConsole colored drops */ .webconsole-filter-button[checked] { diff --git a/LCARStrek/browser/devtools/widgets.css b/LCARStrek/browser/devtools/widgets.css index a7192d9f..199e106b 100644 --- a/LCARStrek/browser/devtools/widgets.css +++ b/LCARStrek/browser/devtools/widgets.css @@ -305,11 +305,13 @@ } .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-group[with-arrow=true]:-moz-locale-dir(ltr), +.side-menu-widget-item[with-arrow=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-group[with-arrow=true]:-moz-locale-dir(rtl), +.side-menu-widget-item[with-arrow=true]:-moz-locale-dir(rtl) { } .side-menu-widget-group-title { @@ -524,6 +526,10 @@ border-bottom: 1px dashed #FF0000; } +.variable-or-property[safe-getter] > .title > .name { + border-bottom: 1px dashed #A09090; +} + .variable-or-property[non-writable] > .title:after { content: " "; display: inline-block; @@ -556,6 +562,10 @@ text-decoration: line-through; } +.variable-or-property:not([safe-getter]) > tooltip > label[value=native-getter] { + display: none; +} + /* Variables and properties editing */ .variables-view-delete { diff --git a/LCARStrek/browser/social/share-button-active.png b/LCARStrek/browser/social/share-button-active.png new file mode 100644 index 0000000000000000000000000000000000000000..fafc714ee24e3942f8b10f1e9c1b07f0a3e5ae51 GIT binary patch literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^{6H+g#0(_2Se%^>q&Ne7LR=Xb(&xk|d4We{F#`j)FbFd;%$g$s6l5>)^mS#w%g!gL zB5=^a>^o4%($mE;gyVX0LIV@KLK=%;j)Ibqhd~+>=d}<8#a&k#8x3<-F*9e2Ob}od mq&Ne7LR=Xb(*K`l_&=Y4Yt!3M zpde#OkY6x^!?PP{AWo9Ey9+}HtE>k|d4We{F#`j)FbFd;%$g$s6l5>)^mS#w%g!gL zY_as0ga#&dg)|ny90esI4}&x&&TAnGio32fHX7!vVrI@3nIOO_ m$P?7ar?6F_RN-w;Kr(}OBu86dU7sz`5C%_IKbLh*2~7a8{V^l} literal 0 HcmV?d00001 -- 2.43.0