From c3520a8ea787ed152a99b6a49d69f7bec7affdd0 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 20 May 2022 23:23:00 +0200 Subject: [PATCH] menu update --- proj/map/asset/css/font.css | 16 +- proj/map/asset/css/style.css | 34 +++- proj/map/asset/js/.main.js.swp | Bin 32768 -> 32768 bytes proj/map/asset/js/db.js | 243 +++++++++++++++++++++++++++-- proj/map/asset/js/main.js | 36 +++-- proj/map/asset/markers/markers.svg | 41 ++++- 6 files changed, 336 insertions(+), 34 deletions(-) diff --git a/proj/map/asset/css/font.css b/proj/map/asset/css/font.css index 4482ee6..56b4c92 100644 --- a/proj/map/asset/css/font.css +++ b/proj/map/asset/css/font.css @@ -22,6 +22,20 @@ font-weight: 400; } +@font-face { + font-family: Inter; + src: url("../fonts/inter/Inter-LightItalic.woff"); + font-style: italic; + font-weight: 200; +} + +@font-face { + font-family: Inter; + src: url("../fonts/inter/Inter-Italic.woff"); + font-style: italic; + font-weight: 400; +} + @font-face { font-family: Inter; src: url("../fonts/inter/Inter-SemiBold.woff"); @@ -30,4 +44,4 @@ html { font-family: Inter; -} \ No newline at end of file +} diff --git a/proj/map/asset/css/style.css b/proj/map/asset/css/style.css index da2581b..e9538fa 100644 --- a/proj/map/asset/css/style.css +++ b/proj/map/asset/css/style.css @@ -265,7 +265,7 @@ div.timetable p { } section.restomenu { - margin-top: 50px; + /*! margin-top: 50px; */ padding: 10px; height: 100%; overflow-y: scroll; @@ -273,11 +273,37 @@ section.restomenu { scrollbar-width: none; /* Firefox */ } -section.restomenu div.dish h3 { - margin-bottom: 10px; - margin-top: 10px; +section.restomenu section.top { + margin-top: 20px; + margin-bottom: 20px; + text-align: center; } +section.restomenu section.top p.drinks { + font-style: italic; + font-size: 1rem; +} + +section.restomenu section.top p{ + margin-bottom: 0px; + margin-top: 5px; +} + +section.restomenu div.dish h3 { + margin-bottom: 0px; + margin-top: 30px; +} + +section.restomenu div.dish p { + margin-top: 3px; + font-style: italic; +} + +section.restomenu div.dish p { + line-height: 1rem; +} + + ::-webkit-scrollbar { display: none; } \ No newline at end of file diff --git a/proj/map/asset/js/.main.js.swp b/proj/map/asset/js/.main.js.swp index a46d65f8050f6c14b0c4229fedd19161a69eb86f..80b3d06e1244ab325f6b135ab365267d51a87043 100644 GIT binary patch delta 1561 zcma*nTWAzl9LMpqF(z5#YNFAKns~CoB$8y)h!qW+Xh{*G#E^^Einy2A?AYzhW@ZyD zHrcI$(L#}SytGIJQG(!umk}*ed=V5RSXx_erRa<3TWKpvAKKFI?5v?Z_zBFo0yX(oL)UC;byx0dR&8)w zzp0Dt)XwUh?&_e@AJD>zRLoGU&s3IpYlX}niY6PSw_4fFOjy-=WY|!(kIYw>M2z&3 zsBV}tsH>)_YvvMrEOyjoU0FZZzNi(ttls{2_)@YU`*&~io;}j}!;AGkHDQ(N<)v(w z+2G9;ipGkHw^xW5%+D)}8)``LHcK{0L{-zL2Y33?zjX$*9>v*YzM7DR^Ci7UMDH^~ zQ6-U3vOUbFhY6=M4RlUC$we3#@Ylzi(^t-KDxrj`YqGyijWl^DXv8Z+v4CkZr^l_U z`dZJ!Tp>pCGD(hE#qpZtB@&xL6kAb=84wsHwU;o0VI0OG?1O=i5kNN@AmPRzXUDV~iC4itG3mXK)A!Y(od$ zMTV$DvVLv#b|2bRk6{R=xZib9G411T~n0;A}Gf*xM<1VP_xi;7+}_?(?{&;Q=T{qMJAG9#JH znCYM2P`g?#c2^2M4k0#;?DacV1#O?#XNpkpaNn%Hh`SKpj@VgL%lo_dFq9;U2D`A3ZRz64T(o z*IXeUV*n>`Bv&NF0VaFVjz(0X98TErVge7wMI6LBcrXVU_`>VF$5TAQ4fNtTIuJzw z8)3bA4T_PAm)RU}ou1smsqB>7S8i8YWT7V*Zu1IJRnhDfQdXJGK3xVPKGUprX+|vS z@^*I0RxND04gXfR8PjDvUR7aLd4+n{Riv(OA2%iFYd5VucewTMZKqnAuosTqZq-N` z=L~C9d$i)&zn5cIrHqDJV^Lj3(#t=KUH>muom#m{Xr+a}?z4_cKUBpv31=#<)n}~n zhuVC4FeF1}AQCe}uDN2Yk|Cr^k9380a6K5-x5!{LtT&l|6f{Py0?mk;(r<)K)6mV7 zZ0fd+PxnNq0%LmWb|l}Xt{N-zW@HI5X#W|)fGTJ%PYe>G0rcSldTQ4 zcIeoIWhjFKT&&u?ss9Lj)ywOs|Jv^}GoUSd?Dx +
+

{{ fourchette.fr }}

+

{{ fourchette.en }}

+

{{ fourchette.it }}

+

{{ this.obj.priceRange }}

+

{{ horsboissons.fr }}

+

{{ horsboissons.en }}

+

{{ horsboissons.it }}

+
+

{{ d.name }}

{{ l2s(ings2ls(d.ing,"fr"), "fr") }}

{{ l2s(ings2ls(d.ing,"en"), "en") }}

{{ l2s(ings2ls(d.ing,"it"), "it") }}

- - -
`, @@ -29,9 +36,9 @@ Vue.component('Menu',{ it : "Fascia di prezzo per persona:", }, horsboissons : { - fr : "hors boissons", - en : "excluding drinks", - it : "bevande escluse", + fr : "(hors boissons)", + en : "(excluding drinks)", + it : "(bevande escluse)", } } }, @@ -70,7 +77,16 @@ Vue.component('Time', { {{ days[i].fr }} {{ days[i].en }} {{ days[i].it }} - {{ d }} + {{ d }} + + {{ closed.fr }} + + + {{ closed.en }} + + + {{ closed.it }} +

`, @@ -81,9 +97,9 @@ Vue.component('Time', { return { message : "hello from time", closed : { - fr : "fermé", - fr : "closed", - it : "chiuso", + fr : "Fermé", + en : "Closed", + it : "Chiuso", }, days : { mon : { diff --git a/proj/map/asset/markers/markers.svg b/proj/map/asset/markers/markers.svg index d83870a..dd1b4e2 100644 --- a/proj/map/asset/markers/markers.svg +++ b/proj/map/asset/markers/markers.svg @@ -23,9 +23,9 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="0.20296809" - inkscape:cx="2214.5142" - inkscape:cy="-7879.0027" + inkscape:zoom="0.30106958" + inkscape:cx="5547.9727" + inkscape:cy="-8955.9688" inkscape:document-units="mm" inkscape:current-layer="g5160" inkscape:document-rotation="0" @@ -375,6 +375,41 @@ d="m 3370.0581,-2099.8304 h 228.3351 l -38.0558,247.3632 -57.0838,-10e-5 v 76.1117 l 57.0838,19.028 0,19.0279 H 3408.114 l 0,-19.0279 57.0837,-19.028 v -76.1117 l -57.0837,10e-5 z" id="path7887" sodipodi:nodetypes="ccccccccccccc" /> + + + + + + + +