@nextcloud/vue
Version:
Nextcloud vue components
73 lines • 1.85 kB
CSS
/**
* 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-45238efd] {
display: flex;
align-self: center;
justify-self: center;
align-items: center;
justify-content: center;
}
.mention-bubble--primary .mention-bubble__content[data-v-45238efd] {
color: var(--color-primary-element-text);
background-color: var(--color-primary-element);
}
.mention-bubble__wrapper[data-v-45238efd] {
position: relative;
max-width: 150px;
height: 18px;
vertical-align: text-bottom;
display: inline-flex;
align-items: center;
}
.mention-bubble__content[data-v-45238efd] {
display: inline-flex;
overflow: hidden;
align-items: center;
max-width: 100%;
height: 20px;
-webkit-user-select: none;
user-select: none;
padding-inline: 2px 6px;
border-radius: 10px;
background-color: var(--color-background-dark);
}
.mention-bubble__icon[data-v-45238efd] {
position: relative;
width: 16px;
height: 16px;
border-radius: 8px;
background-color: var(--color-background-darker);
background-repeat: no-repeat;
background-position: center;
background-size: 12px;
}
.mention-bubble__icon--with-avatar[data-v-45238efd] {
color: inherit;
background-size: cover;
}
.mention-bubble__title[data-v-45238efd] {
overflow: hidden;
margin-inline-start: 2px;
white-space: nowrap;
text-overflow: ellipsis;
}
.mention-bubble__title[data-v-45238efd]::before {
content: attr(title);
}
.mention-bubble__select[data-v-45238efd] {
position: absolute;
z-index: -1;
inset-inline-start: -100vw;
width: 1px;
height: 1px;
overflow: hidden;
}