Cancel style

This commit is contained in:
Adina Țeudan 2020-12-11 19:53:45 +02:00
parent 19f75d78fe
commit 6adcf4e89f
4 changed files with 8 additions and 3 deletions

View File

@ -36,6 +36,6 @@
<div *ngIf="addingComment" class="comment-actions-container"> <div *ngIf="addingComment" class="comment-actions-container">
<redaction-circle-button (action)="addComment()" [disabled]="!commentForm.value.comment" icon="red:check-alt" type="primary"></redaction-circle-button> <redaction-circle-button (action)="addComment()" [disabled]="!commentForm.value.comment" icon="red:check-alt" type="primary"></redaction-circle-button>
<div (click)="toggleAddingComment($event)" class="all-caps-label" translate="comments.cancel"></div> <div (click)="toggleAddingComment($event)" class="all-caps-label cancel" translate="comments.cancel"></div>
</div> </div>
</div> </div>

View File

@ -52,7 +52,7 @@
{{ 'assign-' + data.type + '-owner.dialog.save' | translate }} {{ 'assign-' + data.type + '-owner.dialog.save' | translate }}
</button> </button>
<div class="all-caps-label pointer" [translate]="'assign-' + data.type + '-owner.dialog.cancel'" mat-dialog-close></div> <div class="all-caps-label pointer cancel" [translate]="'assign-' + data.type + '-owner.dialog.cancel'" mat-dialog-close></div>
</div> </div>
</form> </form>

View File

@ -49,7 +49,7 @@
{{ 'watermark-screen.action.save' | translate }} {{ 'watermark-screen.action.save' | translate }}
</button> </button>
<div class="all-caps-label pointer" (click)="revert()" [translate]="'watermark-screen.action.revert'"></div> <div class="all-caps-label pointer cancel" (click)="revert()" [translate]="'watermark-screen.action.revert'"></div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -55,6 +55,11 @@ pre {
font-weight: 600; font-weight: 600;
letter-spacing: 0; letter-spacing: 0;
line-height: 14px; line-height: 14px;
transition: opacity 0.2s;
&.cancel:hover {
opacity: 1;
}
} }
.small-label { .small-label {