style.css.php 195 KB

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