From e2734cc744523d8adb0aa3d44644220b98d8201c Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Mon, 12 Aug 2013 07:40:03 +0200 Subject: [PATCH] sync LCARStrek with windows browser theme changes in Firefox 24 --- LCARStrek/browser/browser.css | 91 ++++++++++++++++++++-- LCARStrek/browser/devtools/arrows.png | Bin 235 -> 0 bytes LCARStrek/browser/devtools/netmonitor.css | 77 +++++++++++++++--- LCARStrek/browser/devtools/webconsole.css | 10 +++ LCARStrek/browser/devtools/webconsole.png | Bin 1386 -> 1706 bytes LCARStrek/browser/devtools/widgets.css | 45 +++++++---- LCARStrek/browser/social/chat-close.png | Bin 202 -> 0 bytes LCARStrek/browser/social/chat-icons.png | Bin 0 -> 357 bytes 8 files changed, 188 insertions(+), 35 deletions(-) delete mode 100644 LCARStrek/browser/devtools/arrows.png delete mode 100644 LCARStrek/browser/social/chat-close.png create mode 100644 LCARStrek/browser/social/chat-icons.png diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 5622edd8..a48dc027 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -395,6 +395,10 @@ menubar { height: 16px; } +#PlacesToolbarItems > .bookmark-item:not([image]):not([label=""]):not([container]) > .toolbarbutton-icon { + display: none; +} + /* Prevent [mode="icons"] from hiding the label */ .bookmark-item > .toolbarbutton-text { display: -moz-box !important; @@ -1667,24 +1671,44 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- /* 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 { +.social-share-frame:-moz-locale-dir(ltr) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + border-top-right-radius: inherit; + border-bottom-right-radius: inherit; +} + +.social-share-frame:-moz-locale-dir(rtl) { border-top-left-radius: inherit; border-bottom-left-radius: inherit; + border-top-right-radius: 0; + border-bottom-right-radius: 0; } -#social-share-provider-buttons { +#social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) { + border-top-left-radius: inherit; + border-bottom-left-radius: inherit; +} + +#social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) { + border-top-right-radius: inherit; + border-bottom-right-radius: inherit; +} + +#social-share-provider-buttons:-moz-locale-dir(ltr) { border-top-left-radius: inherit; border-bottom-left-radius: inherit; } +#social-share-provider-buttons:-moz-locale-dir(rtl) { + border-top-right-radius: inherit; + border-bottom-right-radius: inherit; +} + /* social recommending panel */ #social-mark-button { @@ -2223,7 +2247,8 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { .popup-notification-icon[popupid="indexedDB-permissions-prompt"], .popup-notification-icon[popupid="indexedDB-quota-prompt"], -.popup-notification-icon[popupid*="offline-app-requested"] { +.popup-notification-icon[popupid*="offline-app-requested"], +.popup-notification-icon[popupid="offline-app-usage"] { list-style-image: url("chrome://global/skin/icons/alert-question.gif"); } @@ -2284,14 +2309,17 @@ window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icon /* outline-offset: -3px; */ } +.default-notification-icon, #default-notification-icon { list-style-image: url("chrome://global/skin/icons/information-16.png"); } +.identity-notification-icon, #identity-notification-icon { list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); } +.geo-notification-icon, #geo-notification-icon { list-style-image: url("chrome://browser/skin/Geolocation-16.png"); } @@ -2300,6 +2328,7 @@ window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icon list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); } +.indexedDB-notification-icon, #indexedDB-notification-icon { list-style-image: url("chrome://global/skin/icons/question-16.png"); } @@ -2344,18 +2373,22 @@ window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icon } } +.mixed-content-blocked-notification-icon, #mixed-content-blocked-notification-icon { list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png"); } +.webRTC-shareDevices-notification-icon, #webRTC-shareDevices-notification-icon { list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png"); } +.webRTC-sharingDevices-notification-icon, #webRTC-sharingDevices-notification-icon { list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png"); } +.web-notifications-notification-icon, #web-notifications-notification-icon { list-style-image: url("chrome://browser/skin/notification-16.png"); } @@ -3067,7 +3100,7 @@ html|*#gcli-output-frame { } .chat-close-button { - list-style-image: url('chrome://browser/skin/social/chat-close.png'); + list-style-image: url('chrome://browser/skin/social/chat-icons.png'); -moz-image-region: rect(0, 14px, 14px, 0); } @@ -3076,6 +3109,36 @@ html|*#gcli-output-frame { -moz-image-region: rect(14px, 14px, 28px, 0); } +.chat-minimize-button { + list-style-image: url('chrome://browser/skin/social/chat-icons.png'); + -moz-image-region: rect(0, 28px, 14px, 14px); +} + +.chat-minimize-button:hover:active, +.chat-minimize-button:hover { + -moz-image-region: rect(14px, 28px, 28px, 14px); +} + +.chat-swap-button { + list-style-image: url('chrome://browser/skin/social/chat-icons.png'); + -moz-image-region: rect(0, 42px, 14px, 28px); +} + +.chat-swap-button:hover:active, +.chat-swap-button:hover { + -moz-image-region: rect(14px, 42px, 28px, 28px); +} + +chatbar > chatbox > .chat-titlebar > .chat-swap-button { + list-style-image: url('chrome://browser/skin/social/chat-icons.png'); + -moz-image-region: rect(0, 56px, 14px, 42px); +} + +chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active, +chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover { + -moz-image-region: rect(14px, 56px, 28px, 42px); +} + .chat-title { font-weight: bold; font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; @@ -3097,6 +3160,11 @@ html|*#gcli-output-frame { cursor: pointer; } +.chat-titlebar > .notification-anchor-icon { + margin-left: 2px; + margin-right: 2px; +} + .chat-titlebar[minimized="true"] { border-bottom: none; } @@ -3192,6 +3260,13 @@ chatbox[minimized="true"] { height: 20px; } +window > chatbox { + -moz-margin-start: 0px; + margin: 0px; + border: none; + padding: 0px; +} + .click-to-play-plugins-notification-content { margin: -10px; border-radius: 4px; diff --git a/LCARStrek/browser/devtools/arrows.png b/LCARStrek/browser/devtools/arrows.png deleted file mode 100644 index 83ec0cc0ef1d736f2b7e46628cd6132bda3d8f16..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 235 zcmeAS@N?(olHy`uVBq!ia0vp^20+Zg#0(@4xlXwPq!^2X+?^QKos)S9 .webconsole-msg-icon-container { -moz-border-start: solid #FF0000 6px; } @@ -295,3 +297,11 @@ webconsole-mixed-content { background-color: #FF0000; border-color: #FFCF00; } + +.webconsole-msg-security.webconsole-msg-error { + -moz-image-region: rect(32px, 16px, 40px, 8px); +} + +.webconsole-msg-security.webconsole-msg-warn { + -moz-image-region: rect(32px, 24px, 40px, 16px); +} diff --git a/LCARStrek/browser/devtools/webconsole.png b/LCARStrek/browser/devtools/webconsole.png index 9136cd90539520a5fd67b19201c7978989b04b6c..25cc9d7d6576e41ba5ff26785328556b23be1412 100644 GIT binary patch delta 1658 zcmV-=28H?R3aSl|7YZl{1^@s6xQBUhkuETQ-3SZ>6C>PH$rJzp1~*AWK~z}7#h71c z9M=`bf3ve%2(EFg)kw0GTD6iQa3MI9ikKL0v%-o@K?^0q;JjEAQY>sz>bwM-3W1?7 zQT`BP6G(Ai`m}{0L9E4LO;t)Dr6@rrBB8}iOJa-4@}JmRdH2qp(}%gUnpw}vGGupu zFC2FF-kI6^&H2vx?m5=)Pf~PtlC^CjLu**M&6PLaW9Z@($AFKL(rgj5^92Hpog2ZjL+Tn2s$oILhBIoC=6Ny~zY^6epX z762atCxCrsx7BG~-T$0u2CHGrh&f%f7Ty^VPd zR6Cij7ricz8!+0krS#&vrbs7b}s7^565&LUsjS z-9!hT0M5zb9awXB4*{d*_KY0fF<%3&F%%NJjR#_}t|ej*#6s-0KnJddbl`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tY)ciXJ4&F8rho%?LL8W{!GZCGp5rX^ z90wRXG7D9dVpGO%2P*zHA@KZy7C|VXivVJ7Z2;)8e^a|SPwN@EQFj532U|5(bm!n4 z7y~GjBJ1(^kqB@VNH2Z{^ggX72Xs!PgP9rpV>|qMkIspix(bj^1<#d`sM?Ntl7v%< z2V@`uoS~ZlOEk9kW$+k?^7%@RY-fcxb-#ClGLeNKOQPIkOiBe6H6~ zz=_s2JJtRi!fcNEzp{>U%QigPmjlT`g*z!C97qnTMR!uve;G{(4^e&$<<-z=2?UCS z@D6hx7&kHt{`5@uj_G`q^o-Ph8O3wJ-KudQ za1O-*^>^XuIp7PZb)u1n;(+(dU;{WHB}&TR{2PH-jq^Y(2M`9vTekpkzwbOc4yQ>ohQt&1U=kPvqzH^LL-xPNz~SyQ8B6%d#T1qoadVDrMuJ2d1>= ztx!&UtCv@@*(^Z7fwzIQZUcB3xD8y$WHMcuOr}fE-fi8{aB0y(Zv%ay_CDP>SE~Fef_Ml zo5XI7YYFLR@xC0$=ko(VPkVd&E(h}Ye87QoLF3HKQ~7*OkM2awY}6{Pz@(o2E6HHQ z_YiPk4it;UJvorcWc);#p8h|tRU~`W7!HK(WNFWz1z1{IVrglqngch32GcY#f6d6Q z_XbeV3&9oOAcyER{p=Z_kZ@gh*Yn{Tveth0Lc{(&s=&5wY}*e1*)T8ytN@hDWy .title > .name, -.variable-or-property[non-enumerable]:not([self]):not([exception]) > .title > .name { +.variable-or-property[non-enumerable]:not([self]):not([exception]):not([return]) > .title > .name { opacity: 0.5; } @@ -522,17 +522,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[safe-getter] > .title > .name { - border-bottom: 1px dashed #A09090; -} - -.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; @@ -540,16 +534,33 @@ } @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; + 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; +} + /* Variables and properties tooltips */ .variable-or-property > tooltip > label { @@ -558,12 +569,16 @@ .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:not([safe-getter]) > tooltip > label[value=native-getter] { - display: none; +.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 */ diff --git a/LCARStrek/browser/social/chat-close.png b/LCARStrek/browser/social/chat-close.png deleted file mode 100644 index 9061a4dabf78ffb6dbe1b5515333cd221a14f5d6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 202 zcmeAS@N?(olHy`uVBq!ia0vp^d_XM2#0(^LEYdCkDb4_&5LX6T*B_u-XtNIJ-+P<)k1 lVc}HFdgVmxG5@S(}GP_7PC%lc$SgNXEUlGZVR56$DyB@3rpw zuV{7Y+jG{XudQ~evVC?GNIP?F*5fFSmMJIxJKTOh_nX3|>3_4{t`zJj>$5%T>LYB| z*cS!}7oVLYq#gTe~DWM4fH4Bc( literal 0 HcmV?d00001 -- 2.43.0