UNPKG

@nextcloud/vue

Version:
229 lines (222 loc) 8.84 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[data-v-e6236e50] { display: flex; align-self: center; justify-self: center; align-items: center; justify-content: center; } .icon-collapse[data-v-e6236e50] { position: relative; inset-inline-end: 0; } .icon-collapse[data-v-e6236e50]:hover { background-color: var(--color-background-dark) !important; } .icon-collapse--active[data-v-e6236e50]:hover { background-color: var(--color-primary-element) !important; }/** * 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-d600f829] { display: flex; align-self: center; justify-self: center; align-items: center; justify-content: center; } /** * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ .app-navigation-entry[data-v-d600f829] { position: relative; display: flex; flex-shrink: 0; flex-wrap: wrap; width: 100%; min-height: var(--default-clickable-area); transition: background-color var(--animation-quick) ease-in-out; transition: background-color 200ms ease-in-out; border-radius: var(--border-radius-element); } .app-navigation-entry-wrapper[data-v-d600f829] { position: relative; display: flex; flex-shrink: 0; flex-wrap: wrap; width: 100%; } .app-navigation-entry-wrapper.app-navigation-entry--collapsible:not(.app-navigation-entry--opened) > ul[data-v-d600f829] { display: none; } .app-navigation-entry.active[data-v-d600f829] { background-color: var(--color-primary-element) !important; } .app-navigation-entry.active[data-v-d600f829]:hover { background-color: var(--color-primary-element-hover) !important; } .app-navigation-entry.active .app-navigation-entry-link[data-v-d600f829], .app-navigation-entry.active .app-navigation-entry-button[data-v-d600f829] { color: var(--color-primary-element-text) !important; } .app-navigation-entry[data-v-d600f829]:focus-within, .app-navigation-entry[data-v-d600f829]:hover { background-color: var(--color-background-hover); } .app-navigation-entry.active .app-navigation-entry__children[data-v-d600f829], .app-navigation-entry:focus-within .app-navigation-entry__children[data-v-d600f829], .app-navigation-entry:hover .app-navigation-entry__children[data-v-d600f829] { background-color: var(--color-main-background); } .app-navigation-entry.active .app-navigation-entry__utils .app-navigation-entry__actions[data-v-d600f829], .app-navigation-entry.app-navigation-entry--deleted .app-navigation-entry__utils .app-navigation-entry__actions[data-v-d600f829], .app-navigation-entry:focus .app-navigation-entry__utils .app-navigation-entry__actions[data-v-d600f829], .app-navigation-entry:focus-within .app-navigation-entry__utils .app-navigation-entry__actions[data-v-d600f829], .app-navigation-entry:hover .app-navigation-entry__utils .app-navigation-entry__actions[data-v-d600f829] { display: inline-block; } .app-navigation-entry .app-navigation-entry__actions[data-v-d600f829]:hover .button-vue { background-color: var(--color-background-dark) !important; } .app-navigation-entry.active .app-navigation-entry__actions[data-v-d600f829]:hover .button-vue { background-color: var(--color-primary-element) !important; } .app-navigation-entry[data-v-d600f829] { /* hide deletion/collapse of subitems */ } .app-navigation-entry.app-navigation-entry--deleted > ul[data-v-d600f829] { display: none; } .app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-d600f829], .app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-d600f829] { padding-inline-end: calc((var(--default-clickable-area) - 16px) / 2); } .app-navigation-entry .app-navigation-entry-link[data-v-d600f829], .app-navigation-entry .app-navigation-entry-button[data-v-d600f829] { z-index: 100; /* above the bullet to allow click*/ display: flex; overflow: hidden; flex: 1 1 0; min-height: var(--default-clickable-area); padding: 0; white-space: nowrap; color: var(--color-main-text); background-repeat: no-repeat; background-position: calc((var(--default-clickable-area) - 16px) / 2) center; background-size: 16px 16px; line-height: var(--default-clickable-area); } .app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-d600f829], .app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-d600f829] { display: flex; align-items: center; flex: 0 0 var(--default-clickable-area); justify-content: center; width: var(--default-clickable-area); height: var(--default-clickable-area); background-size: 16px 16px; background-repeat: no-repeat; background-position: calc((var(--default-clickable-area) - 16px) / 2) center; } .app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-d600f829], .app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-d600f829] { overflow: hidden; max-width: 100%; white-space: nowrap; text-overflow: ellipsis; } .app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-d600f829], .app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-d600f829] { width: calc(100% - var(--default-clickable-area)); margin: auto; } .app-navigation-entry .app-navigation-entry-link[data-v-d600f829]:focus-visible, .app-navigation-entry .app-navigation-entry-button[data-v-d600f829]:focus-visible { box-shadow: 0 0 0 4px var(--color-main-background); outline: 2px solid var(--color-main-text); border-radius: var(--border-radius-element); } /* Second level nesting for lists */ .app-navigation-entry__children[data-v-d600f829] { --app-navigation-item-child-offset: 10px; position: relative; display: flex; flex: 0 1 auto; flex-direction: column; width: 100%; gap: var(--default-grid-baseline, 4px); padding-inline-start: var(--app-navigation-item-child-offset); } .app-navigation-entry__children .app-navigation-entry[data-v-d600f829] { display: inline-flex; flex-wrap: wrap; } .app-navigation-entry__children .app-navigation-entry__children .app-navigation-entry__children .app-navigation-entry__children .app-navigation-entry__children .app-navigation-entry__children .app-navigation-entry__children[data-v-d600f829] { --app-navigation-item-child-offset: 0; } /* Deleted entries */ .app-navigation-entry__deleted[data-v-d600f829] { display: inline-flex; flex: 1 1 0; padding-inline-start: calc(var(--default-clickable-area) - (var(--default-clickable-area) - 16px) / 2) !important; } .app-navigation-entry__deleted .app-navigation-entry__deleted-description[data-v-d600f829] { position: relative; overflow: hidden; flex: 1 1 0; white-space: nowrap; text-overflow: ellipsis; line-height: var(--default-clickable-area); } /* counter and actions */ .app-navigation-entry__utils[data-v-d600f829] { display: flex; min-width: var(--default-clickable-area); align-items: center; flex: 0 1 auto; justify-content: flex-end; } .app-navigation-entry__utils.app-navigation-entry__utils--display-actions .action-item.app-navigation-entry__actions[data-v-d600f829] { display: inline-block; } .app-navigation-entry__utils[data-v-d600f829] { /* counter */ } .app-navigation-entry__utils .app-navigation-entry__counter-wrapper[data-v-d600f829] { margin-inline-end: calc(var(--default-grid-baseline) * 2); display: flex; align-items: center; flex: 0 1 auto; } .app-navigation-entry__utils[data-v-d600f829] { /* actions */ } .app-navigation-entry__utils .action-item.app-navigation-entry__actions[data-v-d600f829] { display: none; } /* editing state */ .app-navigation-entry--editing .app-navigation-entry-edit[data-v-d600f829] { z-index: 250; opacity: 1; } /* deleted state */ .app-navigation-entry--deleted .app-navigation-entry-deleted[data-v-d600f829] { z-index: 250; transform: translateX(0); } /* pinned state */ .app-navigation-entry--pinned[data-v-d600f829] { order: 2; margin-top: auto; } .app-navigation-entry--pinned ~ .app-navigation-entry--pinned[data-v-d600f829] { margin-top: 0; } [data-themes*=highcontrast] .app-navigation-entry[data-v-d600f829]:active { background-color: var(--color-primary-element-light-hover) !important; }