style.css.php 139 KB

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