From 3bcb0be1c49d0eb6fc25c218570adebf59ffecd5 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Tue, 23 Dec 2008 23:24:12 +0100 Subject: [PATCH] EarlyBlue 2.0a1 -> 2.0a2 work, mozapps part --- EarlyBlue/mozapps/extensions/blocklist.css | 16 ++++ EarlyBlue/mozapps/extensions/extensions.css | 7 +- EarlyBlue/mozapps/plugins/missingPlugin.css | 22 ++++- EarlyBlue/mozapps/plugins/pluginBlocked.png | Bin 0 -> 267 bytes EarlyBlue/mozapps/plugins/pluginDisabled.png | Bin 0 -> 265 bytes EarlyBlue/mozapps/plugins/pluginGeneric.png | Bin 319 -> 237 bytes EarlyBlue/mozapps/update/updates.css | 91 ++++++++++++++----- EarlyBlue/mozapps/update/warning.gif | Bin 99 -> 0 bytes LCARStrek/mozapps/update/updates.css | 2 +- 9 files changed, 111 insertions(+), 27 deletions(-) create mode 100644 EarlyBlue/mozapps/extensions/blocklist.css create mode 100644 EarlyBlue/mozapps/plugins/pluginBlocked.png create mode 100644 EarlyBlue/mozapps/plugins/pluginDisabled.png delete mode 100644 EarlyBlue/mozapps/update/warning.gif diff --git a/EarlyBlue/mozapps/extensions/blocklist.css b/EarlyBlue/mozapps/extensions/blocklist.css new file mode 100644 index 00000000..3fb9cf88 --- /dev/null +++ b/EarlyBlue/mozapps/extensions/blocklist.css @@ -0,0 +1,16 @@ +richlistitem { + padding-top: 6px; + padding-bottom: 6px; + -moz-padding-start: 7px; + -moz-padding-end: 7px; + border-bottom: 1px solid #6666CC; +} + +.addonName { + font-weight: bold; +} + +.blockedLabel { + font-weight: bold; + font-style: italic; +} diff --git a/EarlyBlue/mozapps/extensions/extensions.css b/EarlyBlue/mozapps/extensions/extensions.css index d1e4c8db..512c6f1b 100644 --- a/EarlyBlue/mozapps/extensions/extensions.css +++ b/EarlyBlue/mozapps/extensions/extensions.css @@ -4,6 +4,7 @@ } #extensionsView { + -moz-appearance: none; border: 1px inset #CCD0DD; margin: 0; min-width: 245px; @@ -151,6 +152,7 @@ richlistitem[availableUpdateURL][updateable="true"] .updateAvailableBox, richlistitem[compatible="false"] .notifyBadge, richlistitem[providesUpdatesSecurely="false"] .notifyBadge, richlistitem[blocklisted="true"] .notifyBadge, +richlistitem[blocklistedsoft="true"] .notifyBadge, richlistitem[satisfiesDependencies="false"] .notifyBadge { display: -moz-box; } @@ -184,7 +186,10 @@ richlistitem[satisfiesDependencies="false"] .notifyBadge { richlistitem[compatible="true"] .incompatibleBox, richlistitem[providesUpdatesSecurely="true"] .insecureUpdateBox, richlistitem[satisfiesDependencies="true"] .needsDependenciesBox, -richlistitem[blocklisted="false"] .blocklistedBox, +richlistitem:not([blocklisted="true"]):not([blocklistedsoft="true"]) .blocklistedBox, +richlistitem[blocklistedsoft="false"]:not([selected="true"]) .blocklistedBox, +richlistitem[blocklisted="false"] .blocklistedLabel, +richlistitem[blocklistedsoft="false"] .softBlocklistedLabel, richlistitem[opType="needs-uninstall"] .blocklistedBox, richlistitem[opType="needs-uninstall"] .incompatibleBox, richlistitem[opType="needs-uninstall"] .needsDependenciesBox, diff --git a/EarlyBlue/mozapps/plugins/missingPlugin.css b/EarlyBlue/mozapps/plugins/missingPlugin.css index 1ed6ee3c..44c63d23 100644 --- a/EarlyBlue/mozapps/plugins/missingPlugin.css +++ b/EarlyBlue/mozapps/plugins/missingPlugin.css @@ -24,7 +24,7 @@ html|applet > *|* { height: inherit; } -html|a { +html|a, html|div { text-align: -moz-center; display: inline-block; /* overflow:hidden makes baseline vertical-alignment act like plugins */ @@ -40,8 +40,28 @@ html|a { color: #000000; } +vbox { + width: inherit; + height: inherit; + -moz-box-align: center; + -moz-box-pack: center; +} + #missingPluginPlaceholder { list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +} + +#disabledPluginPlaceholder { + list-style-image: url("chrome://mozapps/skin/plugins/pluginDisabled.png"); +} + +#blockedPluginPlaceholder { + list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked.png"); +} + +#missingPluginPlaceholder, +#disabledPluginPlaceholder, +#blockedPluginPlaceholder { display: block; border: 0px; width: 32px; diff --git a/EarlyBlue/mozapps/plugins/pluginBlocked.png b/EarlyBlue/mozapps/plugins/pluginBlocked.png new file mode 100644 index 0000000000000000000000000000000000000000..40ba32c2232127841232ae945147b2a0c867a6db GIT binary patch literal 267 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@#^NA%Cx&(BWL^R}JOMr-uDlFP zGiRRpf8fA>1_txb7k`2jl?3?(GdMiEkp|)Z6|>=CjO%m;W@Y9@I*m?UcmSTslk zA70khD6z(SbC_GB$VOM++1pB(Is~Q6OhsB1*@BE&Q_g59Fi5I!8L6{Gx@2Ab6(4Zy z|No4htN;J+Z!(Bm>z00Ci9x9%PfK)To^>Jv1OF~>`8kqr{s66I@O1TaS?83{1OPg* BO_Trt literal 0 HcmV?d00001 diff --git a/EarlyBlue/mozapps/plugins/pluginDisabled.png b/EarlyBlue/mozapps/plugins/pluginDisabled.png new file mode 100644 index 0000000000000000000000000000000000000000..a019c6e5b33b238aeee46c308c32de6b2269d8d7 GIT binary patch literal 265 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@#^NA%Cx&(BWL^R}JOMr-uDlFP zGiRP@XlO`Fo9T9qOC6-BB*-tA!Qt7BG!Q4r+uensgH_f8$l)yTh%9Dc;1&j9Muu5) zB!GhKC7!;n>^FGCg^exyJKe4Tg)%)|977~7Cnp?WkC2sMKESh5Gs)Y*Bw0hiqCq0~ z@Upf>i8bDv!`vE0HoE%G-d4iYAt+^LD$=UR7G%ttaz;ymK~jawNS!5;g**A{`mgI1 zl>UEnUi$5Sv(dHxPU4L#9bX*EG`drEh=E~ufrrG3&)=Q^EoJa@^>bP0l+XkKUBFFd literal 0 HcmV?d00001 diff --git a/EarlyBlue/mozapps/plugins/pluginGeneric.png b/EarlyBlue/mozapps/plugins/pluginGeneric.png index 6bda57c94afbcde44a6d3ffff940434ca7d7ca69..b92dc4f4cdf6329dccbe55f5208c31b3e7c88cf8 100644 GIT binary patch delta 138 zcmV;50CoSr0__2iHVq935Sf|G|Ns9SP5i2nLpXBS3>OnKD||3FoB#j-P)S5VR2b7^ zV891h9T)?^45=w%OF%SZC=fV+7*oThhJhHYOS4u+ffTVtO`EoK0*DbBHZ>H5AqG-2 s1!T-BAOIO83Nj}IS%jVpxb1`i0Cs~!^XVSd4gdfE07*qoM6N<$f=doAzW@LL delta 221 zcmV<303!eG0lxx}HVv%^5N2k~%+TF87%)bWLpXoe3knbs3j?nXssI20qDe$SR2b7u zkUI`SArM6e1C2d}3$Sn(Q@8*MAbHf$MztXY0_A&^a z3?k7&fzoLTxUJDJrBXI!EFDm3K2>Q%MHN1It5Rs1GW$MMS#5V&gX+Y95;PteP=oFv zAzVc`$U{UpbC3tVI&qKz2PwcRGKGP1Fu0|d6t2i`1tJ8HIpDPj9u><`I^=JA{QbxW X$@(!%Jc?!v00000NkvXXu0mjfAktL* diff --git a/EarlyBlue/mozapps/update/updates.css b/EarlyBlue/mozapps/update/updates.css index c93e89bd..930a76c5 100644 --- a/EarlyBlue/mozapps/update/updates.css +++ b/EarlyBlue/mozapps/update/updates.css @@ -1,10 +1,15 @@ /** * General */ -.wizard-button[dlgtype="finish"] { +.heed { font-weight: bold; } +.wizard-button > .button-box { + padding-left: 15px !important; + padding-right: 15px !important; +} + link { color: blue; border: 1px solid transparent; @@ -29,10 +34,7 @@ link:focus { border: 1px dotted black; } -/** - * License Page - */ -license { +remotecontent { margin-top: 1px; margin-bottom: 2px; -moz-margin-start: 6px; @@ -41,16 +43,19 @@ license { padding-bottom: 1px; } +/** + * License Page + */ .loadingBox { padding: 3px 5px 3px 5px; } -.licenseLoadingThrobber { +.remoteLoadingThrobber { margin-top: 3px; } -.licenseLoadingThrobber[state="loading"] { +.remoteLoadingThrobber[state="loading"] { list-style-image: url("chrome://global/skin/icons/loading.gif"); } -.licenseLoadingThrobber[state="error"] { +.remoteLoadingThrobber[state="error"] { list-style-image: url("chrome://global/skin/icons/notfound.png"); } @@ -61,15 +66,6 @@ license { margin: 1px 5px 4px 3px; } -wizard[currentpageid="updatesfound"] .wizard-button[dlgtype="next"] { - font-weight: bold; -} - -wizard[currentpageid="updatesfound"] .wizard-button[dlgtype="next"] > .button-box { - padding-left: 15px; - padding-right: 15px; -} - #updateForMoreInfo { margin-left: 5px; } @@ -95,28 +91,75 @@ wizard[currentpageid="updatesfound"] .wizard-button[dlgtype="next"] > .button-bo /** * Downloading Page */ -#downloadName { - margin-top: 3px; +#downloadStatusTop, #downloadStatusLine { + -moz-box-align: center; } #downloadStatus { - margin-top: 6px; height: 3em !important; } + #downloadThrobber { - margin: 5px 3px 0px 5px; + margin-left: 5px; list-style-image: url("chrome://global/skin/filepicker/blank.gif"); } + #downloadThrobber[state="loading"] { list-style-image: url("chrome://global/skin/icons/loading.gif"); } -#downloadStatusLine { - -moz-box-align: start; + +#downloadStatusProgress { + padding-right: 5px; +} + +#pauseButton { + -moz-appearance: none; + list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); + -moz-image-region: rect(0px, 48px, 16px, 32px); + background-color: transparent; + border: none; + padding: 0; + margin: 0; + min-width: 0; + min-height: 0; +} + +/* !Important must be used otherwise this won't immediately take affect */ +#pauseButton > .button-box { + padding: 0 !important; +} + +#pauseButton:hover { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} + +#pauseButton:active { + -moz-image-region: rect(32px, 48px, 48px, 32px); +} + +#pauseButton[disabled="true"] { + -moz-image-region: rect(48px, 48px, 64px, 32px); +} + +#pauseButton[paused="true"] { + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +#pauseButton[paused="true"]:hover { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} + +#pauseButton[paused="true"]:active { + -moz-image-region: rect(32px, 16px, 48px, 0px); +} + +#pauseButton[paused="true"][disabled="true"] { + -moz-image-region: rect(48px, 16px, 64px, 0px); } #verificationFailedIcon { + margin-left: 5px; list-style-image: url("chrome://global/skin/icons/notfound.png"); - margin: 5px 3px 0px 5px; } /** diff --git a/EarlyBlue/mozapps/update/warning.gif b/EarlyBlue/mozapps/update/warning.gif deleted file mode 100644 index 309543fcbfb382c40f623af5039f562abeb7eca8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 99 zcmZ?wbhEHb6krfwSjfzfmNqjj?acrG2mb&6ulSRNk%57kL5BedK=KSsCUfisPe>?* zCF}dKFWeJ)pM|l(JXFauRlTZYb?eIHZH+~2w}0@JKlHhLw~TAv#YG-k)0>$XtN~4O BBJ}_O diff --git a/LCARStrek/mozapps/update/updates.css b/LCARStrek/mozapps/update/updates.css index cc1b0a7b..f92636fa 100644 --- a/LCARStrek/mozapps/update/updates.css +++ b/LCARStrek/mozapps/update/updates.css @@ -115,7 +115,7 @@ remotecontent { #pauseButton { -moz-appearance: none; - list-style-image: url(chrome://mozapps/skin/downloads/downloadButtons.png); + list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); -moz-image-region: rect(0px, 48px, 16px, 32px); background-color: transparent; border: none; -- 2.35.3