From 7771f2d25e0ff59518130bab4da042154dc908d8 Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Tue, 8 Mar 2011 02:02:27 +0000 Subject: [PATCH] * Increased the size of the tipsy callout, removed the shadow and made the background of tips white to try and improve the visibility of tips. * Added ui-button-green, ui-button-blue, ui-button-red classes to the Vector jquery ui theme --- resources/jquery.tipsy/images/tipsy.png | Bin 173 -> 179 bytes resources/jquery.tipsy/jquery.tipsy.css | 39 ++++----- .../vector/images/button-disabled-blue.png | Bin 0 -> 126 bytes .../vector/images/button-disabled-green.png | Bin 0 -> 126 bytes .../vector/images/button-disabled-red.png | Bin 0 -> 126 bytes .../themes/vector/images/button-down-blue.png | Bin 0 -> 170 bytes .../vector/images/button-down-green.png | Bin 0 -> 170 bytes .../themes/vector/images/button-down-red.png | Bin 0 -> 170 bytes .../themes/vector/images/button-off-blue.png | Bin 0 -> 216 bytes .../themes/vector/images/button-off-green.png | Bin 0 -> 216 bytes .../themes/vector/images/button-off-red.png | Bin 0 -> 216 bytes .../themes/vector/images/button-over-blue.png | Bin 0 -> 216 bytes .../vector/images/button-over-green.png | Bin 0 -> 216 bytes .../themes/vector/images/button-over-red.png | Bin 0 -> 216 bytes .../themes/vector/jquery.ui.button.css | 76 ++++++++++++++++++ 15 files changed, 97 insertions(+), 18 deletions(-) create mode 100644 resources/jquery.ui/themes/vector/images/button-disabled-blue.png create mode 100644 resources/jquery.ui/themes/vector/images/button-disabled-green.png create mode 100644 resources/jquery.ui/themes/vector/images/button-disabled-red.png create mode 100644 resources/jquery.ui/themes/vector/images/button-down-blue.png create mode 100644 resources/jquery.ui/themes/vector/images/button-down-green.png create mode 100644 resources/jquery.ui/themes/vector/images/button-down-red.png create mode 100644 resources/jquery.ui/themes/vector/images/button-off-blue.png create mode 100644 resources/jquery.ui/themes/vector/images/button-off-green.png create mode 100644 resources/jquery.ui/themes/vector/images/button-off-red.png create mode 100644 resources/jquery.ui/themes/vector/images/button-over-blue.png create mode 100644 resources/jquery.ui/themes/vector/images/button-over-green.png create mode 100644 resources/jquery.ui/themes/vector/images/button-over-red.png diff --git a/resources/jquery.tipsy/images/tipsy.png b/resources/jquery.tipsy/images/tipsy.png index 945319b2568956f93ede262220c4e3cfcd94a5f3..9a80e9423a86aa3f0b2ad4bc4299088b06878377 100644 GIT binary patch delta 140 zcmZ3>xS3J0Gr-TCmrII^fq{Y7)59eQNOOZQ2Q!eISJW;tQPCjj=g*)2|Nk%g$gBYr zWGV^r3;xgWbi08UkZ0uS;uunKD=C46k&Wf#fg=pb#s-FsmOKJ#GY&JPHd*i(s7+{A l>RTjtR7T`;qKZQUBZH~}L;pk>#)m-N44$rjF6*2UngGQeDE545)BQEnr84MuyvedNMxAlk>v4e g!WSpb1_ovZq4Nw`>^4j@f!Y{6UHx3vIVCg!05l#basU7T diff --git a/resources/jquery.tipsy/jquery.tipsy.css b/resources/jquery.tipsy/jquery.tipsy.css index 841c9eab21..2e504c32ac 100644 --- a/resources/jquery.tipsy/jquery.tipsy.css +++ b/resources/jquery.tipsy/jquery.tipsy.css @@ -6,31 +6,34 @@ } .tipsy-inner { padding: 5px 8px 4px 8px; - background-color: #e8f2f8; + /*background-color: #e8f2f8;*/ + background-color: #ffffff; border: solid 1px #a7d7f9; color: black; max-width: 15em; text-align: left; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; + border-radius: 4px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + /* -moz-box-shadow: 0px 2px 8px #cccccc; -webkit-box-shadow: 0px 2px 8px #cccccc; box-shadow: 0px 2px 8px #cccccc; -ms-filter: "progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=2, Strength=6, Direction=90, Color='#cccccc')"; filter: progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=2, Strength=6, Direction=90, Color='#cccccc'); + */ } .tipsy-arrow { position: absolute; /* @embed */ background: url('images/tipsy.png') no-repeat top left; - width: 9px; - height: 5px; + width: 11px; + height: 6px; } .tipsy-n .tipsy-arrow { - top: 1px; + top: 0px; left: 50%; - margin-left: -4px; + margin-left: -5px; } .tipsy-nw .tipsy-arrow { top: 1px; @@ -41,33 +44,33 @@ right: 10px; } .tipsy-s .tipsy-arrow { - bottom: 1px; + bottom: 0px; left: 50%; - margin-left: -4px; + margin-left: -5px; background-position: bottom left; } .tipsy-sw .tipsy-arrow { - bottom: 1px; + bottom: 0px; left: 10px; background-position: bottom left; } .tipsy-se .tipsy-arrow { - bottom: 1px; + bottom: 0px; right: 10px; background-position: bottom left; } .tipsy-e .tipsy-arrow { top: 50%; - margin-top: -4px; + margin-top: -5px; right: 1px; width: 5px; - height: 9px; + height: 11px; background-position: top right; } .tipsy-w .tipsy-arrow { top: 50%; - margin-top: -4px; - left: 1px; - width: 5px; - height: 9px; + margin-top: -5px; + left: 0px; + width: 6px; + height: 11px; } \ No newline at end of file diff --git a/resources/jquery.ui/themes/vector/images/button-disabled-blue.png b/resources/jquery.ui/themes/vector/images/button-disabled-blue.png new file mode 100644 index 0000000000000000000000000000000000000000..6242aca3ab040f7392e04226cf2e9e284eb757e5 GIT binary patch literal 126 zcmeAS@N?(olHy`uVBq!ia0vp^j6f{L!3-qLB-myEDajJoh?3y^w370~qErUQl>DSr z1<%~X^wgl##FWaylc_d9MQi~+A+Co{oCh+G26W5^Qhc5+jv*Ddk`ff;7+5427<3pI U)o=381j;aYy85}Sb4q9e0O-vgxc~qF literal 0 HcmV?d00001 diff --git a/resources/jquery.ui/themes/vector/images/button-disabled-green.png b/resources/jquery.ui/themes/vector/images/button-disabled-green.png new file mode 100644 index 0000000000000000000000000000000000000000..cde520b50c083881aa3d1a03e2763c1e4f86f7ee GIT binary patch literal 126 zcmeAS@N?(olHy`uVBq!ia0vp^j6f{L!3-qLB-myEDajJoh?3y^w370~qErUQl>DSr z1<%~X^wgl##FWaylc_d9MQi~+A+9IS9|kh#*q#UkQhc5+jv*Ddk`ff;7+5427<3pI U)o=381j;aYy85}Sb4q9e0NrOEZ~y=R literal 0 HcmV?d00001 diff --git a/resources/jquery.ui/themes/vector/images/button-disabled-red.png b/resources/jquery.ui/themes/vector/images/button-disabled-red.png new file mode 100644 index 0000000000000000000000000000000000000000..0658a1dbd2375659e00e5689b815e9d936937c61 GIT binary patch literal 126 zcmeAS@N?(olHy`uVBq!ia0vp^j6f{L!3-qLB-myEDajJoh?3y^w370~qErUQl>DSr z1<%~X^wgl##FWaylc_d9MQi~+A+F~S9|1Cjod10RQhc5+jv*Ddk`ff;7+5427<3pI U)o=381j;aYy85}Sb4q9e0O%MVzyJUM literal 0 HcmV?d00001 diff --git a/resources/jquery.ui/themes/vector/images/button-down-blue.png b/resources/jquery.ui/themes/vector/images/button-down-blue.png new file mode 100644 index 0000000000000000000000000000000000000000..e0f5a6c043fef756d1a47725d4eb9a0ee6bcb706 GIT binary patch literal 170 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfw!3-pySU=JLQj#UE5hcO-X(i=}MX3yqDfvmM z3ZA)%>8U}fi7AzZCsS>JiX;MjLR=ZVS1|alVsM8U}fi7AzZCsS>JiX;MjLR>>uFodmQaOq(1n84sam%)1)L(mcihX#i91J7;& z)o6ISIEGZ*N=g8lBF1LM#>VDmkixLZaRMtxq~wf)6F7Np8Y((8Ff#DBF-*Lczw9

