From bb2c1fbb8d62b3244338910b3f98f475b85b1bc8 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 10 Jul 2008 17:53:31 +0000 Subject: [PATCH] color picker (work in progress) --- ChangeLog | 1 + js/mooRainbow/images/blank.gif | Bin 0 -> 43 bytes js/mooRainbow/images/moor_arrows.gif | Bin 0 -> 94 bytes js/mooRainbow/images/moor_boverlay.png | Bin 0 -> 799 bytes js/mooRainbow/images/moor_cursor.gif | Bin 0 -> 80 bytes js/mooRainbow/images/moor_slider.png | Bin 0 -> 590 bytes js/mooRainbow/images/moor_woverlay.png | Bin 0 -> 768 bytes js/mooRainbow/images/rainbow.png | Bin 0 -> 794 bytes js/mooRainbow/mooRainbow.css | 114 +++++ js/mooRainbow/mooRainbow.js | 558 ++++++++++++++++++++++++ js/mootools-domready-rainbow.js | 16 + libraries/Config.class.php | 2 +- libraries/common.inc.php | 4 + libraries/header_meta_style.inc.php | 1 + main.php | 10 + themes/original/css/theme_left.css.php | 7 +- themes/original/css/theme_right.css.php | 2 +- 17 files changed, 710 insertions(+), 5 deletions(-) create mode 100644 js/mooRainbow/images/blank.gif create mode 100644 js/mooRainbow/images/moor_arrows.gif create mode 100644 js/mooRainbow/images/moor_boverlay.png create mode 100644 js/mooRainbow/images/moor_cursor.gif create mode 100644 js/mooRainbow/images/moor_slider.png create mode 100644 js/mooRainbow/images/moor_woverlay.png create mode 100644 js/mooRainbow/images/rainbow.png create mode 100644 js/mooRainbow/mooRainbow.css create mode 100644 js/mooRainbow/mooRainbow.js create mode 100644 js/mootools-domready-rainbow.js diff --git a/ChangeLog b/ChangeLog index 22f1c70c2..4e3570e1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -63,6 +63,7 @@ danbarry + rfe #1962383 [designer] Option to create a PDF page - patch #2007196, Typos in comments, thanks to knittl - knittl - bug #1982315 [GUI] Comma and quote in ENUM, thanks to Joshua Hogendorn ++ [GUI] Color picker (work in progress, now just for original theme) 2.11.8.0 (not yet released) - patch #1987593 [interface] Table list pagination in navi, diff --git a/js/mooRainbow/images/blank.gif b/js/mooRainbow/images/blank.gif new file mode 100644 index 0000000000000000000000000000000000000000..c9c195fd4ce0a3626dd32c50cebdf122ef169a8c GIT binary patch literal 43 rcmZ?wbhEHbWMp7uXkY+=|Ns9h{$yblVPIs?0r5dH3`|Tuj11NQ!N~_2 literal 0 HcmV?d00001 diff --git a/js/mooRainbow/images/moor_arrows.gif b/js/mooRainbow/images/moor_arrows.gif new file mode 100644 index 0000000000000000000000000000000000000000..c57addcf58c7ef437e11c2e314c90f64f952b9a4 GIT binary patch literal 94 zcmZ?wbhEHb)MVgfn8?KN|NsBI+Acz0tN~TrCbF ztOpA}{7W}86!LN5ty-0!pK!ruzct&2HE;hga?g@uT$8<>;Q$kZ4ie$Oz_6a7ft4Ww zL~t-X5M|f^a@QUv1~CQ&h6VLxVI!0wV(x0|$cw!vW*I1~{jIfq{wP$qyb5 zs1Aq{uqa3^IgA4FhL?s7tYEv~`W@65{;|WH1+m0IkHL<)39jxVg9Q`mJh;Ceuz`XB zXJ@(n~lfFu>`Hh2aAi$ZgQ11x{akUJ4{I#I>@V@N!rf#lXP8;OXk; Jvd$@?2>>5>h%NvC literal 0 HcmV?d00001 diff --git a/js/mooRainbow/images/moor_cursor.gif b/js/mooRainbow/images/moor_cursor.gif new file mode 100644 index 0000000000000000000000000000000000000000..9515a38e5f7ebe3c4d11ed9af8724cc2a443f62f GIT binary patch literal 80 zcmZ?wbhEHb3g#BJr#n{RG%#%m}gn72(kka_W=L*ya}Rt9STeI*!_ literal 0 HcmV?d00001 diff --git a/js/mooRainbow/images/moor_slider.png b/js/mooRainbow/images/moor_slider.png new file mode 100644 index 0000000000000000000000000000000000000000..9f4c47bf6b6e33c2781f03f51a587edb73827eee GIT binary patch literal 590 zcmeAS@N?(olHy`uVBq!ia0y~yU=U_tU}WH6Vqjpn$9_wSfq{V~-O<;Pfnog#bJnhx z3=9mCC9V-A!TD(=<%vb942~)JNvR5+xryniL8*x;m4zo$Z5S9BA9%VrhE&{ob6auq zCI=C=gc*q*DngwuN)tWQCZ9|(n)z=1E)eCTHW@6aa!B_5kDt=>3Z6@+Z?}K@X3pmK z?~bkK2>;U+G)?mKoYaGxQX)65i8RxRo~Au5dz$pL=xNr|s;99}_FVGY_{8~1@1=gF zRi;!XRi;%YR;E@aSEm0=xViC7B%hA^G~v@TpC0-o{?z!;Pu;kPb2{qNlutLNp5GKa z^Un(txs(ZxY?4pzpV;yA-GvQnBExjNr?H-%lX}c3RdT0KWSUO#G}hCTQjcy*ySX7J za$Ur_$h?TW$afL%BIP3LUdpTw^qug3Y0u*PbqkeG3!gSV&3#(?wDf7~)9k1FQqLD9 zSZZe2@FucMM_%W>PQK21 z9ethiI{rHSI))D2LcLi{e+(qE8@^4eo@PBQdYbgK>}lH5bWgXXp52rbxk)GDnU3+a iKX#4vh5v*T7~H;Tue{iixSN52fx*+&&t;ucLK6Uh83+vk literal 0 HcmV?d00001 diff --git a/js/mooRainbow/images/moor_woverlay.png b/js/mooRainbow/images/moor_woverlay.png new file mode 100644 index 0000000000000000000000000000000000000000..c3f3e96ea645144e3707bb853a652e3c472318d2 GIT binary patch literal 768 zcmeAS@N?(olHy`uVBq!ia0y~yU}OMc4mJh`hM1xiX$%YuEa{HEjtmUzPnffIy<}iu zkSuYHC<)F_D=AMbN@Z|N$xljE@XSq2PYp^YoFabGg0<@@rS7QHAk$A z582gx%uVaN_J7Y)ovZUM-Y(^Ru$_g0g+YM90pvVtF&H{iS?@ znEG-**6-&eb*?^A336QG?09#I#@e3-fiF#;&Eqq_r6pGL{P|zo_s5mDT(ep7ZE6MU z8HTwI90rVub_+f-8?ad%e95UfS7VW*;*up3A|LHAIqu zC#uH>cycdsVb8T$E-A~m;IVE@TXi1ut8>a1zvt^t%{ijAUNKqBO6EYf`$a$D8EyJz zyc0g@FWC1vB&F_J&`Gx|N5fql9&NQdl-=vJ*!AD4Q)wHIe2Z+|arxMxZ`amx8XcVJ z8GSTo&8J!S|ERQGmvZ%XG^;;!Dzh=>>e6MV%oC;7h3|L#8|t~*w(rb(MR{rSbLqE| zEvF~%4O+Cy)UR^F1y^&<-QD}{-kZ&N?9lr-ZqeWs_uKXt->tNqp1d{YNZIX7?Vii? zy_5y6*w{Cu*(UZ0Zkf10Oi|_Iqkrda{^5K*RcPDobH?9!Wml@O+iSm(6|vNtv-?0F z=NXpe>PsX8C4Q{GToL!z7j~PknN`U-=uKx1PbASed^(|9GvI3b!ui zbz!nuF6q;JHmNh_>QPPpOY^;cpKDh&-)(X0$NSg53Mx_}ZLzEl?aT~0^Fvo;`o35s z-I(xx0f#}2d4*a6muBEg#TL~IAH@uKANff$Pn6=^-92kL$Sv2C@3VF|rF9;V@etNK tY^$KkeLH%G+?TiC; literal 0 HcmV?d00001 diff --git a/js/mooRainbow/mooRainbow.css b/js/mooRainbow/mooRainbow.css new file mode 100644 index 000000000..764664e1e --- /dev/null +++ b/js/mooRainbow/mooRainbow.css @@ -0,0 +1,114 @@ +/*** + * - mooRainbow: defaultCSS + * author: w00fz + */ + +#mooRainbow { font-size: 11px; color: #000; } + +.moor-box { + width: 390px; + height: 310px; + border: 1px solid #636163; + background-color: #f9f9f9; +} +.moor-overlayBox { + width: 256px; /* Width and Height of the overlay must be setted here: default 256x256 */ + height: 256px; + margin-top: 9px; + margin-left: 9px; + border: 1px solid #000; +} +.moor-slider { + border: 1px solid #000; + margin-top: 9px; + margin-left: 280px; + width: 19px; /* if you want a bigger or smaller slider... */ + height: 256px; +} +.moor-colorBox { + border: 1px solid #000; + width: 59px; + height: 68px; + margin-top: 20px; + margin-left: 315px; +} +.moor-currentColor { /* Bottom Box Color, the backup one */ + margin-top: 55px; + margin-left: 316px; + width: 59px; + height: 34px; +} +.moor-okButton { + font-family: Tahoma; + font-weight: bold; + font-size: 11px; + margin-top: 278px; + margin-left: 8px; + background: #e6e6e6; + height: 23px; + border: 1px solid #d6d6d6; + border-left-color: #f5f5f5; + border-top-color: #f5f5f5; +} +#mooRainbow label { + font-family: mono; +} +/* Following are just