diff --git a/src/app/xtream/player-dialog/player-dialog.component.html b/src/app/xtream/player-dialog/player-dialog.component.html index ce3a5c3a2..34bd66a04 100644 --- a/src/app/xtream/player-dialog/player-dialog.component.html +++ b/src/app/xtream/player-dialog/player-dialog.component.html @@ -1,19 +1,24 @@

{{ title }}

+ + + -
- - -
+ diff --git a/src/app/xtream/player-dialog/player-dialog.component.scss b/src/app/xtream/player-dialog/player-dialog.component.scss new file mode 100644 index 000000000..d2371f35a --- /dev/null +++ b/src/app/xtream/player-dialog/player-dialog.component.scss @@ -0,0 +1,22 @@ +@use '@angular/material' as mat; + +.content { + overflow: hidden; + padding: 10px !important; +} + +.link-input { + width: 98%; + padding-top: 5px; + @include mat.form-field-density(-5); +} + +.align-actions { + justify-content: space-between; +} + +mat-dialog-content { + .video-js { + height: 500px !important; + } +} \ No newline at end of file diff --git a/src/app/xtream/player-dialog/player-dialog.component.ts b/src/app/xtream/player-dialog/player-dialog.component.ts index ea4489740..20c795cad 100644 --- a/src/app/xtream/player-dialog/player-dialog.component.ts +++ b/src/app/xtream/player-dialog/player-dialog.component.ts @@ -3,7 +3,9 @@ import { NgIf } from '@angular/common'; import { Component, Inject, ViewEncapsulation } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog'; +import { MatFormFieldModule } from '@angular/material/form-field'; import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; import { MatSnackBar } from '@angular/material/snack-bar'; import { TranslateModule, TranslateService } from '@ngx-translate/core'; import { WebPlayerViewComponent } from '../../portals/web-player-view/web-player-view.component'; @@ -20,35 +22,14 @@ export interface PlayerDialogData { ClipboardModule, MatButtonModule, MatDialogModule, + MatFormFieldModule, MatIconModule, + MatInputModule, NgIf, TranslateModule, WebPlayerViewComponent, ], - styles: ` - .content { - overflow: hidden; - padding: 10px !important; - } - - .link-input { - padding: 10px; - margin-right: 5px; - border-radius: 4px; - border: 0; - width: 200px; - } - - .align-actions { - justify-content: space-between; - } - - mat-dialog-content { - .video-js { - height: 500px !important; - } - } - `, + styleUrl: './player-dialog.component.scss', encapsulation: ViewEncapsulation.None, }) export class PlayerDialogComponent {