From eb0cf80b4287e5e5eb31afb7902850ec98806b5a Mon Sep 17 00:00:00 2001 From: thecashewtrader Date: Fri, 24 May 2024 20:18:12 +0530 Subject: [PATCH] add webpack for lean bootstrap js --- coingecko-original.json | 2 +- coingecko.json | 2 +- css/custom.css | 94 +- index.php | 8 +- js/main.js | 2 + js/main.js.LICENSE.txt | 59 + package-lock.json | 2599 +++++++++++++++++++++++++++++---------- package.json | 15 +- src/js/main.js | 8 + webpack.config.js | 12 + 10 files changed, 2100 insertions(+), 701 deletions(-) create mode 100644 js/main.js create mode 100644 js/main.js.LICENSE.txt create mode 100644 src/js/main.js create mode 100644 webpack.config.js diff --git a/coingecko-original.json b/coingecko-original.json index 41f340f..dd195eb 100644 --- a/coingecko-original.json +++ b/coingecko-original.json @@ -1 +1 @@ -{"btc":0.00210958,"btc_market_cap":38350.836660765344,"btc_24h_vol":1072.3066955927313,"btc_24h_change":5.255455513612239,"eth":0.0384915,"eth_market_cap":699991.3188912185,"eth_24h_vol":19565.33959790349,"eth_24h_change":5.353924144696235,"ltc":1.659812,"ltc_market_cap":30175347.858143877,"ltc_24h_vol":843686.9562608091,"ltc_24h_change":1.6080866915236671,"bch":0.28913088,"bch_market_cap":5248274.849952233,"bch_24h_vol":146966.05524084004,"bch_24h_change":4.322945809692873,"bnb":0.23850071,"bnb_market_cap":4336695.187221306,"bnb_24h_vol":121230.59447380874,"bnb_24h_change":4.3825856285337546,"eos":172.292,"eos_market_cap":3133440296.2667646,"eos_24h_vol":87576440.19315542,"eos_24h_change":3.8392514017844506,"xrp":272.085,"xrp_market_cap":4943278575.459774,"xrp_24h_vol":138301772.78823096,"xrp_24h_change":2.04791983559113,"xlm":1306,"xlm_market_cap":23744909982.490067,"xlm_24h_vol":663771601.4290903,"xlm_24h_change":2.7363910959260007,"link":8.087602,"link_market_cap":147246147.73942026,"link_24h_vol":4110951.083711284,"link_24h_change":-4.127507037761055,"dot":19.807366,"dot_market_cap":360615128.49905366,"dot_24h_vol":10068140.764441755,"dot_24h_change":5.549917410141326,"yfi":0.02040779,"yfi_market_cap":371139.42097088625,"yfi_24h_vol":10373.339350942399,"yfi_24h_change":4.005902848652121,"usd":142.12,"usd_market_cap":2581922105.09601,"usd_24h_vol":72239608.29222855,"usd_24h_change":1.6833616102628728,"aed":522,"aed_market_cap":9483296615.133425,"aed_24h_vol":265333191.67302343,"aed_24h_change":1.6817005788236015,"ars":126525,"ars_market_cap":2298524654612.042,"ars_24h_vol":64313202948.53927,"ars_24h_change":1.71503041468998,"aud":214.77,"aud_market_cap":3901568312.231652,"aud_24h_vol":109169868.60377376,"aud_24h_change":2.0402820373148916,"bdt":16725.09,"bdt_market_cap":303849648128.521,"bdt_24h_vol":8501410448.135741,"bdt_24h_change":2.0325108271122776,"bhd":53.57,"bhd_market_cap":973149678.7096316,"bhd_24h_vol":27227758.521815628,"bhd_24h_change":1.6714925764288402,"bmd":142.12,"bmd_market_cap":2581922105.09601,"bmd_24h_vol":72239608.29222855,"bmd_24h_change":1.6833616102628728,"brl":731.16,"brl_market_cap":13283214654.087439,"brl_24h_vol":371651112.7810289,"brl_24h_change":1.4703502039221115,"cad":194.9,"cad_market_cap":3541235263.244433,"cad_24h_vol":99069398.81196225,"cad_24h_change":2.0173691847411477,"chf":130.02,"chf_market_cap":2362257336.2386537,"chf_24h_vol":66088839.08379504,"chf_24h_change":1.830621848711115,"clp":129290,"clp_market_cap":2348851996668.993,"clp_24h_vol":65718538851.689125,"clp_24h_change":2.932495696741406,"cny":1010.5,"cny_market_cap":18357982551.65366,"cny_24h_vol":513638062.8794039,"cny_24h_change":1.6776415100402144,"czk":3241.92,"czk_market_cap":58898548869.23949,"czk_24h_vol":1647876992.7294424,"czk_24h_change":1.7880712206175122,"dkk":978.25,"dkk_market_cap":17772712448.8705,"dkk_24h_vol":497246534.5598557,"dkk_24h_change":1.7510202562620967,"eur":131.11,"eur_market_cap":2382104571.460527,"eur_24h_vol":66645373.02607839,"eur_24h_change":1.7639953691673225,"gbp":111.73,"gbp_market_cap":2029798718.298071,"gbp_24h_vol":56793479.72640087,"gbp_24h_change":1.7497554281506258,"hkd":1110.36,"hkd_market_cap":20172221757.24148,"hkd_24h_vol":564401630.2620435,"hkd_24h_change":1.7451282351763902,"huf":50508,"huf_market_cap":917635107973.9802,"huf_24h_vol":25673234390.975166,"huf_24h_change":1.2592758871994356,"idr":2281231,"idr_market_cap":41443291514776.45,"idr_24h_vol":1159556457132.1758,"idr_24h_change":1.6211998257331415,"ils":521.33,"ils_market_cap":9469473004.182758,"ils_24h_vol":264992943.1179674,"ils_24h_change":1.6203933953952274,"inr":11812.48,"inr_market_cap":214592580299.97504,"inr_24h_vol":6004318211.740721,"inr_24h_change":1.5406846956173381,"jpy":22304,"jpy_market_cap":405289476681.13074,"jpy_24h_vol":11337428604.59899,"jpy_24h_change":1.8429962337133752,"krw":194097,"krw_market_cap":3526319204904.1753,"krw_24h_vol":98659845599.41933,"krw_24h_change":1.8989058291732408,"kwd":43.63,"kwd_market_cap":792709470.4728911,"kwd_24h_vol":22179221.256704886,"kwd_24h_change":1.7082070307276431,"lkr":42789,"lkr_market_cap":777360441869.0621,"lkr_24h_vol":21749770727.651997,"lkr_24h_change":1.9548123398911443,"mmk":299419,"mmk_market_cap":5439630448649.272,"mmk_24h_vol":152195440787.81995,"mmk_24h_change":1.8985053871045827,"mxn":2375.11,"mxn_market_cap":43137138248.70617,"mxn_24h_vol":1207275052.0633,"mxn_24h_change":2.0539892011089957,"myr":669.59,"myr_market_cap":12164725998.15984,"myr_24h_vol":340356914.4688355,"myr_24h_change":1.8346600545763585,"ngn":210336,"ngn_market_cap":3821244715542.0967,"ngn_24h_vol":106914620272.49826,"ngn_24h_change":3.966407725864244,"nok":1508.67,"nok_market_cap":27397573271.104263,"nok_24h_vol":766863173.8065671,"nok_24h_change":1.4682772129546449,"nzd":232.54,"nzd_market_cap":4224262100.7707405,"nzd_24h_vol":118199964.11951818,"nzd_24h_change":1.972910603132652,"php":8269.56,"php_market_cap":150256247867.115,"php_24h_vol":4203442279.7436585,"php_24h_change":1.6803053034801858,"pkr":39680,"pkr_market_cap":720882106741.5562,"pkr_24h_vol":20169563176.63578,"pkr_24h_change":1.8801190233490541,"pln":558.14,"pln_market_cap":10138407710.859442,"pln_24h_vol":283702495.9883962,"pln_24h_change":1.580519960951813,"rub":12792.01,"rub_market_cap":232396229339.5091,"rub_24h_vol":6502214975.014808,"rub_24h_change":1.2257410580094512,"sar":533.03,"sar_market_cap":9683862906.179407,"sar_24h_vol":270939418.7141503,"sar_24h_change":1.6843376325898571,"sek":1520.94,"sek_market_cap":27619634063.675125,"sek_24h_vol":773096729.6061041,"sek_24h_change":1.8531320581160846,"sgd":191.86,"sgd_market_cap":3485463163.8522544,"sgd_24h_vol":97522243.12116764,"sgd_24h_change":1.7386780028798337,"thb":5207.83,"thb_market_cap":94623572268.61096,"thb_24h_vol":2647153913.1894813,"thb_24h_change":1.9929972535126714,"try":4583.32,"try_market_cap":83276799193.34557,"try_24h_vol":2329713280.7007546,"try_24h_change":1.789693818940375,"twd":4576.12,"twd_market_cap":83139182745.14397,"twd_24h_vol":2326056367.249782,"twd_24h_change":1.6852911534098216,"uah":5695.64,"uah_market_cap":103474403826.8023,"uah_24h_vol":2895110733.9631066,"uah_24h_change":2.307599673063141,"vef":14.23,"vef_market_cap":258527860.38326353,"vef_24h_vol":7233351.978300847,"vef_24h_change":1.683361610262816,"vnd":3619950,"vnd_market_cap":65764703836841.74,"vnd_24h_vol":1840030896071.9756,"vnd_24h_change":1.6833682091854942,"zar":2613.25,"zar_market_cap":47500911928.50394,"zar_24h_vol":1328320895.5514839,"zar_24h_change":1.7739068403403242,"xdr":107.37,"xdr_market_cap":1950564692.736883,"xdr_24h_vol":54574856.87652996,"xdr_24h_change":1.5748584125993856,"xag":4.65,"xag_market_cap":84482427.7203202,"xag_24h_vol":2361847.98685543,"xag_24h_change":1.4685977540292445,"xau":0.060675,"xau_market_cap":1102713.1118654548,"xau_24h_vol":30841.25596820115,"xau_24h_change":2.652347061408199,"bits":2109.58,"bits_market_cap":38350836660.76534,"bits_24h_vol":1072306695.5927315,"bits_24h_change":5.255455513612264,"sats":210958,"sats_market_cap":3835083666076.5347,"sats_24h_vol":107230669559.27315,"sats_24h_change":5.255455513612257,"last_updated_at":1716546848,"time":1716546880} \ No newline at end of file +{"btc":0.00208232,"btc_market_cap":37716.0017192902,"btc_24h_vol":1111.1795706662615,"btc_24h_change":2.5975603804259917,"eth":0.03798684,"eth_market_cap":687783.9634330593,"eth_24h_vol":20270.794573405943,"eth_24h_change":4.349922920883614,"ltc":1.664152,"ltc_market_cap":30129992.10214199,"ltc_24h_vol":888036.1024143804,"ltc_24h_change":3.515872590749021,"bch":0.28926888,"bch_market_cap":5231598.965094253,"bch_24h_vol":154361.6044280207,"bch_24h_change":2.210579079543682,"bnb":0.23642696,"bnb_market_cap":4281137.572236877,"bnb_24h_vol":126163.74668309104,"bnb_24h_change":1.7862386741105714,"eos":168.201,"eos_market_cap":3046740643.7842813,"eos_24h_vol":89756385.04378907,"eos_24h_change":0.38459875818736183,"xrp":264.329,"xrp_market_cap":4784071573.401359,"xrp_24h_vol":141052814.90273255,"xrp_24h_change":2.3718091109347856,"xlm":1282,"xlm_market_cap":23220039530.70873,"xlm_24h_vol":684294866.5060451,"xlm_24h_change":1.2057913273655556,"link":8.12804,"link_market_cap":147154598.50829327,"link_24h_vol":4337339.18700966,"link_24h_change":-5.590562375367947,"dot":19.317099,"dot_market_cap":350045399.4893988,"dot_24h_vol":10308120.43100164,"dot_24h_change":1.2939187996646089,"yfi":0.02004584,"yfi_market_cap":363346.2431751443,"yfi_24h_vol":10696.996408918945,"yfi_24h_change":1.6796989066873123,"usd":140.96,"usd_market_cap":2560908596.6498713,"usd_24h_vol":75219758.32665399,"usd_24h_change":2.457384497043999,"aed":517.73,"aed_market_cap":9405961184.63531,"aed_24h_vol":276274650.3579675,"aed_24h_change":2.4541766149042954,"ars":125559,"ars_market_cap":2281108066680.8887,"ars_24h_vol":67001688319.66749,"ars_24h_change":2.5158685901193847,"aud":212.81,"aud_market_cap":3865717135.7289343,"aud_24h_vol":113563707.11149059,"aud_24h_change":2.4900371971715423,"bdt":16541.84,"bdt_market_cap":300527051627.82587,"bdt_24h_vol":8827168694.59498,"bdt_24h_change":2.50313245157255,"bhd":53.13,"bhd_market_cap":965234620.0718999,"bhd_24h_vol":28351154.33065743,"bhd_24h_change":2.436457521632658,"bmd":140.96,"bmd_market_cap":2560908596.6498713,"bmd_24h_vol":75219758.32665399,"bmd_24h_change":2.457384497043999,"brl":725.91,"brl_market_cap":13195847255.908854,"brl_24h_vol":387366711.4306021,"brl_24h_change":2.5131219512097283,"cad":192.78,"cad_market_cap":3502885044.846998,"cad_24h_vol":102871594.56414846,"cad_24h_change":2.3453565427056255,"chf":128.91,"chf_market_cap":2341858718.926828,"chf_24h_vol":68790575.14295818,"chf_24h_change":2.5142167732608414,"clp":127568,"clp_market_cap":2318390552547.128,"clp_24h_vol":68073881285.6218,"clp_24h_change":2.0491877460597476,"cny":1002.24,"cny_market_cap":18208316213.04025,"cny_24h_vol":534820003.6783426,"cny_24h_change":2.5078447517001816,"czk":3206.54,"czk_market_cap":58263290383.27905,"czk_24h_vol":1711097934.1183522,"czk_24h_change":2.0877492319647977,"dkk":969.56,"dkk_market_cap":17617294361.653797,"dkk_24h_vol":517385568.0933908,"dkk_24h_change":2.2953079629224478,"eur":129.95,"eur_market_cap":2361237114.277679,"eur_24h_vol":69344794.32230899,"eur_24h_change":2.3113357910067482,"gbp":110.7,"gbp_market_cap":2012100762.5706093,"gbp_24h_vol":59069850.554646336,"gbp_24h_change":2.291955641890887,"hkd":1101.35,"hkd_market_cap":20008934582.790928,"hkd_24h_vol":587711152.84452,"hkd_24h_change":2.514918510418335,"huf":50005,"huf_market_cap":908850465515.9453,"huf_24h_vol":26683833167.588867,"huf_24h_change":1.5919276351812741,"idr":2262012,"idr_market_cap":41099755779236.16,"idr_24h_vol":1207070293359.968,"idr_24h_change":2.3110148039377294,"ils":516.04,"ils_market_cap":9374113725.327377,"ils_24h_vol":275373141.5544227,"ils_24h_change":1.9878838920771815,"inr":11708.44,"inr_market_cap":212707393203.51596,"inr_24h_vol":6247934255.789926,"inr_24h_change":2.1653300101383532,"jpy":22129,"jpy_market_cap":402040881950.9565,"jpy_24h_vol":11808486590.547276,"jpy_24h_change":2.4034604139616578,"krw":192693,"krw_market_cap":3500728316771.432,"krw_24h_vol":102826061261.30228,"krw_24h_change":2.5309382409246863,"kwd":43.28,"kwd_market_cap":786216865.5316881,"kwd_24h_vol":23092992.344590995,"kwd_24h_change":2.4530461933550285,"lkr":42245,"lkr_market_cap":767495960414.848,"lkr_24h_vol":22543116429.305832,"lkr_24h_change":2.3151478252614552,"mmk":296150,"mmk_market_cap":5380363592977.1875,"mmk_24h_vol":158033617327.34326,"mmk_24h_change":2.500964311163841,"mxn":2357.89,"mxn_market_cap":42840190189.960335,"mxn_24h_vol":1258234595.9816723,"mxn_24h_change":2.596773019647467,"myr":664.13,"myr_market_cap":12065720853.11587,"myr_24h_vol":354397891.35603017,"myr_24h_change":2.6098346387126172,"ngn":206317,"ngn_market_cap":3748308150369.9644,"ngn_24h_vol":110096406241.71176,"ngn_24h_change":3.8525778504880046,"nok":1490.23,"nok_market_cap":27066696238.8141,"nok_24h_vol":795227422.1160939,"nok_24h_change":1.7014289715693318,"nzd":230.6,"nzd_market_cap":4188335278.9177194,"nzd_24h_vol":123052529.18488191,"nzd_24h_change":2.4949764786713513,"php":8200.25,"php_market_cap":148975743475.63885,"php_24h_vol":4375871605.11465,"php_24h_change":2.319744562993141,"pkr":39231,"pkr_market_cap":712735680560.9401,"pkr_24h_vol":20934681430.142044,"pkr_24h_change":2.459088260953875,"pln":553.5,"pln_market_cap":10053894107.765093,"pln_24h_vol":295359783.53939736,"pln_24h_change":2.1995577834150466,"rub":12585.67,"rub_market_cap":228652552540.6218,"rub_24h_vol":6716049829.102742,"rub_24h_change":1.1766670916778224,"sar":528.66,"sar_market_cap":9604528915.402348,"sar_24h_vol":282107039.979099,"sar_24h_change":2.4565649402485077,"sek":1502.6,"sek_market_cap":27299662093.851326,"sek_24h_vol":801828482.4475658,"sek_24h_change":1.8276467694342151,"sgd":190.32,"sgd_market_cap":3457854028.083505,"sgd_24h_vol":101560965.49506487,"sgd_24h_change":2.425447426434236,"thb":5166.31,"thb_market_cap":93863702338.7093,"thb_24h_vol":2756879362.430194,"thb_24h_change":2.5721278121049487,"try":4540.8,"try_market_cap":82498507788.57266,"try_24h_vol":2423093189.250831,"try_24h_change":2.481575268444686,"twd":4543.48,"twd_market_cap":82546532507.48584,"twd_24h_vol":2424520785.0441165,"twd_24h_change":2.450385481893982,"uah":5660.39,"uah_market_cap":102836224621.5444,"uah_24h_vol":3020535747.8893514,"uah_24h_change":2.99101685490576,"vef":14.11,"vef_market_cap":256423777.7825515,"vef_24h_vol":7531754.401247855,"vef_24h_change":2.4573844970439906,"vnd":3590410,"vnd_market_cap":65229464157532.2,"vnd_24h_vol":1915938950779.1758,"vnd_24h_change":2.4573911461984568,"zar":2598.11,"zar_market_cap":47206352400.92102,"zar_24h_vol":1386422378.0675104,"zar_24h_change":2.3662959674018764,"xdr":106.53,"xdr_market_cap":1935370819.1977873,"xdr_24h_vol":56846279.2787521,"xdr_24h_change":2.493459608267669,"xag":4.63,"xag_market_cap":84128331.48128684,"xag_24h_vol":2472313.2381118764,"xag_24h_change":1.9849096396578991,"xau":0.060293,"xau_market_cap":1095735.9612485815,"xau_24h_vol":32173.747229059714,"xau_24h_change":2.8324308865490764,"bits":2082.32,"bits_market_cap":37716001719.2902,"bits_24h_vol":1111179570.6662614,"bits_24h_change":2.5975603804259917,"sats":208232,"sats_market_cap":3771600171929.02,"sats_24h_vol":111117957066.62614,"sats_24h_change":2.5975603804259872,"last_updated_at":1716561993,"time":1716562043} \ No newline at end of file diff --git a/coingecko.json b/coingecko.json index e59525d..ce66d68 100644 --- a/coingecko.json +++ b/coingecko.json @@ -1 +1 @@ -{"time":1716546880,"eur":{"lastValue":131.11,"lastDate":1716546880},"btc":{"lastValue":0.00210958,"lastDate":1716546880},"usd":{"lastValue":142.12,"lastDate":1716546880},"gbp":{"lastValue":111.73,"lastDate":1716546880},"chf":{"lastValue":130.02,"lastDate":1716546880},"rub":{"lastValue":12792.01,"lastDate":1716546880},"cny":{"lastValue":1010.5,"lastDate":1716546880},"jpy":{"lastValue":22304,"lastDate":1716546880},"idr":{"lastValue":2281231,"lastDate":1716546880},"krw":{"lastValue":194097,"lastDate":1716546880},"try":{"lastValue":4583.32,"lastDate":1716546880},"aud":{"lastValue":214.77,"lastDate":1716546880},"bmd":{"lastValue":142.12,"lastDate":1716546880},"cad":{"lastValue":194.9,"lastDate":1716546880},"hkd":{"lastValue":1110.36,"lastDate":1716546880},"nzd":{"lastValue":232.54,"lastDate":1716546880},"sgd":{"lastValue":191.86,"lastDate":1716546880},"twd":{"lastValue":4576.12,"lastDate":1716546880},"ils":{"lastValue":521.33,"lastDate":1716546880},"pln":{"lastValue":558.14,"lastDate":1716546880},"zar":{"lastValue":2613.25,"lastDate":1716546880},"czk":{"lastValue":3241.92,"lastDate":1716546880},"dkk":{"lastValue":978.25,"lastDate":1716546880},"nok":{"lastValue":1508.67,"lastDate":1716546880},"sek":{"lastValue":1520.94,"lastDate":1716546880},"ars":{"lastValue":126525,"lastDate":1716546880},"clp":{"lastValue":129290,"lastDate":1716546880},"php":{"lastValue":8269.56,"lastDate":1716546880},"mxn":{"lastValue":2375.11,"lastDate":1716546880},"bhd":{"lastValue":53.57,"lastDate":1716546880},"kwd":{"lastValue":43.63,"lastDate":1716546880},"brl":{"lastValue":731.16,"lastDate":1716546880},"myr":{"lastValue":669.59,"lastDate":1716546880},"vef":{"lastValue":14.23,"lastDate":1716546880},"uah":{"lastValue":5695.64,"lastDate":1716546880},"vnd":{"lastValue":3619950,"lastDate":1716546880},"bdt":{"lastValue":16725.09,"lastDate":1716546880},"huf":{"lastValue":50508,"lastDate":1716546880},"mmk":{"lastValue":299419,"lastDate":1716546880},"ngn":{"lastValue":210336,"lastDate":1716546880},"thb":{"lastValue":5207.83,"lastDate":1716546880},"aed":{"lastValue":522,"lastDate":1716546880},"sar":{"lastValue":533.03,"lastDate":1716546880},"pkr":{"lastValue":39680,"lastDate":1716546880},"lkr":{"lastValue":42789,"lastDate":1716546880},"inr":{"lastValue":11812.48,"lastDate":1716546880},"ltc":{"lastValue":1.659812,"lastDate":1716546880},"eth":{"lastValue":0.0384915,"lastDate":1716546880},"xag":{"lastValue":4.65,"lastDate":1716546880},"xau":{"lastValue":0.060675,"lastDate":1716546880}} \ No newline at end of file +{"time":1716562043,"eur":{"lastValue":129.95,"lastDate":1716562043},"btc":{"lastValue":0.00208232,"lastDate":1716562043},"usd":{"lastValue":140.96,"lastDate":1716562043},"gbp":{"lastValue":110.7,"lastDate":1716562043},"chf":{"lastValue":128.91,"lastDate":1716562043},"rub":{"lastValue":12585.67,"lastDate":1716562043},"cny":{"lastValue":1002.24,"lastDate":1716562043},"jpy":{"lastValue":22129,"lastDate":1716562043},"idr":{"lastValue":2262012,"lastDate":1716562043},"krw":{"lastValue":192693,"lastDate":1716562043},"try":{"lastValue":4540.8,"lastDate":1716562043},"aud":{"lastValue":212.81,"lastDate":1716562043},"bmd":{"lastValue":140.96,"lastDate":1716562043},"cad":{"lastValue":192.78,"lastDate":1716562043},"hkd":{"lastValue":1101.35,"lastDate":1716562043},"nzd":{"lastValue":230.6,"lastDate":1716562043},"sgd":{"lastValue":190.32,"lastDate":1716562043},"twd":{"lastValue":4543.48,"lastDate":1716562043},"ils":{"lastValue":516.04,"lastDate":1716562043},"pln":{"lastValue":553.5,"lastDate":1716562043},"zar":{"lastValue":2598.11,"lastDate":1716562043},"czk":{"lastValue":3206.54,"lastDate":1716562043},"dkk":{"lastValue":969.56,"lastDate":1716562043},"nok":{"lastValue":1490.23,"lastDate":1716562043},"sek":{"lastValue":1502.6,"lastDate":1716562043},"ars":{"lastValue":125559,"lastDate":1716562043},"clp":{"lastValue":127568,"lastDate":1716562043},"php":{"lastValue":8200.25,"lastDate":1716562043},"mxn":{"lastValue":2357.89,"lastDate":1716562043},"bhd":{"lastValue":53.13,"lastDate":1716562043},"kwd":{"lastValue":43.28,"lastDate":1716562043},"brl":{"lastValue":725.91,"lastDate":1716562043},"myr":{"lastValue":664.13,"lastDate":1716562043},"vef":{"lastValue":14.11,"lastDate":1716562043},"uah":{"lastValue":5660.39,"lastDate":1716562043},"vnd":{"lastValue":3590410,"lastDate":1716562043},"bdt":{"lastValue":16541.84,"lastDate":1716562043},"huf":{"lastValue":50005,"lastDate":1716562043},"mmk":{"lastValue":296150,"lastDate":1716562043},"ngn":{"lastValue":206317,"lastDate":1716562043},"thb":{"lastValue":5166.31,"lastDate":1716562043},"aed":{"lastValue":517.73,"lastDate":1716562043},"sar":{"lastValue":528.66,"lastDate":1716562043},"pkr":{"lastValue":39231,"lastDate":1716562043},"lkr":{"lastValue":42245,"lastDate":1716562043},"inr":{"lastValue":11708.44,"lastDate":1716562043},"ltc":{"lastValue":1.664152,"lastDate":1716562043},"eth":{"lastValue":0.03798684,"lastDate":1716562043},"xag":{"lastValue":4.63,"lastDate":1716562043},"xau":{"lastValue":0.060293,"lastDate":1716562043}} \ No newline at end of file diff --git a/css/custom.css b/css/custom.css index 051b428..0551afb 100644 --- a/css/custom.css +++ b/css/custom.css @@ -1,92 +1,106 @@ p.fiat-info { - color: #4d4d4d; + color: #4d4d4d; } p.fiat-info span, a.fiat-tooltip { - color: white; + color: white; } .btn { - padding: 2px; - font-size: 0.8rem; - font-weight: bold; + padding: 2px; + font-size: 0.8rem; + font-weight: bold; } .clipboard-copy { - border-top: 1px; - border-bottom: 1px; - width: auto!important; + border-top: 1px; + border-bottom: 1px; + width: auto !important; } table.table { - max-width: 472px; - margin: auto; + max-width: 472px; + margin: auto; } .input-group-text { - width: 24%; - font-weight: 800; + width: 24%; + font-weight: 800; } input.form-control { - font-weight: 800; + font-weight: 800; } .equals-box { - text-align: center; - color: #e9ecef; - font-weight: 800; - font-size: 42px; + text-align: center; + color: #e9ecef; + font-weight: 800; + font-size: 42px; } .equals-text { - vertical-align: super; + vertical-align: super; } p { - color: #e9ecef; + color: #e9ecef; } .gold { - color: #e8be74; + color: #e8be74; } .cursor-default { - cursor: default; + cursor: default; } .cursor-pointer { - cursor: pointer; + cursor: pointer; } .text-center { - text-align: center; + text-align: center; } @media (max-width: 475px) { - .btn { - padding: 1px; - font-size: 12px; - } + .btn { + padding: 1px; + font-size: 12px; + } - h1 { - font-size: 1.2rem; - } + h1 { + font-size: 1.2rem; + } - p { - font-size: 0.88rem; - } + p { + font-size: 0.88rem; + } } @media (min-width: 768px) { - .btn { - min-width: 38px; - } + .btn { + min-width: 38px; + } } @media (min-width: 1400px) { - small.text-info { - padding-right: 7%; - } -} \ No newline at end of file + small.text-info { + padding-right: 7%; + } +} + +.bs-tooltip-auto { + padding: 0.4rem 0; +} + +.bs-tooltip-auto .tooltip-arrow { + bottom: 0; +} + +.bs-tooltip-auto .tooltip-arrow::before { + top: -1px; + border-width: 0.4rem 0.4rem 0; + border-top-color: #000; +} diff --git a/index.php b/index.php index 02f5564..c7e094f 100644 --- a/index.php +++ b/index.php @@ -781,13 +781,7 @@ $xmr_in_fiat = strtr($xmr_in_fiat, ",", " "); } } - - +