Fix/ACA-2111 blue toggle (#1109)

* Revert "[ACA-2069] fix blue slider issue (#854)"

This reverts commit 84b0cd4e7e.

* ACA-2111 remove default color for toggle as it defaults to orange

* ACA-2111 remove default color for toggle as it defaults to orange
This commit is contained in:
Martin Muller
2019-05-16 08:01:32 +01:00
committed by Suzana Dirla
parent 3bbf8b2685
commit b4e6b43787
3 changed files with 0 additions and 18 deletions

View File

@@ -10,7 +10,6 @@
<h1 class="adf-share-link__label">{{ 'SHARE.TITLE' | translate }}</h1>
<mat-slide-toggle
color="primary"
data-automation-id="adf-share-toggle"
[checked]="isFileShared"
[disabled]="isDisabled"
@@ -46,7 +45,6 @@
<mat-slide-toggle
[disabled]="!canUpdate"
#slideToggleExpirationDate
color="primary"
data-automation-id="adf-expire-toggle"
[checked]="form.controls['time'].value"
(change)="onToggleExpirationDate($event)"

View File

@@ -1,17 +1,3 @@
@mixin aca-share-dialog-theme($theme) {
$accent: map-get($theme, accent);
// fixes [ACA-2069]
.mat-slide-toggle.mat-primary.mat-checked:not(.mat-disabled) {
.mat-slide-toggle-thumb {
background-color: mat-color($accent);
}
.mat-slide-toggle-bar {
background-color: mat-color($accent, 0.54);
}
}
}
@mixin adf-share-link-typography {
letter-spacing: -0.4px;
line-height: 2;