style.css.php 207 KB

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