style.css.php 191 KB

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