mirror of https://github.com/OpenVidu/openvidu.git
ov-components: remove unused active button styles and clean up SCSS variables
parent
5b112286d9
commit
ab7a453507
|
@ -48,7 +48,6 @@
|
|||
mat-icon-button
|
||||
id="pin-btn"
|
||||
(click)="toggleVideoPinned()"
|
||||
[class.active-btn]="_track.isPinned"
|
||||
[matTooltip]="_track.isPinned ? ('STREAM.UNPIN' | translate) : ('STREAM.PIN' | translate)"
|
||||
>
|
||||
<mat-icon *ngIf="_track.isPinned" fontSet="material-symbols-outlined" fontIcon="keep">keep_off</mat-icon>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$ov-video-elements-bg-color: var(--ov-primary-action-color);;
|
||||
$ov-video-elements-bg-color: var(--ov-primary-action-color);
|
||||
:host {
|
||||
/* Fixes layout bug. The OV_root is created with the entire layout width and it has a weird UX behaviour */
|
||||
.no-size {
|
||||
|
@ -41,9 +41,6 @@ $ov-video-elements-bg-color: var(--ov-primary-action-color);;
|
|||
}
|
||||
}
|
||||
|
||||
.active-btn {
|
||||
color: var(--ov-accent-action-color) !important;
|
||||
}
|
||||
.muted-btn {
|
||||
color: var(--ov-error-color) !important;
|
||||
}
|
||||
|
@ -80,11 +77,15 @@ $ov-video-elements-bg-color: var(--ov-primary-action-color);;
|
|||
line-height: 0;
|
||||
|
||||
#status-mic,
|
||||
#status-muted-forcibly {
|
||||
color: var(--ov-error-color);
|
||||
#status-muted-forcibly,
|
||||
#status-pinned {
|
||||
font-size: 24px;
|
||||
margin: 5px;
|
||||
}
|
||||
#status-mic,
|
||||
#status-muted-forcibly {
|
||||
color: var(--ov-error-color);
|
||||
}
|
||||
}
|
||||
|
||||
/* Contains the video element, used to fix video letter-boxing */
|
||||
|
|
Loading…
Reference in New Issue