From 6f25e2c5383cb0b5949588452e43a5093f98c658 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 25 Jan 2009 16:55:14 +0100 Subject: [PATCH] update EarlyBlue and LCARStrek to 1.9.1 toolkit changes up to 2009-01-25 --- EarlyBlue/global/filefield.css | 70 +++++++++++++++++ EarlyBlue/global/media/muteButton.png | Bin 0 -> 237 bytes EarlyBlue/global/media/pauseButton.png | Bin 0 -> 209 bytes EarlyBlue/global/media/playButton.png | Bin 0 -> 227 bytes EarlyBlue/global/media/unmuteButton.png | Bin 0 -> 228 bytes EarlyBlue/global/media/videocontrols.css | 34 +++++---- EarlyBlue/global/media/videocontrols.png | Bin 255 -> 0 bytes .../mozapps/profile/profileSelection.css | 5 ++ LCARStrek/global/filefield.css | 71 ++++++++++++++++++ LCARStrek/global/media/muteButton-hover.png | Bin 0 -> 237 bytes LCARStrek/global/media/muteButton.png | Bin 0 -> 237 bytes LCARStrek/global/media/pauseButton-hover.png | Bin 0 -> 209 bytes LCARStrek/global/media/pauseButton.png | Bin 0 -> 209 bytes LCARStrek/global/media/playButton-hover.png | Bin 0 -> 227 bytes LCARStrek/global/media/playButton.png | Bin 0 -> 227 bytes LCARStrek/global/media/unmuteButton-hover.png | Bin 0 -> 228 bytes LCARStrek/global/media/unmuteButton.png | Bin 0 -> 228 bytes LCARStrek/global/media/videocontrols.css | 46 ++++++++---- LCARStrek/global/media/videocontrols.png | Bin 255 -> 0 bytes .../mozapps/profile/profileSelection.css | 5 ++ 20 files changed, 203 insertions(+), 28 deletions(-) create mode 100644 EarlyBlue/global/filefield.css create mode 100644 EarlyBlue/global/media/muteButton.png create mode 100644 EarlyBlue/global/media/pauseButton.png create mode 100644 EarlyBlue/global/media/playButton.png create mode 100644 EarlyBlue/global/media/unmuteButton.png delete mode 100644 EarlyBlue/global/media/videocontrols.png create mode 100644 LCARStrek/global/filefield.css create mode 100644 LCARStrek/global/media/muteButton-hover.png create mode 100644 LCARStrek/global/media/muteButton.png create mode 100644 LCARStrek/global/media/pauseButton-hover.png create mode 100644 LCARStrek/global/media/pauseButton.png create mode 100644 LCARStrek/global/media/playButton-hover.png create mode 100644 LCARStrek/global/media/playButton.png create mode 100644 LCARStrek/global/media/unmuteButton-hover.png create mode 100644 LCARStrek/global/media/unmuteButton.png delete mode 100644 LCARStrek/global/media/videocontrols.png diff --git a/EarlyBlue/global/filefield.css b/EarlyBlue/global/filefield.css new file mode 100644 index 00000000..b717ca82 --- /dev/null +++ b/EarlyBlue/global/filefield.css @@ -0,0 +1,70 @@ +/* +# -*- 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 ***** +*/ + +/* File Field Widget */ +filefield { + margin: 2px 3px; + border: 1px inset #CCD0DD; + color: #000000; + min-height: 19px; +} + +.fileFieldContentBox { + background-color: #CCCCCC; +} + +.fileFieldIcon[disabled="true"] { + opacity: 0.4; +} + +.fileFieldIcon { + width: 16px; + height: 16px; + margin-top: 1px; + margin-bottom: 1px; + -moz-margin-start: 1px; + -moz-margin-end: 4px; +} + +.fileFieldLabel { + background-color: transparent; + border: none; + margin: 0px; +} diff --git a/EarlyBlue/global/media/muteButton.png b/EarlyBlue/global/media/muteButton.png new file mode 100644 index 0000000000000000000000000000000000000000..082ebba032363c16b7c2413702eaca0596cb6e33 GIT binary patch literal 237 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaT3?y&uT)!JgF%}28J29*~C-V}>VGHmHaov7` z<^TWxUj#d1LDD5be!&b5&u*lFI7!~_E({&4vK~MVXMsm#F#`j)FbFd;%$fr-n!Uu+ z*OmPyqa?qc=IUC8`9LAb64!_l=ltB<)VvY~=c3falGGH1^30M91$R&1fbd2>aiAhS zPZ!4!j_b(@4(u`xI*doA@$&FYWtWhsvq^aHKak-FTgDCs9riHhAZ^C0-CPVWX7JDd T?Rx7HP$z?@tDnm{r-UW|bp1de literal 0 HcmV?d00001 diff --git a/EarlyBlue/global/media/pauseButton.png b/EarlyBlue/global/media/pauseButton.png new file mode 100644 index 0000000000000000000000000000000000000000..5d3bd664da434ca8fb00cb23ebe4342f41f896c0 GIT binary patch literal 209 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaT3?y&uT)!JgF%}28J29*~C-V}>VGHmHaot{U z@&Et-M|GN%LDD5be!&b5&u*lFI7!~_E({&4vK~MVXMsm#F#`j)FbFd;%$fr-n!Uu+ z*OmPyqa?qo(V;g2JAguxC9V-A&iT2ysd*&~&PAz-C8;S2<(VZJ3hti10pX2&;y^`0 qo-U3d9M_W*4lqjan@?ydWMH`5#c#-~{^2xGmci52&t;ucLK6T_?KdX? literal 0 HcmV?d00001 diff --git a/EarlyBlue/global/media/playButton.png b/EarlyBlue/global/media/playButton.png new file mode 100644 index 0000000000000000000000000000000000000000..3ecb4fe4c47f74a4dd4ace6bb77654d748781fa5 GIT binary patch literal 227 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaT3?y&uT)!JgF%}28J29*~C-V}>VGHmHaov8R z>Hq)#Hp+>+K++{ae!&b5&u*lFI7!~_E({&4vK~MVXMsm#F#`j)FbFd;%$fr-n!Uu+ z*OmPyqa>fYWbBfMzCa<#64!_l=ltB<)VvY~=c3falGGH1^30M91$R&1fbd2>aiAg< zPZ!4!j_b(@2UukqEEqeu8+I^tWH;>K>&jk`#2R4AXW`4p@KJ%4mDzOCJD_?7Pgg&e IbxsLQ07XeW9{>OV literal 0 HcmV?d00001 diff --git a/EarlyBlue/global/media/unmuteButton.png b/EarlyBlue/global/media/unmuteButton.png new file mode 100644 index 0000000000000000000000000000000000000000..a2b1a337324bf983acb0fc273df1155c0036018a GIT binary patch literal 228 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaT3?y&uT)!JgF%}28J29*~C-V}>VGHmHaot|< z@c;k+rtDQsAnB4IzhDN3XE)M7oFs2|7lsa2Sq~tGv%n*=n1O*?7=#%aX3YT^&0gZ^ z>&kwUQIcQZ;>I;W9iWh8iEBiObAE1aYF-J0b5UwyNotBhd1gt5g1e`0KzJjcI8c$Q zr;B3<$Mxg{2X+|;9mXSK4l#^J>?I_A6ediNiRfhw;b(8lWVpPNbGOTEjdY*}22WQ% Jmvv4FO#n7CJRtx8 literal 0 HcmV?d00001 diff --git a/EarlyBlue/global/media/videocontrols.css b/EarlyBlue/global/media/videocontrols.css index 8875edec..23cd9ff9 100644 --- a/EarlyBlue/global/media/videocontrols.css +++ b/EarlyBlue/global/media/videocontrols.css @@ -1,23 +1,29 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -#controlsBackground { - height: 24px; - background-color: #666699; +.controlBar { + height: 24px; + background-color: rgba(102,102,153,0.75); } -#playButton { - list-style-image: url("chrome://global/skin/media/videocontrols.png"); - -moz-image-region: rect(0px, 48px, 24px, 24px); -} -#playButton[paused="true"] { - -moz-image-region: rect(0px, 24px, 24px, 0px); +.playButton, .muteButton { + /* Remove the usual button appearance and styling */ + margin: 0px; + padding: 0px; + border: none; + min-height: 24px; + min-width: 24px; } -#muteButton{ - list-style-image: url("chrome://global/skin/media/videocontrols.png"); - -moz-image-region: rect(24px, 24px, 48px, 0px); +.playButton { + background: url("chrome://global/skin/media/pauseButton.png") no-repeat center; } -#muteButton[muted="true"] { - -moz-image-region: rect(24px, 48px, 48px, 24px); +.playButton[paused="true"] { + background: url("chrome://global/skin/media/playButton.png") no-repeat center; } +.muteButton { + background: url("chrome://global/skin/media/muteButton.png") no-repeat center; +} +.muteButton[muted="true"] { + background: url("chrome://global/skin/media/unmuteButton.png") no-repeat center; +} diff --git a/EarlyBlue/global/media/videocontrols.png b/EarlyBlue/global/media/videocontrols.png deleted file mode 100644 index 02046b0e8dc86559da0d6adfbc4fc64fbbec9991..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 255 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDD3?#L31Vw-pV{wqX6T`Z5GB1G~&H$ef*99CM z4Gj(d|Nr;RdXNuNQ4-`A%;50sMjD8d7-(2#E_Uc*36!6iV`RaSYKopPaD3D1c#dln=MV6gDGw?$*l^eA-)UIT>!hlzEwVK0XX+8-u5-pUXO@geCx8NJ%dM diff --git a/EarlyBlue/mozapps/profile/profileSelection.css b/EarlyBlue/mozapps/profile/profileSelection.css index 0016db7c..3086d59f 100644 --- a/EarlyBlue/mozapps/profile/profileSelection.css +++ b/EarlyBlue/mozapps/profile/profileSelection.css @@ -43,6 +43,11 @@ list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); } +#profiles > listitem > listcell > image { + width: 16px; + height: 16px; +} + box#managebuttons > button { min-width: 8em; } diff --git a/LCARStrek/global/filefield.css b/LCARStrek/global/filefield.css new file mode 100644 index 00000000..ffe141c8 --- /dev/null +++ b/LCARStrek/global/filefield.css @@ -0,0 +1,71 @@ +/* +# -*- 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 ***** +*/ + +/* File Field Widget */ +filefield { + -moz-border-radius: 3px; + margin: 2px 3px; + border: 1px solid #8050B0; + color: #8050B0; + min-height: 19px; +} + +.fileFieldContentBox { + background-color: #000000; +} + +.fileFieldIcon[disabled="true"] { + opacity: 0.4; +} + +.fileFieldIcon { + width: 16px; + height: 16px; + margin-top: 1px; + margin-bottom: 1px; + -moz-margin-start: 1px; + -moz-margin-end: 4px; +} + +.fileFieldLabel { + background-color: transparent; + border: none; + margin: 0px; +} diff --git a/LCARStrek/global/media/muteButton-hover.png b/LCARStrek/global/media/muteButton-hover.png new file mode 100644 index 0000000000000000000000000000000000000000..3e7bf84a8ff2b24f724ee6aac25394f1403b90e0 GIT binary patch literal 237 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaT3?y&uT)!JgF%}28J29*~C-V}>VGHmHaox_a z5XcO#f06`}E(!7rW^j0RBMrn!@^*J&=wOxg0CG4BJR*x37`TN&n2}-D9FWoMC7!;n z>^B)D`HeXwDr)Wmg(OQ{BTAg}b8}PkN*J7rQWHy3QxwWGOEMJPJ$(bh8~Mb6iu62P z978y+Cnq?t%Q)yT9+}3=!!wm#LZZ$l;lckvh9hhlI~a7>!VGHmHaot|g z^#44=y#*UCfTT-;{DK)Ap4~_Tagw~wc6x=<11Hv2m#DR+R zJY5_^IIbrrIIzn&=rA6c#>>Mqm0d!j&L-i(|3HQ#Y#BQkblAg~gR~j1c5^Yjn882) Tx9hD-K%ESpu6{1-oD!MVGHmHaowI^ z3uIc}K5Gn;E(!7rW^j0RBMrn!@^*J&=wOxg0CG4BJR*x37`TN&n2}-D9FWoMC7!;n z>^B)D`Hj_%tSb}(3Q3l@MwB?`=jNv7l`uFLr6!i7rYMwWmSiZnd-?{1H}Z)C6$yE| oIEHXsPfj?%D8X+&p{0<4;c^$hA+P#}(?D4UPgg&ebxsLQ07|kmg#Z8m literal 0 HcmV?d00001 diff --git a/LCARStrek/global/media/pauseButton.png b/LCARStrek/global/media/pauseButton.png new file mode 100644 index 0000000000000000000000000000000000000000..d41bd69072b3dd2333ed91ca03bdcd64d9652570 GIT binary patch literal 209 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaT3?y&uT)!JgF%}28J29*~C-V}>VGHmHaov8w z>Hm3#7rVL|LDD5be!&b5&u*lFI7!~_E({&4vK~MVXMsm#F#`j)FbFd;%$fr-n!Uu+ z*OmPyqa?qPeA9*#(Lf=|64!_l=ltB<)VvY~=c3falGGH1^30M91$R&1fbd2>aiAh0 qPZ!4!j_b(@2N)&z%_p=JGB8~3;y2_~|8N>8%i!ti=d#Wzp$PyMY&N+7 literal 0 HcmV?d00001 diff --git a/LCARStrek/global/media/playButton-hover.png b/LCARStrek/global/media/playButton-hover.png new file mode 100644 index 0000000000000000000000000000000000000000..112a21467f53ec9dc758e5cbebff04a27f15408c GIT binary patch literal 227 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaT3?y&uT)!JgF%}28J29*~C-V}>VGHmHaow(= z3lewiQ~^;XL4Lsu4$p3+fjCLt?k)@+tg;?J4rhT!WHAE+w=f7ZGR&F-GMc@_)7O># zCZi<3u?*9q6$^kuk|nMYCC>S|xv6<249-QVi6yBi3gww484B*6z5(HleBwYwDxNNm zAsp9}6ArM-G*~cpa5wB=>d0=`!Pk|&Ac-}=l+VJKk>R5PD=V|VGHmHaos*c z@Bev*k0&o~0!fzy`2{mLJiCzw;v{*yyD)UH%6b4foCO|{#S9GG!XV7ZFl!FTX!a6M zUsv{aiAg< zPZ!4!j_b(@2UukqEEqeu8+I^tWH;>K>&jk`#2R4AXW`4p@KJ%4mDzOCJD_?7Pgg&e IbxsLQ01Em$ivR!s literal 0 HcmV?d00001 diff --git a/LCARStrek/global/media/unmuteButton-hover.png b/LCARStrek/global/media/unmuteButton-hover.png new file mode 100644 index 0000000000000000000000000000000000000000..4e0da1fad220e0ba16d7c98fa42f2d2fa2464db3 GIT binary patch literal 228 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaT3?y&uT)!JgF%}28J29*~C-V}>VGHmHaot`a z3}k99J6Q{oE(!7rW^j0RBMrn!@^*J&=wOxg0CG4BJR*x37`TCoxrG@SX3YT^&0gZ^ z>&kwUQIg+Sgr`zr5>QC8#5JPCIX^cyHLrxhxhOTUBsE2$JhLQ2!QIn0AiR-J9H>au z)5S4_<9c#}1G|ia4&xCqhZx2q_7W053KJ&CMD((T@UypNGF)ECx!Yy7MmkUfgQu&X J%Q~loCIIhOIA;I= literal 0 HcmV?d00001 diff --git a/LCARStrek/global/media/unmuteButton.png b/LCARStrek/global/media/unmuteButton.png new file mode 100644 index 0000000000000000000000000000000000000000..5d5c9e0f607606cbb666f95f3186c51824d157d4 GIT binary patch literal 228 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaT3?y&uT)!JgF%}28J29*~C-V}>VGHmHaoxV5 z;s1GtwP$WSf}~4={DK)Ap4~_Tagw~aiAhq zPZ!4!j_b(@4(u`xI*doe9AX%c*h@(KC`_0j6Vb~W!q488$#8ik=WdtT8tFg{44$rj JF6*2Ung9Y>JDmUk literal 0 HcmV?d00001 diff --git a/LCARStrek/global/media/videocontrols.css b/LCARStrek/global/media/videocontrols.css index 9df4ecc4..9080d092 100644 --- a/LCARStrek/global/media/videocontrols.css +++ b/LCARStrek/global/media/videocontrols.css @@ -1,23 +1,41 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -#controlsBackground { - height: 24px; - background-color: #9C9CFF; +.controlBar { + height: 24px; + background-color: rgba(156,156,255,0.75); } -#playButton { - list-style-image: url("chrome://global/skin/media/videocontrols.png"); - -moz-image-region: rect(0px, 48px, 24px, 24px); -} -#playButton[paused="true"] { - -moz-image-region: rect(0px, 24px, 24px, 0px); +.playButton, .muteButton { + /* Remove the usual button appearance and styling */ + margin: 0px; + padding: 0px; + border: none; + min-height: 24px; + min-width: 24px; } -#muteButton{ - list-style-image: url("chrome://global/skin/media/videocontrols.png"); - -moz-image-region: rect(24px, 24px, 48px, 0px); +.playButton { + background: url("chrome://global/skin/media/pauseButton.png") no-repeat center; +} +.playButton:hover { + background: url("chrome://global/skin/media/pauseButton-hover.png") no-repeat center; } -#muteButton[muted="true"] { - -moz-image-region: rect(24px, 48px, 48px, 24px); +.playButton[paused="true"] { + background: url("chrome://global/skin/media/playButton.png") no-repeat center; +} +.playButton[paused="true"]:hover { + background: url("chrome://global/skin/media/playButton-hover.png") no-repeat center; } +.muteButton { + background: url("chrome://global/skin/media/muteButton.png") no-repeat center; +} +.muteButton:hover { + background: url("chrome://global/skin/media/muteButton-hover.png") no-repeat center; +} +.muteButton[muted="true"] { + background: url("chrome://global/skin/media/unmuteButton.png") no-repeat center; +} +.muteButton[muted="true"]:hover { + background: url("chrome://global/skin/media/unmuteButton-hover.png") no-repeat center; +} diff --git a/LCARStrek/global/media/videocontrols.png b/LCARStrek/global/media/videocontrols.png deleted file mode 100644 index 0397d5db6c052957044191751d27b9ad63433ef8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 255 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDD3?#L31Vw-pV{wqX6T`Z5GB1G~&H$ef*O}WH z8Ui-_KhN;Ncf~)Dijp9|UYh7ML)50LT#kH}&M25w;xW@MN(M*=9w zUgGKN%6@}OL`Z_uS$uZ}P$tx* zmNQ!Dx)z>Wz~+-MN$}7^rpb#0_>Pn>OenglwV+?Z`Jl|Q(A5?a5)q0rdIs(y-0ZHB mU5qQ-7DsUv@@a3auPZ492SelF{r5}E+@en@%% diff --git a/LCARStrek/mozapps/profile/profileSelection.css b/LCARStrek/mozapps/profile/profileSelection.css index 0016db7c..3086d59f 100644 --- a/LCARStrek/mozapps/profile/profileSelection.css +++ b/LCARStrek/mozapps/profile/profileSelection.css @@ -43,6 +43,11 @@ list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); } +#profiles > listitem > listcell > image { + width: 16px; + height: 16px; +} + box#managebuttons > button { min-width: 8em; } -- 2.35.3