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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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