global.inc.php 189 KB

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