global.inc.php 206 KB

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