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;
|
||||
|
@@ -11,7 +11,6 @@
|
||||
@import '../dialogs/node-versions/node-versions.dialog.theme';
|
||||
@import '../components/create-menu/create-menu.component.scss';
|
||||
@import '../components/layout/layout.theme.scss';
|
||||
@import '../components/shared/content-node-share/content-node-share.dialog.scss';
|
||||
|
||||
@import './overrides/adf-toolbar.theme';
|
||||
@import 'overrides/adf-layout-container.theme';
|
||||
@@ -76,7 +75,6 @@ $warn: map-get($custom-theme, warn);
|
||||
@include aca-current-user-theme($theme);
|
||||
@include aca-context-menu-theme($theme);
|
||||
@include app-create-menu-theme($theme);
|
||||
@include aca-share-dialog-theme($theme);
|
||||
}
|
||||
|
||||
//Custom variables - ACA specific styling:
|
||||
|
Reference in New Issue
Block a user