global.inc.php 184 KB

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