12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273 |
- <?php
- /* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
- * Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
- * Copyright (C) 2007-2011 Regis Houssin <regis@dolibarr.fr>
- * Copyright (C) 2011 Philippe Grand <philippe.grand@atoo-net.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
- /**
- * \file htdocs/theme/eldy/style.css.php
- * \brief File for CSS style sheet Eldy
- */
- //if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
- //if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
- if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
- //if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
- if (! defined('NOCSRFCHECK')) define('NOCSRFCHECK',1);
- if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL',1);
- if (! defined('NOLOGIN')) define('NOLOGIN',1); // File must be accessed by logon page so without login
- if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1);
- if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML',1);
- if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
- session_cache_limiter(FALSE);
- require_once("../../main.inc.php");
- // Load user to have $user->conf loaded (not done into main because of NOLOGIN constant defined)
- if (empty($user->id) && ! empty($_SESSION['dol_login'])) $user->fetch('',$_SESSION['dol_login']);
- // Define css type
- header('Content-type: text/css');
- // Important: Following code is to avoid page request by browser and PHP CPU at
- // each Dolibarr page access.
- if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate');
- else header('Cache-Control: no-cache');
- // On the fly GZIP compression for all pages (if browser support it). Must set the bit 3 of constant to 1.
- if (isset($conf->global->MAIN_OPTIMIZE_SPEED) && ($conf->global->MAIN_OPTIMIZE_SPEED & 0x04)) { ob_start("ob_gzhandler"); }
- if (GETPOST('lang')) $langs->setDefaultLang(GETPOST('lang')); // If language was forced on URL
- if (GETPOST('theme')) $conf->theme=GETPOST('theme'); // If theme was forced on URL
- $langs->load("main",0,1);
- $right=($langs->trans("DIRECTION")=='rtl'?'left':'right');
- $left=($langs->trans("DIRECTION")=='rtl'?'right':'left');
- $fontsize=empty($conf->browser->phone)?'12':'14';
- $fontsizesmaller=empty($conf->browser->phone)?'11':'14';
- $path=''; // This value may be used in future for external module to overwrite theme
- // Define image path files
- $fontlist='arial,tahoma,verdana,helvetica'; //$fontlist='Verdana,Helvetica,Arial,sans-serif';
- $img_head=dol_buildpath($path.'/theme/eldy/img/headbg2.jpg',1);
- $img_button=dol_buildpath($path.'/theme/eldy/img/button_bg.png',1);
- // Define reference colors
- // Example: Light grey: $colred=235;$colgreen=235;$colblue=235;
- // Example: Pink: $colred=230;$colgreen=210;$colblue=230;
- // Example: Green: $colred=210;$colgreen=230;$colblue=210;
- // Example: Ocean: $colred=220;$colgreen=220;$colblue=240;
- //$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
- //$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
- //var_dump($user->conf->THEME_ELDY_RGB);
- $colred =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_RGB)?235:hexdec(substr($conf->global->THEME_ELDY_RGB,0,2))):(empty($user->conf->THEME_ELDY_RGB)?235:hexdec(substr($user->conf->THEME_ELDY_RGB,0,2)));
- $colgreen=empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_RGB)?235:hexdec(substr($conf->global->THEME_ELDY_RGB,2,2))):(empty($user->conf->THEME_ELDY_RGB)?235:hexdec(substr($user->conf->THEME_ELDY_RGB,2,2)));
- $colblue =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_RGB)?235:hexdec(substr($conf->global->THEME_ELDY_RGB,4,2))):(empty($user->conf->THEME_ELDY_RGB)?235:hexdec(substr($user->conf->THEME_ELDY_RGB,4,2)));
- // Colors
- $isred=max(0,(2*$colred-$colgreen-$colblue)/2); // 0 - 255
- $isgreen=max(0,(2*$colgreen-$colred-$colblue)/2); // 0 - 255
- $isblue=max(0,(2*$colblue-$colred-$colgreen)/2); // 0 - 255
- $colorback1=($colred-3).','.($colgreen-3).','.($colblue-3); // topmenu
- $colorback2=($colred+5).','.($colgreen+5).','.($colblue+5);
- $colorbacktab1=($colred+15).','.($colgreen+16).','.($colblue+17); // vmenu
- $colorbacktab2=($colred-15).','.($colgreen-15).','.($colblue-15);
- $colorbacktitle1=($colred-5).','.($colgreen-5).','.($colblue-5); // title of array
- $colorbacktitle2=($colred-15).','.($colgreen-15).','.($colblue-15);
- $colorbacktabcard1=($colred+15).','.($colgreen+16).','.($colblue+17); // card
- $colorbacktabcard2=($colred-15).','.($colgreen-15).','.($colblue-15);
- $colorbacktabactive=($colred-15).','.($colgreen-15).','.($colblue-15);
- $colorbacklineimpair1=(244+round($isred/3)).','.(244+round($isgreen/3)).','.(244+round($isblue/3)); // line impair
- $colorbacklineimpair2=(250+round($isred/3)).','.(250+round($isgreen/3)).','.(250+round($isblue/3)); // line impair
- $colorbacklinepair1='255,255,255'; // line pair
- $colorbacklinepair2='255,255,255'; // line pair
- $colorbackbody='#ffffff url('.$img_head.') 0 0 no-repeat;';
- $colortext='40,40,40';
- // Eldy colors
- if (empty($conf->global->THEME_ELDY_ENABLE_PERSONALIZED))
- {
- $conf->global->THEME_ELDY_TOPMENU_BACK1='180,196,216'; // topmenu
- $conf->global->THEME_ELDY_TOPMENU_BACK2='190,206,226';
- $conf->global->THEME_ELDY_VERMENU_BACK1='246,248,250'; // vmenu
- $conf->global->THEME_ELDY_VERMENU_BACK2='220,225,230';
- $conf->global->THEME_ELDY_BACKTITLE1='140,160,185'; // title of arrays
- $conf->global->THEME_ELDY_BACKTITLE2='210,220,235';
- $conf->global->THEME_ELDY_BACKTABCARD1='242,244,248'; // card
- $conf->global->THEME_ELDY_BACKTABCARD2='220,225,230';
- $conf->global->THEME_ELDY_BACKTABACTIVE='220,225,230';
- $conf->global->THEME_ELDY_BACKBODY='#ffffff url('.$img_head.') 0 0 no-repeat;';
- $conf->global->THEME_ELDY_LINEIMPAIR1='244,244,244';
- $conf->global->THEME_ELDY_LINEIMPAIR2='250,250,250';
- $conf->global->THEME_ELDY_LINEPAIR1='255,255,255';
- $conf->global->THEME_ELDY_LINEPAIR2='255,255,255';
- $conf->global->THEME_ELDY_BACKBODY='#ffffff url('.$img_head.') 0 0 no-repeat;';
- $conf->global->THEME_ELDY_TEXT='48,102,102';
- }
- $colorback1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TOPMENU_BACK1)?$colorback1:$conf->global->THEME_ELDY_TOPMENU_BACK1) :(empty($user->conf->THEME_ELDY_TOPMENU_BACK1)?$colorback1:$user->conf->THEME_ELDY_TOPMENU_BACK1);
- $colorback2 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TOPMENU_BACK2)?$colorback2:$conf->global->THEME_ELDY_TOPMENU_BACK2) :(empty($user->conf->THEME_ELDY_TOPMENU_BACK2)?$colorback2:$user->conf->THEME_ELDY_TOPMENU_BACK2);
- $colorbacktab1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_VERMENU_BACK1)?$colorbacktab1:$conf->global->THEME_ELDY_VERMENU_BACK1) :(empty($user->conf->THEME_ELDY_VERMENU_BACK1)?$colorbacktab1:$user->conf->THEME_ELDY_VERMENU_BACK1);
- $colorbacktab2 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_VERMENU_BACK2)?$colorbacktab2:$conf->global->THEME_ELDY_VERMENU_BACK2) :(empty($user->conf->THEME_ELDY_VERMENU_BACK2)?$colorbacktab2:$user->conf->THEME_ELDY_VERMENU_BACK2);
- $colorbacktitle1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_BACKTITLE1) ?$colorbacktitle1:$conf->global->THEME_ELDY_BACKTITLE1) :(empty($user->conf->THEME_ELDY_BACKTITLE1)?$colorbacktitle1:$user->conf->THEME_ELDY_BACKTITLE1);
- $colorbacktitle2 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_BACKTITLE2) ?$colorbacktitle2:$conf->global->THEME_ELDY_BACKTITLE2) :(empty($user->conf->THEME_ELDY_BACKTITLE2)?$colorbacktitle2:$user->conf->THEME_ELDY_BACKTITLE2);
- $colorbacktabcard1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_BACKTABCARD1) ?$colorbacktabcard1:$conf->global->THEME_ELDY_BACKTABCARD1) :(empty($user->conf->THEME_ELDY_BACKTABCARD1)?$colorbacktabcard1:$user->conf->THEME_ELDY_BACKTABCARD1);
- $colorbacktabcard2 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_BACKTABCARD2) ?$colorbacktabcard2:$conf->global->THEME_ELDY_BACKTABCARD2) :(empty($user->conf->THEME_ELDY_BACKTABCARD2)?$colorbacktabcard2:$user->conf->THEME_ELDY_BACKTABCARD2);
- $colorbacktabactive =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_BACKTABACTIVE)?$colorbacktabactive:$conf->global->THEME_ELDY_BACKTABACTIVE):(empty($user->conf->THEME_ELDY_BACKTABACTIVE)?$colorbacktabactive:$user->conf->THEME_ELDY_BACKTABACTIVE);
- $colorbacklineimpair1=empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEIMPAIR1) ?$colorbacklineimpair1:$conf->global->THEME_ELDY_LINEIMPAIR1):(empty($user->conf->THEME_ELDY_LINEIMPAIR1)?$colorbacklineimpair1:$user->conf->THEME_ELDY_LINEIMPAIR1);
- $colorbacklineimpair2=empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEIMPAIR2) ?$colorbacklineimpair2:$conf->global->THEME_ELDY_LINEIMPAIR2):(empty($user->conf->THEME_ELDY_LINEIMPAIR2)?$colorbacklineimpair2:$user->conf->THEME_ELDY_LINEIMPAIR2);
- $colorbacklinepair1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEPAIR1) ?$colorbacklinepair1:$conf->global->THEME_ELDY_LINEPAIR1) :(empty($user->conf->THEME_ELDY_LINEPAIR1)?$colorbacklinepair1:$user->conf->THEME_ELDY_LINEPAIR1);
- $colorbacklinepair2 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_LINEPAIR2) ?$colorbacklinepair2:$conf->global->THEME_ELDY_LINEPAIR2) :(empty($user->conf->THEME_ELDY_LINEPAIR2)?$colorbacklinepair2:$user->conf->THEME_ELDY_LINEPAIR2);
- $colorbackbody =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_BACKBODY) ?$colorbackbody:$conf->global->THEME_ELDY_BACKBODY) :(empty($user->conf->THEME_ELDY_BACKBODY)?$colorbackbody:$user->conf->THEME_ELDY_BACKBODY);
- $colortext =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TEXT) ?$colortext:$conf->global->THEME_ELDY_TEXT) :(empty($user->conf->THEME_ELDY_TEXT)?$colortext:$user->conf->THEME_ELDY_TEXT);
- print '/*'."\n";
- print 'colred='.$colred.' colgreen='.$colgreen.' colblue='.$colblue."\n";
- print 'isred='.$isred.' isgreen='.$isgreen.' isblue='.$isblue."\n";
- print 'colorbacklineimpair1='.$colorbacklineimpair1."\n";
- print 'colorbacklineimpair2='.$colorbacklineimpair2."\n";
- print 'colorbacklinepair1='.$colorbacklinepair1."\n";
- print 'colorbacklinepair2='.$colorbacklinepair2."\n";
- print '*/'."\n";
- ?>
- /* ============================================================================== */
- /* Styles par defaut */
- /* ============================================================================== */
- body {
- <?php if (GETPOST("optioncss") == 'print') { ?>
- background-color: #FFFFFF;
- <?php } else { ?>
- background: <?php print $colorbackbody; ?>;
- <?php } ?>
- color: #101010;
- font-size: <?php print $fontsize ?>px;
- font-family: <?php print $fontlist ?>;
- margin-top: 0;
- margin-bottom: 0;
- margin-right: 0;
- margin-left: 0;
- <?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?>
- }
- a:link, a:visited, a:hover, a:active { font-family: <?php print $fontlist ?>; font-weight: bold; color: #000000; text-decoration: none; }
- input:focus, textarea:focus, button:focus, select:focus {
- box-shadow: 0 0 4px #8091BF;
- }
- input, input.flat, textarea, textarea.flat, form.flat select, select.flat {
- font-size: <?php print $fontsize ?>px;
- font-family: <?php print $fontlist ?>;
- background: #FDFDFD;
- border: 1px solid #ACBCBB;
- padding: 1px 1px 1px 1px;
- margin: 0px 0px 0px 0px;
- }
- select.flat, form.flat select {
- font-weight: normal;
- }
- input:disabled {
- background:#ddd;
- }
- input:-webkit-autofill { background-color: #FCFEFA !important; background-image:none !important; }
- textarea:disabled {
- background:#ddd;
- }
- .button {
- font-family: <?php print $fontlist ?>;
- background-image: url(<?php echo $img_button ?>);
- background-position: bottom;
- border: 1px solid #ACBCBB;
- padding: 0.1em 0.7em;
- margin: 0em 0.5em;
- -moz-border-radius:0px 5px 0px 5px;
- -webkit-border-radius:0px 5px 0px 5px;
- border-radius:0px 5px 0px 5px;
- -moz-box-shadow: 4px 4px 4px #CCC;
- -webkit-box-shadow: 4px 4px 4px #CCC;
- box-shadow: 4px 4px 4px #CCC;
- }
- .button:focus {
- font-family: <?php print $fontlist ?>;
- color: #222244;
- background-image: url(<?php echo $img_button ?>);
- background-position: bottom;
- border: 1px solid #ACBCBB;
- }
- .button:hover {
- background: #dee7ec;
- }
- .button:disabled {
- background: #ddd;
- }
- .buttonajax {
- font-family: <?php print $fontlist ?>;
- border: 0px;
- background-image: url(<?php echo $img_button ?>);
- background-position: bottom;
- padding: 0.1em 0.7em;
- margin: 0em 0.5em;
- -moz-border-radius:0px 5px 0px 5px;
- -webkit-border-radius:0px 5px 0px 5px;
- border-radius:0px 5px 0px 5px;
- -moz-box-shadow: 4px 4px 4px #CCC;
- -webkit-box-shadow: 4px 4px 4px #CCC;
- box-shadow: 4px 4px 4px #CCC;
- }
- form {
- padding: 0em 0em 0em 0em;
- margin: 0em 0em 0em 0em;
- }
- div.float
- {
- float:<?php print $left; ?>;
- }
- th .button {
- -moz-box-shadow: none !important;
- -webkit-box-shadow: none !important;
- box-shadow: none !important;
- -moz-border-radius:0px !important;
- -webkit-border-radius:0px !important;
- border-radius:0px !important;
- }
- /* ============================================================================== */
- /* Styles to hide objects */
- /* ============================================================================== */
- .hideobject { display: none; }
- <?php if (! empty($conf->browser->phone)) { ?>
- .hideonsmartphone { display: none; }
- <?php } ?>
- .linkobject { cursor: pointer; }
- /* ============================================================================== */
- /* Styles for dragging lines */
- /* ============================================================================== */
- .dragClass {
- color: #002255;
- }
- td.showDragHandle {
- cursor: move;
- }
- .tdlineupdown {
- white-space: nowrap;
- }
- /* ============================================================================== */
- /* Styles de positionnement des zones */
- /* ============================================================================== */
- div.fiche {
- margin-<?php print $left; ?>: <?php print (empty($conf->browser->phone) || empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT))?'20':'24'; ?>px;
- margin-<?php print $right; ?>: <?php print empty($conf->browser->phone)?'12':'6'; ?>px;
- }
- div.fichecenter {
- width: 100%;
- clear: both; /* This is to have div fichecenter that are true rectangles */
- }
- div.fichethirdleft {
- <?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
- <?php if (empty($conf->browser->phone)) { print "width: 35%;\n"; } ?>
- <?php if (! empty($conf->browser->phone)) { print "padding-bottom: 6px;\n"; } ?>
- }
- div.fichetwothirdright {
- <?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
- <?php if (empty($conf->browser->phone)) { print "width: 65%;\n"; } ?>
- <?php if (! empty($conf->browser->phone)) { print "padding-bottom: 6px\n"; } ?>
- }
- div.fichehalfleft {
- <?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
- <?php if (empty($conf->browser->phone)) { print "width: 50%;\n"; } ?>
- }
- div.fichehalfright {
- <?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
- <?php if (empty($conf->browser->phone)) { print "width: 50%;\n"; } ?>
- }
- div.ficheaddleft {
- <?php if (empty($conf->browser->phone)) { print "padding-left: 16px;\n"; } ?>
- }
- /* ============================================================================== */
- /* Menu top et 1ere ligne tableau */
- /* ============================================================================== */
- <?php
- if (! empty($conf->browser->phone))
- {
- $minwidthtmenu=0;
- $heightmenu=19;
- }
- else
- {
- $minwidthtmenu=64;
- $heightmenu=48;
- }
- ?>
- div.tmenu {
- <?php if (GETPOST("optioncss") == 'print') { ?>
- display:none;
- <?php } else { ?>
- position: relative;
- display: block;
- white-space: nowrap;
- border-top: 0px solid #D3E5EC;
- border-<?php print $left; ?>: 0px;
- border-<?php print $right; ?>: 0px solid #555555;
- border-bottom: 1px solid #FFFFFF;
- padding: 0px 0px 0px 0px; /* t r b l */
- margin: 0px 0px 7px 0px; /* t r b l */
- font-weight: normal;
- height: <?php print $heightmenu; ?>px;
- /* DYN */
- background-image: linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%);
- background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%);
- background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%);
- background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 40%, rgb(<?php echo $colorback2; ?>) 60%, rgb(<?php echo $colorback1; ?>) 100%);
- background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 75%, rgb(<?php echo $colorback2; ?>) 100%);
- color: #000000;
- text-decoration: none;
- <?php } ?>
- }
- table.tmenu {
- padding: 0px 0px 10px 0px; /* t r b l */
- margin: 0px 0px 0px 0px; /* t r b l */
- text-align: center;
- }
- td.tmenu {
- <?php print $minwidthtmenu?'width: '.$minwidthtmenu.'px;':''; ?>
- text-align: center;
- vertical-align: bottom;
- white-space: nowrap;
- }
- a.tmenudisabled:link, a.tmenudisabled:visited, a.tmenudisabled:hover, a.tmenudisabled:active {
- color: #757575;
- font-weight: normal;
- padding: 0px 5px 0px 5px;
- margin: 0px 1px 2px 1px;
- cursor: not-allowed;
- font-weight: normal;
- white-space: nowrap;
- }
- a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
- font-weight: normal;
- color: #234046;
- padding: 0px 5px 0px 5px;
- margin: 0px 1px 2px 1px;
- white-space: nowrap;
- text-shadow: 1px 2px 4px #BFBFBF;
- }
- a.tmenu:hover, a.tmenu:active {
- margin: 0px 0px 0px 0px;
- border-<?php print $right; ?>: 1px solid #555555;
- border-<?php print $left; ?>: 1px solid #D8D8D8;
- border-top: 1px solid #D8D8D8;
- border-bottom: 2px solid #F4F4F4;
- }
- a.tmenu:hover, a.tmenu:active {
- background: #F4F4F4;
- text-shadow: 1px 2px 4px #BFBFBF;
- }
- a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
- font-weight: normal;
- color: #234046;
- padding: 0px 5px 0px 5px;
- margin: 0px 0px 0px 0px;
- background: #F4F4F4;
- border-<?php print $right; ?>: 1px solid #555555;
- border-top: 1px solid #D8D8D8;
- border-<?php print $left; ?>: 1px solid #D8D8D8;
- border-bottom: 2px solid #F4F4F4;
- white-space: nowrap;
- text-shadow: 1px 2px 4px #BFBFBF;
- }
- * html li.tmenu a {
- min-width:60px;
- }
- ul.tmenu { /* t r b l */
- padding: 0px 0px 10px 0px;
- margin: 0px 0px 0px 6px;
- list-style: none;
- }
- li.tmenu {
- <?php print $minwidthtmenu?'min-width: '.$minwidthtmenu.'px;':''; ?>
- text-align: center;
- vertical-align: bottom;
- float: <?php print $left; ?>;
- height: <?php print $heightmenu; ?>px;
- position:relative;
- display: block;
- padding: 2px 5px 0px 5px;
- margin: 0px 0px 0px 0px;
- font-weight: normal;
- }
- div.mainmenu {
- position : relative;
- color: white;
- background-repeat:no-repeat;
- background-position:center top;
- height: <?php echo ($heightmenu-19); ?>px;
- margin-left: 0px;
- }
- <?php if (empty($conf->browser->phone)) { ?>
- div.mainmenu.home{
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/home.png',1) ?>);
- }
- div.mainmenu.accountancy {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/money.png',1) ?>);
- }
- div.mainmenu.agenda {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/agenda.png',1) ?>);
- }
- div.mainmenu.bank {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/bank.png',1) ?>);
- }
- div.mainmenu.bookmark {
- }
- div.mainmenu.cashdesk {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/pointofsale.png',1) ?>);
- }
- div.mainmenu.click2dial {
- }
- div.mainmenu.companies {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/members.png',1) ?>);
- }
- div.mainmenu.contacts {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/stethoscope.png',1) ?>);
- }
- div.mainmenu.commercial {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/commercial.png',1) ?>);
- }
- div.mainmenu.ecm {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/ecm.png',1) ?>);
- }
- div.mainmenu.externalsite {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/externalsite.png',1) ?>);
- }
- div.mainmenu.ftp {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/tools.png',1) ?>);
- }
- div.mainmenu.gravatar {
- }
- div.mainmenu.geopipmaxmind {
- }
- div.mainmenu.members {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/members.png',1) ?>);
- }
- div.mainmenu.paypal {
- }
- div.mainmenu.products {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/products.png',1) ?>);
- margin-left: 10px;
- }
- div.mainmenu.project {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/project.png',1) ?>);
- }
- div.mainmenu.tools {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/tools.png',1) ?>);
- }
- div.mainmenu.shop {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/shop.png',1) ?>);
- }
- div.mainmenu.webservices {
- }
- div.mainmenu.google {
- background-image: url(<?php echo dol_buildpath($path.'/theme/eldy/img/menus/globe.png',1) ?>);
- }
- <?php
- // Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
- $moduletomainmenu=array('user'=>'','syslog'=>'','societe'=>'companies','projet'=>'project','propale'=>'commercial','commande'=>'commercial',
- 'produit'=>'products','service'=>'products','stock'=>'products',
- 'don'=>'accountancy','tax'=>'accountancy','banque'=>'accountancy','facture'=>'accountancy','compta'=>'accountancy','accounting'=>'accountancy','adherent'=>'members','import'=>'tools','export'=>'tools','mailing'=>'tools',
- 'contrat'=>'commercial','ficheinter'=>'commercial','deplacement'=>'commercial',
- 'fournisseur'=>'companies',
- 'barcode'=>'','fckeditor'=>'','categorie'=>'',
- );
- $mainmenuused='home';
- foreach($conf->modules as $key => $val)
- {
- $mainmenuused.=','.(isset($moduletomainmenu[$val])?$moduletomainmenu[$val]:$val);
- }
- //var_dump($mainmenuused);
- $mainmenuusedarray=array_unique(explode(',',$mainmenuused));
- $generic=1;
- $divalreadydefined=array('home','companies','products','commercial','accountancy','project','tools','members','shop','agenda','bookmark','cashdesk','geoipmaxmind','gravatar','clicktodial','paypal','webservices');
- foreach($mainmenuusedarray as $key => $val)
- {
- if (empty($val) || in_array($val,$divalreadydefined)) continue;
- //print "XXX".$val;
- // Search img file in module dir
- $found=0; $url='';
- foreach($conf->file->dol_document_root as $dirroot)
- {
- if (file_exists($dirroot."/".$val."/img/".$val.".png"))
- {
- $url=dol_buildpath($path.'/'.$val.'/img/'.$val.'.png', 1);
- $found=1;
- break;
- }
- }
- // Img file not found
- if (! $found && $generic <= 4)
- {
- $url=dol_buildpath($path.'/theme/eldy/img/menus/generic'.$generic.".png",1);
- $found=1;
- $generic++;
- }
- if ($found)
- {
- print "/* A mainmenu entry but img file ".$val.".png not found, so we use a generic one */\n";
- print "div.mainmenu.".$val." {\n";
- print " background-image: url(".$url.");\n";
- print " height:28px;\n";
- print "}\n";
- }
- }
- // End of part to add more div class css
- ?>
- <?php
- } // End test if not phone
- ?>
- .tmenuimage {
- padding:0 0 0 0 !important;
- margin:0 0px 0 0 !important;
- }
- /* Login */
- table.login {
- -moz-box-shadow: 4px 4px 4px #CCC;
- -webkit-box-shadow: 4px 4px 4px #CCC;
- box-shadow: 4px 4px 4px #CCC;
- }
- div.login_block {
- position: absolute;
- <?php print $right; ?>: 5px;
- top: 3px;
- font-weight: bold;
- <?php if (GETPOST("optioncss") == 'print') { ?>
- display: none;
- <?php } ?>
- }
- div.login_block table {
- display: inline;
- }
- div.login {
- white-space:nowrap;
- padding: <?php echo ($conf->browser->phone?'0':'8')?>px 0px 0px 0px;
- margin: 0px 0px 0px 8px;
- font-weight: bold;
- }
- div.login a {
- color: #234046;
- }
- div.login a:hover {
- color: black;
- text-decoration:underline;
- }
- img.login, img.printer, img.entity {
- padding: <?php echo ($conf->browser->phone?'0':'8')?>px 0px 0px 0px;
- margin: 0px 0px 0px 8px;
- text-decoration: none;
- color: white;
- font-weight: bold;
- }
- /* ============================================================================== */
- /* Menu gauche */
- /* ============================================================================== */
- td.vmenu {
- margin-<?php print $right; ?>: 2px;
- padding: 0px;
- padding-bottom: 0px;
- padding-top: 1px;
- width: 174px;
- }
- .vmenu {
- margin-left: 4px;
- <?php if (GETPOST("optioncss") == 'print') { ?>
- display: none;
- <?php } ?>
- }
- a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; }
- font.vmenudisabled { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #93a5aa; }
- a.vsmenu:link, a.vsmenu:visited, a.vsmenu:hover, a.vsmenu:active { font-size:<?php print ($fontsize-1) ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 6px; }
- font.vsmenudisabled { font-size:<?php print ($fontsize-1) ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #93a5aa; margin: 1px 1px 1px 6px; }
- a.help:link, a.help:visited, a.help:hover, a.help:active { font-size:<?php print $fontsizesmaller ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #666666; }
- div.blockvmenupair, div.blockvmenuimpair
- {
- width:174px;
- font-family: <?php print $fontlist ?>;
- color: #000000;
- text-align: <?php print $left; ?>;
- text-decoration: none;
- padding-left: 5px;
- padding-right: 1px;
- padding-top: 3px;
- padding-bottom: 3px;
- margin: 1px 0px 8px 2px;
- /* DYN */
- background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- border-left: 1px solid #CCCCCC;
- border-right: 1px solid #BBBBBB;
- border-bottom: 1px solid #BBBBBB;
- border-radius: 5px;
- -moz-border-radius: 5px;
- -moz-box-shadow: 4px 4px 4px #CCC;
- -webkit-box-shadow: 4px 4px 4px #CCC;
- box-shadow: 4px 4px 4px #CCC;
- }
- div.blockvmenusearch
- {
- width:174px;
- font-family: <?php print $fontlist ?>;
- color: #000000;
- text-align: <?php print $left; ?>;
- text-decoration: none;
- padding-left: 5px;
- padding-right: 1px;
- padding-top: 3px;
- padding-bottom: 3px;
- margin: 6px 0px 8px 2px;
- background: #E3E6E8;
- /* DYN */
- background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- border-left: 1px solid #CCCCCC;
- border-right: 1px solid #BBBBBB;
- border-bottom: 1px solid #BBBBBB;
- border-radius: 5px;
- -moz-border-radius: 5px;
- -moz-box-shadow: 4px 4px 4px #CCC;
- -webkit-box-shadow: 4px 4px 4px #CCC;
- box-shadow: 4px 4px 4px #CCC;
- }
- div.blockvmenubookmarks
- {
- width:174px;
- border-right: 1px solid #555555;
- border-bottom: 1px solid #555555;
- font-family: <?php print $fontlist ?>;
- color: #000000;
- text-align: <?php print $left; ?>;
- text-decoration: none;
- padding-left: 5px;
- padding-right: 1px;
- padding-top: 3px;
- padding-bottom: 3px;
- margin: 6px 0px 8px 2px;
- background: #E3E6E8;
- /* DYN */
- background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 85%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- border-left: 1px solid #CCCCCC;
- border-right: 1px solid #BBBBBB;
- border-bottom: 1px solid #BBBBBB;
- border-radius: 5px;
- -moz-border-radius: 5px;
- -moz-box-shadow: 4px 4px 4px #CCC;
- -webkit-box-shadow: 4px 4px 4px #CCC;
- box-shadow: 4px 4px 4px #CCC;
- }
- div.blockvmenuhelp
- {
- <?php if (empty($conf->browser->phone)) { ?>
- width:174px;
- font-family: <?php print $fontlist ?>;
- color: #000000;
- text-align: center;
- text-decoration: none;
- padding-left: 0px;
- padding-right: 3px;
- padding-top: 3px;
- padding-bottom: 3px;
- margin: 4px 0px 0px 0px;
- <?php } else { ?>
- display: none;
- <?php } ?>
- }
- td.barre {
- border-right: 1px solid #000000;
- border-bottom: 1px solid #000000;
- background: #b3c5cc;
- font-family: <?php print $fontlist ?>;
- color: #000000;
- text-align: <?php print $left; ?>;
- text-decoration: none;
- }
- td.barre_select {
- background: #b3c5cc;
- color: #000000;
- }
- td.photo {
- background: #F4F4F4;
- color: #000000;
- border: 1px solid #b3c5cc;
- }
- /* ============================================================================== */
- /* Panes for Main */
- /* ============================================================================== */
- /*
- * PANES and CONTENT-DIVs
- */
- #mainContent, #leftContent .ui-layout-pane {
- padding: 0px;
- overflow: auto;
- }
- #mainContent, #leftContent .ui-layout-center {
- padding: 0px;
- position: relative; /* contain floated or positioned elements */
- overflow: auto; /* add scrolling to content-div */
- }
- /* ============================================================================== */
- /* Toolbar for ECM or Filemanager */
- /* ============================================================================== */
- .toolbar {
- /* DYN */
- background-image: linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 15%, rgb(<?php echo $colorback2; ?>) 100%) !important;
- background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 15%, rgb(<?php echo $colorback2; ?>) 100%) !important;
- background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 15%, rgb(<?php echo $colorback2; ?>) 100%) !important;
- background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 15%, rgb(<?php echo $colorback2; ?>) 100%) !important;
- background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorback1; ?>) 15%, rgb(<?php echo $colorback2; ?>) 100%) !important;
- border: 1px solid #BBB !important;
- }
- .toolbarbutton {
- margin-top: 2px;
- margin-left: 4px;
- /* border: solid 1px #AAAAAA;
- width: 34px;*/
- height: 34px;
- /* background: #FFFFFF;*/
- }
- /* ============================================================================== */
- /* Panes for ECM or Filemanager */
- /* ============================================================================== */
- #containerlayout .layout-with-no-border {
- border: 0 !important;
- border-width: 0 !important;
- }
- #containerlayout .layout-padding {
- padding: 2px !important;
- }
- /*
- * PANES and CONTENT-DIVs
- */
- #containerlayout .ui-layout-pane { /* all 'panes' */
- background: #FFF;
- border: 1px solid #BBB;
- /* DO NOT add scrolling (or padding) to 'panes' that have a content-div,
- otherwise you may get double-scrollbars - on the pane AND on the content-div
- */
- padding: 0px;
- overflow: auto;
- }
- /* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
- #containerlayout .ui-layout-content {
- padding: 10px;
- position: relative; /* contain floated or positioned elements */
- overflow: auto; /* add scrolling to content-div */
- }
- /*
- * RESIZER-BARS
- */
- .ui-layout-resizer { /* all 'resizer-bars' */
- width: <?php echo (empty($conf->browser->phone)?'8':'24'); ?>px !important;
- }
- .ui-layout-resizer-hover { /* affects both open and closed states */
- }
- /* NOTE: It looks best when 'hover' and 'dragging' are set to the same color,
- otherwise color shifts while dragging when bar can't keep up with mouse */
- /*.ui-layout-resizer-open-hover ,*/ /* hover-color to 'resize' */
- .ui-layout-resizer-dragging { /* resizer beging 'dragging' */
- background: #DDD;
- width: <?php echo (empty($conf->browser->phone)?'8':'24'); ?>px;
- }
- .ui-layout-resizer-dragging { /* CLONED resizer being dragged */
- border-left: 1px solid #BBB;
- border-right: 1px solid #BBB;
- }
- /* NOTE: Add a 'dragging-limit' color to provide visual feedback when resizer hits min/max size limits */
- .ui-layout-resizer-dragging-limit { /* CLONED resizer at min or max size-limit */
- background: #E1A4A4; /* red */
- }
- .ui-layout-resizer-closed {
- background-color: #DDDDDD;
- }
- .ui-layout-resizer-closed:hover {
- background-color: #EEDDDD;
- }
- .ui-layout-resizer-sliding { /* resizer when pane is 'slid open' */
- opacity: .10; /* show only a slight shadow */
- filter: alpha(opacity=10);
- }
- .ui-layout-resizer-sliding-hover { /* sliding resizer - hover */
- opacity: 1.00; /* on-hover, show the resizer-bar normally */
- filter: alpha(opacity=100);
- }
- /* sliding resizer - add 'outside-border' to resizer on-hover */
- /* this sample illustrates how to target specific panes and states */
- /*.ui-layout-resizer-north-sliding-hover { border-bottom-width: 1px; }
- .ui-layout-resizer-south-sliding-hover { border-top-width: 1px; }
- .ui-layout-resizer-west-sliding-hover { border-right-width: 1px; }
- .ui-layout-resizer-east-sliding-hover { border-left-width: 1px; }
- */
- /*
- * TOGGLER-BUTTONS
- */
- .ui-layout-toggler {
- <?php if (empty($conf->browser->phone)) { ?>
- border-top: 1px solid #AAA; /* match pane-border */
- border-right: 1px solid #AAA; /* match pane-border */
- border-bottom: 1px solid #AAA; /* match pane-border */
- background-color: #DDD;
- top: 5px !important;
- <?php } else { ?>
- diplay: none;
- <?php } ?>
- }
- .ui-layout-toggler-open {
- height: 54px !important;
- width: <?php echo (empty($conf->browser->phone)?'7':'22'); ?>px !important;
- -moz-border-radius:0px 10px 10px 0px;
- -webkit-border-radius:0px 10px 10px 0px;
- border-radius:0px 10px 10px 0px;
- }
- .ui-layout-toggler-closed {
- height: <?php echo (empty($conf->browser->phone)?'54':'2'); ?>px !important;
- width: <?php echo (empty($conf->browser->phone)?'7':'22'); ?>px !important;
- -moz-border-radius:0px 10px 10px 0px;
- -webkit-border-radius:0px 10px 10px 0px;
- border-radius:0px 10px 10px 0px;
- }
- .ui-layout-toggler .content { /* style the text we put INSIDE the togglers */
- color: #666;
- font-size: 12px;
- font-weight: bold;
- width: 100%;
- padding-bottom: 0.35ex; /* to 'vertically center' text inside text-span */
- }
- /* hide the toggler-button when the pane is 'slid open' */
- .ui-layout-resizer-sliding ui-layout-toggler {
- display: none;
- }
- .ui-layout-north {
- height: <?php print (empty($conf->browser->phone)?'54':'21'); ?>px !important;
- }
- /* ECM */
- #containerlayout .ecm-layout-pane { /* all 'panes' */
- background: #FFF;
- border: 1px solid #BBB;
- /* DO NOT add scrolling (or padding) to 'panes' that have a content-div,
- otherwise you may get double-scrollbars - on the pane AND on the content-div
- */
- padding: 0px;
- overflow: auto;
- }
- /* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
- #containerlayout .ecm-layout-content {
- padding: 10px;
- position: relative; /* contain floated or positioned elements */
- overflow: auto; /* add scrolling to content-div */
- }
- .ecm-layout-toggler {
- border-top: 1px solid #AAA; /* match pane-border */
- border-right: 1px solid #AAA; /* match pane-border */
- border-bottom: 1px solid #AAA; /* match pane-border */
- background-color: #CCC;
- }
- .ecm-layout-toggler-open {
- height: 48px !important;
- width: 6px !important;
- -moz-border-radius:0px 10px 10px 0px;
- -webkit-border-radius:0px 10px 10px 0px;
- border-radius:0px 10px 10px 0px;
- }
- .ecm-layout-toggler-closed {
- height: 48px !important;
- width: 6px !important;
- }
- .ecm-layout-toggler .content { /* style the text we put INSIDE the togglers */
- color: #666;
- font-size: 12px;
- font-weight: bold;
- width: 100%;
- padding-bottom: 0.35ex; /* to 'vertically center' text inside text-span */
- }
- #ecm-layout-west-resizer {
- width: 6px !important;
- }
- .ecm-layout-resizer { /* all 'resizer-bars' */
- background: #EEEEEE;
- border: 1px solid #BBB;
- border-width: 0;
- }
- .ecm-layout-resizer-closed {
- background-color: #EEEEEE;
- }
- .ecm-in-layout-center {
- border-left: 1px !important;
- border-right: 0px !important;
- border-top: 0px !important;
- }
- .ecm-in-layout-south {
- border-left: 0px !important;
- border-right: 0px !important;
- border-bottom: 0px !important;
- padding: 4px 0 4px 4px !important;
- }
- /* ============================================================================== */
- /* Onglets */
- /* ============================================================================== */
- div.tabs {
- top: 20px;
- margin: 1px 0px 0px 0px;
- padding: 0px 6px 0px 0px;
- text-align: <?php print $left; ?>;
- }
- div.tabBar {
- color: #234046;
- padding-top: 9px;
- padding-left: 8px;
- padding-right: 8px;
- padding-bottom: 8px;
- margin: 0px 0px 14px 0px;
- -moz-border-radius:6px;
- -webkit-border-radius: 6px;
- border-radius: 6px;
- border-right: 1px solid #CCCCCC;
- border-bottom: 1px solid #CCCCCC;
- border-left: 1px solid #D0D0D0;
- border-top: 1px solid #D8D8D8;
- /* background: #dee7ec url(<?php echo dol_buildpath($path.'/theme/eldy/img/tab_background.png',1) ?>) repeat-x; */
- /* DYN */
- background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktabcard1; ?>) 25%, rgb(<?php echo $colorbacktabcard2; ?>) 100%);
- background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktabcard1; ?>) 25%, rgb(<?php echo $colorbacktabcard2; ?>) 100%);
- background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktabcard1; ?>) 25%, rgb(<?php echo $colorbacktabcard2; ?>) 100%);
- background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktabcard1; ?>) 25%, rgb(<?php echo $colorbacktabcard2; ?>) 100%);
- background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktabcard1; ?>) 25%, rgb(<?php echo $colorbacktabcard2; ?>) 100%);
- -moz-box-shadow: 4px 4px 4px #CCC;
- -webkit-box-shadow: 4px 4px 4px #CCC;
- box-shadow: 4px 4px 4px #CCC;
- }
- div.tabsAction {
- margin: 20px 0em 10px 0em;
- padding: 0em 0em;
- text-align: right;
- }
- a.tabTitle {
- background: #657090;
- color: white;
- font-family: <?php print $fontlist ?>;
- font-weight: normal;
- padding: 0px 6px;
- margin: 0px 6px;
- text-decoration: none;
- white-space: nowrap;
- }
- a.tab:link {
- background: #dee7ec;
- color: #434956;
- font-family: <?php print $fontlist ?>;
- padding: 0px 6px;
- margin: 0em 0.2em;
- text-decoration: none;
- white-space: nowrap;
- -moz-border-radius:6px 6px 0px 0px;
- -webkit-border-radius:6px 6px 0px 0px;
- border-radius:6px 6px 0px 0px;
- border-<?php print $right; ?>: 1px solid #555555;
- border-<?php print $left; ?>: 1px solid #D8D8D8;
- border-top: 1px solid #D8D8D8;
- /* DYN */
- background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- }
- a.tab:visited {
- background: #dee7ec;
- color: #434956;
- font-family: <?php print $fontlist ?>;
- padding: 0px 6px;
- margin: 0em 0.2em;
- text-decoration: none;
- white-space: nowrap;
- -moz-border-radius:6px 6px 0px 0px;
- -webkit-border-radius:6px 6px 0px 0px;
- border-radius:6px 6px 0px 0px;
- border-<?php print $right; ?>: 1px solid #555555;
- border-<?php print $left; ?>: 1px solid #D8D8D8;
- border-top: 1px solid #D8D8D8;
- /* DYN */
- background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- }
- a.tab#active {
- background: white;
- font-family: <?php print $fontlist ?>;
- color: #434956;
- padding: 0px 6px;
- margin: 0em 0.2em;
- text-decoration: none;
- -moz-border-radius:6px 6px 0px 0px;
- -webkit-border-radius:6px 6px 0px 0px;
- border-radius:6px 6px 0px 0px;
- border-<?php print $right; ?>: 1px solid #555555;
- border-<?php print $left; ?>: 1px solid #D8D8D8;
- border-top: 1px solid #D8D8D8;
- /* border-bottom: 1px solid white; */
- /* DYN */
- /*background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- */
- border-bottom: 1px solid rgb(<?php echo $colorbacktabactive; ?>);
- background-color: rgb(<?php echo $colorbacktabactive; ?>);
- }
- a.tab:hover {
- background: white;
- color: #434956;
- font-family: <?php print $fontlist ?>;
- padding: 0px 6px;
- margin: 0em 0.2em;
- text-decoration: none;
- -moz-border-radius:6px 6px 0px 0px;
- -webkit-border-radius:6px 6px 0px 0px;
- border-radius:6px 6px 0px 0px;
- border-<?php print $right; ?>: 1px solid #555555;
- border-<?php print $left; ?>: 1px solid #D8D8D8;
- border-top: 1px solid #D8D8D8;
- /* DYN */
- background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktab1; ?>) 35%, rgb(<?php echo $colorbacktab2; ?>) 100%);
- }
- a.tabimage {
- color: #434956;
- font-family: <?php print $fontlist ?>;
- text-decoration: none;
- white-space: nowrap;
- }
- td.tab {
- background: #dee7ec;
- }
- span.tabspan {
- background: #dee7ec;
- color: #434956;
- font-family: <?php print $fontlist ?>;
- padding: 0px 6px;
- margin: 0em 0.2em;
- text-decoration: none;
- white-space: nowrap;
- -moz-border-radius:6px 6px 0px 0px;
- -webkit-border-radius:6px 6px 0px 0px;
- border-radius:6px 6px 0px 0px;
- border-<?php print $right; ?>: 1px solid #555555;
- border-<?php print $left; ?>: 1px solid #D8D8D8;
- border-top: 1px solid #D8D8D8;
- }
- /* ============================================================================== */
- /* Boutons actions */
- /* ============================================================================== */
- .butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active {
- font-family: <?php print $fontlist ?>;
- font-weight: bold;
- background: white;
- border: 1px solid #8CACBB;
- color: #434956;
- text-decoration: none;
- white-space: nowrap;
- padding: 0.4em 0.7em;
- margin: 0em 0.7em;
- -moz-border-radius:0px 5px 0px 5px;
- -webkit-border-radius:0px 5px 0px 5px;
- border-radius:0px 5px 0px 5px;
- -moz-box-shadow: 4px 4px 4px #CCC;
- -webkit-box-shadow: 4px 4px 4px #CCC;
- box-shadow: 4px 4px 4px #CCC;
- }
- .butAction:hover {
- background: #dee7ec;
- }
- .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active {
- border: 1px solid #997777;
- }
- .butActionDelete:hover {
- background: #FFe7ec;
- }
- .butActionRefused {
- font-family: <?php print $fontlist ?> !important;
- font-weight: bold !important;
- background: white !important;
- border: 1px solid #AAAAAA !important;
- color: #AAAAAA !important;
- text-decoration: none !important;
- white-space: nowrap !important;
- cursor: not-allowed;
- padding: 0.4em 0.7em;
- margin: 0em 0.7em;
- -moz-border-radius:0px 5px 0px 5px;
- -webkit-border-radius:0px 5px 0px 5px;
- border-radius:0px 5px 0px 5px;
- -moz-box-shadow: 4px 4px 4px #CCC;
- -webkit-box-shadow: 4px 4px 4px #CCC;
- box-shadow: 4px 4px 4px #CCC;
- }
- span.butAction, span.butActionDelete {
- cursor: pointer;
- }
- /* ============================================================================== */
- /* Tables */
- /* ============================================================================== */
- #undertopmenu {
- /* background-image: url("<?php echo dol_buildpath($path.'/theme/eldy/img/gradient.gif',1) ?>"); */
- background-repeat: repeat-x;
- margin-top: 8px;
- }
- .paddingrightonly {
- border-collapse: collapse;
- border: 0px;
- margin-left: 0px;
- spacing-left: 0px;
- padding-left: 0px;
- padding-right: 4px;
- }
- .nocellnopadd {
- list-style-type:none;
- margin: 0px;
- padding: 0px;
- }
- .notopnoleft {
- border-collapse: collapse;
- border: 0px;
- padding-top: 0px;
- padding-<?php print $left; ?>: 0px;
- padding-<?php print $right; ?>: 16px;
- padding-bottom: 4px;
- margin-right: 0px 0px;
- }
- .notopnoleftnoright {
- border-collapse: collapse;
- border: 0px;
- padding-top: 0px;
- padding-left: 0px;
- padding-right: 0px;
- padding-bottom: 4px;
- margin: 0px 0px 0px 0px;
- }
- table.border {
- border: 1px solid #9CACBB;
- border-collapse: collapse;
- }
- table.border td {
- padding: 1px 2px 1px 1px;
- border: 1px solid #9CACBB;
- border-collapse: collapse;
- }
- td.border {
- border-top: 1px solid #000000;
- border-right: 1px solid #000000;
- border-bottom: 1px solid #000000;
- border-left: 1px solid #000000;
- }
- /* Main boxes */
- table.noborder, table.formdoc {
- width: 100%;
- border-collapse: separate !important;
- border-spacing: 0px;
- border-right-width: 0px;
- border-right-color: #DDDDDD;
- border-right-style: solid;
- border-left-width: 1px;
- border-left-color: #DDDDDD;
- border-left-style: solid;
- border-bottom-width: 1px;
- border-bottom-color: #DDDDDD;
- border-bottom-style: solid;
- margin: 0px 0px 2px 0px;
- /*padding: 1px 2px 1px 2px;*/
- -moz-box-shadow: 4px 4px 4px #CCC;
- -webkit-box-shadow: 4px 4px 4px #CCC;
- box-shadow: 4px 4px 4px #CCC;
- -moz-border-radius: 0.2em;
- -webkit-border-radius: 0.2em;
- border-radius: 0.2em;
- }
- table.noborder tr {
- border-top-color: #FEFEFE;
- border-right-width: 1px;
- border-right-color: #BBBBBB;
- border-right-style: solid;
- border-left-width: 1px;
- border-left-color: #BBBBBB;
- border-left-style: solid;
- height: 18px;
- }
- table.noborder th, table.noborder td {
- padding: 1px 2px 1px 3px; /* t r b l */
- }
- table.nobordernopadding {
- border-collapse: collapse !important;
- border: 0px;
- }
- table.nobordernopadding tr {
- border: 0px !important;
- padding: 0px 0px;
- }
- table.nobordernopadding td {
- border: 0px !important;
- padding: 0px 0px;
- }
- /* For lists */
- table.liste {
- width: 100%;
- border-collapse: collapse;
- border-top-color: #FEFEFE;
- border-right-width: 1px;
- border-right-color: #BBBBBB;
- border-right-style: solid;
- border-left-width: 1px;
- border-left-color: #CCCCCC;
- border-left-style: solid;
- border-bottom-width: 1px;
- border-bottom-color: #BBBBBB;
- border-bottom-style: solid;
- margin-bottom: 2px;
- margin-top: 0px;
- -moz-box-shadow: 4px 4px 4px #CCC;
- -webkit-box-shadow: 4px 4px 4px #CCC;
- box-shadow: 4px 4px 4px #CCC;
- }
- table.liste td {
- padding-right: 2px;
- }
- tr.liste_titre, tr.liste_titre_sel
- {
- height: 20px !important;
- background-repeat: repeat-x;
- /* DYN */
- background-image: linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
- background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
- background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
- background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
- background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
- color: #234046;
- font-family: <?php print $fontlist ?>;
- font-weight: normal;
- border-bottom: 1px solid #FDFFFF;
- white-space: nowrap;
- text-align: <?php echo $left; ?>;
- }
- tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre
- {
- /*border-top: 1px solid #DDDDDD;*/
- font-family: <?php print $fontlist ?>;
- font-weight: normal;
- border-bottom: 1px solid #FDFFFF;
- white-space: nowrap;
- }
- tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel
- {
- /* color: #FFFFFF !important; */
- font-family: <?php print $fontlist ?>;
- font-weight: normal;
- border-bottom: 1px solid #FDFFFF;
- white-space: nowrap;
- text-decoration: underline;
- }
- input.liste_titre {
- /*background: #7699A9;*/
- /*background-repeat: repeat-x;*/
- background: transparent;
- border: 0px;
- }
- tr.liste_total {
- background: #F0F0F0;
- }
- tr.liste_total td {
- border-top: 1px solid #DDDDDD;
- color: #332266;
- font-weight: normal;
- white-space: nowrap;
- }
- .impair {
- /* background: #d0d4d7; */
- /* background: #f6f6f6; */
- /* DYN */
- background: linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
- background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
- background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
- background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
- background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
- font-family: <?php print $fontlist ?>;
- border: 0px;
- margin-bottom: 1px;
- }
- /*
- .impair:hover {
- background: #c0c4c7;
- border: 0px;
- }
- */
- .pair {
- /* background: #e6ebed; */
- /* background: #ffffff; */
- /* DYN */
- background: linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
- background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
- background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
- background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
- background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
- font-family: <?php print $fontlist ?>;
- border: 0px;
- margin-bottom: 1px;
- }
- /*
- .pair:hover {
- background: #c0c4c7;
- border: 0px;
- }
- */
- /*
- * Boxes
- */
- .boxtable {
- -moz-box-shadow: 4px 4px 4px #CCC;
- -webkit-box-shadow: 4px 4px 4px #CCC;
- box-shadow: 4px 4px 4px #CCC;
- }
- .box {
- padding-right: 0px;
- padding-left: 0px;
- padding-bottom: 4px;
- }
- tr.box_titre {
- height: 20px;
- background: #7699A9;
- /* DYN */
- background-image: linear-gradient(bottom, rgb(<?php echo $colorbackttitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
- background-image: -o-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
- background-image: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
- background-image: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
- background-image: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacktitle1; ?>) 15%, rgb(<?php echo $colorbacktitle2; ?>) 100%);
- background-repeat: repeat-x;
- color: #334444;
- font-family: <?php print $fontlist ?>, sans-serif;
- font-weight: normal;
- border-bottom: 1px solid #FDFFFF;
- white-space: nowrap;
- }
- tr.box_impair {
- /* background: #e6ebed; */
- /* background: #f6f6f6; */
- /* DYN */
- background: linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
- background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
- background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
- background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
- background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
- font-family: <?php print $fontlist ?>;
- }
- tr.box_pair {
- /* background: #d0d4d7; */
- /* background: #ffffff; */
- /* DYN */
- background: linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
- background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
- background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
- background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
- background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
- font-family: <?php print $fontlist ?>;
- }
- tr.fiche {
- font-family: <?php print $fontlist ?>;
- }
- /*
- * Ok, Warning, Error
- */
- .ok { color: #114466; }
- .warning { color: #887711; }
- .error { color: #550000; font-weight: bold; }
- td.highlights { background: #f9c5c6; }
- div.ok {
- color: #114466;
- }
- div.warning {
- color: #997711;
- padding: 0.2em 0.2em 0.2em 0.2em;
- margin: 0.5em 0em 0.5em 0em;
- border: 1px solid #e0e0d0;
- -moz-border-radius:6px;
- -webkit-border-radius: 6px;
- border-radius: 6px;
- background: #efefd4;
- }
- div.error {
- color: #550000; font-weight: bold;
- padding: 0.2em 0.2em 0.2em 0.2em;
- margin: 0.5em 0em 0.5em 0em;
- border: 1px solid #DC9CAB;
- -moz-border-radius:6px;
- -webkit-border-radius: 6px;
- border-radius: 6px;
- background: #EFCFCF;
- }
- /* Info admin */
- div.info {
- color: #807050;
- padding: 0.2em 0.2em 0.2em 0.2em;
- margin: 0.5em 0em 0.5em 0em;
- border: 1px solid #DFDFA0;
- -moz-border-radius:6px;
- -webkit-border-radius: 6px;
- border-radius:6px;
- background: #EFEFDA;
- }
- /*
- * Liens Payes/Non payes
- */
- a.normal:link { font-weight: normal }
- a.normal:visited { font-weight: normal }
- a.normal:active { font-weight: normal }
- a.normal:hover { font-weight: normal }
- a.impayee:link { font-weight: bold; color: #550000; }
- a.impayee:visited { font-weight: bold; color: #550000; }
- a.impayee:active { font-weight: bold; color: #550000; }
- a.impayee:hover { font-weight: bold; color: #550000; }
- /*
- * Other
- */
- .fieldrequired { font-weight: bold; color: #000055; }
- .photo {
- border: 0px;
- /* filter:alpha(opacity=55); */
- /* opacity:.55; */
- }
- div.titre {
- font-family: <?php print $fontlist ?>;
- font-weight: bold;
- color: rgb(<?php print $colortext; ?>);
- text-decoration: none;
- text-shadow: 2px 2px 4px #BFBFBF;
- }
- /* ============================================================================== */
- /* Formulaire confirmation (When Ajax JQuery is used) */
- /* ============================================================================== */
- .ui-dialog-titlebar {
- }
- .ui-dialog-content {
- font-size: <?php print $fontsize; ?>px !important;
- }
- /* ============================================================================== */
- /* Formulaire confirmation (When HTML is used) */
- /* ============================================================================== */
- table.valid {
- border-top: solid 1px #E6E6E6;
- border-<?php print $left; ?>: solid 1px #E6E6E6;
- border-<?php print $right; ?>: solid 1px #444444;
- border-bottom: solid 1px #555555;
- padding-top: 0px;
- padding-left: 0px;
- padding-right: 0px;
- padding-bottom: 0px;
- margin: 0px 0px;
- background: #D5BAA8;
- }
- .validtitre {
- background: #D5BAA8;
- font-weight: bold;
- }
- /* ============================================================================== */
- /* Tooltips */
- /* ============================================================================== */
- #tooltip {
- position: absolute;
- width: <?php print dol_size(450,'width'); ?>px;
- border-top: solid 1px #BBBBBB;
- border-<?php print $left; ?>: solid 1px #BBBBBB;
- border-<?php print $right; ?>: solid 1px #444444;
- border-bottom: solid 1px #444444;
- padding: 2px;
- z-index: 3000;
- background-color: #FFFFF0;
- opacity: 1;
- -moz-border-radius:6px;
- -webkit-border-radius: 6px;
- border-radius: 6px;
- }
- /* ============================================================================== */
- /* Calendar */
- /* ============================================================================== */
- img.datecallink { padding-left: 2px !important; padding-right: 2px !important;}
- .ui-datepicker-trigger {
- vertical-align: middle;
- cursor: pointer;
- }
- .bodyline {
- -moz-border-radius: 8px;
- -webkit-border-radius: 8px;
- border-radius: 8px;
- border: 1px #E4ECEC outset;
- padding: 0px;
- margin-bottom: 5px;
- }
- table.dp {
- width: 180px;
- background-color: #FFFFFF;
- border-top: solid 2px #DDDDDD;
- border-<?php print $left; ?>: solid 2px #DDDDDD;
- border-<?php print $right; ?>: solid 1px #222222;
- border-bottom: solid 1px #222222;
- padding: 0px;
- border-spacing: 0px;
- border-collapse: collapse;
- }
- .dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
- /* Barre titre */
- .dpHead,.tpHead,.tpHour td:Hover .tpHead{
- font-weight:bold;
- background-color:#b3c5cc;
- color:white;
- font-size:11px;
- cursor:auto;
- }
- /* Barre navigation */
- .dpButtons,.tpButtons {
- text-align:center;
- background-color:#617389;
- color:#FFFFFF;
- font-weight:bold;
- cursor:pointer;
- }
- .dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
- .dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
- .dpExplanation{ font-weight:normal; font-size:11px;}
- .dpWeek td{text-align:center}
- .dpToday,.dpReg,.dpSelected{
- cursor:pointer;
- }
- .dpToday{font-weight:bold; color:black; background-color:#DDDDDD;}
- .dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
- /* Jour courant */
- .dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
- .tpHour{border-top:1px solid #DDDDDD; border-right:1px solid #DDDDDD;}
- .tpHour td {border-left:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;}
- .tpHour td:Hover {background-color:black;color:white;}
- .tpMinute {margin-top:5px;}
- .tpMinute td:Hover {background-color:black; color:white; }
- .tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
- /* Bouton X fermer */
- .dpInvisibleButtons
- {
- border-style:none;
- background-color:transparent;
- padding:0px;
- font-size:9px;
- border-width:0px;
- color:#0B63A2;
- vertical-align:middle;
- cursor: pointer;
- }
- /* ============================================================================== */
- /* Afficher/cacher */
- /* ============================================================================== */
- div.visible {
- display: block;
- }
- div.hidden {
- display: none;
- }
- tr.visible {
- display: block;
- }
- td.hidden {
- display: none;
- }
- /* ============================================================================== */
- /* Module agenda */
- /* ============================================================================== */
- .cal_other_month { background: #DDDDDD; border: solid 1px #ACBCBB; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
- .cal_past_month { background: #EEEEEE; border: solid 1px #ACBCBB; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
- .cal_current_month { background: #FFFFFF; border: solid 1px #ACBCBB; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
- .cal_today { background: #FFFFFF; border: solid 2px #6C7C7B; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
- table.cal_event { border-collapse: collapse; margin-bottom: 1px; -webkit-border-radius: 6px; border-radius: 6px; }
- table.cal_event td { border: 0px; padding-<?php print $left; ?>: 0px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
- .cal_event a:link { color: #111111; font-size: 11px; font-weight: normal !important; }
- .cal_event a:visited { color: #111111; font-size: 11px; font-weight: normal !important; }
- .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; }
- /* ============================================================================== */
- /* Afficher/cacher */
- /* ============================================================================== */
- #evolForm input.error {
- font-weight: bold;
- border: solid 1px #FF0000;
- padding: 1px 1px 1px 1px;
- margin: 1px 1px 1px 1px;
- }
- #evolForm input.focuserr {
- font-weight: bold;
- background: #FAF8E8;
- color: black;
- border: solid 1px #FF0000;
- padding: 1px 1px 1px 1px;
- margin: 1px 1px 1px 1px;
- }
- #evolForm input.focus { /*** Mise en avant des champs en cours d'utilisation ***/
- background: #FAF8E8;
- color: black;
- border: solid 1px #000000;
- padding: 1px 1px 1px 1px;
- margin: 1px 1px 1px 1px;
- }
- #evolForm input.normal { /*** Retour a l'etat normal apres l'utilisation ***/
- background: white;
- color: black;
- border: solid 1px white;
- padding: 1px 1px 1px 1px;
- margin: 1px 1px 1px 1px;
- }
- /* ============================================================================== */
- /* Ajax - Liste deroulante de l'autocompletion */
- /* ============================================================================== */
- .ui-autocomplete-loading { background: white url(<?php echo dol_buildpath($path.'/theme/eldy/img/working.gif',1) ?>) right center no-repeat; }
- .ui-autocomplete {
- position:absolute;
- width:auto;
- font-size: 1.0em;
- background-color:white;
- border:1px solid #888;
- margin:0px;
- padding:0px;
- }
- .ui-autocomplete ul {
- list-style-type:none;
- margin:0px;
- padding:0px;
- }
- .ui-autocomplete ul li.selected { background-color: #D3E5EC;}
- .ui-autocomplete ul li {
- list-style-type:none;
- display:block;
- margin:0;
- padding:2px;
- height:18px;
- cursor:pointer;
- }
- /* ============================================================================== */
- /* jQuery - jeditable */
- /* ============================================================================== */
- .editkey_textarea, .editkey_ckeditor, .editkey_text, .editkey_numeric, .editkey_select {
- background: url(<?php echo dol_buildpath($path.'/theme/eldy/img/edit.png',1) ?>) right top no-repeat;
- cursor: pointer;
- }
- .editkey_datepicker {
- background: url(<?php echo dol_buildpath($path.'/theme/eldy/img/calendar.png',1) ?>) right center no-repeat;
- cursor: pointer;
- }
- .editval_textarea:hover, .editval_ckeditor:hover, .editval_text:hover, .editval_numeric:hover, .editval_select:hover, .editval_datepicker:hover {
- background: white;
- cursor: pointer;
- }
- .editval_hover {
- background: white;
- }
- /* ============================================================================== */
- /* Admin Menu */
- /* ============================================================================== */
- /* CSS for treeview */
- /* Lien plier /deplier tout */
- .arbre-switch {
- text-align: right;
- padding: 0 5px;
- margin: 0 0 -18px 0;
- }
- /* Arbre */
- ul.arbre {
- padding: 5px 10px;
- }
- /* strong : A modifier en fonction de la balise choisie */
- ul.arbre strong {
- font-weight: normal;
- padding: 0 0 0 20px;
- margin: 0 0 0 -7px;
- background-image: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/branch.gif',1) ?>);
- background-repeat: no-repeat;
- background-position: 1px 50%;
- }
- ul.arbre strong.arbre-plier {
- background-image: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/plus.gif',1) ?>);
- cursor: pointer;
- }
- ul.arbre strong.arbre-deplier {
- background-image: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/minus.gif',1) ?>);
- cursor: pointer;
- }
- ul.arbre ul {
- padding: 0;
- margin: 0;
- }
- ul.arbre li {
- padding: 0;
- margin: 0;
- list-style: none;
- }
- /* This is to create an indent */
- ul.arbre li li {
- margin: 0 0 0 16px;
- }
- /* Classe pour masquer */
- .hide {
- display: none;
- }
- img.menuNew
- {
- display:block;
- border:0px;
- }
- img.menuEdit
- {
- border: 0px;
- display: block;
- }
- img.menuDel
- {
- display:none;
- border: 0px;
- }
- div.menuNew
- {
- margin-top:-20px;
- margin-<?php print $left; ?>:270px;
- height:20px;
- padding:0px;
- width:30px;
- position:relative;
- }
- div.menuEdit
- {
- margin-top:-15px;
- margin-<?php print $left; ?>:250px;
- height:20px;
- padding:0px;
- width:30px;
- position:relative;
- }
- div.menuDel
- {
- margin-top:-20px;
- margin-<?php print $left; ?>:290px;
- height:20px;
- padding:0px;
- width:30px;
- position:relative;
- }
- div.menuFleche
- {
- margin-top:-16px;
- margin-<?php print $left; ?>:320px;
- height:20px;
- padding:0px;
- width:30px;
- position:relative;
- }
- /* ============================================================================== */
- /* Show Excel tabs */
- /* ============================================================================== */
- .table_data
- {
- border-style:ridge;
- border:1px solid;
- }
- .tab_base
- {
- background:#C5D0DD;
- font-weight:bold;
- border-style:ridge;
- border: 1px solid;
- cursor:pointer;
- }
- .table_sub_heading
- {
- background:#CCCCCC;
- font-weight:bold;
- border-style:ridge;
- border: 1px solid;
- }
- .table_body
- {
- background:#F0F0F0;
- font-weight:normal;
- font-family:sans-serif;
- border-style:ridge;
- border: 1px solid;
- border-spacing: 0px;
- border-collapse: collapse;
- }
- .tab_loaded
- {
- background:#222222;
- color:white;
- font-weight:bold;
- border-style:groove;
- border: 1px solid;
- cursor:pointer;
- }
- /* ============================================================================== */
- /* CSS for color picker */
- /* ============================================================================== */
- A.color, A.color:active, A.color:visited {
- position : relative;
- display : block;
- text-decoration : none;
- width : 10px;
- height : 10px;
- line-height : 10px;
- margin : 0px;
- padding : 0px;
- border : 1px inset white;
- }
- A.color:hover {
- border : 1px outset white;
- }
- A.none, A.none:active, A.none:visited, A.none:hover {
- position : relative;
- display : block;
- text-decoration : none;
- width : 10px;
- height : 10px;
- line-height : 10px;
- margin : 0px;
- padding : 0px;
- cursor : default;
- border : 1px solid #b3c5cc;
- }
- .tblColor {
- display : none;
- }
- .tdColor {
- padding : 1px;
- }
- .tblContainer {
- background-color : #b3c5cc;
- }
- .tblGlobal {
- position : absolute;
- top : 0px;
- left : 0px;
- display : none;
- background-color : #b3c5cc;
- border : 2px outset;
- }
- .tdContainer {
- padding : 5px;
- }
- .tdDisplay {
- width : 50%;
- height : 20px;
- line-height : 20px;
- border : 1px outset white;
- }
- .tdDisplayTxt {
- width : 50%;
- height : 24px;
- line-height : 12px;
- font-family : <?php print $fontlist ?>;
- font-size : 8pt;
- color : black;
- text-align : center;
- }
- .btnColor {
- width : 100%;
- font-family : <?php print $fontlist ?>;
- font-size : 10pt;
- padding : 0px;
- margin : 0px;
- }
- .btnPalette {
- width : 100%;
- font-family : <?php print $fontlist ?>;
- font-size : 8pt;
- padding : 0px;
- margin : 0px;
- }
- /* Style to overwrites JQuery styles */
- .ui-menu .ui-menu-item a {
- text-decoration:none;
- display:block;
- padding:.2em .4em;
- line-height:1.5;
- zoom:1;
- font-weight: normal;
- font-family:<?php echo $fontlist; ?>;
- font-size:1em;
- }
- .ui-widget {
- font-family:<?php echo $fontlist; ?>;
- font-size:<?php echo $fontsize; ?>px;
- }
- .ui-button { margin-left: -1px; }
- .ui-button-icon-only .ui-button-text { height: 8px; }
- .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
- .ui-button-text
- {
- line-height: 1em !important;
- }
- .ui-autocomplete-input { margin: 0; padding: 1px; }
- /* ============================================================================== */
- /* CKEditor */
- /* ============================================================================== */
- .cke_editor table, .cke_editor tr, .cke_editor td
- {
- border: 0px solid #FF0000 !important;
- }
- span.cke_skin_kama { padding: 0 !important; }
- .cke_wrapper { padding: 4px !important; }
- a.cke_dialog_ui_button
- {
- font-family: <?php print $fontlist ?> !important;
- background-image: url(<?php echo $img_button ?>) !important;
- background-position: bottom !important;
- border: 1px solid #ACBCBB !important;
- padding: 0.1em 0.7em !important;
- margin: 0em 0.5em !important;
- -moz-border-radius:0px 5px 0px 5px !important;
- -webkit-border-radius:0px 5px 0px 5px !important;
- border-radius:0px 5px 0px 5px !important;
- -moz-box-shadow: 4px 4px 4px #CCC !important;
- -webkit-box-shadow: 4px 4px 4px #CCC !important;
- box-shadow: 4px 4px 4px #CCC !important;
- }
- .cke_dialog_ui_hbox_last
- {
- vertical-align: bottom ! important;
- }
- /* ============================================================================== */
- /* File upload */
- /* ============================================================================== */
- .template-upload {
- height: 72px !important;
- }
- <?php
- if (is_object($db)) $db->close();
- ?>
|