global.inc.php 188 KB

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