From 50c0175b05c24e60d0d011ba693def8052f8c2b4 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 19 Jun 2011 00:26:46 +0200 Subject: [PATCH] make prefs work right for FF4 --- .../browser/preferences/Options-sync.png | Bin 0 -> 327 bytes LCARStrek/browser/preferences/Options.png | Bin 0 -> 1286 bytes LCARStrek/browser/preferences/alwaysAsk.png | Bin 0 -> 219 bytes LCARStrek/browser/preferences/application.png | Bin 0 -> 2842 bytes .../browser/preferences/applications.css | 108 ++++++++++ LCARStrek/browser/preferences/mail.png | Bin 0 -> 240 bytes LCARStrek/browser/preferences/preferences.css | 200 ++++++++++++++++++ LCARStrek/browser/preferences/saveFile.png | Bin 0 -> 202 bytes 8 files changed, 308 insertions(+) create mode 100644 LCARStrek/browser/preferences/Options-sync.png create mode 100644 LCARStrek/browser/preferences/Options.png create mode 100644 LCARStrek/browser/preferences/alwaysAsk.png create mode 100644 LCARStrek/browser/preferences/application.png create mode 100644 LCARStrek/browser/preferences/applications.css create mode 100644 LCARStrek/browser/preferences/mail.png create mode 100644 LCARStrek/browser/preferences/preferences.css create mode 100644 LCARStrek/browser/preferences/saveFile.png diff --git a/LCARStrek/browser/preferences/Options-sync.png b/LCARStrek/browser/preferences/Options-sync.png new file mode 100644 index 0000000000000000000000000000000000000000..1d774a496bd7c9862067c14e04f461ed1835c06a GIT binary patch literal 327 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@#^NA%Cx&(BWL^R}JOMr-u0Z<# zc_6{?e?G(X#4~k37Gp_}UoeBivm0q3PLj8~3quF1tOt<8S>O>_%)r1c48n{Iv*t(u z1=&kHeO=jaGYN}WYrf2zxD+U~+|$J|MB=jV1w+0=20W|*?u%wdat5t;>c6m*+t|B! z)|oR4C)F?Uo4cz(a@ib4MHzFgij$L*EdMFqS}obOFud}E^FxD$lP_1?5o8hj&{3tF z@K#n|KGW#IWZ#_%X2;e$Rvm7<6O$O+$YZP-wE94I)V1$rI`(tQbIx+_TrYrFH`Bg|8-%w>)4;#{*+CG5(Q>$+$E>u1z5Caw-pX}SL27U*OK MPgg&ebxsLQ07fEn8~^|S literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/preferences/Options.png b/LCARStrek/browser/preferences/Options.png new file mode 100644 index 0000000000000000000000000000000000000000..fbe3e22a95c1d84062097ed35d1354560a67366d GIT binary patch literal 1286 zcmeAS@N?(olHy`uVBq!ia0vp^4}jQ#g&9bGluxq(QjEnx?oJHr&dIz4azq1sLR>Go zx&oOE0UPGb`Tu`D!}GPz|DR`IJHaLgQe6_{7tG-B>_!@hljQC0!qCAg>jC6&7I;J! zGca%qgD@k*tT_@uLG}_)Usv|qY(k<^yrMj(Ss55uVm)0PLn02}o#E^M*g&97+QIU8 z$PXSFi{QvtGY@xJJ3W-iKluN@`kNm6LRUbacvfUO17_Jz~Mtb&PXXJ1)AkYME2= z1KG%b{?Z)(8(OoZOjv(7vexOkIyS7S{lWA8`mrDO$IULV&-SgG#MJHN?Ne85#G28! z+f-nkzzcz$9*ycuEskZ<40h@dN`*VlIsbp^vgUHqQ|CWNp3maHEY-mkUwP)k-V<6p z{_}hb+{s%VCIT{MxzaJO_{R`%<9=GoOEF*^=PNRHNAWLf7iwspOkmg`^uE zKCDgnw)!mB<*#Q?pV&M>(`EK9iOWV0Z0c1U&9wi_`q=8QtJ1t-al7Icrd7M;1nz4m z1b8$oww9IscWlo(U#Uy^A+E|y_a9tkv^!MMCAx+;+U`BOj+~W z%-*audvTg8J0bVdHhxxz)~BkwGNm;-gES59ebr4c<~MIpjFKq0+^+LcS6A=(Wu>d} zYuE1fNxbDP9{K2b)B7#EcxJ3(Wu26q6s~whTyettr5okS{O+AK=JhH3=l;Z5Zt1>9 z`7&R(?`mXOa@Fa=>MQL@j>g8DIGesb-!Jd=)n2-bfBEKOHM`%h_MN@0z;{$Rc-EPl zm41v_u?>leIklIouKFhI+48*MV<%SwSKrL);>w1xyb!fa$>t zm>!s!v%KNyVMS3#P<3d|@tjq%3hI^{mKWRzzkB%#>!aRVX%7My88A%d-p|Q0``Gep z4niU-SIk7DBnui?4}H7OaP4Z7%hEF6*3$YLY=`XGa&~!K5P2XiT465A%DCy9;#+?H z+y(q*bN{HYinY#~@h8jw_u<2Nye--+S}uM;4>}nRZ|Bb3&ZzK`KiZ*0?w7uL(p)iZ z`Dgzwv}f|VwDQ}e{fJw#F?pMv`V^5DznvEah})Yr@Hgyoy_d^!OkXkN+{VuiZ}^1+ znpHVJ%u`vk{l$kF$G2pwnlT(c4oV8=fJx!%-vi*JunL?M_NzKtY44d0O$yDRq_FG0 zt-`+W0}CcFuy3{3_|sb%JKJQ*{RdrcEOrN1Gar$bPh!nxj{KX|9BH_ja9P52|Wk}dDo1l4`Z zjy|o4TJkGQwg3PC literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/preferences/application.png b/LCARStrek/browser/preferences/application.png new file mode 100644 index 0000000000000000000000000000000000000000..aa002069a86e0835dc9e7336343d19fa4e0e3c68 GIT binary patch literal 2842 zcmV+#3+42QP)|D^_ww@lRz|vCuzLs)$;-`! zo*{AqUjza0dRV*yaMRE;fKCVhpQKsoe1Yhg01=zBIT!& zC1$=TK@rP|Ibo3vKKm@PqnO#LJhq6%Ij6Hz*<$V$@wQAMN5qJ)hzm2hoGcOF60t^# zFqJFfH{#e-4l@G)6iI9sa9D{VHW4w29}?su;^hF~NC{tY+*d5%WDCTXa!E_i;d2ub z1#}&jF5T4HnnCyEWTkKf0>c0%E1Ah>(_PY1)0w;+02c53Su*0<(nUqKG_|(0G&D0Z z{i;y^b@OjZ+}lNZ8Th$p5Uu}MTtq^NHl z*T1?CO*}7&0ztZsv2j*bmJyf3G7=Z`5B*PvzoDiKdLpOAxi2$L0#SX*@cY_n(^h55xYX z#km%V()bZjV~l{*bt*u9?FT3d5g^g~#a;iSZ@&02Abxq_DwB(I|L-^bXThc7C4-yr zInE_0gw7K3GZ**7&k~>k0Z0NWkO#^@9q0fwx1%qjZ=)yBuQ3=5 z4Wo^*!g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WC z8h`dn#xL(D3Z9UkR7|Q&Hcy#Notk!^zVUSB(}`#4&lYA1f0h2V_PNgUAAWQEt$#LR zcH#y9#i!p(Udq2b^lI6wp1FXzN3T;~FU%Lck$-deE#qz9yYP3D3t8{6?<+s(e(3(_ z^YOu_)K8!O1p}D#{E@&~+W-In5>QN3MdcU(oSgpvgoJ=lu;;Dk|DOQ5HE@Xl0004W zQchCzvV(yPVP{b# sB@jcz1gi*Cv62#q0oM*=z)gk$0LmN_be?f-MgRZ+07*qoM6N<$f)IL5Q~&?~ literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/preferences/applications.css b/LCARStrek/browser/preferences/applications.css new file mode 100644 index 00000000..7fbfbb12 --- /dev/null +++ b/LCARStrek/browser/preferences/applications.css @@ -0,0 +1,108 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is the Firefox Preferences System. + * + * The Initial Developer of the Original Code is Mozilla Foundation. + * Portions created by the Initial Developer are Copyright (C) 2005 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Florian Queze + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/** + * Line up the actions menu with action labels above and below it. + * Equalize the distance from the left side of the action box to the left side + * of the icon for both the menu and the non-menu versions of the action box. + * Also make sure the labels are the same distance away from the icons. + */ +.actionsMenu { + margin: 0; +} + +.typeIcon, +.actionIcon { + -moz-margin-start: 3px; + -moz-margin-end: 3px; +} + +richlistitem > hbox > hbox > label { + -moz-margin-start: 1px; + margin-top: 2px; +} + +richlistitem { + min-height: 22px; +} + +richlistitem[appHandlerIcon="app"], +menuitem[appHandlerIcon="app"] { + list-style-image: url("chrome://browser/skin/preferences/application.png"); +} + +richlistitem[appHandlerIcon="ask"], +menuitem[appHandlerIcon="ask"] { + list-style-image: url("chrome://browser/skin/preferences/alwaysAsk.png"); +} + +richlistitem[appHandlerIcon="save"], +menuitem[appHandlerIcon="save"] { + list-style-image: url("chrome://browser/skin/preferences/saveFile.png"); +} + +richlistitem[appHandlerIcon="feed"], +menuitem[appHandlerIcon="feed"] { + list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); +} + +richlistitem[appHandlerIcon="plugin"], +menuitem[appHandlerIcon="plugin"] { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); +} + +.actionsMenu > .menulist-label-box { + padding: 1px; + -moz-padding-start: 0; +} + +.actionsMenu > .menulist-label-box > .menulist-icon { + margin: 0 2px; + height: 16px; + width: 16px; +} + +.actionsMenu > .menulist-label-box > .menulist-label { + margin: 3px 2px 1px !important; +} + +menuitem { + -moz-padding-start: 2px; +} + +.menu-iconic-left { + -moz-margin-end: 4px !important; +} diff --git a/LCARStrek/browser/preferences/mail.png b/LCARStrek/browser/preferences/mail.png new file mode 100644 index 0000000000000000000000000000000000000000..eb89cb5f0e9d436643f5da7ec0d289822236c157 GIT binary patch literal 240 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!93?!50ihlx9jKx9jP7LeL$-D$|cmjMvTrbU! z12P)|HvB)&u&~@U6Qrml$S;_|;n|He5GTpo-G!lpRn`N@;VkfoEM{Qf76xHPhFNnY zfP(BLp1!W^x7mb5_1VK;JXi}93h;Ds4B@ygdT=*qgMmofMgBLkCyr_AX&Sd#{}oJ1 ze=YPd%*x@HiQ|VtzBA?l!aSD_YUKJ{@|r3Xdn)Eq-}84<#F&@1G|aYKe$&ag+eW@l Zf03_B(>;#N7eKQaJYD@<);T3K0RRQeNXY;I literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/preferences/preferences.css b/LCARStrek/browser/preferences/preferences.css new file mode 100644 index 00000000..53673daf --- /dev/null +++ b/LCARStrek/browser/preferences/preferences.css @@ -0,0 +1,200 @@ +/* +# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is the Firefox Preferences System. +# +# The Initial Developer of the Original Code is +# Ben Goodger. +# Portions created by the Initial Developer are Copyright (C) 2005 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# Ben Goodger +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** +*/ + +/* Global Styles */ +#BrowserPreferences radio[pane] { + list-style-image: url("chrome://browser/skin/preferences/Options.png"); + padding: 5px 3px 1px; +} + +radio[pane=paneMain] { + -moz-image-region: rect(0, 32px, 32px, 0); +} + +radio[pane=paneMain]:not([selected="true"]):hover { + -moz-image-region: rect(32px, 32px, 64px, 0); +} + +radio[pane=paneTabs] { + -moz-image-region: rect(0, 64px, 32px, 32px); +} + +radio[pane=paneTabs]:not([selected="true"]):hover { + -moz-image-region: rect(32px, 64px, 64px, 32px); +} + +radio[pane=paneContent] { + -moz-image-region: rect(0, 96px, 32px, 64px); +} + +radio[pane=paneContent]:not([selected="true"]):hover { + -moz-image-region: rect(32px, 96px, 64px, 64px); +} + +radio[pane=paneApplications] { + -moz-image-region: rect(0, 128px, 32px, 96px); +} + +radio[pane=paneApplications]:not([selected="true"]):hover { + -moz-image-region: rect(32px, 128px, 64px, 96px); +} + +radio[pane=panePrivacy] { + -moz-image-region: rect(0, 160px, 32px, 128px); +} + +radio[pane=panePrivacy]:not([selected="true"]):hover { + -moz-image-region: rect(32px, 160px, 64px, 128px); +} + +radio[pane=paneSecurity] { + -moz-image-region: rect(0, 192px, 32px, 160px); +} + +radio[pane=paneSecurity]:not([selected="true"]):hover { + -moz-image-region: rect(32px, 192px, 64px, 160px); +} + +radio[pane=paneAdvanced] { + -moz-image-region: rect(0, 224px, 32px, 192px); +} + +radio[pane=paneAdvanced]:not([selected="true"]):hover { + -moz-image-region: rect(32px, 224px, 64px, 192px); +} + +radio[pane=paneSync] { + list-style-image: url("chrome://browser/skin/preferences/Options-sync.png") !important; +} + +/* Applications Pane */ +#BrowserPreferences[animated="true"] #handlersView { + height: 25em; +} + +#BrowserPreferences[animated="false"] #handlersView { + -moz-box-flex: 1; +} + +/* Privacy Pane */ + +/* styles for the link elements copied from .text-link in global.css */ +.inline-link { + color: blue; + text-decoration: underline; + cursor: pointer; +} + +.inline-link:-moz-focusring { + /* Don't specify the outline-color, we should always use initial value. */ + outline: 1px dotted; +} + +/* Modeless Window Dialogs */ +.windowDialog, +.windowDialog prefpane { + padding: 0; +} + +.contentPane { + margin: 9px 8px 5px; +} + +.actionButtons { + margin: 0 3px 6px !important; +} + +/* Cookies Manager */ +#cookiesChildren::-moz-tree-image(domainCol) { + width: 16px; + height: 16px; + margin: 0 2px; + list-style-image: url("chrome://global/skin/filepicker/file.gif"); +} + +#cookiesChildren::-moz-tree-image(domainCol, container) { + list-style-image: url("chrome://global/skin/filepicker/dir-closed.gif"); +} + +#cookiesChildren::-moz-tree-image(domainCol, container, open) { + list-style-image: url("chrome://global/skin/filepicker/dir-open.gif"); +} + +#cookieInfoBox { + border: 1px solid #9C9CFF; + border-radius: 3px; +} + +/* Advanced Pane */ + +/* Adding padding-bottom prevents the bottom of the tabpanel from being cutoff + when browser.preferences.animateFadeIn = true */ +#advancedPrefs { + padding-bottom: 8px; +} + +/* bottom-most box containing a groupbox in a prefpane. Prevents the bottom + of the groupbox from being cutoff */ +.bottomBox { + padding-bottom: 4px; +} + +/* Sync Pane */ + +#syncDesc { + padding: 0 12em; +} + +.syncGroupBox { + padding: 10px; +} + +#accountCaptionImage { + list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); +} + +#syncAddDeviceLabel { + margin-top: 1em; + margin-bottom: 1em; + } + +#syncEnginesList { + height: 11em; +} diff --git a/LCARStrek/browser/preferences/saveFile.png b/LCARStrek/browser/preferences/saveFile.png new file mode 100644 index 0000000000000000000000000000000000000000..b5e3fbaaa4a796e29aae11b8182a8b0ee8c471d2 GIT binary patch literal 202 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!93?!50ihlx9jKx9jP7LeL$-D$|I0Jk_TrYA6 z%$f85{~U(z@)sU~RFnky1v5B2yO9RsBze2LFm$lWdVrJ{ctjR6FmMZlFeAgPITAoY z_7YEDSN0oR{Nifjm3;jmt8_hG978y+Cnqp4Ub}FCfvs_kk64P5iHL`R!GVZK?M9a@ k6*X>`j<&Y8245zId$v3?rh4u_4AjWr>FVdQ&MBb@0PAKnHvj+t literal 0 HcmV?d00001 -- 2.43.0