fix: use :deep() selector instead of ::v-deep

This commit is contained in:
Dominik Pschenitschni 2021-10-20 14:33:36 +02:00
parent f496c9d678
commit 87d2b4fed3
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
15 changed files with 31 additions and 31 deletions

View file

@ -393,7 +393,7 @@ $vikunja-nav-selected-width: 0.4rem;
padding: 0 .25rem; padding: 0 .25rem;
} }
::v-deep.dropdown-trigger { :deep(.dropdown-trigger) {
padding: .5rem; padding: .5rem;
cursor: pointer; cursor: pointer;
} }
@ -433,19 +433,19 @@ $vikunja-nav-selected-width: 0.4rem;
display: flex; display: flex;
align-items: center; align-items: center;
::v-deep.dropdown-trigger { &:hover {
background: $white;
}
:deep(.dropdown-trigger) {
opacity: 0; opacity: 0;
padding: .5rem; padding: .5rem;
cursor: pointer; cursor: pointer;
transition: $transition; transition: $transition;
} }
&:hover { &:hover :deep(.dropdown-trigger) {
background: $white; opacity: 1;
::v-deep.dropdown-trigger {
opacity: 1;
}
} }
&.loader-container.is-loading:after { &.loader-container.is-loading:after {

View file

@ -206,7 +206,7 @@ $vikunja-nav-logo-full-width: 164px;
display: flex; display: flex;
align-items: center; align-items: center;
::v-deep.dropdown-trigger { :deep(.dropdown-trigger) {
line-height: 1; line-height: 1;
.button { .button {
@ -228,7 +228,7 @@ $vikunja-nav-logo-full-width: 164px;
.navbar { .navbar {
// FIXME: notifications should provide a slot for the icon instead, so that we can style it as we want // FIXME: notifications should provide a slot for the icon instead, so that we can style it as we want
::v-deep { :deep() {
.trigger-button { .trigger-button {
cursor: pointer; cursor: pointer;
color: $grey-400; color: $grey-400;
@ -256,7 +256,7 @@ $vikunja-nav-logo-full-width: 164px;
height: 40px; height: 40px;
} }
::v-deep .dropdown-trigger .button { :deep(.dropdown-trigger .button) {
background: none; background: none;
&:focus:not(:active), &:active { &:focus:not(:active), &:active {
@ -289,7 +289,7 @@ $vikunja-nav-logo-full-width: 164px;
margin: 0; margin: 0;
} }
::v-deep.dropdown-trigger { :deep(.dropdown-trigger) {
color: $grey-400; color: $grey-400;
margin-left: 1rem; margin-left: 1rem;
height: 1rem; height: 1rem;

View file

@ -312,7 +312,7 @@ export default {
width: calc(100% - 2rem); width: calc(100% - 2rem);
} }
::v-deep .flatpickr-calendar { :deep(.flatpickr-calendar) {
margin: 0 auto 8px; margin: 0 auto 8px;
box-shadow: none; box-shadow: none;
} }

View file

@ -71,7 +71,7 @@ export default {
} }
// FIXME: should maybe be merged somehow with modal // FIXME: should maybe be merged somehow with modal
::v-deep.modal-card-foot { :deep(.modal-card-foot) {
background-color: $grey-50; background-color: $grey-50;
border-top: 0; border-top: 0;
} }

View file

@ -181,7 +181,7 @@ export default {
.hint-modal { .hint-modal {
z-index: 4600; z-index: 4600;
::v-deep.card-content { :deep(.card-content) {
text-align: left; text-align: left;
.info { .info {

View file

@ -463,7 +463,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.quick-actions { .quick-actions {
// FIXME: changed position should be an option of the modal // FIXME: changed position should be an option of the modal
::v-deep.modal-content { :deep(.modal-content) {
top: 3rem; top: 3rem;
transform: translate(-50%, 0); transform: translate(-50%, 0);
} }
@ -531,7 +531,7 @@ export default {
// HACK: // HACK:
// FIXME: // FIXME:
.modal-container-smaller ::v-deep.hint-modal .modal-container { .modal-container-smaller :deep(.hint-modal .modal-container) {
height: calc(100vh - 5rem); height: calc(100vh - 5rem);
} }
</style> </style>

View file

@ -618,7 +618,7 @@ $gantt-vertical-border-color: $grey-100;
z-index: 5; z-index: 5;
// FIXME: should be an option of the card, e.g. overflow // FIXME: should be an option of the card, e.g. overflow
::v-deep.card-content { :deep(.card-content) {
max-height: 60vh; max-height: 60vh;
overflow-y: auto; overflow-y: auto;
} }

View file

@ -164,7 +164,7 @@ $defer-task-max-width: 350px + 100px;
margin: .5rem 0; margin: .5rem 0;
} }
::v-deep { :deep() {
input.input { input.input {
display: none; display: none;
} }

View file

@ -126,7 +126,7 @@ export default {
margin-left: -1.5rem; margin-left: -1.5rem;
} }
::v-deep.user img { :deep(.user img) {
border: 2px solid $white; border: 2px solid $white;
margin-right: 0; margin-right: 0;
} }

View file

@ -173,7 +173,7 @@ $task-background: $white;
flex-wrap: wrap; flex-wrap: wrap;
align-items: center; align-items: center;
::v-deep.tag, :deep(.tag),
.assignees, .assignees,
.icon, .icon,
.priority-label { .priority-label {
@ -195,7 +195,7 @@ $task-background: $white;
} }
// FIXME: should be in labels.vue // FIXME: should be in labels.vue
::v-deep.tag { :deep(.tag) {
margin-left: 0; margin-left: 0;
} }

View file

@ -111,7 +111,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
&.overdue ::v-deep.datepicker a.show { &.overdue :deep(.datepicker a.show) {
color: $red; color: $red;
} }

View file

@ -313,7 +313,7 @@ export default {
opacity: 1; opacity: 1;
} }
::v-deep.fancycheckbox { :deep(.fancycheckbox) {
height: 18px; height: 18px;
padding-top: 0; padding-top: 0;
padding-right: .5rem; padding-right: .5rem;

View file

@ -730,7 +730,7 @@ $filter-container-height: '1rem - #{$switch-view-height}';
} }
} }
::v-deep.dropdown-trigger { :deep(.dropdown-trigger) {
cursor: pointer; cursor: pointer;
padding: .5rem; padding: .5rem;
} }

View file

@ -265,7 +265,7 @@ export default {
margin-top: 3rem; margin-top: 3rem;
} }
.input { :deep(.input) {
width: 190px; width: 190px;
vertical-align: middle; vertical-align: middle;
margin: .5rem 0; margin: .5rem 0;

View file

@ -723,7 +723,7 @@ $flash-background-duration: 750ms;
color: $grey-400; color: $grey-400;
} }
::v-deep.heading { :deep(.heading) {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
text-transform: none; text-transform: none;
@ -766,7 +766,7 @@ $flash-background-duration: 750ms;
} }
} }
::v-deep.datepicker { :deep(.datepicker) {
width: 100%; width: 100%;
a.show { a.show {
@ -809,7 +809,7 @@ $flash-background-duration: 750ms;
&.labels-list, &.labels-list,
.assignees { .assignees {
::v-deep.multiselect { :deep(.multiselect) {
.input-wrapper { .input-wrapper {
&:not(:focus-within):not(:hover) { &:not(:focus-within):not(:hover) {
background: transparent !important; background: transparent !important;
@ -820,8 +820,8 @@ $flash-background-duration: 750ms;
} }
} }
::v-deep.details, :deep(.details),
::v-deep.heading { :deep(.heading) {
.input:not(.has-defaults), .input:not(.has-defaults),
.textarea, .textarea,
.select:not(.has-defaults) select { .select:not(.has-defaults) select {