global.inc.php 171 KB

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