style.css.php 136 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682
  1. <?php
  2. /* Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
  3. * Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
  4. * Copyright (C) 2007-2017 Regis Houssin <regis.houssin@capnetworks.com>
  5. * Copyright (C) 2011 Philippe Grand <philippe.grand@atoo-net.com>
  6. * Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es>
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. */
  21. /**
  22. * \file htdocs/theme/eldy/style.css.php
  23. * \brief File for CSS style sheet Eldy
  24. */
  25. //if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
  26. //if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
  27. if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
  28. //if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
  29. if (! defined('NOCSRFCHECK')) define('NOCSRFCHECK',1);
  30. if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL',1);
  31. if (! defined('NOLOGIN')) define('NOLOGIN',1); // File must be accessed by logon page so without login
  32. //if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); // We need top menu content
  33. if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML',1);
  34. if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
  35. // Colors
  36. $colorbackhmenu1='80,90,120'; // topmenu
  37. $colorbackvmenu1='255,255,255'; // vmenu
  38. $colortopbordertitle1='120,120,120'; // top border of title
  39. $colorbacktitle1='230,230,233'; // title of tables,list
  40. $colorbacktabcard1='255,255,255'; // card
  41. $colorbacktabactive='234,234,234';
  42. $colorbacklineimpair1='255,255,255'; // line impair
  43. $colorbacklineimpair2='255,255,255'; // line impair
  44. $colorbacklinepair1='248,248,248'; // line pair
  45. $colorbacklinepair2='248,248,248'; // line pair
  46. $colorbacklinepairhover='238,246,252'; // line pair
  47. $colorbackbody='255,255,255';
  48. $colortexttitlenotab='100,60,20';
  49. $colortexttitle='0,0,0';
  50. $colortext='0,0,0';
  51. $colortextlink='0,0,100';
  52. $fontsize='13';
  53. $fontsizesmaller='12';
  54. if (defined('THEME_ONLY_CONSTANT')) return;
  55. session_cache_limiter(FALSE);
  56. require_once '../../main.inc.php';
  57. require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
  58. // Load user to have $user->conf loaded (not done into main because of NOLOGIN constant defined)
  59. if (empty($user->id) && ! empty($_SESSION['dol_login'])) $user->fetch('',$_SESSION['dol_login']);
  60. // Define css type
  61. top_httphead('text/css');
  62. // Important: Following code is to avoid page request by browser and PHP CPU at each Dolibarr page access.
  63. if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate');
  64. else header('Cache-Control: no-cache');
  65. // On the fly GZIP compression for all pages (if browser support it). Must set the bit 3 of constant to 1.
  66. if (isset($conf->global->MAIN_OPTIMIZE_SPEED) && ($conf->global->MAIN_OPTIMIZE_SPEED & 0x04)) { ob_start("ob_gzhandler"); }
  67. if (GETPOST('theme','alpha')) $conf->theme=GETPOST('theme','alpha'); // If theme was forced on URL
  68. $langs->load("main",0,1);
  69. $right=($langs->trans("DIRECTION")=='rtl'?'left':'right');
  70. $left=($langs->trans("DIRECTION")=='rtl'?'right':'left');
  71. $path=''; // This value may be used in future for external module to overwrite theme
  72. $theme='eldy'; // Value of theme
  73. if (! empty($conf->global->MAIN_OVERWRITE_THEME_RES)) { $path='/'.$conf->global->MAIN_OVERWRITE_THEME_RES; $theme=$conf->global->MAIN_OVERWRITE_THEME_RES; }
  74. // Define image path files and other constants
  75. $fontlist='roboto,arial,tahoma,verdana,helvetica'; //$fontlist='helvetica, verdana, arial, sans-serif';
  76. //$fontlist='"open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;';
  77. $img_head='';
  78. $img_button=dol_buildpath($path.'/theme/'.$theme.'/img/button_bg.png',1);
  79. $dol_hide_topmenu=$conf->dol_hide_topmenu;
  80. $dol_hide_leftmenu=$conf->dol_hide_leftmenu;
  81. $dol_optimize_smallscreen=$conf->dol_optimize_smallscreen;
  82. $dol_no_mouse_hover=$conf->dol_no_mouse_hover;
  83. //$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
  84. //$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
  85. //var_dump($user->conf->THEME_ELDY_RGB);
  86. $useboldtitle=(isset($conf->global->THEME_ELDY_USEBOLDTITLE)?$conf->global->THEME_ELDY_USEBOLDTITLE:1);
  87. $borderwith=2;
  88. // Case of option always editable
  89. if (! isset($conf->global->THEME_ELDY_BACKBODY)) $conf->global->THEME_ELDY_BACKBODY=$colorbackbody;
  90. if (! isset($conf->global->THEME_ELDY_TOPMENU_BACK1)) $conf->global->THEME_ELDY_TOPMENU_BACK1=$colorbackhmenu1;
  91. if (! isset($conf->global->THEME_ELDY_BACKTITLE1)) $conf->global->THEME_ELDY_BACKTITLE1=$colorbacktitle1;
  92. if (! isset($conf->global->THEME_ELDY_USE_HOVER)) $conf->global->THEME_ELDY_USE_HOVER=$colorbacklinepairhover;
  93. if (! isset($conf->global->THEME_ELDY_TEXTTITLENOTAB)) $conf->global->THEME_ELDY_TEXTTITLENOTAB=$colortexttitlenotab;
  94. if (! isset($conf->global->THEME_ELDY_TEXTLINK)) $conf->global->THEME_ELDY_TEXTLINK=$colortextlink;
  95. // Case of option editable only if option THEME_ELDY_ENABLE_PERSONALIZED is on
  96. if (empty($conf->global->THEME_ELDY_ENABLE_PERSONALIZED))
  97. {
  98. $conf->global->THEME_ELDY_VERMENU_BACK1='255,255,255'; // vmenu
  99. $conf->global->THEME_ELDY_BACKTABCARD1='255,255,255'; // card
  100. $conf->global->THEME_ELDY_BACKTABACTIVE='234,234,234';
  101. $conf->global->THEME_ELDY_TEXT='0,0,0';
  102. $conf->global->THEME_ELDY_FONT_SIZE1='13';
  103. $conf->global->THEME_ELDY_FONT_SIZE2='12';
  104. }
  105. // Case of option availables only if THEME_ELDY_ENABLE_PERSONALIZED is on
  106. $colorbackhmenu1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TOPMENU_BACK1)?$colorbackhmenu1:$conf->global->THEME_ELDY_TOPMENU_BACK1) :(empty($user->conf->THEME_ELDY_TOPMENU_BACK1)?$colorbackhmenu1:$user->conf->THEME_ELDY_TOPMENU_BACK1);
  107. $colorbackvmenu1 =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_VERMENU_BACK1)?$colorbackvmenu1:$conf->global->THEME_ELDY_VERMENU_BACK1) :(empty($user->conf->THEME_ELDY_VERMENU_BACK1)?$colorbackvmenu1:$user->conf->THEME_ELDY_VERMENU_BACK1);
  108. $colortopbordertitle1=empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TOPBORDER_TITLE1)?$colortopbordertitle1:$conf->global->THEME_ELDY_TOPBORDER_TITLE1) :(empty($user->conf->THEME_ELDY_TOPBORDER_TITLE1)?$colortopbordertitle1:$user->conf->THEME_ELDY_TOPBORDER_TITLE1);
  109. $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);
  110. $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);
  111. $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);
  112. $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);
  113. $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);
  114. $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);
  115. $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);
  116. $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);
  117. $colortexttitlenotab =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TEXTTITLENOTAB)?$colortexttitlenotab:$conf->global->THEME_ELDY_TEXTTITLENOTAB) :(empty($user->conf->THEME_ELDY_TEXTTITLENOTAB)?$colortexttitlenotab:$user->conf->THEME_ELDY_TEXTTITLENOTAB);
  118. $colortexttitle =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TEXTTITLE) ?$colortexttitle:$conf->global->THEME_ELDY_TEXTTITLE) :(empty($user->conf->THEME_ELDY_TEXTTITLE)?$colortexttitle:$user->conf->THEME_ELDY_TEXTTITLE);
  119. $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);
  120. $colortextlink =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_TEXTLINK) ?$colortextlink:$conf->global->THEME_ELDY_TEXTLINK) :(empty($user->conf->THEME_ELDY_TEXTLINK)?$colortextlink:$user->conf->THEME_ELDY_TEXTLINK);
  121. $fontsize =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_FONT_SIZE1) ?$fontsize:$conf->global->THEME_ELDY_FONT_SIZE1) :(empty($user->conf->THEME_ELDY_FONT_SIZE1)?$fontsize:$user->conf->THEME_ELDY_FONT_SIZE1);
  122. $fontsizesmaller =empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)?(empty($conf->global->THEME_ELDY_FONT_SIZE2) ?$fontsize:$conf->global->THEME_ELDY_FONT_SIZE2) :(empty($user->conf->THEME_ELDY_FONT_SIZE2)?$fontsize:$user->conf->THEME_ELDY_FONT_SIZE2);
  123. // Hover color
  124. $colorbacklinepairhover=((! isset($conf->global->THEME_ELDY_USE_HOVER) || (string) $conf->global->THEME_ELDY_USE_HOVER === '0')?'':($conf->global->THEME_ELDY_USE_HOVER === '1'?'edf4fb':$conf->global->THEME_ELDY_USE_HOVER));
  125. if (! empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED))
  126. {
  127. $colorbacklinepairhover=((! isset($user->conf->THEME_ELDY_USE_HOVER) || $user->conf->THEME_ELDY_USE_HOVER === '0')?'':($user->conf->THEME_ELDY_USE_HOVER === '1'?'edf4fb':$user->conf->THEME_ELDY_USE_HOVER));
  128. }
  129. //$colortopbordertitle1=$colorbackhmenu1;
  130. // Set text color to black or white
  131. $colorbackhmenu1=join(',',colorStringToArray($colorbackhmenu1)); // Normalize value to 'x,y,z'
  132. $tmppart=explode(',',$colorbackhmenu1);
  133. $tmpval=(! empty($tmppart[0]) ? $tmppart[0] : 0)+(! empty($tmppart[1]) ? $tmppart[1] : 0)+(! empty($tmppart[2]) ? $tmppart[2] : 0);
  134. if ($tmpval <= 460) $colortextbackhmenu='FFFFFF';
  135. else $colortextbackhmenu='000000';
  136. $colorbackvmenu1=join(',',colorStringToArray($colorbackvmenu1)); // Normalize value to 'x,y,z'
  137. $tmppart=explode(',',$colorbackvmenu1);
  138. $tmpval=(! empty($tmppart[0]) ? $tmppart[0] : 0)+(! empty($tmppart[1]) ? $tmppart[1] : 0)+(! empty($tmppart[2]) ? $tmppart[2] : 0);
  139. if ($tmpval <= 460) { $colortextbackvmenu='FFFFFF'; }
  140. else { $colortextbackvmenu='000000'; }
  141. $colorbacktitle1=join(',',colorStringToArray($colorbacktitle1)); // Normalize value to 'x,y,z'
  142. $tmppart=explode(',',$colorbacktitle1);
  143. if ($colortexttitle == '')
  144. {
  145. $tmpval=(! empty($tmppart[0]) ? $tmppart[0] : 0)+(! empty($tmppart[1]) ? $tmppart[1] : 0)+(! empty($tmppart[2]) ? $tmppart[2] : 0);
  146. if ($tmpval <= 460) { $colortexttitle='FFFFFF'; $colorshadowtitle='888888'; }
  147. else { $colortexttitle='000000'; $colorshadowtitle='FFFFFF'; }
  148. }
  149. $colorbacktabcard1=join(',',colorStringToArray($colorbacktabcard1)); // Normalize value to 'x,y,z'
  150. $tmppart=explode(',',$colorbacktabcard1);
  151. $tmpval=(! empty($tmppart[0]) ? $tmppart[0] : 0)+(! empty($tmppart[1]) ? $tmppart[1] : 0)+(! empty($tmppart[2]) ? $tmppart[2] : 0);
  152. if ($tmpval <= 460) { $colortextbacktab='FFFFFF'; }
  153. else { $colortextbacktab='111111'; }
  154. // Format color value to match expected format (may be 'FFFFFF' or '255,255,255')
  155. $colorbackhmenu1=join(',',colorStringToArray($colorbackhmenu1));
  156. $colorbackvmenu1=join(',',colorStringToArray($colorbackvmenu1));
  157. $colorbacktitle1=join(',',colorStringToArray($colorbacktitle1));
  158. $colorbacktabcard1=join(',',colorStringToArray($colorbacktabcard1));
  159. $colorbacktabactive=join(',',colorStringToArray($colorbacktabactive));
  160. $colorbacklineimpair1=join(',',colorStringToArray($colorbacklineimpair1));
  161. $colorbacklineimpair2=join(',',colorStringToArray($colorbacklineimpair2));
  162. $colorbacklinepair1=join(',',colorStringToArray($colorbacklinepair1));
  163. $colorbacklinepair2=join(',',colorStringToArray($colorbacklinepair2));
  164. if ($colorbacklinepairhover != '') $colorbacklinepairhover=join(',',colorStringToArray($colorbacklinepairhover));
  165. $colorbackbody=join(',',colorStringToArray($colorbackbody));
  166. $colortexttitlenotab=join(',',colorStringToArray($colortexttitlenotab));
  167. $colortexttitle=join(',',colorStringToArray($colortexttitle));
  168. $colortext=join(',',colorStringToArray($colortext));
  169. $colortextlink=join(',',colorStringToArray($colortextlink));
  170. $nbtopmenuentries=$menumanager->showmenu('topnb');
  171. print '/*'."\n";
  172. print 'colorbackbody='.$colorbackbody."\n";
  173. print 'colorbackvmenu1='.$colorbackvmenu1."\n";
  174. print 'colorbackhmenu1='.$colorbackhmenu1."\n";
  175. print 'colorbacktitle1='.$colorbacktitle1."\n";
  176. print 'colorbacklineimpair1='.$colorbacklineimpair1."\n";
  177. print 'colorbacklineimpair2='.$colorbacklineimpair2."\n";
  178. print 'colorbacklinepair1='.$colorbacklinepair1."\n";
  179. print 'colorbacklinepair2='.$colorbacklinepair2."\n";
  180. print 'colorbacklinepairhover='.$colorbacklinepairhover."\n";
  181. print '$colortexttitlenotab='.$colortexttitlenotab."\n";
  182. print '$colortexttitle='.$colortexttitle."\n";
  183. print '$colortext='.$colortext."\n";
  184. print '$colortextlink='.$colortextlink."\n";
  185. print '$colortextbackhmenu='.$colortextbackhmenu."\n";
  186. print '$colortextbackvmenu='.$colortextbackvmenu."\n";
  187. print 'dol_hide_topmenu='.$dol_hide_topmenu."\n";
  188. print 'dol_hide_leftmenu='.$dol_hide_leftmenu."\n";
  189. print 'dol_optimize_smallscreen='.$dol_optimize_smallscreen."\n";
  190. print 'dol_no_mouse_hover='.$dol_no_mouse_hover."\n";
  191. print 'dol_screenwidth='.$_SESSION['dol_screenwidth']."\n";
  192. print 'dol_screenheight='.$_SESSION['dol_screenheight']."\n";
  193. print 'fontsize='.$fontsize."\n";
  194. print 'nbtopmenuentries='.$nbtopmenuentries."\n";
  195. print '*/'."\n";
  196. ?>
  197. /* ============================================================================== */
  198. /* Default styles */
  199. /* ============================================================================== */
  200. body {
  201. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  202. background-color: #FFFFFF;
  203. <?php } else { ?>
  204. background: rgb(<?php print $colorbackbody; ?>);
  205. <?php } ?>
  206. color: rgb(<?php echo $colortext; ?>);
  207. font-size: <?php print $fontsize ?>px;
  208. line-height: 1.4;
  209. font-family: <?php print $fontlist ?>;
  210. margin-top: 0;
  211. margin-bottom: 0;
  212. margin-right: 0;
  213. margin-left: 0;
  214. <?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?>
  215. }
  216. th a, .thumbstat, a.tab { color: rgb(<?php print $colortexttitle; ?>) !important; font-weight: bold !important; }
  217. a.tab { font-weight: bold !important; }
  218. a:link, a:visited, a:hover, a:active { font-family: <?php print $fontlist ?>; font-weight: normal; color: rgb(<?php print $colortextlink; ?>); text-decoration: none; }
  219. a:hover { text-decoration: underline; color: rgb(<?php print $colortextlink; ?>); }
  220. a.commonlink { color: rgb(<?php print $colortextlink; ?>) !important; text-decoration: none; }
  221. th.liste_titre a div div:hover, th.liste_titre_sel a div div:hover { text-decoration: underline; }
  222. input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
  223. background-color: #FFF;
  224. }
  225. input.select2-input {
  226. border-bottom: none ! important;
  227. }
  228. .select2-choice {
  229. border: none;
  230. border-bottom: solid 1px rgba(0,0,0,.2) !important; /* required to avoid to lose bottom line when focus is lost on select2. */
  231. }
  232. .liste_titre input[name=monthvalid], .liste_titre input[name=search_smonth], .liste_titre input[name=search_emonth], .liste_titre input[name=smonth], .liste_titre input[name=month], .liste_titre select[name=month], .liste_titre input[name=month_lim] {
  233. margin-right: 4px;
  234. }
  235. input[type=submit] {
  236. margin-left: 5px;
  237. }
  238. input, input.flat, form.flat select, select, select.flat, .dataTables_length label select {
  239. <?php if (empty($conf->global->THEME_ELDY_SHOW_BORDER_INPUT))
  240. print "border: none;"
  241. ?>
  242. }
  243. input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
  244. font-size: <?php print $fontsize ?>px;
  245. font-family: <?php print $fontlist ?>;
  246. outline: none;
  247. margin: 0px 0px 0px 0px;
  248. border-bottom: solid 1px rgba(0,0,0,.4);
  249. }
  250. input {
  251. line-height: 17px;
  252. padding: 4px;
  253. padding-left: 5px;
  254. }
  255. select {
  256. padding: 4px;
  257. padding-left: 2px;
  258. }
  259. input, select {
  260. margin-left:0px;
  261. margin-bottom:1px;
  262. margin-top:1px;
  263. }
  264. /* Focus definitions must be after standard definition */
  265. textarea:focus, button:focus {
  266. /* v6 box-shadow: 0 0 4px #8091BF; */
  267. border: 1px solid #aaa !important;
  268. }
  269. input:focus, select:focus {
  270. border-bottom: 1px solid #666;
  271. }
  272. textarea.cke_source:focus
  273. {
  274. box-shadow: none;
  275. }
  276. select {
  277. /* padding: 4px 4px 2px 1px; */
  278. }
  279. textarea {
  280. border-radius: 0;
  281. border-top:solid 1px rgba(0,0,0,.2);
  282. border-left:solid 1px rgba(0,0,0,.2);
  283. border-right:solid 1px rgba(0,0,0,.2);
  284. border-bottom:solid 1px rgba(0,0,0,.2);
  285. padding:4px;
  286. margin-left:0px;
  287. margin-bottom:1px;
  288. margin-top:1px;
  289. }
  290. input.removedassigned {
  291. padding: 2px !important;
  292. vertical-align: text-bottom;
  293. margin-bottom: -3px;
  294. }
  295. input.smallpadd { /* Used for timesheet input */
  296. padding-left: 0px !important;
  297. padding-right: 0px !important;
  298. }
  299. input.buttongen {
  300. vertical-align: middle;
  301. }
  302. span.timesheetalreadyrecorded input {
  303. border: none;
  304. border-bottom: solid 1px rgba(0,0,0,0.4);
  305. margin-right: 1px !important;
  306. }
  307. select.flat, form.flat select {
  308. font-weight: normal;
  309. }
  310. .optionblue {
  311. color: rgb(<?php echo $colortextlink; ?>) !important;
  312. }
  313. .select2-results .select2-highlighted.optionblue {
  314. color: #FFF !important;
  315. }
  316. .optiongrey, .opacitymedium {
  317. opacity: 0.5;
  318. }
  319. .opacityhigh {
  320. opacity: 0.2;
  321. }
  322. .opacitytransp {
  323. opacity: 0;
  324. }
  325. select:invalid {
  326. color: gray;
  327. }
  328. input:disabled {
  329. background:#ddd;
  330. }
  331. input.liste_titre {
  332. box-shadow: none !important;
  333. }
  334. input.removedfile {
  335. padding: 0px !important;
  336. border: 0px !important;
  337. vertical-align: text-bottom;
  338. }
  339. textarea:disabled {
  340. background:#ddd;
  341. }
  342. input[type=file ] { background-color: transparent; border-top: none; border-left: none; border-right: none; box-shadow: none; }
  343. input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; }
  344. input[type=radio] { background-color: transparent; border: none; box-shadow: none; }
  345. input[type=image] { background-color: transparent; border: none; box-shadow: none; }
  346. input:-webkit-autofill {
  347. background-color: #FDFFF0 !important;
  348. background-image:none !important;
  349. -webkit-box-shadow: 0 0 0 50px #FDFFF0 inset;
  350. }
  351. ::-webkit-input-placeholder { color:#ccc; }
  352. :-moz-placeholder { color:#bbb; } /* firefox 18- */
  353. ::-moz-placeholder { color:#bbb; } /* firefox 19+ */
  354. :-ms-input-placeholder { color:#ccc; } /* ie */
  355. input:-moz-placeholder { color:#ccc; }
  356. input[name=weight], input[name=volume], input[name=surface], input[name=sizeheight] { margin-right: 6px; }
  357. input[name=surface] { margin-right: 4px; }
  358. fieldset { border: 1px solid #AAAAAA !important; }
  359. .legendforfieldsetstep { padding-bottom: 10px; }
  360. hr { border: 0; border-top: 1px solid #ccc; }
  361. .button, .buttonDelete, input[name="sbmtConnexion"] {
  362. font-family: <?php print $fontlist ?>;
  363. border-color: #c5c5c5;
  364. border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
  365. display: inline-block;
  366. padding: 3px 14px;
  367. margin-bottom: 0;
  368. margin-top: 0;
  369. text-align: center;
  370. cursor: pointer;
  371. text-decoration: none !important;
  372. text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  373. background-color: #f5f5f5;
  374. background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  375. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  376. background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  377. background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  378. background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  379. background-repeat: repeat-x;
  380. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  381. border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  382. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  383. filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  384. border: 1px solid #bbbbbb;
  385. border-bottom-color: #a2a2a2;
  386. -webkit-border-radius: 2px;
  387. -moz-border-radius: 2px;
  388. border-radius: 2px;
  389. }
  390. .button:focus, .buttonDelete:focus {
  391. -moz-box-shadow: 0px 0px 6px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  392. -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  393. box-shadow: 0px 0px 6px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  394. }
  395. .button:hover, .buttonDelete:hover {
  396. -moz-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  397. -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  398. box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  399. }
  400. .button:disabled, .buttonDelete:disabled {
  401. opacity: 0.4;
  402. filter: alpha(opacity=40); /* For IE8 and earlier */
  403. box-shadow: none;
  404. -webkit-box-shadow: none;
  405. -moz-box-shadow: none;
  406. cursor: auto;
  407. }
  408. .buttonRefused {
  409. pointer-events: none;
  410. cursor: default;
  411. opacity: 0.4;
  412. filter: alpha(opacity=40); /* For IE8 and earlier */
  413. box-shadow: none;
  414. -webkit-box-shadow: none;
  415. -moz-box-shadow: none;
  416. }
  417. form {
  418. padding:0px;
  419. margin:0px;
  420. }
  421. form#addproduct {
  422. padding-top: 6px;
  423. }
  424. div.float
  425. {
  426. float:<?php print $left; ?>;
  427. }
  428. div.floatright
  429. {
  430. float:<?php print $right; ?>;
  431. }
  432. .inline-block
  433. {
  434. display:inline-block;
  435. }
  436. th .button {
  437. -moz-box-shadow: none !important;
  438. -webkit-box-shadow: none !important;
  439. box-shadow: none !important;
  440. -moz-border-radius:0px !important;
  441. -webkit-border-radius:0px !important;
  442. border-radius:0px !important;
  443. }
  444. .maxwidthsearch { /* Max width of column with the search picto */
  445. width: 54px;
  446. }
  447. .valigntop {
  448. vertical-align: top;
  449. }
  450. .valignmiddle {
  451. vertical-align: middle;
  452. }
  453. .valignbottom {
  454. vertical-align: bottom;
  455. }
  456. .valigntextbottom {
  457. vertical-align: text-bottom;
  458. }
  459. .centpercent {
  460. width: 100%;
  461. }
  462. .quatrevingtpercent, .inputsearch {
  463. width: 80%;
  464. }
  465. .soixantepercent {
  466. width: 60%;
  467. }
  468. textarea.centpercent {
  469. width: 96%;
  470. }
  471. .center {
  472. text-align: center;
  473. margin: 0px auto;
  474. }
  475. .left {
  476. text-align: <?php print $left; ?>;
  477. }
  478. .right {
  479. text-align: <?php print $right; ?>;
  480. }
  481. .nowrap {
  482. white-space: <?php print ($dol_optimize_smallscreen?'normal':'nowrap'); ?>;
  483. }
  484. .nowraponall {
  485. white-space: nowrap;
  486. }
  487. .nobold {
  488. font-weight: normal !important;
  489. }
  490. .nounderline {
  491. text-decoration: none;
  492. }
  493. .paddingleft {
  494. padding-<?php print $left; ?>: 4px;
  495. }
  496. .paddingright {
  497. padding-<?php print $right; ?>: 4px;
  498. }
  499. .cursorpointer {
  500. cursor: pointer;
  501. }
  502. .cursormove {
  503. cursor: move;
  504. }
  505. .badge {
  506. display: inline-block;
  507. min-width: 10px;
  508. padding: 2px 5px;
  509. font-size: 10px;
  510. font-weight: 700;
  511. line-height: 0.9em;
  512. color: #fff;
  513. text-align: center;
  514. white-space: nowrap;
  515. vertical-align: baseline;
  516. background-color: #777;
  517. border-radius: 10px;
  518. }
  519. .borderrightlight
  520. {
  521. border-right: 1px solid #DDD;
  522. }
  523. #formuserfile {
  524. margin-top: 4px;
  525. }
  526. #formuserfile_link {
  527. margin-left: 1px;
  528. }
  529. .listofinvoicetype {
  530. height: 28px;
  531. vertical-align: middle;
  532. }
  533. div.divsearchfield {
  534. float: <?php print $left; ?>;
  535. margin-<?php print $right; ?>: 12px;
  536. margin-<?php print $left; ?>: 2px;
  537. margin-top: 4px;
  538. margin-bottom: 4px;
  539. padding-left: 2px;
  540. }
  541. div.confirmmessage {
  542. padding-top: 6px;
  543. }
  544. div.myavailability {
  545. padding-top: 6px;
  546. }
  547. .googlerefreshcal {
  548. padding-top: 4px;
  549. padding-bottom: 4px;
  550. }
  551. .checkallactions {
  552. /* vertical-align: text-bottom;
  553. margin-top: 6px; */
  554. margin-left: 2px; /* left must be same than right to keep checkbox centered */
  555. margin-right: 2px; /* left must be same than right to keep checkbox centered */
  556. }
  557. .selectlimit, .marginrightonly {
  558. margin-right: 10px !important;
  559. }
  560. .selectlimit, .selectlimit:focus {
  561. border-left: none !important;
  562. border-top: none !important;
  563. border-right: none !important;
  564. outline: none;
  565. }
  566. .strikefordisabled {
  567. text-decoration: line-through;
  568. }
  569. .widthdate {
  570. width: 130px;
  571. }
  572. /* using a tdoverflowxxx make the min-width not working */
  573. .tdoverflow {
  574. max-width: 0;
  575. overflow: hidden;
  576. text-overflow: ellipsis;
  577. white-space: nowrap;
  578. }
  579. .tdoverflowmax100 { /* For tdoverflow, the max-midth become a minimum ! */
  580. max-width: 100px;
  581. overflow: hidden;
  582. text-overflow: ellipsis;
  583. white-space: nowrap;
  584. }
  585. .tdoverflowmax200 { /* For tdoverflow, the max-midth become a minimum ! */
  586. max-width: 200px;
  587. overflow: hidden;
  588. text-overflow: ellipsis;
  589. white-space: nowrap;
  590. }
  591. .tdoverflowmax300 { /* For tdoverflow, the max-midth become a minimum ! */
  592. max-width: 300px;
  593. overflow: hidden;
  594. text-overflow: ellipsis;
  595. white-space: nowrap;
  596. }
  597. .tdoverflowauto {
  598. max-width: 0;
  599. overflow: auto;
  600. }
  601. .tablelistofcalendars {
  602. margin-top: 25px !important;
  603. }
  604. .amountalreadypaid {
  605. }
  606. .amountpaymentcomplete {
  607. color: #008800;
  608. font-weight: bold;
  609. }
  610. .amountremaintopay {
  611. color: #880000;
  612. font-weight: bold;
  613. }
  614. .amountremaintopayback {
  615. font-weight: bold;
  616. }
  617. .savingdocmask {
  618. margin-top: 6px;
  619. margin-bottom: 12px;
  620. }
  621. /* For the long description of module */
  622. .moduledesclong p img, .moduledesclong p a img {
  623. max-width: 90% !important;
  624. height: auto !important;
  625. }
  626. /* DOL_XXX for future usage (when left menu has been removed). If we do not use datatable */
  627. /*.table-responsive {
  628. width: calc(100% - 330px);
  629. margin-bottom: 15px;
  630. overflow-y: hidden;
  631. -ms-overflow-style: -ms-autohiding-scrollbar;
  632. }*/
  633. /* Style used for most tables */
  634. .div-table-responsive, .div-table-responsive-no-min {
  635. overflow-x: auto;
  636. min-height: 0.01%;
  637. }
  638. .div-table-responsive {
  639. line-height: 100%;
  640. }
  641. /* Style used for full page tables with field selector and no content after table (priority before previous for such tables) */
  642. div.fiche>form>div.div-table-responsive, div.fiche>form>div.div-table-responsive-no-min {
  643. overflow-x: auto;
  644. }
  645. div.fiche>form>div.div-table-responsive {
  646. min-height: 392px;
  647. }
  648. .flexcontainer {
  649. display: inline-flex;
  650. flex-flow: row wrap;
  651. justify-content: flex-start;
  652. }
  653. .thumbstat {
  654. flex: 1 1 116px;
  655. }
  656. .thumbstat150 {
  657. flex: 1 1 170px;
  658. }
  659. .thumbstat, thumbstat150 {
  660. /* flex-grow: 1; */
  661. /* flex-shrink: 1; */
  662. /* flex-basis: 140px; */
  663. width: 100%;
  664. justify-content: flex-start;
  665. align-self: flex-start;
  666. }
  667. /* ============================================================================== */
  668. /* Styles to hide objects */
  669. /* ============================================================================== */
  670. .clearboth { clear:both; }
  671. .hideobject { display: none; }
  672. .minwidth50 { min-width: 50px; }
  673. /* rule for not too small screen only */
  674. @media only screen and (min-width: <?php echo round($nbtopmenuentries * $fontsize * 3.4, 0) + 7; ?>px)
  675. {
  676. .width50 { width: 50px; }
  677. .width100 { width: 100px; }
  678. .width200 { width: 200px; }
  679. .minwidth100 { min-width: 100px; }
  680. .minwidth200 { min-width: 200px; }
  681. .minwidth300 { min-width: 300px; }
  682. .minwidth400 { min-width: 400px; }
  683. .minwidth500 { min-width: 500px; }
  684. .minwidth50imp { min-width: 50px !important; }
  685. .minwidth75imp { min-width: 75px !important; }
  686. .minwidth100imp { min-width: 100px !important; }
  687. .minwidth200imp { min-width: 200px !important; }
  688. .minwidth300imp { min-width: 300px !important; }
  689. .minwidth400imp { min-width: 400px !important; }
  690. .minwidth500imp { min-width: 500px !important; }
  691. }
  692. .width50 { width: 50px; }
  693. .width100 { width: 100px; }
  694. .width200 { width: 200px; }
  695. .maxwidth25 { max-width: 25px; }
  696. .maxwidth50 { max-width: 50px; }
  697. .maxwidth75 { max-width: 75px; }
  698. .maxwidth100 { max-width: 100px; }
  699. .maxwidth150 { max-width: 150px; }
  700. .maxwidth200 { max-width: 200px; }
  701. .maxwidth300 { max-width: 300px; }
  702. .maxwidth400 { max-width: 400px; }
  703. .maxwidth500 { max-width: 500px; }
  704. .maxwidth50imp { max-width: 50px !important; }
  705. .maxwidth75imp { max-width: 75px !important; }
  706. .minheight20 { min-height: 20px; }
  707. .minheight40 { min-height: 40px; }
  708. .titlefieldcreate { width: 20%; }
  709. .titlefield { width: 25%; }
  710. .titlefieldmiddle { width: 50%; }
  711. .imgmaxwidth180 { max-width: 180px; }
  712. /* Force values for small screen 1400 */
  713. @media only screen and (max-width: 1400px)
  714. {
  715. .titlefield { width: 30% !important; }
  716. .titlefieldcreate { width: 30% !important; }
  717. .minwidth50imp { min-width: 50px !important; }
  718. .minwidth75imp { min-width: 75px !important; }
  719. .minwidth100imp { min-width: 100px !important; }
  720. .minwidth200imp { min-width: 200px !important; }
  721. .minwidth300imp { min-width: 300px !important; }
  722. .minwidth400imp { min-width: 300px !important; }
  723. .minwidth500imp { min-width: 300px !important; }
  724. }
  725. /* Force values for small screen 1000 */
  726. @media only screen and (max-width: 1000px)
  727. {
  728. .maxwidthonsmartphone { max-width: 100px; }
  729. .minwidth50imp { min-width: 50px !important; }
  730. .minwidth75imp { min-width: 70px !important; }
  731. .minwidth100imp { min-width: 80px !important; }
  732. .minwidth200imp { min-width: 100px !important; }
  733. .minwidth300imp { min-width: 100px !important; }
  734. .minwidth400imp { min-width: 150px !important; }
  735. .minwidth500imp { min-width: 250px !important; }
  736. }
  737. /* Force values for small screen 570 */
  738. @media only screen and (max-width: 570px)
  739. {
  740. .tdoverflowonsmartphone {
  741. max-width: 0;
  742. overflow: hidden;
  743. text-overflow: ellipsis;
  744. white-space: nowrap;
  745. }
  746. div.fiche {
  747. margin-top: <?php print ($dol_hide_topmenu?'12':'6'); ?>px !important;
  748. }
  749. div.titre {
  750. line-height: 2em;
  751. }
  752. .border tbody tr, .border tbody tr td, div.tabBar table.border tr, div.tabBar table.border tr td, div.tabBar div.border .table-border-row, div.tabBar div.border .table-key-border-col, div.tabBar div.border .table-val-border-col {
  753. height: 40px !important;
  754. }
  755. .quatrevingtpercent, .inputsearch {
  756. width: 95%;
  757. }
  758. input, input[type=text], input[type=password], select, textarea {
  759. min-width: 20px;
  760. min-height: 1.4em;
  761. line-height: 1.4em;
  762. /* padding: .4em .1em; */
  763. /* border-bottom: 1px solid #BBB; */
  764. /* max-width: inherit; why this ? */
  765. }
  766. .hideonsmartphone { display: none; }
  767. .hideonsmartphoneimp { display: none !important; }
  768. .noenlargeonsmartphone { width : 50px !important; display: inline !important; }
  769. .maxwidthonsmartphone, #search_newcompany.ui-autocomplete-input { max-width: 100px; }
  770. .maxwidth50onsmartphone { max-width: 40px; }
  771. .maxwidth75onsmartphone { max-width: 50px; }
  772. .maxwidth100onsmartphone { max-width: 70px; }
  773. .maxwidth150onsmartphone { max-width: 120px; }
  774. .maxwidth200onsmartphone { max-width: 200px; }
  775. .maxwidth300onsmartphone { max-width: 300px; }
  776. .maxwidth400onsmartphone { max-width: 400px; }
  777. .minwidth50imp { min-width: 50px !important; }
  778. .minwidth75imp { min-width: 60px !important; }
  779. .minwidth100imp { min-width: 60px !important; }
  780. .minwidth200imp { min-width: 60px !important; }
  781. .minwidth300imp { min-width: 100px !important; }
  782. .minwidth400imp { min-width: 150px !important; }
  783. .minwidth500imp { min-width: 250px !important; }
  784. .titlefield { width: auto; }
  785. .titlefieldcreate { width: auto; }
  786. #tooltip {
  787. position: absolute;
  788. width: <?php print dol_size(300,'width'); ?>px;
  789. }
  790. /* intput, input[type=text], */
  791. select {
  792. width: 98%;
  793. min-width: 40px;
  794. }
  795. div.divphotoref {
  796. padding-right: 5px;
  797. }
  798. img.photoref, div.photoref {
  799. border: none;
  800. -moz-box-shadow: none;
  801. -webkit-box-shadow: none;
  802. box-shadow: none;
  803. padding: 4px;
  804. height: 20px;
  805. width: 20px;
  806. object-fit: contain;
  807. }
  808. div.statusref {
  809. padding-right: 10px;
  810. }
  811. }
  812. .linkobject { cursor: pointer; }
  813. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  814. .hideonprint { display: none; }
  815. <?php } ?>
  816. /* ============================================================================== */
  817. /* Styles for dragging lines */
  818. /* ============================================================================== */
  819. .dragClass {
  820. color: #002255;
  821. }
  822. td.showDragHandle {
  823. cursor: move;
  824. }
  825. .tdlineupdown {
  826. white-space: nowrap;
  827. min-width: 10px;
  828. }
  829. /* ============================================================================== */
  830. /* Styles de positionnement des zones */
  831. /* ============================================================================== */
  832. #id-container {
  833. display: table; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
  834. table-layout: fixed;
  835. }
  836. #id-right, #id-left {
  837. padding-top: 16px;
  838. padding-bottom: 16px;
  839. display: table-cell; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
  840. float: none;
  841. vertical-align: top;
  842. }
  843. #id-right { /* This must stay id-right and not be replaced with echo $right */
  844. width: 100%;
  845. background: rgb(<?php print $colorbackbody; ?>);
  846. }
  847. #id-left {
  848. /* background-color: #fff;
  849. border-right: 1px #888 solid;
  850. height: calc(100% - 50px);*/
  851. }
  852. .side-nav {
  853. display: table-cell;
  854. border-right: 1px solid #d0d0d0;
  855. box-shadow: 3px 0 6px -2px #eee;
  856. background: rgb(<?php echo $colorbackvmenu1; ?>);
  857. }
  858. div.blockvmenulogo
  859. {
  860. border-bottom: 0 !important;
  861. }
  862. div.blockvmenupair, div.blockvmenuimpair {
  863. border-top: none !important;
  864. border-left: none !important;
  865. border-right: none !important;
  866. border-bottom: 1px solid #e0e0e0;
  867. padding-left: 0 !important;
  868. }
  869. div.blockvmenuend, div.blockvmenubookmarks {
  870. border: none !important;
  871. padding-left: 0 !important;
  872. }
  873. div.vmenu, td.vmenu {
  874. padding-right: 10px !important;
  875. }
  876. /* For smartphone (testmenuhider is on) */
  877. <?php if ($conf->browser->layout == 'phone' && ((GETPOST('testmenuhider','int') || ! empty($conf->global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))) { ?>
  878. #id-container {
  879. width: 100%;
  880. }
  881. .side-nav {
  882. border-bottom: 1px solid #BBB;
  883. background: #FFF;
  884. padding-left: 20px;
  885. padding-right: 20px;
  886. }
  887. .side-nav {
  888. position: absolute;
  889. z-index: 90;
  890. display: none;
  891. }
  892. div.blockvmenulogo
  893. {
  894. border-bottom: 0 !important;
  895. }
  896. div.blockvmenusearch {
  897. padding-bottom: 12px !important;
  898. border-bottom: 1px solid #e0e0e0;
  899. }
  900. div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks, div.blockvmenuend {
  901. border-top: none !important;
  902. border-left: none !important;
  903. border-right: none !important;
  904. border-bottom: 1px solid #e0e0e0;
  905. padding-left: 0 !important;
  906. }
  907. div.vmenu, td.vmenu {
  908. padding-right: 6px !important;
  909. }
  910. div.fiche {
  911. margin-<?php print $left; ?>: 6px !important;
  912. margin-<?php print $right; ?>: 6px !important;
  913. }
  914. <?php } ?>
  915. div.fiche {
  916. margin-<?php print $left; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?6:($dol_hide_leftmenu?'6':'26')); ?>px;
  917. margin-<?php print $right; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?8:(empty($conf->dol_optimize_smallscreen)?'16':'12')); ?>px;
  918. <?php if (! empty($conf->dol_hide_leftmenu) && ! empty($conf->dol_hide_topmenu)) print 'margin-top: 4px;'."\n"; ?>
  919. <?php if (! empty($conf->dol_hide_leftmenu)) print 'margin-bottom: 12px;'."\n"; ?>
  920. }
  921. body.onlinepaymentbody div.fiche { /* For online payment page */
  922. margin: 40px !important;
  923. }
  924. div.fiche>table:first-child {
  925. margin-bottom: 15px !important;
  926. }
  927. div.fichecenter {
  928. /* margin-top: 10px; */
  929. width: 100%;
  930. clear: both; /* This is to have div fichecenter that are true rectangles */
  931. }
  932. div.fichecenterbis {
  933. margin-top: 8px;
  934. }
  935. div.fichethirdleft {
  936. <?php if ($conf->browser->layout != 'phone') { print "float: ".$left.";\n"; } ?>
  937. <?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
  938. <?php if ($conf->browser->layout == 'phone') { print "padding-bottom: 6px;\n"; } ?>
  939. }
  940. div.fichetwothirdright {
  941. <?php if ($conf->browser->layout != 'phone') { print "float: ".$right.";\n"; } ?>
  942. <?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
  943. <?php if ($conf->browser->layout == 'phone') { print "padding-bottom: 6px\n"; } ?>
  944. }
  945. div.fichehalfleft {
  946. <?php if ($conf->browser->layout != 'phone') { print "float: ".$left.";\n"; } ?>
  947. <?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
  948. }
  949. div.fichehalfright {
  950. <?php if ($conf->browser->layout != 'phone') { print "float: ".$right.";\n"; } ?>
  951. <?php if ($conf->browser->layout != 'phone') { print "width: 50%;\n"; } ?>
  952. }
  953. div.ficheaddleft {
  954. <?php if ($conf->browser->layout != 'phone') { print "padding-".$left.": 16px;\n"; }
  955. else print "margin-top: 10px;\n"; ?>
  956. }
  957. /* Force values on one colum for small screen */
  958. @media only screen and (max-width: 1000px)
  959. {
  960. div.fiche {
  961. margin-<?php print $left; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?6:($dol_hide_leftmenu?'6':'20')); ?>px;
  962. margin-<?php print $right; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?8:6); ?>px;
  963. <?php if (! empty($conf->dol_hide_leftmenu) && ! empty($conf->dol_hide_topmenu)) print 'margin-top: 4px;'; ?>
  964. }
  965. div.fichecenter {
  966. width: 100%;
  967. clear: both; /* This is to have div fichecenter that are true rectangles */
  968. }
  969. div.fichecenterbis {
  970. margin-top: 8px;
  971. }
  972. div.fichethirdleft {
  973. float: none;
  974. width: auto;
  975. padding-bottom: 6px;
  976. }
  977. div.fichetwothirdright {
  978. float: none;
  979. width: auto;
  980. padding-bottom: 6px;
  981. }
  982. div.fichehalfleft {
  983. float: none;
  984. width: auto;
  985. }
  986. div.fichehalfright {
  987. float: none;
  988. width: auto;
  989. }
  990. div.ficheaddleft {
  991. <?php print "padding-".$left.": 0px;\n"; ?>
  992. margin-top: 10px;
  993. }
  994. }
  995. /* For table into table into card */
  996. div.ficheaddleft tr.liste_titre:first-child td table.nobordernopadding td {
  997. padding: 0 0 0 0;
  998. }
  999. div.nopadding {
  1000. padding: 0 !important;
  1001. }
  1002. .containercenter {
  1003. display : table;
  1004. margin : 0px auto;
  1005. }
  1006. #pictotitle {
  1007. margin-<?php echo $right; ?>: 8px;
  1008. margin-bottom: 4px;
  1009. }
  1010. .pictoobjectwidth {
  1011. width: 14px;
  1012. }
  1013. .pictosubstatus {
  1014. padding-left: 2px;
  1015. padding-right: 2px;
  1016. }
  1017. .pictostatus {
  1018. width: 15px;
  1019. vertical-align: middle;
  1020. margin-top: -3px
  1021. }
  1022. .pictowarning, .pictopreview {
  1023. padding-<?php echo $left; ?>: 3px;
  1024. }
  1025. .pictoedit, .pictowarning, .pictodelete {
  1026. vertical-align: text-bottom;
  1027. }
  1028. .colorthumb {
  1029. padding-left: 1px !important;
  1030. padding-right: 1px;
  1031. padding-top: 1px;
  1032. padding-bottom: 1px;
  1033. width: 44px;
  1034. text-align:center;
  1035. }
  1036. div.attacharea {
  1037. padding-top: 18px;
  1038. padding-bottom: 10px;
  1039. }
  1040. div.arearef {
  1041. padding-top: 2px;
  1042. margin-bottom: 10px;
  1043. padding-bottom: 7px;
  1044. }
  1045. div.arearefnobottom {
  1046. padding-top: 2px;
  1047. padding-bottom: 4px;
  1048. }
  1049. div.heightref {
  1050. min-height: 80px;
  1051. }
  1052. div.divphotoref {
  1053. padding-right: 20px;
  1054. }
  1055. div.statusref {
  1056. float: right;
  1057. padding-left: 12px;
  1058. margin-top: 8px;
  1059. margin-bottom: 10px;
  1060. clear: both;
  1061. }
  1062. div.statusref img {
  1063. padding-left: 8px;
  1064. }
  1065. img.photoref, div.photoref {
  1066. border: 1px solid #CCC;
  1067. -moz-box-shadow: 3px 3px 4px #DDD;
  1068. -webkit-box-shadow: 3px 3px 4px #DDD;
  1069. box-shadow: 3px 3px 4px #DDD;
  1070. padding: 4px;
  1071. height: 80px;
  1072. width: 80px;
  1073. object-fit: contain;
  1074. }
  1075. img.fitcontain {
  1076. object-fit: contain;
  1077. }
  1078. div.photoref {
  1079. display:table-cell;
  1080. vertical-align:middle;
  1081. text-align:center;
  1082. }
  1083. img.photorefnoborder {
  1084. padding: 2px;
  1085. height: 48px;
  1086. width: 48px;
  1087. object-fit: contain;
  1088. border: 1px solid #AAA;
  1089. border-radius: 100px;
  1090. }
  1091. .underrefbanner {
  1092. }
  1093. .underbanner {
  1094. border-bottom: <?php echo $borderwith ?>px solid rgb(<?php echo $colortopbordertitle1 ?>);
  1095. }
  1096. .tdhrthin {
  1097. margin: 0;
  1098. padding-bottom: 0 !important;
  1099. }
  1100. /* ============================================================================== */
  1101. /* Menu top et 1ere ligne tableau */
  1102. /* ============================================================================== */
  1103. <?php
  1104. $minwidthtmenu=66; /* minimum width for one top menu entry */
  1105. $heightmenu=46; /* height of top menu, part with image */
  1106. $heightmenu2=48; /* height of top menu, part with login */
  1107. $disableimages = 0;
  1108. $maxwidthloginblock = 130;
  1109. if (! empty($conf->global->THEME_TOPMENU_DISABLE_IMAGE)) { $disableimages = 1; $maxwidthloginblock = 180; $minwidthtmenu=0; }
  1110. ?>
  1111. div#id-top {
  1112. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  1113. display:none;
  1114. <?php } else { ?>
  1115. background: rgb(<?php echo $colorbackhmenu1 ?>);
  1116. /*-webkit-box-shadow: 0 0 6px rgba(0,0,0,0.4);
  1117. box-shadow: 0 0 6px rgba(0,0,0,0.4); */
  1118. /*
  1119. background-image: linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1120. background-image: -o-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1121. background-image: -moz-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1122. background-image: -webkit-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1123. background-image: -ms-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1124. background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.1)), color-stop(1, rgba(0,0,0,.4)) );
  1125. */
  1126. /*<?php if ($disableimages) { ?>
  1127. height: 34px;
  1128. <?php } else { ?>
  1129. height: <?php print $heightmenu2; ?>px;
  1130. <?php } ?>*/
  1131. <?php } ?>
  1132. }
  1133. div#tmenu_tooltip {
  1134. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  1135. display:none;
  1136. <?php } else { ?>
  1137. padding-<?php echo $right; ?>: <?php echo ($maxwidthloginblock - 10); ?>px;
  1138. <?php } ?>
  1139. }
  1140. div.tmenusep {
  1141. <?php if ($disableimages) { ?>
  1142. display: none;
  1143. <?php } ?>
  1144. }
  1145. div.tmenudiv {
  1146. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  1147. display:none;
  1148. <?php } else { ?>
  1149. position: relative;
  1150. display: block;
  1151. white-space: nowrap;
  1152. border-top: 0px;
  1153. border-<?php print $left; ?>: 0px;
  1154. border-<?php print $right; ?>: 0px;
  1155. padding: 0px 0px 0px 0px; /* t r b l */
  1156. margin: 0px 0px 0px 0px; /* t r b l */
  1157. font-size: 13px;
  1158. font-weight: normal;
  1159. color: #000000;
  1160. text-decoration: none;
  1161. <?php } ?>
  1162. }
  1163. div.tmenudisabled, a.tmenudisabled {
  1164. opacity: 0.6;
  1165. }
  1166. a.tmenudisabled:link, a.tmenudisabled:visited, a.tmenudisabled:hover, a.tmenudisabled:active {
  1167. font-weight: normal;
  1168. padding: 0px 5px 0px 5px;
  1169. white-space: nowrap;
  1170. color: #<?php echo $colortextbackhmenu; ?>;
  1171. text-decoration: none;
  1172. cursor: not-allowed;
  1173. }
  1174. a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
  1175. font-weight: normal;
  1176. padding: 0px 5px 0px 3px;
  1177. white-space: nowrap;
  1178. color: #<?php echo $colortextbackhmenu; ?>;
  1179. text-decoration: none;
  1180. }
  1181. a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
  1182. font-weight: normal;
  1183. padding: 0px 5px 0px 3px;
  1184. margin: 0px 0px 0px 0px;
  1185. white-space: nowrap;
  1186. color: #<?php echo $colortextbackhmenu; ?>;
  1187. text-decoration: none !important;
  1188. }
  1189. ul.tmenu { /* t r b l */
  1190. padding: 0px 0px 0px 0px;
  1191. margin: 0px 0px 0px 0px;
  1192. list-style: none;
  1193. display: table;
  1194. }
  1195. ul.tmenu li { /* We need this to have background color when menu entry wraps on new lines */
  1196. /* background: rgb(<?php echo $colorbackhmenu1 ?>);
  1197. /*
  1198. background-image: linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1199. background-image: -o-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1200. background-image: -moz-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1201. background-image: -webkit-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1202. background-image: -ms-linear-gradient(top, rgba(255,255,255,.1) 0%, rgba(0,0,0,.4) 100%);
  1203. background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.1)), color-stop(1, rgba(0,0,0,.4)) );
  1204. */
  1205. }
  1206. li.tmenu, li.tmenusel {
  1207. <?php print $minwidthtmenu?'min-width: '.$minwidthtmenu.'px;':''; ?>
  1208. text-align: center;
  1209. vertical-align: bottom;
  1210. <?php if (empty($conf->global->MAIN_MENU_INVERT)) { ?>
  1211. float: <?php print $left; ?>;
  1212. <?php } ?>
  1213. position:relative;
  1214. display: block;
  1215. padding: 0 0 0 0;
  1216. margin: 0 0 0 0;
  1217. font-weight: normal;
  1218. }
  1219. li.menuhider:hover {
  1220. background-image: none !important;
  1221. }
  1222. li.tmenusel, li.tmenu:hover {
  1223. background-image: -o-linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.5) 100%);
  1224. background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.5) 0%, rgba(250,250,250,0) 100%);
  1225. background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.5) 0%, rgba(250,250,250,0) 100%);
  1226. background-image: -ms-linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.5) 100%);
  1227. background-image: linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.5) 100%);
  1228. /* background: rgb(<?php echo $colorbackhmenu1 ?>); */
  1229. }
  1230. .tmenuend .tmenuleft { width: 0px; }
  1231. .tmenuend { display: none; }
  1232. div.tmenuleft
  1233. {
  1234. float: <?php print $left; ?>;
  1235. margin-top: 0px;
  1236. <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
  1237. width: 5px;
  1238. background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menutab-r.png',1); ?>) 0 -6px no-repeat;
  1239. <?php } ?>
  1240. <?php if ($disableimages) { ?>
  1241. height: 26px;
  1242. <?php } else { ?>
  1243. height: <?php print $heightmenu; ?>px;
  1244. <?php } ?>
  1245. }
  1246. div.tmenucenter
  1247. {
  1248. padding-left: 0px;
  1249. padding-right: 3px;
  1250. <?php if ($disableimages) { ?>
  1251. padding-top: 8px;
  1252. height: 26px;
  1253. <?php } else { ?>
  1254. padding-top: 2px;
  1255. height: <?php print $heightmenu; ?>px;
  1256. <?php } ?>
  1257. width: 100%;
  1258. /*
  1259. max-width: <?php echo round($fontsize * 8); ?>px;
  1260. white-space: nowrap;
  1261. overflow: hidden;
  1262. text-overflow: ellipsis;
  1263. color: #<?php echo $colortextbackhmenu; ?>;
  1264. */
  1265. }
  1266. #menu_titre_logo {
  1267. padding-top: 0;
  1268. padding-bottom: 0;
  1269. }
  1270. div.menu_titre {
  1271. padding-top: 4px;
  1272. padding-bottom: 4px;
  1273. overflow: hidden;
  1274. text-overflow: ellipsis;
  1275. width: 188px; /* required to have overflow working. must be same than menu_contenu */
  1276. }
  1277. .mainmenuaspan
  1278. {
  1279. <?php if ($disableimages) { ?>
  1280. padding-<?php print $left; ?>: 4px;
  1281. padding-<?php print $right; ?>: 2px;
  1282. <?php } else { ?>
  1283. padding-<?php print $right; ?>: 4px;
  1284. <?php } ?>
  1285. }
  1286. div.mainmenu {
  1287. position : relative;
  1288. background-repeat:no-repeat;
  1289. background-position:center top;
  1290. height: <?php echo ($heightmenu-22); ?>px;
  1291. margin-left: 0px;
  1292. min-width: 40px;
  1293. }
  1294. /* Do not load menu img if hidden to save bandwidth */
  1295. <?php if (empty($dol_hide_topmenu)) { ?>
  1296. div.mainmenu.home{
  1297. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/home.png',1) ?>);
  1298. background-position-x: center;
  1299. }
  1300. div.mainmenu.accountancy {
  1301. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/money.png',1) ?>);
  1302. }
  1303. div.mainmenu.agenda {
  1304. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/agenda.png',1) ?>);
  1305. }
  1306. div.mainmenu.bank {
  1307. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/bank.png',1) ?>);
  1308. }
  1309. div.mainmenu.cashdesk {
  1310. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/pointofsale.png',1) ?>);
  1311. }
  1312. div.mainmenu.companies {
  1313. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/company.png',1) ?>);
  1314. }
  1315. div.mainmenu.commercial {
  1316. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/commercial.png',1) ?>);
  1317. }
  1318. div.mainmenu.ecm {
  1319. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/ecm.png',1) ?>);
  1320. }
  1321. div.mainmenu.externalsite {
  1322. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/externalsite.png',1) ?>);
  1323. }
  1324. div.mainmenu.ftp {
  1325. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools.png',1) ?>);
  1326. }
  1327. div.mainmenu.hrm {
  1328. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/holiday.png',1) ?>);
  1329. }
  1330. div.mainmenu.members {
  1331. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/members.png',1) ?>);
  1332. }
  1333. div.mainmenu.menu {
  1334. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/menu.png',1) ?>);
  1335. top: 7px;
  1336. }
  1337. div.mainmenu.products {
  1338. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/products.png',1) ?>);
  1339. }
  1340. div.mainmenu.project {
  1341. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/project.png',1) ?>);
  1342. }
  1343. div.mainmenu.tools {
  1344. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools.png',1) ?>);
  1345. }
  1346. div.mainmenu.websites {
  1347. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/externalsite.png',1) ?>);
  1348. }
  1349. <?php
  1350. // Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
  1351. $moduletomainmenu=array('user'=>'','syslog'=>'','societe'=>'companies','projet'=>'project','propale'=>'commercial','commande'=>'commercial',
  1352. 'produit'=>'products','service'=>'products','stock'=>'products',
  1353. 'don'=>'accountancy','tax'=>'accountancy','banque'=>'accountancy','facture'=>'accountancy','compta'=>'accountancy','accounting'=>'accountancy','adherent'=>'members','import'=>'tools','export'=>'tools','mailing'=>'tools',
  1354. 'contrat'=>'commercial','ficheinter'=>'commercial','deplacement'=>'commercial',
  1355. 'fournisseur'=>'companies',
  1356. 'barcode'=>'','fckeditor'=>'','categorie'=>'',
  1357. );
  1358. $mainmenuused='home';
  1359. foreach($conf->modules as $val)
  1360. {
  1361. $mainmenuused.=','.(isset($moduletomainmenu[$val])?$moduletomainmenu[$val]:$val);
  1362. }
  1363. //var_dump($mainmenuused);
  1364. $mainmenuusedarray=array_unique(explode(',',$mainmenuused));
  1365. $generic=1;
  1366. // Put here list of menu entries when the div.mainmenu.menuentry was previously defined
  1367. $divalreadydefined=array('home','companies','products','commercial','externalsite','accountancy','project','tools','members','agenda','ftp','holiday','hrm','bookmark','cashdesk','ecm','geoipmaxmind','gravatar','clicktodial','paypal','stripe','webservices','websites');
  1368. // Put here list of menu entries we are sure we don't want
  1369. $divnotrequired=array('multicurrency','salaries','margin','opensurvey','paybox','expensereport','incoterm','prelevement','propal','workflow','notification','supplier_proposal','cron','product','productbatch','expedition');
  1370. foreach($mainmenuusedarray as $val)
  1371. {
  1372. if (empty($val) || in_array($val,$divalreadydefined)) continue;
  1373. if (in_array($val,$divnotrequired)) continue;
  1374. //print "XXX".$val;
  1375. // Search img file in module dir
  1376. $found=0; $url='';
  1377. foreach($conf->file->dol_document_root as $dirroot)
  1378. {
  1379. if (file_exists($dirroot."/".$val."/img/".$val.".png"))
  1380. {
  1381. $url=dol_buildpath('/'.$val.'/img/'.$val.'.png', 1);
  1382. $found=1;
  1383. break;
  1384. }
  1385. }
  1386. // Img file not found
  1387. if (! $found)
  1388. {
  1389. $url=dol_buildpath($path.'/theme/'.$theme.'/img/menus/generic'.$generic.".png",1);
  1390. $found=1;
  1391. if ($generic < 4) $generic++;
  1392. print "/* A mainmenu entry was found but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one */\n";
  1393. }
  1394. if ($found)
  1395. {
  1396. print "div.mainmenu.".$val." {\n";
  1397. print " background-image: url(".$url.");\n";
  1398. print "}\n";
  1399. }
  1400. }
  1401. // End of part to add more div class css
  1402. ?>
  1403. <?php
  1404. } // End test if $dol_hide_topmenu
  1405. ?>
  1406. .tmenuimage {
  1407. padding:0 0 0 0 !important;
  1408. margin:0 0px 0 0 !important;
  1409. <?php if ($disableimages) { ?>
  1410. display: none;
  1411. <?php } ?>
  1412. }
  1413. /* Login */
  1414. .bodylogin
  1415. {
  1416. background: #f0f0f0;
  1417. display: table;
  1418. position: absolute;
  1419. height: 100%;
  1420. width: 100%;
  1421. }
  1422. .login_center {
  1423. display: table-cell;
  1424. vertical-align: middle;
  1425. }
  1426. .login_vertical_align {
  1427. padding: 10px;
  1428. padding-bottom: 80px;
  1429. }
  1430. form#login {
  1431. padding-bottom: 30px;
  1432. font-size: 13px;
  1433. vertical-align: middle;
  1434. }
  1435. .login_table_title {
  1436. max-width: 530px;
  1437. color: #aaa !important;
  1438. padding-bottom: 20px;
  1439. /* text-shadow: 1px 1px 1px #FFF; */
  1440. }
  1441. .login_table label {
  1442. text-shadow: 1px 1px 1px #FFF;
  1443. }
  1444. .login_table {
  1445. margin: 0px auto; /* Center */
  1446. padding-left:6px;
  1447. padding-right:6px;
  1448. padding-top:16px;
  1449. padding-bottom:12px;
  1450. max-width: 560px;
  1451. background-color: #FFFFFF;
  1452. -moz-box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
  1453. -webkit-box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
  1454. box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
  1455. border-radius: 5px;
  1456. /*border-top:solid 1px rgba(180,180,180,.4);
  1457. border-left:solid 1px rgba(180,180,180,.4);
  1458. border-right:solid 1px rgba(180,180,180,.4);
  1459. border-bottom:solid 1px rgba(180,180,180,.4);*/
  1460. }
  1461. .login_table input#username, .login_table input#password, .login_table input#securitycode {
  1462. border: none;
  1463. border-bottom: solid 1px rgba(180,180,180,.4);
  1464. padding: 5px;
  1465. margin-left: 18px;
  1466. margin-top: 5px;
  1467. }
  1468. .login_table input#username:focus, .login_table input#password:focus, .login_table input#securitycode:focus {
  1469. outline: none !important;
  1470. /* box-shadow: none;
  1471. -webkit-box-shadow: 0 0 0 50px #FFF inset;
  1472. box-shadow: 0 0 0 50px #FFF inset;*/
  1473. }
  1474. .login_main_message {
  1475. text-align: center;
  1476. max-width: 570px;
  1477. margin-bottom: 10px;
  1478. }
  1479. .login_main_message .error {
  1480. border: 1px solid #caa;
  1481. padding: 10px;
  1482. }
  1483. div#login_left, div#login_right {
  1484. display: inline-block;
  1485. min-width: 245px;
  1486. padding-top: 10px;
  1487. padding-left: 16px;
  1488. padding-right: 16px;
  1489. text-align: center;
  1490. vertical-align: middle;
  1491. }
  1492. div#login_right select#entity {
  1493. margin-top: 10px;
  1494. }
  1495. table.login_table tr td table.none tr td {
  1496. padding: 2px;
  1497. }
  1498. table.login_table_securitycode {
  1499. border-spacing: 0px;
  1500. }
  1501. table.login_table_securitycode tr td {
  1502. padding-left: 0px;
  1503. padding-right: 4px;
  1504. }
  1505. #securitycode {
  1506. min-width: 60px;
  1507. }
  1508. #img_securitycode {
  1509. border: 1px solid #DDDDDD;
  1510. }
  1511. #img_logo, .img_logo {
  1512. max-width: 170px;
  1513. max-height: 90px;
  1514. }
  1515. div.login_block {
  1516. position: absolute;
  1517. text-align: <?php print $right; ?>;
  1518. <?php print $right; ?>: 5px;
  1519. top: 4px;
  1520. font-weight: bold;
  1521. max-width: <?php echo $maxwidthloginblock; ?>px;
  1522. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  1523. display: none;
  1524. <?php } ?>
  1525. }
  1526. div.login_block a {
  1527. color: #<?php echo $colortextbackvmenu; ?>;
  1528. }
  1529. div.login_block table {
  1530. display: inline;
  1531. }
  1532. div.login {
  1533. white-space:nowrap;
  1534. font-weight: bold;
  1535. float: right;
  1536. }
  1537. div.login a {
  1538. color: #<?php echo $colortextbackvmenu; ?>;
  1539. }
  1540. div.login a:hover {
  1541. color: #<?php echo $colortextbackvmenu; ?>;
  1542. text-decoration:underline;
  1543. }
  1544. div.login_block_user {
  1545. display: inline-block;
  1546. <?php if (empty($conf->global->THEME_TOPMENU_DISABLE_IMAGE)) { ?>
  1547. min-width: 120px;
  1548. <?php } ?>
  1549. }
  1550. div.login_block_other {
  1551. display: inline-block;
  1552. clear: both;
  1553. }
  1554. div.login_block_other { padding-top: 3px; text-align: right; }
  1555. .login_block_elem {
  1556. float: right;
  1557. vertical-align: top;
  1558. padding: 0px 3px 0px 4px !important;
  1559. height: 16px;
  1560. }
  1561. .atoplogin, .atoplogin:hover {
  1562. color: #<?php echo $colortextbackhmenu; ?> !important;
  1563. font-weight: normal !important;
  1564. }
  1565. .alogin, .alogin:hover {
  1566. font-weight: normal !important;
  1567. font-size: <?php echo $fontsizesmaller; ?>px !important;
  1568. padding-top: 2px;
  1569. }
  1570. .alogin:hover, .atoplogin:hover {
  1571. text-decoration:underline !important;
  1572. }
  1573. span.fa.atoplogin, span.fa.atoplogin:hover {
  1574. font-size: 16px;
  1575. text-decoration: none !important;
  1576. }
  1577. img.login, img.printer, img.entity {
  1578. /* padding: 0px 0px 0px 4px; */
  1579. /* margin: 0px 0px 0px 8px; */
  1580. text-decoration: none;
  1581. color: white;
  1582. font-weight: bold;
  1583. }
  1584. .userimgatoplogin img.userphoto { /* size for user photo in login bar */
  1585. width: 16px;
  1586. height: 16px;
  1587. border-radius: 8px;
  1588. background-size: contain;
  1589. background-size: contain;
  1590. }
  1591. img.userphoto { /* size for user photo in lists */
  1592. border-radius: 9px;
  1593. width: 18px;
  1594. height: 18px;
  1595. background-size: contain;
  1596. vertical-align: middle;
  1597. }
  1598. img.userphotosmall { /* size for user photo in lists */
  1599. border-radius: 6px;
  1600. width: 12px;
  1601. height: 12px;
  1602. background-size: contain;
  1603. vertical-align: middle;
  1604. }
  1605. .span-icon-user {
  1606. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/object_user.png',1); ?>);
  1607. background-repeat: no-repeat;
  1608. }
  1609. .span-icon-password {
  1610. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/lock.png',1); ?>);
  1611. background-repeat: no-repeat;
  1612. }
  1613. /*
  1614. .span-icon-user input, .span-icon-password input {
  1615. /* margin-left: 18px; */
  1616. margin-left: 0px;
  1617. }*/
  1618. /* ============================================================================== */
  1619. /* Menu gauche */
  1620. /* ============================================================================== */
  1621. div.vmenu, td.vmenu {
  1622. margin-<?php print $right; ?>: 2px;
  1623. position: relative;
  1624. float: left;
  1625. padding: 0px;
  1626. padding-bottom: 0px;
  1627. padding-top: 1px;
  1628. width: 190px;
  1629. }
  1630. .vmenu {
  1631. width: 190px;
  1632. margin-left: 6px;
  1633. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  1634. display: none;
  1635. <?php } ?>
  1636. }
  1637. /* Force vmenusearchselectcombo with type=text differently than without because beautify with select2 affect vmenusearchselectcombo differently */
  1638. input.vmenusearchselectcombo[type=text] {
  1639. width: 180px !important;
  1640. }
  1641. .vmenusearchselectcombo {
  1642. width: 188px;
  1643. }
  1644. .menu_contenu {
  1645. padding-top: 3px;
  1646. padding-bottom: 3px;
  1647. overflow: hidden;
  1648. text-overflow: ellipsis;
  1649. width: 188px; /* required to have overflow working. must be same than .menu_titre */
  1650. }
  1651. #menu_contenu_logo { /* padding-top: 0; */ }
  1652. .companylogo { }
  1653. .searchform { padding-top: 10px; }
  1654. a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active { white-space: nowrap; font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; }
  1655. font.vmenudisabled { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #aaa; margin-left: 4px; }
  1656. a.vmenu:link, a.vmenu:visited { color: #<?php echo $colortextbackvmenu; ?>; }
  1657. a.vsmenu:link, a.vsmenu:visited, a.vsmenu:hover, a.vsmenu:active, span.vsmenu { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 6px; }
  1658. font.vsmenudisabled { font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #aaa; }
  1659. a.vsmenu:link, a.vsmenu:visited { color: #<?php echo $colortextbackvmenu; ?>; white-space: nowrap; }
  1660. font.vsmenudisabledmargin { margin: 1px 1px 1px 6px; }
  1661. a.help:link, a.help:visited, a.help:hover, a.help:active, span.help { font-size:<?php print $fontsizesmaller ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #aaa; text-decoration: none; }
  1662. .vmenu div.blockvmenufirst, .vmenu div.blockvmenulogo, .vmenu div.blockvmenusearchphone, .vmenu div.blockvmenubookmarks
  1663. {
  1664. border-top: 1px solid #BBB;
  1665. }
  1666. a.vsmenu.addbookmarkpicto {
  1667. padding-right: 10px;
  1668. }
  1669. div.blockvmenusearchphone
  1670. {
  1671. border-bottom: none !important;
  1672. }
  1673. .vmenu div.blockvmenuend, .vmenu div.blockvmenulogo
  1674. {
  1675. margin: 0 0 8px 2px;
  1676. }
  1677. .vmenu div.blockvmenusearch
  1678. {
  1679. padding-bottom: 4px;
  1680. /* border-bottom: 1px solid #e0e0e0; */
  1681. }
  1682. .vmenu div.blockvmenuend
  1683. {
  1684. padding-bottom: 5px;
  1685. }
  1686. .vmenu div.blockvmenulogo
  1687. {
  1688. padding-bottom: 10px;
  1689. padding-top: 0;
  1690. }
  1691. div.blockvmenubookmarks
  1692. {
  1693. padding-top: 10px !important;
  1694. padding-bottom: 16px !important;
  1695. }
  1696. div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks, div.blockvmenuend
  1697. {
  1698. font-family: <?php print $fontlist ?>;
  1699. color: #000000;
  1700. text-align: <?php print $left; ?>;
  1701. text-decoration: none;
  1702. padding-left: 5px;
  1703. padding-right: 1px;
  1704. padding-top: 3px;
  1705. padding-bottom: 3px;
  1706. margin: 0 0 0 2px;
  1707. background: rgb(<?php echo $colorbackvmenu1; ?>);
  1708. border-left: 1px solid #AAA;
  1709. border-right: 1px solid #BBB;
  1710. }
  1711. div.blockvmenusearch
  1712. {
  1713. font-family: <?php print $fontlist ?>;
  1714. color: #000000;
  1715. text-align: <?php print $left; ?>;
  1716. text-decoration: none;
  1717. margin: 1px 0px 0px 2px;
  1718. background: rgb(<?php echo $colorbackvmenu1; ?>);
  1719. }
  1720. div.blockvmenusearch > form > div {
  1721. padding-top: 3px;
  1722. }
  1723. div.blockvmenusearch > form > div > label {
  1724. padding-right: 2px;
  1725. }
  1726. div.blockvmenuhelp
  1727. {
  1728. <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
  1729. font-family: <?php print $fontlist ?>;
  1730. color: #000000;
  1731. text-align: center;
  1732. text-decoration: none;
  1733. padding-left: 0px;
  1734. padding-right: 6px;
  1735. padding-top: 3px;
  1736. padding-bottom: 3px;
  1737. margin: 4px 0px 0px 0px;
  1738. <?php } else { ?>
  1739. display: none;
  1740. <?php } ?>
  1741. }
  1742. td.barre {
  1743. border-right: 1px solid #000000;
  1744. border-bottom: 1px solid #000000;
  1745. background: #b3c5cc;
  1746. font-family: <?php print $fontlist ?>;
  1747. color: #000000;
  1748. text-align: <?php print $left; ?>;
  1749. text-decoration: none;
  1750. }
  1751. td.barre_select {
  1752. background: #b3c5cc;
  1753. color: #000000;
  1754. }
  1755. td.photo {
  1756. background: #F4F4F4;
  1757. color: #000000;
  1758. border: 1px solid #bbb;
  1759. }
  1760. /* ============================================================================== */
  1761. /* Panes for Main */
  1762. /* ============================================================================== */
  1763. /*
  1764. * PANES and CONTENT-DIVs
  1765. */
  1766. #mainContent, #leftContent .ui-layout-pane {
  1767. padding: 0px;
  1768. overflow: auto;
  1769. }
  1770. #mainContent, #leftContent .ui-layout-center {
  1771. padding: 0px;
  1772. position: relative; /* contain floated or positioned elements */
  1773. overflow: auto; /* add scrolling to content-div */
  1774. }
  1775. /* ============================================================================== */
  1776. /* Toolbar for ECM or Filemanager */
  1777. /* ============================================================================== */
  1778. td.ecmroot {
  1779. padding-bottom: 0 !important;
  1780. }
  1781. .largebutton {
  1782. /*background-image: -o-linear-gradient(bottom, rgba(200,200,200,0.1) 0%, rgba(255,255,255,0.3) 120%) !important;
  1783. background-image: -moz-linear-gradient(bottom, rgba(200,200,200,0.1) 0%, rgba(255,255,255,0.3) 120%) !important;
  1784. background-image: -webkit-linear-gradient(bottom, rgba(200,200,200,0.1) 0%, rgba(255,255,255,0.3) 120%) !important;
  1785. background-image: -ms-linear-gradient(bottom, rgba(200,200,200,0.1) 0%, rgba(255,255,255,0.3) 120%) !important;
  1786. background-image: linear-gradient(bottom, rgba(200,200,200,0.1) 0%, rgba(255,255,255,0.3) 120%) !important;
  1787. background: #FFF;
  1788. background-repeat: repeat-x !important;
  1789. */
  1790. border-top: 1px solid #CCC !important;
  1791. /*-moz-border-radius: 4px 4px 4px 4px !important;
  1792. -webkit-border-radius: 4px 4px 4px 4px !important;
  1793. border-radius: 4px 4px 4px 4px !important;
  1794. -moz-box-shadow: 2px 2px 4px #DDD;
  1795. -webkit-box-shadow: 2px 2px 4px #DDD;
  1796. box-shadow: 2px 2px 4px #DDD;
  1797. */
  1798. padding: 10px 4px 14px 4px !important;
  1799. min-height: 32px;
  1800. }
  1801. a.toolbarbutton {
  1802. margin-top: 0px;
  1803. margin-left: 4px;
  1804. margin-right: 4px;
  1805. height: 30px;
  1806. }
  1807. img.toolbarbutton {
  1808. margin-top: 1px;
  1809. height: 30px;
  1810. }
  1811. /* ============================================================================== */
  1812. /* Onglets */
  1813. /* ============================================================================== */
  1814. div.tabs {
  1815. text-align: <?php print $left; ?>;
  1816. padding-left: 6px !important;
  1817. padding-right: 6px !important;
  1818. clear:both;
  1819. height:100%;
  1820. /* background-image: linear-gradient(to top,#f6f6f6 0,#fff 8px); */
  1821. }
  1822. div.tabsElem {
  1823. margin-top: 1px;
  1824. } /* To avoid overlap of tabs when not browser */
  1825. div.tabBar {
  1826. color: #<?php echo $colortextbacktab; ?>;
  1827. padding-top: 16px;
  1828. padding-left: 0px; padding-right: 0px;
  1829. padding-bottom: 2px;
  1830. margin: 0px 0px 16px 0px;
  1831. border-top: 1px solid #BBB;
  1832. /* border-bottom: 1px solid #AAA; */
  1833. width: auto;
  1834. background: rgb(<?php echo $colorbacktabcard1; ?>);
  1835. }
  1836. div.tabBar div.titre {
  1837. padding-top: 10px;
  1838. }
  1839. div.tabBarWithBottom {
  1840. padding-bottom: 18px;
  1841. border-bottom: 1px solid #aaa;
  1842. }
  1843. div.tabBar table.tableforservicepart2:last-child {
  1844. border-bottom: 1px solid #aaa;
  1845. }
  1846. div.popuptabset {
  1847. padding: 6px;
  1848. background: #fff;
  1849. border: 1px solid #888;
  1850. }
  1851. div.popuptab {
  1852. padding-top: 3px;
  1853. padding-bottom: 3px;
  1854. padding-left: 5px;
  1855. padding-right: 5px;
  1856. }
  1857. div.tabsAction {
  1858. margin: 20px 0em 20px 0em;
  1859. padding: 0em 0em;
  1860. text-align: right;
  1861. }
  1862. div.tabsActionNoBottom {
  1863. margin-bottom: 0px;
  1864. }
  1865. div.tabsAction > a {
  1866. margin-bottom: 16px !important;
  1867. }
  1868. a.tabTitle {
  1869. color:rgba(0,0,0,.5) !important;
  1870. text-shadow:1px 1px 1px #ffffff;
  1871. font-family: <?php print $fontlist ?>;
  1872. font-weight: normal !important;
  1873. padding: 4px 6px 2px 0px;
  1874. margin-<?php print $right; ?>: 10px;
  1875. text-decoration: none;
  1876. white-space: nowrap;
  1877. }
  1878. a.tabunactive {
  1879. color: rgb(<?php print $colortextlink; ?>) !important;
  1880. }
  1881. a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
  1882. font-family: <?php print $fontlist ?>;
  1883. padding: 12px 9px 12px;
  1884. margin: 0em 0.2em;
  1885. text-decoration: none;
  1886. white-space: nowrap;
  1887. border-right: 1px solid transparent;
  1888. border-left: 1px solid transparent;
  1889. border-top: 1px solid transparent;
  1890. border-bottom: 0px !important;
  1891. background-image: none !important;
  1892. }
  1893. .tabactive, a.tab#active {
  1894. color: #<?php echo $colortextbacktab; ?> !important;
  1895. background: rgb(<?php echo $colorbacktabcard1; ?>) !important;
  1896. margin: 0 0.2em 0 0.2em !important;
  1897. border-right: 1px solid #AAA !important;
  1898. border-left: 1px solid #AAA !important;
  1899. border-top: 2px solid rgb(<?php echo $colortopbordertitle1; ?>) !important;
  1900. /*
  1901. box-shadow: 0 -1px 4px rgba(0,0,0,.1);
  1902. -moz-box-shadow: 0 -1px 4px rgba(0,0,0,.1);
  1903. -webkit-box-shadow: 0 -1px 4px rgba(0,0,0,.1);
  1904. -moz-border-radius:4px 4px 0 0;
  1905. -webkit-border-radius: 4px 4px 0 0;
  1906. border-radius: 4px 4px 0 0;
  1907. */
  1908. }
  1909. a.tab:hover
  1910. {
  1911. /*
  1912. background: rgba(<?php echo $colorbacktabcard1; ?>, 0.5) url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nav-overlay3.png',1); ?>) 50% 0 repeat-x;
  1913. color: #<?php echo $colortextbacktab; ?>;
  1914. */
  1915. text-decoration: underline;
  1916. }
  1917. a.tabimage {
  1918. color: #434956;
  1919. font-family: <?php print $fontlist ?>;
  1920. text-decoration: none;
  1921. white-space: nowrap;
  1922. }
  1923. td.tab {
  1924. background: #dee7ec;
  1925. }
  1926. span.tabspan {
  1927. background: #dee7ec;
  1928. color: #434956;
  1929. font-family: <?php print $fontlist ?>;
  1930. padding: 0px 6px;
  1931. margin: 0em 0.2em;
  1932. text-decoration: none;
  1933. white-space: nowrap;
  1934. -moz-border-radius:4px 4px 0px 0px;
  1935. -webkit-border-radius:4px 4px 0px 0px;
  1936. border-radius:4px 4px 0px 0px;
  1937. border-<?php print $right; ?>: 1px solid #555555;
  1938. border-<?php print $left; ?>: 1px solid #D8D8D8;
  1939. border-top: 1px solid #D8D8D8;
  1940. }
  1941. /* ============================================================================== */
  1942. /* Boutons actions */
  1943. /* ============================================================================== */
  1944. div.divButAction {
  1945. margin-bottom: 1.4em;
  1946. }
  1947. span.butAction, span.butActionDelete {
  1948. cursor: pointer;
  1949. }
  1950. .butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active {
  1951. text-decoration: none;
  1952. margin: 0em <?php echo ($dol_optimize_smallscreen?'0.7':'0.9'); ?>em;
  1953. padding: 0.6em <?php echo ($dol_optimize_smallscreen?'0.4':'0.7'); ?>em;
  1954. font-family: <?php print $fontlist ?>;
  1955. font-weight: normal;
  1956. border-color: #c5c5c5;
  1957. border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
  1958. display: inline-block;
  1959. text-align: center;
  1960. cursor: pointer;
  1961. color: #fff;
  1962. background: rgb(<?php echo $colorbackhmenu1 ?>);
  1963. border: 1px solid rgb(<?php echo $colorbackhmenu1 ?>);
  1964. }
  1965. .butAction:hover {
  1966. -moz-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  1967. -webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  1968. box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  1969. }
  1970. .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active, .buttonDelete {
  1971. background: #633;
  1972. border: 1px solid #633;
  1973. color: #FFF;
  1974. }
  1975. .butActionDelete:hover {
  1976. -moz-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  1977. -webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  1978. box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  1979. }
  1980. .butActionRefused {
  1981. text-decoration: none !important;
  1982. white-space: nowrap !important;
  1983. cursor: not-allowed !important;
  1984. margin: 0em <?php echo ($dol_optimize_smallscreen?'0.7':'0.9'); ?>em;
  1985. padding: 0.6em <?php echo ($dol_optimize_smallscreen?'0.4':'0.7'); ?>em;
  1986. font-family: <?php print $fontlist ?> !important;
  1987. font-weight: normal !important;
  1988. display: inline-block;
  1989. text-align: center;
  1990. cursor: pointer;
  1991. color: #999 !important;
  1992. border: 1px solid #bbb;
  1993. }
  1994. <?php if (! empty($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED) && (! $user->admin)) { ?>
  1995. .butActionRefused {
  1996. display: none;
  1997. }
  1998. <?php } ?>
  1999. /* ============================================================================== */
  2000. /* Tables */
  2001. /* ============================================================================== */
  2002. .allwidth {
  2003. width: 100%;
  2004. }
  2005. #undertopmenu {
  2006. background-repeat: repeat-x;
  2007. margin-top: <?php echo ($dol_hide_topmenu?'6':'0'); ?>px;
  2008. }
  2009. .paddingrightonly {
  2010. border-collapse: collapse;
  2011. border: 0px;
  2012. margin-left: 0px;
  2013. padding-<?php print $left; ?>: 0px !important;
  2014. padding-<?php print $right; ?>: 4px !important;
  2015. }
  2016. .nocellnopadd {
  2017. list-style-type:none;
  2018. margin: 0px !important;
  2019. padding: 0px !important;
  2020. }
  2021. tr.nocellnopadd td.nobordernopadding, tr.nocellnopadd td.nocellnopadd
  2022. {
  2023. border: 0px;
  2024. }
  2025. .notopnoleft {
  2026. border-collapse: collapse;
  2027. border: 0px;
  2028. padding-top: 0px;
  2029. padding-<?php print $left; ?>: 0px;
  2030. padding-<?php print $right; ?>: 16px;
  2031. padding-bottom: 4px;
  2032. margin-right: 0px;
  2033. }
  2034. .notopnoleftnoright {
  2035. border-collapse: collapse;
  2036. border: 0px;
  2037. padding-top: 0px;
  2038. padding-left: 0px;
  2039. padding-right: 0px;
  2040. padding-bottom: 4px;
  2041. margin: 0px 0px 0px 0px;
  2042. }
  2043. table.border, table.dataTable, .table-border, .table-border-col, .table-key-border-col, .table-val-border-col, div.border {
  2044. border-collapse: collapse !important;
  2045. padding: 1px 2px 1px 3px; /* t r b l */
  2046. }
  2047. table.borderplus {
  2048. border: 1px solid #BBB;
  2049. }
  2050. .border tbody tr, .border tbody tr td, div.tabBar table.border tr, div.tabBar table.border tr td, div.tabBar div.border .table-border-row, div.tabBar div.border .table-key-border-col, div.tabBar div.border .table-val-border-col {
  2051. height: 22px;
  2052. }
  2053. div.tabBar div.border .table-border-row, div.tabBar div.border .table-key-border-col, div.tabBar .table-val-border-col {
  2054. vertical-align: middle;
  2055. }
  2056. div .tdtop {
  2057. vertical-align: top !important;
  2058. padding-top: 5px !important;
  2059. padding-bottom: 0px;
  2060. }
  2061. table.border td, div.border div div.tagtd {
  2062. padding: 5px 2px 5px 2px;
  2063. border-collapse: collapse;
  2064. }
  2065. div.tabBar .fichecenter table.border>tbody>tr>td, div.tabBar .fichecenter div.border div div.tagtd, div.tabBar div.border div div.tagtd
  2066. {
  2067. padding-top: 5px;
  2068. border-bottom: 1px solid #E0E0E0;
  2069. }
  2070. td.border, div.tagtable div div.border {
  2071. border-top: 1px solid #000000;
  2072. border-right: 1px solid #000000;
  2073. border-bottom: 1px solid #000000;
  2074. border-left: 1px solid #000000;
  2075. }
  2076. .table-key-border-col {
  2077. /* width: 25%; */
  2078. vertical-align:top;
  2079. }
  2080. .table-val-border-col {
  2081. width:auto;
  2082. }
  2083. /* Main boxes */
  2084. .noborderbottom {
  2085. border-bottom: none !important;
  2086. }
  2087. .ficheaddleft table.noborder {
  2088. margin: 0px 0px 0px 0px;
  2089. }
  2090. table.liste, table.noborder, table.formdoc, div.noborder {
  2091. width: 100%;
  2092. border-collapse: separate !important;
  2093. border-spacing: 0px;
  2094. border-top-width: <?php echo $borderwith ?>px;
  2095. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2096. border-top-style: solid;
  2097. border-bottom-width: 1px;
  2098. border-bottom-color: #BBB;
  2099. border-bottom-style: solid;
  2100. margin: 0px 0px 5px 0px;
  2101. }
  2102. div.tabBar div.ficheaddleft table.noborder:last-of-type {
  2103. border-bottom: 1px solid #aaa;
  2104. }
  2105. div.tabBar div.ficheaddleft table.noborder {
  2106. border-bottom: none;
  2107. }
  2108. table.paddingtopbottomonly tr td {
  2109. padding-top: 1px;
  2110. padding-bottom: 2px;
  2111. }
  2112. .liste_titre_filter {
  2113. background: rgb(<?php echo $colorbacktitle1; ?>) !important;
  2114. }
  2115. tr.liste_titre_filter td.liste_titre {
  2116. border-bottom: 1px solid #ddd;
  2117. }
  2118. .liste_titre_create td, .liste_titre_create th, .liste_titre_create .tagtd
  2119. {
  2120. /*border-top-width: 1px;
  2121. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2122. border-top-style: solid;*/
  2123. }
  2124. .liste_titre_add td, .liste_titre_add th, .liste_titre_add .tagtd
  2125. {
  2126. border-top-width: 2px;
  2127. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2128. border-top-style: solid;
  2129. }
  2130. table.liste tr, table.noborder tr, div.noborder form {
  2131. border-top-color: #FEFEFE;
  2132. min-height: 20px;
  2133. }
  2134. table.liste th, table.noborder th, table.noborder tr.liste_titre td, table.noborder tr.box_titre td {
  2135. padding: 7px 2px 7px 3px; /* t r b l */
  2136. }
  2137. table.liste td, table.noborder td, div.noborder form div {
  2138. padding: 7px 2px 7px 3px; /* t r b l */
  2139. }
  2140. div.liste_titre_bydiv .divsearchfield {
  2141. padding: 2px 1px 2px 0px; /* t r b l */
  2142. }
  2143. tr.box_titre .nobordernopadding td {
  2144. padding: 0 ! important;
  2145. }
  2146. table.nobordernopadding {
  2147. border-collapse: collapse !important;
  2148. border: 0;
  2149. }
  2150. table.nobordernopadding tr {
  2151. border: 0 !important;
  2152. padding: 0 0 !important;
  2153. }
  2154. table.nobordernopadding tr td {
  2155. border: 0 !important;
  2156. padding: 0 3px 0 0;
  2157. }
  2158. table.border tr td table.nobordernopadding tr td {
  2159. padding-top: 0;
  2160. padding-bottom: 0;
  2161. }
  2162. td.borderright {
  2163. border: none; /* to erase value for table.nobordernopadding td */
  2164. border-right-width: 1px !important;
  2165. border-right-color: #BBB !important;
  2166. border-right-style: solid !important;
  2167. }
  2168. /* For table with no filter before */
  2169. table.listwithfilterbefore {
  2170. border-top: none !important;
  2171. }
  2172. .tagtable, .table-border { display: table; }
  2173. .tagtr, .table-border-row { display: table-row; }
  2174. .tagtd, .table-border-col, .table-key-border-col, .table-val-border-col { display: table-cell; }
  2175. /* Pagination */
  2176. div.refidpadding {
  2177. padding-top: 3px;
  2178. }
  2179. div.refid {
  2180. font-weight: bold;
  2181. color: #868;
  2182. font-size: 160%;
  2183. }
  2184. div.refidno {
  2185. padding-top: 3px;
  2186. font-weight: normal;
  2187. color: #444;
  2188. font-size: <?php print $fontsize ?>px;
  2189. line-height: 21px;
  2190. }
  2191. div.refidno form {
  2192. display: inline-block;
  2193. }
  2194. div.pagination {
  2195. float: right;
  2196. }
  2197. div.pagination a {
  2198. font-weight: normal;
  2199. }
  2200. div.pagination ul
  2201. {
  2202. list-style: none;
  2203. display: inline-block;
  2204. padding-left: 0px;
  2205. padding-right: 0px;
  2206. margin: 0;
  2207. }
  2208. div.pagination li {
  2209. display: inline-block;
  2210. padding-left: 0px;
  2211. padding-right: 0px;
  2212. padding-top: 6px;
  2213. padding-bottom: 5px;
  2214. }
  2215. .pagination {
  2216. display: inline-block;
  2217. padding-left: 0;
  2218. border-radius: 4px;
  2219. }
  2220. div.pagination li.pagination a,
  2221. div.pagination li.pagination span {
  2222. padding: 6px 12px;
  2223. line-height: 1.42857143;
  2224. color: #000;
  2225. text-decoration: none;
  2226. background-repeat: repeat-x;
  2227. }
  2228. div.pagination li.pagination span.inactive {
  2229. cursor: default;
  2230. color: #ccc;
  2231. }
  2232. li.noborder.litext, li.noborder.litext a,
  2233. div.pagination li a.inactive:hover,
  2234. div.pagination li span.inactive:hover {
  2235. -moz-box-shadow: none !important;
  2236. -webkit-box-shadow: none !important;
  2237. box-shadow: none !important;
  2238. }
  2239. /*div.pagination li.litext {
  2240. padding-top: 8px;
  2241. }*/
  2242. div.pagination li.litext a {
  2243. border: none;
  2244. padding-right: 10px;
  2245. padding-left: 4px;
  2246. font-weight: bold;
  2247. }
  2248. div.pagination li.litext a:hover {
  2249. background-color: transparent;
  2250. background-image: none;
  2251. }
  2252. div.pagination li.litext a:hover {
  2253. background-color: transparent;
  2254. background-image: none;
  2255. }
  2256. div.pagination li.noborder a:hover {
  2257. border: none;
  2258. background-color: transparent;
  2259. }
  2260. div.pagination li a,
  2261. div.pagination li span {
  2262. /* background-color: #fff; */
  2263. /* border: 1px solid #ddd; */
  2264. }
  2265. div.pagination li:first-child a,
  2266. div.pagination li:first-child span {
  2267. margin-left: 0;
  2268. border-top-left-radius: 4px;
  2269. border-bottom-left-radius: 4px;
  2270. }
  2271. div.pagination li:last-child a,
  2272. div.pagination li:last-child span {
  2273. border-top-right-radius: 4px;
  2274. border-bottom-right-radius: 4px;
  2275. }
  2276. div.pagination li a:hover,
  2277. div.pagination li span:hover,
  2278. div.pagination li a:focus,
  2279. div.pagination li span:focus {
  2280. -moz-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  2281. -webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  2282. box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
  2283. padding-top: 8px;
  2284. }
  2285. div.pagination li .active a,
  2286. div.pagination li .active span,
  2287. div.pagination li .active a:hover,
  2288. div.pagination li .active span:hover,
  2289. div.pagination li .active a:focus,
  2290. div.pagination li .active span:focus {
  2291. z-index: 2;
  2292. color: #fff;
  2293. cursor: default;
  2294. background-color: <?php $colorbackhmenu1 ?>;
  2295. border-color: #337ab7;
  2296. }
  2297. div.pagination .disabled span,
  2298. div.pagination .disabled span:hover,
  2299. div.pagination .disabled span:focus,
  2300. div.pagination .disabled a,
  2301. div.pagination .disabled a:hover,
  2302. div.pagination .disabled a:focus {
  2303. color: #777;
  2304. cursor: not-allowed;
  2305. background-color: #fff;
  2306. border-color: #ddd;
  2307. }
  2308. div.pagination li.pagination .active {
  2309. text-decoration: underline;
  2310. box-shadow: none;
  2311. }
  2312. .paginationafterarrows .nohover {
  2313. box-shadow: none !important;
  2314. }
  2315. div.pagination li.paginationafterarrows {
  2316. margin-left: 10px;
  2317. }
  2318. .paginationatbottom {
  2319. margin-top: 9px;
  2320. }
  2321. /* Set the color for hover lines */
  2322. .oddeven:hover, .evenodd:hover, .impair:hover, .pair:hover
  2323. {
  2324. <?php if ($colorbacklinepairhover) { ?>
  2325. background: rgb(<?php echo $colorbacklinepairhover; ?>) !important; /* Must be background to be stronger than background of odd or even */
  2326. <?php } ?>
  2327. }
  2328. .oddeven, .evenodd, .impair, .nohover .impair:hover, tr.impair td.nohover
  2329. {
  2330. font-family: <?php print $fontlist ?>;
  2331. margin-bottom: 1px;
  2332. color: #202020;
  2333. }
  2334. .impair, .nohover .impair:hover, tr.impair td.nohover
  2335. {
  2336. background: #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?>;
  2337. }
  2338. #GanttChartDIV {
  2339. background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?>;
  2340. }
  2341. .oddeven, .evenodd, .pair, .nohover .pair:hover, tr.pair td.nohover {
  2342. font-family: <?php print $fontlist ?>;
  2343. margin-bottom: 1px;
  2344. color: #202020;
  2345. }
  2346. .pair, .nohover .pair:hover, tr.pair td.nohover {
  2347. background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?>;
  2348. }
  2349. table.dataTable tr.oddeven {
  2350. background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important;
  2351. }
  2352. /* For no hover style */
  2353. td.oddeven, table.nohover tr.impair, table.nohover tr.pair, table.nohover tr.impair td, table.nohover tr.pair td, tr.nohover td, form.nohover, form.nohover:hover {
  2354. background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?> !important;
  2355. background: #<?php echo colorArrayToHex(colorStringToArray($colorbacklineimpair1)); ?> !important;
  2356. }
  2357. td.evenodd, tr.nohoverpair td {
  2358. background-color: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important;
  2359. background: #<?php echo colorArrayToHex(colorStringToArray($colorbacklinepair1)); ?> !important;
  2360. }
  2361. table.dataTable td {
  2362. padding: 5px 2px 5px 3px !important;
  2363. }
  2364. tr.pair td, tr.impair td, form.impair div.tagtd, form.pair div.tagtd, div.impair div.tagtd, div.pair div.tagtd, div.liste_titre div.tagtd {
  2365. padding: 7px 2px 7px 3px;
  2366. border-bottom: 1px solid #ddd;
  2367. }
  2368. form.pair, form.impair {
  2369. font-weight: normal;
  2370. }
  2371. form.tagtr:last-of-type div.tagtd, tr.pair:last-of-type td, tr.impair:last-of-type td {
  2372. border-bottom: 0px !important;
  2373. }
  2374. tr.pair td .nobordernopadding tr td, tr.impair td .nobordernopadding tr td {
  2375. border-bottom: 0px !important;
  2376. }
  2377. td.nobottom, td.nobottom {
  2378. border-bottom: 0px !important;
  2379. }
  2380. div.liste_titre .tagtd {
  2381. vertical-align: middle;
  2382. }
  2383. /*div.liste_titre {
  2384. box-shadow: 2px 2px 4px #CCC;
  2385. }*/
  2386. div.liste_titre {
  2387. min-height: 26px !important; /* We cant use height because it's a div and it should be higher if content is more. but min-height does not work either for div */
  2388. padding-top: 2px;
  2389. padding-bottom: 2px;
  2390. /* border-top-width: 1px;
  2391. border-top-color: #BBB;
  2392. border-top-style: solid;*/
  2393. }
  2394. div.liste_titre_bydiv {
  2395. border-top-width: <?php echo $borderwith ?>px;
  2396. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2397. border-top-style: solid;
  2398. border-collapse: collapse;
  2399. display: table;
  2400. padding: 2px 0px 2px 0;
  2401. box-shadow: none;
  2402. width: calc(100% - 1px); /* 1px more, i don't know why */
  2403. }
  2404. tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable.tr
  2405. {
  2406. height: 26px !important;
  2407. }
  2408. div.liste_titre_bydiv, .liste_titre div.tagtr, tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable thead tr
  2409. {
  2410. background: rgb(<?php echo $colorbacktitle1; ?>);
  2411. font-weight: <?php echo $useboldtitle?'bold':'normal'; ?>;
  2412. border-bottom: 1px solid #ddd;
  2413. color: rgb(<?php echo $colortexttitle; ?>);
  2414. font-family: <?php print $fontlist ?>;
  2415. text-align: <?php echo $left; ?>;
  2416. }
  2417. tr.liste_titre th, tr.liste_titre td, th.liste_titre
  2418. {
  2419. /* border-bottom: 1px solid #<?php echo ($colorbacktitle1 == '255,255,255'?'BBBBBB':'ddd'); ?>; */
  2420. border-bottom: 1px solid #888;
  2421. }
  2422. tr.liste_titre:first-child th, tr:first-child th.liste_titre {
  2423. border-bottom: 1px solid #ddd ! important;
  2424. }
  2425. tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre, form.liste_titre div
  2426. {
  2427. font-family: <?php print $fontlist ?>;
  2428. font-weight: <?php echo $useboldtitle?'bold':'normal'; ?>;
  2429. vertical-align: middle;
  2430. height: 24px;
  2431. }
  2432. tr.liste_titre th a, th.liste_titre a, tr.liste_titre td a, td.liste_titre a, form.liste_titre div a, div.liste_titre a {
  2433. text-shadow: none !important;
  2434. }
  2435. tr.liste_titre_topborder td {
  2436. border-top-width: <?php echo $borderwith; ?>px;
  2437. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
  2438. border-top-style: solid;
  2439. }
  2440. .liste_titre td a {
  2441. text-shadow: none !important;
  2442. color: rgb(<?php echo $colortexttitle; ?>);
  2443. }
  2444. .liste_titre td a.notasortlink {
  2445. color: rgb(<?php echo $colortextlink; ?>);
  2446. }
  2447. .liste_titre td a.notasortlink:hover {
  2448. background: transparent;
  2449. }
  2450. tr.liste_titre:last-child th.liste_titre, tr.liste_titre:last-child th.liste_titre_sel, tr.liste_titre td.liste_titre, tr.liste_titre td.liste_titre_sel, form.liste_titre div.tagtd { /* For last line of table headers only */
  2451. border-bottom: 1px solid #ddd;
  2452. }
  2453. tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel, form.liste_titre_sel div
  2454. {
  2455. font-family: <?php print $fontlist ?>;
  2456. font-weight: normal;
  2457. border-bottom: 1px solid #FDFFFF;
  2458. text-decoration: underline;
  2459. }
  2460. input.liste_titre {
  2461. background: transparent;
  2462. border: 0px;
  2463. }
  2464. .listactionlargetitle .liste_titre {
  2465. line-height: 24px;
  2466. }
  2467. .noborder tr.liste_total, .noborder tr.liste_total td, tr.liste_total, form.liste_total {
  2468. height: 32px;
  2469. }
  2470. .noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
  2471. color: #552266;
  2472. font-weight: normal;
  2473. white-space: nowrap;
  2474. }
  2475. form.liste_total div {
  2476. border-top: 1px solid #DDDDDD;
  2477. }
  2478. tr.liste_sub_total, tr.liste_sub_total td {
  2479. border-bottom: 1px solid #aaa;
  2480. }
  2481. .tableforservicepart1 .impair, .tableforservicepart1 .pair, .tableforservicepart2 .impair, .tableforservicepart2 .pair {
  2482. background: #FFF;
  2483. }
  2484. .tableforservicepart1 tbody tr td, .tableforservicepart2 tbody tr td {
  2485. border-bottom: none;
  2486. }
  2487. .paymenttable, .margintable {
  2488. border-top-width: <?php echo $borderwith ?>px !important;
  2489. border-top-color: rgb(<?php echo $colortopbordertitle1 ?>) !important;
  2490. border-top-style: solid !important;
  2491. margin: 0px 0px 0px 0px !important;
  2492. }
  2493. .paymenttable tr td:first-child, .margintable tr td:first-child
  2494. {
  2495. padding-left: 2px;
  2496. }
  2497. /* Disable shadows */
  2498. .noshadow {
  2499. -moz-box-shadow: 0px 0px 0px #DDD !important;
  2500. -webkit-box-shadow: 0px 0px 0px #DDD !important;
  2501. box-shadow: 0px 0px 0px #DDD !important;
  2502. }
  2503. div.tabBar .noborder {
  2504. -moz-box-shadow: 0px 0px 0px #DDD !important;
  2505. -webkit-box-shadow: 0px 0px 0px #DDD !important;
  2506. box-shadow: 0px 0px 0px #DDD !important;
  2507. }
  2508. #tablelines tr.liste_titre td, .paymenttable tr.liste_titre td, .margintable tr.liste_titre td, .tableforservicepart1 tr.liste_titre td {
  2509. border-bottom: 1px solid #AAA !important;
  2510. }
  2511. /* Prepare to remove class pair - impair */
  2512. .noborder > tbody > tr:nth-child(even):not(.liste_titre), .liste > tbody > tr:nth-child(even):not(.liste_titre) {
  2513. background: linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2514. background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2515. background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2516. background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2517. background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklineimpair1; ?>) 85%, rgb(<?php echo $colorbacklineimpair2; ?>) 100%);
  2518. }
  2519. .noborder > tbody > tr:nth-child(even):not(:last-child) td:not(.liste_titre), .liste > tbody > tr:nth-child(even):not(:last-child) td:not(.liste_titre) {
  2520. border-bottom: 1px solid #ddd;
  2521. }
  2522. .noborder > tbody > tr:nth-child(odd):not(.liste_titre), .liste > tbody > tr:nth-child(odd):not(.liste_titre) {
  2523. background: linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  2524. background: -o-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  2525. background: -moz-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  2526. background: -webkit-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  2527. background: -ms-linear-gradient(bottom, rgb(<?php echo $colorbacklinepair1; ?>) 85%, rgb(<?php echo $colorbacklinepair2; ?>) 100%);
  2528. }
  2529. .noborder > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre), .liste > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre) {
  2530. border-bottom: 1px solid #ddd;
  2531. }
  2532. /*
  2533. * Boxes
  2534. */
  2535. .ficheaddleft div.boxstats {
  2536. border: none;
  2537. }
  2538. .boxstatsborder {
  2539. border: 1px solid #CCC !important;
  2540. }
  2541. .boxstats, .boxstats130 {
  2542. display: inline-block;
  2543. margin: 3px;
  2544. border: 1px solid #CCC;
  2545. text-align: center;
  2546. border-radius: 2px;
  2547. }
  2548. .boxstats, .boxstats130, .boxstatscontent {
  2549. white-space: nowrap;
  2550. overflow: hidden;
  2551. text-overflow: ellipsis;
  2552. }
  2553. .boxstats {
  2554. padding: 3px;
  2555. width: 105px;
  2556. }
  2557. .boxstats130 {
  2558. width: 160px;
  2559. height: 48px;
  2560. padding: 3px
  2561. }
  2562. .boxstatscontent {
  2563. padding: 3px;
  2564. }
  2565. @media only screen and (max-width: 767px)
  2566. {
  2567. .thumbstat {
  2568. flex: 1 1 110px;
  2569. }
  2570. .thumbstat150 {
  2571. flex: 1 1 110px;
  2572. }
  2573. .boxstats, .boxstats130 {
  2574. width: 90px;
  2575. }
  2576. .dashboardlineindicator {
  2577. float: left;
  2578. padding-left: 5px;
  2579. }
  2580. .boxstats {
  2581. width: 100px;
  2582. }
  2583. }
  2584. .boxstats:hover {
  2585. box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.20);
  2586. }
  2587. span.boxstatstext {
  2588. opacity: 0.8;
  2589. line-height: 18px;
  2590. }
  2591. span.boxstatsindicator {
  2592. font-size: 130%;
  2593. font-weight: normal;
  2594. line-height: 29px;
  2595. }
  2596. span.dashboardlineindicator, span.dashboardlineindicatorlate {
  2597. font-size: 130%;
  2598. font-weight: normal;
  2599. }
  2600. .dashboardlineindicatorlate img {
  2601. width: 16px;
  2602. }
  2603. span.dashboardlineok {
  2604. color: #008800;
  2605. }
  2606. span.dashboardlineko {
  2607. color: #FFF;
  2608. /*color: #8c4446 ! important;
  2609. padding-left: 1px;*/
  2610. font-size: 80%;
  2611. }
  2612. .dashboardlinelatecoin {
  2613. float: right;
  2614. position: relative;
  2615. text-align: right;
  2616. top: -24px;
  2617. padding: 1px 2px 1px 2px;
  2618. border-radius: .25em;
  2619. background-color: #9f4705;
  2620. padding: 0px 5px 0px 5px;
  2621. top: -26px;
  2622. }
  2623. .imglatecoin {
  2624. padding: 1px 3px 1px 1px;
  2625. margin-left: 4px;
  2626. margin-right: 2px;
  2627. background-color: #8c4446;
  2628. color: #FFFFFF ! important;
  2629. border-radius: .25em;
  2630. display: inline-block;
  2631. vertical-align: middle;
  2632. }
  2633. .boxtable {
  2634. margin-bottom: 8px !important;
  2635. border-bottom-width: 1px;
  2636. }
  2637. .boxtablenobottom {
  2638. border-bottom-width: 0 !important;
  2639. }
  2640. .tdboxstats {
  2641. text-align: center;
  2642. }
  2643. a.valignmiddle.dashboardlineindicator {
  2644. line-height: 30px;
  2645. }
  2646. .box {
  2647. padding-right: 0px;
  2648. padding-left: 0px;
  2649. padding-bottom: 12px;
  2650. }
  2651. tr.box_titre {
  2652. height: 26px;
  2653. /* TO MATCH BOOTSTRAP */
  2654. /*background: #ddd;
  2655. color: #000 !important;*/
  2656. /* TO MATCH ELDY */
  2657. background: rgb(<?php echo $colorbacktitle1; ?>)
  2658. color: rgb(<?php echo $colortexttitle; ?>);
  2659. font-family: <?php print $fontlist ?>, sans-serif;
  2660. font-weight: <?php echo $useboldtitle?'bold':'normal'; ?>;
  2661. border-bottom: 1px solid #FDFFFF;
  2662. white-space: nowrap;
  2663. }
  2664. tr.box_titre td.boxclose {
  2665. width: 30px;
  2666. }
  2667. img.boxhandle, img.boxclose {
  2668. padding-left: 5px;
  2669. }
  2670. .noborderbottom {
  2671. border-bottom: none !important;
  2672. }
  2673. .formboxfilter {
  2674. vertical-align: middle;
  2675. margin-bottom: 6px;
  2676. }
  2677. .formboxfilter input[type=image]
  2678. {
  2679. top: 5px;
  2680. position: relative;
  2681. }
  2682. .boxfilter {
  2683. margin-bottom: 2px;
  2684. margin-right: 1px;
  2685. }
  2686. .prod_entry_mode_free, .prod_entry_mode_predef {
  2687. height: 26px !important;
  2688. vertical-align: middle;
  2689. }
  2690. .modulebuilderbox {
  2691. border: 1px solid #888;
  2692. padding: 16px;
  2693. }
  2694. /*
  2695. * Ok, Warning, Error
  2696. */
  2697. .ok { color: #114466; }
  2698. .warning { color: #887711; }
  2699. .error { color: #550000 !important; font-weight: bold; }
  2700. div.ok {
  2701. color: #114466;
  2702. }
  2703. /* Warning message */
  2704. div.warning {
  2705. color: #302020;
  2706. padding: 0.3em 0.3em 0.3em 0.3em;
  2707. margin: 0.5em 0em 0.5em 0em;
  2708. border: 1px solid #e0d0b0;
  2709. -moz-border-radius: 4px;
  2710. -webkit-border-radius: 4px;
  2711. border-radius: 4px;
  2712. background: #EFDF9A;
  2713. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  2714. }
  2715. /* Error message */
  2716. div.error {
  2717. background: #EFCFCF;
  2718. }
  2719. /* Info admin */
  2720. div.info {
  2721. color: #fff;
  2722. padding: 0.4em 0.4em 0.4em 0.4em;
  2723. margin: 0.5em 0em 0.5em 0em;
  2724. border: 1px solid #e0e0e0;
  2725. -moz-border-radius: 4px;
  2726. -webkit-border-radius: 4px;
  2727. border-radius: 4px;
  2728. background: #806090;
  2729. /* text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); */
  2730. }
  2731. div.warning a, div.info a, div.error a {
  2732. color: rgb(<?php echo $colortext; ?>);
  2733. }
  2734. /*
  2735. * Liens Payes/Non payes
  2736. */
  2737. a.normal:link { font-weight: normal }
  2738. a.normal:visited { font-weight: normal }
  2739. a.normal:active { font-weight: normal }
  2740. a.normal:hover { font-weight: normal }
  2741. a.impayee:link { font-weight: bold; color: #550000; }
  2742. a.impayee:visited { font-weight: bold; color: #550000; }
  2743. a.impayee:active { font-weight: bold; color: #550000; }
  2744. a.impayee:hover { font-weight: bold; color: #550000; }
  2745. /*
  2746. * Other
  2747. */
  2748. .product_line_stock_ok { color: #002200; }
  2749. .product_line_stock_too_low { color: #664400; }
  2750. .fieldrequired { font-weight: bold; color: #000055; }
  2751. .widthpictotitle { width: 40px; text-align: <?php echo $left; ?>; }
  2752. .dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
  2753. .dolgraphtitlecssboxes { margin: 0px; }
  2754. .legendColorBox, .legendLabel { border: none !important; }
  2755. div.dolgraph div.legend, div.dolgraph div.legend div { background-color: rgba(255,255,255,0) !important; }
  2756. div.dolgraph div.legend table tbody tr { height: auto; }
  2757. td.legendColorBox { padding: 2px 2px 2px 0 !important; }
  2758. td.legendLabel { padding: 2px 2px 2px 0 !important; }
  2759. .photo {
  2760. border: 0px;
  2761. }
  2762. .photowithmargin {
  2763. margin-bottom: 2px;
  2764. margin-top: 10px;
  2765. }
  2766. .photowithborder {
  2767. border: 1px solid #f0f0f0;
  2768. }
  2769. .photointooltip {
  2770. margin-top: 6px;
  2771. margin-bottom: 6px;
  2772. text-align: center;
  2773. /*-moz-box-shadow: 3px 3px 4px #DDD;
  2774. -webkit-box-shadow: 3px 3px 4px #DDD;
  2775. box-shadow: 3px 3px 4px #DDD;*/
  2776. }
  2777. .photodelete {
  2778. margin-top: 6px !important;
  2779. }
  2780. .logo_setup
  2781. {
  2782. content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/logo_setup.svg',1) ?>); /* content is used to best fit the container */
  2783. display: inline-block;
  2784. }
  2785. .nographyet
  2786. {
  2787. content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nographyet.svg',1) ?>);
  2788. display: inline-block;
  2789. opacity: 0.1;
  2790. background-repeat: no-repeat;
  2791. }
  2792. .nographyettext
  2793. {
  2794. opacity: 0.5;
  2795. }
  2796. div.titre {
  2797. font-family: <?php print $fontlist ?>;
  2798. font-size: 14px;
  2799. font-weight: bold;
  2800. color: rgb(<?php print $colortexttitlenotab; ?>);
  2801. text-decoration: none;
  2802. padding-top: 5px;
  2803. padding-bottom: 5px;
  2804. /* text-shadow: 1px 1px 2px #FFFFFF; */
  2805. }
  2806. #dolpaymenttable { width: 600px; font-size: 13px; }
  2807. #tablepublicpayment { border: 1px solid #CCCCCC !important; width: 100%; }
  2808. #tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
  2809. #tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
  2810. #tablepublicpayment tr.liste_total td { border-top: none; }
  2811. #divsubscribe { width: 700px; }
  2812. #tablesubscribe { width: 100%; }
  2813. /*
  2814. * Effect Postit
  2815. */
  2816. .effectpostit
  2817. {
  2818. position: relative;
  2819. }
  2820. .effectpostit:before, .effectpostit:after
  2821. {
  2822. z-index: -1;
  2823. position: absolute;
  2824. content: "";
  2825. bottom: 15px;
  2826. left: 10px;
  2827. width: 50%;
  2828. top: 80%;
  2829. max-width:300px;
  2830. background: #777;
  2831. -webkit-box-shadow: 0 15px 10px #777;
  2832. -moz-box-shadow: 0 15px 10px #777;
  2833. box-shadow: 0 15px 10px #777;
  2834. -webkit-transform: rotate(-3deg);
  2835. -moz-transform: rotate(-3deg);
  2836. -o-transform: rotate(-3deg);
  2837. -ms-transform: rotate(-3deg);
  2838. transform: rotate(-3deg);
  2839. }
  2840. .effectpostit:after
  2841. {
  2842. -webkit-transform: rotate(3deg);
  2843. -moz-transform: rotate(3deg);
  2844. -o-transform: rotate(3deg);
  2845. -ms-transform: rotate(3deg);
  2846. transform: rotate(3deg);
  2847. right: 10px;
  2848. left: auto;
  2849. }
  2850. /* ============================================================================== */
  2851. /* Formulaire confirmation (When Ajax JQuery is used) */
  2852. /* ============================================================================== */
  2853. .ui-dialog-titlebar {
  2854. }
  2855. .ui-dialog-content {
  2856. font-size: <?php print $fontsize; ?>px !important;
  2857. }
  2858. /* ============================================================================== */
  2859. /* Formulaire confirmation (When HTML is used) */
  2860. /* ============================================================================== */
  2861. table.valid {
  2862. border-top: solid 1px #E6E6E6;
  2863. border-<?php print $left; ?>: solid 1px #E6E6E6;
  2864. border-<?php print $right; ?>: solid 1px #444444;
  2865. border-bottom: solid 1px #555555;
  2866. padding-top: 0px;
  2867. padding-left: 0px;
  2868. padding-right: 0px;
  2869. padding-bottom: 0px;
  2870. margin: 0px 0px;
  2871. background: #D5BAA8;
  2872. }
  2873. .validtitre {
  2874. background: #D5BAA8;
  2875. font-weight: bold;
  2876. }
  2877. /* ============================================================================== */
  2878. /* Tooltips */
  2879. /* ============================================================================== */
  2880. #tooltip {
  2881. position: absolute;
  2882. width: <?php print dol_size(450,'width'); ?>px;
  2883. border-top: solid 1px #BBBBBB;
  2884. border-<?php print $left; ?>: solid 1px #BBBBBB;
  2885. border-<?php print $right; ?>: solid 1px #444444;
  2886. border-bottom: solid 1px #444444;
  2887. padding: 2px;
  2888. z-index: 3000;
  2889. background-color: #FFF;
  2890. opacity: 1;
  2891. -moz-border-radius: 4px;
  2892. -webkit-border-radius: 4px;
  2893. border-radius: 4px;
  2894. }
  2895. #tiptip_content {
  2896. -moz-border-radius:0px;
  2897. -webkit-border-radius: 0px;
  2898. border-radius: 0px;
  2899. background-color: rgb(255,255,255);
  2900. line-height: 1.4em;
  2901. min-width: 200px;
  2902. }
  2903. /* ============================================================================== */
  2904. /* Calendar */
  2905. /* ============================================================================== */
  2906. img.datecallink { padding-left: 2px !important; padding-right: 2px !important; }
  2907. .ui-datepicker-trigger {
  2908. vertical-align: middle;
  2909. cursor: pointer;
  2910. }
  2911. .bodyline {
  2912. -moz-border-radius: 8px;
  2913. -webkit-border-radius: 8px;
  2914. border-radius: 8px;
  2915. border: 1px #E4ECEC outset;
  2916. padding: 0px;
  2917. margin-bottom: 5px;
  2918. }
  2919. table.dp {
  2920. width: 180px;
  2921. background-color: #FFFFFF;
  2922. border-top: solid 2px #DDDDDD;
  2923. border-<?php print $left; ?>: solid 2px #DDDDDD;
  2924. border-<?php print $right; ?>: solid 1px #222222;
  2925. border-bottom: solid 1px #222222;
  2926. padding: 0px;
  2927. border-spacing: 0px;
  2928. border-collapse: collapse;
  2929. }
  2930. .dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
  2931. /* Barre titre */
  2932. .dpHead,.tpHead,.tpHour td:Hover .tpHead{
  2933. font-weight:bold;
  2934. background-color:#b3c5cc;
  2935. color:white;
  2936. font-size:11px;
  2937. cursor:auto;
  2938. }
  2939. /* Barre navigation */
  2940. .dpButtons,.tpButtons {
  2941. text-align:center;
  2942. background-color:#617389;
  2943. color:#FFFFFF;
  2944. font-weight:bold;
  2945. cursor:pointer;
  2946. }
  2947. .dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
  2948. .dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
  2949. .dpExplanation{ font-weight:normal; font-size:11px;}
  2950. .dpWeek td{text-align:center}
  2951. .dpToday,.dpReg,.dpSelected{
  2952. cursor:pointer;
  2953. }
  2954. .dpToday{font-weight:bold; color:black; background-color:#DDDDDD;}
  2955. .dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
  2956. /* Jour courant */
  2957. .dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
  2958. .tpHour{border-top:1px solid #DDDDDD; border-right:1px solid #DDDDDD;}
  2959. .tpHour td {border-left:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;}
  2960. .tpHour td:Hover {background-color:black;color:white;}
  2961. .tpMinute {margin-top:5px;}
  2962. .tpMinute td:Hover {background-color:black; color:white; }
  2963. .tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
  2964. /* Bouton X fermer */
  2965. .dpInvisibleButtons
  2966. {
  2967. border-style:none;
  2968. background-color:transparent;
  2969. padding:0px;
  2970. font-size:9px;
  2971. border-width:0px;
  2972. color:#0B63A2;
  2973. vertical-align:middle;
  2974. cursor: pointer;
  2975. }
  2976. .datenowlink
  2977. {
  2978. color: rgb(<?php print $colortextlink; ?>);
  2979. }
  2980. /* ============================================================================== */
  2981. /* Afficher/cacher */
  2982. /* ============================================================================== */
  2983. div.visible {
  2984. display: block;
  2985. }
  2986. div.hidden, td.hidden, img.hidden {
  2987. display: none;
  2988. }
  2989. tr.visible {
  2990. display: block;
  2991. }
  2992. /* ============================================================================== */
  2993. /* Module website */
  2994. /* ============================================================================== */
  2995. .websitebar {
  2996. border-bottom: 1px solid #888;
  2997. background: #eee;
  2998. display: inline-block;
  2999. }
  3000. .websitebar .button, .websitebar .buttonDelete
  3001. {
  3002. padding: 2px 5px 3px 5px !important;
  3003. margin: 2px 4px 2px 4px !important;
  3004. line-height: normal;
  3005. }
  3006. .websiteselection {
  3007. display: inline-block;
  3008. padding-left: 10px;
  3009. vertical-align: middle;
  3010. /* line-height: 29px; */
  3011. }
  3012. .websitetools {
  3013. float: right;
  3014. /* height: 28px; */
  3015. }
  3016. .websiteselection, .websitetools {
  3017. padding-top: 3px;
  3018. padding-bottom: 3px;
  3019. }
  3020. .websiteinputurl {
  3021. display: inline-block;
  3022. vertical-align: top;
  3023. }
  3024. .websiteiframenoborder {
  3025. border: 0px;
  3026. }
  3027. a.websitebuttonsitepreview {
  3028. vertical-align: middle;
  3029. }
  3030. a.websitebuttonsitepreview img {
  3031. width: 26px;
  3032. display: inline-block;
  3033. }
  3034. /* ============================================================================== */
  3035. /* Module agenda */
  3036. /* ============================================================================== */
  3037. .agendacell { height: 60px; }
  3038. table.cal_month { border-spacing: 0px; }
  3039. table.cal_month td:first-child { border-left: 0px; }
  3040. table.cal_month td:last-child { border-right: 0px; }
  3041. .cal_current_month { border-top: 0; border-left: solid 1px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
  3042. .cal_current_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
  3043. .cal_current_month_oneday { border-right: solid 1px #E0E0E0; }
  3044. .cal_other_month { border-top: 0; border-left: solid 1px #C0C0C0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
  3045. .cal_other_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B !important; border-right: 0; }
  3046. .cal_current_month_right { border-right: solid 1px #E0E0E0; }
  3047. .cal_other_month_right { border-right: solid 1px #C0C0C0; }
  3048. .cal_other_month { /* opacity: 0.6; */ background: #EAEAEA; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  3049. .cal_past_month { /* opacity: 0.6; */ background: #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  3050. .cal_current_month { background: #FFFFFF; border-left: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  3051. .cal_current_month_peruserleft { background: #FFFFFF; border-left: solid 2px #6C7C7B; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  3052. .cal_today { background: #FDFDF0; border-left: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  3053. .cal_today_peruser { background: #FDFDF0; border-right: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  3054. .cal_today_peruser_peruserleft { background: #FDFDF0; border-left: solid 2px #6C7C7B; border-right: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  3055. .cal_past { }
  3056. .cal_peruser { padding: 0px; }
  3057. .cal_impair { background: #F8F8F8; }
  3058. .cal_today_peruser_impair { background: #F8F8F0; }
  3059. .peruser_busy { background: #CC8888; }
  3060. .peruser_notbusy { background: #EEDDDD; opacity: 0.5; }
  3061. table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; -webkit-border-radius: 6px; border-radius: 6px; min-height: 20px; }
  3062. table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
  3063. table.cal_event td.cal_event { padding: 4px 4px !important; }
  3064. table.cal_event td.cal_event_right { padding: 4px 4px !important; }
  3065. .cal_event a:link { color: #111111; font-size: 11px; font-weight: normal !important; }
  3066. .cal_event a:visited { color: #111111; font-size: 11px; font-weight: normal !important; }
  3067. .cal_event a:active { color: #111111; font-size: 11px; font-weight: normal !important; }
  3068. .cal_event a:hover { color: #111111; font-size: 11px; font-weight: normal !important; color:rgba(255,255,255,.75); }
  3069. .cal_event_busy { }
  3070. .cal_peruserviewname { max-width: 100px; height: 22px; }
  3071. /* ============================================================================== */
  3072. /* Ajax - Liste deroulante de l'autocompletion */
  3073. /* ============================================================================== */
  3074. .ui-widget-content { border: solid 1px rgba(0,0,0,.3); background: #fff !important; }
  3075. .ui-autocomplete-loading { background: white url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/working.gif',1) ?>) right center no-repeat; }
  3076. .ui-autocomplete {
  3077. position:absolute;
  3078. width:auto;
  3079. font-size: 1.0em;
  3080. background-color:white;
  3081. border:1px solid #888;
  3082. margin:0px;
  3083. /* padding:0px; This make combo crazy */
  3084. }
  3085. .ui-autocomplete ul {
  3086. list-style-type:none;
  3087. margin:0px;
  3088. padding:0px;
  3089. }
  3090. .ui-autocomplete ul li.selected { background-color: #D3E5EC;}
  3091. .ui-autocomplete ul li {
  3092. list-style-type:none;
  3093. display:block;
  3094. margin:0;
  3095. padding:2px;
  3096. height:18px;
  3097. cursor:pointer;
  3098. }
  3099. /* ============================================================================== */
  3100. /* jQuery - jeditable */
  3101. /* ============================================================================== */
  3102. .editkey_textarea, .editkey_ckeditor, .editkey_string, .editkey_email, .editkey_numeric, .editkey_select, .editkey_autocomplete {
  3103. background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png',1) ?>) right top no-repeat;
  3104. cursor: pointer;
  3105. }
  3106. .editkey_datepicker {
  3107. background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png',1) ?>) right center no-repeat;
  3108. cursor: pointer;
  3109. }
  3110. .editval_textarea.active:hover, .editval_ckeditor.active:hover, .editval_string.active:hover, .editval_email.active:hover, .editval_numeric.active:hover, .editval_select.active:hover, .editval_autocomplete.active:hover, .editval_datepicker.active:hover {
  3111. background: white;
  3112. cursor: pointer;
  3113. }
  3114. .viewval_textarea.active:hover, .viewval_ckeditor.active:hover, .viewval_string.active:hover, .viewval_email.active:hover, .viewval_numeric.active:hover, .viewval_select.active:hover, .viewval_autocomplete.active:hover, .viewval_datepicker.active:hover {
  3115. background: white;
  3116. cursor: pointer;
  3117. }
  3118. .viewval_hover {
  3119. background: white;
  3120. }
  3121. /* ============================================================================== */
  3122. /* Admin Menu */
  3123. /* ============================================================================== */
  3124. /* CSS for treeview */
  3125. .treeview ul { background-color: transparent !important; margin-top: 0; }
  3126. .treeview li { background-color: transparent !important; padding: 0 0 0 16px !important; min-height: 20px; }
  3127. .treeview .hover { color: rgb(<?php print $colortextlink; ?>) !important; text-decoration: underline !important; }
  3128. /* ============================================================================== */
  3129. /* Show Excel tabs */
  3130. /* ============================================================================== */
  3131. .table_data
  3132. {
  3133. border-style:ridge;
  3134. border:1px solid;
  3135. }
  3136. .tab_base
  3137. {
  3138. background:#C5D0DD;
  3139. font-weight:bold;
  3140. border-style:ridge;
  3141. border: 1px solid;
  3142. cursor:pointer;
  3143. }
  3144. .table_sub_heading
  3145. {
  3146. background:#CCCCCC;
  3147. font-weight:bold;
  3148. border-style:ridge;
  3149. border: 1px solid;
  3150. }
  3151. .table_body
  3152. {
  3153. background:#F0F0F0;
  3154. font-weight:normal;
  3155. font-family:sans-serif;
  3156. border-style:ridge;
  3157. border: 1px solid;
  3158. border-spacing: 0px;
  3159. border-collapse: collapse;
  3160. }
  3161. .tab_loaded
  3162. {
  3163. background:#222222;
  3164. color:white;
  3165. font-weight:bold;
  3166. border-style:groove;
  3167. border: 1px solid;
  3168. cursor:pointer;
  3169. }
  3170. /* ============================================================================== */
  3171. /* CSS for color picker */
  3172. /* ============================================================================== */
  3173. A.color, A.color:active, A.color:visited {
  3174. position : relative;
  3175. display : block;
  3176. text-decoration : none;
  3177. width : 10px;
  3178. height : 10px;
  3179. line-height : 10px;
  3180. margin : 0px;
  3181. padding : 0px;
  3182. border : 1px inset white;
  3183. }
  3184. A.color:hover {
  3185. border : 1px outset white;
  3186. }
  3187. A.none, A.none:active, A.none:visited, A.none:hover {
  3188. position : relative;
  3189. display : block;
  3190. text-decoration : none;
  3191. width : 10px;
  3192. height : 10px;
  3193. line-height : 10px;
  3194. margin : 0px;
  3195. padding : 0px;
  3196. cursor : default;
  3197. border : 1px solid #b3c5cc;
  3198. }
  3199. .tblColor {
  3200. display : none;
  3201. }
  3202. .tdColor {
  3203. padding : 1px;
  3204. }
  3205. .tblContainer {
  3206. background-color : #b3c5cc;
  3207. }
  3208. .tblGlobal {
  3209. position : absolute;
  3210. top : 0px;
  3211. left : 0px;
  3212. display : none;
  3213. background-color : #b3c5cc;
  3214. border : 2px outset;
  3215. }
  3216. .tdContainer {
  3217. padding : 5px;
  3218. }
  3219. .tdDisplay {
  3220. width : 50%;
  3221. height : 20px;
  3222. line-height : 20px;
  3223. border : 1px outset white;
  3224. }
  3225. .tdDisplayTxt {
  3226. width : 50%;
  3227. height : 24px;
  3228. line-height : 12px;
  3229. font-family : <?php print $fontlist ?>;
  3230. font-size : 8pt;
  3231. color : black;
  3232. text-align : center;
  3233. }
  3234. .btnColor {
  3235. width : 100%;
  3236. font-family : <?php print $fontlist ?>;
  3237. font-size : 10pt;
  3238. padding : 0px;
  3239. margin : 0px;
  3240. }
  3241. .btnPalette {
  3242. width : 100%;
  3243. font-family : <?php print $fontlist ?>;
  3244. font-size : 8pt;
  3245. padding : 0px;
  3246. margin : 0px;
  3247. }
  3248. /* Style to overwrites JQuery styles */
  3249. .ui-menu .ui-menu-item a {
  3250. text-decoration:none;
  3251. display:block;
  3252. padding:.2em .4em;
  3253. line-height:1.5;
  3254. zoom:1;
  3255. font-weight: normal;
  3256. font-family:<?php echo $fontlist; ?>;
  3257. font-size:1em;
  3258. }
  3259. .ui-widget {
  3260. font-family:<?php echo $fontlist; ?>;
  3261. font-size:<?php echo $fontsize; ?>px;
  3262. }
  3263. .ui-button { margin-left: -2px; <?php print (preg_match('/chrome/',$conf->browser->name)?'padding-top: 1px;':''); ?> }
  3264. .ui-button-icon-only .ui-button-text { height: 8px; }
  3265. .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
  3266. .ui-button-text
  3267. {
  3268. line-height: 1em !important;
  3269. }
  3270. .ui-autocomplete-input { margin: 0; padding: 4px; }
  3271. /* ============================================================================== */
  3272. /* CKEditor */
  3273. /* ============================================================================== */
  3274. .cke_dialog {
  3275. border: 1px #bbb solid ! important;
  3276. }
  3277. .cke_editable
  3278. {
  3279. margin: 5px !important;
  3280. }
  3281. /*.cke_editor table, .cke_editor tr, .cke_editor td
  3282. {
  3283. border: 0px solid #FF0000 !important;
  3284. }
  3285. span.cke_skin_kama { padding: 0 !important; }*/
  3286. .cke_wrapper { padding: 4px !important; }
  3287. a.cke_dialog_ui_button
  3288. {
  3289. font-family: <?php print $fontlist ?> !important;
  3290. background-image: url(<?php echo $img_button ?>) !important;
  3291. background-position: bottom !important;
  3292. border: 1px solid #C0C0C0 !important;
  3293. -moz-border-radius:0px 5px 0px 5px !important;
  3294. -webkit-border-radius:0px 5px 0px 5px !important;
  3295. border-radius:0px 5px 0px 5px !important;
  3296. -moz-box-shadow: 3px 3px 4px #DDD !important;
  3297. -webkit-box-shadow: 3px 3px 4px #DDD !important;
  3298. box-shadow: 3px 3px 4px #DDD !important;
  3299. }
  3300. .cke_dialog_ui_hbox_last
  3301. {
  3302. vertical-align: bottom ! important;
  3303. }
  3304. .cke_editable
  3305. {
  3306. line-height: 1.4 !important;
  3307. margin: 6px !important;
  3308. }
  3309. a.cke_dialog_ui_button_ok span {
  3310. text-shadow: none !important;
  3311. color: #333 !important;
  3312. }
  3313. /* ============================================================================== */
  3314. /* File upload */
  3315. /* ============================================================================== */
  3316. .template-upload {
  3317. height: 72px !important;
  3318. }
  3319. /* ============================================================================== */
  3320. /* Holiday */
  3321. /* ============================================================================== */
  3322. #types .btn {
  3323. cursor: pointer;
  3324. }
  3325. #types .btn-primary {
  3326. font-weight: bold;
  3327. }
  3328. #types form {
  3329. padding: 20px;
  3330. }
  3331. #types label {
  3332. display:inline-block;
  3333. width:100px;
  3334. margin-right: 20px;
  3335. padding: 4px;
  3336. text-align: right;
  3337. vertical-align: top;
  3338. }
  3339. #types input.text, #types textarea {
  3340. width: 400px;
  3341. }
  3342. #types textarea {
  3343. height: 100px;
  3344. }
  3345. /* ============================================================================== */
  3346. /* JSGantt */
  3347. /* ============================================================================== */
  3348. div.scroll2 {
  3349. width: <?php print isset($_SESSION['dol_screenwidth'])?max($_SESSION['dol_screenwidth']-830,450):'450'; ?>px !important;
  3350. }
  3351. /* ============================================================================== */
  3352. /* jFileTree */
  3353. /* ============================================================================== */
  3354. .ecmfiletree {
  3355. width: 99%;
  3356. height: 99%;
  3357. background: #FFF;
  3358. padding-left: 2px;
  3359. font-weight: normal;
  3360. }
  3361. .fileview {
  3362. width: 99%;
  3363. height: 99%;
  3364. background: #FFF;
  3365. padding-left: 2px;
  3366. padding-top: 4px;
  3367. font-weight: normal;
  3368. }
  3369. div.filedirelem {
  3370. position: relative;
  3371. display: block;
  3372. text-decoration: none;
  3373. }
  3374. ul.filedirelem {
  3375. padding: 2px;
  3376. margin: 0 5px 5px 5px;
  3377. }
  3378. ul.filedirelem li {
  3379. list-style: none;
  3380. padding: 2px;
  3381. margin: 0 10px 20px 10px;
  3382. width: 160px;
  3383. height: 120px;
  3384. text-align: center;
  3385. display: block;
  3386. float: <?php print $left; ?>;
  3387. border: solid 1px #DDDDDD;
  3388. }
  3389. ul.ecmjqft {
  3390. line-height: 16px;
  3391. padding: 0px;
  3392. margin: 0px;
  3393. font-weight: normal;
  3394. }
  3395. ul.ecmjqft li {
  3396. list-style: none;
  3397. padding: 0px;
  3398. padding-left: 20px;
  3399. margin: 0px;
  3400. white-space: nowrap;
  3401. display: block;
  3402. }
  3403. ul.ecmjqft a {
  3404. line-height: 24px;
  3405. vertical-align: middle;
  3406. color: #333;
  3407. padding: 0px 0px;
  3408. font-weight:normal;
  3409. display: inline-block !important;
  3410. }
  3411. ul.ecmjqft a:active {
  3412. font-weight: bold !important;
  3413. }
  3414. ul.ecmjqft a:hover {
  3415. text-decoration: underline;
  3416. }
  3417. div.ecmjqft {
  3418. vertical-align: middle;
  3419. display: inline-block !important;
  3420. text-align: right;
  3421. float: right;
  3422. right:4px;
  3423. clear: both;
  3424. }
  3425. div#ecm-layout-west {
  3426. width: 380px;
  3427. vertical-align: top;
  3428. }
  3429. div#ecm-layout-center {
  3430. width: calc(100% - 390px);
  3431. vertical-align: top;
  3432. float: right;
  3433. }
  3434. .ecmjqft LI.directory { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2.png',1); ?>) left top no-repeat; }
  3435. .ecmjqft LI.expanded { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2-expanded.png',1); ?>) left top no-repeat; }
  3436. .ecmjqft LI.wait { font-weight:normal; background: url(<?php echo dol_buildpath('/theme/'.$theme.'/img/working.gif',1); ?>) left top no-repeat; }
  3437. /* ============================================================================== */
  3438. /* jNotify */
  3439. /* ============================================================================== */
  3440. .jnotify-container {
  3441. position: fixed !important;
  3442. <?php if (! empty($conf->global->MAIN_JQUERY_JNOTIFY_BOTTOM)) { ?>
  3443. top: auto !important;
  3444. bottom: 4px !important;
  3445. <?php } ?>
  3446. text-align: center;
  3447. min-width: <?php echo $dol_optimize_smallscreen?'200':'480'; ?>px;
  3448. width: auto;
  3449. max-width: 1024px;
  3450. padding-left: 10px !important;
  3451. padding-right: 10px !important;
  3452. }
  3453. /* use or not ? */
  3454. div.jnotify-background {
  3455. opacity : 0.95 !important;
  3456. -moz-box-shadow: 2px 2px 4px #888 !important;
  3457. -webkit-box-shadow: 2px 2px 4px #888 !important;
  3458. box-shadow: 2px 2px 4px #888 !important;
  3459. }
  3460. /* ============================================================================== */
  3461. /* blockUI */
  3462. /* ============================================================================== */
  3463. /*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
  3464. div.dolEventValid h1, div.dolEventValid h2 {
  3465. color: #567b1b;
  3466. background-color: #e3f0db;
  3467. padding: 5px 5px 5px 5px;
  3468. text-align: left;
  3469. }
  3470. div.dolEventError h1, div.dolEventError h2 {
  3471. color: #a72947;
  3472. background-color: #d79eac;
  3473. padding: 5px 5px 5px 5px;
  3474. text-align: left;
  3475. }
  3476. /* ============================================================================== */
  3477. /* Maps */
  3478. /* ============================================================================== */
  3479. .divmap, #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, #google-visualization-geomap-embed-2 {
  3480. /* -moz-box-shadow: 0px 0px 10px #AAA;
  3481. -webkit-box-shadow: 0px 0px 10px #AAA;
  3482. box-shadow: 0px 0px 10px #AAA; */
  3483. }
  3484. /* ============================================================================== */
  3485. /* Datatable */
  3486. /* ============================================================================== */
  3487. table.dataTable tr.odd td.sorting_1, table.dataTable tr.even td.sorting_1 {
  3488. background: none !important;
  3489. }
  3490. .sorting_asc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc.png',1); ?>') no-repeat center right !important; }
  3491. .sorting_desc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc.png',1); ?>') no-repeat center right !important; }
  3492. .sorting_asc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc_disabled.png',1); ?>') no-repeat center right !important; }
  3493. .sorting_desc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc_disabled.png',1); ?>') no-repeat center right !important; }
  3494. .dataTables_paginate {
  3495. margin-top: 8px;
  3496. }
  3497. .paginate_button_disabled {
  3498. opacity: 1 !important;
  3499. color: #888 !important;
  3500. cursor: default !important;
  3501. }
  3502. .paginate_disabled_previous:hover, .paginate_enabled_previous:hover, .paginate_disabled_next:hover, .paginate_enabled_next:hover
  3503. {
  3504. font-weight: normal;
  3505. }
  3506. .paginate_enabled_previous:hover, .paginate_enabled_next:hover
  3507. {
  3508. text-decoration: underline !important;
  3509. }
  3510. .paginate_active
  3511. {
  3512. text-decoration: underline !important;
  3513. }
  3514. .paginate_button
  3515. {
  3516. font-weight: normal !important;
  3517. text-decoration: none !important;
  3518. }
  3519. .paging_full_numbers {
  3520. height: inherit !important;
  3521. }
  3522. .paging_full_numbers a.paginate_active:hover, .paging_full_numbers a.paginate_button:hover {
  3523. background-color: #DDD !important;
  3524. }
  3525. .paging_full_numbers, .paging_full_numbers a.paginate_active, .paging_full_numbers a.paginate_button {
  3526. background-color: #FFF !important;
  3527. border-radius: inherit !important;
  3528. }
  3529. .paging_full_numbers a.paginate_button_disabled:hover, .paging_full_numbers a.disabled:hover {
  3530. background-color: #FFF !important;
  3531. }
  3532. .paginate_button, .paginate_active {
  3533. border: 1px solid #ddd !important;
  3534. padding: 6px 12px !important;
  3535. margin-left: -1px !important;
  3536. line-height: 1.42857143 !important;
  3537. margin: 0 0 !important;
  3538. }
  3539. /* For jquery plugin combobox */
  3540. /* Disable this. It breaks wrapping of boxes
  3541. .ui-corner-all { white-space: nowrap; } */
  3542. .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled, .paginate_button_disabled {
  3543. opacity: .35;
  3544. filter: Alpha(Opacity=35);
  3545. background-image: none;
  3546. }
  3547. div.dataTables_length {
  3548. float: right !important;
  3549. padding-left: 8px;
  3550. }
  3551. div.dataTables_length select {
  3552. background: #fff;
  3553. }
  3554. .dataTables_wrapper .dataTables_paginate {
  3555. padding-top: 0px !important;
  3556. }
  3557. /* ============================================================================== */
  3558. /* Select2 */
  3559. /* ============================================================================== */
  3560. .select2-default {
  3561. color: #999 !important;
  3562. /*opacity: 0.2;*/
  3563. }
  3564. .select2-choice, .select2-container .select2-choice {
  3565. border-bottom: solid 1px rgba(0,0,0,.4);
  3566. }
  3567. .select2-container .select2-choice > .select2-chosen {
  3568. margin-right: 23px;
  3569. }
  3570. .select2-container .select2-choice .select2-arrow {
  3571. border-radius: 0;
  3572. background: transparent;
  3573. }
  3574. .select2-container-multi .select2-choices {
  3575. background-image: none;
  3576. }
  3577. .select2-container .select2-choice {
  3578. color: #000;
  3579. border-radius: 0;
  3580. }
  3581. .selectoptiondisabledwhite {
  3582. background: #FFFFFF !important;
  3583. }
  3584. .select2-arrow {
  3585. border: none;
  3586. border-left: none !important;
  3587. background: none !important;
  3588. }
  3589. .select2-choice
  3590. {
  3591. border-top: none !important;
  3592. border-left: none !important;
  3593. border-right: none !important;
  3594. }
  3595. .select2-drop.select2-drop-above {
  3596. box-shadow: none !important;
  3597. }
  3598. .select2-drop.select2-drop-above.select2-drop-active {
  3599. border-top: 1px solid #ccc;
  3600. border-bottom: solid 1px rgba(0,0,0,.2);
  3601. }
  3602. .select2-container-active .select2-choice, .select2-container-active .select2-choices
  3603. {
  3604. outline: none;
  3605. border-top: none;
  3606. border-left: none;
  3607. border-bottom: none;
  3608. -webkit-box-shadow: none !important;
  3609. box-shadow: none !important;
  3610. }
  3611. .select2-dropdown-open {
  3612. background-color: #fff;
  3613. }
  3614. .select2-dropdown-open .select2-choice, .select2-dropdown-open .select2-choices
  3615. {
  3616. outline: none;
  3617. border-top: none;
  3618. border-left: none;
  3619. border-bottom: none;
  3620. -webkit-box-shadow: none !important;
  3621. box-shadow: none !important;
  3622. background-color: #fff;
  3623. }
  3624. .select2-disabled
  3625. {
  3626. color: #888;
  3627. }
  3628. .select2-drop.select2-drop-above.select2-drop-active, .select2-drop {
  3629. border-radius: 0;
  3630. }
  3631. .select2-drop.select2-drop-above {
  3632. border-radius: 0;
  3633. }
  3634. .select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices {
  3635. background-image: none;
  3636. border-radius: 0 !important;
  3637. }
  3638. div.select2-drop-above
  3639. {
  3640. background: #fff;
  3641. -webkit-box-shadow: none !important;
  3642. box-shadow: none !important;
  3643. }
  3644. .select2-drop-active
  3645. {
  3646. border: 1px solid #ccc;
  3647. padding-top: 4px;
  3648. }
  3649. .select2-search input {
  3650. border: none;
  3651. }
  3652. a span.select2-chosen
  3653. {
  3654. font-weight: normal !important;
  3655. }
  3656. .select2-container .select2-choice {
  3657. background-image: none;
  3658. /* line-height: 24px; */
  3659. }
  3660. .select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit
  3661. {
  3662. background: #FFFFFF;
  3663. }
  3664. .select2-results {
  3665. max-height: 400px;
  3666. }
  3667. .css-searchselectcombo ul.select2-results {
  3668. max-height: none;
  3669. }
  3670. .select2-container-multi.select2-container-disabled .select2-choices {
  3671. background-color: #FFFFFF;
  3672. background-image: none;
  3673. border: none;
  3674. cursor: default;
  3675. }
  3676. .select2-container-multi .select2-choices .select2-search-choice {
  3677. margin-bottom: 3px;
  3678. }
  3679. .select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices, .select2-container-multi .select2-choices,
  3680. .select2-container-multi.select2-container-active .select2-choices
  3681. {
  3682. border-bottom: 1px solid #ccc;
  3683. border-right: none;
  3684. border-top: none;
  3685. border-left: none;
  3686. }
  3687. /* Special case for the select2 add widget */
  3688. #addbox .select2-container .select2-choice > .select2-chosen, #actionbookmark .select2-container .select2-choice > .select2-chosen {
  3689. text-align: left;
  3690. opacity: 0.4;
  3691. }
  3692. /* Style used before the select2 js is executed on boxcombo */
  3693. #boxbookmark.boxcombo, #boxcombo.boxcombo {
  3694. text-align: left;
  3695. opacity: 0.4;
  3696. border-bottom: solid 1px rgba(0,0,0,.4) !important;
  3697. height: 26px;
  3698. line-height: 24px;
  3699. padding: 0 0 2px 0;
  3700. vertical-align: top;
  3701. }
  3702. /* To emulate select 2 style */
  3703. .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
  3704. padding: 2px 5px 1px 5px;
  3705. margin: 0 0 2px 3px;
  3706. position: relative;
  3707. line-height: 13px;
  3708. color: #333;
  3709. cursor: default;
  3710. border: 1px solid #aaaaaa;
  3711. border-radius: 3px;
  3712. -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
  3713. box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
  3714. background-clip: padding-box;
  3715. -webkit-touch-callout: none;
  3716. -webkit-user-select: none;
  3717. -moz-user-select: none;
  3718. -ms-user-select: none;
  3719. user-select: none;
  3720. background-color: #e4e4e4;
  3721. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);
  3722. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
  3723. background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  3724. background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  3725. background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  3726. }
  3727. .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr a {
  3728. font-weight: normal;
  3729. }
  3730. .select2-container-multi-dolibarr .select2-choices-dolibarr li {
  3731. float: left;
  3732. list-style: none;
  3733. }
  3734. .select2-container-multi-dolibarr .select2-choices-dolibarr {
  3735. height: auto !important;
  3736. height: 1%;
  3737. margin: 0;
  3738. padding: 0 5px 0 0;
  3739. position: relative;
  3740. cursor: text;
  3741. overflow: hidden;
  3742. }
  3743. /* ============================================================================== */
  3744. /* For categories */
  3745. /* ============================================================================== */
  3746. .noborderoncategories {
  3747. border: none !important;
  3748. border-radius: 5px !important;
  3749. box-shadow: none;
  3750. -webkit-box-shadow: none !important;
  3751. box-shadow: none !important;
  3752. }
  3753. span.noborderoncategories a, li.noborderoncategories a {
  3754. line-height: normal;
  3755. vertical-align: top;
  3756. }
  3757. span.noborderoncategories {
  3758. padding: 3px 5px 0px 5px;
  3759. }
  3760. .categtextwhite, .treeview .categtextwhite.hover {
  3761. color: #fff !important;
  3762. }
  3763. .categtextblack {
  3764. color: #000 !important;
  3765. }
  3766. /* ============================================================================== */
  3767. /* Multiselect with checkbox */
  3768. /* ============================================================================== */
  3769. ul.ulselectedfields {
  3770. z-index: 95; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
  3771. }
  3772. dl.dropdown {
  3773. margin:0px;
  3774. margin-left: 2px;
  3775. margin-right: 2px;
  3776. padding:0px;
  3777. vertical-align: text-bottom;
  3778. display: inline-block;
  3779. }
  3780. .dropdown dd, .dropdown dt {
  3781. margin:0px;
  3782. padding:0px;
  3783. }
  3784. .dropdown ul {
  3785. margin: -1px 0 0 0;
  3786. text-align: left;
  3787. }
  3788. .dropdown dd {
  3789. position:relative;
  3790. }
  3791. .dropdown dt a {
  3792. display:block;
  3793. overflow: hidden;
  3794. border:0;
  3795. }
  3796. .dropdown dt a span, .multiSel span {
  3797. cursor:pointer;
  3798. display:inline-block;
  3799. padding: 0 3px 2px 0;
  3800. }
  3801. .dropdown dd ul {
  3802. background-color: #FFF;
  3803. border: 1px solid #888;
  3804. display:none;
  3805. right:0px; /* pop is align on right */
  3806. padding: 2px 15px 2px 5px;
  3807. position:absolute;
  3808. top:2px;
  3809. list-style:none;
  3810. max-height: 280px;
  3811. overflow: auto;
  3812. }
  3813. .dropdown span.value {
  3814. display:none;
  3815. }
  3816. .dropdown dd ul li {
  3817. white-space: nowrap;
  3818. font-weight: normal;
  3819. padding: 2px;
  3820. }
  3821. .dropdown dd ul li input[type="checkbox"] {
  3822. margin-right: 3px;
  3823. }
  3824. .dropdown dd ul li a, .dropdown dd ul li span {
  3825. padding: 3px;
  3826. display: block;
  3827. }
  3828. .dropdown dd ul li span {
  3829. color: #888;
  3830. }
  3831. .dropdown dd ul li a:hover {
  3832. background-color:#fff;
  3833. }
  3834. /* ============================================================================== */
  3835. /* JMobile */
  3836. /* ============================================================================== */
  3837. li.ui-li-divider .ui-link {
  3838. color: #FFF !important;
  3839. }
  3840. .ui-btn {
  3841. margin: 0.1em 2px
  3842. }
  3843. a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-inner:hover {
  3844. text-decoration: none !important;
  3845. }
  3846. .ui-body-c {
  3847. background: #fff;
  3848. }
  3849. .ui-btn-inner {
  3850. min-width: .4em;
  3851. padding-left: 6px;
  3852. padding-right: 6px;
  3853. font-size: <?php print $fontsize ?>px;
  3854. /* white-space: normal; */ /* Warning, enable this break the truncate feature */
  3855. }
  3856. .ui-btn-icon-right .ui-btn-inner {
  3857. padding-right: 30px;
  3858. }
  3859. .ui-btn-icon-left .ui-btn-inner {
  3860. padding-left: 30px;
  3861. }
  3862. .ui-select .ui-btn-icon-right .ui-btn-inner {
  3863. padding-right: 30px;
  3864. }
  3865. .ui-select .ui-btn-icon-left .ui-btn-inner {
  3866. padding-left: 30px;
  3867. }
  3868. .ui-select .ui-btn-icon-right .ui-icon {
  3869. right: 8px;
  3870. }
  3871. .ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
  3872. margin-top: -10px;
  3873. }
  3874. select {
  3875. /* display: inline-block; */ /* We can't set this. This disable ability to make */
  3876. overflow:hidden;
  3877. white-space: nowrap; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of '&nbsp;' */
  3878. text-overflow: ellipsis;
  3879. }
  3880. .fiche .ui-controlgroup {
  3881. margin: 0px;
  3882. padding-bottom: 0px;
  3883. }
  3884. div.ui-controlgroup-controls div.tabsElem
  3885. {
  3886. margin-top: 2px;
  3887. }
  3888. div.ui-controlgroup-controls div.tabsElem a
  3889. {
  3890. -moz-box-shadow: 0 -3px 6px rgba(0,0,0,.2);
  3891. -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.2);
  3892. box-shadow: 0 -3px 6px rgba(0,0,0,.2);
  3893. }
  3894. div.ui-controlgroup-controls div.tabsElem a#active {
  3895. -moz-box-shadow: 0 -3px 6px rgba(0,0,0,.3);
  3896. -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.3);
  3897. box-shadow: 0 -3px 6px rgba(0,0,0,.3);
  3898. }
  3899. a.tab span.ui-btn-inner
  3900. {
  3901. border: none;
  3902. padding: 0;
  3903. }
  3904. .ui-link {
  3905. color: rgb(<?php print $colortext; ?>);
  3906. }
  3907. .liste_titre .ui-link {
  3908. color: rgb(<?php print $colortexttitle; ?>) !important;
  3909. }
  3910. a.ui-link {
  3911. word-wrap: break-word;
  3912. }
  3913. /* force wrap possible onto field overflow does not works */
  3914. .formdoc .ui-btn-inner
  3915. {
  3916. white-space: normal;
  3917. overflow: hidden;
  3918. text-overflow: clip; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
  3919. }
  3920. /* Warning: setting this may make screen not beeing refreshed after a combo selection */
  3921. /*.ui-body-c {
  3922. background: #fff;
  3923. }*/
  3924. div.ui-radio, div.ui-checkbox
  3925. {
  3926. display: inline-block;
  3927. border-bottom: 0px !important;
  3928. }
  3929. .ui-checkbox input, .ui-radio input {
  3930. height: auto;
  3931. width: auto;
  3932. margin: 4px;
  3933. position: static;
  3934. }
  3935. div.ui-checkbox label+input, div.ui-radio label+input {
  3936. position: absolute;
  3937. }
  3938. .ui-mobile fieldset
  3939. {
  3940. padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
  3941. }
  3942. ul.ulmenu {
  3943. border-radius: 0;
  3944. -webkit-border-radius: 0;
  3945. }
  3946. .ui-field-contain label.ui-input-text {
  3947. vertical-align: middle !important;
  3948. }
  3949. .ui-mobile fieldset {
  3950. border-bottom: none !important;
  3951. }
  3952. /* Style for first level menu with jmobile */
  3953. .ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
  3954. padding: 1em 15px;
  3955. display: block;
  3956. }
  3957. .ui-btn-up-c {
  3958. font-weight: normal;
  3959. }
  3960. .ui-focus, .ui-btn:focus {
  3961. -moz-box-shadow: none;
  3962. -webkit-box-shadow: none;
  3963. box-shadow: none;
  3964. }
  3965. .ui-bar-b {
  3966. /*border: 1px solid #888;*/
  3967. border: none;
  3968. background: none;
  3969. text-shadow: none;
  3970. color: rgb(<?php print $colortexttitlenotab; ?>) !important;
  3971. }
  3972. .ui-bar-b, .lilevel0 {
  3973. background-repeat: repeat-x;
  3974. border: none;
  3975. background: none;
  3976. text-shadow: none;
  3977. color: rgb(<?php print $colortexttitlenotab; ?>) !important;
  3978. }
  3979. .alilevel0 {
  3980. font-weight: normal !important;
  3981. }
  3982. .ui-li.ui-last-child, .ui-li.ui-field-contain.ui-last-child {
  3983. border-bottom-width: 0px !important;
  3984. }
  3985. .alilevel0 {
  3986. color: rgb(<?php echo $colortexttitle; ?>) !important;
  3987. background: #f8f8f8
  3988. }
  3989. .ulmenu {
  3990. box-shadow: none !important;
  3991. border-bottom: 1px solid #ccc;
  3992. }
  3993. .ui-btn-icon-right {
  3994. border-right: 1px solid #ccc !important;
  3995. }
  3996. .ui-body-c {
  3997. border: 1px solid #ccc;
  3998. text-shadow: none;
  3999. }
  4000. .ui-btn-up-c, .ui-btn-hover-c {
  4001. /* border: 1px solid #ccc; */
  4002. text-shadow: none;
  4003. }
  4004. .ui-body-c .ui-link, .ui-body-c .ui-link:visited, .ui-body-c .ui-link:hover {
  4005. color: rgb(<?php print $colortextlink; ?>);
  4006. }
  4007. .ui-btn-up-c .vsmenudisabled {
  4008. color: #<?php echo $colorshadowtitle; ?> !important;
  4009. text-shadow: none !important;
  4010. }
  4011. div.tabsElem a.tab {
  4012. background: transparent;
  4013. }
  4014. .alilevel1 {
  4015. color: rgb(<?php print $colortexttitlenotab; ?>) !important;
  4016. }
  4017. .lilevel1 {
  4018. border-top: 2px solid #444;
  4019. background: #fff ! important;
  4020. }
  4021. .lilevel1 div div a {
  4022. font-weight: bold !important;
  4023. }
  4024. .lilevel2
  4025. {
  4026. padding-left: 22px;
  4027. background: #fff ! important;
  4028. }
  4029. .lilevel3
  4030. {
  4031. padding-left: 54px;
  4032. background: #fff ! important;
  4033. }
  4034. /* ============================================================================== */
  4035. /* POS */
  4036. /* ============================================================================== */
  4037. .menu_choix1 a {
  4038. background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus_black/money.png',1) ?>') top left no-repeat;
  4039. }
  4040. .menu_choix2 a {
  4041. background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus_black/home.png',1) ?>') top left no-repeat;
  4042. }
  4043. .menu_choix1,.menu_choix2 {
  4044. font-size: 1.4em;
  4045. text-align: left;
  4046. border: 1px solid #666;
  4047. margin-right: 20px;
  4048. }
  4049. .menu_choix1 a, .menu_choix2 a {
  4050. display: block;
  4051. color: #fff;
  4052. text-decoration: none;
  4053. padding-top: 18px;
  4054. padding-left: 54px;
  4055. font-size: 14px;
  4056. height: 38px;
  4057. }
  4058. .menu_choix1 a:hover,.menu_choix2 a:hover {
  4059. color: #6d3f6d;
  4060. }
  4061. .menu li.menu_choix1 {
  4062. padding-top: 6px;
  4063. padding-right: 10px;
  4064. padding-bottom: 2px;
  4065. }
  4066. .menu li.menu_choix2 {
  4067. padding-top: 6px;
  4068. padding-right: 10px;
  4069. padding-bottom: 2px;
  4070. }
  4071. @media only screen and (max-width: 767px)
  4072. {
  4073. .menu_choix1 a, .menu_choix2 a {
  4074. background-size: 36px 36px;
  4075. height: 30px;
  4076. padding-left: 40px;
  4077. }
  4078. .menu li.menu_choix1, .menu li.menu_choix2 {
  4079. padding-left: 4px;
  4080. padding-right: 0;
  4081. }
  4082. .liste_articles {
  4083. margin-right: 0 !important;
  4084. }
  4085. }
  4086. /* ============================================================================== */
  4087. /* Public */
  4088. /* ============================================================================== */
  4089. /* The theme for public pages */
  4090. .public_body {
  4091. margin: 20px;
  4092. }
  4093. .public_border {
  4094. border: 1px solid #888;
  4095. }
  4096. /* ============================================================================== */
  4097. /* CSS style used for small screen */
  4098. /* ============================================================================== */
  4099. .topmenuimage {
  4100. background-size: 22px auto;
  4101. top: 2px;
  4102. }
  4103. .imgopensurveywizard
  4104. {
  4105. padding: 0 4px 0 4px;
  4106. }
  4107. @media only screen and (max-width: 767px)
  4108. {
  4109. .imgopensurveywizard, .imgautosize { width:95%; height: auto; }
  4110. #tooltip {
  4111. position: absolute;
  4112. width: <?php print dol_size(350,'width'); ?>px;
  4113. }
  4114. div.tabBar {
  4115. padding-left: 0px;
  4116. padding-right: 0px;
  4117. -moz-border-radius: 0;
  4118. -webkit-border-radius: 0;
  4119. border-radius: 0px;
  4120. border-right: none;
  4121. border-left: none;
  4122. }
  4123. }
  4124. @media only screen and (max-width: 1024px)
  4125. {
  4126. div#ecm-layout-west {
  4127. width: 100%;
  4128. clear: both;
  4129. }
  4130. div#ecm-layout-center {
  4131. width: 100%;
  4132. }
  4133. }
  4134. /* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo $fontsize ?> */
  4135. /* rule to reduce top menu - 1st reduction */
  4136. @media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 6.9, 0) + 24; ?>px) /* reduction 1 */
  4137. {
  4138. div.tmenucenter {
  4139. width: <?php echo round($fontsize * 4); ?>px; /* size of viewport */
  4140. white-space: nowrap;
  4141. overflow: hidden;
  4142. text-overflow: ellipsis;
  4143. color: #<?php echo $colortextbackhmenu; ?>;
  4144. }
  4145. .mainmenuaspan {
  4146. /*display: none;*/
  4147. font-size: 10px;
  4148. }
  4149. .topmenuimage {
  4150. background-size: 22px auto;
  4151. margin-top: 0px;
  4152. }
  4153. li.tmenu, li.tmenusel {
  4154. min-width: 36px;
  4155. }
  4156. div.mainmenu {
  4157. min-width: auto;
  4158. }
  4159. div.tmenuleft {
  4160. display: none;
  4161. }
  4162. }
  4163. /* rule to reduce top menu - 2nd reduction */
  4164. @media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 5, 0) + 24; ?>px) /* reduction 2 */
  4165. {
  4166. div.mainmenu {
  4167. height: 23px;
  4168. }
  4169. div.tmenucenter {
  4170. max-width: <?php echo round($fontsize * 2); ?>px; /* size of viewport */
  4171. text-overflow: clip;
  4172. }
  4173. span.mainmenuaspan {
  4174. margin-left: 1px;
  4175. }
  4176. .mainmenuaspan {
  4177. /*display: none;*/
  4178. font-size: 10px;
  4179. }
  4180. .topmenuimage {
  4181. background-size: 20px auto;
  4182. margin-top: 2px;
  4183. left: 4px;
  4184. }
  4185. }
  4186. /* rule to reduce top menu - 3rd reduction */
  4187. @media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 3.6, 0) + 12; ?>px) /* reduction 3 */
  4188. {
  4189. .side-nav {
  4190. z-index: 200;
  4191. background: #FFF;
  4192. padding-top: 70px;
  4193. }
  4194. #id-left {
  4195. z-index: 201;
  4196. background: #FFF;
  4197. }
  4198. .login_vertical_align {
  4199. padding-left: 20px;
  4200. padding-right: 20px;
  4201. }
  4202. /* Reduce login top right info */
  4203. .help {
  4204. <?php if ($disableimages) { ?>
  4205. display: none;
  4206. <?php } ?>
  4207. }
  4208. div#tmenu_tooltip {
  4209. <?php if (GETPOST('optioncss','aZ09') == 'print') { ?>
  4210. display:none;
  4211. <?php } else { ?>
  4212. padding-<?php echo $right; ?>: 0;
  4213. <?php } ?>
  4214. }
  4215. div.login_block_user {
  4216. min-width: 0;
  4217. width: 100%;
  4218. }
  4219. div.login_block {
  4220. <?php if ($conf->browser->layout == 'phone' && ((GETPOST('testmenuhider','int') || ! empty($conf->global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))) { ?>
  4221. display: none;
  4222. padding-top: 20px;
  4223. padding-left: 20px;
  4224. padding-right: 20px;
  4225. <?php } else { ?>
  4226. padding-top: 10px;
  4227. padding-left: 5px;
  4228. padding-right: 5px;
  4229. <?php } ?>
  4230. top: inherit !important;
  4231. left: 0 !important;
  4232. text-align: center;
  4233. vertical-align: middle;
  4234. background: #FFF;
  4235. height: 42px;
  4236. z-index: 202;
  4237. min-width: 190px;
  4238. max-width: 190px;
  4239. width: 190px;
  4240. }
  4241. div.login_block_user, div.login_block_other { clear: both; }
  4242. .atoplogin, .atoplogin:hover
  4243. {
  4244. color: #000 !important;
  4245. }
  4246. .login_block_elem {
  4247. padding: 0 !important;
  4248. }
  4249. li.tmenu, li.tmenusel {
  4250. min-width: 32px;
  4251. }
  4252. div.mainmenu {
  4253. height: 23px;
  4254. }
  4255. div.tmenucenter {
  4256. text-overflow: clip;
  4257. }
  4258. .topmenuimage {
  4259. background-size: 20px auto;
  4260. margin-top: 2px !important;
  4261. left: 2px;
  4262. }
  4263. div.mainmenu {
  4264. min-width: 20px;
  4265. }
  4266. }
  4267. <?php
  4268. if (is_object($db)) $db->close();