@import '_variables';
@import '_mixins';
-.update-button[disabled="true"] /deep/ .action-button {
+.update-button[disabled="true"] ::ng-deep .action-button {
cursor: default !important;
}
margin-bottom: 30px;
p-selectButton {
- /deep/ {
+ ::ng-deep {
.ui-button-text {
font-size: 15px;
}
@include create-button;
}
-/deep/ .action-button {
+::ng-deep .action-button {
&.action-button-delete {
margin-right: 10px;
}
@include create-button;
}
-/deep/ .action-button {
+::ng-deep .action-button {
&.action-button-delete {
margin-right: 10px;
}
.miniature-wrapper {
flex-grow: 1;
- /deep/ .miniature {
+ ::ng-deep .miniature {
display: flex;
.miniature-info {
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;
}
@media screen and (max-width: $mobile-view) {
- /deep/ {
+ ::ng-deep {
.popover-notifications.popover .popover-body {
width: 400px;
}
border: none;
}
- /deep/ {
+ ::ng-deep {
@include apply-svg-color(var(--menuForegroundColor));
}
}
my-video-thumbnail {
margin-right: 0 !important;
- /deep/ .video-thumbnail {
+ ::ng-deep .video-thumbnail {
width: 100%;
height: auto;
.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;
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;
}
}
}
-/deep/ .dropdown-toggle::after {
+::ng-deep .dropdown-toggle::after {
position: relative;
top: 2px;
}
-/deep/ .dropdown-menu {
+::ng-deep .dropdown-menu {
margin-top: 0 !important;
}
}
}
-/deep/ {
+::ng-deep {
.help-popover {
max-width: 300px;
padding-left: 1rem;
}
- /deep/ form {
+ ::ng-deep form {
padding: 0.25rem 1rem;
}
}
}
-/deep/ .icon-playlist-add {
+::ng-deep .icon-playlist-add {
left: 2px;
}
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;
}
margin: 0;
top: -3px;
- /deep/ .dropdown-root {
+ ::ng-deep .dropdown-root {
opacity: 1 !important;
}
}
p-calendar {
display: block;
- /deep/ {
+ ::ng-deep {
input,
.ui-calendar {
width: 100%;
}
}
-/deep/ {
+::ng-deep {
.root-tabset > .nav {
margin-bottom: 15px;
}
p-progressBar {
flex-grow: 1;
- /deep/ .ui-progressbar {
+ ::ng-deep .ui-progressbar {
font-size: 15px !important;
height: 30px !important;
border-radius: 3px !important;
}
&.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;
$border-type: solid;
$border-color: #EAEAEA;
-/deep/ .root-tabset.video-add-tabset {
+::ng-deep .root-tabset.video-add-tabset {
&.hide-nav > .nav {
display: none !important;
}
justify-content: center;
align-items: center;
}
-}
\ No newline at end of file
+}
@include peertube-word-wrap;
// Mentions
- /deep/ a {
+ ::ng-deep a {
&:not(.linkified-url) {
@include disable-default-a-behaviour;
}
my-video-playlist-element-miniature {
- /deep/ {
+ ::ng-deep {
.video {
.position {
margin-right: 0;
width: 100%;
}
- /deep/ .video-js {
+ ::ng-deep .video-js {
$height: calc(100vh - #{$header-height} - #{$theater-bottom-space});
height: $height;
width: 100%;
}
- my-video-watch-playlist /deep/ .playlist {
+ my-video-watch-playlist ::ng-deep .playlist {
@include playlist-below-player;
}
}
}
}
- /deep/ .video-js {
+ ::ng-deep .video-js {
width: getPlayerWidth(66vh);
height: 66vh;
@media screen and (max-width: 600px) {
.remote-server-down,
- /deep/ .video-js {
+ ::ng-deep .video-js {
width: 100vw;
height: getPlayerHeight(100vw)
}
}
}
- /deep/ .other-videos {
+ ::ng-deep .other-videos {
padding-left: 15px;
flex-basis: $other-videos-width;
min-width: $other-videos-width;
flex-direction: column;
justify-content: center;
- my-video-watch-playlist /deep/ .playlist {
+ my-video-watch-playlist ::ng-deep .playlist {
@include playlist-below-player;
}
}
.video-bottom {
flex-direction: column;
- /deep/ .other-videos {
+ ::ng-deep .other-videos {
padding-left: 0 !important;
- /deep/ .video-miniature {
+ ::ng-deep .video-miniature {
flex-direction: row;
width: auto;
}
}
}
- /deep/ .other-videos .video-miniature {
+ ::ng-deep .other-videos .video-miniature {
flex-direction: column;
}
}
@mixin thumbnail-size-component ($width, $height) {
- /deep/ .video-thumbnail {
+ ::ng-deep .video-thumbnail {
width: $width;
height: $height;
}
@mixin video-miniature-small-screen {
text-align: center;
- /deep/ .video-miniature {
+ ::ng-deep .video-miniature {
padding-right: 0;
height: auto;
width: 100%;
}
@mixin apply-svg-color ($color) {
- /deep/ svg {
+ ::ng-deep svg {
path[fill="#000000"],
g[fill="#000000"],
rect[fill="#000000"],