global.inc.php 204 KB

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