8U}fi7AzZCsS>JiX;MjLR?oc@J(Rg>0sbl#lSz8fp;1M?-B;S1_o|3`^H&7 zH5#5Sjv*Ddk`jQXh_RWmv9YBYq%dr9oWRNvDJgMq0w>Q+Lq&%MMh5DSr z1<%~X^wgl##FWaylc_d9MNR=eA+9!6M|m6@O^Ws?M9#IUIK*jJXPCFcq3)!5;z}0F zO38r9+G*?bvbLC)9uV^A5cTO(iCfHOT_Y1Z)2`+?lX*G6OG|N}xCYQP9Zwg>kcwL@ z2OAk36c`vbXezZj{oj8p?R#P==cH8@CKq3S*}>cGJN<8P10#drQ-&9R7Z!2=^)Yz5 L`njxgN@xNA%P&Qh literal 0 HcmV?d00001 diff --git a/resources/jquery.ui/themes/vector/images/button-off-green.png b/resources/jquery.ui/themes/vector/images/button-off-green.png new file mode 100644 index 0000000000000000000000000000000000000000..cdf46e7eccb4f47739e0ee04e222b131727ba7d4 GIT binary patch literal 216 zcmeAS@N?(olHy`uVBq!ia0vp^j6f{L!3-qLB-myEDajJoh?3y^w370~qErUQl>DSr z1<%~X^wgl##FWaylc_d9MNR=eA+C-!Y~u z9BgECP+(x#psCdA^nd@YG!MP~8Iw&N%dOwWwYz@(u|X@ifssKpnBm2hAGcV6`WQT2 L{an^LB{Ts55T8b0 literal 0 HcmV?d00001 diff --git a/resources/jquery.ui/themes/vector/images/button-off-red.png b/resources/jquery.ui/themes/vector/images/button-off-red.png new file mode 100644 index 0000000000000000000000000000000000000000..1c6091667e751fcf09761dfbd448cfc62ab8c52f GIT binary patch literal 216 zcmeAS@N?(olHy`uVBq!ia0vp^j6f{L!3-qLB-myEDajJoh?3y^w370~qErUQl>DSr z1<%~X^wgl##FWaylc_d9MNR=eA+GDR%~q-#bqL8;vhW`;cRuOhbKK5rhoNnssKQJc z^~sXT~u z9BgECP+(x#psCdA^nd@Yw8DSr z1<%~X^wgl##FWaylc_d9MNR=eA+9o>^^&fYDnXq#xhq+86V=1|4HM@G*%a92uW=|` zYn8p6NjqNDp;Rw!hIZr>HvMFNi){0Z#XP1N3cf8SsS7xbQUi^mRDq`Hc)B=-RNP`Y z*vROhz`(FUQ>oSI|NdKQ)-KE6O^?Z&{owGTTc+zDZqy2HU}O*$W_Zz1kfsgP$KdJe K=d#Wzp$Py+&Os3X literal 0 HcmV?d00001 diff --git a/resources/jquery.ui/themes/vector/images/button-over-green.png b/resources/jquery.ui/themes/vector/images/button-over-green.png new file mode 100644 index 0000000000000000000000000000000000000000..0b8f6ef41e00adb545aa26cf327b0d84ee507d12 GIT binary patch literal 216 zcmeAS@N?(olHy`uVBq!ia0vp^j6f{L!3-qLB-myEDajJoh?3y^w370~qErUQl>DSr z1<%~X^wgl##FWaylc_d9MNR=eA+EOB{N-yM%u_iH;+d>6c=8sT7cRGopQ7zmDQS|- z=2tJ1KF83tR5WXWN$DCpqeK?R0-^9umFRx;pcaMVl{U#U^r~I_wg64j@pN$vskp^* zu#wS0fq`Lzrc$fZ|NXbp3V*B4_BMPIclUY83aK#1Zymu6j0~dn3@<8D`Fw%;7(8A5 KT-G@yGywpFTtVCb literal 0 HcmV?d00001 diff --git a/resources/jquery.ui/themes/vector/images/button-over-red.png b/resources/jquery.ui/themes/vector/images/button-over-red.png new file mode 100644 index 0000000000000000000000000000000000000000..28003bd8ed8b5f30b1b11e69d31c0a63d06f5a8a GIT binary patch literal 216 zcmeAS@N?(olHy`uVBq!ia0vp^j6f{L!3-qLB-myEDajJoh?3y^w370~qErUQl>DSr z1<%~X^wgl##FWaylc_d9MNR=eA+Fi{;u$<5shonzY`lxj9aq}8b*ktlvT(0;@T!zl zT5jdiqM*6J#CDCHd#R{wzq&y@6Xz6d;{qY68G7b(46W;BR7Fnj3I&>` KpUXO@geCw*JwNFH literal 0 HcmV?d00001 diff --git a/resources/jquery.ui/themes/vector/jquery.ui.button.css b/resources/jquery.ui/themes/vector/jquery.ui.button.css index 69cace065a..5507c42b0f 100644 --- a/resources/jquery.ui/themes/vector/jquery.ui.button.css +++ b/resources/jquery.ui/themes/vector/jquery.ui.button.css @@ -65,3 +65,79 @@ body button.ui-button::-moz-focus-inner { border: 0; } +/* Green buttons */ + +body button.ui-button.ui-button-green { + color: white; + border-color: #97af7e !important; + /* @embed */ + background: #85c940 url(images/button-off-green.png) repeat-x scroll 50% 100% !important; +} +body button.ui-button.ui-button-green:hover { + border-color: #778e61; + /* @embed */ + background: #77ad40 url(images/button-over-green.png) repeat-x scroll 50% 100% !important; +} +body button.ui-button.ui-button-green:active, +body button.ui-button.ui-button-green:focus { + border-color: #61b000; + /* @embed */ + background: #54a800 url(images/button-down-green.png) repeat-x scroll 50% 100% !important; +} +body button.ui-button.ui-button-green.disabled { + color: #7f7f7f; + border-color: #b8d29f; + /* @embed */ + background: #c9cfc3 url(images/button-disabled-green.png) repeat-x scroll 50% 100% !important; +} + +/* Blue buttons */ + +body button.ui-button.ui-button-blue { + color: white; + border-color: #407ec9 !important; + /* @embed */ + background: #407ec9 url(images/button-off-blue.png) repeat-x scroll 50% 100% !important; +} +body button.ui-button.ui-button-blue:hover { + border-color: #245289; + /* @embed */ + background: #4071ad url(images/button-over-blue.png) repeat-x scroll 50% 100% !important; +} +body button.ui-button.ui-button-blue:active, +body button.ui-button.ui-button-blue:focus { + border-color: #003980; + /* @embed */ + background: #004daa url(images/button-down-blue.png) repeat-x scroll 50% 100% !important; +} +body button.ui-button.ui-button-blue.disabled { + border-color: #9eafc6; + /* @embed */ + background: #c3c8cf url(images/button-disabled-blue.png) repeat-x scroll 50% 100% !important; +} + +/* Red buttons */ + +body button.ui-button.ui-button-red { + color: white; + border-color: #af977e !important; + /* @embed */ + background: #c9404c url(images/button-off-red.png) repeat-x scroll 50% 100% !important; +} +body button.ui-button.ui-button-red:hover { + border-color: #8e7761; + /* @embed */ + background: #ad404a url(images/button-over-red.png) repeat-x scroll 50% 100% !important; +} +body button.ui-button.ui-button-red:active, +body button.ui-button.ui-button-red:focus { + border-color: #b06100; + /* @embed */ + background: #aa000f url(images/button-down-red.png) repeat-x scroll 50% 100% !important; +} +body button.ui-button.ui-button-red.disabled { + color: #7f7f7f; + border-color: #c3acae; + /* @embed */ + background: #cfc3c4 url(images/button-disabled-red.png) repeat-x scroll 50% 100% !important; +} -- 2.20.1