Fix selection buttons in my videos
This commit is contained in:
parent
9e6b41cc1d
commit
dc595ab7ca
|
@ -19,7 +19,7 @@
|
|||
<!-- Display only once -->
|
||||
<div class="action-selection-mode" *ngIf="isInSelectionMode() === true && i === 0">
|
||||
<div class="action-selection-mode-child">
|
||||
<span class="action-button" (click)="abortSelectionMode()">
|
||||
<span class="action-button action-button-cancel-selection" (click)="abortSelectionMode()">
|
||||
Cancel
|
||||
</span>
|
||||
|
||||
|
|
|
@ -1,31 +1,41 @@
|
|||
.action-selection-mode {
|
||||
width: 174px;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
|
||||
.action-selection-mode-child {
|
||||
position: fixed;
|
||||
|
||||
.action-button {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.action-button-cancel-selection {
|
||||
@include peertube-button;
|
||||
@include grey-button;
|
||||
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.action-button-delete-selection {
|
||||
@include peertube-button;
|
||||
@include orange-button;
|
||||
}
|
||||
|
||||
.icon.icon-delete-white {
|
||||
@include icon(21px);
|
||||
|
||||
position: relative;
|
||||
top: -2px;
|
||||
background-image: url('../../../assets/images/global/delete-white.svg');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/deep/ .action-button {
|
||||
|
||||
&.action-button-delete {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
&.action-button-delete-selection {
|
||||
background-color: $orange-color;
|
||||
color: #fff;
|
||||
|
||||
&:hover {
|
||||
background-color: $orange-hoover-color;
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
&.icon-delete-white {
|
||||
background-image: url('../../../assets/images/global/delete-white.svg');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.video {
|
||||
|
|
Loading…
Reference in New Issue