From 806477977d0ccdf68723960fbdf5547d5f07edb3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 14 Jan 2015 13:51:21 +0100 Subject: [PATCH] Fix: css --- htdocs/comm/action/peruser.php | 2 +- htdocs/core/menus/standard/eldy.lib.php | 2 +- htdocs/theme/eldy/img/menus/README.md | 12 +++++++++ htdocs/theme/eldy/img/menus/chart.png | Bin 0 -> 1792 bytes htdocs/theme/eldy/style.css.php | 34 ++++++------------------ 5 files changed, 22 insertions(+), 28 deletions(-) create mode 100644 htdocs/theme/eldy/img/menus/README.md create mode 100644 htdocs/theme/eldy/img/menus/chart.png diff --git a/htdocs/comm/action/peruser.php b/htdocs/comm/action/peruser.php index 22cf8841c02..8379960f764 100644 --- a/htdocs/comm/action/peruser.php +++ b/htdocs/comm/action/peruser.php @@ -679,7 +679,7 @@ foreach ($usernames as $username) { $var = ! $var; echo ""; - echo '' . $username->getNomUrl(1). ''; + echo '' . $username->getNomUrl(1). ''; $tmpday = $sav; // Lopp on each day of week diff --git a/htdocs/core/menus/standard/eldy.lib.php b/htdocs/core/menus/standard/eldy.lib.php index 74d6b95df73..8ae46c5d8da 100644 --- a/htdocs/core/menus/standard/eldy.lib.php +++ b/htdocs/core/menus/standard/eldy.lib.php @@ -354,7 +354,7 @@ function print_text_menu_entry($text, $showmode, $url, $id, $idsel, $classname, if ($showmode == 1) { print ''; - print '
'; + print '
'; print '
'; print ''; print ''; diff --git a/htdocs/theme/eldy/img/menus/README.md b/htdocs/theme/eldy/img/menus/README.md new file mode 100644 index 00000000000..1b3942d1913 --- /dev/null +++ b/htdocs/theme/eldy/img/menus/README.md @@ -0,0 +1,12 @@ + +Tutorial to create a new image for menu: + +1) First find an image. +2) With Gimp, open image and check there is a alpha channel. If not add one. +3) Convert image into back and white. +4) Use the degrade tool with option: +* Erase color +* Opacity: 50 +/- +* Offset: 0 +* Shape: Linear +Il est possible aussi d'augmenter la transparence globale depuis le calque. diff --git a/htdocs/theme/eldy/img/menus/chart.png b/htdocs/theme/eldy/img/menus/chart.png new file mode 100644 index 0000000000000000000000000000000000000000..abd089a44bea64e7880045b878c0392e57802c59 GIT binary patch literal 1792 zcmV+b2mknqP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2j2k> z3M&R+hlf)D00w|bL_t(o!_ArBixk-v$G_*^s#{gV^r+DuXBZtB96K?Sbps&}8%$s^ zK_MC;2#fd!H2{l850Q|N7u}cmTkxW zRn_&Qt4&K2AV+?rEMiYv~qBS=+_r7i0KM8{1TbiapDFwqYpzAtxT?Y|; zYTNd2EX(>c0PnvocvM~cN_)i4Y+8Vy*M1u11xJR61qA;hWS;o(!wX7kH1 z3`Ym$d2NI9`qLdLclN#l2QTyEX(4(d-vv_J$q&V@ZJRR z;MGAygvrTC95`?Ql}ZJRi;HX+2AQS_r4*PsM$mgxJfAiM%#4wd5n^WYeILw>D2i4S zhzJ1Q9M5+eVHkqBdtTnSabv&ZIQv}J-4{jC6K4M6!i5W84y4*J^X^)$wgf<>&#kPi zpw()v`ArCcCr_U2o1dR=5Yc;46#bByf8_f#hP^hSw) z{P;0Fefo64ah!>EQbX5u)-;VYO@j~unx@@TN`1!6zc_vRG!Gn`PWI+s`a70o z!8A<>A;ySk48ZrLl&9|Az57tt^$$;;JUP4V%nKpb)%vVl==2wR_U!R92P&2DaBIC4O@=BRGUsHb;BkM!*aT8cXPk>*52fd%@AcZ^H^V%D zp118gK}6Wi^V@>WMuw%5bI&GnU}v{#)0c$JVme_!tJgJw zh-w=N?He{(tpNb5SHy@Y>V!xlam9Y`+BTQXGT_WcszH3RL zotnHgk?JP?=FOYCvgX7>ewk7fB&YdeUv&^{Z zI>r;88d`5FWf{Oi2q!UTjp!(f5Jk~k6h;4jorI-c6So}!Eh~4@87qXKmoHz2wOXw) zGBPsUjvzIgO{djreI}*+G>W2s+P3|#*C~~pWk7m$O^kAy(+uq(A~=qNa=H9Y5ClJt zqUdeMasCx#|o+qZQgM5`0C8Q3s@oUZH1Jm46MBtBsnLI^Q( z@ZiCRSFT+7rR%yMT)TGd*E@Iayw{8Ho*r_8APB|!I>+^To!Vk4>CM^MS&~vNO-xLT z=kxj1-3HHl^-|V#-Da!R`aOV8N~O}hqeqW!`CWc5%!_QARy~@=#xzYVEG!(iZTovm zOG{s$oSgh7fbR$)K4~_acZCptcO0j3MPfbmsP$*#6u3how*(=^X&vTji zqe`XnTL3cokkQXUUBpxS{UMZ6IU&S1i0G}Usi~R$`}hCAG|jL2zW=9cwR-*V;lsZx il}a==Ha5^*@c#pOvA2INX1v${0000 div#tmenu_tooltip { @@ -673,7 +673,7 @@ div.mainmenu { position : relative; background-repeat:no-repeat; background-position:center top; - height: px; + height: px; margin-left: 0px; min-width: 40px; } @@ -698,16 +698,10 @@ div.mainmenu.bank { background-image: url(); } -div.mainmenu.bookmark { -} - div.mainmenu.cashdesk { background-image: url(); } -div.mainmenu.click2dial { -} - div.mainmenu.companies { background-image: url(); } @@ -728,12 +722,6 @@ div.mainmenu.ftp { background-image: url(); } -div.mainmenu.gravatar { -} - -div.mainmenu.geopipmaxmind { -} - div.mainmenu.hrm { background-image: url(); } @@ -742,9 +730,6 @@ div.mainmenu.members { background-image: url(); } -div.mainmenu.paypal { -} - div.mainmenu.products { background-image: url(); margin-left: 10px; @@ -758,14 +743,6 @@ div.mainmenu.tools { background-image: url(); } -div.mainmenu.webservices { -} - -div.mainmenu.google { - background-image: url(); -} - - 'name of class for div') @@ -2423,6 +2400,11 @@ li.cal_event { border: none; list-style-type: none; } .cal_event a:active { color: #111111; font-size: 11px; font-weight: normal !important; } .cal_event a:hover { color: #111111; font-size: 11px; font-weight: normal !important; color:rgba(255,255,255,.75); } .cal_event_busy { } +.cal_peruserviewname { max-width: 100px; height: 22px; } + +.topmenuimage { + background-size: 28px auto; +} /* ============================================================================== */ /* Ajax - Liste deroulante de l'autocompletion */