global.inc.php 192 KB

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