UNPKG

@nextcloud/vue

Version:
131 lines (130 loc) 3.27 kB
/** * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ /** * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ /* * Ensure proper alignment of the vue material icons */ .material-design-icon { display: flex; align-self: center; justify-self: center; align-items: center; justify-content: center; } /** When having the small dialog style we override the modal styling so dialogs look more dialog like */ @media only screen and (max-width: 512px) { .dialog__modal .modal-wrapper--small .modal-container { width: fit-content; height: unset; max-height: 90%; position: relative; top: unset; border-radius: var(--border-radius-element); } }/** * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ /** * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ /* * Ensure proper alignment of the vue material icons */ .material-design-icon[data-v-ca0b8eba] { display: flex; align-self: center; justify-self: center; align-items: center; justify-content: center; } .dialog[data-v-ca0b8eba] { height: 100%; width: 100%; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; } .dialog__modal[data-v-ca0b8eba] .modal-wrapper .modal-container { display: flex !important; padding-block: 4px 0; padding-inline: 12px 0; } .dialog__modal[data-v-ca0b8eba] .modal-wrapper .modal-container__content { display: flex; flex-direction: column; overflow: hidden; } .dialog__wrapper[data-v-ca0b8eba] { display: flex; flex-direction: row; flex: 1; min-height: 0; overflow: hidden; } .dialog__wrapper--collapsed[data-v-ca0b8eba] { flex-direction: column; } .dialog__navigation[data-v-ca0b8eba] { display: flex; flex-shrink: 0; } .dialog__wrapper:not(.dialog__wrapper--collapsed) .dialog__navigation[data-v-ca0b8eba] { flex-direction: column; overflow: hidden auto; height: 100%; min-width: 200px; margin-inline-end: 20px; } .dialog__wrapper.dialog__wrapper--collapsed .dialog__navigation[data-v-ca0b8eba] { flex-direction: row; justify-content: space-between; overflow: auto hidden; width: 100%; min-width: 100%; } .dialog__name[data-v-ca0b8eba] { font-size: 21px; text-align: center; height: fit-content; min-height: var(--default-clickable-area); line-height: var(--default-clickable-area); overflow-wrap: break-word; margin-block: 0 12px; } .dialog__content[data-v-ca0b8eba] { flex: 1; min-height: 0; overflow: auto; padding-inline-end: 12px; } .dialog__text[data-v-ca0b8eba] { padding-block-end: 6px; } .dialog__actions[data-v-ca0b8eba] { display: flex; gap: 6px; align-content: center; justify-content: end; width: 100%; max-width: 100%; padding-inline: 0 12px; margin-inline: 0; margin-block: 0; } .dialog__actions[data-v-ca0b8eba]:not(:empty) { margin-block: 6px 12px; } @media only screen and (max-width: 512px) { .dialog__name[data-v-ca0b8eba] { text-align: start; margin-inline-end: var(--default-clickable-area); } }