global.inc.php 203 KB

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