diff --git a/www/assets/css/app.css b/www/assets/css/app.css index 336dddd..fe4aea6 100644 --- a/www/assets/css/app.css +++ b/www/assets/css/app.css @@ -234,4 +234,24 @@ Framework7 and FontAwesome both have a .fab class width: 100%; transform-origin: 50% 100%; transform: scaleY(calc(1 / var(--f7-device-pixel-ratio))); +} + +#trackMapContainer { + margin: 0; + min-height: 200px; + max-height: 500px; + height: 30vh; +} + +@media all and (min-width: 1024px) { + #trackMapContainer { + height: calc(calc(100vh - calc(var(--f7-list-margin-vertical) * 2)) - var(--f7-navbar-height)); + min-height: none; + max-height: none; + margin: var(--f7-list-margin-vertical) 0; + } + #trackResultContainer ul { + height: calc(calc(100vh - calc(var(--f7-list-margin-vertical) * 2)) - var(--f7-navbar-height)); + overflow-y: auto; + } } \ No newline at end of file diff --git a/www/assets/css/tablet.css b/www/assets/css/tablet.css index 89cf403..a7a48ed 100644 --- a/www/assets/css/tablet.css +++ b/www/assets/css/tablet.css @@ -16,6 +16,11 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. margin-top: 0; } +.no-margin-vertical-md { + margin-top: 0; + margin-bottom: 0; +} + @media all and (min-width: 768px) { .only-tablet { display: inherit; @@ -46,4 +51,18 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. .list.no-margin-top-sm { margin: var(--f7-list-margin-vertical) 0; } +} + +@media all and (min-width: 1024px) { + .margin-top-tablet-md { + margin-top: 1rem; + } + + .list.no-margin-vertical-md { + margin: var(--f7-list-margin-vertical) 0; + } + + .flex-direction-row-reverse-md { + flex-direction: row-reverse; + } } \ No newline at end of file diff --git a/www/pages/trackresult.html b/www/pages/trackresult.html index b68785e..5330c10 100644 --- a/www/pages/trackresult.html +++ b/www/pages/trackresult.html @@ -25,51 +25,57 @@
-
-
-
    - {{#if map.enabled}} -
  • -
    -
  • - {{/if}} - {{#js_if "this.info != []"}} -
  • Info
  • - {{#each info}} -
  • -
    -
    -
    -
    {{label}}
    - {{value}} -
    -
    -
    -
  • - {{/each}} - {{/js_if}} - {{#if events}} -
  • Events
  • - {{#each events}} -
  • -
    -
    -
    -
    - {{text}} +
    +
    + {{#if map.enabled}} +
    +
    +
    +
    +
    + {{/if}} +
    +
    +
      + {{#js_if "this.info != []"}} +
    • Info
    • + {{#each info}} +
    • +
      +
      +
      +
      {{label}}
      + {{value}} +
      -
      -
      - {{date}} +
    • + {{/each}} + {{/js_if}} + {{#if events}} +
    • Events
    • + {{#each events}} +
    • +
      +
      +
      +
      + {{text}} +
      +
      +
      +
      + {{date}} +
      +
      -
    -
    -
  • - {{/each}} - {{/if}} -
+ + {{/each}} + {{/if}} + +
+