UI updates
This commit is contained in:
parent
6da94d2a88
commit
f27898ac17
@ -5,6 +5,10 @@ button {
|
|||||||
|
|
||||||
&.show-bg {
|
&.show-bg {
|
||||||
background-color: $grey-6;
|
background-color: $grey-6;
|
||||||
|
|
||||||
|
&:not(.mat-button-disabled):hover {
|
||||||
|
background-color: $grey-4;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mat-icon {
|
mat-icon {
|
||||||
|
|||||||
@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
.red-input-group {
|
.red-input-group {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
max-width: 450px;
|
max-width: 300px;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
padding-right: 32px;
|
padding-right: 32px;
|
||||||
|
|||||||
@ -71,11 +71,16 @@
|
|||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div class="actions-container">
|
<div class="actions-container">
|
||||||
<button color="primary" mat-flat-button (click)="save()" [disabled]="configForm.invalid || !changed" class="red-button">
|
<button
|
||||||
{{ 'watermark-screen.action.save' | translate }}
|
color="primary"
|
||||||
</button>
|
mat-flat-button
|
||||||
|
(click)="save()"
|
||||||
|
[disabled]="configForm.invalid || !changed"
|
||||||
|
class="red-button"
|
||||||
|
translate="watermark-screen.action.save"
|
||||||
|
></button>
|
||||||
|
|
||||||
<div class="all-caps-label pointer cancel" [class.disabled]="!changed" (click)="revert()" [translate]="'watermark-screen.action.revert'"></div>
|
<div class="all-caps-label pointer cancel" [class.disabled]="!changed" (click)="revert()" translate="watermark-screen.action.revert"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -95,7 +95,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="red-content-inner">
|
<div class="red-content-inner">
|
||||||
<div class="left-container" [class.extended]="collapsedDetails">
|
<div class="left-container" [class.extended]="collapsedDetails">
|
||||||
<div *ngIf="!appStateService.activeProject?.hasFiles" class="no-data">
|
<div *ngIf="!appStateService.activeProject?.hasFiles" class="empty-state">
|
||||||
<mat-icon svgIcon="red:document"></mat-icon>
|
<mat-icon svgIcon="red:document"></mat-icon>
|
||||||
<div class="heading-l" translate="project-overview.no-data.title"></div>
|
<div class="heading-l" translate="project-overview.no-data.title"></div>
|
||||||
<redaction-icon-button (action)="fileInput.click()" icon="red:upload" text="project-overview.no-data.action" type="primary">
|
<redaction-icon-button (action)="fileInput.click()" icon="red:upload" text="project-overview.no-data.action" type="primary">
|
||||||
|
|||||||
@ -13,6 +13,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
line-height: 34px;
|
line-height: 34px;
|
||||||
|
transition: opacity 0.2s;
|
||||||
|
|
||||||
> *:not(last-child) {
|
> *:not(last-child) {
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
@ -20,17 +21,25 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.mat-button-disabled {
|
&.mat-button-disabled {
|
||||||
background-color: $grey-6 !important;
|
.mat-button-wrapper {
|
||||||
|
opacity: 0.3;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.cdk-program-focused .mat-button-focus-overlay {
|
.mat-button-focus-overlay {
|
||||||
opacity: 0 !important;
|
opacity: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mat-flat-button.mat-primary.red-button {
|
.mat-flat-button.mat-primary {
|
||||||
padding: 0 14px;
|
padding: 0 14px;
|
||||||
transition: background-color 0.2s;
|
transition: background-color 0.2s, color 0.2s;
|
||||||
|
background-color: $red-1;
|
||||||
|
|
||||||
|
&.mat-button-disabled {
|
||||||
|
background-color: $red-1;
|
||||||
|
color: rgba($white, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
&:not(.mat-button-disabled):hover {
|
&:not(.mat-button-disabled):hover {
|
||||||
background-color: $red-2;
|
background-color: $red-2;
|
||||||
@ -42,10 +51,10 @@ redaction-chevron-button,
|
|||||||
redaction-circle-button {
|
redaction-circle-button {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
transition: background-color 0.2s;
|
|
||||||
|
|
||||||
button {
|
button {
|
||||||
font-weight: 400 !important;
|
font-weight: 400 !important;
|
||||||
|
transition: background-color 0.2s;
|
||||||
|
|
||||||
&.overlay {
|
&.overlay {
|
||||||
background: rgba($primary, 0.1);
|
background: rgba($primary, 0.1);
|
||||||
|
|||||||
@ -173,6 +173,7 @@
|
|||||||
|
|
||||||
.mat-datepicker-input {
|
.mat-datepicker-input {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
width: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mat-datepicker-toggle {
|
.mat-datepicker-toggle {
|
||||||
|
|||||||
@ -82,7 +82,7 @@ body {
|
|||||||
height: 4px;
|
height: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-data {
|
.empty-state {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user