mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-08-07 17:48:27 +00:00
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:
committed by
Suzana Dirla
parent
3bbf8b2685
commit
b4e6b43787
@@ -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)"
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user