global.inc.php 203 KB

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