Verified Commit 03652b31 authored by Chocobozzz's avatar Chocobozzz
Browse files

Use ::ng-deep instead of /deep/

parent f36da21e
@import '_variables';
@import '_mixins';
.update-button[disabled="true"] /deep/ .action-button {
.update-button[disabled="true"] ::ng-deep .action-button {
cursor: default !important;
}
......@@ -7,7 +7,7 @@
margin-bottom: 30px;
p-selectButton {
/deep/ {
::ng-deep {
.ui-button-text {
font-size: 15px;
}
......
......@@ -5,7 +5,7 @@
@include create-button;
}
/deep/ .action-button {
::ng-deep .action-button {
&.action-button-delete {
margin-right: 10px;
}
......
......@@ -5,7 +5,7 @@
@include create-button;
}
/deep/ .action-button {
::ng-deep .action-button {
&.action-button-delete {
margin-right: 10px;
}
......@@ -17,7 +17,7 @@
.miniature-wrapper {
flex-grow: 1;
/deep/ .miniature {
::ng-deep .miniature {
display: flex;
.miniature-info {
......
......@@ -70,7 +70,7 @@ button {
my-loader {
margin-bottom: 20px;
/deep/ .loader div {
::ng-deep .loader div {
border-color: var(--mainColor) transparent transparent transparent;
}
......
@import '_variables';
@import '_mixins';
/deep/ {
::ng-deep {
.popover-notifications.popover {
max-width: none;
......@@ -99,7 +99,7 @@
}
@media screen and (max-width: $mobile-view) {
/deep/ {
::ng-deep {
.popover-notifications.popover .popover-body {
width: 400px;
}
......
......@@ -82,7 +82,7 @@ menu {
border: none;
}
/deep/ {
::ng-deep {
@include apply-svg-color(var(--menuForegroundColor));
}
}
......
......@@ -115,7 +115,7 @@
my-video-thumbnail {
margin-right: 0 !important;
/deep/ .video-thumbnail {
::ng-deep .video-thumbnail {
width: 100%;
height: auto;
......
......@@ -33,7 +33,7 @@
.more-icon {
width: 21px;
/deep/ {
::ng-deep {
@include apply-svg-color(var(--mainForegroundColor));
}
}
......
@import '_variables';
@import '_mixins';
my-small-loader /deep/ .root {
my-small-loader ::ng-deep .root {
display: inline-block;
margin: 0 3px 0 0;
width: 20px;
......
......@@ -16,7 +16,7 @@
flex-grow: 1;
}
/deep/ {
::ng-deep {
.nav-link {
display: flex !important;
align-items: center;
......
p-inputmask {
/deep/ input {
::ng-deep input {
width: 80px;
font-size: 15px;
......
/deep/ svg {
::ng-deep svg {
width: inherit;
height: inherit;
}
......@@ -11,12 +11,12 @@
}
}
/deep/ .dropdown-toggle::after {
::ng-deep .dropdown-toggle::after {
position: relative;
top: 2px;
}
/deep/ .dropdown-menu {
::ng-deep .dropdown-menu {
margin-top: 0 !important;
}
......
......@@ -15,7 +15,7 @@
}
}
/deep/ {
::ng-deep {
.help-popover {
max-width: 300px;
......
......@@ -61,7 +61,7 @@
padding-left: 1rem;
}
/deep/ form {
::ng-deep form {
padding: 0.25rem 1rem;
}
......
......@@ -7,6 +7,6 @@
}
}
/deep/ .icon-playlist-add {
::ng-deep .icon-playlist-add {
left: 2px;
}
......@@ -68,16 +68,16 @@ $more-margin-right: 10px;
width: $more-button-width;
height: 30px;
/deep/ .dropdown-root:not(.show) {
::ng-deep .dropdown-root:not(.show) {
opacity: 0;
}
/deep/ .playlist-dropdown.show + my-action-dropdown .dropdown-root {
::ng-deep .playlist-dropdown.show + my-action-dropdown .dropdown-root {
opacity: 1;
}
}
&:hover .video-actions /deep/ .dropdown-root {
&:hover .video-actions ::ng-deep .dropdown-root {
opacity: 1;
}
......@@ -90,7 +90,7 @@ $more-margin-right: 10px;
margin: 0;
top: -3px;
/deep/ .dropdown-root {
::ng-deep .dropdown-root {
opacity: 1 !important;
}
}
......
......@@ -122,7 +122,7 @@ my-peertube-checkbox {
p-calendar {
display: block;
/deep/ {
::ng-deep {
input,
.ui-calendar {
width: 100%;
......@@ -135,7 +135,7 @@ p-calendar {
}
}
/deep/ {
::ng-deep {
.root-tabset > .nav {
margin-bottom: 15px;
}
......
......@@ -25,7 +25,7 @@
p-progressBar {
flex-grow: 1;
/deep/ .ui-progressbar {
::ng-deep .ui-progressbar {
font-size: 15px !important;
height: 30px !important;
border-radius: 3px !important;
......@@ -45,7 +45,7 @@
}
&.processing {
/deep/ .ui-progressbar-label {
::ng-deep .ui-progressbar-label {
// Same color as background to hide "100%"
color: rgba(11, 204, 41, 0.16) !important;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment