diff --git a/src/assets/style/main.css b/src/assets/style/main.css index 5c04c1b..4f0fa0d 100644 --- a/src/assets/style/main.css +++ b/src/assets/style/main.css @@ -72,6 +72,7 @@ body { } .container { + max-height: calc(100vh - 100px); margin: auto 25px 25px 25px; /* height: 100%; */ /* background: #806c58; */ @@ -114,8 +115,11 @@ body { .stopdescription { font-size: 16px; font-weight: 400; - padding: 0 15px 15px 15px; + padding: 0 15px 0 15px; color: #fff; + overflow-y: auto; + margin-bottom: 15px; + max-height: calc(100% - 430px); } .landmarks { @@ -125,7 +129,7 @@ body { width: 450px; margin: 0 25px; color: #fff; - font-size: 18px; + font-size: 16px; font-weight: 600; display: flex; align-items: center; @@ -134,17 +138,56 @@ body { position: relative; } -.landmarks-arrow { +/* .landmarks-arrow { position: absolute; left: 25px; top: 18px; -} +} */ .landmarks-container { position: absolute; bottom: 0; } +.language-toggle { + background: rgba(0, 0, 0, 0); + border: none; + color: #fff; + font-size: 24px; + cursor: pointer; + padding: 0; + display: inline-flex; + align-items: center; + justify-content: center; + border-radius: 5px; + z-index: 1001; + transition: left 0.3s ease; + pointer-events: auto; +} + +.language-option { + background: rgba(0, 0, 0, 0); + border: none; + color: #fff; + font-size: 24px; + cursor: pointer; + padding: 0; + display: inline-flex; + align-items: center; + justify-content: center; + border-radius: 5px; + z-index: 1001; + transition: left 0.3s ease; + pointer-events: auto; +} + +.landmarks-header { + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; +} + .stoparticles { padding: 0 15px; height: 50px; @@ -168,6 +211,12 @@ body { .stoparticle-option { color: #fff; font-size: 18px; + width: 100%; + height: 100%; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; } .description-button { @@ -521,23 +570,37 @@ body { .carrier-toggle { position: absolute; bottom: 10px; - left: 310px; background: rgba(0, 0, 0, 0); border: none; color: #fff; font-size: 24px; cursor: pointer; - padding: 5px 10px; + padding: 5px 0; border-radius: 5px; z-index: 1001; + left: var(--panel-offset, 310px); transition: left 0.3s ease; pointer-events: auto; } -.carrierinfo .bg.hidden + .carrier-toggle { - left: 10px; +.lang-toggle { + margin-left: 60px; } +.lang-option:nth-of-type(1) { + margin-left: 60px; +} +.lang-option:nth-of-type(2) { + margin-left: 120px; +} +.lang-option:nth-of-type(3) { + margin-left: 180px; +} + +/* .carrierinfo .bg.hidden + .carrier-toggle { + left: 10px; +} */ + .bg.hidden { transform: translateX(-100%); transition: transform 0.3s ease; @@ -595,10 +658,6 @@ body { overflow-y: auto; } -.carrierinfo .bg.hidden + .carrier-toggle { - left: 10px; -} - .bg.hidden { transform: translateX(-100%); transition: transform 0.3s ease; @@ -670,7 +729,13 @@ body { ); border-radius: 10px; color: white; - padding-bottom: 20px; +} + +.sight-preview-panel.left-panel { + right: 490px; + left: auto; + top: auto; + bottom: 200px; } .sight-preview-panel img { @@ -687,7 +752,7 @@ body { .sight-preview-panel p { font-size: 16px; - margin: 0; + margin: 0 0 20px 0; padding: 10px 10px 0 10px; max-height: 150px; overflow-y: auto; @@ -771,13 +836,14 @@ li.checked { } .sight-card { - width: 30%; + /* width: 30%; */ min-width: 100px; text-align: center; color: white; display: flex; flex-direction: column; align-items: center; + justify-content: end; } .sight-thumbnail { diff --git a/src/components/carrierinfo.vue b/src/components/carrierinfo.vue index 74ad041..c337402 100644 --- a/src/components/carrierinfo.vue +++ b/src/components/carrierinfo.vue @@ -589,10 +589,7 @@ clip-rule="evenodd" /> - При поддержке Правительства
- Санкт-Петербурга
+
@@ -602,13 +599,13 @@ class="stop-button yellow" @click="toggleGovernorAppeal" > - {{ governorAppealTitle || "Обращение" }} + {{ governorAppealTitle || t("appeal") }} @@ -690,7 +687,7 @@ style="mix-blend-mode: soft-light" /> - Остановки + {{ t("stops") }}
  • {{ station.name }}
    @@ -700,7 +697,7 @@ - #ВсемПоПути + {{ t("hashtag") }} - -
    - -

    {{ governorAppealTitle }}

    -

    {{ governorAppealText }}

    -
    -
    -
    - - - + + + + +
    + + + + + + + +
    -

    {{ selectedSightName }}

    -

    {{ selectedSightText }}

    + +
    + +

    {{ governorAppealTitle }}

    +

    {{ governorAppealText }}

    +
    +
    + +
    +
    + + + +
    +

    {{ selectedSightName }}

    +

    {{ selectedSightText }}

    +
    +
    diff --git a/src/components/stopinfo.vue b/src/components/stopinfo.vue index 9d34320..a67847c 100644 --- a/src/components/stopinfo.vue +++ b/src/components/stopinfo.vue @@ -1,6 +1,30 @@