global.inc.php 200 KB

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