MoeMesto Mobile Adaptation

Адаптация интерфейса бронирования для мобильных устройств

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

/* ==UserStyle==
@name         MoeMesto Mobile Adaptation
@namespace    moemesto.rest
@version      8.0.0
@description  Адаптация интерфейса бронирования для мобильных устройств
@author       Ваше имя
==/UserStyle== */

/* Общие стили для Vuetify */
@media (max-width: 768px) {
  /* Контейнеры */
  .v-container {
    padding: 0 8px !important;
    max-width: 100% !important;
  }

  /* Шапка */
  .v-toolbar {
    min-height: 56px !important;
    flex-direction: column !important;
  }
  
  /* Скрыть сайдбар */
  .v-navigation-drawer {
    display: none !important;
  }

  /* Таблицы */
  .v-data-table {
    overflow-x: auto !important;
    display: block !important;
  }

  /* Формы */
  .v-text-field {
    width: 100% !important;
    margin-bottom: 12px !important;
  }
}

@media (max-width: 768px) {
  .v-app-bar .v-btn:not(.burger-menu) {
    display: none !important;
  }

  .burger-menu {
    display: block !important;
    position: fixed !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 1000 !important;
  }
}


@media (max-width: 480px) {
  .v-card {
    width: 100% !important;
    margin: 8px 0 !important;
  }
}

/* Календарь */
@media (max-width: 768px) {
  .v-picker {
    width: 100vw !important;
    margin: 0 !important;
  }
}

/* Выбор времени */
.v-menu__content {
  min-width: 90vw !important;
}
/* Минимальный размер кнопок */
.v-btn {
  min-width: 48px !important;
  min-height: 48px !important;
  padding: 12px !important;
}

/* Увеличиваем поля ввода */
.v-input input {
  font-size: 16px !important;
  height: 44px !important;
}