style.css.php 207 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856
  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@inodbox.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@open-dsi.fr>
  8. * Copyright (C) 2018 Ferran Marcet <fmarcet@2byte.es>
  9. * Copyright (C) 2021 Anthony Berton <bertonanthony@gmail.com>
  10. *
  11. * This program is free software; you can redistribute it and/or modify
  12. * it under the terms of the GNU General Public License as published by
  13. * the Free Software Foundation; either version 3 of the License, or
  14. * (at your option) any later version.
  15. *
  16. * This program is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. * GNU General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU General Public License
  22. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  23. */
  24. /**
  25. * \file htdocs/theme/md/style.css.php
  26. * \brief File for CSS style sheet Md (Material Design)
  27. */
  28. //if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled because need to load personalized language
  29. //if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
  30. if (!defined('NOREQUIRESOC')) {
  31. define('NOREQUIRESOC', '1');
  32. }
  33. //if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled because need to do translations
  34. if (!defined('NOCSRFCHECK')) {
  35. define('NOCSRFCHECK', 1);
  36. }
  37. if (!defined('NOTOKENRENEWAL')) {
  38. define('NOTOKENRENEWAL', 1);
  39. }
  40. if (!defined('NOLOGIN')) {
  41. define('NOLOGIN', 1); // File must be accessed by logon page so without login
  42. }
  43. //if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1); // We need top menu content
  44. if (!defined('NOREQUIREHTML')) {
  45. define('NOREQUIREHTML', 1);
  46. }
  47. if (!defined('NOREQUIREAJAX')) {
  48. define('NOREQUIREAJAX', '1');
  49. }
  50. define('ISLOADEDBYSTEELSHEET', '1');
  51. require __DIR__.'/theme_vars.inc.php';
  52. if (defined('THEME_ONLY_CONSTANT')) {
  53. return;
  54. }
  55. session_cache_limiter('public');
  56. require_once __DIR__.'/../../main.inc.php'; // __DIR__ allow this script to be included in custom themes
  57. require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
  58. // Load user to have $user->conf loaded (not done into main because of NOLOGIN constant defined)
  59. // and permission, so we can later calculate number of top menu ($nbtopmenuentries) according to user profile.
  60. if (empty($user->id) && !empty($_SESSION['dol_login'])) {
  61. $user->fetch('', $_SESSION['dol_login'], '', 1);
  62. $user->getrights();
  63. // Reload menu now we have the good user (and we need the good menu to have ->showmenu('topnb') correct.
  64. $menumanager = new MenuManager($db, empty($user->socid) ? 0 : 1);
  65. $menumanager->loadMenu();
  66. }
  67. // Define css type
  68. top_httphead('text/css');
  69. // Important: Following code is to avoid page request by browser and PHP CPU at each Dolibarr page access.
  70. if (empty($dolibarr_nocache)) {
  71. header('Cache-Control: max-age=10800, public, must-revalidate');
  72. } else {
  73. header('Cache-Control: no-cache');
  74. }
  75. if (GETPOST('theme', 'aZ09')) {
  76. $conf->theme = GETPOST('theme', 'aZ09'); // If theme was forced on URL
  77. }
  78. if (GETPOST('lang', 'aZ09')) {
  79. $langs->setDefaultLang(GETPOST('lang', 'aZ09')); // If language was forced on URL
  80. }
  81. if (GETPOSTISSET('THEME_DARKMODEENABLED')) {
  82. $conf->global->THEME_DARKMODEENABLED = GETPOST('THEME_DARKMODEENABLED', 'int'); // If darkmode was forced on URL
  83. }
  84. $langs->load("main", 0, 1);
  85. $right = ($langs->trans("DIRECTION") == 'rtl' ? 'left' : 'right');
  86. $left = ($langs->trans("DIRECTION") == 'rtl' ? 'right' : 'left');
  87. $path = ''; // This value may be used in future for external module to overwrite theme
  88. $theme = 'md'; // Value of theme
  89. if (!empty($conf->global->MAIN_OVERWRITE_THEME_RES)) {
  90. $path = '/'.$conf->global->MAIN_OVERWRITE_THEME_RES; $theme = $conf->global->MAIN_OVERWRITE_THEME_RES;
  91. }
  92. // Define image path files and other constants
  93. $fontlist = 'roboto,arial,tahoma,verdana,helvetica'; //$fontlist='verdana,helvetica,arial,sans-serif';
  94. $img_head = '';
  95. $img_button = dol_buildpath($path.'/theme/'.$theme.'/img/button_bg.png', 1);
  96. $dol_hide_topmenu = $conf->dol_hide_topmenu;
  97. $dol_hide_leftmenu = $conf->dol_hide_leftmenu;
  98. $dol_optimize_smallscreen = $conf->dol_optimize_smallscreen;
  99. $dol_no_mouse_hover = $conf->dol_no_mouse_hover;
  100. //$conf->global->THEME_ELDY_ENABLE_PERSONALIZED=0;
  101. //$user->conf->THEME_ELDY_ENABLE_PERSONALIZED=0;
  102. //var_dump($user->conf->THEME_ELDY_RGB);
  103. $useboldtitle = (isset($conf->global->THEME_ELDY_USEBOLDTITLE) ? $conf->global->THEME_ELDY_USEBOLDTITLE : 0);
  104. $borderwidth = 2;
  105. $userborderontable = getDolGlobalInt('THEME_ELDY_USEBORDERONTABLE');
  106. // Case of option always editable
  107. if (!isset($conf->global->THEME_ELDY_BACKBODY)) {
  108. $conf->global->THEME_ELDY_BACKBODY = $colorbackbody;
  109. }
  110. if (!isset($conf->global->THEME_ELDY_TOPMENU_BACK1)) {
  111. $conf->global->THEME_ELDY_TOPMENU_BACK1 = $colorbackhmenu1;
  112. }
  113. if (!isset($conf->global->THEME_ELDY_VERMENU_BACK1)) {
  114. $conf->global->THEME_ELDY_VERMENU_BACK1 = $colorbackvmenu1;
  115. }
  116. if (!isset($conf->global->THEME_ELDY_BACKTITLE1)) {
  117. $conf->global->THEME_ELDY_BACKTITLE1 = $colorbacktitle1;
  118. }
  119. if (!isset($conf->global->THEME_ELDY_USE_HOVER)) {
  120. $conf->global->THEME_ELDY_USE_HOVER = $colorbacklinepairhover;
  121. }
  122. if (!isset($conf->global->THEME_ELDY_USE_CHECKED)) {
  123. $conf->global->THEME_ELDY_USE_CHECKED = $colorbacklinepairchecked;
  124. }
  125. if (!isset($conf->global->THEME_ELDY_LINEBREAK)) {
  126. $conf->global->THEME_ELDY_LINEBREAK = $colorbacklinebreak;
  127. }
  128. if (!isset($conf->global->THEME_ELDY_TEXTTITLENOTAB)) {
  129. $conf->global->THEME_ELDY_TEXTTITLENOTAB = $colortexttitlenotab;
  130. }
  131. if (!isset($conf->global->THEME_ELDY_TEXTLINK)) {
  132. $conf->global->THEME_ELDY_TEXTLINK = $colortextlink;
  133. }
  134. if (!isset($conf->global->THEME_ELDY_BTNACTION)) {
  135. $conf->global->THEME_ELDY_BTNACTION = $butactionbg;
  136. }
  137. if (!isset($conf->global->THEME_ELDY_TEXTBTNACTION)) {
  138. $conf->global->THEME_ELDY_TEXTBTNACTION = $textbutaction;
  139. }
  140. // Case of option editable only if option THEME_ELDY_ENABLE_PERSONALIZED is on
  141. if (empty($conf->global->THEME_ELDY_ENABLE_PERSONALIZED)) {
  142. // 90A4AE, 607D8B, 455A64, 37474F
  143. $conf->global->THEME_ELDY_BACKTABCARD1 = '255,255,255'; // card
  144. $conf->global->THEME_ELDY_BACKTABACTIVE = '234,234,234';
  145. $conf->global->THEME_ELDY_TEXT = '0,0,0';
  146. $conf->global->THEME_ELDY_FONT_SIZE1 = $fontsize;
  147. $conf->global->THEME_ELDY_FONT_SIZE2 = '11';
  148. }
  149. // Case of option availables only if THEME_ELDY_ENABLE_PERSONALIZED is on
  150. $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);
  151. $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);
  152. $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);
  153. $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);
  154. $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);
  155. $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);
  156. $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);
  157. $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);
  158. $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);
  159. $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);
  160. $colorbacklinebreak = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_LINEBREAK) ? $colorbacklinebreak : $conf->global->THEME_ELDY_LINEBREAK) : (empty($user->conf->THEME_ELDY_LINEBREAK) ? $colorbacklinebreak : $user->conf->THEME_ELDY_LINEBREAK);
  161. $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);
  162. $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);
  163. $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);
  164. $colortexttitlelink = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_TEXTTITLELINK) ? $colortexttitlelink : $conf->global->THEME_ELDY_TEXTTITLELINK) : (empty($user->conf->THEME_ELDY_TEXTTITLELINK) ? $colortexttitlelink : $user->conf->THEME_ELDY_TEXTTITLELINK);
  165. $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);
  166. $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);
  167. $butactionbg = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_BTNACTION) ? $butactionbg : $conf->global->THEME_ELDY_BTNACTION) : (empty($user->conf->THEME_ELDY_BTNACTION) ? $butactionbg : $user->conf->THEME_ELDY_BTNACTION);
  168. $textbutaction = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_TEXTBTNACTION) ? $textbutaction : $conf->global->THEME_ELDY_TEXTBTNACTION) : (empty($user->conf->THEME_ELDY_TEXTBTNACTION) ? $textbutaction : $user->conf->THEME_ELDY_TEXTBTNACTION);
  169. $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);
  170. $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);
  171. // Hover color
  172. $colorbacklinepairhover = ((!isset($conf->global->THEME_ELDY_USE_HOVER) || (string) $conf->global->THEME_ELDY_USE_HOVER === '255,255,255') ? '' : ($conf->global->THEME_ELDY_USE_HOVER === '1' ? 'edf4fb' : $conf->global->THEME_ELDY_USE_HOVER));
  173. $colorbacklinepairchecked = ((!isset($conf->global->THEME_ELDY_USE_CHECKED) || (string) $conf->global->THEME_ELDY_USE_CHECKED === '255,255,255') ? '' : ($conf->global->THEME_ELDY_USE_CHECKED === '1' ? 'edf4fb' : $conf->global->THEME_ELDY_USE_CHECKED));
  174. if (!empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED)) {
  175. $colorbacklinepairhover = ((!isset($user->conf->THEME_ELDY_USE_HOVER) || $user->conf->THEME_ELDY_USE_HOVER === '255,255,255') ? '' : ($user->conf->THEME_ELDY_USE_HOVER === '1' ? 'edf4fb' : $user->conf->THEME_ELDY_USE_HOVER));
  176. $colorbacklinepairchecked = ((!isset($user->conf->THEME_ELDY_USE_CHECKED) || $user->conf->THEME_ELDY_USE_CHECKED === '255,255,255') ? '' : ($user->conf->THEME_ELDY_USE_CHECKED === '1' ? 'edf4fb' : $user->conf->THEME_ELDY_USE_CHECKED));
  177. }
  178. if (empty($colortopbordertitle1)) {
  179. $colortopbordertitle1 = $colorbackhmenu1;
  180. }
  181. // Set text color to black or white
  182. $colorbackhmenu1 = join(',', colorStringToArray($colorbackhmenu1)); // Normalize value to 'x,y,z'
  183. $tmppart = explode(',', $colorbackhmenu1);
  184. $tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
  185. if ($tmpval <= 460) {
  186. $colortextbackhmenu = 'FFFFFF';
  187. } else {
  188. $colortextbackhmenu = '000000';
  189. }
  190. $colorbackvmenu1 = join(',', colorStringToArray($colorbackvmenu1)); // Normalize value to 'x,y,z'
  191. $tmppart = explode(',', $colorbackvmenu1);
  192. $tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
  193. if ($tmpval <= 460) {
  194. $colortextbackvmenu = 'FFFFFF';
  195. } else {
  196. $colortextbackvmenu = '000000';
  197. }
  198. $colortopbordertitle1 = join(',', colorStringToArray($colortopbordertitle1)); // Normalize value to 'x,y,z'
  199. $colorbacktitle1 = join(',', colorStringToArray($colorbacktitle1)); // Normalize value to 'x,y,z'
  200. $tmppart = explode(',', $colorbacktitle1);
  201. if ($colortexttitle == '') {
  202. $tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
  203. if ($tmpval <= 460) {
  204. $colortexttitle = 'FFFFFF'; $colorshadowtitle = '888888';
  205. } else {
  206. $colortexttitle = '101010'; $colorshadowtitle = 'FFFFFF';
  207. }
  208. } else {
  209. $colorshadowtitle = '888888';
  210. }
  211. $colorbacktabcard1 = join(',', colorStringToArray($colorbacktabcard1)); // Normalize value to 'x,y,z'
  212. $tmppart = explode(',', $colorbacktabcard1);
  213. $tmpval = (!empty($tmppart[0]) ? $tmppart[0] : 0) + (!empty($tmppart[1]) ? $tmppart[1] : 0) + (!empty($tmppart[2]) ? $tmppart[2] : 0);
  214. if ($tmpval <= 460) {
  215. $colortextbacktab = 'FFFFFF';
  216. } else {
  217. $colortextbacktab = '111111';
  218. }
  219. // Format color value to match expected format (may be 'FFFFFF' or '255,255,255')
  220. $colorbackhmenu1 = join(',', colorStringToArray($colorbackhmenu1));
  221. $colorbackvmenu1 = join(',', colorStringToArray($colorbackvmenu1));
  222. $colorbacktitle1 = join(',', colorStringToArray($colorbacktitle1));
  223. $colorbacktabcard1 = join(',', colorStringToArray($colorbacktabcard1));
  224. $colorbacktabactive = join(',', colorStringToArray($colorbacktabactive));
  225. $colorbacklineimpair1 = join(',', colorStringToArray($colorbacklineimpair1));
  226. $colorbacklineimpair2 = join(',', colorStringToArray($colorbacklineimpair2));
  227. $colorbacklinepair1 = join(',', colorStringToArray($colorbacklinepair1));
  228. $colorbacklinepair2 = join(',', colorStringToArray($colorbacklinepair2));
  229. if ($colorbacklinepairhover != '') {
  230. $colorbacklinepairhover = join(',', colorStringToArray($colorbacklinepairhover));
  231. }
  232. if ($colorbacklinepairchecked != '') {
  233. $colorbacklinepairchecked = join(',', colorStringToArray($colorbacklinepairchecked));
  234. }
  235. $colorbackbody = join(',', colorStringToArray($colorbackbody));
  236. $colortexttitlenotab = join(',', colorStringToArray($colortexttitlenotab));
  237. $colortexttitle = join(',', colorStringToArray($colortexttitle));
  238. $colortext = join(',', colorStringToArray($colortext));
  239. $colortextlink = join(',', colorStringToArray($colortextlink));
  240. $nbtopmenuentries = $menumanager->showmenu('topnb');
  241. if ($conf->browser->layout == 'phone') {
  242. $nbtopmenuentries = max($nbtopmenuentries, 10);
  243. }
  244. print '/*'."\n";
  245. print 'colorbackbody='.$colorbackbody."\n";
  246. print 'colorbackvmenu1='.$colorbackvmenu1."\n";
  247. print 'colorbackhmenu1='.$colorbackhmenu1."\n";
  248. print 'colorbacktitle1='.$colorbacktitle1."\n";
  249. print 'colorbacklineimpair1='.$colorbacklineimpair1."\n";
  250. print 'colorbacklineimpair2='.$colorbacklineimpair2."\n";
  251. print 'colorbacklinepair1='.$colorbacklinepair1."\n";
  252. print 'colorbacklinepair2='.$colorbacklinepair2."\n";
  253. print 'colorbacklinepairhover='.$colorbacklinepairhover."\n";
  254. print 'colorbacklinepairchecked='.$colorbacklinepairchecked."\n";
  255. print 'colortexttitlenotab='.$colortexttitlenotab."\n";
  256. print 'colortexttitle='.$colortexttitle."\n";
  257. print 'colortext='.$colortext."\n";
  258. print 'colortextlink='.$colortextlink."\n";
  259. print 'colortexttitlelink='.$colortexttitlelink."\n";
  260. print 'colortextbackhmenu='.$colortextbackhmenu."\n";
  261. print 'colortextbackvmenu='.$colortextbackvmenu."\n";
  262. print 'dol_hide_topmenu='.$dol_hide_topmenu."\n";
  263. print 'dol_hide_leftmenu='.$dol_hide_leftmenu."\n";
  264. print 'dol_optimize_smallscreen='.$dol_optimize_smallscreen."\n";
  265. print 'dol_no_mouse_hover='.$dol_no_mouse_hover."\n";
  266. print 'dol_screenwidth='.$_SESSION['dol_screenwidth']."\n";
  267. print 'dol_screenheight='.$_SESSION['dol_screenheight']."\n";
  268. print 'fontsize='.$fontsize."\n";
  269. print 'nbtopmenuentries='.$nbtopmenuentries."\n";
  270. print '*/'."\n";
  271. ?>
  272. /* ============================================================================== */
  273. /* Default styles */
  274. /* ============================================================================== */
  275. :root {
  276. --colorbackhmenu1: rgb(<?php print $colorbackhmenu1; ?>);
  277. --colorbackvmenu1: rgb(<?php print $colorbackvmenu1; ?>);
  278. --colorbacktitle1: rgb(<?php print $colorbacktitle1; ?>);
  279. --colorbacktabcard1: rgb(<?php print $colorbacktabcard1; ?>);
  280. --colorbacktabactive: rgb(<?php print $colorbacktabactive; ?>);
  281. --colorbacklineimpair1: rgb(<?php print $colorbacklineimpair1; ?>);
  282. --colorbacklineimpair2: rgb(<?php print $colorbacklineimpair2; ?>);
  283. --colorbacklinepair1: rgb(<?php print $colorbacklinepair1; ?>);
  284. --colorbacklinepair2: rgb(<?php print $colorbacklinepair2; ?>);
  285. --colorbacklinepairhover: rgb(<?php print $colorbacklinepairhover; ?>);
  286. --colorbacklinepairchecked: rgb(<?php print $colorbacklinepairchecked; ?>);
  287. --colorbacklinebreak: rgb(<?php print $colorbacklinebreak; ?>);
  288. --colorbackbody: rgb(<?php print $colorbackbody; ?>);
  289. --colorbackmobilemenu: #f8f8f8;
  290. --colorbackgrey: #f0f0f0;
  291. --colortexttitlenotab: rgb(<?php print $colortexttitlenotab; ?>);
  292. --colortexttitlenotab2: rgb(<?php print $colortexttitlenotab2; ?>);
  293. --colortexttitle: rgb(<?php print $colortexttitle; ?>);
  294. --colortexttitlelink: rgba(<?php print $colortexttitlelink; ?>, 0.9);
  295. --colortext: rgb(<?php print $colortext; ?>);
  296. --colortextlink: rgb(<?php print $colortextlink; ?>);
  297. --colortextbackhmenu: #<?php print $colortextbackhmenu; ?>;
  298. --colortextbackvmenu: #<?php print $colortextbackvmenu; ?>;
  299. --colortopbordertitle1: rgb(<?php print $colortopbordertitle1; ?>);
  300. --listetotal: #551188;
  301. --inputbackgroundcolor: #FFF;
  302. --inputbackgroundcolordisabled: #eee;
  303. --inputcolordisabled: rgb(80, 80, 80);
  304. --inputbordercolor: rgba(0,0,0,.2);
  305. --tooltipbgcolor: <?php print $toolTipBgColor; ?>;
  306. --tooltipfontcolor : <?php print $toolTipFontColor; ?>;
  307. --oddevencolor: #202020;
  308. --colorboxstatsborder: #ddd;
  309. --dolgraphbg: rgba(255,255,255,0);
  310. --fieldrequiredcolor: #000055;
  311. --colortextbacktab: #<?php print $colortextbacktab; ?>;
  312. --colorboxiconbg: #eee;
  313. --refidnocolor:#444;
  314. --tableforfieldcolor:#666;
  315. --amountremaintopaycolor:#880000;
  316. --amountpaymentcomplete:#008800;
  317. --amountremaintopaybackcolor:none;
  318. --productlinestockod: #002200;
  319. --productlinestocktoolow: #884400;
  320. --infoboxmoduleenabledbgcolor : linear-gradient(0.4turn, #fff, #fff, #fff, #e4efe8);
  321. --tablevalidbgcolor: rgb(252, 248, 227);
  322. --butactionbg : #<?php print $butactionbg; ?>;
  323. --textbutaction : #<?php print $textbutaction; ?>;
  324. --colorblack: #000;
  325. --colorwhite: #fff;
  326. }
  327. <?php
  328. if (!empty($conf->global->THEME_DARKMODEENABLED)) {
  329. print "/* For dark mode */\n";
  330. if ($conf->global->THEME_DARKMODEENABLED != 2) {
  331. print "@media (prefers-color-scheme: dark) {"; // To test, click on the 3 dots menu, then Other options then Display then emulate prefer-color-schemes
  332. } else {
  333. print "@media not print {";
  334. }
  335. print ":root {
  336. --colorbackhmenu1: #3d3e40;
  337. --colorbackvmenu1: #2b2c2e;
  338. --colorbacktitle1: #2b2d2f;
  339. --colorbacktabcard1: #1d1e20; /* Must be same than colorbackbody */
  340. --colorbacktabactive: rgb(220,220,220);
  341. --colorbacklineimpair1: #38393d;
  342. --colorbacklineimpair2: #2b2d2f;
  343. --colorbacklinepair1: #38393d;
  344. --colorbacklinepair2: #2b2d2f;
  345. --colorbacklinepairhover: #2b2d2f;
  346. --colorbacklinepairchecked: #0e5ccd;
  347. --colorbackbody: #1d1e20;
  348. --colorbackmobilemenu: #080808;
  349. --colorbackgrey: #0f0f0f;
  350. --tooltipbgcolor: #2b2d2f;
  351. --colortexttitlenotab: rgb(220,220,220);
  352. --colortexttitlenotab2: rgb(220,220,220);
  353. --colortexttitle: rgb(220,220,220);
  354. --colortext: rgb(220,220,220);
  355. --colortextlink: #4390dc;
  356. --colortexttitlelink: #4390dc;
  357. --colortextbackhmenu: rgb(220,220,220);
  358. --colortextbackvmenu: rgb(220,220,220);
  359. --tooltipfontcolor : rgb(220,220,220);
  360. --listetotal: rgb(245, 83, 158);
  361. --inputbackgroundcolor: rgb(70, 70, 70);
  362. --inputbackgroundcolordisabled: rgb(60, 60, 60);
  363. --inputcolordisabled: rgb(140, 140, 140);
  364. --inputbordercolor: rgb(220,220,220);
  365. --oddevencolor: rgb(220,220,220);
  366. --colorboxstatsborder: rgb(65,100,138);
  367. --dolgraphbg: #1d1e20;
  368. --fieldrequiredcolor: rgb(250,183,59);
  369. --colortextbacktab: rgb(220,220,220);
  370. --colorboxiconbg: rgb(36,38,39);
  371. --refidnocolor: rgb(220,220,220);
  372. --tableforfieldcolor:rgb(220,220,220);
  373. --amountremaintopaycolor:rgb(252,84,91);
  374. --amountpaymentcomplete:rgb(101,184,77);
  375. --amountremaintopaybackcolor:rbg(245,130,46);
  376. --infoboxmoduleenabledbgcolor : linear-gradient(0.4turn, #000, #000, #000, #274231);
  377. --tablevalidbgcolor: rgb(80, 64, 33);
  378. --colorblack: #fff;
  379. --colorwhite: #000;
  380. }
  381. body, button {
  382. color: #bbb;
  383. }\n
  384. }\n";
  385. }
  386. ?>
  387. body {
  388. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  389. background-color: #FFFFFF;
  390. <?php } ?>
  391. font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
  392. line-height: 1.4;
  393. font-family: <?php print $fontlist ?>;
  394. margin-top: 0;
  395. margin-bottom: 0;
  396. margin-right: 0;
  397. margin-left: 0;
  398. font-weight: 400;
  399. background-color: var(--colorbackbody);
  400. <?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?>
  401. }
  402. /* Style used to protect html content in output to avoid attack by replacing full page with js content */
  403. .sensiblehtmlcontent * {
  404. position: static !important;
  405. }
  406. .thumbstat { font-weight: bold !important; }
  407. th a { font-weight: <?php echo ($useboldtitle ? 'bold' : 'normal'); ?> !important; }
  408. a.tab { font-weight: 500 !important; }
  409. a:link, a:visited, a:hover, a:active, .classlink { font-family: <?php print $fontlist ?>; font-weight: normal; color: var(--colortextlink); text-decoration: none; }
  410. a:hover { text-decoration: underline; color: var(--colortextlink); }
  411. a.commonlink { color: var(--colortextlink) !important; text-decoration: none; }
  412. input {
  413. font-size: unset;
  414. }
  415. .tableforfield input, .refidno input {
  416. padding: 2px;
  417. }
  418. /*
  419. input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
  420. background-color: #FDFDFD;
  421. }
  422. */
  423. select.vmenusearchselectcombo {
  424. background-color: unset;
  425. }
  426. textarea:focus {
  427. /* v6 box-shadow: 0 0 4px #8091BF; */
  428. border: 1px solid #aaa !important;
  429. }
  430. input:focus, textarea:focus, button:focus:not(.button_search_x):not(.button_search):not(.button_removefilter), select:focus {
  431. border-bottom: 1px solid #666;
  432. }
  433. textarea.cke_source:focus
  434. {
  435. box-shadow: none;
  436. }
  437. th.wrapcolumntitle.liste_titre:not(.maxwidthsearch), td.wrapcolumntitle.liste_titre:not(.maxwidthsearch),
  438. th.wrapcolumntitle.liste_titre_sel:not(.maxwidthsearch), td.wrapcolumntitle.liste_titre_sel:not(.maxwidthsearch) {
  439. overflow: hidden;
  440. white-space: nowrap;
  441. max-width: 120px;
  442. text-overflow: ellipsis;
  443. }
  444. th.wrapcolumntitle dl dt a span.fas.fa-list {
  445. padding-bottom: 1px;
  446. vertical-align: bottom;
  447. }
  448. .liste_titre input[name=month_date_when], .liste_titre input[name=monthvalid], .liste_titre input[name=search_ordermonth], .liste_titre input[name=search_deliverymonth],
  449. .liste_titre input[name=search_smonth], .liste_titre input[name=search_month], .liste_titre input[name=search_emonth], .liste_titre input[name=smonth], .liste_titre input[name=month],
  450. .liste_titre input[name=month_lim], .liste_titre input[name=month_start], .liste_titre input[name=month_end], .liste_titre input[name=month_create],
  451. .liste_titre input[name=search_month_lim], .liste_titre input[name=search_month_start], .liste_titre input[name=search_month_end], .liste_titre input[name=search_month_create],
  452. .liste_titre input[name=search_month_create], .liste_titre input[name=search_month_start], .liste_titre input[name=search_month_end],
  453. .liste_titre input[name=day_date_when], .liste_titre input[name=dayvalid], .liste_titre input[name=search_orderday], .liste_titre input[name=search_deliveryday],
  454. .liste_titre input[name=search_sday], .liste_titre input[name=search_day], .liste_titre input[name=search_eday], .liste_titre input[name=sday], .liste_titre input[name=day], .liste_titre select[name=day],
  455. .liste_titre input[name=day_lim], .liste_titre input[name=day_start], .liste_titre input[name=day_end], .liste_titre input[name=day_create],
  456. .liste_titre input[name=search_day_lim], .liste_titre input[name=search_day_start], .liste_titre input[name=search_day_end], .liste_titre input[name=search_day_create],
  457. .liste_titre input[name=search_day_create], .liste_titre input[name=search_day_start], .liste_titre input[name=search_day_end],
  458. .liste_titre input[name=search_day_date_when], .liste_titre input[name=search_month_date_when], .liste_titre input[name=search_year_date_when],
  459. .liste_titre input[name=search_dtstartday], .liste_titre input[name=search_dtendday], .liste_titre input[name=search_dtstartmonth], .liste_titre input[name=search_dtendmonth],
  460. select#date_startday, select#date_startmonth, select#date_endday, select#date_endmonth, select#reday, select#remonth
  461. {
  462. margin-right: 4px;
  463. }
  464. input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
  465. color: var(--colortext);
  466. border: none;
  467. border<?php echo empty($conf->global->THEME_SHOW_BORDER_ON_INPUT) ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor);
  468. font-family: <?php print $fontlist ?>;
  469. outline: none;
  470. margin: 0px 0px 0px 0px;
  471. background-color: var(--inputbackgroundcolor);
  472. <?php if (empty($conf->global->THEME_ADD_BACKGROUND_ON_INPUT)) { ?>
  473. border<?php echo empty($conf->global->THEME_SHOW_BORDER_ON_INPUT) ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor);
  474. <?php } ?>
  475. }
  476. input {
  477. line-height: 17px;
  478. padding: 5px;
  479. padding-left: 5px;
  480. }
  481. select {
  482. padding-top: 4px;
  483. padding-right: 4px;
  484. padding-bottom: 4px;
  485. padding-left: 2px;
  486. }
  487. input, select {
  488. margin-left:0px;
  489. margin-bottom:1px;
  490. margin-top:1px;
  491. }
  492. #mainbody input.button:not(.buttongen):not(.bordertransp), #mainbody a.button:not(.buttongen):not(.bordertransp) {
  493. background: var(--butactionbg);
  494. color: var(--textbutaction) !important;
  495. border-radius: 3px;
  496. border-collapse: collapse;
  497. border: none;
  498. text-shadow: none;
  499. text-transform: uppercase;
  500. /* font-weight: bold; */
  501. margin: 0em 0.8em;
  502. padding: 0.6em 0.7em;
  503. line-height: 17px;
  504. }
  505. #mainbody input.button:not(.buttongen):not(.bordertransp):hover, #mainbody a.button:not(.buttongen):not(.bordertransp):hover {
  506. -webkit-box-shadow: 0px 0px 6px 1px rgb(50 50 50 / 40%), 0px 0px 0px rgb(60 60 60 / 10%);
  507. box-shadow: 0px 0px 6px 1px rgb(50 50 50 / 40%), 0px 0px 0px rgb(60 60 60 / 10%);
  508. }
  509. #mainbody input.buttongen, #mainbody button.buttongen {
  510. padding: 3px 4px;
  511. }
  512. input.button.massactionconfirmed {
  513. margin: 4px;
  514. }
  515. input.short {
  516. width: 40px;
  517. }
  518. input:invalid, select:invalid, input.--error , select.--error {
  519. border-color: #ea1212;
  520. }
  521. section.setupsection {
  522. padding: 20px;
  523. background-color: var(--colorbacktitle1);
  524. border-radius: 5px;
  525. }
  526. .field-error-icon { color: #ea1212 !important; }
  527. textarea {
  528. border-radius: 0;
  529. border-top:solid 1px var(--inputbordercolor);
  530. border-left:solid 1px var(--inputbordercolor);
  531. border-right:solid 1px var(--inputbordercolor);
  532. border-bottom:solid 1px var(--inputbordercolor);
  533. background-color: #FFF;
  534. padding:4px;
  535. margin-left:1px;
  536. margin-bottom:1px;
  537. margin-top:1px;
  538. }
  539. input.removedassigned {
  540. padding: 2px !important;
  541. vertical-align: text-bottom;
  542. margin-bottom: -3px;
  543. }
  544. input.smallpadd { /* Used for timesheet input */
  545. padding-left: 1px !important;
  546. padding-right: 1px !important;
  547. }
  548. input.buttongen {
  549. vertical-align: middle;
  550. }
  551. input.buttonpayment, button.buttonpayment, div.buttonpayment {
  552. min-width: 290px;
  553. margin-bottom: 15px;
  554. margin-top: 15px;
  555. margin-left: 5px;
  556. margin-right: 5px;
  557. background-image: none;
  558. line-height: 24px;
  559. padding: 8px;
  560. background: none;
  561. text-align: center;
  562. border: 2px solid #ccc;
  563. background-color: #eee;
  564. white-space: normal;
  565. color: #888 !important;
  566. height: 60px;
  567. }
  568. .nofocusvisible:focus-visible {
  569. outline: none;
  570. }
  571. div.buttonpayment input {
  572. background-color: unset;
  573. border-bottom: unset;
  574. font-weight: bold;
  575. text-transform: uppercase;
  576. color: #333;
  577. cursor: pointer;
  578. }
  579. div.buttonpayment input:focus {
  580. color: #008;
  581. }
  582. input.buttonpaymentcb {
  583. background-image: url(<?php echo dol_buildpath($path.'/theme/common/credit_card.png', 1) ?>);
  584. background-size: 26px;
  585. background-repeat: no-repeat;
  586. background-position: 5px 5px;
  587. }
  588. input.buttonpaymentcheque {
  589. background-image: url(<?php echo dol_buildpath($path.'/theme/common/cheque.png', 1) ?>);
  590. background-repeat: no-repeat;
  591. background-position: 8px 7px;
  592. }
  593. input.buttonpaymentcb {
  594. background-image: url(<?php echo dol_buildpath($path.'/theme/common/credit_card.png', 1) ?>);
  595. background-size: 24px;
  596. background-repeat: no-repeat;
  597. background-position: 5px 4px;
  598. }
  599. input.buttonpaymentpaypal {
  600. background-image: url(<?php echo dol_buildpath($path.'/paypal/img/object_paypal.png', 1) ?>);
  601. background-repeat: no-repeat;
  602. background-position: 8px 7px;
  603. }
  604. input.buttonpaymentpaybox {
  605. background-image: url(<?php echo dol_buildpath($path.'/paybox/img/object_paybox.png', 1) ?>);
  606. background-repeat: no-repeat;
  607. background-position: 8px 7px;
  608. }
  609. input.buttonpaymentstripe {
  610. background-image: url(<?php echo dol_buildpath($path.'/stripe/img/object_stripe.png', 1) ?>);
  611. background-repeat: no-repeat;
  612. background-position: 8px 7px;
  613. }
  614. .logopublicpayment #dolpaymentlogo {
  615. max-height: 80px;
  616. max-width: 300px;
  617. image-rendering: -webkit-optimize-contrast; /* better rendering on public page header */
  618. }
  619. a.butStatus {
  620. padding-left: 5px;
  621. padding-right: 5px;
  622. background-color: transparent;
  623. color: var(--colortext) !important;
  624. border: 2px solid var( --butactionbg);
  625. margin: 0 0.45em !important;
  626. }
  627. span.userimg.notfirst {
  628. margin-left: -5px;
  629. }
  630. /* Used by timesheets */
  631. span.timesheetalreadyrecorded input {
  632. border: none;
  633. border-bottom: solid 1px rgba(0,0,0,0.1);
  634. margin-right: 1px !important;
  635. }
  636. td.onholidaymorning, td.onholidayafternoon {
  637. background-color: #fdf6f2;
  638. }
  639. td.onholidayallday {
  640. background-color: #f4eede;
  641. }
  642. td.onholidayallday:not(.weekend) input {
  643. background-color: #f8f7f0;
  644. }
  645. td.weekend { /* must be after td.onholidayallday */
  646. background-color: #eee;
  647. }
  648. td.weekend input {
  649. background-color: #f8f8f8;
  650. }
  651. td.leftborder, td.hide0 {
  652. border-left: 1px solid #ccc;
  653. }
  654. td.leftborder, td.hide6 {
  655. border-right: 1px solid #ccc;
  656. }
  657. td.rightborder {
  658. border-right: 1px solid #ccc;
  659. }
  660. td.amount, span.amount, div.amount, b.amount {
  661. color: #006666;
  662. }
  663. td.actionbuttons a {
  664. padding-left: 6px;
  665. }
  666. select.flat, form.flat select, .pageplusone, .divadvancedsearchfieldcompinput, {
  667. font-weight: normal;
  668. font-size: unset;
  669. height: 2em;
  670. }
  671. input.pageplusone, .divadvancedsearchfieldcompinput, {
  672. padding-bottom: 4px;
  673. padding-top: 4px;
  674. }
  675. .saturatemedium {
  676. filter: saturate(0.8);
  677. }
  678. .optionblue {
  679. color: var(--colortextlink);
  680. }
  681. .optiongrey, .opacitymedium {
  682. opacity: 0.5;
  683. }
  684. .opacitymediumbycolor {
  685. color: rgba(0, 0, 0, 0.4);
  686. }
  687. .opacitylow {
  688. opacity: 0.6;
  689. }
  690. .opacityhigh {
  691. opacity: 0.24;
  692. }
  693. .opacitytransp {
  694. opacity: 0;
  695. }
  696. .colorwhite {
  697. color: var(--colorwhite);
  698. }
  699. .colorgrey {
  700. color: #888 !important;
  701. }
  702. .colorblack {
  703. color: var(--colorblack);
  704. }
  705. .fontsizeunset {
  706. font-size: unset !important;
  707. }
  708. .vmirror {
  709. transform: scale(1, -1);
  710. }
  711. .hmirror {
  712. transform: scale(-1, 1);
  713. }
  714. select:invalid, select.--error {
  715. color: gray;
  716. }
  717. input:disabled, textarea:disabled, select[disabled='disabled']
  718. {
  719. background: var(--inputbackgroundcolordisabled);
  720. color: var(--inputcolordisabled);
  721. }
  722. input.liste_titre {
  723. box-shadow: none !important;
  724. }
  725. .listactionlargetitle .liste_titre {
  726. line-height: 24px;
  727. }
  728. input.removedfile {
  729. padding: 0px !important;
  730. border: 0px !important;
  731. vertical-align: text-bottom;
  732. }
  733. input[type=file] { background-color: transparent; border-top: none; border-left: none; border-right: none; box-shadow: none; }
  734. input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; vertical-align: middle; }
  735. input[type=radio] { background-color: transparent; border: none; box-shadow: none; vertical-align: middle; }
  736. input[type=image] { background-color: transparent; border: none; box-shadow: none; }
  737. input:-webkit-autofill {
  738. background-color: #FBFFEA !important;
  739. background-image:none !important;
  740. -webkit-box-shadow: 0 0 0 50px #FBFFEA inset;
  741. }
  742. input[type=checkbox], input[type=radio] {
  743. margin: 0 3px 0 3px;
  744. }
  745. /* CSS for placeholder */
  746. .placeholder { color: #ccc; }
  747. ::-webkit-input-placeholder { color:#ccc; }
  748. :-moz-placeholder { color:#bbb; } /* firefox 18- */
  749. ::-moz-placeholder { color:#bbb; } /* firefox 19+ */
  750. :-ms-input-placeholder { color:#ccc; } /* ie */
  751. input:-moz-placeholder { color:#ccc; }
  752. input[name=price], input[name=weight], input[name=volume], input[name=surface], input[name=sizeheight], input[name=net_measure], select[name=incoterm_id] { margin-right: 6px; }
  753. fieldset {
  754. border: 1px solid #AAAAAA !important;
  755. padding-inline-start: 2em;
  756. padding-inline-end: 2em;
  757. min-inline-size: auto;
  758. }
  759. .legendforfieldsetstep { padding-bottom: 10px; }
  760. input#onlinepaymenturl, input#directdownloadlink {
  761. opacity: 0.7;
  762. }
  763. .formconsumeproduce {
  764. background: #f3f3f3;
  765. padding: 20px 0px 0px 0px;
  766. border-radius: 8px;
  767. }
  768. div#moretabsList, div#moretabsListaction {
  769. z-index: 5;
  770. }
  771. hr { border: 0; border-top: 1px solid #ccc; }
  772. .tabBar hr { margin-top: 20px; margin-bottom: 17px; }
  773. table.tableforfield .button:not(.bordertransp):not(.buttonpayment),
  774. table.tableforfield .buttonDelete:not(.bordertransp):not(.buttonpayment) {
  775. margin-bottom: 2px;
  776. margin-top: 2px;
  777. }
  778. .button:not(.bordertransp):not(.buttonpayment), .buttonDelete:not(.bordertransp):not(.buttonpayment) {
  779. border-color: #c5c5c5;
  780. border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
  781. display: inline-block;
  782. padding: 4px 14px;
  783. margin-bottom: 0;
  784. margin-top: 0;
  785. font-family: <?php print $fontlist ?>;
  786. text-align: center;
  787. cursor: pointer;
  788. color: #333333 !important;
  789. text-decoration: none !important;
  790. text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  791. background-color: #f5f5f5;
  792. background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  793. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  794. background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  795. background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  796. background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  797. background-repeat: repeat-x;
  798. border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  799. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  800. border: 1px solid #bbbbbb;
  801. border-bottom-color: #a2a2a2;
  802. -webkit-border-radius: 2px;
  803. border-radius: 2px;
  804. -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  805. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  806. }
  807. .refidno .button.smallpaddingimp {
  808. font-size: 0.85em !important;
  809. }
  810. .button:focus, .buttonDelete:focus {
  811. -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  812. box-shadow: 0px 0px 6px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  813. }
  814. .button:hover:not(.nohover), .buttonDelete:hover:not(.nohover) {
  815. -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  816. box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
  817. }
  818. .button:disabled, .buttonDelete:disabled, .button.disabled, .buttonDelete.disabled {
  819. opacity: 0.4;
  820. box-shadow: none;
  821. -webkit-box-shadow: none;
  822. cursor: auto;
  823. }
  824. .buttonRefused {
  825. pointer-events: none;
  826. cursor: default;
  827. opacity: 0.4;
  828. box-shadow: none;
  829. -webkit-box-shadow: none;
  830. }
  831. .button_search, .button_removefilter {
  832. border: unset;
  833. background-color: unset;
  834. }
  835. .button_search:hover, .button_removefilter:hover {
  836. cursor: pointer;
  837. }
  838. form {
  839. padding:0px;
  840. margin:0px;
  841. }
  842. form#addproduct {
  843. padding-top: 10px;
  844. }
  845. div.float, span.floatleft
  846. {
  847. float:<?php print $left; ?>;
  848. }
  849. div.floatright
  850. {
  851. float:<?php print $right; ?>;
  852. }
  853. .block
  854. {
  855. display:block;
  856. }
  857. .inline-block
  858. {
  859. display:inline-block;
  860. }
  861. .inline-blockimp
  862. {
  863. display:inline-block !important;
  864. }
  865. .largenumber {
  866. font-size: 1.4em;
  867. }
  868. button:focus {
  869. outline: none;
  870. }
  871. .fa-info-circle {
  872. padding-<?php echo $left; ?>: 3px;
  873. }
  874. .line-height-large {
  875. line-height: 1.8em;
  876. }
  877. th .button {
  878. -webkit-box-shadow: none !important;
  879. box-shadow: none !important;
  880. -webkit-border-radius:0px !important;
  881. border-radius:0px !important;
  882. }
  883. .maxwidthsearch { /* Max width of column with the search picto */
  884. width: 54px;
  885. min-width: 54px;
  886. }
  887. .valigntop {
  888. vertical-align: top;
  889. }
  890. .valignmiddle {
  891. vertical-align: middle;
  892. }
  893. .valignbottom {
  894. vertical-align: bottom;
  895. }
  896. .valigntextbottom {
  897. vertical-align: text-bottom;
  898. }
  899. .centpercent {
  900. width: 100%;
  901. }
  902. .centpercentimp {
  903. width: 100% !important;
  904. }
  905. .centpercentwithoutmenu {
  906. width: calc(100% - 200px);
  907. }
  908. .quatrevingtpercent, .inputsearch {
  909. width: 80%;
  910. }
  911. .maxquatrevingtpercent {
  912. max-width: 80%;
  913. }
  914. .soixantepercent {
  915. width: 60%;
  916. }
  917. .quatrevingtquinzepercent {
  918. width: 95%;
  919. }
  920. .quatrevingtpercentminusx {
  921. width: calc(80% - 52px);
  922. }
  923. textarea.centpercent {
  924. width: 96%;
  925. }
  926. .small, small {
  927. font-size: 85%;
  928. }
  929. .large {
  930. font-size: 125%;
  931. }
  932. .double {
  933. font-size: 2em;
  934. }
  935. .h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small {
  936. font-size: 65%;
  937. }
  938. .h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, .h4 .small, .h4 small, .h5 .small, .h5 small, .h6 .small, .h6 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small, h4 .small, h4 small, h5 .small, h5 small, h6 .small, h6 small {
  939. font-weight: 400;
  940. line-height: 1;
  941. color: #777;
  942. }
  943. .flip {
  944. transform: scaleX(-1) translate(<?php print ($left == 'left' ? '' : '-'); ?>2px, 0);
  945. }
  946. .rotate90 {
  947. transform: rotate(90deg) translate(0, <?php print ($left == 'left' ? '' : '-'); ?>2px);
  948. }
  949. .center {
  950. text-align: center;
  951. margin: 0px auto;
  952. }
  953. .centerimp {
  954. text-align: center !important;
  955. }
  956. .alignstart {
  957. text-align: start;
  958. }
  959. .start {
  960. text-align: start;
  961. }
  962. .end {
  963. text-align: end;
  964. }
  965. .left {
  966. text-align: <?php print $left; ?>;
  967. }
  968. .right {
  969. text-align: <?php print $right; ?>;
  970. }
  971. .justify {
  972. text-align: justify;
  973. }
  974. .pull-left {
  975. float: left!important;
  976. }
  977. .pull-right {
  978. float: right!important;
  979. }
  980. .nowrap {
  981. white-space: <?php print ($dol_optimize_smallscreen ? 'normal' : 'nowrap'); ?>;
  982. }
  983. .nowraponsmartphone {
  984. white-space: <?php print ($dol_optimize_smallscreen ? 'nowrap' : 'normal'); ?>;
  985. }
  986. .wraponsmartphone {
  987. white-space: <?php print ($dol_optimize_smallscreen ? 'normal' : 'nowrap'); ?>;
  988. }
  989. .liste_titre .nowrap {
  990. white-space: nowrap;
  991. }
  992. .nowraponall { /* no wrap on all devices */
  993. white-space: nowrap;
  994. }
  995. .wrapimp {
  996. white-space: normal !important;
  997. }
  998. .wordwrap {
  999. word-wrap: break-word;
  1000. }
  1001. .wordbreakimp {
  1002. word-break: break-word;
  1003. }
  1004. .wordbreak {
  1005. word-break: break-all;
  1006. }
  1007. td.wordbreak img {
  1008. max-width: 100%;
  1009. }
  1010. .bold {
  1011. font-weight: bold !important;
  1012. }
  1013. .nobold {
  1014. font-weight: normal !important;
  1015. }
  1016. .uppercase {
  1017. text-transform: uppercase;
  1018. }
  1019. .nounderline {
  1020. text-decoration: none;
  1021. }
  1022. .nounderlineimp {
  1023. text-decoration: none !important;
  1024. }
  1025. .nopadding {
  1026. padding: 0;
  1027. }
  1028. .nopaddingleft {
  1029. padding-left: 0;
  1030. }
  1031. .nopaddingright {
  1032. padding-right: 0;
  1033. }
  1034. .nopaddingleftimp {
  1035. padding-left: 0 !important;
  1036. }
  1037. .nopaddingrightimp {
  1038. padding-right: 0 !important;
  1039. }
  1040. .paddingleft {
  1041. padding-<?php print $left; ?>: 4px;
  1042. }
  1043. .paddingleftimp {
  1044. padding-<?php print $left; ?>: 4px !important;
  1045. }
  1046. .paddingleft2 {
  1047. padding-<?php print $left; ?>: 2px;
  1048. }
  1049. .paddingleft2imp {
  1050. padding-<?php print $left; ?>: 2px !important;
  1051. }
  1052. .paddingright {
  1053. padding-<?php print $right; ?>: 4px;
  1054. }
  1055. .paddingrightimp {
  1056. padding-<?php print $right; ?>: 4px !important;
  1057. }
  1058. .paddingright2 {
  1059. padding-<?php print $right; ?>: 2px;
  1060. }
  1061. .paddingright2imp {
  1062. padding-<?php print $right; ?>: 2px !important;
  1063. }
  1064. .paddingtop {
  1065. padding-top: 4px;
  1066. }
  1067. .paddingtop2 {
  1068. padding-top: 2px;
  1069. }
  1070. .paddingbottom {
  1071. padding-bottom: 4px;
  1072. }
  1073. .paddingbottom2 {
  1074. padding-bottom: 2px;
  1075. }
  1076. .marginleft2 {
  1077. margin-<?php print $left; ?>: 2px;
  1078. }
  1079. .marginright2 {
  1080. margin-<?php print $right; ?>: 2px;
  1081. }
  1082. .nomarginleft {
  1083. margin-<?php print $left; ?>: unset;
  1084. }
  1085. .nomarginright {
  1086. margin-<?php print $right; ?>: unset;
  1087. }
  1088. .nowidthimp {
  1089. width: unset !important;
  1090. }
  1091. .cursordefault {
  1092. cursor: default;
  1093. }
  1094. .cursorpointer {
  1095. cursor: pointer;
  1096. }
  1097. .classfortooltiponclick .fa-question-circle {
  1098. cursor: pointer;
  1099. }
  1100. .cursormove {
  1101. cursor: move;
  1102. }
  1103. .cursornotallowed {
  1104. cursor: not-allowed;
  1105. }
  1106. .cursorwait {
  1107. cursor: wait;
  1108. }
  1109. .backgroundblank {
  1110. background-color: #fff;
  1111. }
  1112. .nobackground, .nobackground tr {
  1113. background: unset !important;
  1114. }
  1115. .checkboxattachfilelabel {
  1116. font-size: 0.85em;
  1117. opacity: 0.7;
  1118. }
  1119. .borderimp {
  1120. border: 1px solid #888 !important;
  1121. }
  1122. .text-warning{
  1123. color : <?php print $textWarning; ?>
  1124. }
  1125. .longmessagecut {
  1126. max-height: 250px;
  1127. max-width: 100%;
  1128. overflow-y: auto;
  1129. }
  1130. div.urllink {
  1131. padding: 5px;
  1132. margin-top: 5px;
  1133. margin-bottom: 5px;
  1134. /* border: 1px solid #ccc; */
  1135. border-radius: 5px;
  1136. /* width: fit-content; */
  1137. background-color: #e0e0e8;
  1138. opacity: 0.8;
  1139. }
  1140. div.urllink, div.urllink a {
  1141. color: #339 !important;
  1142. }
  1143. i.fa-mars::before, i.fa-venus::before, i.fa-genderless::before, i.fa-transgender::before {
  1144. color: #888 !important;
  1145. opacity: 0.4;
  1146. padding-<?php echo $left; ?>: 3px;
  1147. }
  1148. .stockmovemententry {
  1149. color: #080;
  1150. transform: rotate(0.25turn);
  1151. font-size: 1.2em;
  1152. }
  1153. .stockmovementexit {
  1154. color: #968822;
  1155. transform: rotate(0.3turn);
  1156. font-size: 1.2em;
  1157. }
  1158. .stockmovement {
  1159. font-size: 1.4em;
  1160. }
  1161. .text-warning{
  1162. color : <?php print $textWarning; ?>
  1163. }
  1164. body[class*="colorblind-"] .text-warning{
  1165. color : <?php print $colorblind_deuteranopes_textWarning; ?>
  1166. }
  1167. .text-success{
  1168. color : <?php print $textSuccess; ?>
  1169. }
  1170. body[class*="colorblind-"] .text-success{
  1171. color : <?php print $colorblind_deuteranopes_textSuccess; ?>
  1172. }
  1173. .text-danger{
  1174. color : <?php print $textDanger; ?>
  1175. }
  1176. .editfielda span.fa-pencil-alt, .editfielda span.fa-pencil-ruler, .editfielda span.fa-trash, .editfielda span.fa-crop,
  1177. .editfieldlang {
  1178. color: #ccc !important;
  1179. }
  1180. .editfielda span.fa-pencil-alt:hover, .editfielda span.fa-pencil-ruler:hover, .editfielda span.fa-trash:hover, .editfielda span.fa-crop:hover,
  1181. .editfieldlang:hover {
  1182. color: var(--colortexttitle) !important;
  1183. }
  1184. a.editfielda.nohover *:hover:before {
  1185. color: #ccc !important;
  1186. }
  1187. .fawidth30 {
  1188. width: 20px;
  1189. }
  1190. .floatnone {
  1191. float: none !important;
  1192. }
  1193. span.fa.fa-plus-circle.paddingleft {
  1194. padding-right: 4px;
  1195. padding-top: 3px;
  1196. padding-bottom: 2px;
  1197. }
  1198. .size15x { font-size: 1.5em !important; }
  1199. .fa-toggle-on, .fa-toggle-off, .size2x { font-size: 2em; }
  1200. .websiteselectionsection .fa-toggle-on, .websiteselectionsection .fa-toggle-off,
  1201. .asetresetmodule .fa-toggle-on, .asetresetmodule .fa-toggle-off,
  1202. .tdwebsitesearchresult .fa-toggle-on, .tdwebsitesearchresult .fa-toggle-off {
  1203. font-size: 1.5em; vertical-align: text-bottom;
  1204. }
  1205. .divoverflow {
  1206. overflow: hidden;
  1207. white-space: nowrap;
  1208. vertical-align: middle;
  1209. text-overflow: ellipsis;
  1210. }
  1211. /* Themes for badges */
  1212. <?php include dol_buildpath($path.'/theme/'.$theme.'/badges.inc.php', 0); ?>
  1213. .borderrightlight
  1214. {
  1215. border-right: 1px solid #f4f4f4;
  1216. }
  1217. .borderleftlight
  1218. {
  1219. border-left: 1px solid #f4f4f4;
  1220. }
  1221. #formuserfile {
  1222. margin-top: 4px;
  1223. }
  1224. #formuserfile_link {
  1225. margin-left: 1px;
  1226. }
  1227. .listofinvoicetype {
  1228. height: 28px;
  1229. vertical-align: middle;
  1230. }
  1231. .divsocialnetwork:not(:last-child) {
  1232. padding-<?php print $right; ?>: 20px;
  1233. }
  1234. .divfilteralone {
  1235. background-color: rgba(0, 0, 0, 0.08);
  1236. border-radius: 5px;
  1237. padding-left: 5px;
  1238. }
  1239. div.divsearchfield {
  1240. /* float: <?php print $left; ?>; */
  1241. display: inline-block;
  1242. margin-<?php print $right; ?>: 12px;
  1243. margin-<?php print $left; ?>: 2px;
  1244. margin-top: 4px;
  1245. margin-bottom: 4px;
  1246. padding-left: 2px;
  1247. }
  1248. .divsearchfieldfilter {
  1249. text-overflow: clip;
  1250. overflow: auto;
  1251. white-space: nowrap;
  1252. padding-bottom: 5px;
  1253. opacity: 0.6;
  1254. font-size: small;
  1255. }
  1256. .divadvancedsearchfield:first-child {
  1257. margin-top: 3px;
  1258. }
  1259. .divadvancedsearchfield {
  1260. float: left;
  1261. padding-left: 15px;
  1262. padding-right: 15px;
  1263. padding-bottom: 2px;
  1264. padding-top: 2px;
  1265. }
  1266. .divadvancedsearchfield span.select2.select2-container.select2-container--default {
  1267. padding-bottom: 4px;
  1268. }
  1269. .divadvancedsearchfieldcompinput {
  1270. background: #fff;
  1271. border-bottom: solid 1px var(--inputbordercolor);
  1272. }
  1273. .search_component_params {
  1274. /*display: flex; */
  1275. -webkit-flex-flow: row wrap;
  1276. flex-flow: row wrap;
  1277. background: #fff;
  1278. padding-top: 3px;
  1279. padding-bottom: 3px;
  1280. padding-<?php echo $left; ?>: 0;
  1281. padding-<?php echo $right; ?>: 0;
  1282. border-bottom: solid 1px var(--inputbordercolor);
  1283. height: 24px;
  1284. }
  1285. .search_component_searchtext {
  1286. padding-top: 2px;
  1287. }
  1288. .search_component_params_text, .search_component_params_text:focus {
  1289. border-bottom: none;
  1290. width: auto;
  1291. margin: 0 !important;
  1292. padding: 3px;
  1293. }
  1294. .tagsearch {
  1295. padding: 2px;
  1296. padding-right: 4px;
  1297. padding-bottom: 3px;
  1298. background: #ddd;
  1299. border-radius: 4px;
  1300. }
  1301. .tagsearchdelete {
  1302. color: #999;
  1303. cursor: pointer;
  1304. display: inline-block;
  1305. font-weight: bold;
  1306. margin-right: 2px;
  1307. padding-left: 4px;
  1308. }
  1309. .caretleftaxis {
  1310. margin-left: -13px;
  1311. margin-top: -1px;
  1312. position: absolute;
  1313. }
  1314. .caretdownaxis {
  1315. margin-left: -12px;
  1316. margin-top: 0;
  1317. position: absolute;
  1318. }
  1319. <?php
  1320. // Add a nowrap on smartphone, so long list of field used for filter are overflowed with clip
  1321. if ($conf->browser->layout == 'phone') {
  1322. ?>
  1323. .divsearchfieldfilter {
  1324. white-space: nowrap;
  1325. }
  1326. <?php } ?>
  1327. .a-filter, .a-mesure {
  1328. border-radius: 50px;
  1329. background: var(--colortexttitlenotab);
  1330. color: #fff;
  1331. padding: 8px 10px 8px 6px;
  1332. }
  1333. .a-filter:before {
  1334. content: "\f0b0";
  1335. }
  1336. .a-mesure:before {
  1337. content: "\f080";
  1338. }
  1339. .a-filter:before, .a-mesure:before {
  1340. font-family: "Font Awesome 5 Free";
  1341. font-weight: 600;
  1342. padding-right: 5px;
  1343. padding-left: 5px;
  1344. }
  1345. .a-filter-disabled, .a-mesure-disabled {
  1346. border-radius: 50px;
  1347. background: var(--colorbacktitle1);
  1348. padding: 8px;
  1349. opacity: 0.6;
  1350. }
  1351. /* ============================================================================== */
  1352. /* Styles for scan tool */
  1353. /* ============================================================================== */
  1354. div.div-for-modal {
  1355. /* display: none; */
  1356. position:absolute;
  1357. top:calc(50% - 200px);
  1358. left:calc(50% - 250px);
  1359. width:500px; /* adjust as per your needs */
  1360. height:400px; /* adjust as per your needs */
  1361. background: #fff;
  1362. border: 1px solid #bbb;
  1363. box-shadow: 2px 2px 20px #ddd;
  1364. z-index: 100;
  1365. }
  1366. #scantoolmessage {
  1367. height: 3em;
  1368. border: none;
  1369. overflow-y: auto;
  1370. }
  1371. div.div-for-modal-topright {
  1372. /* display: none; */
  1373. position: fixed;
  1374. top: 0;
  1375. right: 0;
  1376. width:50%; /* adjust as per your needs */
  1377. height:300px; /* adjust as per your needs */
  1378. background: #fff;
  1379. border: 1px solid #bbb;
  1380. box-shadow: 2px 2px 20px #ddd;
  1381. z-index: 1100;
  1382. }
  1383. div.confirmmessage {
  1384. padding-top: 6px;
  1385. }
  1386. ul.attendees {
  1387. padding-top: 0;
  1388. padding-bottom: 0;
  1389. padding-left: 0;
  1390. margin-top: 0;
  1391. margin-bottom: 0;
  1392. }
  1393. ul.attendees li {
  1394. list-style-type: none;
  1395. }
  1396. input > ul.attendees {
  1397. margin-top: 6px;
  1398. }
  1399. .googlerefreshcal {
  1400. padding-top: 4px;
  1401. padding-bottom: 4px;
  1402. }
  1403. .paddingtopbottom {
  1404. padding-top: 10px;
  1405. padding-bottom: 10px;
  1406. }
  1407. .checkallactions {
  1408. margin-left: 2px; /* left must be same than right to keep checkbox centered */
  1409. margin-right: 2px; /* left must be same than right to keep checkbox centered */
  1410. vertical-align: middle;
  1411. }
  1412. select.flat.selectlimit {
  1413. max-width: 62px;
  1414. }
  1415. .selectlimit, .marginrightonly {
  1416. margin-<?php echo $right; ?>: 10px !important;
  1417. }
  1418. .marginleftonly {
  1419. margin-<?php echo $left; ?>: 10px !important;
  1420. }
  1421. .marginleftonlyshort {
  1422. margin-<?php echo $left; ?>: 4px !important;
  1423. }
  1424. .nomarginleft {
  1425. margin-<?php echo $left; ?>: 0px !important;
  1426. }
  1427. .margintoponly {
  1428. margin-top: 10px !important;
  1429. }
  1430. .margintoponlyshort {
  1431. margin-top: 3px !important;
  1432. }
  1433. .marginbottomonly {
  1434. margin-bottom: 10px !important;
  1435. }
  1436. .marginbottomonlyshort {
  1437. margin-bottom: 3px !important;
  1438. }
  1439. .nomargintop {
  1440. margin-top: 0 !important;
  1441. }
  1442. .nomarginbottom {
  1443. margin-bottom: 0 !important;
  1444. }
  1445. .selectlimit, .selectlimit:focus {
  1446. border-left: none !important;
  1447. border-top: none !important;
  1448. border-right: none !important;
  1449. outline: none;
  1450. }
  1451. .strikefordisabled {
  1452. text-decoration: line-through;
  1453. }
  1454. .widthdate {
  1455. width: 130px;
  1456. }
  1457. /* using a tdoverflowxxx make the min-width not working */
  1458. .tdnooverflowimp {
  1459. text-overflow: unset;
  1460. }
  1461. .tdoverflow {
  1462. max-width: 0;
  1463. overflow: hidden;
  1464. text-overflow: ellipsis;
  1465. white-space: nowrap;
  1466. }
  1467. .spanoverflow {
  1468. overflow-x: clip;
  1469. text-overflow: ellipsis;
  1470. }
  1471. .tdoverflowmax50 { /* For tdoverflow, the max-midth become a minimum ! */
  1472. max-width: 50px;
  1473. overflow: hidden;
  1474. text-overflow: ellipsis;
  1475. white-space: nowrap;
  1476. }
  1477. .tdoverflowmax60 { /* For tdoverflow, the max-midth become a minimum ! */
  1478. max-width: 60px;
  1479. overflow: hidden;
  1480. text-overflow: ellipsis;
  1481. white-space: nowrap;
  1482. }
  1483. .tdoverflowmax80 { /* For tdoverflow, the max-midth become a minimum ! */
  1484. max-width: 80px;
  1485. overflow: hidden;
  1486. text-overflow: ellipsis;
  1487. white-space: nowrap;
  1488. }
  1489. .tdoverflowmax80imp { /* For tdoverflow, the max-midth become a minimum ! */
  1490. max-width: 80px !important;
  1491. overflow: hidden;
  1492. text-overflow: ellipsis;
  1493. white-space: nowrap;
  1494. }
  1495. .tdoverflowmax100 { /* For tdoverflow, the max-midth become a minimum ! */
  1496. max-width: 100px;
  1497. overflow: hidden;
  1498. text-overflow: ellipsis;
  1499. white-space: nowrap;
  1500. }
  1501. .tdoverflowmax100imp { /* For tdoverflow, the max-midth become a minimum ! */
  1502. max-width: 100px !important;
  1503. overflow: hidden;
  1504. text-overflow: ellipsis;
  1505. white-space: nowrap;
  1506. }
  1507. .tdoverflowmax125 { /* For tdoverflow, the max-midth become a minimum ! */
  1508. max-width: 125px;
  1509. overflow: hidden;
  1510. text-overflow: ellipsis;
  1511. white-space: nowrap;
  1512. }
  1513. .tdoverflowmax150 { /* For tdoverflow, the max-midth become a minimum ! */
  1514. max-width: 150px;
  1515. overflow: hidden;
  1516. text-overflow: ellipsis;
  1517. white-space: nowrap;
  1518. }
  1519. .tdoverflowmax200 { /* For tdoverflow, the max-midth become a minimum ! */
  1520. max-width: 200px;
  1521. overflow: hidden;
  1522. text-overflow: ellipsis;
  1523. white-space: nowrap;
  1524. }
  1525. .tdoverflowmax250 { /* For tdoverflow, the max-midth become a minimum ! */
  1526. max-width: 250px;
  1527. overflow: hidden;
  1528. text-overflow: ellipsis;
  1529. white-space: nowrap;
  1530. }
  1531. .tdoverflowmax300 { /* For tdoverflow, the max-midth become a minimum ! */
  1532. max-width: 300px;
  1533. overflow: hidden;
  1534. text-overflow: ellipsis;
  1535. white-space: nowrap;
  1536. }
  1537. .tdoverflowmax400 { /* For tdoverflow, the max-midth become a minimum ! */
  1538. max-width: 400px;
  1539. overflow: hidden;
  1540. text-overflow: ellipsis;
  1541. white-space: nowrap;
  1542. }
  1543. .tdoverflowmax500 { /* For tdoverflow, the max-midth become a minimum ! */
  1544. max-width: 500px;
  1545. overflow: hidden;
  1546. text-overflow: ellipsis;
  1547. white-space: nowrap;
  1548. }
  1549. .tdoverflowauto {
  1550. max-width: 0;
  1551. overflow: auto;
  1552. }
  1553. .divintowithtwolinesmax {
  1554. width: 75px;
  1555. display: -webkit-box;
  1556. -webkit-box-orient: vertical;
  1557. -webkit-line-clamp: 2;
  1558. overflow: hidden;
  1559. }
  1560. .twolinesmax {
  1561. display: -webkit-box;
  1562. -webkit-box-orient: vertical;
  1563. -webkit-line-clamp: 2;
  1564. overflow: hidden;
  1565. height: auto !important;
  1566. }
  1567. .tenlinesmax {
  1568. display: -webkit-box;
  1569. -webkit-box-orient: vertical;
  1570. -webkit-line-clamp: 10;
  1571. overflow: hidden;
  1572. }
  1573. .tablelistofcalendars {
  1574. margin-top: 25px !important;
  1575. }
  1576. .amountalreadypaid {
  1577. }
  1578. .amountpaymentcomplete {
  1579. color: var(--amountpaymentcomplete);
  1580. font-weight: bold;
  1581. }
  1582. .amountremaintopay {
  1583. color: var(--amountremaintopaycolor);
  1584. font-weight: bold;
  1585. }
  1586. .amountremaintopayback {
  1587. font-weight: bold;
  1588. }
  1589. .amountpaymentneutral {
  1590. color: var(--amountremaintopaybackcolor);
  1591. font-weight: bold;
  1592. font-size: 1.4em;
  1593. }
  1594. .onlinepaymentbody .amountpaymentcomplete {
  1595. background-color: var(--amountpaymentcomplete);
  1596. color: #fff;
  1597. padding: 5px;
  1598. border-radius: 5px;
  1599. }
  1600. .savingdocmask {
  1601. margin-top: 6px;
  1602. margin-bottom: 12px;
  1603. }
  1604. #builddoc_form ~ .showlinkedobjectblock {
  1605. margin-top: 20px;
  1606. }
  1607. /* For the long description of module */
  1608. .moduledesclong p img,.moduledesclong p a img {
  1609. max-width: 90% !important;
  1610. height: auto !important;
  1611. }
  1612. .imgdoc {
  1613. margin: 18px;
  1614. border: 1px solid #ccc;
  1615. box-shadow: 1px 1px 25px #aaa;
  1616. max-width: calc(100% - 56px);
  1617. }
  1618. .fa-file-text-o, .fa-file-code-o, .fa-file-powerpoint-o, .fa-file-excel-o, .fa-file-word-o, .fa-file-o, .fa-file-image-o, .fa-file-video-o, .fa-file-audio-o, .fa-file-archive-o, .fa-file-pdf-o {
  1619. color: #505;
  1620. }
  1621. .fa-15 {
  1622. font-size: 1.5em;
  1623. }
  1624. /* DOL_XXX for future usage (when left menu has been removed). If we do not use datatable */
  1625. /*.table-responsive {
  1626. width: calc(100% - 330px);
  1627. margin-bottom: 15px;
  1628. overflow-y: hidden;
  1629. -ms-overflow-style: -ms-autohiding-scrollbar;
  1630. }*/
  1631. /* Style used for most tables */
  1632. div.fiche>div.tabBar>form>div.div-table-responsive {
  1633. min-height: 392px;
  1634. }
  1635. .div-table-responsive, .div-table-responsive-no-min {
  1636. overflow-x: auto;
  1637. min-height: 0.01%;
  1638. }
  1639. .div-table-responsive {
  1640. line-height: 120%;
  1641. }
  1642. /* Style used for full page tables with field selector and no content after table (priority before previous for such tables) */
  1643. div.fiche>form>div.div-table-responsive, div.fiche>form>div.div-table-responsive-no-min {
  1644. overflow-x: auto;
  1645. }
  1646. div.fiche>form>div.div-table-responsive {
  1647. min-height: 392px;
  1648. }
  1649. .flexcontainer {
  1650. <?php if (in_array($conf->browser->name, array('chrome', 'firefox'))) {
  1651. echo 'display: inline-flex;'."\n";
  1652. } ?>
  1653. flex-flow: row wrap;
  1654. justify-content: flex-start;
  1655. }
  1656. .thumbstat {
  1657. flex: 1 1 116px;
  1658. }
  1659. .thumbstat150 {
  1660. flex: 1 1 150px;
  1661. }
  1662. .thumbstat, .thumbstat150 {
  1663. flex-grow: 1;
  1664. flex-shrink: 1;
  1665. /* flex-basis: 140px; */
  1666. /* min-width: 150px; */
  1667. width: 158px;
  1668. justify-content: flex-start;
  1669. align-self: flex-start;
  1670. }
  1671. select.selectarrowonleft {
  1672. direction: rtl;
  1673. }
  1674. select.selectarrowonleft option {
  1675. direction: ltr;
  1676. }
  1677. table[summary="list_of_modules"] .fa-cog {
  1678. font-size: 1.5em;
  1679. }
  1680. .linkedcol-element {
  1681. min-width: 100px;
  1682. }
  1683. .linkedcol-amount {
  1684. white-space: nowrap;
  1685. }
  1686. .linkedcol-date {
  1687. text-align: center;
  1688. }
  1689. .img-skinthumb {
  1690. width: 160px;
  1691. height: 100px;
  1692. }
  1693. .maxscreenheightless200 {
  1694. max-height: <?php echo isset($_SESSION['dol_screenheight']) ? max(500, (int) $_SESSION['dol_screenheight'] - 200) : 700; ?>px; /* we guarantee height of 500 */
  1695. }
  1696. .maxscreenheightless300 {
  1697. max-height: <?php echo isset($_SESSION['dol_screenheight']) ? max(400, (int) $_SESSION['dol_screenheight'] - 300) : 700; ?>px; /* we guarantee height of 500 */
  1698. }
  1699. tr.nobottom td {
  1700. border-bottom: 0px !important;
  1701. }
  1702. /* ============================================================================== */
  1703. /* Styles to hide objects */
  1704. /* ============================================================================== */
  1705. .clearboth { clear:both; }
  1706. .hideobject { display: none; }
  1707. .minwidth25 { min-width: 25px; }
  1708. .minwidth50 { min-width: 50px; }
  1709. .minwidth75 { min-width: 75px; }
  1710. /* rule for not too small screen only */
  1711. @media only screen and (min-width: <?php echo empty($conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3) ? round($nbtopmenuentries * 47, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px)
  1712. {
  1713. .width20 { width: 20px; }
  1714. .width25 { width: 25px; }
  1715. .width50 { width: 50px; }
  1716. .width75 { width: 75px; }
  1717. .width100 { width: 100px; }
  1718. .width200 { width: 200px; }
  1719. .minwidth100 { min-width: 100px; }
  1720. .minwidth150 { min-width: 150px; }
  1721. .minwidth200 { min-width: 200px; }
  1722. .minwidth250 { min-width: 250px; }
  1723. .minwidth300 { min-width: 300px; }
  1724. .minwidth400 { min-width: 400px; }
  1725. .minwidth500 { min-width: 500px; }
  1726. .minwidth50imp { min-width: 50px !important; }
  1727. .minwidth75imp { min-width: 75px !important; }
  1728. .minwidth100imp { min-width: 100px !important; }
  1729. .minwidth125imp { min-width: 125px !important; }
  1730. .minwidth200imp { min-width: 200px !important; }
  1731. .minwidth250imp { min-width: 250px !important; }
  1732. .minwidth300imp { min-width: 300px !important; }
  1733. .minwidth400imp { min-width: 400px !important; }
  1734. .minwidth500imp { min-width: 500px !important; }
  1735. }
  1736. .widthauto { width: auto; }
  1737. .width20 { width: 20px; }
  1738. .width25 { width: 25px; }
  1739. .width40 { width: 40px; }
  1740. .width50 { width: 50px; }
  1741. .width75 { width: 75px; }
  1742. .width100 { width: 100px; }
  1743. .width125 { width: 125px; }
  1744. .width150 { width: 150px; }
  1745. .width200 { width: 200px; }
  1746. .width250 { width: 250px; }
  1747. .width300 { width: 300px; }
  1748. .width400 { width: 400px; }
  1749. .width500 { width: 500px; }
  1750. .maxwidth25 { max-width: 25px; }
  1751. .maxwidth40 { max-width: 40px; }
  1752. .maxwidth50 { max-width: 50px; }
  1753. .maxwidth75 { max-width: 75px; }
  1754. .maxwidthdate { max-width: 85px; }
  1755. .maxwidth100 { max-width: 100px; }
  1756. .maxwidth125 { max-width: 125px; }
  1757. .maxwidth150 { max-width: 150px; }
  1758. .maxwidth200 { max-width: 200px; }
  1759. .maxwidth250 { max-width: 250px; }
  1760. .maxwidth300 { max-width: 300px; }
  1761. .maxwidth400 { max-width: 400px; }
  1762. .maxwidth500 { max-width: 500px; }
  1763. .maxwidth750 { max-width: 750px; }
  1764. .maxwidth1000 { max-width: 1000px; }
  1765. .maxwidth50imp { max-width: 50px !important; }
  1766. .maxwidth75imp { max-width: 75px !important; }
  1767. .minwidth100onall { min-width: 100px !important; }
  1768. .minwidth200onall { min-width: 200px !important; }
  1769. .minwidth250onall { min-width: 250px !important; }
  1770. .minheight20 { min-height: 20px; }
  1771. .minheight30 { min-height: 30px; }
  1772. .minheight40 { min-height: 40px; }
  1773. .titlefieldcreate { width: 20%; }
  1774. .titlefield { /* width: 25%; */ min-width: 250px; width: 25%; }
  1775. .titlefieldmiddle { width: 50%; }
  1776. .imgmaxwidth180 { max-width: 180px; }
  1777. .imgmaxheight50 { max-height: 50px; }
  1778. .width20p { width:20%; }
  1779. .width25p { width:25%; }
  1780. .width40p { width:40%; }
  1781. .width50p { width:50%; }
  1782. .width60p { width:60%; }
  1783. .width75p { width:75%; }
  1784. .width80p { width:80%; }
  1785. .width100p { width:100%; }
  1786. /* Force values for small screen 1400 */
  1787. @media only screen and (max-width: 1400px)
  1788. {
  1789. .titlefield { /* width: 30% !important; */ }
  1790. .titlefieldcreate { width: 30% !important; }
  1791. .minwidth50imp { min-width: 50px !important; }
  1792. .minwidth75imp { min-width: 75px !important; }
  1793. .minwidth100imp { min-width: 100px !important; }
  1794. .minwidth125imp { min-width: 125px !important; }
  1795. .minwidth150imp { min-width: 150px !important; }
  1796. .minwidth200imp { min-width: 200px !important; }
  1797. .minwidth250imp { min-width: 250px !important; }
  1798. .minwidth300imp { min-width: 300px !important; }
  1799. .minwidth400imp { min-width: 300px !important; }
  1800. .minwidth500imp { min-width: 300px !important; }
  1801. .linkedcol-element {
  1802. min-width: unset;
  1803. }
  1804. }
  1805. /* Force values for small screen 1000 */
  1806. @media only screen and (max-width: 1000px)
  1807. {
  1808. .maxwidthonsmartphone { max-width: 100px; }
  1809. .minwidth50imp { min-width: 50px !important; }
  1810. .minwidth75imp { min-width: 70px !important; }
  1811. .minwidth100imp { min-width: 100px !important; }
  1812. .minwidth125imp { min-width: 125px !important; }
  1813. .minwidth150imp { min-width: 110px !important; }
  1814. .minwidth200imp { min-width: 110px !important; }
  1815. .minwidth250imp { min-width: 115px !important; }
  1816. .minwidth300imp { min-width: 120px !important; }
  1817. .minwidth400imp { min-width: 150px !important; }
  1818. .minwidth500imp { min-width: 250px !important; }
  1819. }
  1820. /* Set a width. Note: add also a max-width, for example maxwidth500, that will be used in priority */
  1821. select.widthcentpercentminusx, span.widthcentpercentminusx:not(.select2-selection), input.widthcentpercentminusx {
  1822. width: calc(100% - 50px) !important;
  1823. display: inline-block;
  1824. }
  1825. select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection), input.widthcentpercentminusxx {
  1826. width: calc(100% - 70px) !important;
  1827. display: inline-block;
  1828. }
  1829. /* Force values for small screen 767 */
  1830. @media only screen and (max-width: 767px)
  1831. {
  1832. body {
  1833. font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?>;
  1834. }
  1835. div.refidno {
  1836. font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?> !important;
  1837. }
  1838. .divadvancedsearchfield {
  1839. padding-left: 5px;
  1840. padding-right: 5px;
  1841. }
  1842. div.divphotoref {
  1843. padding-right: 10px !important;
  1844. }
  1845. .hideonsmartphone { display: none; }
  1846. .hideonsmartphoneimp { display: none !important; }
  1847. .margintoponsmartphone { margin-top: 6px; }
  1848. select.minwidth100imp, select.minwidth100, select.minwidth200, select.minwidth200imp, select.minwidth300 {
  1849. width: calc(100% - 40px) !important;
  1850. display: inline-block;
  1851. }
  1852. select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection), input.widthcentpercentminusxx {
  1853. width: calc(100% - 70px) !important;
  1854. display: inline-block;
  1855. }
  1856. input.maxwidthinputfileonsmartphone {
  1857. width: 175px;
  1858. }
  1859. input.buttonpayment, button.buttonpayment, div.buttonpayment {
  1860. min-width: 270px;
  1861. }
  1862. .smallonsmartphone {
  1863. font-size: 0.8em;
  1864. }
  1865. .nopaddingtoponsmartphone {
  1866. padding-top: 0 !important;
  1867. }
  1868. .nopaddingbottomonsmartphone {
  1869. padding-bottom: 0 !important;
  1870. }
  1871. }
  1872. /* Force values for small screen 570 */
  1873. @media only screen and (max-width: 570px)
  1874. {
  1875. body {
  1876. font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?>;
  1877. }
  1878. div.refidno {
  1879. font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?> !important;
  1880. }
  1881. .login_vertical_align {
  1882. padding-left: 0;
  1883. }
  1884. .login_table input#username, .login_table input#password, .login_table input#securitycode {
  1885. margin-left: 5px !important;
  1886. }
  1887. div#login_left, div#login_right {
  1888. min-width: 150px !important;
  1889. padding-left: 5px !important;
  1890. padding-right: 5px !important;
  1891. }
  1892. .login_table div#login_right .tdinputlogin, .login_table div#login_right .tdinputlogin input {
  1893. min-width: 150px !important;
  1894. }
  1895. .divmainbodylarge { margin-left: 10px; margin-right: 10px; }
  1896. .tdoverflowonsmartphone {
  1897. max-width: 0;
  1898. overflow: hidden;
  1899. text-overflow: ellipsis;
  1900. white-space: nowrap;
  1901. }
  1902. .tdoverflowmax100onsmartphone { /* For tdoverflow, the max-midth become a minimum ! */
  1903. max-width: 100px;
  1904. overflow: hidden;
  1905. text-overflow: ellipsis;
  1906. white-space: nowrap;
  1907. }
  1908. .tdoverflowmax150onsmartphone { /* For tdoverflow, the max-midth become a minimum ! */
  1909. max-width: 100px;
  1910. overflow: hidden;
  1911. text-overflow: ellipsis;
  1912. white-space: nowrap;
  1913. }
  1914. div.fiche {
  1915. margin-top: <?php print ($dol_hide_topmenu ? '12' : '6'); ?>px !important;
  1916. }
  1917. .border tbody tr, .border tbody tr td, div.tabBar table.border tr, div.tabBar table.border tr td, div.tabBar div.border .table-border-row, div.tabBar div.border .table-key-border-col, div.tabBar div.border .table-val-border-col {
  1918. height: 40px !important;
  1919. }
  1920. div.tabs div.tab a.tab {
  1921. max-width: 200px;
  1922. overflow: hidden;
  1923. text-overflow: ellipsis;
  1924. white-space: nowrap;
  1925. }
  1926. .quatrevingtpercent, .inputsearch {
  1927. width: 95%;
  1928. }
  1929. select {
  1930. padding-top: 4px;
  1931. padding-bottom: 5px;
  1932. }
  1933. .login_table .tdinputlogin {
  1934. min-width: unset !important;
  1935. }
  1936. input, input[type=text], input[type=password], select, textarea {
  1937. min-width: 20px;
  1938. min-height: 1.4em;
  1939. line-height: 1.4em;
  1940. }
  1941. .noenlargeonsmartphone { width : 50px !important; display: inline !important; }
  1942. .maxwidthonsmartphone, #search_newcompany.ui-autocomplete-input { max-width: 100px; }
  1943. .maxwidth50onsmartphone { max-width: 40px; }
  1944. .maxwidth75onsmartphone { max-width: 50px; }
  1945. .maxwidth100onsmartphone { max-width: 70px; }
  1946. .maxwidth125onsmartphone { max-width: 100px; }
  1947. .maxwidth150onsmartphone { max-width: 120px; }
  1948. .maxwidth150onsmartphoneimp { max-width: 120px !important; }
  1949. .maxwidth200onsmartphone { max-width: 200px; }
  1950. .maxwidth250onsmartphone { max-width: 250px; }
  1951. .maxwidth300onsmartphone { max-width: 300px; }
  1952. .maxwidth400onsmartphone { max-width: 400px; }
  1953. .minwidth50imp { min-width: 50px !important; }
  1954. .minwidth75imp { min-width: 75px !important; }
  1955. .minwidth100imp { min-width: 100px !important; }
  1956. .minwidth125imp { min-width: 125px !important; }
  1957. .minwidth150imp { min-width: 110px !important; }
  1958. .minwidth200imp { min-width: 110px !important; }
  1959. .minwidth250imp { min-width: 115px !important; }
  1960. .minwidth300imp { min-width: 120px !important; }
  1961. .minwidth400imp { min-width: 150px !important; }
  1962. .minwidth500imp { min-width: 250px !important; }
  1963. .titlefield { width: auto; min-width: unset; }
  1964. .titlefieldcreate { width: auto; }
  1965. #tooltip {
  1966. position: absolute;
  1967. width: <?php print dol_size(300, 'width'); ?>px;
  1968. }
  1969. /* intput, input[type=text], */
  1970. select {
  1971. width: 98%;
  1972. min-width: 40px;
  1973. }
  1974. div.divphotoref {
  1975. padding-<?php echo $right; ?>: 5px;
  1976. padding-bottom: 5px;
  1977. }
  1978. img.photoref, div.photoref {
  1979. border: none;
  1980. -webkit-box-shadow: none;
  1981. box-shadow: none;
  1982. padding: 4px;
  1983. height: 20px;
  1984. width: 20px;
  1985. object-fit: contain;
  1986. }
  1987. div.statusref {
  1988. padding-right: 10px;
  1989. max-width: 55%;
  1990. }
  1991. div.statusref img {
  1992. padding-right: 3px !important;
  1993. }
  1994. div.statusrefbis {
  1995. padding-right: 3px !important;
  1996. }
  1997. input.buttonpayment {
  1998. min-width: 300px;
  1999. }
  2000. }
  2001. .linkobject { cursor: pointer; }
  2002. table.tableforfield tr:not(.liste_titre)>td:first-of-type, tr.trforfield:not(.liste_titre)>td:first-of-type, div.tableforfield div.tagtr:not(.liste_titre)>div.tagtd:first-of-type {
  2003. color: var(--tableforfieldcolor);
  2004. }
  2005. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  2006. .hideonprint { display: none !important; }
  2007. <?php } ?>
  2008. /* ============================================================================== */
  2009. /* Styles for dragging lines */
  2010. /* ============================================================================== */
  2011. .dragClass {
  2012. color: #002255;
  2013. }
  2014. td.showDragHandle {
  2015. cursor: move;
  2016. }
  2017. .tdlineupdown {
  2018. white-space: nowrap;
  2019. min-width: 10px;
  2020. }
  2021. /* ============================================================================== */
  2022. /* Styles de positionnement des zones */
  2023. /* ============================================================================== */
  2024. #id-container {
  2025. margin-top: 0px;
  2026. margin-bottom: 0px;
  2027. display: table;
  2028. table-layout: fixed;
  2029. width: 100%;
  2030. }
  2031. #id-right, #id-left {
  2032. display: table-cell;
  2033. float: none;
  2034. vertical-align: top;
  2035. }
  2036. #id-top {
  2037. }
  2038. #id-left {
  2039. min-height: 100%;
  2040. position: relative;
  2041. width: 213px;
  2042. padding-top: 20px;
  2043. }
  2044. #id-right { /* This must stay id-right and not be replaced with echo $right */
  2045. width: 100%;
  2046. padding-bottom: 20px;
  2047. <?php if (GETPOST('optioncss', 'aZ09') != 'print') { ?>
  2048. padding-<?php print $left; ?>: 229px;
  2049. padding-top: 16px;
  2050. <?php } ?>
  2051. }
  2052. .bodyforlist #id-right {
  2053. padding-bottom: 4px;
  2054. }
  2055. /* DOL_XXX For having horizontal scroll into array (like with smartphone) */
  2056. .classforhorizontalscrolloftabs #id-container {
  2057. width: 100%;
  2058. }
  2059. .classforhorizontalscrolloftabs .side-nav {
  2060. display: block;
  2061. float: left;
  2062. }
  2063. .classforhorizontalscrolloftabs #id-right {
  2064. width:calc(100% - 210px);
  2065. display: inline-block;
  2066. }
  2067. .side-nav {
  2068. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  2069. display: none;
  2070. <?php } else { ?>
  2071. background: var(--colorbackvmenu1);
  2072. border-<?php echo $right; ?>: 1px solid rgba(0,0,0,0.2);
  2073. box-shadow: 3px 0 6px -2px #eee;
  2074. bottom: 0;
  2075. color: #333;
  2076. display: block;
  2077. font-family: "RobotoDraft","Roboto",sans-serif;
  2078. <?php echo $left; ?>: 0;
  2079. <?php
  2080. if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) {
  2081. } else { ?>
  2082. position: fixed;
  2083. top: 75px;
  2084. <?php } ?>
  2085. z-index: 90;
  2086. -webkit-transform: translateZ(0);
  2087. -moz-transform: translateZ(0);
  2088. -ms-transform: translateZ(0);
  2089. -o-transform: translateZ(0);
  2090. transform: translateZ(0);
  2091. -webkit-transform-style: preserve-3d;
  2092. -moz-transform-style: preserve-3d;
  2093. -ms-transform-style: preserve-3d;
  2094. -o-transform-style: preserve-3d;
  2095. transform-style: preserve-3d;
  2096. -webkit-transition-delay: 0.1s;
  2097. -moz-transition-delay: 0.1s;
  2098. transition-delay: 0.1s;
  2099. -webkit-transition-duration: 0.2s;
  2100. -moz-transition-duration: 0.2s;
  2101. transition-duration: 0.2s;
  2102. -webkit-transition-property: -webkit-transform;
  2103. -moz-transition-property: -moz-transform;
  2104. transition-property: transform;
  2105. -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  2106. -moz-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  2107. transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  2108. -webkit-overflow-scrolling: touch;
  2109. <?php
  2110. if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) {
  2111. } else { ?>
  2112. overflow-x: hidden;
  2113. overflow-y: auto;
  2114. <?php }
  2115. }
  2116. ?>
  2117. }
  2118. /**
  2119. * Slide animation
  2120. */
  2121. .side-nav-vert, #id-right {
  2122. transition: padding-left 0.5s ease, margin-left 0.5s ease;
  2123. }
  2124. .side-nav, .login_block {
  2125. transition: left 0.5s ease;
  2126. }
  2127. body.sidebar-collapse .side-nav-vert, body.sidebar-collapse #id-right {
  2128. margin-left: 0;
  2129. padding-left:0
  2130. }
  2131. .side-nav-vert {
  2132. margin-<?php echo $left; ?>: 228px;
  2133. }
  2134. /* body.sidebar-collapse .side-nav, body.sidebar-collapse .login_block_other, body.sidebar-collapse #topmenu-login-dropdown */
  2135. body.sidebar-collapse .side-nav, body.sidebar-collapse .login_block
  2136. {
  2137. display: none;
  2138. }
  2139. <?php if (empty($conf->global->THEME_DISABLE_STICKY_TOPMENU)) { ?>
  2140. .side-nav-vert {
  2141. position: sticky;
  2142. top: 0px;
  2143. z-index: 1005;
  2144. }
  2145. <?php } ?>
  2146. /* For smartphone (testmenuhider is on) */
  2147. <?php if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
  2148. #id-container {
  2149. width: 100%;
  2150. }
  2151. .side-nav-vert {
  2152. margin-left: 0;
  2153. }
  2154. .side-nav {
  2155. <?php
  2156. if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) {
  2157. } else { ?>
  2158. overflow-x: initial !important;
  2159. overflow-y: scroll;
  2160. <?php } ?>
  2161. display: block;
  2162. position: relative;
  2163. }
  2164. div.backgroundsemitransparent {
  2165. background:rgba(255, 255, 255, 0.7);
  2166. padding-left: 10px;
  2167. padding-right: 10px;
  2168. }
  2169. /* Login */
  2170. .login_block_getinfo {
  2171. text-align: center;
  2172. }
  2173. .login_block_getinfo div.login_block_user {
  2174. display: block;
  2175. }
  2176. .login_block_getinfo .atoplogin, .login_block_getinfo .atoplogin:hover {
  2177. color: #333 !important;
  2178. }
  2179. .login_block_elem a span.atoplogin, .login_block_elem span.atoplogin {
  2180. vertical-align: middle;
  2181. }
  2182. #id-right {
  2183. padding-<?php print $left; ?>: 0 ! important;
  2184. }
  2185. #id-left {
  2186. z-index: 91;
  2187. background: var(--colorbackvmenu1);
  2188. border-right: 1px solid rgba(0,0,0,0.3);
  2189. /* padding-top: 20px; */
  2190. <?php
  2191. if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
  2192. top: 66px ! important;
  2193. <?php } else { ?>
  2194. top: 60px ! important;
  2195. <?php } ?>
  2196. }
  2197. div.fiche {
  2198. margin-<?php print $left; ?>: 6px !important;
  2199. margin-<?php print $right; ?>: 6px !important;
  2200. }
  2201. <?php } ?>
  2202. div.fiche {
  2203. margin-<?php print $left; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '30' : '6')); ?>px;
  2204. margin-<?php print $right; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '28' : '6')); ?>px;
  2205. <?php if (!empty($dol_hide_leftmenu) && !empty($dol_hide_topmenu)) {
  2206. print 'margin-top: 12px;';
  2207. } ?>
  2208. margin-bottom: 15px;
  2209. }
  2210. body.onlinepaymentbody div.fiche { /* For online payment page */
  2211. margin: 20px !important;
  2212. }
  2213. div.fiche>table:first-child {
  2214. margin-bottom: 15px !important;
  2215. }
  2216. div.fichecenter {
  2217. width: 100%;
  2218. clear: both; /* This is to have div fichecenter that are true rectangles */
  2219. }
  2220. div.fichecenterbis {
  2221. margin-top: 8px;
  2222. }
  2223. div.fichethirdleft {
  2224. <?php if ($conf->browser->layout != 'phone') {
  2225. print "float: ".$left.";\n";
  2226. } ?>
  2227. <?php if ($conf->browser->layout != 'phone') {
  2228. print "width: calc(50% - 14px);\n";
  2229. } ?>
  2230. <?php if ($conf->browser->layout == 'phone') {
  2231. print "padding-bottom: 6px;\n";
  2232. } ?>
  2233. }
  2234. div.fichetwothirdright {
  2235. <?php if ($conf->browser->layout != 'phone') {
  2236. print "float: ".$right.";\n";
  2237. } ?>
  2238. <?php if ($conf->browser->layout != 'phone') {
  2239. print "width: calc(50% - 14px);\n";
  2240. } ?>
  2241. <?php if ($conf->browser->layout == 'phone') {
  2242. print "padding-bottom: 6px\n";
  2243. } ?>
  2244. }
  2245. div.fichehalfleft {
  2246. <?php if ($conf->browser->layout != 'phone') {
  2247. print "float: ".$left.";\n";
  2248. } ?>
  2249. <?php if ($conf->browser->layout != 'phone') {
  2250. print "width: calc(50% - 14px);\n";
  2251. } ?>
  2252. }
  2253. div.fichehalfright {
  2254. <?php if ($conf->browser->layout != 'phone') {
  2255. print "float: ".$right.";\n";
  2256. } ?>
  2257. <?php if ($conf->browser->layout != 'phone') {
  2258. print "width: calc(50% - 14px);\n";
  2259. } ?>
  2260. }
  2261. div.fichehalfright {
  2262. <?php if ($conf->browser->layout == 'phone') {
  2263. print "margin-top: 10px;\n";
  2264. } ?>
  2265. }
  2266. /* Force values on one colum for small screen */
  2267. @media only screen and (max-width: 1499px)
  2268. {
  2269. div.fichehalfleft-lg {
  2270. float: none;
  2271. width: auto;
  2272. }
  2273. div.fichehalfright-lg {
  2274. float: none;
  2275. width: auto;
  2276. }
  2277. .fichehalfright-lg .fichehalfright {
  2278. padding-left:0;
  2279. }
  2280. }
  2281. /*div.firstcolumn div.box {
  2282. padding-right: 10px;
  2283. }
  2284. div.secondcolumn div.box {
  2285. padding-left: 10px;
  2286. }*/
  2287. /* Force values on one colum for small screen */
  2288. @media only screen and (max-width: 900px)
  2289. {
  2290. div.fiche {
  2291. margin-<?php print $left; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : ($dol_hide_leftmenu ? '4' : '20')); ?>px;
  2292. margin-<?php print $right; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 8 : 16); ?>px;
  2293. <?php if (!empty($conf->dol_hide_leftmenu) && !empty($conf->dol_hide_topmenu)) {
  2294. print 'margin-top: 4px;';
  2295. } ?>
  2296. margin-bottom: 15px;
  2297. }
  2298. div.fichecenter {
  2299. width: 100%;
  2300. clear: both; /* This is to have div fichecenter that are true rectangles */
  2301. }
  2302. div.fichecenterbis {
  2303. margin-top: 8px;
  2304. }
  2305. div.fichethirdleft {
  2306. float: none;
  2307. width: auto;
  2308. padding-bottom: 6px;
  2309. }
  2310. div.fichetwothirdright {
  2311. float: none;
  2312. width: auto;
  2313. padding-bottom: 6px;
  2314. }
  2315. div.fichehalfleft {
  2316. float: none;
  2317. width: auto;
  2318. }
  2319. div.fichehalfright {
  2320. float: none;
  2321. width: auto;
  2322. }
  2323. div.fichehalfright {
  2324. margin-top: 10px;
  2325. }
  2326. div.firstcolumn div.box {
  2327. padding-right: 0px;
  2328. }
  2329. div.secondcolumn div.box {
  2330. padding-left: 0px;
  2331. }
  2332. }
  2333. /* For table into table into card */
  2334. div.fichehalfright tr.liste_titre:first-child td table.nobordernopadding td {
  2335. padding: 0 0 0 0;
  2336. }
  2337. div.nopadding {
  2338. padding: 0 !important;
  2339. }
  2340. .containercenter {
  2341. display : table;
  2342. margin : 0px auto;
  2343. }
  2344. td.nobordernopadding.widthpictotitle.col-picto {
  2345. color: #bbb;
  2346. opacity: 0.9;
  2347. }
  2348. .pictotitle {
  2349. margin-<?php echo $right; ?>: 8px;
  2350. margin-bottom: 4px;
  2351. }
  2352. .pictoobjectwidth {
  2353. width: 14px;
  2354. }
  2355. span.widthpictotitle {
  2356. font-size: 1.3em;
  2357. }
  2358. .table-list-of-attached-files .col-picto, .table-list-of-links .col-picto {
  2359. opacity: 0.7 !important;
  2360. font-size: 1em;
  2361. width: 20px;
  2362. }
  2363. .table-list-of-attached-files .col-picto .widthpictotitle, .table-list-of-links .col-picto .widthpictotitle {
  2364. width: unset;
  2365. color: #999;
  2366. }
  2367. .pictosubstatus {
  2368. padding-left: 2px;
  2369. padding-right: 2px;
  2370. }
  2371. .pictostatus {
  2372. width: 15px;
  2373. vertical-align: middle;
  2374. margin-top: -3px
  2375. }
  2376. .pictowarning, .pictoerror, .pictopreview, .pictonopreview {
  2377. padding-<?php echo $left; ?>: 3px;
  2378. }
  2379. .pictowarning {
  2380. /* vertical-align: text-bottom; */
  2381. color: <?php echo $badgeWarning; ?>;
  2382. }
  2383. .pictoerror {
  2384. color: <?php echo $badgeDanger ?>;
  2385. }
  2386. .pictomodule {
  2387. width: 14px;
  2388. }
  2389. .fiche .arearef img.pictoedit, .fiche .arearef span.pictoedit,
  2390. .fiche .fichecenter img.pictoedit, .fiche .fichecenter span.pictoedit,
  2391. .tagtdnote span.pictoedit {
  2392. opacity: 0.6;
  2393. }
  2394. img.hideonsmartphone.pictoactionview {
  2395. vertical-align: bottom;
  2396. }
  2397. .pictofixedwidth {
  2398. text-align: <?php echo $left; ?>;
  2399. width: 20px;
  2400. /* padding-right: 0; */
  2401. }
  2402. .colorthumb {
  2403. padding-left: 1px !important;
  2404. padding-right: 1px;
  2405. padding-top: 1px;
  2406. padding-bottom: 1px;
  2407. width: 50px;
  2408. text-align:center;
  2409. }
  2410. div.attacharea {
  2411. padding-top: 18px;
  2412. padding-bottom: 10px;
  2413. }
  2414. div.attachareaformuserfileecm {
  2415. padding-top: 0;
  2416. padding-bottom: 0;
  2417. }
  2418. div.arearef {
  2419. padding-top: 2px;
  2420. padding-bottom: 5px;
  2421. margin-bottom: 10px;
  2422. }
  2423. div.arearefnobottom {
  2424. padding-top: 2px;
  2425. padding-bottom: 4px;
  2426. }
  2427. div.heightref {
  2428. min-height: 80px;
  2429. }
  2430. div.divphotoref:last-child {
  2431. padding-<?php echo $right; ?>: 20px;
  2432. }
  2433. div.paginationref {
  2434. padding-bottom: 10px;
  2435. }
  2436. div.statusref {
  2437. float: right;
  2438. padding-left: 12px;
  2439. margin-top: 8px;
  2440. margin-bottom: 10px;
  2441. clear: both;
  2442. }
  2443. div.statusref img {
  2444. padding-left: 8px;
  2445. padding-right: 9px;
  2446. vertical-align: text-bottom;
  2447. width: 18px;
  2448. }
  2449. div.statusrefbis {
  2450. padding-left: 8px;
  2451. padding-right: 9px;
  2452. vertical-align: text-bottom;
  2453. }
  2454. img.photoref, div.photoref {
  2455. border: 1px solid #CCC;
  2456. -webkit-box-shadow: 3px 3px 4px #DDD;
  2457. box-shadow: 3px 3px 4px #DDD;
  2458. padding: 4px;
  2459. height: 80px;
  2460. width: 80px;
  2461. object-fit: contain;
  2462. }
  2463. img.photokanban, div.photokanban {
  2464. padding: 0;
  2465. border: none;
  2466. box-shadow: none;
  2467. vertical-align: middle;
  2468. }
  2469. div.photoref .fa, div.photoref .fas, div.photoref .far {
  2470. font-size: 2.5em;
  2471. }
  2472. img.fitcontain {
  2473. object-fit: contain;
  2474. }
  2475. div.photoref {
  2476. display:table-cell;
  2477. vertical-align:middle;
  2478. text-align:center;
  2479. }
  2480. .difforspanimgright {
  2481. display: table-cell;
  2482. padding-right: 10px;
  2483. }
  2484. img.photorefnoborder {
  2485. padding: 2px;
  2486. height: 48px;
  2487. width: 48px;
  2488. object-fit: contain;
  2489. border: 1px solid #AAA;
  2490. border-radius: 100px;
  2491. }
  2492. .underrefbanner {
  2493. }
  2494. .underbanner {
  2495. border-bottom: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
  2496. }
  2497. .trextrafieldseparator td, .trextrafields_collapse_last td {
  2498. border-bottom: 1px solid var(--colortopbordertitle1) !important;
  2499. }
  2500. .tdhrthin {
  2501. margin: 0;
  2502. padding-bottom: 0 !important;
  2503. }
  2504. /* Payment Screen : Pointer cursor in the autofill image */
  2505. .AutoFillAmount {
  2506. cursor:pointer;
  2507. }
  2508. /* ============================================================================== */
  2509. /* Menu top et 1ere ligne tableau */
  2510. /* ============================================================================== */
  2511. <?php
  2512. $minwidthtmenu = 66; /* minimum width for one top menu entry */
  2513. $heightmenu = 48; /* height of top menu, part with image */
  2514. $heightmenu2 = 48; /* height of top menu, ârt with login */
  2515. $disableimages = 0;
  2516. $maxwidthloginblock = 110;
  2517. if (getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE') == 1) {
  2518. $heightmenu = 30; $disableimages = 1; $maxwidthloginblock = 180; $minwidthtmenu = 0;
  2519. }
  2520. ?>
  2521. div#tmenu_tooltip {
  2522. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  2523. display:none;
  2524. <?php } else { ?>
  2525. background: var(--colorbackhmenu1);
  2526. /*
  2527. background-image: linear-gradient(to top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
  2528. background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
  2529. background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
  2530. background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
  2531. 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)) );
  2532. */
  2533. <?php } ?>
  2534. }
  2535. div#tmenu_tooltip {
  2536. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  2537. display:none;
  2538. <?php } else { ?>
  2539. /* padding-<?php echo $right; ?>: <?php echo ($maxwidthloginblock - 10); ?>px; */
  2540. <?php } ?>
  2541. }
  2542. li.tmenusel::after, li.tmenu:hover::after {
  2543. content: "";
  2544. position: absolute;
  2545. bottom: 0px;
  2546. left: 50%;
  2547. left: calc(50% - 6px);
  2548. width: 0;
  2549. height: 0;
  2550. border-style: solid;
  2551. border-width: 0px 6px 5px 6px;
  2552. border-color: transparent transparent #ffffff transparent;
  2553. }
  2554. div.tmenusep {
  2555. <?php if ($disableimages) { ?>
  2556. display: none;
  2557. <?php } ?>
  2558. }
  2559. div.tmenudiv {
  2560. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  2561. display:none;
  2562. <?php } else { ?>
  2563. position: relative;
  2564. display: block;
  2565. white-space: nowrap;
  2566. border-top: 0px;
  2567. border-<?php print $left; ?>: 0px;
  2568. border-<?php print $right; ?>: 0px;
  2569. padding: 0px 0px 0px 0px; /* t r b l */
  2570. margin: 0px 0px 0px 0px; /* t r b l */
  2571. font-size: 13px;
  2572. font-weight: normal;
  2573. color: #000000;
  2574. text-decoration: none;
  2575. <?php } ?>
  2576. }
  2577. div.tmenudisabled, a.tmenudisabled {
  2578. opacity: 0.6;
  2579. }
  2580. a.tmenudisabled:link, a.tmenudisabled:visited, a.tmenudisabled:hover, a.tmenudisabled:active {
  2581. font-weight: normal;
  2582. padding: 0px 5px 0px 5px;
  2583. white-space: nowrap;
  2584. color: var(--colortextbackhmenu);
  2585. text-decoration: none;
  2586. cursor: not-allowed;
  2587. }
  2588. span.mainmenuaspan.tmenudisabled {
  2589. color: var(--colortextbackhmenu);
  2590. opacity: 0.5;
  2591. cursor: not-allowed;
  2592. }
  2593. a.disabled {
  2594. color: #aaa;
  2595. text-decoration: none !important;
  2596. cursor: default;
  2597. }
  2598. a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
  2599. font-weight: normal;
  2600. padding: 0px 5px 0px 5px;
  2601. white-space: nowrap;
  2602. /* text-shadow: 1px 1px 1px #000000; */
  2603. color: var(--colortextbackhmenu);
  2604. text-decoration: none;
  2605. }
  2606. a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
  2607. font-weight: normal;
  2608. padding: 0px 5px 0px 5px;
  2609. margin: 0px 0px 0px 0px;
  2610. white-space: nowrap;
  2611. color: var(--colortextbackhmenu);
  2612. text-decoration: none !important;
  2613. }
  2614. ul.tmenu { /* t r b l */
  2615. padding: 0px 0px 0px 0px;
  2616. margin: 0px 0px 0px 0px;
  2617. list-style: none;
  2618. display: table;
  2619. margin-right: 65px; /* to keep space for bookmark */
  2620. padding-left: 5px;
  2621. }
  2622. ul.tmenu li {
  2623. background: var(--colorbackhmenu1);
  2624. /*
  2625. background-image: linear-gradient(to top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
  2626. background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
  2627. background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
  2628. background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
  2629. 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)) );
  2630. */
  2631. }
  2632. li.tmenu, li.tmenusel {
  2633. <?php print $minwidthtmenu ? 'min-width: '.$minwidthtmenu.'px;' : ''; ?>
  2634. text-align: center;
  2635. vertical-align: bottom;
  2636. <?php if (empty($conf->global->MAIN_MENU_INVERT)) { ?>
  2637. float: <?php print $left; ?>;
  2638. <?php if (!$disableimages) { ?>
  2639. height: <?php print $heightmenu; ?>px;
  2640. padding: 0px 0px 2px 0px;
  2641. <?php } else { ?>
  2642. padding: 0px 0px 0px 0px;
  2643. <?php }
  2644. } ?>
  2645. position:relative;
  2646. display: block;
  2647. margin: 0px 0px 0px 0px;
  2648. font-weight: normal;
  2649. }
  2650. li.tmenu:hover {
  2651. opacity: .50; /* show only a slight shadow */
  2652. }
  2653. .tmenuend .tmenuleft { width: 0px; }
  2654. .tmenuend { display: none; }
  2655. div.tmenuleft
  2656. {
  2657. float: <?php print $left; ?>;
  2658. margin-top: 0px;
  2659. <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
  2660. width: 5px;
  2661. <?php if (!$disableimages) { ?>
  2662. height: <?php print $heightmenu + 4; ?>px;
  2663. <?php } ?>
  2664. <?php } ?>
  2665. }
  2666. div.tmenucenter
  2667. {
  2668. padding-left: 0px;
  2669. padding-right: 0px;
  2670. <?php if ($disableimages) { ?>
  2671. padding-top: 10px;
  2672. height: 26px;
  2673. <?php } else { ?>
  2674. padding-top: 2px;
  2675. height: <?php print $heightmenu; ?>px;
  2676. <?php } ?>
  2677. width: 100%;
  2678. }
  2679. div.menu_titre {
  2680. padding-bottom: 5px;
  2681. overflow: hidden;
  2682. text-overflow: ellipsis;
  2683. }
  2684. .mainmenuaspan
  2685. {
  2686. padding-<?php print $left; ?>: 2px;
  2687. padding-<?php print $right; ?>: 2px;
  2688. font-family: Roboto,<?php echo $fontlist; ?>;
  2689. font-weight: 400;
  2690. }
  2691. div.mainmenu {
  2692. position : relative;
  2693. background-repeat:no-repeat;
  2694. background-position:center top;
  2695. height: <?php echo ($heightmenu - 22); ?>px;
  2696. margin-left: 0px;
  2697. min-width: 40px;
  2698. }
  2699. a.tmenuimage:focus, .mainmenu.topmenuimage:focus {
  2700. outline: none;
  2701. }
  2702. div.mainmenu.home{
  2703. background-position-x: center;
  2704. }
  2705. div.mainmenu.menu {
  2706. top: 10px;
  2707. left: 1px;
  2708. }
  2709. /* Do not load menu img if hidden to save bandwidth */
  2710. <?php if (empty($dol_hide_topmenu)) { ?>
  2711. <?php include dol_buildpath($path.'/theme/'.$theme.'/main_menu_fa_icons.inc.php', 0); ?>
  2712. <?php
  2713. // Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
  2714. $moduletomainmenu = array(
  2715. 'user'=>'', 'syslog'=>'', 'societe'=>'companies', 'projet'=>'project', 'propale'=>'commercial', 'commande'=>'commercial',
  2716. 'produit'=>'products', 'service'=>'products', 'stock'=>'products',
  2717. 'don'=>'accountancy', 'tax'=>'accountancy', 'banque'=>'accountancy', 'facture'=>'accountancy', 'compta'=>'accountancy', 'accounting'=>'accountancy', 'adherent'=>'members', 'import'=>'tools', 'export'=>'tools', 'mailing'=>'tools',
  2718. 'contrat'=>'commercial', 'ficheinter'=>'commercial', 'ticket'=>'ticket', 'deplacement'=>'commercial',
  2719. 'fournisseur'=>'companies',
  2720. 'barcode'=>'', 'fckeditor'=>'', 'categorie'=>'',
  2721. );
  2722. $mainmenuused = 'home';
  2723. foreach ($conf->modules as $val) {
  2724. $mainmenuused .= ','.(isset($moduletomainmenu[$val]) ? $moduletomainmenu[$val] : $val);
  2725. }
  2726. $mainmenuusedarray = array_unique(explode(',', $mainmenuused));
  2727. $generic = 1;
  2728. // Put here list of menu entries when the div.mainmenu.menuentry was previously defined
  2729. $divalreadydefined = array('home', 'companies', 'products', 'mrp', 'commercial', 'externalsite', 'accountancy', 'project', 'tools', 'members', 'agenda', 'ftp', 'holiday', 'hrm', 'bookmark', 'cashdesk', 'takepos', 'ecm', 'geoipmaxmind', 'gravatar', 'clicktodial', 'paypal', 'stripe', 'webservices', 'website');
  2730. // Put here list of menu entries we are sure we don't want
  2731. $divnotrequired = array('multicurrency', 'salaries', 'ticket', 'margin', 'opensurvey', 'paybox', 'expensereport', 'incoterm', 'prelevement', 'propal', 'workflow', 'notification', 'supplier_proposal', 'cron', 'product', 'productbatch', 'expedition');
  2732. foreach ($mainmenuusedarray as $val) {
  2733. if (empty($val) || in_array($val, $divalreadydefined)) {
  2734. continue;
  2735. }
  2736. if (in_array($val, $divnotrequired)) {
  2737. continue;
  2738. }
  2739. //print "XXX".$val;
  2740. // Search img file in module dir
  2741. $found = 0; $url = '';
  2742. foreach ($conf->file->dol_document_root as $dirroot) {
  2743. if (file_exists($dirroot."/".$val."/img/".$val.".png")) {
  2744. $url = dol_buildpath('/'.$val.'/img/'.$val.'.png', 1);
  2745. $found = 1;
  2746. break;
  2747. }
  2748. }
  2749. // Img file not found
  2750. if (!$found) {
  2751. if (!defined('DISABLE_FONT_AWSOME')) {
  2752. 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";
  2753. print "/* Overwrite this definition in your own css with a different content to use your own font awesome icon. */\n";
  2754. print 'div.mainmenu.'.$val.'::before {
  2755. content: "\f249";
  2756. }'."\n";
  2757. } else {
  2758. 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";
  2759. $url = dol_buildpath($path.'/theme/'.$theme.'/img/menus/generic'.(min($generic, 4))."_over.png", 1);
  2760. print "div.mainmenu.".$val." {\n";
  2761. print " background-image: url(".$url.");\n";
  2762. print "}\n";
  2763. }
  2764. $generic++;
  2765. } else {
  2766. print "div.mainmenu.".$val." {\n";
  2767. print " background-image: url(".$url.");\n";
  2768. print " filter: saturate(0);\n";
  2769. print "}\n";
  2770. }
  2771. }
  2772. // End of part to add more div class css
  2773. } // End test if $dol_hide_topmenu ?>
  2774. .tmenuimage {
  2775. padding:0 0 0 0 !important;
  2776. margin:0 0px 0 0 !important;
  2777. <?php if ($disableimages) { ?>
  2778. display: none;
  2779. <?php } ?>
  2780. }
  2781. .topmenuimage {
  2782. <?php if ($disableimages) { ?>
  2783. display: none;
  2784. <?php } ?>
  2785. }
  2786. a.tmenuimage:hover {
  2787. text-decoration: none;
  2788. }
  2789. a.tmenuimage {
  2790. display: block;
  2791. }
  2792. a.tmenuimage:focus {
  2793. outline: none;
  2794. }
  2795. /* Login */
  2796. .bodylogin
  2797. {
  2798. background: #f0f0f0;
  2799. display: table;
  2800. position: absolute;
  2801. height: 100%;
  2802. width: 100%;
  2803. }
  2804. .login_center {
  2805. display: table-cell;
  2806. vertical-align: middle;
  2807. }
  2808. .login_vertical_align {
  2809. padding: 10px;
  2810. padding-bottom: 80px;
  2811. }
  2812. form#login {
  2813. padding-bottom: 30px;
  2814. font-size: 1.2em;
  2815. vertical-align: middle;
  2816. }
  2817. .login_table_title {
  2818. max-width: 530px;
  2819. color: #aaa !important;
  2820. padding-bottom: 20px;
  2821. /* text-shadow: 1px 1px 1px #FFF; */
  2822. }
  2823. .login_table label {
  2824. text-shadow: 1px 1px 1px #FFF;
  2825. }
  2826. .login_table {
  2827. margin: 0px auto; /* Center */
  2828. padding-left:6px;
  2829. padding-right:6px;
  2830. padding-top:16px;
  2831. padding-bottom:12px;
  2832. max-width: 560px;
  2833. background-color: #FFFFFF;
  2834. -webkit-box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
  2835. box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
  2836. border-radius: 4px;
  2837. border:solid 1px rgba(80,80,80,.4);
  2838. border-top:solid 1px #f8f8f8;
  2839. }
  2840. .login_table input#username, .login_table input#password, .login_table input#securitycode{
  2841. border: none;
  2842. /* border-bottom: solid 1px rgba(180,180,180,.4); */
  2843. padding: 5px;
  2844. margin-left: 5px;
  2845. margin-top: 5px;
  2846. margin-bottom: 5px;
  2847. }
  2848. .login_table input#username:focus, .login_table input#password:focus, .login_table input#securitycode:focus {
  2849. outline: none !important;
  2850. }
  2851. .login_table .trinputlogin {
  2852. margin: 8px;
  2853. }
  2854. .login_table .tdinputlogin {
  2855. background-color: #fff;
  2856. min-width: 220px;
  2857. border-radius: 2px;
  2858. }
  2859. .login_table .tdinputlogin {
  2860. border-bottom: 1px solid #ccc;
  2861. }
  2862. .login_table .tdinputlogin .fa {
  2863. padding-left: 10px;
  2864. width: 14px;
  2865. }
  2866. .login_main_home {
  2867. word-break: break-word;
  2868. width: fit-content;
  2869. }
  2870. .login_main_message {
  2871. text-align: center;
  2872. max-width: 570px;
  2873. margin-bottom: 10px;
  2874. }
  2875. .login_main_message .error {
  2876. border: 1px solid #caa;
  2877. padding: 10px;
  2878. }
  2879. div#login_left, div#login_right {
  2880. display: inline-block;
  2881. min-width: 245px;
  2882. padding-top: 10px;
  2883. padding-left: 16px;
  2884. padding-right: 16px;
  2885. text-align: center;
  2886. vertical-align: middle;
  2887. }
  2888. div#login_right select#entity {
  2889. margin-top: 10px;
  2890. }
  2891. table.login_table tr td table.none tr td {
  2892. padding: 2px;
  2893. }
  2894. table.login_table_securitycode {
  2895. border-spacing: 0px;
  2896. }
  2897. table.login_table_securitycode tr td {
  2898. padding-left: 0px;
  2899. padding-right: 4px;
  2900. }
  2901. #securitycode {
  2902. min-width: 60px;
  2903. }
  2904. #img_securitycode {
  2905. border: 1px solid #f4f4f4;
  2906. }
  2907. #img_logo, .img_logo {
  2908. max-width: 170px;
  2909. max-height: 90px;
  2910. }
  2911. .loginbuttonexternal {
  2912. width: 300px;
  2913. margin: auto;
  2914. border: 1px solid #ccc;
  2915. padding: 10px;
  2916. border-radius: 5px;
  2917. }
  2918. .atoplogin.dropdown .dropdown-menu {
  2919. display: none;
  2920. }
  2921. div.login_block {
  2922. top: 0;
  2923. padding-top: 3px;
  2924. padding-bottom: 3px;
  2925. border-right: 1px solid rgba(0,0,0,0.2);
  2926. <?php print $left; ?>: 0;
  2927. <?php if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
  2928. position: absolute;
  2929. <?php } else { ?>
  2930. position: fixed;
  2931. <?php } ?>
  2932. z-index: 10;
  2933. text-align: center;
  2934. vertical-align: middle;
  2935. background: var(--colorbackvmenu1);
  2936. width: 228px;
  2937. height: 70px;
  2938. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  2939. display: none;
  2940. <?php } ?>
  2941. }
  2942. div.login_block a {
  2943. color: var(--colortexthmenu);
  2944. display: inline-block;
  2945. }
  2946. div.login_block span.aversion {
  2947. color: var(--colortexthmenu);
  2948. filter: contrast(0.7);
  2949. }
  2950. div.login_block table {
  2951. display: inline;
  2952. }
  2953. div.login {
  2954. white-space:nowrap;
  2955. font-weight: bold;
  2956. float: right;
  2957. }
  2958. div.login a {
  2959. color: var(--colortextvmenu);
  2960. }
  2961. div.login a:hover {
  2962. color: var(--colortextvmenu);
  2963. text-decoration:underline;
  2964. }
  2965. div.login_block_user, div.login_block_other { clear: both; }
  2966. div.login_block_other { padding-top: 15px; }
  2967. .topnav div.login_block_user {
  2968. display: inline-block;
  2969. vertical-align: middle;
  2970. line-height: <?php echo $disableimages ? '25' : '70'; ?>px;
  2971. height: <?php echo $disableimages ? '25' : '70'; ?>px;
  2972. }
  2973. .topnav div.login_block_other {
  2974. display: inline-block;
  2975. vertical-align: middle;
  2976. clear: <?php echo $disableimages ? 'none' : 'both'; ?>;
  2977. padding-top: 0;
  2978. text-align: right;
  2979. margin-right: 8px;
  2980. max-width: 200px;
  2981. }
  2982. .login_block_other .login_block_elem {
  2983. height: 25px;
  2984. line-height: 25px;
  2985. }
  2986. .login_block_elem {
  2987. float: right;
  2988. vertical-align: middle;
  2989. padding: 0px 3px 0px 3px !important;
  2990. height: 18px;
  2991. }
  2992. .login_block_elem_name {
  2993. margin-top: 1px;
  2994. }
  2995. a.aversion {
  2996. white-space: nowrap;
  2997. width: 48px;
  2998. overflow: hidden;
  2999. text-overflow: ellipsis;
  3000. display: block;
  3001. }
  3002. .atoplogin, .atoplogin:hover {
  3003. color: var(--colortexthmenu) !important;
  3004. }
  3005. .alogin, .alogin:hover {
  3006. color: #888 !important;
  3007. font-weight: normal !important;
  3008. font-size: <?php echo is_numeric($fontsizesmaller) ? $fontsizesmaller.'px' : $fontsizesmaller; ?> !important;
  3009. }
  3010. .alogin:hover, .atoplogin:hover {
  3011. text-decoration:underline !important;
  3012. }
  3013. span.fa.atoplogin, span.fa.atoplogin:hover {
  3014. font-size: 16px;
  3015. text-decoration: none !important;
  3016. }
  3017. img.login, img.printer, img.entity {
  3018. /* padding: 0px 0px 0px 4px; */
  3019. /* margin: 0px 0px 0px 8px; */
  3020. text-decoration: none;
  3021. color: white;
  3022. font-weight: bold;
  3023. }
  3024. .userimg.atoplogin img.userphoto, .userimgatoplogin img.userphoto { /* size for user photo in login bar */
  3025. /* border-radius: 8px; */
  3026. width: 20px;
  3027. height: 20px;
  3028. background-size: contain;
  3029. vertical-align: text-bottom;
  3030. background-color: #FFF;
  3031. }
  3032. img.userphoto { /* size for user photo in lists */
  3033. border-radius: 0.75em;
  3034. width: 1.5em;
  3035. height: 1.5em;
  3036. background-size: contain;
  3037. vertical-align: middle;
  3038. }
  3039. img.userphotosmall { /* size for user photo in lists */
  3040. border-radius: 0.6em;
  3041. width: 1.2em;
  3042. height: 1.2em;
  3043. background-size: contain;
  3044. vertical-align: middle;
  3045. }
  3046. img.userphoto[alt="Gravatar avatar"], img.photouserphoto.dropdown-user-image[alt="Gravatar avatar"] {
  3047. background: #fff;
  3048. }
  3049. img.userphotopublicvcard {
  3050. width: 60px;
  3051. height: 60px;
  3052. border-radius: 50%;
  3053. background-size: contain;
  3054. border: 1px solid;
  3055. border-color: rgba(128, 128, 128, 0.5);
  3056. position: relative;
  3057. top: 25px;
  3058. left: -110px;
  3059. }
  3060. form[name="addtime"] img.userphoto {
  3061. border: 1px solid #444;
  3062. }
  3063. .span-icon-user {
  3064. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/object_user.png', 1); ?>);
  3065. background-repeat: no-repeat;
  3066. }
  3067. .span-icon-password {
  3068. background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/lock.png', 1); ?>);
  3069. background-repeat: no-repeat;
  3070. }
  3071. /* ============================================================================== */
  3072. /* Menu gauche */
  3073. /* ============================================================================== */
  3074. div.vmenu, td.vmenu {
  3075. margin-<?php print $right; ?>: 2px;
  3076. position: relative;
  3077. float: <?php print $left; ?>;
  3078. padding: 0px;
  3079. padding-bottom: 0px;
  3080. padding-top: 0px;
  3081. width: 222px;
  3082. }
  3083. .vmenu {
  3084. margin-<?php print $left; ?>: 4px;
  3085. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  3086. display: none;
  3087. <?php } ?>
  3088. }
  3089. .vmenusearchselectcombo {
  3090. width: 202px;
  3091. }
  3092. .menu_contenu {
  3093. padding-top: 4px;
  3094. padding-bottom: 3px;
  3095. overflow: hidden;
  3096. text-overflow: ellipsis;
  3097. }
  3098. #menu_contenu_logo { padding-right: 4px; }
  3099. .companylogo { padding-top: 4px; }
  3100. .searchform { padding-top: 10px; }
  3101. .searchform .bordertransp { border: 0; }
  3102. #divsearchforms2 form.searchform .button { border: none !important; }
  3103. a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active, span.vmenu, span.vsmenu {
  3104. white-space: nowrap; font-size:<?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?>; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold;
  3105. }
  3106. span.vmenudisabled, font.vmenudisabled { font-size:<?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?>; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #aaa; margin-left: 4px; white-space: nowrap; }
  3107. a.vmenu:link, a.vmenu:visited {
  3108. color: var(--colortextbackvmenu);
  3109. }
  3110. a.vsmenu:link, a.vsmenu:visited, a.vsmenu:hover, a.vsmenu:active, span.vsmenu { font-size:<?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?>; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 8px; }
  3111. span.vsmenudisabled:not(.spanlilevel0), font.vsmenudisabled:not(.spanlilevel0) {
  3112. font-size:<?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?>;
  3113. }
  3114. span.vsmenudisabled, font.vsmenudisabled {
  3115. font-family: <?php print $fontlist ?>;
  3116. text-align: <?php print $left; ?>;
  3117. font-weight: normal;
  3118. color: var(--colortextbackvmenu);
  3119. white-space: nowrap;
  3120. }
  3121. a.vsmenu:link, a.vsmenu:visited {
  3122. color: var(--colortextbackvmenu);
  3123. white-space: nowrap;
  3124. }
  3125. span.vsmenudisabledmargin, font.vsmenudisabledmargin { margin: 1px 1px 1px 8px; }
  3126. a.help:link, a.help:visited, a.help:hover, a.help:active, span.help {
  3127. text-align: <?php print $left; ?>; font-weight: normal; color: #999; text-decoration: none;
  3128. }
  3129. .helppresentcircle {
  3130. /*
  3131. color: var(--colorbackhmenu1);
  3132. filter: invert(0.5);
  3133. */
  3134. color: var(--colortextbackhmenu);
  3135. margin-left: -4px;
  3136. display: inline-block;
  3137. font-size: x-small;
  3138. vertical-align: super;
  3139. opacity: 0.95;
  3140. transform: rotate(<?php echo ($left == 'left' ? '55deg' : '305deg'); ?>);
  3141. }
  3142. div.blockvmenulogo
  3143. {
  3144. border-bottom: 0 !important;
  3145. }
  3146. .menulogocontainer {
  3147. margin: <?php echo $disableimages ? '-1' : '6'; ?>px;
  3148. margin-left: 12px;
  3149. margin-right: 6px;
  3150. padding: 0;
  3151. height: <?php echo $disableimages ? '18' : '32'; ?>px;
  3152. /* width: 100px; */
  3153. max-width: 100px;
  3154. vertical-align: middle;
  3155. }
  3156. .backgroundforcompanylogo {
  3157. background-color: rgba(255,255,255,0.7);
  3158. border-radius: 5px;
  3159. }
  3160. .menulogocontainer img.mycompany {
  3161. object-fit: contain;
  3162. width: inherit;
  3163. height: inherit;
  3164. image-rendering: -webkit-optimize-contrast;
  3165. }
  3166. #mainmenutd_companylogo::after {
  3167. content: unset;
  3168. }
  3169. li#mainmenutd_companylogo .tmenucenter {
  3170. width: unset;
  3171. }
  3172. li#mainmenutd_companylogo {
  3173. min-width: unset !important;
  3174. }
  3175. <?php if ($disableimages) { ?>
  3176. li#mainmenutd_home {
  3177. min-width: unset !important;
  3178. }
  3179. li#mainmenutd_home .tmenucenter {
  3180. width: unset;
  3181. }
  3182. <?php } ?>
  3183. div.blockvmenupair, div.blockvmenuimpair
  3184. {
  3185. font-family: <?php print $fontlist ?>;
  3186. text-align: <?php print $left; ?>;
  3187. text-decoration: none;
  3188. padding-left: 5px;
  3189. padding-right: 1px;
  3190. padding-top: 3px;
  3191. padding-bottom: 3px;
  3192. margin: 1px 0px 8px 0px;
  3193. color: var(--colortext);
  3194. background: var(--colorbackvmenu1);
  3195. padding-bottom: 10px;
  3196. border-bottom: 1px solid #e8e8e8;
  3197. }
  3198. div.blockvmenubookmarks
  3199. {
  3200. padding-bottom: 16px !important;
  3201. }
  3202. div.blockvmenuend {
  3203. border: none !important;
  3204. padding-left: 0 !important;
  3205. }
  3206. a.vsmenu.addbookmarkpicto {
  3207. padding-right: 10px;
  3208. }
  3209. div.blockvmenufirst {
  3210. padding-top: 10px;
  3211. <?php if (getDolGlobalString('MAIN_USE_TOP_MENU_SEARCH_DROPDOWN')) { ?>
  3212. border-top: 1px solid #e0e0e0;
  3213. <?php } ?>
  3214. }
  3215. div.blockvmenusearch, div.blockvmenubookmarks
  3216. {
  3217. font-family: <?php print $fontlist ?>;
  3218. color: #000000;
  3219. text-align: <?php print $left; ?>;
  3220. text-decoration: none;
  3221. padding-left: 5px;
  3222. padding-right: 1px;
  3223. padding-top: 3px;
  3224. padding-bottom: 3px;
  3225. margin: 1px 0px 2px 0px;
  3226. background: var(--colorbackvmenu1);
  3227. padding-bottom: 10px;
  3228. /* border-bottom: 1px solid #f4f4f4; */
  3229. }
  3230. div.blockvmenusearchphone
  3231. {
  3232. border-bottom: none;
  3233. margin-bottom: 0px;
  3234. }
  3235. div.blockvmenuhelp
  3236. {
  3237. <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
  3238. font-family: <?php print $fontlist ?>;
  3239. color: #000000;
  3240. text-align: center;
  3241. text-decoration: none;
  3242. padding-left: 0px;
  3243. padding-right: 8px;
  3244. padding-top: 3px;
  3245. padding-bottom: 3px;
  3246. margin: 4px 0px 0px 0px;
  3247. <?php } else { ?>
  3248. display: none;
  3249. <?php } ?>
  3250. }
  3251. td.barre {
  3252. border-right: 1px solid #000000;
  3253. border-bottom: 1px solid #000000;
  3254. background: #b3c5cc;
  3255. font-family: <?php print $fontlist ?>;
  3256. color: #000000;
  3257. text-align: <?php print $left; ?>;
  3258. text-decoration: none;
  3259. }
  3260. td.barre_select {
  3261. background: #b3c5cc;
  3262. color: #000000;
  3263. }
  3264. td.photo {
  3265. background: #F4F4F4;
  3266. color: #000000;
  3267. border: 1px solid #bbb;
  3268. }
  3269. /* ============================================================================== */
  3270. /* Panes for Main */
  3271. /* ============================================================================== */
  3272. /*
  3273. * PANES and CONTENT-DIVs
  3274. */
  3275. #mainContent, #leftContent .ui-layout-pane {
  3276. padding: 0px;
  3277. overflow: auto;
  3278. }
  3279. #mainContent, #leftContent .ui-layout-center {
  3280. padding: 0px;
  3281. position: relative; /* contain floated or positioned elements */
  3282. overflow: auto; /* add scrolling to content-div */
  3283. }
  3284. /* ============================================================================== */
  3285. /* Toolbar for ECM or Filemanager */
  3286. /* ============================================================================== */
  3287. td.ecmroot {
  3288. padding-bottom: 0 !important;
  3289. }
  3290. .largebutton {
  3291. /* border-top: 1px solid #CCC !important; */
  3292. padding: 0px 4px 14px 4px !important;
  3293. min-height: 32px;
  3294. }
  3295. a.toolbarbutton {
  3296. margin-top: 0px;
  3297. margin-left: 4px;
  3298. margin-right: 4px;
  3299. height: 30px;
  3300. }
  3301. img.toolbarbutton {
  3302. margin-top: 1px;
  3303. height: 30px;
  3304. }
  3305. li.expanded > a.fmdirlia.jqft.ecmjqft {
  3306. font-weight: bold !important;
  3307. }
  3308. .divfmdirlia {
  3309. width: calc(100% - 100px);
  3310. }
  3311. a.fmdirlia {
  3312. white-space: break-spaces;
  3313. word-break: break-all;
  3314. }
  3315. /* ============================================================================== */
  3316. /* Onglets */
  3317. /* ============================================================================== */
  3318. div.tabs {
  3319. text-align: <?php print $left; ?>;
  3320. margin-left: 6px !important;
  3321. margin-right: 6px !important;
  3322. clear:both;
  3323. height:100%;
  3324. }
  3325. div.tabsElem {
  3326. margin-top: 6px;
  3327. } /* To avoid overlap of tabs when not browser */
  3328. div.tabsElem a {
  3329. font-weight: normal !important;
  3330. }
  3331. div.tabBar {
  3332. color: var(--colortextbacktab);
  3333. padding-top: 23px;
  3334. padding-left: 24px;
  3335. padding-right: 24px;
  3336. padding-bottom: 23px;
  3337. margin: 0px 0px 20px 0px;
  3338. -webkit-border-radius: 3px;
  3339. border-radius: 3px;
  3340. border-right: 1px solid #CCC;
  3341. border-left: 1px solid #CCC;
  3342. border-top: 1px solid #CCC;
  3343. border-bottom: 1px solid #CCC;
  3344. width: auto;
  3345. background: var(--colorbacktabcard1);
  3346. }
  3347. div.tabBar tr.titre td {
  3348. padding-top: 20px;
  3349. }
  3350. div.fiche table:not(.table-fiche-title) tr.titre td {
  3351. padding-top: 10px;
  3352. }
  3353. /*
  3354. div.tabBar.tabBarNoTop {
  3355. padding-top: 0;
  3356. border-top: 0;
  3357. }
  3358. */
  3359. /* tabBar used for creation/update/send forms */
  3360. div.tabBarWithBottom {
  3361. padding-bottom: 18px;
  3362. border-bottom: 1px solid #aaa;
  3363. }
  3364. div.tabBar table.tableforservicepart2:last-child {
  3365. border-bottom: 1px solid #aaa;
  3366. }
  3367. .tableforservicepart1 .tdhrthin {
  3368. height: unset;
  3369. }
  3370. /* Payment Screen : Pointer cursor in the autofill image */
  3371. .AutoFillAmount {
  3372. cursor:pointer;
  3373. }
  3374. /* ============================================================================== */
  3375. /* Buttons for actions */
  3376. /* ============================================================================== */
  3377. div.divButAction {
  3378. margin-bottom: 1.4em;
  3379. }
  3380. div.tabsAction {
  3381. margin: 20px 0em 20px 0em;
  3382. padding: 0em 0em;
  3383. text-align: right;
  3384. }
  3385. div.tabsActionNoBottom {
  3386. margin-bottom: 0px;
  3387. }
  3388. div.tabsAction > a {
  3389. margin-bottom: 16px !important;
  3390. }
  3391. div.popuptabset {
  3392. padding: 6px;
  3393. background: #fff;
  3394. border: 1px solid #888;
  3395. }
  3396. div.popuptab {
  3397. padding-top: 5px;
  3398. padding-bottom: 5px;
  3399. padding-left: 5px;
  3400. padding-right: 5px;
  3401. }
  3402. a.tabTitle {
  3403. color:rgba(0,0,0,.5);
  3404. margin-<?php print $right; ?>: 10px;
  3405. text-shadow:1px 1px 1px #ffffff;
  3406. font-family: <?php print $fontlist ?>;
  3407. font-weight: normal;
  3408. padding: 4px 6px 2px 6px;
  3409. margin: 0px 6px;
  3410. text-decoration: none;
  3411. white-space: nowrap;
  3412. }
  3413. .tabTitleText {
  3414. display: none;
  3415. }
  3416. .imgTabTitle {
  3417. max-height: 14px;
  3418. }
  3419. div.tabs div.tabsElem:first-of-type a.tab {
  3420. margin-left: 0px !important;
  3421. }
  3422. a.tabunactive {
  3423. color: var(--colortextlink) !important;
  3424. }
  3425. a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
  3426. font-family: <?php print $fontlist ?>;
  3427. padding: 12px 13px 12px;
  3428. margin: 0em 0.2em;
  3429. text-decoration: none;
  3430. white-space: nowrap;
  3431. background-image: none !important;
  3432. }
  3433. .tabactive, a.tab#active {
  3434. color: var(--colortextbacktab) !important;
  3435. background: var(--colorbacktabcard1) !important;
  3436. border-right: 1px solid #AAA !important;
  3437. border-left: 1px solid #AAA !important;
  3438. border-top: 2px solid #111 !important;
  3439. }
  3440. .tabunactive, a.tab#unactive {
  3441. border-right: 1px solid transparent;
  3442. border-left: 1px solid transparent;
  3443. border-top: 1px solid transparent;
  3444. border-bottom: 0px !important;
  3445. }
  3446. a.tab:hover
  3447. {
  3448. /*
  3449. background: var(--colorbacktabcard1) url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nav-overlay3.png', 1); ?>) 50% 0 repeat-x;
  3450. color: var(--colortextbacktab);
  3451. */
  3452. text-decoration: underline;
  3453. }
  3454. a.tabimage {
  3455. color: #434956;
  3456. font-family: <?php print $fontlist ?>;
  3457. text-decoration: none;
  3458. white-space: nowrap;
  3459. }
  3460. td.tab {
  3461. background: #dee7ec;
  3462. }
  3463. span.tabspan {
  3464. background: #dee7ec;
  3465. color: #434956;
  3466. font-family: <?php print $fontlist ?>;
  3467. padding: 0px 6px;
  3468. margin: 0em 0.2em;
  3469. text-decoration: none;
  3470. white-space: nowrap;
  3471. -webkit-border-radius:3px 3px 0px 0px;
  3472. border-radius:3px 3px 0px 0px;
  3473. border-<?php print $right; ?>: 1px solid #555555;
  3474. border-<?php print $left; ?>: 1px solid #D8D8D8;
  3475. border-top: 1px solid #D8D8D8;
  3476. }
  3477. /* ============================================================================== */
  3478. /* Buttons for actions */
  3479. /* ============================================================================== */
  3480. <?php include dol_buildpath($path.'/theme/'.$theme.'/btn.inc.php', 0); ?>
  3481. /* ============================================================================== */
  3482. /* Tables */
  3483. /* ============================================================================== */
  3484. .allwidth {
  3485. width: 100%;
  3486. }
  3487. #undertopmenu {
  3488. background-repeat: repeat-x;
  3489. margin-top: <?php echo ($dol_hide_topmenu ? '6' : '0'); ?>px;
  3490. }
  3491. .paddingrightonly {
  3492. border-collapse: collapse;
  3493. border: 0px;
  3494. margin-left: 0px;
  3495. padding-<?php print $left; ?>: 0px !important;
  3496. padding-<?php print $right; ?>: 4px !important;
  3497. }
  3498. .nocellnopadd {
  3499. list-style-type:none;
  3500. margin: 0px !important;
  3501. padding: 0px !important;
  3502. }
  3503. .noborderspacing {
  3504. border-spacing: 0;
  3505. }
  3506. tr.nocellnopadd td.nobordernopadding, tr.nocellnopadd td.nocellnopadd
  3507. {
  3508. border: 0px;
  3509. }
  3510. .unsetcolor {
  3511. color: unset !important;
  3512. }
  3513. .smallpaddingimp {
  3514. padding: 4px !important;
  3515. }
  3516. input.buttonlink {
  3517. color: var(--colortextlink);
  3518. background-color: transparent;
  3519. cursor: pointer;
  3520. }
  3521. input.buttonlink:hover {
  3522. text-decoration: underline;
  3523. }
  3524. input.buttonreset {
  3525. margin-top: 3px;
  3526. margin-bottom: 3px;
  3527. padding: 8px 15px;
  3528. text-decoration: underline;
  3529. color: var(--colortextlink);
  3530. background-color: transparent;
  3531. cursor: pointer;
  3532. }
  3533. .notopnoleft {
  3534. border-collapse: collapse;
  3535. border: 0px;
  3536. padding-top: 0px;
  3537. padding-<?php print $left; ?>: 0px;
  3538. padding-<?php print $right; ?>: 16px;
  3539. padding-bottom: 4px;
  3540. margin-right: 0px;
  3541. }
  3542. .notopnoleftnoright {
  3543. border-collapse: collapse;
  3544. border: 0px;
  3545. padding-top: 0px;
  3546. padding-left: 0px;
  3547. padding-right: 0px;
  3548. padding-bottom: 4px;
  3549. margin: 0px 0px 0px 0px;
  3550. }
  3551. table.tableforemailform tr td {
  3552. padding-top: 3px;
  3553. padding-bottom: 3px;
  3554. }
  3555. table.border, table.bordernooddeven, table.dataTable, .table-border, .table-border-col, .table-key-border-col, .table-val-border-col, div.border {
  3556. border: 1px solid #f4f4f4;
  3557. border-collapse: collapse !important;
  3558. padding: 1px 2px 1px 3px; /* t r b l */
  3559. }
  3560. table.borderplus {
  3561. border: 1px solid #BBB;
  3562. }
  3563. .border tbody tr, .bordernooddeven tbody tr, .border tbody tr td, .bordernooddeven tbody tr td,
  3564. div.tabBar table.border tr, div.tabBar table.border tr td, div.tabBar div.border .table-border-row, div.tabBar div.border .table-key-border-col, div.tabBar div.border .table-val-border-col,
  3565. tr.liste_titre.box_titre td table td, .bordernooddeven tr td {
  3566. height: 28px;
  3567. }
  3568. table.border td, table.bordernooddeven td, div.border div div.tagtd {
  3569. padding: 3px 4px 3px 4px;
  3570. border: 1px solid #f0f0f0;
  3571. border-collapse: collapse;
  3572. }
  3573. td.border, div.tagtable div div.border {
  3574. border-top: 1px solid #000000;
  3575. border-right: 1px solid #000000;
  3576. border-bottom: 1px solid #000000;
  3577. border-left: 1px solid #000000;
  3578. }
  3579. .table-key-border-col {
  3580. /* width: 25%; */
  3581. vertical-align:top;
  3582. }
  3583. .table-val-border-col {
  3584. width:auto;
  3585. }
  3586. .thsticky, .tdsticky {
  3587. position: sticky;
  3588. left: 0px;
  3589. }
  3590. .thstickyright, .tdstickyright {
  3591. position: sticky;
  3592. right: 0px;
  3593. }
  3594. .thstickygray, .tdstickygray {
  3595. background-color: lightgray;
  3596. }
  3597. .thstickyghostwhite, .tdstickyghostwhite {
  3598. background-color: ghostwhite;
  3599. }
  3600. .thstickyinherit, .tdstickyinherit {
  3601. background-color: inherit;
  3602. }
  3603. <?php if (!empty($conf->global->THEME_ENABLE_STICKY_COLUMN_REF)) { ?>
  3604. /* To have left column sticky */
  3605. .tagtable td[data-key="ref"], .tagtable th[data-key="ref"] {
  3606. position: sticky;
  3607. left: 0;
  3608. top: 0;
  3609. max-width: 150px !important;
  3610. /*background-color: inherit;*/
  3611. background-color: gainsboro;
  3612. z-index: 2;
  3613. }
  3614. <?php } ?>
  3615. <?php if (!empty($conf->global->THEME_ENABLE_STICKY_COLUMN_ACTION)) { ?>
  3616. /* To have right column sticky */
  3617. .tagtable td.actioncolumn, .tagtable th.actioncolumn {
  3618. position: sticky;
  3619. right: 0;
  3620. top: 0;
  3621. max-width: 150px !important;
  3622. /*background-color: inherit;*/
  3623. background-color: gainsboro;
  3624. z-index: 2;
  3625. }
  3626. <?php } ?>
  3627. /* Main boxes */
  3628. .nobordertop, .nobordertop tr:first-of-type td {
  3629. border-top: none !important;
  3630. }
  3631. .noborderbottom, .noborderbottom tr:last-of-type td {
  3632. border-bottom: none !important;
  3633. }
  3634. .bordertop {
  3635. border-top: 1px solid var(--colortopbordertitle1);
  3636. }
  3637. .borderbottom {
  3638. border-bottom: 1px solid var(--colortopbordertitle1);
  3639. }
  3640. .fichehalfright table.noborder {
  3641. margin: 0px 0px 0px 0px;
  3642. }
  3643. div.colorback
  3644. {
  3645. background: var(--colorbacktitle1);
  3646. padding: 10px;
  3647. margin-top: 5px;
  3648. }
  3649. .liste_titre_bydiv {
  3650. <?php if ($userborderontable) { ?>
  3651. border-right: 1px solid #ccc;
  3652. border-left: 1px solid #ccc;
  3653. <?php } ?>
  3654. }
  3655. table.liste, table.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact), table.formdoc, div.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact) {
  3656. <?php
  3657. if ($userborderontable) { ?>
  3658. /* border-left: 1px solid var(--colortopbordertitle1);
  3659. border-right: 1px solid var(--colortopbordertitle1); */
  3660. border-left: 1px solid #ccc;
  3661. border-right: 1px solid #ccc;
  3662. <?php } else { ?>
  3663. border-left: 1px solid #f0f0f0;
  3664. border-right: 1px solid #f0f0f0;
  3665. <?php } ?>
  3666. }
  3667. table.liste, table.noborder, table.formdoc, div.noborder {
  3668. width: calc(100% - 2px); /* -2 to fix a bug. Without, a scroll appears due to overflow-x: auto; of div-table-responsive */
  3669. border-collapse: separate !important;
  3670. border-spacing: 0px;
  3671. border-top-width: <?php echo $borderwidth ?>px;
  3672. border-top-color: var(--colortopbordertitle1);
  3673. border-top-style: solid;
  3674. border-bottom-width: 1px;
  3675. border-bottom-color: #BBB;
  3676. border-bottom-style: solid;
  3677. margin: 0px 0px 15px 0px;
  3678. -webkit-border-radius: 0.1em;
  3679. border-radius: 0.1em;
  3680. }
  3681. table.noborder tr, div.noborder form {
  3682. border-top-color: #FEFEFE;
  3683. border-right-width: 1px;
  3684. border-right-color: #BBBBBB;
  3685. border-right-style: solid;
  3686. border-left-width: 1px;
  3687. border-left-color: #BBBBBB;
  3688. border-left-style: solid;
  3689. min-height: 26px;
  3690. }
  3691. table.paddingtopbottomonly tr td {
  3692. padding-top: 1px;
  3693. padding-bottom: 2px;
  3694. }
  3695. .liste_titre_filter {
  3696. background: var(--colorbacktitle1) !important;
  3697. }
  3698. tr.liste_titre_filter td.liste_titre {
  3699. padding-top: 4px;
  3700. padding-bottom: 3px;
  3701. }
  3702. .liste_titre_create td, .liste_titre_create th, .liste_titre_create .tagtd
  3703. {
  3704. border-top-width: 1px;
  3705. border-top-color: var(--colortopbordertitle1);
  3706. border-top-style: solid;
  3707. }
  3708. tr#trlinefordates td {
  3709. border-bottom: 0px !important;
  3710. }
  3711. .liste_titre_add td, .liste_titre_add th, .liste_titre_add .tagtd
  3712. {
  3713. border-top-width: 2px;
  3714. border-top-color: var(--colortopbordertitle1);
  3715. border-top-style: solid;
  3716. }
  3717. .liste_titre_add td, .liste_titre_add .tagtd
  3718. {
  3719. border-top-width: 1px;
  3720. border-top-color: var(--colortopbordertitle1);
  3721. border-top-style: solid;
  3722. }
  3723. table.liste th, table.noborder th, table.noborder tr.liste_titre td, table.noborder tr.box_titre td {
  3724. padding: 8px 6px 8px 6px; /* t r b l */
  3725. }
  3726. table.liste td, table.noborder td, div.noborder form div, table.tableforservicepart1 td, table.tableforservicepart2 td {
  3727. padding: 4px 6px 4px 6px; /* t r b l */
  3728. height: 22px;
  3729. }
  3730. form.tagtable {
  3731. padding: unset !important;
  3732. border: unset !important;
  3733. }
  3734. table.liste td, table.noborder td, div.noborder form div {
  3735. padding: 8px 6px 8px 6px; /* t r b l */
  3736. }
  3737. div.liste_titre_bydiv .divsearchfield {
  3738. padding: 2px 1px 2px 6px; /* t r b l */
  3739. }
  3740. table.nobordernopadding {
  3741. border-collapse: collapse !important;
  3742. border: 0;
  3743. }
  3744. table.nobordernopadding tr {
  3745. border: 0 !important;
  3746. padding: 0 0 !important;
  3747. }
  3748. table.nobordernopadding tr td {
  3749. border: 0 !important;
  3750. padding: 0 3px 0 0;
  3751. }
  3752. table.border tr td table.nobordernopadding tr td {
  3753. padding-top: 0;
  3754. padding-bottom: 0;
  3755. }
  3756. td.borderright {
  3757. border: none; /* to erase value for table.nobordernopadding td */
  3758. border-right-width: 1px !important;
  3759. border-right-color: #BBB !important;
  3760. border-right-style: solid !important;
  3761. }
  3762. td.borderleft {
  3763. border: none; /* to erase value for table.nobordernopadding td */
  3764. border-left-width: 1px !important;
  3765. border-left-color: #BBB !important;
  3766. border-left-style: solid !important;
  3767. }
  3768. /* For table with no filter before */
  3769. table.listwithfilterbefore {
  3770. border-top: none !important;
  3771. }
  3772. .tagtable, .table-border { display: table; }
  3773. .tagtr, .table-border-row { display: table-row; }
  3774. .tagtd, .table-border-col, .table-key-border-col, .table-val-border-col { display: table-cell; }
  3775. .confirmquestions .tagtr .tagtd:not(:first-child) { padding-left: 10px; }
  3776. .confirmquestions { margin-top: 5px; }
  3777. /* Pagination */
  3778. div.refidpadding {
  3779. padding-top: 3px;
  3780. }
  3781. div.refid {
  3782. font-weight: bold;
  3783. color: var(--colortexttitlenotab);
  3784. font-size: 120%;
  3785. }
  3786. a.refid {
  3787. color: var(--colortexttitlenotab) !important;
  3788. }
  3789. div.refidno {
  3790. padding-top: 8px;
  3791. font-weight: normal;
  3792. color: var(--refidnocolor);
  3793. font-size: 92%;
  3794. line-height: 1.3em;
  3795. }
  3796. div.refidno form {
  3797. display: inline-block;
  3798. }
  3799. div.refaddress div.address {
  3800. line-height: 1.2em;
  3801. font-size: 0.9em;
  3802. }
  3803. div.pagination {
  3804. float: right;
  3805. }
  3806. div.pagination a {
  3807. font-weight: normal;
  3808. }
  3809. div.pagination ul
  3810. {
  3811. list-style: none;
  3812. display: inline-block;
  3813. padding-left: 0px;
  3814. padding-right: 0px;
  3815. margin: 0;
  3816. }
  3817. div.pagination li {
  3818. display: inline-block;
  3819. padding-left: 0px;
  3820. padding-right: 0px;
  3821. padding-top: 6px;
  3822. padding-bottom: 5px;
  3823. }
  3824. .pagination {
  3825. display: inline-block;
  3826. padding-left: 0;
  3827. border-radius: 4px;
  3828. }
  3829. div.pagination li.pagination a,
  3830. div.pagination li.pagination span {
  3831. padding: 6px 12px;
  3832. padding-top: 8px;
  3833. line-height: 1.42857143;
  3834. color: var(--color-black);
  3835. text-decoration: none;
  3836. }
  3837. div.pagination li.pagination span.inactive {
  3838. cursor: default;
  3839. color: #ccc;
  3840. }
  3841. div.pagination li.litext a {
  3842. border: none;
  3843. padding-right: 10px;
  3844. padding-left: 4px;
  3845. font-weight: bold;
  3846. }
  3847. div.pagination li.noborder a:hover {
  3848. border: none;
  3849. background-color: transparent;
  3850. }
  3851. div.pagination li:first-child a,
  3852. div.pagination li:first-child span {
  3853. margin-left: 0;
  3854. border-top-left-radius: 4px;
  3855. border-bottom-left-radius: 4px;
  3856. }
  3857. div.pagination li:last-child a,
  3858. div.pagination li:last-child span {
  3859. border-top-right-radius: 4px;
  3860. border-bottom-right-radius: 4px;
  3861. }
  3862. div.pagination li a:hover,
  3863. div.pagination li span:hover,
  3864. div.pagination li a:focus,
  3865. div.pagination li span:focus {
  3866. color: #000;
  3867. background-color: #eee;
  3868. border-color: #ddd;
  3869. /* padding-top: 8px; */
  3870. }
  3871. div.pagination li .active a,
  3872. div.pagination li .active span,
  3873. div.pagination li .active a:hover,
  3874. div.pagination li .active span:hover,
  3875. div.pagination li .active a:focus,
  3876. div.pagination li .active span:focus {
  3877. z-index: 2;
  3878. color: #fff;
  3879. cursor: default;
  3880. background-color: var(--colorbackhmenu1);
  3881. border-color: #337ab7;
  3882. }
  3883. div.pagination .disabled span,
  3884. div.pagination .disabled span:hover,
  3885. div.pagination .disabled span:focus,
  3886. div.pagination .disabled a,
  3887. div.pagination .disabled a:hover,
  3888. div.pagination .disabled a:focus {
  3889. color: #777;
  3890. cursor: not-allowed;
  3891. background-color: #fff;
  3892. border-color: #ddd;
  3893. }
  3894. div.pagination li.pagination .active {
  3895. text-decoration: underline;
  3896. box-shadow: none;
  3897. }
  3898. .paginationafterarrows .nohover {
  3899. box-shadow: none !important;
  3900. }
  3901. div.pagination li.paginationafterarrows {
  3902. margin-left: 10px;
  3903. }
  3904. .paginationatbottom {
  3905. margin-top: 9px;
  3906. }
  3907. table.hidepaginationprevious .paginationprevious {
  3908. display: none;
  3909. }
  3910. table.hidepaginationnext .paginationnext {
  3911. display: none;
  3912. }
  3913. .paginationafterarrows a.btnTitlePlus:hover span:before {
  3914. /* text-shadow: 0px 0px 5px #ccc; */
  3915. /* filter: invert(0.3); */
  3916. font-size: 1.03em;
  3917. }
  3918. /* Prepare to remove class pair - impair
  3919. .noborder > tbody > tr:nth-child(even) td {
  3920. background: linear-gradient(to bottom, var(--colorbacklineimpai2) 85%, var(--colorbacklineimpair2) 100%);
  3921. background: -o-linear-gradient(bottom, var(--colorbacklineimpair2) 85%, var(--colorbacklineimpair2) 100%);
  3922. background: -moz-linear-gradient(bottom, var(--colorbacklineimpair2) 85%, var(--colorbacklineimpair2) 100%);
  3923. background: -webkit-linear-gradient(bottom, var(--colorbacklineimpair2) 85%, var(--colorbacklineimpair2) 100%);
  3924. font-family: <?php print $fontlist ?>;
  3925. border: 0px;
  3926. margin-bottom: 1px;
  3927. color: #202020;
  3928. min-height: 18px;
  3929. }
  3930. .noborder > tbody > tr:nth-child(odd) td {
  3931. background: linear-gradient(to bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
  3932. background: -o-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
  3933. background: -moz-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
  3934. background: -webkit-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
  3935. font-family: <?php print $fontlist ?>;
  3936. border: 0px;
  3937. margin-bottom: 1px;
  3938. color: #202020;
  3939. }
  3940. */
  3941. ul.noborder li:nth-child(odd):not(.liste_titre) {
  3942. background-color: var(--colorbacklinepair2) !important;
  3943. }
  3944. /* Set the color for hover lines */
  3945. .tmenucompanylogo.nohover, .tmenucompanylogo.nohover:hover {
  3946. opacity: unset !important;
  3947. }
  3948. .nohoverborder:hover {
  3949. border: unset;
  3950. box-shadow: unset;
  3951. -webkit-box-shadow: unset;
  3952. }
  3953. .oddeven:hover, .evenodd:hover, .oddevenimport:hover, .evenoddimport:hover, .impair:hover, .pair:hover
  3954. {
  3955. background: rgb(<?php echo $colorbacklinepairhover; ?>) !important;
  3956. }
  3957. .tredited {
  3958. background: rgb(<?php echo $colorbacklinepairchecked; ?>) !important; /* Must be background to be stronger than background of odd or even */
  3959. }
  3960. <?php if ($colorbacklinepairchecked) { ?>
  3961. .highlight {
  3962. background: rgb(<?php echo $colorbacklinepairchecked; ?>) !important; /* Must be background to be stronger than background of odd or even */
  3963. }
  3964. <?php } ?>
  3965. .nohover:hover {
  3966. background: unset !important;
  3967. }
  3968. .nohoverborder:hover {
  3969. border: unset;
  3970. box-shadow: unset;
  3971. -webkit-box-shadow: unset;
  3972. }
  3973. .oddeven, .evenodd, .impair, .nohover .impair:hover, tr.impair td.nohover, .tagtr.oddeven
  3974. {
  3975. font-family: <?php print $fontlist ?>;
  3976. border: 0px;
  3977. margin-bottom: 1px;
  3978. color: var(--oddeven);
  3979. }
  3980. .impair, .nohover .impair:hover, tr.impair td.nohover
  3981. {
  3982. background: var(--colorbacklineimpair2);
  3983. }
  3984. #GanttChartDIV {
  3985. background-color: var(--colorbacklineimpair2);
  3986. }
  3987. .oddeven, .evenodd, .pair, .nohover .pair:hover, tr.pair td.nohover, .tagtr.oddeven {
  3988. font-family: <?php print $fontlist ?>;
  3989. margin-bottom: 1px;
  3990. color: var(--oddevencolor);
  3991. }
  3992. .pair, .nohover .pair:hover, tr.pair td.nohover {
  3993. background-color: var(--colorbacklinepair1);
  3994. }
  3995. table.dataTable tr.oddeven {
  3996. background-color: var(--colorbacklinepair1) !important;
  3997. }
  3998. /* For no hover style */
  3999. 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 {
  4000. background-color: var(--colorbacklineimpair2) !important;
  4001. background: var(--colorbacklineimpair2) !important;
  4002. }
  4003. td.evenodd, tr.nohoverpair td, #trlinefordates td {
  4004. background-color: var(--colorbacklinepair2) !important;
  4005. background: var(--colorbacklinepair2) !important;
  4006. }
  4007. .trforbreak td {
  4008. font-weight: bold;
  4009. border-bottom: 1pt solid black !important;
  4010. background-color: var(--colorbacklinebreak) !important;
  4011. }
  4012. .trforbreak.nobold td a, .trforbreak.nobold span.secondary {
  4013. font-weight: normal !important;
  4014. }
  4015. table.dataTable td {
  4016. padding: 5px 2px 5px 3px !important;
  4017. }
  4018. 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 {
  4019. padding: 5px 2px 5px 3px;
  4020. border-bottom: 1px solid #eee;
  4021. }
  4022. form.pair, form.impair {
  4023. font-weight: normal;
  4024. }
  4025. tr.pair:last-of-type td, tr.impair:last-of-type td {
  4026. border-bottom: 0px !important;
  4027. }
  4028. tr.pair td .nobordernopadding tr td, tr.impair td .nobordernopadding tr td {
  4029. border-bottom: 0px !important;
  4030. }
  4031. /*
  4032. table.nobottomiftotal tr.liste_total td {
  4033. background-color: var(--inputbackgroundcolor);
  4034. <?php if (!$userborderontable) { ?>
  4035. border-bottom: 0px !important;
  4036. <?php } ?>
  4037. }
  4038. */
  4039. div.liste_titre .tagtd {
  4040. vertical-align: middle;
  4041. }
  4042. div.liste_titre {
  4043. 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 */
  4044. padding-top: 2px;
  4045. padding-bottom: 2px;
  4046. /*border-right-width: 1px;
  4047. border-right-color: #BBB;
  4048. border-right-style: solid;
  4049. border-left-width: 1px;
  4050. border-left-color: #BBB;
  4051. border-left-style: solid;*/
  4052. border-top-width: 1px;
  4053. border-top-color: #BBB;
  4054. border-top-style: solid;
  4055. }
  4056. div.liste_titre_bydiv {
  4057. <?php if ($userborderontable) { ?>
  4058. border-top-width: <?php echo $borderwidth ?>px;
  4059. border-top-color: var(--colortopbordertitle1);
  4060. border-top-style: solid;
  4061. <?php } ?>
  4062. border-collapse: collapse;
  4063. display: table;
  4064. padding: 2px 0px 2px 0;
  4065. box-shadow: none;
  4066. width: calc(100% - 2px); /* -2px because the width for table class="tagtable" under this is cal(100% - 2px) so it is aligned. */
  4067. }
  4068. /*
  4069. div.liste_titre_bydiv_inlineblock {
  4070. display: inline-block;
  4071. width: 100%;
  4072. }
  4073. */
  4074. tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable.tr, tagtr.liste_titre
  4075. {
  4076. height: 26px !important;
  4077. }
  4078. div.liste_titre_bydiv, .liste_titre div.tagtr, tr.liste_titre, tr.liste_titre_sel, .tagtr.liste_titre, .tagtr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable thead tr
  4079. {
  4080. background: var(--colorbacktitle1);
  4081. font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
  4082. /* border-bottom: 1px solid #FDFFFF; */
  4083. color: var(--colortexttitle);
  4084. font-family: <?php print $fontlist ?>;
  4085. text-align: <?php echo $left; ?>;
  4086. }
  4087. tr.liste_titre th, tr.liste_titre td, th.liste_titre
  4088. {
  4089. border-bottom: 1px solid #aaa;
  4090. }
  4091. /* 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 */
  4092. tr:first-child th.liste_titre, tr:first-child th.liste_titre_sel {
  4093. border-bottom: 1px solid #FFF ! important;
  4094. }
  4095. tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre, form.liste_titre div, div.liste_titre
  4096. {
  4097. font-family: <?php print $fontlist ?>;
  4098. font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
  4099. vertical-align: middle;
  4100. height: 28px;
  4101. }
  4102. 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 {
  4103. text-shadow: none !important;
  4104. color: var(--colortexttitlelink);
  4105. }
  4106. tr.liste_titre_topborder td {
  4107. border-top-width: <?php echo $borderwidth; ?>px;
  4108. border-top-color: var(--colortopbordertitle1);
  4109. border-top-style: solid;
  4110. }
  4111. .liste_titre td a {
  4112. text-shadow: none !important;
  4113. color: var(--colortexttitle);
  4114. }
  4115. .liste_titre td a.notasortlink {
  4116. color: var(--colortextlink);
  4117. }
  4118. .liste_titre td a.notasortlink:hover {
  4119. background: transparent;
  4120. }
  4121. 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 */
  4122. /* border-bottom: 1px solid var(--colortopbordertitle1); */
  4123. border-bottom: none;
  4124. }
  4125. tr.liste_titre_filter th.liste_titre { text-align: unset; }
  4126. div.liste_titre {
  4127. padding-left: 3px;
  4128. }
  4129. tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel, form.liste_titre_sel div
  4130. {
  4131. font-family: <?php print $fontlist ?>;
  4132. font-weight: normal;
  4133. border-bottom: 1px solid #FDFFFF;
  4134. /* text-decoration: underline; */
  4135. }
  4136. input.liste_titre {
  4137. background: transparent;
  4138. border: 0px;
  4139. }
  4140. .noborder tr.liste_total td, tr.liste_total td, form.liste_total div, .noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
  4141. color: #332266;
  4142. /* padding: 4px; */
  4143. }
  4144. .noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
  4145. white-space: nowrap;
  4146. line-height: 1.5em;
  4147. }
  4148. .noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
  4149. white-space: normal;
  4150. }
  4151. tr.liste_sub_total, tr.liste_sub_total td {
  4152. border-bottom: 2px solid #aaa;
  4153. }
  4154. .tableforservicepart1 .impair, .tableforservicepart1 .pair, .tableforservicepart2 .impair, .tableforservicepart2 .pair {
  4155. background: #FFF;
  4156. }
  4157. .tableforservicepart1 tbody tr td, .tableforservicepart2 tbody tr td {
  4158. border-bottom: none;
  4159. }
  4160. .paymenttable, .margintable {
  4161. margin: 0px 0px 0px 0px !important;
  4162. }
  4163. .paymenttable, .margintable:not(.margintablenotop) {
  4164. border-top-width: <?php echo $borderwidth ?>px !important;
  4165. border-top-color: var(--colortopbordertitle1) !important;
  4166. border-top-style: solid !important;
  4167. }
  4168. .margintable.margintablenotop {
  4169. border-top-width: 0;
  4170. }
  4171. .paymenttable tr td:first-child, .margintable tr td:first-child
  4172. {
  4173. /*padding-left: 2px;*/
  4174. }
  4175. .paymenttable, .margintable tr td {
  4176. height: 22px;
  4177. }
  4178. /* Disable shadows */
  4179. .noshadow {
  4180. -webkit-box-shadow: 0px 0px 0px #f4f4f4 !important;
  4181. box-shadow: 0px 0px 0px #f4f4f4 !important;
  4182. }
  4183. .shadow {
  4184. -webkit-box-shadow: 2px 2px 5px #CCC !important;
  4185. box-shadow: 2px 2px 5px #CCC !important;
  4186. }
  4187. .boxshadow {
  4188. -webkit-box-shadow: 0px 0px 5px #888;
  4189. box-shadow: 0px 0px 5px #888;
  4190. }
  4191. div.tabBar .noborder {
  4192. -webkit-box-shadow: 0px 0px 0px #f4f4f4 !important;
  4193. box-shadow: 0px 0px 0px #f4f4f4 !important;
  4194. }
  4195. div .tdtop:not(.tagtdnote) {
  4196. vertical-align: top !important;
  4197. padding-top: 8px !important;
  4198. padding-bottom: 0px !important;
  4199. }
  4200. #tablelines tr.liste_titre td, #tablelinesservice tr.liste_titre td, .paymenttable tr.liste_titre td, .margintable tr.liste_titre td, .tableforservicepart1 tr.liste_titre td {
  4201. border-bottom: 1px solid #AAA !important;
  4202. }
  4203. #tablelines tr td, #tablelinesservice tr td {
  4204. height: unset;
  4205. }
  4206. /* Prepare to remove class pair - impair */
  4207. .noborder > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven),
  4208. .liste > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven),
  4209. div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > table:not(.tableforfieldedit) > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven),
  4210. .liste > tbody > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven),
  4211. div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(even):not(.liste_titre):not(.nooddeven)
  4212. {
  4213. background: linear-gradient(to bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
  4214. background: -o-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
  4215. background: -moz-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
  4216. background: -webkit-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
  4217. }
  4218. .noborder > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre),
  4219. .liste > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre),
  4220. .noborder .tagtr:nth-child(even):not(:last-of-type) .oddeven.tagtd:not(.liste_titre)
  4221. {
  4222. border-bottom: 1px solid #e8e8e8;
  4223. }
  4224. .noborder > tbody > tr:nth-child(odd):not(.liste_titre):not(.nooddeven),
  4225. .liste > tbody > tr:nth-child(odd):not(.liste_titre):not(.nooddeven),
  4226. div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > table:not(.tableforfieldedit) > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven),
  4227. .liste > tbody > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven),
  4228. div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(odd):not(.liste_titre):not(.nooddeven)
  4229. {
  4230. background: linear-gradient(to bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
  4231. background: -o-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
  4232. background: -moz-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
  4233. background: -webkit-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
  4234. }
  4235. .noborder > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre),
  4236. .liste > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre),
  4237. .noborder .tagtr:nth-child(odd):not(:last-child) .oddeven.tagtd:not(.liste_titre)
  4238. {
  4239. border-bottom: 1px solid #e8e8e8;
  4240. }
  4241. ul.noborder li:nth-child(even):not(.liste_titre) {
  4242. background-color: var(--colorbacklinepair2) !important;
  4243. }
  4244. /*
  4245. * Boxes
  4246. */
  4247. .box {
  4248. overflow-x: auto;
  4249. min-height: 40px;
  4250. padding-right: 0px;
  4251. padding-left: 0px;
  4252. padding-bottom: 12px;
  4253. }
  4254. .boxstatsborder {
  4255. /* border: 1px solid #CCC !important; */
  4256. }
  4257. .boxstats, .boxstats130 {
  4258. display: inline-block;
  4259. margin: 8px;
  4260. /* border: 1px solid #CCC; */
  4261. text-align: center;
  4262. border-radius: 2px;
  4263. background: #eee;
  4264. }
  4265. .boxstats, .boxstats130, .boxstatscontent {
  4266. white-space: nowrap;
  4267. overflow: hidden;
  4268. text-overflow: ellipsis;
  4269. }
  4270. .boxstats {
  4271. padding: 3px;
  4272. width: 100px;
  4273. min-height: 40px;
  4274. }
  4275. .boxstats130 {
  4276. width: 135px;
  4277. height: 54px;
  4278. padding: 3px;
  4279. }
  4280. @media only screen and (max-width: 767px)
  4281. {
  4282. .tabBar .arearef .pagination.paginationref {
  4283. max-width: calc(50%);
  4284. }
  4285. .clearbothonsmartphone {
  4286. clear: both;
  4287. display: block !important;
  4288. }
  4289. div.tabs {
  4290. padding-left: 0 !important;
  4291. margin-left: 0 !important;
  4292. margin-right: 0 !important;
  4293. }
  4294. .boxstats, .boxstats130 {
  4295. margin: 3px;
  4296. border: 1px solid #ddd;
  4297. box-shadow: none;
  4298. background: #eee;
  4299. }
  4300. .thumbstat {
  4301. flex: 1 1 110px;
  4302. }
  4303. .thumbstat150 {
  4304. flex: 1 1 110px;
  4305. }
  4306. .dashboardlineindicator {
  4307. float: left;
  4308. padding-left: 5px;
  4309. }
  4310. .boxstats130 {
  4311. width: 148px;
  4312. }
  4313. .boxstats {
  4314. width: 100px;
  4315. }
  4316. }
  4317. .boxstats:hover {
  4318. box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.20);
  4319. }
  4320. span.boxstatstext {
  4321. /* opacity: 0.7; */ /* a bug if browser make z-index infintie when opacity is set so we disable it */
  4322. line-height: 18px;
  4323. color: #000;
  4324. }
  4325. .boxstatsindicator.thumbstat150 { /* If we remove this, box position is ko on ipad */
  4326. display: inline-flex;
  4327. }
  4328. span.boxstatsindicator {
  4329. font-size: 110%;
  4330. font-weight: normal;
  4331. color: rgb(<?php print $colortextlink; ?>);
  4332. }
  4333. span.dashboardlineindicator, span.dashboardlineindicatorlate {
  4334. font-size: 120%;
  4335. font-weight: normal;
  4336. }
  4337. a.dashboardlineindicatorlate:hover {
  4338. text-decoration: none;
  4339. }
  4340. .dashboardlineindicatorlate img {
  4341. width: 16px;
  4342. }
  4343. span.dashboardlineok {
  4344. color: #008800;
  4345. }
  4346. span.dashboardlineko {
  4347. color: #FFF;
  4348. font-size: 80%;
  4349. }
  4350. .dashboardlinelatecoin {
  4351. float: right;
  4352. position: relative;
  4353. text-align: right;
  4354. top: -24px;
  4355. padding: 1px 6px 1px 6px;
  4356. background-color: #8c4446;
  4357. color: #FFFFFF ! important;
  4358. border-radius: .25em;
  4359. }
  4360. .divboxtable {
  4361. margin-bottom: 20px !important;
  4362. }
  4363. .boxtable {
  4364. border-bottom-width: 1px;
  4365. }
  4366. .boxtablenotop {
  4367. /* border-top-width: 0 !important; */
  4368. }
  4369. .boxtablenobottom {
  4370. /* border-bottom-width: 0 !important; */
  4371. }
  4372. .boxtablenomarginbottom {
  4373. margin-bottom: 0 !important;
  4374. }
  4375. .boxtable .fichehalfright, .boxtable .fichehalfleft {
  4376. min-width: 275px;
  4377. }
  4378. .tdboxstats {
  4379. text-align: center;
  4380. }
  4381. .boxworkingboard .tdboxstats {
  4382. padding-left: 1px !important;
  4383. padding-right: 1px !important;
  4384. }
  4385. a.valignmiddle.dashboardlineindicator {
  4386. line-height: 30px;
  4387. }
  4388. .height30 {
  4389. height: 30px !important;
  4390. }
  4391. tr.box_titre {
  4392. height: 26px !important;
  4393. /* TO MATCH BOOTSTRAP */
  4394. /*background: #ddd;
  4395. color: #000 !important; */
  4396. /* TO MATCH ELDY */
  4397. background: var(--colorbacktitle1);
  4398. color: var(--colortexttitle);
  4399. font-family: <?php print $fontlist ?>, sans-serif;
  4400. font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
  4401. border-bottom: 1px solid #FDFFFF;
  4402. white-space: nowrap;
  4403. }
  4404. tr.box_titre td.boxclose {
  4405. width: 30px;
  4406. }
  4407. img.boxhandle, img.boxclose {
  4408. padding-left: 5px;
  4409. }
  4410. .formboxfilter {
  4411. vertical-align: middle;
  4412. margin-bottom: 6px;
  4413. }
  4414. .formboxfilter input[type=image]
  4415. {
  4416. top: 5px;
  4417. position: relative;
  4418. }
  4419. .boxfilter {
  4420. margin-bottom: 2px;
  4421. margin-right: 1px;
  4422. }
  4423. .prod_entry_mode_free, .prod_entry_mode_predef {
  4424. height: 26px !important;
  4425. vertical-align: middle;
  4426. }
  4427. .modulebuilderbox {
  4428. border: 1px solid #888;
  4429. padding: 16px;
  4430. }
  4431. /*
  4432. * Ok, Warning, Error
  4433. */
  4434. .ok { color: #114466; }
  4435. .warning { color: #887711 !important; }
  4436. .error { color: #550000 !important; font-weight: bold; }
  4437. .green { color: #118822 !important; }
  4438. div.ok {
  4439. color: #114466;
  4440. }
  4441. /* Info admin */
  4442. div.info {
  4443. border-<?php print $left; ?>: solid 5px #87cfd2;
  4444. padding-top: 8px;
  4445. padding-left: 10px;
  4446. padding-right: 4px;
  4447. padding-bottom: 8px;
  4448. margin: 0.5em 0em 0.5em 0em;
  4449. background: #eff8fc;
  4450. }
  4451. /* Warning message */
  4452. div.warning {
  4453. border-<?php print $left; ?>: solid 5px #f2cf87;
  4454. padding-top: 8px;
  4455. padding-left: 10px;
  4456. padding-right: 4px;
  4457. padding-bottom: 8px;
  4458. margin: 0.5em 0em 0.5em 0em;
  4459. background: #fcf8e3;
  4460. }
  4461. div.warning a, div.info a, div.error a {
  4462. color: rgb(<?php echo $colortextlink; ?>);
  4463. }
  4464. /* Error message */
  4465. div.error {
  4466. border-<?php print $left; ?>: solid 5px #f28787;
  4467. padding-top: 8px;
  4468. padding-left: 10px;
  4469. padding-right: 4px;
  4470. padding-bottom: 8px;
  4471. margin: 0.5em 0em 0.5em 0em;
  4472. background: #EFCFCF;
  4473. }
  4474. /*
  4475. * Liens Payes/Non payes
  4476. */
  4477. a.normal:link { font-weight: normal }
  4478. a.normal:visited { font-weight: normal }
  4479. a.normal:active { font-weight: normal }
  4480. a.normal:hover { font-weight: normal }
  4481. a.impayee:link { font-weight: bold; color: #550000; }
  4482. a.impayee:visited { font-weight: bold; color: #550000; }
  4483. a.impayee:active { font-weight: bold; color: #550000; }
  4484. a.impayee:hover { font-weight: bold; color: #550000; }
  4485. /*
  4486. * External web site
  4487. */
  4488. .framecontent {
  4489. width: 100%;
  4490. height: 100%;
  4491. }
  4492. .framecontent iframe {
  4493. width: 100%;
  4494. height: 100%;
  4495. }
  4496. /*
  4497. * Other
  4498. */
  4499. .opened-dash-board-wrap {
  4500. margin-bottom: 25px;
  4501. }
  4502. div.boximport {
  4503. min-height: unset;
  4504. }
  4505. .product_line_stock_ok { color: #002200; }
  4506. .product_line_stock_too_low { color: #884400; }
  4507. .fieldrequired { font-weight: bold; color: #000055; }
  4508. td.widthpictotitle, .table-fiche-title img.widthpictotitle { width: 32px; font-size: 1.4em; text-align: <?php echo $left; ?>; }
  4509. table.titlemodulehelp tr td img.widthpictotitle { width: 80px; }
  4510. .dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
  4511. .dolgraphtitlecssboxes { /* margin: 0px; */ }
  4512. .dolgraphchart canvas {
  4513. /* width: calc(100% - 20px) !important; */
  4514. }
  4515. .legendColorBox, .legendLabel { border: none !important; }
  4516. div.dolgraph div.legend, div.dolgraph div.legend div { background-color: rgba(255,255,255,0) !important; }
  4517. div.dolgraph div.legend table tbody tr { height: auto; }
  4518. td.legendColorBox { padding: 2px 2px 2px 0 !important; }
  4519. td.legendLabel { padding: 2px 2px 2px 0 !important; }
  4520. td.legendLabel {
  4521. text-align: <?php echo $left; ?>;
  4522. }
  4523. label.radioprivate {
  4524. white-space: nowrap;
  4525. }
  4526. .photo {
  4527. border: 0px;
  4528. }
  4529. .photowithmargin {
  4530. /* margin-bottom: 2px;
  4531. margin-top: 2px; */
  4532. }
  4533. div.divphotoref > img.photowithmargin, div.divphotoref > a > .photowithmargin { /* Margin right for photo not inside a div.photoref frame only */
  4534. margin-right: 15px;
  4535. }
  4536. .photowithborder {
  4537. border: 1px solid #f0f0f0;
  4538. }
  4539. .photointooltip {
  4540. margin-top: 8px;
  4541. margin-bottom: 6px;
  4542. text-align: center !important;
  4543. }
  4544. .photodelete {
  4545. margin-top: 6px !important;
  4546. }
  4547. .logo_setup
  4548. {
  4549. content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/logo_setup.svg', 1) ?>); /* content is used to best fit the container */
  4550. display: inline-block;
  4551. opacity: 0.2;
  4552. }
  4553. .nographyet
  4554. {
  4555. content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nographyet.svg', 1) ?>);
  4556. display: inline-block;
  4557. opacity: 0.1;
  4558. background-repeat: no-repeat;
  4559. }
  4560. .nographyettext
  4561. {
  4562. opacity: 0.5;
  4563. }
  4564. div.titre {
  4565. font-size: 14px;
  4566. text-decoration: none;
  4567. padding-top: 5px;
  4568. padding-bottom: 5px;
  4569. text-transform: uppercase;
  4570. /* text-shadow: 1px 1px 2px #FFFFFF; */
  4571. }
  4572. div.titre.small {
  4573. font-size: 1em;
  4574. }
  4575. div.titre {
  4576. color: var(--colortexttitlenotab);
  4577. }
  4578. .secondary {
  4579. color: var(--colortexttitlenotab);
  4580. }
  4581. .tertiary {
  4582. color: var(--colortexttitlenotab2);
  4583. }
  4584. table.centpercent.notopnoleftnoright.table-fiche-title {
  4585. margin-bottom: 10px !important;
  4586. }
  4587. table.table-fiche-title .col-title div.titre, .col-right .btnTitle-icon {
  4588. line-height: 40px;
  4589. }
  4590. div.backgreypublicpayment { background-color: #f0f0f0; padding: 20px; border-bottom: 1px solid #ddd; }
  4591. .backgreypublicpayment a { color: #222 !important; }
  4592. .poweredbypublicpayment {
  4593. float: right;
  4594. top: 8px;
  4595. right: 8px;
  4596. position: absolute;
  4597. font-size: 0.8em;
  4598. color: #222;
  4599. opacity: 0.3;
  4600. }
  4601. span.buttonpaymentsmall {
  4602. text-shadow: none;
  4603. }
  4604. #dolpublictable {
  4605. min-width: 300px; font-size: 16px;
  4606. padding: 6px;
  4607. }
  4608. #dolpaymenttable {
  4609. min-width: 320px; font-size: 16px;
  4610. } /* Width must have min to make stripe input area visible. Lower than 320 makes input area crazy for credit card that need zip code */
  4611. #tablepublicpayment { border: 1px solid #CCCCCC !important; width: 100%; padding: 20px; margin-bottom: 20px; }
  4612. #tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
  4613. #tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
  4614. #tablepublicpayment tr.liste_total td { border-top: none; }
  4615. .divmainbodylarge { margin-left: 40px; margin-right: 40px; }
  4616. .publicnewmemberform div.titre { font-size: 2em; }
  4617. #divsubscribe { max-width: 900px; }
  4618. #divsubscribe .eventlabel { font-size: 1.5em; }
  4619. #tablesubscribe { width: 100%; }
  4620. #tablesubscribe tr td { font-size: 1.15em; }
  4621. #tablesubscribe .price-registration { font-size: 1.5em; }
  4622. div#card-element {
  4623. border: 1px solid #ccc;
  4624. }
  4625. div#card-errors {
  4626. color: #fa755a;
  4627. text-align: center;
  4628. padding-top: 3px;
  4629. /* max-width: 320px; */
  4630. }
  4631. /*
  4632. * Effect Postit
  4633. */
  4634. .effectpostit
  4635. {
  4636. position: relative;
  4637. }
  4638. .effectpostit:before, .effectpostit:after
  4639. {
  4640. z-index: -1;
  4641. position: absolute;
  4642. content: "";
  4643. bottom: 15px;
  4644. left: 10px;
  4645. width: 50%;
  4646. top: 80%;
  4647. max-width:300px;
  4648. background: #777;
  4649. -webkit-box-shadow: 0 15px 10px #777;
  4650. box-shadow: 0 15px 10px #777;
  4651. -webkit-transform: rotate(-3deg);
  4652. -moz-transform: rotate(-3deg);
  4653. -o-transform: rotate(-3deg);
  4654. -ms-transform: rotate(-3deg);
  4655. transform: rotate(-3deg);
  4656. }
  4657. .effectpostit:after
  4658. {
  4659. -webkit-transform: rotate(3deg);
  4660. -moz-transform: rotate(3deg);
  4661. -o-transform: rotate(3deg);
  4662. -ms-transform: rotate(3deg);
  4663. transform: rotate(3deg);
  4664. right: 10px;
  4665. left: auto;
  4666. }
  4667. /* ============================================================================== */
  4668. /* Formulaire confirmation (When Ajax JQuery is used) and Dialog popups */
  4669. /* ============================================================================== */
  4670. .ui-dialog-titlebar {
  4671. }
  4672. .ui-dialog-content {
  4673. font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?> !important;
  4674. }
  4675. .ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable {
  4676. z-index: 1005 !important; /* Default 101 with ui-jquery, top menu have a z-index of 1000 */
  4677. }
  4678. div#dialogforpopup {
  4679. background-color: #f8f8f8 !important;
  4680. }
  4681. /* ============================================================================== */
  4682. /* For content of image preview */
  4683. /* ============================================================================== */
  4684. /*
  4685. .ui-dialog-content.ui-widget-content > object {
  4686. max-height: none;
  4687. width: auto; margin-left: auto; margin-right: auto; display: block;
  4688. }
  4689. */
  4690. /* ============================================================================== */
  4691. /* Formulaire confirmation (When HTML is used) */
  4692. /* ============================================================================== */
  4693. table.valid {
  4694. /* border-top: solid 1px #E6E6E6; */
  4695. border-<?php print $left; ?>: solid 5px #f2cf87;
  4696. /* border-<?php print $right; ?>: solid 1px #444444;
  4697. border-bottom: solid 1px #555555; */
  4698. padding-top: 8px;
  4699. padding-left: 10px;
  4700. padding-right: 4px;
  4701. padding-bottom: 4px;
  4702. margin: 0px 0px;
  4703. background: #fcf8e3;
  4704. }
  4705. .validtitre {
  4706. font-weight: bold;
  4707. }
  4708. /* ============================================================================== */
  4709. /* Tooltips */
  4710. /* ============================================================================== */
  4711. /* For tooltip using dialog */
  4712. .ui-dialog.highlight.ui-widget.ui-widget-content.ui-front {
  4713. z-index: 3000;
  4714. }
  4715. div.ui-tooltip {
  4716. max-width: <?php print dol_size(600, 'width'); ?>px !important;
  4717. }
  4718. div.ui-tooltip.mytooltip {
  4719. width: <?php print dol_size(450, 'width'); ?>px;
  4720. border-top: solid 1px #BBBBBB;
  4721. border-<?php print $left; ?>: solid 1px #BBBBBB;
  4722. border-<?php print $right; ?>: solid 1px #444444;
  4723. border-bottom: solid 1px #444444;
  4724. padding: 10px 20px;
  4725. border-radius: 0;
  4726. box-shadow: 0 0 4px grey;
  4727. margin: 2px;
  4728. font-stretch: condensed;
  4729. /*background: var(--tooltipbgcolor) !important;
  4730. color : var(--tooltipfontcolor);*/
  4731. line-height: 1.6em;
  4732. min-width: 550px;
  4733. }
  4734. @media only screen and (max-width: 768px)
  4735. {
  4736. div.ui-tooltip.mytooltip {
  4737. max-width: 400px;
  4738. }
  4739. }
  4740. @media only screen and (max-width: 480px)
  4741. {
  4742. div.ui-tooltip.mytooltip {
  4743. max-width: 300px;
  4744. }
  4745. }
  4746. @media only screen and (max-width: 320px)
  4747. {
  4748. div.ui-tooltip.mytooltip {
  4749. max-width: 230px;
  4750. }
  4751. }
  4752. /* ============================================================================== */
  4753. /* Calendar */
  4754. /* ============================================================================== */
  4755. .ui-datepicker-calendar .ui-state-default, .ui-datepicker-calendar .ui-widget-content .ui-state-default,
  4756. .ui-datepicker-calendar .ui-widget-header .ui-state-default, .ui-datepicker-calendar .ui-button,
  4757. html .ui-datepicker-calendar .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active
  4758. {
  4759. border: unset;
  4760. }
  4761. img.datecallink { padding-left: 2px !important; padding-right: 2px !important; }
  4762. .ui-datepicker-trigger {
  4763. vertical-align: middle;
  4764. cursor: pointer;
  4765. padding-left: 2px;
  4766. padding-right: 2px;
  4767. }
  4768. .bodyline {
  4769. -webkit-border-radius: 4px;
  4770. border-radius: 4px;
  4771. border: 1px #E4ECEC outset;
  4772. padding: 0px;
  4773. margin-bottom: 5px;
  4774. }
  4775. table.dp {
  4776. width: 180px;
  4777. background-color: #FFFFFF;
  4778. /*border-top: solid 2px #f4f4f4;
  4779. border-<?php print $left; ?>: solid 2px #f4f4f4;
  4780. border-<?php print $right; ?>: solid 1px #222222;
  4781. border-bottom: solid 1px #222222; */
  4782. padding: 0px;
  4783. border-spacing: 0px;
  4784. border-collapse: collapse;
  4785. }
  4786. .dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
  4787. /* Barre titre */
  4788. .dpHead,.tpHead,.tpHour td:Hover .tpHead{
  4789. font-weight:bold;
  4790. background-color: #888;
  4791. color:white;
  4792. font-size:11px;
  4793. cursor:auto;
  4794. }
  4795. /* Barre navigation */
  4796. .dpButtons,.tpButtons {
  4797. text-align:center;
  4798. background-color: #888;
  4799. color:#FFFFFF;
  4800. font-weight:bold;
  4801. cursor:pointer;
  4802. }
  4803. .dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
  4804. .dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
  4805. .dpExplanation{ font-weight:normal; font-size:11px;}
  4806. .dpWeek td{text-align:center}
  4807. .dpToday,.dpReg,.dpSelected{
  4808. cursor:pointer;
  4809. }
  4810. .dpToday{font-weight:bold; color:black; background-color:#f4f4f4;}
  4811. .dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
  4812. /* Jour courant */
  4813. .dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
  4814. .tpHour{border-top:1px solid #f4f4f4; border-right:1px solid #f4f4f4;}
  4815. .tpHour td {border-left:1px solid #f4f4f4; border-bottom:1px solid #f4f4f4; cursor:pointer;}
  4816. .tpHour td:Hover {background-color:black;color:white;}
  4817. .tpMinute {margin-top:5px;}
  4818. .tpMinute td:Hover {background-color:black; color:white; }
  4819. .tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
  4820. /* Bouton X fermer */
  4821. .dpInvisibleButtons
  4822. {
  4823. border-style:none;
  4824. background-color:transparent;
  4825. padding:0px;
  4826. font-size: 0.85em;
  4827. border-width:0px;
  4828. color: #eee;
  4829. vertical-align:middle;
  4830. cursor: pointer;
  4831. }
  4832. .datenowlink {
  4833. color: rgb(<?php print $colortextlink; ?>);
  4834. font-size: 0.8em;
  4835. opacity: 0.7;
  4836. }
  4837. .categtextwhite, .treeview .categtextwhite.hover {
  4838. color: #fff !important;
  4839. }
  4840. .categtextblack {
  4841. color: #000 !important;
  4842. }
  4843. /* ============================================================================== */
  4844. /* Show/Hide */
  4845. /* ============================================================================== */
  4846. div.visible {
  4847. display: block;
  4848. }
  4849. div.hidden, header.hidden, tr.hidden, td.hidden, img.hidden, span.hidden, div.showifmore {
  4850. display: none;
  4851. }
  4852. .unvisible {
  4853. visibility: hidden;
  4854. }
  4855. tr.visible {
  4856. display: block;
  4857. }
  4858. /* ============================================================================== */
  4859. /* Module website */
  4860. /* ============================================================================== */
  4861. .previewnotyetavailable {
  4862. opacity: 0.5;
  4863. }
  4864. .websiteformtoolbar {
  4865. position: sticky;
  4866. top: <?php echo empty($dol_hide_topmenu) ? ($disableimages ? '36px' : '50px') : '0'; ?>;
  4867. z-index: 1002; /* Dolibarr menu is 1001, Website menu is 1002 */
  4868. }
  4869. .exampleapachesetup {
  4870. overflow-y: auto;
  4871. max-height: 100px;
  4872. font-size: 0.8em;
  4873. border: 1px solid #aaa;
  4874. }
  4875. span[phptag] {
  4876. background: #ddd; border: 1px solid #ccc; border-radius: 4px;
  4877. }
  4878. .nobordertransp {
  4879. border: 0px;
  4880. background-color: transparent;
  4881. background-image: none;
  4882. color: #000 !important;
  4883. text-shadow: none;
  4884. }
  4885. .bordertransp:not(.nobordertransp) {
  4886. background-color: transparent;
  4887. background-image: none;
  4888. border: 1px solid #aaa;
  4889. font-weight: normal;
  4890. color: #444 !important;
  4891. }
  4892. .websitebar .button.bordertransp {
  4893. color: unset;
  4894. text-decoration: unset !important;
  4895. /* margin: 0px 4px 0px 4px !important */
  4896. }
  4897. .websitebar {
  4898. border-bottom: 1px solid #ccc;
  4899. background: #eee;
  4900. display: inline-block;
  4901. padding: 5px 5px 5px 5px;
  4902. }
  4903. .centpercent.websitebar {
  4904. width: calc(100% - 10px);
  4905. font-size: 0.94em;
  4906. }
  4907. .websitebar .buttonDelete, .websitebar .button {
  4908. text-shadow: none;
  4909. }
  4910. .websitebar .button, .websitebar .buttonDelete
  4911. {
  4912. padding: 2px 4px 2px 4px !important;
  4913. margin: 2px 4px 2px 4px !important;
  4914. line-height: normal;
  4915. }
  4916. .websitebar input.button.bordertransp, .websitebar input.buttonDelete.bordertransp {
  4917. color: #444 !important;
  4918. text-shadow: none;
  4919. }
  4920. .websiteselection {
  4921. /* display: inline-block; */
  4922. padding-<?php echo $right; ?>: 10px;
  4923. vertical-align: middle;
  4924. }
  4925. .websitetools {
  4926. float: right;
  4927. }
  4928. .websiteselection, .websitetools {
  4929. /* margin-top: 3px;
  4930. padding-top: 3px;
  4931. padding-bottom: 3px; */
  4932. }
  4933. .websiteinputurl {
  4934. display: inline-block;
  4935. vertical-align: top;
  4936. line-height: 26px;
  4937. }
  4938. .websiteiframenoborder {
  4939. border: 0px;
  4940. }
  4941. span.websitebuttonsitepreview, a.websitebuttonsitepreview {
  4942. vertical-align: middle;
  4943. }
  4944. span.websitebuttonsitepreview img, a.websitebuttonsitepreview img {
  4945. width: 26px;
  4946. display: inline-block;
  4947. }
  4948. span.websitebuttonsitepreviewdisabled img, a.websitebuttonsitepreviewdisabled img {
  4949. opacity: 0.2;
  4950. }
  4951. .websiteiframenoborder {
  4952. border: 0px;
  4953. }
  4954. .websitehelp {
  4955. vertical-align: middle;
  4956. float: right;
  4957. padding-top: 5px;
  4958. }
  4959. .websiteselectionsection {
  4960. border-left: 1px solid #bbb;
  4961. border-right: 1px solid #bbb;
  4962. margin-left: 0px;
  4963. padding-left: 8px;
  4964. margin-right: 5px;
  4965. }
  4966. .websitebar input#previewpageurl {
  4967. line-height: 1em;
  4968. }
  4969. #divbodywebsite section p {
  4970. margin: unset;
  4971. }
  4972. /* ============================================================================== */
  4973. /* Module agenda */
  4974. /* ============================================================================== */
  4975. .dayevent .tagtr:first-of-type {
  4976. height: 24px;
  4977. }
  4978. .agendacell { height: 60px; }
  4979. table.cal_month { border-spacing: 0px; }
  4980. table.cal_month td:first-child { border-left: 0px; }
  4981. table.cal_month td:last-child { border-right: 0px; }
  4982. .cal_current_month { border-top: 0; border-left: solid 1px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
  4983. .cal_current_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
  4984. .cal_current_month_oneday { border-right: solid 1px #E0E0E0; }
  4985. .cal_other_month { border-top: 0; border-left: solid 1px #C0C0C0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
  4986. .cal_other_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B !important; border-right: 0; }
  4987. .cal_current_month_right { border-right: solid 1px #E0E0E0; }
  4988. .cal_other_month_right { border-right: solid 1px #C0C0C0; }
  4989. .cal_other_month { /* opacity: 0.6; */ background: #EAEAEA; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  4990. .cal_past_month { /* opacity: 0.6; */ background: #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
  4991. .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; }
  4992. .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; }
  4993. .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; }
  4994. .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; }
  4995. .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; }
  4996. .cal_past { }
  4997. .cal_peruser { padding: 0px; }
  4998. .cal_impair { background: #F8F8F8; }
  4999. .cal_today_peruser_impair { background: #F8F8F0; }
  5000. .peruser_busy { background: #CC8888; }
  5001. .peruser_notbusy { background: #EEDDDD; opacity: 0.5; }
  5002. div.event { margin: 8px; border-radius: 4px; box-shadow: 2px 2px 5px rgba(100, 100, 100, 0.2); }
  5003. table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; -webkit-border-radius: 3px; border-radius: 3px; min-height: 20px; }
  5004. table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
  5005. table.cal_event td.cal_event { padding: 4px 4px !important; padding-bottom: 2px !important; padding-top: 2px !important; }
  5006. table.cal_event td.cal_event_right { padding: 4px 4px !important; }
  5007. .cal_event { font-size: 1em; }
  5008. .cal_event a:link { color: #111111; font-weight: normal !important; }
  5009. .cal_event a:visited { color: #111111; font-weight: normal !important; }
  5010. .cal_event a:active { color: #111111; font-weight: normal !important; }
  5011. .cal_event_busy a:hover { color: #111111; font-weight: normal !important; color:rgba(255,255,255,.75); }
  5012. .cal_event_busy { }
  5013. .cal_peruserviewname { max-width: 140px; height: 22px; }
  5014. .calendarviewcontainertr { height: 100px; }
  5015. .topmenuimage {
  5016. background-size: 24px auto;
  5017. }
  5018. td.cal_other_month {
  5019. opacity: 0.8;
  5020. }
  5021. /* ============================================================================== */
  5022. /* Ajax - Combo list for autocompletion */
  5023. /* ============================================================================== */
  5024. .ui-widget-content {
  5025. border: solid 1px rgba(0,0,0,.3);
  5026. background: var(--colorbackbody) !important;
  5027. color: var(--colortext) !important;
  5028. }
  5029. .ui-autocomplete-loading { background: white url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/working.gif', 1) ?>) right center no-repeat; }
  5030. .ui-autocomplete {
  5031. position:absolute;
  5032. width:auto;
  5033. font-size: 1.0em;
  5034. background-color:white;
  5035. border:1px solid #888;
  5036. margin:0px;
  5037. /* padding:0px; This make combo crazy */
  5038. }
  5039. .ui-autocomplete ul {
  5040. list-style-type:none;
  5041. margin:0px;
  5042. padding:0px;
  5043. }
  5044. .ui-autocomplete ul li.selected { background-color: #D3E5EC;}
  5045. .ui-autocomplete ul li {
  5046. list-style-type:none;
  5047. display:block;
  5048. margin:0;
  5049. padding:2px;
  5050. height:18px;
  5051. cursor:pointer;
  5052. }
  5053. /* ============================================================================== */
  5054. /* Gantt
  5055. /* ============================================================================== */
  5056. td.gtaskname {
  5057. overflow: hidden;
  5058. text-overflow: ellipsis;
  5059. }
  5060. /* ============================================================================== */
  5061. /* jQuery - jeditable for inline edit */
  5062. /* ============================================================================== */
  5063. .editkey_textarea, .editkey_ckeditor, .editkey_string, .editkey_email, .editkey_numeric, .editkey_select, .editkey_autocomplete {
  5064. background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png', 1) ?>) right top no-repeat;
  5065. cursor: pointer;
  5066. margin-right: 3px;
  5067. margin-top: 3px;
  5068. }
  5069. .editkey_datepicker {
  5070. background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png', 1) ?>) right center no-repeat;
  5071. cursor: pointer;
  5072. margin-right: 3px;
  5073. margin-top: 3px;
  5074. }
  5075. .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 {
  5076. background: white;
  5077. cursor: pointer;
  5078. }
  5079. .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 {
  5080. background: white;
  5081. cursor: pointer;
  5082. }
  5083. .viewval_hover {
  5084. background: white;
  5085. }
  5086. /* ============================================================================== */
  5087. /* Admin Menu */
  5088. /* ============================================================================== */
  5089. /* CSS for treeview */
  5090. .treeview ul { background-color: transparent !important; margin-top: 0 !important; /* margin-bottom: 4px !important; padding-top: 2px !important; */ }
  5091. .treeview li { background-color: transparent !important; padding: 0 0 0 20px !important; min-height: 30px; }
  5092. .treeview .hitarea { width: 20px !important; margin-left: -20px !important; margin-top: 3px; }
  5093. .treeview li table { min-height: 30px; }
  5094. .treeview .hover { color: var(--colortextlink) !important; text-decoration: underline !important; }
  5095. /* ============================================================================== */
  5096. /* Show Excel tabs */
  5097. /* ============================================================================== */
  5098. .table_data
  5099. {
  5100. border-style:ridge;
  5101. border:1px solid;
  5102. }
  5103. .tab_base
  5104. {
  5105. background:#C5D0DD;
  5106. font-weight:bold;
  5107. border-style:ridge;
  5108. border: 1px solid;
  5109. cursor:pointer;
  5110. }
  5111. .table_sub_heading
  5112. {
  5113. background:#CCCCCC;
  5114. font-weight:bold;
  5115. border-style:ridge;
  5116. border: 1px solid;
  5117. }
  5118. .table_body
  5119. {
  5120. background:#F0F0F0;
  5121. font-weight:normal;
  5122. font-family:sans-serif;
  5123. border-style:ridge;
  5124. border: 1px solid;
  5125. border-spacing: 0px;
  5126. border-collapse: collapse;
  5127. }
  5128. .tab_loaded
  5129. {
  5130. background:#222222;
  5131. color:white;
  5132. font-weight:bold;
  5133. border-style:groove;
  5134. border: 1px solid;
  5135. cursor:pointer;
  5136. }
  5137. /* ============================================================================== */
  5138. /* CSS for color picker */
  5139. /* ============================================================================== */
  5140. A.color, A.color:active, A.color:visited {
  5141. position : relative;
  5142. display : block;
  5143. text-decoration : none;
  5144. width : 10px;
  5145. height : 10px;
  5146. line-height : 10px;
  5147. margin : 0px;
  5148. padding : 0px;
  5149. border : 1px inset white;
  5150. }
  5151. A.color:hover {
  5152. border : 1px outset white;
  5153. }
  5154. A.none, A.none:active, A.none:visited, A.none:hover {
  5155. position : relative;
  5156. display : block;
  5157. text-decoration : none;
  5158. width : 10px;
  5159. height : 10px;
  5160. line-height : 10px;
  5161. margin : 0px;
  5162. padding : 0px;
  5163. cursor : default;
  5164. border : 1px solid #b3c5cc;
  5165. }
  5166. .tblColor {
  5167. display : none;
  5168. }
  5169. .tdColor {
  5170. padding : 1px;
  5171. }
  5172. .tblContainer {
  5173. background-color : #b3c5cc;
  5174. }
  5175. .tblGlobal {
  5176. position : absolute;
  5177. top : 0px;
  5178. left : 0px;
  5179. display : none;
  5180. background-color : #b3c5cc;
  5181. border : 2px outset;
  5182. }
  5183. .tdContainer {
  5184. padding : 5px;
  5185. }
  5186. .tdDisplay {
  5187. width : 50%;
  5188. height : 20px;
  5189. line-height : 20px;
  5190. border : 1px outset white;
  5191. }
  5192. .tdDisplayTxt {
  5193. width : 50%;
  5194. height : 24px;
  5195. line-height : 12px;
  5196. font-family : <?php print $fontlist ?>;
  5197. font-size : 8pt;
  5198. color : black;
  5199. text-align : center;
  5200. }
  5201. .btnColor {
  5202. width : 100%;
  5203. font-family : <?php print $fontlist ?>;
  5204. font-size : 10pt;
  5205. padding : 0px;
  5206. margin : 0px;
  5207. }
  5208. .btnPalette {
  5209. width : 100%;
  5210. font-family : <?php print $fontlist ?>;
  5211. font-size : 8pt;
  5212. padding : 0px;
  5213. margin : 0px;
  5214. }
  5215. /* Style to overwrites JQuery styles */
  5216. .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
  5217. border: 1px solid #888;
  5218. background: rgb(<?php echo $colorbacktitle1; ?>);
  5219. color: unset;
  5220. }
  5221. .ui-menu .ui-menu-item a {
  5222. text-decoration:none;
  5223. display:block;
  5224. padding:.2em .4em;
  5225. line-height:1.5;
  5226. font-weight: normal;
  5227. font-family:<?php echo $fontlist; ?>;
  5228. font-size:1em;
  5229. }
  5230. .ui-widget {
  5231. font-family:<?php echo $fontlist; ?>;
  5232. }
  5233. .ui-button { margin-left: -2px; <?php print (preg_match('/chrome/', $conf->browser->name) ? 'padding-top: 1px;' : ''); ?> }
  5234. .ui-button-icon-only .ui-button-text { height: 8px; }
  5235. .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
  5236. .ui-button-text
  5237. {
  5238. line-height: 1em !important;
  5239. }
  5240. .ui-autocomplete-input { margin: 0; padding: 4px; }
  5241. /* ============================================================================== */
  5242. /* CKEditor */
  5243. /* ============================================================================== */
  5244. body.cke_show_borders {
  5245. margin: 5px !important;
  5246. }
  5247. .cke_dialog {
  5248. border: 1px #bbb solid ! important;
  5249. }
  5250. /*.cke_editor table, .cke_editor tr, .cke_editor td
  5251. {
  5252. border: 0px solid #FF0000 !important;
  5253. }
  5254. span.cke_skin_kama { padding: 0 !important; }*/
  5255. .cke_wrapper { padding: 4px !important; }
  5256. a.cke_dialog_ui_button
  5257. {
  5258. font-family: <?php print $fontlist ?> !important;
  5259. background-image: url(<?php echo $img_button ?>) !important;
  5260. background-position: bottom !important;
  5261. border: 1px solid #C0C0C0 !important;
  5262. -webkit-border-radius:0px 2px 0px 2px !important;
  5263. border-radius:0px 2px 0px 2px !important;
  5264. -webkit-box-shadow: 3px 3px 4px #f4f4f4 !important;
  5265. box-shadow: 3px 3px 4px #f4f4f4 !important;
  5266. }
  5267. .cke_dialog_ui_hbox_last
  5268. {
  5269. vertical-align: bottom !important;
  5270. }
  5271. .cke_dialog_ui_hbox_last
  5272. {
  5273. vertical-align: bottom !important;
  5274. }
  5275. .cke_combo_text {
  5276. width: 40px !important;
  5277. }
  5278. /*
  5279. .cke_editable
  5280. {
  5281. line-height: 1.4 !important;
  5282. margin: 6px !important;
  5283. }
  5284. */
  5285. a.cke_dialog_ui_button_ok span {
  5286. text-shadow: none !important;
  5287. color: #333 !important;
  5288. }
  5289. /* ============================================================================== */
  5290. /* ACE editor */
  5291. /* ============================================================================== */
  5292. .ace_editor {
  5293. border: 1px solid #ddd;
  5294. margin: 0;
  5295. }
  5296. .aceeditorstatusbar {
  5297. margin: 0;
  5298. padding: 0;
  5299. padding-<?php echo $left; ?>: 10px;
  5300. left: 0;
  5301. right: 0;
  5302. bottom: 0;
  5303. color: #666;
  5304. height: 28px;
  5305. line-height: 2.2em;
  5306. }
  5307. .ace_status-indicator {
  5308. color: gray;
  5309. position: relative;
  5310. right: 0;
  5311. border-left: 1px solid;
  5312. }
  5313. pre#editfilecontentaceeditorid {
  5314. margin-top: 5px;
  5315. }
  5316. /* ============================================================================== */
  5317. /* File upload */
  5318. /* ============================================================================== */
  5319. .template-upload {
  5320. height: 72px !important;
  5321. }
  5322. /* ============================================================================== */
  5323. /* Custom reports */
  5324. /* ============================================================================== */
  5325. .customreportsoutput, .customreportsoutputnotdata {
  5326. padding-top: 20px;
  5327. }
  5328. .customreportsoutputnotdata {
  5329. text-align: center;
  5330. }
  5331. /* ============================================================================== */
  5332. /* Holiday */
  5333. /* ============================================================================== */
  5334. #types .btn {
  5335. cursor: pointer;
  5336. }
  5337. #types .btn-primary {
  5338. font-weight: bold;
  5339. }
  5340. #types form {
  5341. padding: 20px;
  5342. }
  5343. #types label {
  5344. display:inline-block;
  5345. width:100px;
  5346. margin-right: 20px;
  5347. padding: 4px;
  5348. text-align: right;
  5349. vertical-align: top;
  5350. }
  5351. #types input.text, #types textarea {
  5352. width: 400px;
  5353. }
  5354. #types textarea {
  5355. height: 100px;
  5356. }
  5357. /* ============================================================================== */
  5358. /* Comments */
  5359. /* ============================================================================== */
  5360. #comment div {
  5361. box-sizing:border-box;
  5362. }
  5363. #comment .comment {
  5364. border-radius:7px;
  5365. margin-bottom:10px;
  5366. overflow:hidden;
  5367. }
  5368. #comment .comment-table {
  5369. display:table;
  5370. height:100%;
  5371. }
  5372. #comment .comment-cell {
  5373. display:table-cell;
  5374. }
  5375. #comment .comment-info {
  5376. font-size:0.8em;
  5377. border-right:1px solid #dedede;
  5378. margin-right:10px;
  5379. width:160px;
  5380. text-align:center;
  5381. background:rgba(255,255,255,0.5);
  5382. vertical-align:middle;
  5383. padding:10px 2px;
  5384. }
  5385. #comment .comment-info a {
  5386. color:inherit;
  5387. }
  5388. #comment .comment-right {
  5389. vertical-align:top;
  5390. }
  5391. #comment .comment-description {
  5392. padding:10px;
  5393. vertical-align:top;
  5394. }
  5395. #comment .comment-delete {
  5396. width: 100px;
  5397. text-align:center;
  5398. vertical-align:middle;
  5399. }
  5400. #comment .comment-delete:hover {
  5401. background:rgba(250,20,20,0.8);
  5402. }
  5403. #comment .comment-edit {
  5404. width: 100px;
  5405. text-align:center;
  5406. vertical-align:middle;
  5407. }
  5408. #comment .comment-edit:hover {
  5409. background:rgba(0,184,148,0.8);
  5410. }
  5411. #comment textarea {
  5412. width: 100%;
  5413. }
  5414. /* ============================================================================== */
  5415. /* JSGantt */
  5416. /* ============================================================================== */
  5417. div.scroll2 {
  5418. width: <?php print isset($_SESSION['dol_screenwidth']) ?max((int) $_SESSION['dol_screenwidth'] - 830, 450) : '450'; ?>px !important;
  5419. }
  5420. div#GanttChartDIVglisthead, div#GanttChartDIVgcharthead {
  5421. line-height: 2;
  5422. }
  5423. .gtaskname div, .gtaskname, .gstartdate div, .gstartdate, .genddate div, .genddate {
  5424. font-size: unset !important;
  5425. }
  5426. div.gantt, .gtaskheading, .gmajorheading, .gminorheading, .gminorheadingwkend {
  5427. font-size: unset !important;
  5428. font-weight: normal !important;
  5429. color: #000 !important;
  5430. }
  5431. div.gTaskInfo {
  5432. background: #f0f0f0 !important;
  5433. }
  5434. .gtaskblue {
  5435. background: rgb(108,152,185) !important;
  5436. }
  5437. .gtaskgreen {
  5438. background: rgb(160,173,58) !important;
  5439. }
  5440. td.gtaskname {
  5441. overflow: hidden;
  5442. text-overflow: ellipsis;
  5443. }
  5444. td.gminorheadingwkend {
  5445. color: #888 !important;
  5446. }
  5447. td.gminorheading {
  5448. color: #666 !important;
  5449. }
  5450. .glistlbl, .glistgrid {
  5451. width: 582px !important;
  5452. }
  5453. .gtaskname div, .gtaskname {
  5454. min-width: 250px !important;
  5455. max-width: 250px !important;
  5456. width: 250px !important;
  5457. }
  5458. .gpccomplete div, .gpccomplete {
  5459. min-width: 40px !important;
  5460. max-width: 40px !important;
  5461. width: 40px !important;
  5462. }
  5463. td.gtaskheading.gstartdate, td.gtaskheading.genddate {
  5464. white-space: break-spaces;
  5465. }
  5466. .gtasktableh tr:nth-child(2) td:nth-child(2), .gtasktableh tr:nth-child(2) td:nth-child(3), .gtasktableh tr:nth-child(2) td:nth-child(4), .gtasktableh tr:nth-child(2) td:nth-child(5), .gtasktableh tr:nth-child(2) td:nth-child(6), .gtasktableh tr:nth-child(2) td:nth-child(7) {
  5467. color: transparent !important;
  5468. border-left: none;
  5469. border-right: none;
  5470. border-top: none;
  5471. }
  5472. /* ============================================================================== */
  5473. /* jFileTree */
  5474. /* ============================================================================== */
  5475. .ecmfiletree {
  5476. width: 99%;
  5477. height: 99%;
  5478. padding-left: 2px;
  5479. font-weight: normal;
  5480. }
  5481. .fileview {
  5482. width: 99%;
  5483. height: 99%;
  5484. background: #FFF;
  5485. padding-left: 2px;
  5486. padding-top: 4px;
  5487. font-weight: normal;
  5488. }
  5489. div.filedirelem {
  5490. position: relative;
  5491. display: block;
  5492. text-decoration: none;
  5493. }
  5494. ul.filedirelem {
  5495. padding: 2px;
  5496. margin: 0 5px 5px 5px;
  5497. }
  5498. ul.filedirelem li {
  5499. list-style: none;
  5500. padding: 2px;
  5501. margin: 0 10px 20px 10px;
  5502. width: 160px;
  5503. height: 120px;
  5504. text-align: center;
  5505. display: block;
  5506. float: <?php print $left; ?>;
  5507. border: solid 1px #f4f4f4;
  5508. }
  5509. ul.ecmjqft {
  5510. line-height: 16px;
  5511. padding: 0px;
  5512. margin: 0px;
  5513. font-weight: normal;
  5514. }
  5515. ul.ecmjqft li {
  5516. list-style: none;
  5517. padding: 0px;
  5518. padding-left: 20px;
  5519. margin: 0px;
  5520. display: block;
  5521. }
  5522. ul.ecmjqft a {
  5523. line-height: 24px;
  5524. vertical-align: middle;
  5525. color: #333;
  5526. padding: 0px 0px;
  5527. font-weight:normal;
  5528. display: inline-block !important;
  5529. }
  5530. ul.ecmjqft > a {
  5531. width: calc(100% - 100px);
  5532. overflow: hidden;
  5533. white-space: break-spaces;
  5534. word-break: break-all;
  5535. }
  5536. ul.ecmjqft a:active {
  5537. font-weight: bold !important;
  5538. }
  5539. ul.ecmjqft a:hover {
  5540. text-decoration: underline;
  5541. }
  5542. div.ecmjqft {
  5543. vertical-align: middle;
  5544. display: inline-block !important;
  5545. text-align: right;
  5546. float: right;
  5547. right:4px;
  5548. clear: both;
  5549. }
  5550. div#ecm-layout-west {
  5551. width: 380px;
  5552. vertical-align: top;
  5553. }
  5554. div#ecm-layout-center {
  5555. width: calc(100% - 390px);
  5556. vertical-align: top;
  5557. float: right;
  5558. }
  5559. .ecmjqft LI.directory { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2.png', 1); ?>) left top no-repeat; }
  5560. .ecmjqft LI.expanded { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2-expanded.png', 1); ?>) left top no-repeat; }
  5561. .ecmjqft LI.wait { font-weight:normal; background: url(<?php echo dol_buildpath('/theme/'.$theme.'/img/working.gif', 1); ?>) left top no-repeat; }
  5562. /* ============================================================================== */
  5563. /* jNotify */
  5564. /* ============================================================================== */
  5565. .jnotify-container {
  5566. position: fixed !important;
  5567. <?php if (!empty($conf->global->MAIN_JQUERY_JNOTIFY_BOTTOM)) { ?>
  5568. top: auto !important;
  5569. bottom: 4px !important;
  5570. <?php } ?>
  5571. text-align: center;
  5572. min-width: <?php echo $dol_optimize_smallscreen ? '200' : '480'; ?>px;
  5573. width: auto;
  5574. max-width: 1024px;
  5575. padding-left: 10px !important;
  5576. padding-right: 10px !important;
  5577. word-wrap: break-word;
  5578. }
  5579. .jnotify-container .jnotify-notification .jnotify-message {
  5580. font-weight: normal;
  5581. text-align: start;
  5582. word-break: break-word;
  5583. }
  5584. .jnotify-container .jnotify-notification-warning .jnotify-close, .jnotify-container .jnotify-notification-warning .jnotify-message {
  5585. color: #a28918 !important;
  5586. }
  5587. /* use or not ? */
  5588. div.jnotify-background {
  5589. opacity : 0.95 !important;
  5590. -webkit-box-shadow: 2px 2px 4px #888 !important;
  5591. box-shadow: 2px 2px 4px #888 !important;
  5592. }
  5593. /* ============================================================================== */
  5594. /* blockUI */
  5595. /* ============================================================================== */
  5596. /*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
  5597. div.dolEventValid h1, div.dolEventValid h2 {
  5598. color: #567b1b;
  5599. background-color: #e3f0db;
  5600. padding: 5px 5px 5px 5px;
  5601. text-align: left;
  5602. }
  5603. div.dolEventError h1, div.dolEventError h2 {
  5604. color: #a72947;
  5605. background-color: #d79eac;
  5606. padding: 5px 5px 5px 5px;
  5607. text-align: left;
  5608. }
  5609. /* ============================================================================== */
  5610. /* Maps */
  5611. /* ============================================================================== */
  5612. .divmap, #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, #google-visualization-geomap-embed-2 {
  5613. }
  5614. /* ============================================================================== */
  5615. /* Datatable */
  5616. /* ============================================================================== */
  5617. table.dataTable tr.odd td.sorting_1, table.dataTable tr.even td.sorting_1 {
  5618. background: none !important;
  5619. }
  5620. .sorting_asc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc.png', 1); ?>') no-repeat center right !important; }
  5621. .sorting_desc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc.png', 1); ?>') no-repeat center right !important; }
  5622. .sorting_asc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc_disabled.png', 1); ?>') no-repeat center right !important; }
  5623. .sorting_desc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc_disabled.png', 1); ?>') no-repeat center right !important; }
  5624. .dataTables_paginate {
  5625. margin-top: 8px;
  5626. }
  5627. .paginate_button_disabled {
  5628. opacity: 1 !important;
  5629. color: #888 !important;
  5630. cursor: default !important;
  5631. }
  5632. .paginate_disabled_previous:hover, .paginate_enabled_previous:hover, .paginate_disabled_next:hover, .paginate_enabled_next:hover
  5633. {
  5634. font-weight: normal;
  5635. }
  5636. .paginate_enabled_previous:hover, .paginate_enabled_next:hover
  5637. {
  5638. text-decoration: underline !important;
  5639. }
  5640. .paginate_active
  5641. {
  5642. text-decoration: underline !important;
  5643. }
  5644. .paginate_button
  5645. {
  5646. font-weight: normal !important;
  5647. text-decoration: none !important;
  5648. }
  5649. .paging_full_numbers {
  5650. height: inherit !important;
  5651. }
  5652. .paging_full_numbers a.paginate_active:hover, .paging_full_numbers a.paginate_button:hover {
  5653. background-color: #DDD !important;
  5654. }
  5655. .paging_full_numbers, .paging_full_numbers a.paginate_active, .paging_full_numbers a.paginate_button {
  5656. background-color: #FFF !important;
  5657. border-radius: inherit !important;
  5658. }
  5659. .paging_full_numbers a.paginate_button_disabled:hover, .paging_full_numbers a.disabled:hover {
  5660. background-color: #FFF !important;
  5661. }
  5662. .paginate_button, .paginate_active {
  5663. border: 1px solid #ddd !important;
  5664. padding: 6px 12px !important;
  5665. margin-left: -1px !important;
  5666. line-height: 1.42857143 !important;
  5667. margin: 0 0 !important;
  5668. }
  5669. /* For jquery plugin combobox */
  5670. /* Disable this. It breaks wrapping of boxes
  5671. .ui-corner-all { white-space: nowrap; } */
  5672. .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled, .paginate_button_disabled {
  5673. opacity: .35;
  5674. background-image: none;
  5675. }
  5676. div.dataTables_length {
  5677. float: right !important;
  5678. padding-left: 8px;
  5679. }
  5680. div.dataTables_length select {
  5681. background: #fff;
  5682. }
  5683. .dataTables_wrapper .dataTables_paginate {
  5684. padding-top: 0px !important;
  5685. }
  5686. /* ============================================================================== */
  5687. /* Select2 */
  5688. /* ============================================================================== */
  5689. span#select2-taskid-container[title^='--'] {
  5690. opacity: 0.3;
  5691. }
  5692. input.select2-input {
  5693. border-bottom: none ! important;
  5694. }
  5695. .select2-choice {
  5696. border: none;
  5697. border-bottom: 1px solid #ccc !important;
  5698. }
  5699. .select2-results .select2-highlighted.optionblue {
  5700. color: #FFF !important;
  5701. }
  5702. .select2-container .select2-selection--multiple {
  5703. min-height: 28px !important;
  5704. }
  5705. .select2-container--default .select2-selection--multiple .select2-selection__choice {
  5706. border: 1px solid #e4e4e4;
  5707. }
  5708. .blockvmenusearch .select2-container--default .select2-selection--single,
  5709. .blockvmenubookmarks .select2-container--default .select2-selection--single
  5710. {
  5711. background-color: unset;
  5712. }
  5713. .select2-container--default .select2-selection--single .select2-selection__rendered {
  5714. color: unset;
  5715. }
  5716. .select2-container .select2-choice {
  5717. border-bottom: 1px solid #ccc;
  5718. }
  5719. .select2-container .select2-choice > .select2-chosen {
  5720. margin-right: 23px;
  5721. }
  5722. .select2-container .select2-choice .select2-arrow {
  5723. border-radius: 0;
  5724. }
  5725. .select2-container-multi .select2-choices {
  5726. background-image: none;
  5727. }
  5728. .select2-container .select2-choice {
  5729. color: #000;
  5730. border-radius: 0;
  5731. }
  5732. .selectoptiondisabledwhite {
  5733. background: #FFFFFF !important;
  5734. }
  5735. .select2-arrow {
  5736. border: none;
  5737. border-left: none !important;
  5738. background: none !important;
  5739. }
  5740. .select2-choice
  5741. {
  5742. border-top: none !important;
  5743. border-left: none !important;
  5744. border-right: none !important;
  5745. border-bottom: 1px solid #ccc;
  5746. }
  5747. .select2-drop.select2-drop-above {
  5748. box-shadow: none !important;
  5749. }
  5750. .select2-container--open .select2-dropdown--above {
  5751. border-bottom: solid 1px rgba(0,0,0,.2);
  5752. }
  5753. .select2-drop.select2-drop-above.select2-drop-active {
  5754. border-top: 1px solid #ccc;
  5755. border-bottom: 1px solid #ccc;
  5756. }
  5757. .select2-container--default .select2-selection--single
  5758. {
  5759. outline: none;
  5760. border-top: none;
  5761. border-left: none;
  5762. border-right: none;
  5763. border-bottom: solid 1px rgba(0,0,0,.2);
  5764. -webkit-box-shadow: none !important;
  5765. box-shadow: none !important;
  5766. border-radius: 0 !important;
  5767. }
  5768. .select2-container--default.select2-container--focus .select2-selection--multiple {
  5769. border-top: none;
  5770. border-left: none;
  5771. border-right: none;
  5772. }
  5773. .select2-container--default .select2-selection--multiple {
  5774. border-bottom: solid 1px rgba(0,0,0,.2);
  5775. border-top: none;
  5776. border-left: none;
  5777. border-right: none;
  5778. border-radius: 0 !important;
  5779. }
  5780. .select2-selection--multiple input.select2-search__field {
  5781. border-bottom: none !important;
  5782. }
  5783. .select2-search__field
  5784. {
  5785. outline: none;
  5786. border-top: none !important;
  5787. border-left: none !important;
  5788. border-right: none !important;
  5789. border-bottom: solid 1px rgba(0,0,0,.2) !important;
  5790. -webkit-box-shadow: none !important;
  5791. box-shadow: none !important;
  5792. border-radius: 0 !important;
  5793. }
  5794. .select2-container-active .select2-choice, .select2-container-active .select2-choices
  5795. {
  5796. outline: none;
  5797. border-top: none;
  5798. border-left: none;
  5799. border-bottom: none;
  5800. -webkit-box-shadow: none !important;
  5801. box-shadow: none !important;
  5802. }
  5803. .select2-dropdown-open {
  5804. background-color: #fff;
  5805. }
  5806. .select2-dropdown-open .select2-choice, .select2-dropdown-open .select2-choices
  5807. {
  5808. outline: none;
  5809. border-top: none;
  5810. border-left: none;
  5811. border-bottom: none;
  5812. -webkit-box-shadow: none !important;
  5813. box-shadow: none !important;
  5814. background-color: #fff;
  5815. }
  5816. .select2-disabled
  5817. {
  5818. color: #888;
  5819. }
  5820. .select2-drop.select2-drop-above.select2-drop-active, .select2-drop {
  5821. border-radius: 0;
  5822. }
  5823. .select2-drop.select2-drop-above {
  5824. border-radius: 0;
  5825. }
  5826. .select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices {
  5827. background-image: none;
  5828. border-radius: 0 !important;
  5829. }
  5830. div.select2-drop-above
  5831. {
  5832. background: #fff;
  5833. -webkit-box-shadow: none !important;
  5834. box-shadow: none !important;
  5835. }
  5836. .select2-drop-active
  5837. {
  5838. border: 1px solid #ccc;
  5839. padding-top: 4px;
  5840. }
  5841. .select2-search input {
  5842. border: none;
  5843. }
  5844. a span.select2-chosen
  5845. {
  5846. font-weight: normal !important;
  5847. }
  5848. .select2-container .select2-choice {
  5849. background-image: none;
  5850. line-height: 24px;
  5851. }
  5852. .select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit
  5853. {
  5854. background: #FFFFFF;
  5855. }
  5856. .select2-results {
  5857. max-height: 400px;
  5858. }
  5859. .select2-results__option {
  5860. word-break: break-word;
  5861. text-align: <?php echo $left; ?>;
  5862. }
  5863. .select2-container.select2-container-disabled .select2-choice, .select2-container-multi.select2-container-disabled .select2-choices {
  5864. background-color: #FFFFFF;
  5865. background-image: none;
  5866. border: none;
  5867. cursor: default;
  5868. }
  5869. .select2-container-disabled .select2-choice .select2-arrow b {
  5870. opacity: 0.5;
  5871. }
  5872. .select2-container-multi .select2-choices .select2-search-choice {
  5873. margin-bottom: 3px;
  5874. }
  5875. .select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices, .select2-container-multi .select2-choices,
  5876. .select2-container-multi.select2-container-active .select2-choices
  5877. {
  5878. border-bottom: 1px solid #ccc;
  5879. border-right: none;
  5880. border-top: none;
  5881. border-left: 1px solid #ddd;
  5882. }
  5883. .select2-container--default .select2-results>.select2-results__options{
  5884. max-height: 400px;
  5885. }
  5886. /* Special case for the select2 add widget */
  5887. #addbox .select2-container .select2-choice > .select2-chosen, #actionbookmark .select2-container .select2-choice > .select2-chosen {
  5888. text-align: <?php echo $left; ?>;
  5889. opacity: 0.3;
  5890. }
  5891. .select2-container--default .select2-selection--single .select2-selection__placeholder {
  5892. color: unset;
  5893. opacity: 0.5;
  5894. }
  5895. span#select2-boxbookmark-container, span#select2-boxcombo-container {
  5896. text-align: <?php echo $left; ?>;
  5897. opacity: 0.5;
  5898. }
  5899. .select2-container .select2-selection--single .select2-selection__rendered {
  5900. padding-left: 6px;
  5901. }
  5902. /* Style used before the select2 js is executed on boxcombo */
  5903. #boxbookmark.boxcombo, #boxcombo.boxcombo {
  5904. text-align: left;
  5905. opacity: 0.3;
  5906. border-bottom: solid 1px rgba(0,0,0,.4) !important;
  5907. height: 26px;
  5908. line-height: 24px;
  5909. padding: 0 0 5px 5px;
  5910. vertical-align: top;
  5911. }
  5912. /* To emulate select 2 style */
  5913. .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
  5914. padding: 3px 5px 2px 5px;
  5915. margin: 0 0 2px 3px;
  5916. position: relative;
  5917. line-height: 13px;
  5918. color: #444;
  5919. cursor: default;
  5920. border: 1px solid #ddd;
  5921. border-radius: 3px;
  5922. -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
  5923. box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
  5924. background-clip: padding-box;
  5925. -webkit-touch-callout: none;
  5926. -webkit-user-select: none;
  5927. -moz-user-select: none;
  5928. -ms-user-select: none;
  5929. user-select: none;
  5930. background-color: #e4e4e4;
  5931. 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));
  5932. background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  5933. background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  5934. background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  5935. }
  5936. .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr a {
  5937. font-weight: normal;
  5938. }
  5939. .select2-container-multi-dolibarr .select2-choices-dolibarr li {
  5940. float: <?php echo $left; ?>;
  5941. list-style: none;
  5942. }
  5943. .select2-container-multi-dolibarr .select2-choices-dolibarr {
  5944. height: auto !important;
  5945. height: 1%;
  5946. margin: 0;
  5947. padding: 0 5px 0 0;
  5948. position: relative;
  5949. cursor: text;
  5950. overflow: hidden;
  5951. }
  5952. span.select2.select2-container.select2-container--default {
  5953. text-align: initial;
  5954. }
  5955. ul.select2-results__options li {
  5956. font-size: 0.95em;
  5957. }
  5958. select.multiselectononeline {
  5959. padding: 0;
  5960. vertical-align: middle;
  5961. min-height: unset;
  5962. height: 28px !important;
  5963. opacity: 0;
  5964. /* width: 1px !important; */
  5965. }
  5966. @media only screen and (min-width: 767px)
  5967. {
  5968. /* CSS to have the dropdown boxes larger that the input search area */
  5969. .select2-container.select2-container--open:not(.graphtype) .select2-dropdown.ui-dialog {
  5970. min-width: 240px !important;
  5971. }
  5972. .select2-container.select2-container--open:not(.graphtype) .select2-dropdown--below:not(.onrightofpage),
  5973. .select2-container.select2-container--open:not(.graphtype) .select2-dropdown--above:not(.onrightofpage) {
  5974. min-width: 240px !important;
  5975. }
  5976. .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below,
  5977. .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--above {
  5978. min-width: 140px !important;
  5979. }
  5980. .select2-container--open .select2-dropdown--below {
  5981. border-top: 1px solid var(--inputbordercolor);
  5982. /* border-top: 1px solid #aaaaaa; */
  5983. }
  5984. }
  5985. .parentonrightofpage {
  5986. direction: rtl;
  5987. }
  5988. /* ============================================================================== */
  5989. /* For categories */
  5990. /* ============================================================================== */
  5991. .noborderoncategories {
  5992. border: none !important;
  5993. border-radius: 5px !important;
  5994. box-shadow: none;
  5995. -webkit-box-shadow: none !important;
  5996. box-shadow: none !important;
  5997. margin-bottom: 0 !important;
  5998. }
  5999. span.noborderoncategories a, li.noborderoncategories a {
  6000. line-height: normal;
  6001. }
  6002. span.noborderoncategories {
  6003. padding: 3px 5px 3px 5px;
  6004. }
  6005. .categtextwhite, .treeview .categtextwhite.hover {
  6006. color: #fff !important;
  6007. }
  6008. .categtextblack {
  6009. color: #000 !important;
  6010. }
  6011. /* ============================================================================== */
  6012. /* External lib multiselect with checkbox */
  6013. /* ============================================================================== */
  6014. .multi-select-menu {
  6015. z-index: 10;
  6016. }
  6017. .multi-select-container {
  6018. display: inline-block;
  6019. position: relative;
  6020. }
  6021. .multi-select-menu {
  6022. position: absolute;
  6023. left: 0;
  6024. top: 0.8em;
  6025. float: left;
  6026. min-width: 100%;
  6027. background: #fff;
  6028. margin: 1em 0;
  6029. padding: 0.4em 0;
  6030. border: 1px solid #aaa;
  6031. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  6032. display: none;
  6033. }
  6034. div.multi-select-menu[role="menu"] {
  6035. min-width: 220px !important;
  6036. }
  6037. .multi-select-menu input {
  6038. margin-right: 0.3em;
  6039. vertical-align: 0.1em;
  6040. }
  6041. .multi-select-button {
  6042. display: inline-block;
  6043. max-width: 20em;
  6044. white-space: nowrap;
  6045. overflow: hidden;
  6046. text-overflow: ellipsis;
  6047. vertical-align: middle;
  6048. background-color: #fff;
  6049. cursor: default;
  6050. border: none;
  6051. border-bottom: solid 1px rgba(0,0,0,.2);
  6052. padding: 5px;
  6053. padding-left: 2px;
  6054. height: 17px;
  6055. }
  6056. .multi-select-button:focus {
  6057. outline: none;
  6058. border-bottom: 1px solid #666;
  6059. }
  6060. .multi-select-button:after {
  6061. content: "";
  6062. display: inline-block;
  6063. width: 0;
  6064. height: 0;
  6065. border-style: solid;
  6066. border-width: 0.5em 0.23em 0em 0.23em;
  6067. border-color: #888 transparent transparent transparent;
  6068. margin-left: 0.4em;
  6069. }
  6070. .multi-select-container--open .multi-select-menu { display: block; }
  6071. .multi-select-container--open .multi-select-button:after {
  6072. border-width: 0 0.4em 0.4em 0.4em;
  6073. border-color: transparent transparent #888 transparent;
  6074. }
  6075. .multi-select-menuitem {
  6076. clear: both;
  6077. float: left;
  6078. padding-left: 5px
  6079. }
  6080. label.multi-select-menuitem {
  6081. line-height: 24px;
  6082. text-align: start;
  6083. }
  6084. /* ============================================================================== */
  6085. /* Native multiselect with checkbox */
  6086. /* ============================================================================== */
  6087. ul.ulselectedfields {
  6088. z-index: 90; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
  6089. }
  6090. dl.dropdown {
  6091. margin:0px;
  6092. padding:0px;
  6093. margin-left: 2px;
  6094. margin-right: 2px;
  6095. vertical-align: middle;
  6096. display: inline-block;
  6097. }
  6098. .dropdown dd, .dropdown dt {
  6099. margin:0px;
  6100. padding:0px;
  6101. }
  6102. .dropdown ul {
  6103. margin: -1px 0 0 0;
  6104. text-align: <?php echo $left; ?>;
  6105. }
  6106. .dropdown dd {
  6107. position:relative;
  6108. }
  6109. .dropdown dt a {
  6110. display:block;
  6111. overflow: hidden;
  6112. border:0;
  6113. }
  6114. .dropdown dt a span, .multiSel span {
  6115. cursor:pointer;
  6116. display:inline-block;
  6117. padding: 0 3px 2px 0;
  6118. }
  6119. .maxwidthsearch .dropdown dt a span, .multiSel span {
  6120. padding: 0 3px 2px 3px;
  6121. }
  6122. .dropdown span.value {
  6123. display:none;
  6124. }
  6125. .dropdown dd ul {
  6126. background-color: #FFF;
  6127. box-shadow: 1px 1px 10px #aaa;
  6128. display:none;
  6129. <?php echo $right; ?>:0px; /* pop is align on right */
  6130. padding: 0 0 0 0;
  6131. position:absolute;
  6132. top:2px;
  6133. list-style:none;
  6134. max-height: 264px;
  6135. overflow: auto;
  6136. z-index: 1;
  6137. }
  6138. .dropdown dd ul.selectedfieldsleft {
  6139. <?php echo $right; ?>: auto;
  6140. }
  6141. .dropdown dd ul li {
  6142. white-space: nowrap;
  6143. font-weight: normal;
  6144. padding: 7px 8px 7px 8px;
  6145. /* color: rgb(<?php print $colortext; ?>); */
  6146. color: #000;
  6147. }
  6148. .dropdown dd ul li:hover {
  6149. background: #eee;
  6150. }
  6151. .dropdown dd ul li input[type="checkbox"] {
  6152. margin-<?php echo $right; ?>: 3px;
  6153. }
  6154. .dropdown dd ul li a, .dropdown dd ul li span {
  6155. padding: 3px;
  6156. display: block;
  6157. }
  6158. .dropdown dd ul li span {
  6159. color: #888;
  6160. }
  6161. .dropdown dd ul li a:hover {
  6162. background-color: #eee;
  6163. }
  6164. dd.dropdowndd ul li {
  6165. text-overflow: ellipsis;
  6166. overflow: hidden;
  6167. white-space: nowrap;
  6168. }
  6169. /* ============================================================================== */
  6170. /* Kanban */
  6171. /* ============================================================================== */
  6172. .info-box-label {
  6173. max-width: 180px;
  6174. overflow: hidden;
  6175. text-overflow: ellipsis;
  6176. white-space: nowrap;
  6177. }
  6178. /* ============================================================================== */
  6179. /* Markdown rendering */
  6180. /* ============================================================================== */
  6181. .imgmd {
  6182. width: 90%;
  6183. }
  6184. .moduledesclong h1 {
  6185. padding-top: 10px;
  6186. padding-bottom: 20px;
  6187. }
  6188. /* ============================================================================== */
  6189. /* JMobile - Android */
  6190. /* ============================================================================== */
  6191. .searchpage .tagtr .tagtd {
  6192. padding-top: 2px;
  6193. padding-bottom: 2px;
  6194. }
  6195. .searchpage .tagtr .tagtd .button {
  6196. background: unset;
  6197. border: unset;
  6198. }
  6199. .searchpage .searchform input {
  6200. font-size: 1.15em;
  6201. }
  6202. li.ui-li-divider .ui-link {
  6203. color: #FFF !important;
  6204. }
  6205. .ui-btn {
  6206. margin: 0.1em 2px
  6207. }
  6208. a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-inner:hover {
  6209. text-decoration: none !important;
  6210. }
  6211. .ui-body-c {
  6212. background: #fff;
  6213. }
  6214. .ui-btn-inner {
  6215. min-width: .4em;
  6216. padding-left: 6px;
  6217. padding-right: 6px;
  6218. font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
  6219. /* white-space: normal; */ /* Warning, enable this break the truncate feature */
  6220. }
  6221. .ui-btn-icon-right .ui-btn-inner {
  6222. padding-right: 30px;
  6223. }
  6224. .ui-btn-icon-left .ui-btn-inner {
  6225. padding-left: 30px;
  6226. }
  6227. .ui-select .ui-btn-icon-right .ui-btn-inner {
  6228. padding-right: 30px;
  6229. }
  6230. .ui-select .ui-btn-icon-left .ui-btn-inner {
  6231. padding-left: 30px;
  6232. }
  6233. .ui-select .ui-btn-icon-right .ui-icon {
  6234. right: 8px;
  6235. }
  6236. .ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
  6237. margin-top: -10px;
  6238. }
  6239. select {
  6240. /* display: inline-block; */ /* We can't set this. This disable ability to make */
  6241. overflow:hidden;
  6242. white-space: nowrap; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of '&nbsp;' */
  6243. text-overflow: ellipsis;
  6244. }
  6245. .fiche .ui-controlgroup {
  6246. margin: 0px;
  6247. padding-bottom: 0px;
  6248. }
  6249. div.ui-controlgroup-controls div.tabsElem
  6250. {
  6251. margin-top: 2px;
  6252. }
  6253. div.ui-controlgroup-controls div.tabsElem a
  6254. {
  6255. -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.2);
  6256. box-shadow: 0 -3px 6px rgba(0,0,0,.2);
  6257. }
  6258. div.ui-controlgroup-controls div.tabsElem a#active {
  6259. -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.3);
  6260. box-shadow: 0 -3px 6px rgba(0,0,0,.3);
  6261. }
  6262. a.tab span.ui-btn-inner
  6263. {
  6264. border: none;
  6265. padding: 0;
  6266. }
  6267. .ui-link {
  6268. color: rgb(<?php print $colortext; ?>);
  6269. }
  6270. .liste_titre .ui-link {
  6271. color: rgb(<?php print $colortexttitle; ?>) !important;
  6272. }
  6273. a.ui-link {
  6274. word-wrap: break-word;
  6275. }
  6276. /* force wrap possible onto field overflow does not works */
  6277. .formdoc .ui-btn-inner
  6278. {
  6279. white-space: normal;
  6280. overflow: hidden;
  6281. text-overflow: clip; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
  6282. }
  6283. /* Warning: setting this may make screen not beeing refreshed after a combo selection */
  6284. /*.ui-body-c {
  6285. background: #fff;
  6286. }*/
  6287. div.ui-radio, div.ui-checkbox
  6288. {
  6289. display: inline-block;
  6290. border-bottom: 0px !important;
  6291. }
  6292. .ui-checkbox input, .ui-radio input {
  6293. height: auto;
  6294. width: auto;
  6295. margin: 4px;
  6296. position: static;
  6297. }
  6298. div.ui-checkbox label+input, div.ui-radio label+input {
  6299. position: absolute;
  6300. }
  6301. .ui-mobile fieldset
  6302. {
  6303. padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
  6304. }
  6305. ul.ulmenu {
  6306. border-radius: 0;
  6307. -webkit-border-radius: 0;
  6308. }
  6309. .ui-field-contain label.ui-input-text {
  6310. vertical-align: middle !important;
  6311. }
  6312. .ui-mobile fieldset {
  6313. border-bottom: none !important;
  6314. }
  6315. /* Style for first level menu with jmobile */
  6316. .ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
  6317. padding: 1em 15px;
  6318. display: block;
  6319. }
  6320. .ui-btn-up-c {
  6321. font-weight: normal;
  6322. }
  6323. .ui-focus, .ui-btn:focus {
  6324. -webkit-box-shadow: none;
  6325. box-shadow: none;
  6326. }
  6327. .ui-bar-b {
  6328. /*border: 1px solid #888;*/
  6329. border: none;
  6330. background: none;
  6331. text-shadow: none;
  6332. color: rgb(<?php print $colortexttitlenotab; ?>) !important;
  6333. }
  6334. .ui-bar-b, .lilevel0 {
  6335. background-repeat: repeat-x;
  6336. border: none;
  6337. background: none;
  6338. text-shadow: none;
  6339. color: rgb(<?php print $colortexttitlenotab; ?>) !important;
  6340. }
  6341. .alilevel0 {
  6342. font-weight: normal !important;
  6343. }
  6344. .ui-li.ui-last-child, .ui-li.ui-field-contain.ui-last-child {
  6345. border-bottom-width: 0px !important;
  6346. }
  6347. .alilevel0 {
  6348. color: rgb(<?php echo $colortexttitle; ?>) !important;
  6349. }
  6350. .ulmenu {
  6351. box-shadow: none !important;
  6352. border-bottom: 1px solid #ccc;
  6353. }
  6354. .ui-btn-icon-right {
  6355. border-right: 1px solid #ccc !important;
  6356. }
  6357. .ui-body-c {
  6358. border: 1px solid #ccc;
  6359. text-shadow: none;
  6360. }
  6361. .ui-btn-up-c, .ui-btn-hover-c {
  6362. /* border: 1px solid #ccc; */
  6363. text-shadow: none;
  6364. }
  6365. .ui-body-c .ui-link, .ui-body-c .ui-link:visited, .ui-body-c .ui-link:hover {
  6366. color: rgb(<?php print $colortextlink; ?>);
  6367. }
  6368. .ui-btn-up-c .vsmenudisabled {
  6369. color: #<?php echo $colorshadowtitle; ?> !important;
  6370. text-shadow: none !important;
  6371. }
  6372. /*
  6373. .ui-btn-up-c {
  6374. background: transparent;
  6375. }
  6376. */
  6377. div.tabsElem a.tab {
  6378. background: transparent;
  6379. }
  6380. /*.ui-controlgroup-horizontal .ui-btn.ui-first-child {
  6381. -webkit-border-top-left-radius: 6px;
  6382. border-top-left-radius: 6px;
  6383. }
  6384. .ui-controlgroup-horizontal .ui-btn.ui-last-child {
  6385. -webkit-border-top-right-radius: 6px;
  6386. border-top-right-radius: 6px;
  6387. }*/
  6388. .alilevel1 {
  6389. color: rgb(<?php print $colortexttitlenotab; ?>) !important;
  6390. }
  6391. .lilevel1 {
  6392. border-top: 2px solid #444;
  6393. background: #fff ! important;
  6394. }
  6395. .lilevel1 div div a {
  6396. font-weight: bold !important;
  6397. }
  6398. .lilevel2
  6399. {
  6400. padding-left: 22px;
  6401. background: #fff ! important;
  6402. }
  6403. .lilevel3
  6404. {
  6405. padding-left: 44px;
  6406. background: #fff ! important;
  6407. }
  6408. .lilevel4
  6409. {
  6410. padding-left: 66px;
  6411. background: #fff ! important;
  6412. }
  6413. .lilevel5
  6414. {
  6415. padding-left: 88px;
  6416. background: #fff ! important;
  6417. }
  6418. /* ============================================================================== */
  6419. /* POS */
  6420. /* ============================================================================== */
  6421. .menu_choix1 a {
  6422. background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/money.png', 1) ?>') top left no-repeat;
  6423. background-position-y: 15px;
  6424. }
  6425. .menu_choix2 a {
  6426. background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/home.png', 1) ?>') top left no-repeat;
  6427. background-position-y: 15px;
  6428. }
  6429. .menu_choix1,.menu_choix2 {
  6430. font-size: 1.4em;
  6431. text-align: left;
  6432. border: 1px solid #666;
  6433. margin-right: 20px;
  6434. }
  6435. .menu_choix1 a, .menu_choix2 a {
  6436. display: block;
  6437. color: #fff;
  6438. text-decoration: none;
  6439. padding-top: 18px;
  6440. padding-left: 54px;
  6441. font-size: 14px;
  6442. height: 40px;
  6443. }
  6444. .menu_choix1 a:hover,.menu_choix2 a:hover {
  6445. color: #6d3f6d;
  6446. }
  6447. .menu li.menu_choix1 {
  6448. padding-top: 6px;
  6449. padding-right: 10px;
  6450. padding-bottom: 2px;
  6451. }
  6452. .menu li.menu_choix2 {
  6453. padding-top: 6px;
  6454. padding-right: 10px;
  6455. padding-bottom: 2px;
  6456. }
  6457. @media only screen and (max-width: 767px)
  6458. {
  6459. .menu_choix1 a, .menu_choix2 a {
  6460. background-size: 36px 36px;
  6461. background-position-y: 6px;
  6462. padding-left: 40px;
  6463. }
  6464. .menu li.menu_choix1, .menu li.menu_choix2 {
  6465. padding-left: 4px;
  6466. padding-right: 0;
  6467. }
  6468. .liste_articles {
  6469. margin-right: 0 !important;
  6470. }
  6471. }
  6472. /* ============================================================================== */
  6473. /* Public */
  6474. /* ============================================================================== */
  6475. /* The theme for public pages */
  6476. .public_body {
  6477. margin: 20px;
  6478. }
  6479. .public_border {
  6480. border: 1px solid #888;
  6481. }
  6482. .publicnewmemberform div.tabBarWithBottom {
  6483. border: 1px solid #e8e8e8;
  6484. padding: 30px;
  6485. border-radius: 8px;
  6486. background-color: #f8f8f8;
  6487. /*box-shadow: 2px 2px 10px #ddd;*/
  6488. }
  6489. .publicnewmemberform #tablesubscribe {
  6490. color: #666;
  6491. }
  6492. /* ============================================================================== */
  6493. /* Ticket module */
  6494. /* ============================================================================== */
  6495. .ticketpublicarea {
  6496. margin-left: 15%;
  6497. margin-right: 15%;
  6498. }
  6499. .publicnewticketform {
  6500. /* margin-top: 25px !important; */
  6501. }
  6502. .ticketlargemargin {
  6503. padding-left: 50px;
  6504. padding-right: 50px;
  6505. padding-top: 10px;
  6506. }
  6507. @media only screen and (max-width: 767px)
  6508. {
  6509. .ticketlargemargin {
  6510. padding-left: 5px; padding-right: 5px;
  6511. }
  6512. .ticketpublicarea {
  6513. margin-left: 10px;
  6514. margin-right: 10px;
  6515. }
  6516. }
  6517. #cd-timeline {
  6518. position: relative;
  6519. padding: 2em 0;
  6520. margin-bottom: 2em;
  6521. }
  6522. #cd-timeline::before {
  6523. /* this is the vertical line */
  6524. content: '';
  6525. position: absolute;
  6526. top: 0;
  6527. left: 18px;
  6528. height: 100%;
  6529. width: 4px;
  6530. background: #d7e4ed;
  6531. }
  6532. @media only screen and (min-width: 1170px) {
  6533. #cd-timeline {
  6534. margin-bottom: 3em;
  6535. }
  6536. #cd-timeline::before {
  6537. left: 50%;
  6538. margin-left: -2px;
  6539. }
  6540. }
  6541. .cd-timeline-block {
  6542. position: relative;
  6543. margin: 2em 0;
  6544. }
  6545. .cd-timeline-block:after {
  6546. content: "";
  6547. display: table;
  6548. clear: both;
  6549. }
  6550. .cd-timeline-block:first-child {
  6551. margin-top: 0;
  6552. }
  6553. .cd-timeline-block:last-child {
  6554. margin-bottom: 0;
  6555. }
  6556. @media only screen and (min-width: 1170px) {
  6557. .cd-timeline-block {
  6558. margin: 4em 0;
  6559. }
  6560. .cd-timeline-block:first-child {
  6561. margin-top: 0;
  6562. }
  6563. .cd-timeline-block:last-child {
  6564. margin-bottom: 0;
  6565. }
  6566. }
  6567. .cd-timeline-img {
  6568. position: absolute;
  6569. top: 0;
  6570. left: 0;
  6571. width: 40px;
  6572. height: 40px;
  6573. border-radius: 50%;
  6574. box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
  6575. background: #d7e4ed;
  6576. }
  6577. .cd-timeline-img img {
  6578. display: block;
  6579. width: 24px;
  6580. height: 24px;
  6581. position: relative;
  6582. left: 50%;
  6583. top: 50%;
  6584. margin-left: -12px;
  6585. margin-top: -12px;
  6586. }
  6587. .cd-timeline-img.cd-picture {
  6588. background: #75ce66;
  6589. }
  6590. .cd-timeline-img.cd-movie {
  6591. background: #c03b44;
  6592. }
  6593. .cd-timeline-img.cd-location {
  6594. background: #f0ca45;
  6595. }
  6596. @media only screen and (min-width: 1170px) {
  6597. .cd-timeline-img {
  6598. width: 60px;
  6599. height: 60px;
  6600. left: 50%;
  6601. margin-left: -30px;
  6602. /* Force Hardware Acceleration in WebKit */
  6603. -webkit-transform: translateZ(0);
  6604. -webkit-backface-visibility: hidden;
  6605. }
  6606. .cssanimations .cd-timeline-img.is-hidden {
  6607. visibility: hidden;
  6608. }
  6609. .cssanimations .cd-timeline-img.bounce-in {
  6610. visibility: visible;
  6611. -webkit-animation: cd-bounce-1 0.6s;
  6612. -moz-animation: cd-bounce-1 0.6s;
  6613. animation: cd-bounce-1 0.6s;
  6614. }
  6615. }
  6616. @-webkit-keyframes cd-bounce-1 {
  6617. 0% {
  6618. opacity: 0;
  6619. -webkit-transform: scale(0.5);
  6620. }
  6621. 60% {
  6622. opacity: 1;
  6623. -webkit-transform: scale(1.2);
  6624. }
  6625. 100% {
  6626. -webkit-transform: scale(1);
  6627. }
  6628. }
  6629. @-moz-keyframes cd-bounce-1 {
  6630. 0% {
  6631. opacity: 0;
  6632. -moz-transform: scale(0.5);
  6633. }
  6634. 60% {
  6635. opacity: 1;
  6636. -moz-transform: scale(1.2);
  6637. }
  6638. 100% {
  6639. -moz-transform: scale(1);
  6640. }
  6641. }
  6642. @keyframes cd-bounce-1 {
  6643. 0% {
  6644. opacity: 0;
  6645. -webkit-transform: scale(0.5);
  6646. -moz-transform: scale(0.5);
  6647. -ms-transform: scale(0.5);
  6648. -o-transform: scale(0.5);
  6649. transform: scale(0.5);
  6650. }
  6651. 60% {
  6652. opacity: 1;
  6653. -webkit-transform: scale(1.2);
  6654. -moz-transform: scale(1.2);
  6655. -ms-transform: scale(1.2);
  6656. -o-transform: scale(1.2);
  6657. transform: scale(1.2);
  6658. }
  6659. 100% {
  6660. -webkit-transform: scale(1);
  6661. -moz-transform: scale(1);
  6662. -ms-transform: scale(1);
  6663. -o-transform: scale(1);
  6664. transform: scale(1);
  6665. }
  6666. }
  6667. .cd-timeline-content {
  6668. position: relative;
  6669. margin-left: 60px;
  6670. background: white;
  6671. border-radius: 0.25em;
  6672. padding: 1em;
  6673. background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
  6674. background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
  6675. background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
  6676. background-image: linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
  6677. }
  6678. .cd-timeline-content:after {
  6679. content: "";
  6680. display: table;
  6681. clear: both;
  6682. }
  6683. .cd-timeline-content h2 {
  6684. color: #303e49;
  6685. }
  6686. .cd-timeline-content .cd-date {
  6687. font-size: 13px;
  6688. font-size: 0.8125rem;
  6689. }
  6690. .cd-timeline-content .cd-date {
  6691. display: inline-block;
  6692. }
  6693. .cd-timeline-content p {
  6694. margin: 1em 0;
  6695. line-height: 1.6;
  6696. }
  6697. .cd-timeline-content .cd-date {
  6698. float: left;
  6699. padding: .2em 0;
  6700. opacity: .7;
  6701. }
  6702. .cd-timeline-content::before {
  6703. content: '';
  6704. position: absolute;
  6705. top: 16px;
  6706. right: 100%;
  6707. height: 0;
  6708. width: 0;
  6709. border: 7px solid transparent;
  6710. border-right: 7px solid white;
  6711. }
  6712. @media only screen and (min-width: 768px) {
  6713. .cd-timeline-content h2 {
  6714. font-size: 20px;
  6715. font-size: 1.25rem;
  6716. }
  6717. .cd-timeline-content {
  6718. font-size: 16px;
  6719. font-size: 1rem;
  6720. }
  6721. .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  6722. font-size: 14px;
  6723. font-size: 0.875rem;
  6724. }
  6725. }
  6726. @media only screen and (min-width: 1170px) {
  6727. .cd-timeline-content {
  6728. margin-left: 0;
  6729. padding: 1.6em;
  6730. width: 43%;
  6731. }
  6732. .cd-timeline-content::before {
  6733. top: 24px;
  6734. left: 100%;
  6735. border-color: transparent;
  6736. border-left-color: white;
  6737. }
  6738. .cd-timeline-content .cd-read-more {
  6739. float: left;
  6740. }
  6741. .cd-timeline-content .cd-date {
  6742. position: absolute;
  6743. width: 55%;
  6744. left: 115%;
  6745. top: 6px;
  6746. font-size: 16px;
  6747. font-size: 1rem;
  6748. }
  6749. .cd-timeline-block:nth-child(even) .cd-timeline-content {
  6750. float: right;
  6751. }
  6752. .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
  6753. top: 24px;
  6754. left: auto;
  6755. right: 100%;
  6756. border-color: transparent;
  6757. border-right-color: white;
  6758. }
  6759. .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
  6760. float: right;
  6761. }
  6762. .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
  6763. left: auto;
  6764. right: 115%;
  6765. text-align: right;
  6766. }
  6767. }
  6768. /* ============================================================================== */
  6769. /* CSS style for debugbar */
  6770. /* ============================================================================== */
  6771. span.phpdebugbar-tooltip.phpdebugbar-tooltip-extra-wide, span.phpdebugbar-tooltip.phpdebugbar-tooltip-wide {
  6772. width: 250px !important;
  6773. }
  6774. .phpdebugbar-indicator span.phpdebugbar-tooltip {
  6775. opacity: .95 !important;
  6776. }
  6777. a.phpdebugbar-tab.phpdebugbar-active {
  6778. background-image: unset !important;
  6779. }
  6780. .phpdebugbar-indicator .fa {
  6781. font-family: "Font Awesome 5 Free";
  6782. font-weight: 600;
  6783. }
  6784. div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-warning:before,
  6785. div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-error:before,
  6786. div.phpdebugbar-widgets-exceptions a.phpdebugbar-widgets-editor-link:before,
  6787. div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-database:before,
  6788. div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-duration:before,
  6789. div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-memory:before,
  6790. div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-row-count:before,
  6791. div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard:before,
  6792. div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-stmt-id:before,
  6793. div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-render-time:before,
  6794. div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-memory:before,
  6795. div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-param-count:before,
  6796. div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-type:before,
  6797. div.phpdebugbar-widgets-templates a.phpdebugbar-widgets-editor-link:before
  6798. {
  6799. font-family: "Font Awesome 5 Free" !important;
  6800. }
  6801. /* ============================================================================== */
  6802. /* CSS style used for jCrop */
  6803. /* ============================================================================== */
  6804. .jcrop-holder { background: unset !important; }
  6805. /* ============================================================================== */
  6806. /* CSS style used for jFlot */
  6807. /* ============================================================================== */
  6808. .dol-xaxis-vertical .flot-x-axis .flot-tick-label.tickLabel {
  6809. text-orientation: sideways;
  6810. font-weight: 400;
  6811. writing-mode: vertical-rl;
  6812. white-space: nowrap;
  6813. }
  6814. /* ============================================================================== */
  6815. /* For copy-paste feature */
  6816. /* ============================================================================== */
  6817. span.clipboardCPValueToPrint, div.clipboardCPValueToPrint {
  6818. display: inline-block;
  6819. }
  6820. span.clipboardCPValue.hidewithsize {
  6821. width: 0 !important;
  6822. display: inline-block; /* this will be modifiy on the fly by the copy-paste js code in lib_foot.js.php to have copy feature working */
  6823. color: transparent;
  6824. white-space: nowrap;
  6825. overflow-x: hidden;
  6826. vertical-align: middle;
  6827. }
  6828. div.clipboardCPValue.hidewithsize {
  6829. width: 0 !important;
  6830. display: none;
  6831. color: transparent;
  6832. white-space: nowrap;
  6833. }
  6834. .clipboardCPShowOnHover .clipboardCPButton {
  6835. display: none;
  6836. }
  6837. /* To make a div popup, we must use a position aboluste inside a position relative */
  6838. .clipboardCPText {
  6839. position: relative;
  6840. }
  6841. .clipboardCPTextDivInside {
  6842. position: absolute;
  6843. background: #EEE;
  6844. color: #888;
  6845. border: 1px solid #DDD;
  6846. opacity: 1;
  6847. z-index: 20;
  6848. padding: 2px;
  6849. padding-left: 4px;
  6850. padding-right: 4px;
  6851. top: -5px;
  6852. left: 0px;
  6853. border-radius: 5px;
  6854. white-space: nowrap;
  6855. font-size: 0.95em;
  6856. box-shadow: 1px 1px 6px #ddd;
  6857. }
  6858. /* ============================================================================== */
  6859. /* CSS style used for hrm skill/rank (may be we can remove this) */
  6860. /* ============================================================================== */
  6861. .radio_js_bloc_number {
  6862. display:inline-block;
  6863. padding:5px 7px;
  6864. min-width:20px;
  6865. border-radius:3px;
  6866. border:1px solid #ccc;
  6867. background:#eee;
  6868. color:#555;
  6869. cursor:pointer;
  6870. margin:2px;
  6871. text-align:center;
  6872. }
  6873. .radio_js_bloc_number.selected {
  6874. transition:0.2s ease background;
  6875. background:#888;
  6876. color:#fff;
  6877. border-color:#555;
  6878. }
  6879. /* ============================================================================== */
  6880. /* Virtual business card */
  6881. /* ============================================================================== */
  6882. .virtualcard-div {
  6883. overflow: hidden;
  6884. vertical-align: top;
  6885. /* background: #aaa; */
  6886. }
  6887. #virtualcard-iframe {
  6888. border: 40px solid #aaa;
  6889. vertical-align: top;
  6890. width: 10%;
  6891. min-width: 100px;
  6892. border-radius: 10px;
  6893. aspect-ratio: 0.6;
  6894. }
  6895. .nopointervent {
  6896. pointer-events: none;
  6897. }
  6898. .scalepreview {
  6899. /* transform: scale(0.5); */
  6900. zoom: 0.20;
  6901. }
  6902. /* ============================================================================== */
  6903. /* For drag and drop file feature */
  6904. /* ============================================================================== */
  6905. .cssDragDropArea{
  6906. position: relative;
  6907. }
  6908. .highlightDragDropArea{
  6909. border: 2px #000 dashed !important;
  6910. background-color: #eee !important;
  6911. }
  6912. .highlightDragDropArea * :not(.dragDropAreaMessage *){
  6913. opacity:0.8;
  6914. filter: blur(1px) grayscale(90%);
  6915. }
  6916. .dragDropAreaMessage {
  6917. position: absolute;
  6918. left:50%;
  6919. top:50%;
  6920. transform: translate(-50%, -50%);
  6921. text-align:center;
  6922. font-size: 2em;
  6923. }
  6924. /* ============================================================================== */
  6925. /* CSS style used for small screen */
  6926. /* ============================================================================== */
  6927. .imgopensurveywizard
  6928. {
  6929. padding: 0 4px 0 4px;
  6930. }
  6931. @media only screen and (max-width: 767px)
  6932. {
  6933. .imgopensurveywizard, .imgautosize { width:95%; height: auto; }
  6934. #tooltip {
  6935. position: absolute;
  6936. width: <?php print dol_size(350, 'width'); ?>px;
  6937. }
  6938. div.tabBar {
  6939. padding-left: 8px;
  6940. padding-right: 8px;
  6941. -webkit-border-radius: 0;
  6942. border-radius: 0px;
  6943. border-right: none;
  6944. border-left: none;
  6945. }
  6946. td.widthpictotitle { width: 30px; }
  6947. .box-flex-container {
  6948. margin: 0 0 0 -8px !important;
  6949. }
  6950. .logopublicpayment #dolpaymentlogo {
  6951. max-width: 260px;
  6952. }
  6953. #tablepublicpayment {
  6954. width: auto !important;
  6955. border: none !important;
  6956. }
  6957. .poweredbypublicpayment {
  6958. float: unset !important;
  6959. top: unset !important;
  6960. /* bottom: 8px; */
  6961. right: -10px !important;
  6962. position: relative !important;
  6963. }
  6964. .poweredbyimg {
  6965. width: 48px;
  6966. }
  6967. }
  6968. @media only screen and (max-width: 1024px)
  6969. {
  6970. div#ecm-layout-west {
  6971. width: 100%;
  6972. clear: both;
  6973. }
  6974. div#ecm-layout-center {
  6975. width: 100%;
  6976. }
  6977. }
  6978. .menuhider {
  6979. width: <?php echo $disableimages ? 'auto' : '44'; ?>px;
  6980. }
  6981. /* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?> */
  6982. /* rule to reduce top menu - 1st reduction: Reduce width of top menu icons */
  6983. @media only screen and (max-width: <?php echo empty($conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC1) ? round($nbtopmenuentries * 90, 0) + 340 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC1; ?>px) /* reduction 1 */
  6984. {
  6985. div.tmenucenter {
  6986. max-width: 56px; /* size of viewport */
  6987. white-space: nowrap;
  6988. overflow: hidden;
  6989. text-overflow: ellipsis;
  6990. color: #<?php echo $colortextbackhmenu; ?>;
  6991. }
  6992. .mainmenuaspan {
  6993. font-size: 0.9em;
  6994. /* font-weight: 300; */
  6995. }
  6996. .topmenuimage {
  6997. background-size: 24px auto;
  6998. margin-top: 0px;
  6999. }
  7000. li.tmenu, li.tmenusel {
  7001. min-width: 34px;
  7002. }
  7003. div.mainmenu {
  7004. min-width: auto;
  7005. }
  7006. div.tmenuleft {
  7007. display: none;
  7008. }
  7009. }
  7010. /* rule to reduce top menu - 2nd reduction: Reduce width of top menu icons again */
  7011. @media only screen and (max-width: <?php echo empty($conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC2) ? round($nbtopmenuentries * 69, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC2; ?>px) /* reduction 2 */
  7012. {
  7013. li.tmenucompanylogo {
  7014. display: none;
  7015. }
  7016. div.tmenucenter {
  7017. max-width: 24px; /* size of viewport */
  7018. text-overflow: clip;
  7019. }
  7020. .mainmenuaspan {
  7021. font-size: 10px;
  7022. padding-left: 0;
  7023. padding-right: 0;
  7024. }
  7025. .topmenuimage {
  7026. background-size: 20px auto;
  7027. margin-top: 2px;
  7028. }
  7029. }
  7030. /* rule to reduce top menu - 3rd reduction */
  7031. @media only screen and (max-width: 570px)
  7032. {
  7033. div.login_block {
  7034. border-right: 1px solid rgba(0,0,0,0.3);
  7035. top: auto;
  7036. }
  7037. div#tmenu_tooltip {
  7038. <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
  7039. display:none;
  7040. <?php } else { ?>
  7041. /* padding-<?php echo $right; ?>: 78px; */
  7042. <?php } ?>
  7043. }
  7044. li.tmenu, li.tmenusel {
  7045. min-width: 30px;
  7046. }
  7047. div.login_block {
  7048. border-right: 1px solid rgba(0,0,0,0.3);
  7049. }
  7050. div.tmenucenter {
  7051. text-overflow: clip;
  7052. }
  7053. .topmenuimage {
  7054. background-size: 20px auto;
  7055. margin-top: 2px !important;
  7056. }
  7057. div.mainmenu {
  7058. min-width: 20px;
  7059. }
  7060. #tooltip {
  7061. position: absolute;
  7062. width: <?php print dol_size(300, 'width'); ?>px;
  7063. }
  7064. select {
  7065. width: 98%;
  7066. min-width: 0 !important;
  7067. }
  7068. div.divphotoref {
  7069. padding-right: 5px;
  7070. }
  7071. img.photoref, div.photoref {
  7072. border: 1px solid rgba(0, 0, 0, 0.2);
  7073. -webkit-box-shadow: none;
  7074. box-shadow: none;
  7075. padding: 4px;
  7076. object-fit: contain;
  7077. }
  7078. .titlefield {
  7079. width: auto !important; /* We want to ignore the 30%, try to use more if you can */
  7080. min-width: unset;
  7081. }
  7082. .tableforfield>tr>td:first-child, .tableforfield>tbody>tr>td:first-child, div.tableforfield div.tagtr>div.tagtd:first-of-type {
  7083. /* max-width: 100px; */ /* but no more than 100px */
  7084. }
  7085. .tableforfield>tr>td:nth-child(2), .tableforfield>tbody>tr>td:nth-child(2), div.tableforfield div.tagtr>div.tagtd:nth-child(2) {
  7086. word-break: break-word;
  7087. }
  7088. table.table-fiche-title .col-title div.titre{
  7089. line-height: unset;
  7090. }
  7091. input#addedfile {
  7092. width: 95%;
  7093. }
  7094. #divbodywebsite {
  7095. word-break: break-word;
  7096. }
  7097. .websiteselectionsection {
  7098. border-left: unset;
  7099. border-right: unset;
  7100. padding-left: 5px;
  7101. }
  7102. .a-mesure, .a-mesure-disabled {
  7103. display: block;
  7104. margin-bottom: 6px;
  7105. padding-left: 12px;
  7106. padding-right: 12px;
  7107. }
  7108. .a-mesure, .a-mesure-disabled {
  7109. text-align: center;
  7110. }
  7111. .underbanner.underbanner-before-box {
  7112. border-bottom: none;
  7113. }
  7114. div.divButAction {
  7115. margin-bottom: 0.5em;
  7116. }
  7117. div#card-errors {
  7118. max-width: unset;
  7119. }
  7120. #dolpaymenttable {
  7121. padding: 5px;
  7122. }
  7123. .lilevel1 span.paddingright {
  7124. padding-right: 3px;
  7125. }
  7126. img.userphotopublicvcard {
  7127. left: unset;
  7128. top: unset;
  7129. margin-top: 30px;
  7130. }
  7131. }
  7132. <?php
  7133. include dol_buildpath($path.'/theme/'.$theme.'/dropdown.inc.php', 0);
  7134. include dol_buildpath($path.'/theme/'.$theme.'/info-box.inc.php', 0);
  7135. include dol_buildpath($path.'/theme/'.$theme.'/progress.inc.php', 0);
  7136. include dol_buildpath($path.'/theme/eldy/timeline.inc.php', 0); // actually md use same style as eldy theme
  7137. if (!empty($conf->global->THEME_CUSTOM_CSS)) {
  7138. print $conf->global->THEME_CUSTOM_CSS;
  7139. }
  7140. if (is_object($db)) {
  7141. $db->close();
  7142. }
  7143. ?>
  7144. /* This must be at end */
  7145. ::-webkit-scrollbar {
  7146. width: 12px;
  7147. }
  7148. /*::-webkit-scrollbar-button {
  7149. background: #bbb;
  7150. }*/
  7151. ::-webkit-scrollbar-track-piece {
  7152. background: #f4f4f4;
  7153. }
  7154. ::-webkit-scrollbar-thumb {
  7155. background: #ddd;
  7156. }​
  7157. /* Must be at end */
  7158. div.flot-text .flot-tick-label .tickLabel, .fa-color-unset {
  7159. color: unset;
  7160. }