@alfresco/aca-content 4.0.0-4895233349
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/about/about.component.d.ts +45 -0
- package/about/aca-about.module.d.ts +39 -0
- package/about/dev-mode.tokens.d.ts +25 -0
- package/about/index.d.ts +5 -0
- package/about/package-json.token.d.ts +25 -0
- package/about/public-api.d.ts +27 -0
- package/assets/app.extensions.json +2626 -0
- package/assets/i18n/ar.json +660 -0
- package/assets/i18n/cs.json +660 -0
- package/assets/i18n/da.json +660 -0
- package/assets/i18n/de.json +660 -0
- package/assets/i18n/en.json +660 -0
- package/assets/i18n/es.json +660 -0
- package/assets/i18n/fi.json +660 -0
- package/assets/i18n/fr.json +660 -0
- package/assets/i18n/it.json +660 -0
- package/assets/i18n/ja.json +660 -0
- package/assets/i18n/nb.json +660 -0
- package/assets/i18n/nl.json +660 -0
- package/assets/i18n/pl.json +660 -0
- package/assets/i18n/pt-BR.json +660 -0
- package/assets/i18n/ru.json +660 -0
- package/assets/i18n/sv.json +660 -0
- package/assets/i18n/zh-CN.json +660 -0
- package/assets/images/Wallpaper-BG-generic.svg +39 -0
- package/assets/images/adf-move-file-24px.svg +1 -0
- package/assets/images/baseline-library_books-24px.svg +2 -0
- package/assets/images/baseline-lock-24px.svg +1 -0
- package/assets/images/join-library.svg +32 -0
- package/esm2020/about/about.component.mjs +77 -0
- package/esm2020/about/aca-about.module.mjs +67 -0
- package/esm2020/about/alfresco-aca-content-about.mjs +5 -0
- package/esm2020/about/dev-mode.tokens.mjs +26 -0
- package/esm2020/about/package-json.token.mjs +26 -0
- package/esm2020/about/public-api.mjs +28 -0
- package/esm2020/alfresco-aca-content.mjs +5 -0
- package/esm2020/lib/aca-content.module.mjs +365 -0
- package/esm2020/lib/aca-content.routes.mjs +581 -0
- package/esm2020/lib/components/common/common.module.mjs +67 -0
- package/esm2020/lib/components/common/language-picker/language-picker.component.mjs +57 -0
- package/esm2020/lib/components/common/location-link/location-link.component.mjs +177 -0
- package/esm2020/lib/components/common/logout/logout.component.mjs +60 -0
- package/esm2020/lib/components/common/toggle-shared/toggle-shared.component.mjs +65 -0
- package/esm2020/lib/components/common/user-info/user-info.component.mjs +86 -0
- package/esm2020/lib/components/context-menu/context-menu-item.component.mjs +58 -0
- package/esm2020/lib/components/context-menu/context-menu-outside-event.directive.mjs +65 -0
- package/esm2020/lib/components/context-menu/context-menu-overlay.mjs +32 -0
- package/esm2020/lib/components/context-menu/context-menu.component.mjs +102 -0
- package/esm2020/lib/components/context-menu/context-menu.module.mjs +76 -0
- package/esm2020/lib/components/context-menu/context-menu.service.mjs +103 -0
- package/esm2020/lib/components/context-menu/direction.token.mjs +29 -0
- package/esm2020/lib/components/context-menu/interfaces.mjs +25 -0
- package/esm2020/lib/components/create-menu/create-menu.component.mjs +73 -0
- package/esm2020/lib/components/create-menu/create-menu.module.mjs +44 -0
- package/esm2020/lib/components/details/details.component.mjs +99 -0
- package/esm2020/lib/components/dl-custom-components/document-list-custom-components.module.mjs +49 -0
- package/esm2020/lib/components/dl-custom-components/name-column/name-column.component.mjs +90 -0
- package/esm2020/lib/components/dl-custom-components/tags-column/tags-column.component.mjs +31 -0
- package/esm2020/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.mjs +51 -0
- package/esm2020/lib/components/favorite-libraries/favorite-libraries.component.mjs +113 -0
- package/esm2020/lib/components/favorites/favorites.component.mjs +98 -0
- package/esm2020/lib/components/files/files.component.mjs +312 -0
- package/esm2020/lib/components/home/home.component.mjs +49 -0
- package/esm2020/lib/components/info-drawer/comments-tab/comments-tab.component.mjs +56 -0
- package/esm2020/lib/components/info-drawer/info.drawer.module.mjs +92 -0
- package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.mjs +143 -0
- package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.mjs +42 -0
- package/esm2020/lib/components/info-drawer/metadata-tab/metadata-tab.component.mjs +88 -0
- package/esm2020/lib/components/info-drawer/versions-tab/versions-tab.component.mjs +95 -0
- package/esm2020/lib/components/libraries/libraries.component.mjs +70 -0
- package/esm2020/lib/components/node-version/node-version-form.component.mjs +70 -0
- package/esm2020/lib/components/node-version/node-version.module.mjs +78 -0
- package/esm2020/lib/components/recent-files/recent-files.component.mjs +81 -0
- package/esm2020/lib/components/search/search-action-menu/search-action-menu.component.mjs +59 -0
- package/esm2020/lib/components/search/search-input/search-input.component.mjs +275 -0
- package/esm2020/lib/components/search/search-input-control/search-input-control.component.mjs +87 -0
- package/esm2020/lib/components/search/search-input.module.mjs +47 -0
- package/esm2020/lib/components/search/search-libraries-results/search-libraries-query-builder.service.mjs +91 -0
- package/esm2020/lib/components/search/search-libraries-results/search-libraries-results.component.mjs +142 -0
- package/esm2020/lib/components/search/search-navigation.service.mjs +60 -0
- package/esm2020/lib/components/search/search-results/search-results.component.mjs +221 -0
- package/esm2020/lib/components/search/search-results-row/search-results-row.component.mjs +101 -0
- package/esm2020/lib/components/search/search-results.module.mjs +88 -0
- package/esm2020/lib/components/shared-files/shared-files.component.mjs +78 -0
- package/esm2020/lib/components/shared-link-view/shared-link-view.component.mjs +81 -0
- package/esm2020/lib/components/shared-link-view/shared-link-view.module.mjs +69 -0
- package/esm2020/lib/components/sidenav/components/button-menu.component.mjs +57 -0
- package/esm2020/lib/components/sidenav/components/expand-menu.component.mjs +53 -0
- package/esm2020/lib/components/sidenav/components/sidenav-header.component.mjs +74 -0
- package/esm2020/lib/components/sidenav/directives/action.directive.mjs +74 -0
- package/esm2020/lib/components/sidenav/directives/active-link.directive.mjs +92 -0
- package/esm2020/lib/components/sidenav/directives/expansion-panel.directive.mjs +101 -0
- package/esm2020/lib/components/sidenav/directives/menu-panel.directive.mjs +98 -0
- package/esm2020/lib/components/sidenav/sidenav.component.mjs +83 -0
- package/esm2020/lib/components/sidenav/sidenav.module.mjs +84 -0
- package/esm2020/lib/components/toolbar/document-display-mode/document-display-mode.component.mjs +84 -0
- package/esm2020/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.mjs +150 -0
- package/esm2020/lib/components/toolbar/toggle-favorite/toggle-favorite.component.mjs +79 -0
- package/esm2020/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.mjs +101 -0
- package/esm2020/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.mjs +75 -0
- package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.mjs +98 -0
- package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-menu.component.mjs +80 -0
- package/esm2020/lib/components/toolbar/toolbar.module.mjs +88 -0
- package/esm2020/lib/components/toolbar/view-node/view-node.component.mjs +109 -0
- package/esm2020/lib/components/trashcan/trashcan.component.mjs +63 -0
- package/esm2020/lib/components/trashcan/trashcan.module.mjs +74 -0
- package/esm2020/lib/components/upload-files-dialog/upload-files-dialog.component.mjs +50 -0
- package/esm2020/lib/components/view-profile/view-profile.component.mjs +174 -0
- package/esm2020/lib/components/view-profile/view-profile.guard.mjs +47 -0
- package/esm2020/lib/components/view-profile/view-profile.module.mjs +42 -0
- package/esm2020/lib/dialogs/node-template/create-from-template.dialog.mjs +119 -0
- package/esm2020/lib/directives/directives.module.mjs +42 -0
- package/esm2020/lib/directives/document-list.directive.mjs +141 -0
- package/esm2020/lib/extensions/core.extensions.module.mjs +64 -0
- package/esm2020/lib/material.module.mjs +57 -0
- package/esm2020/lib/services/content-management.service.mjs +870 -0
- package/esm2020/lib/services/content-service-extension.service.mjs +63 -0
- package/esm2020/lib/services/content-url.service.mjs +72 -0
- package/esm2020/lib/services/node-actions.service.mjs +600 -0
- package/esm2020/lib/services/node-template.service.mjs +149 -0
- package/esm2020/lib/store/app-store.module.mjs +95 -0
- package/esm2020/lib/store/effects/app.effects.mjs +61 -0
- package/esm2020/lib/store/effects/contextmenu.effects.mjs +55 -0
- package/esm2020/lib/store/effects/download.effects.mjs +159 -0
- package/esm2020/lib/store/effects/favorite.effects.mjs +76 -0
- package/esm2020/lib/store/effects/library.effects.mjs +111 -0
- package/esm2020/lib/store/effects/node.effects.mjs +309 -0
- package/esm2020/lib/store/effects/search.effects.mjs +60 -0
- package/esm2020/lib/store/effects/template.effects.mjs +121 -0
- package/esm2020/lib/store/effects/upload.effects.mjs +169 -0
- package/esm2020/lib/store/effects/viewer.effects.mjs +175 -0
- package/esm2020/lib/store/effects.mjs +35 -0
- package/esm2020/lib/store/initial-state.mjs +62 -0
- package/esm2020/lib/store/reducers/app.reducer.mjs +211 -0
- package/esm2020/public-api.mjs +32 -0
- package/fesm2015/alfresco-aca-content-about.mjs +216 -0
- package/fesm2015/alfresco-aca-content-about.mjs.map +1 -0
- package/fesm2015/alfresco-aca-content.mjs +9771 -0
- package/fesm2015/alfresco-aca-content.mjs.map +1 -0
- package/fesm2020/alfresco-aca-content-about.mjs +214 -0
- package/fesm2020/alfresco-aca-content-about.mjs.map +1 -0
- package/fesm2020/alfresco-aca-content.mjs +9915 -0
- package/fesm2020/alfresco-aca-content.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/aca-content.module.d.ts +47 -0
- package/lib/aca-content.routes.d.ts +27 -0
- package/lib/components/common/common.module.d.ts +17 -0
- package/lib/components/common/language-picker/language-picker.component.d.ts +5 -0
- package/lib/components/common/location-link/location-link.component.d.ts +48 -0
- package/lib/components/common/logout/logout.component.d.ts +10 -0
- package/lib/components/common/toggle-shared/toggle-shared.component.d.ts +43 -0
- package/lib/components/common/user-info/user-info.component.d.ts +44 -0
- package/lib/components/context-menu/context-menu-item.component.d.ts +13 -0
- package/lib/components/context-menu/context-menu-outside-event.directive.d.ts +35 -0
- package/lib/components/context-menu/context-menu-overlay.d.ts +29 -0
- package/lib/components/context-menu/context-menu.component.d.ts +48 -0
- package/lib/components/context-menu/context-menu.module.d.ts +18 -0
- package/lib/components/context-menu/context-menu.service.d.ts +43 -0
- package/lib/components/context-menu/direction.token.d.ts +25 -0
- package/lib/components/context-menu/interfaces.d.ts +30 -0
- package/lib/components/create-menu/create-menu.component.d.ts +42 -0
- package/lib/components/create-menu/create-menu.module.d.ts +10 -0
- package/lib/components/details/details.component.d.ts +46 -0
- package/lib/components/dl-custom-components/document-list-custom-components.module.d.ts +14 -0
- package/lib/components/dl-custom-components/name-column/name-column.component.d.ts +41 -0
- package/lib/components/dl-custom-components/tags-column/tags-column.component.d.ts +35 -0
- package/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.d.ts +17 -0
- package/lib/components/favorite-libraries/favorite-libraries.component.d.ts +54 -0
- package/lib/components/favorites/favorites.component.d.ts +49 -0
- package/lib/components/files/files.component.d.ts +55 -0
- package/lib/components/home/home.component.d.ts +36 -0
- package/lib/components/info-drawer/comments-tab/comments-tab.component.d.ts +11 -0
- package/lib/components/info-drawer/info.drawer.module.d.ts +19 -0
- package/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.d.ts +64 -0
- package/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.d.ts +7 -0
- package/lib/components/info-drawer/metadata-tab/metadata-tab.component.d.ts +49 -0
- package/lib/components/info-drawer/versions-tab/versions-tab.component.d.ts +35 -0
- package/lib/components/libraries/libraries.component.d.ts +44 -0
- package/lib/components/node-version/node-version-form.component.d.ts +46 -0
- package/lib/components/node-version/node-version.module.d.ts +16 -0
- package/lib/components/recent-files/recent-files.component.d.ts +48 -0
- package/lib/components/search/search-action-menu/search-action-menu.component.d.ts +38 -0
- package/lib/components/search/search-input/search-input.component.d.ts +85 -0
- package/lib/components/search/search-input-control/search-input-control.component.d.ts +50 -0
- package/lib/components/search/search-input.module.d.ts +12 -0
- package/lib/components/search/search-libraries-results/search-libraries-query-builder.service.d.ts +56 -0
- package/lib/components/search/search-libraries-results/search-libraries-results.component.d.ts +58 -0
- package/lib/components/search/search-navigation.service.d.ts +13 -0
- package/lib/components/search/search-results/search-results.component.d.ts +69 -0
- package/lib/components/search/search-results-row/search-results-row.component.d.ts +50 -0
- package/lib/components/search/search-results.module.d.ts +21 -0
- package/lib/components/shared-files/shared-files.component.d.ts +47 -0
- package/lib/components/shared-link-view/shared-link-view.component.d.ts +47 -0
- package/lib/components/shared-link-view/shared-link-view.module.d.ts +15 -0
- package/lib/components/sidenav/components/button-menu.component.d.ts +37 -0
- package/lib/components/sidenav/components/expand-menu.component.d.ts +35 -0
- package/lib/components/sidenav/components/sidenav-header.component.d.ts +48 -0
- package/lib/components/sidenav/directives/action.directive.d.ts +14 -0
- package/lib/components/sidenav/directives/active-link.directive.d.ts +45 -0
- package/lib/components/sidenav/directives/expansion-panel.directive.d.ts +44 -0
- package/lib/components/sidenav/directives/menu-panel.directive.d.ts +42 -0
- package/lib/components/sidenav/sidenav.component.d.ts +50 -0
- package/lib/components/sidenav/sidenav.module.d.ts +19 -0
- package/lib/components/toolbar/document-display-mode/document-display-mode.component.d.ts +13 -0
- package/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.d.ts +47 -0
- package/lib/components/toolbar/toggle-favorite/toggle-favorite.component.d.ts +42 -0
- package/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.d.ts +42 -0
- package/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.d.ts +11 -0
- package/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.d.ts +41 -0
- package/lib/components/toolbar/toggle-join-library/toggle-join-library-menu.component.d.ts +10 -0
- package/lib/components/toolbar/toolbar.module.d.ts +20 -0
- package/lib/components/toolbar/view-node/view-node.component.d.ts +19 -0
- package/lib/components/trashcan/trashcan.component.d.ts +42 -0
- package/lib/components/trashcan/trashcan.module.d.ts +16 -0
- package/lib/components/upload-files-dialog/upload-files-dialog.component.d.ts +37 -0
- package/lib/components/view-profile/view-profile.component.d.ts +59 -0
- package/lib/components/view-profile/view-profile.guard.d.ts +12 -0
- package/lib/components/view-profile/view-profile.module.d.ts +9 -0
- package/lib/dialogs/node-template/create-from-template.dialog.d.ts +49 -0
- package/lib/directives/directives.module.d.ts +9 -0
- package/lib/directives/document-list.directive.d.ts +56 -0
- package/lib/extensions/core.extensions.module.d.ts +14 -0
- package/lib/material.module.d.ts +14 -0
- package/lib/services/content-management.service.d.ts +100 -0
- package/lib/services/content-service-extension.service.d.ts +11 -0
- package/lib/services/content-url.service.d.ts +17 -0
- package/lib/services/node-actions.service.d.ts +93 -0
- package/lib/services/node-template.service.d.ts +34 -0
- package/lib/store/app-store.module.d.ts +10 -0
- package/lib/store/effects/app.effects.d.ts +41 -0
- package/lib/store/effects/contextmenu.effects.d.ts +12 -0
- package/lib/store/effects/download.effects.d.ts +49 -0
- package/lib/store/effects/favorite.effects.d.ts +38 -0
- package/lib/store/effects/library.effects.d.ts +43 -0
- package/lib/store/effects/node.effects.d.ts +56 -0
- package/lib/store/effects/search.effects.d.ts +37 -0
- package/lib/store/effects/template.effects.d.ts +54 -0
- package/lib/store/effects/upload.effects.d.ts +52 -0
- package/lib/store/effects/viewer.effects.d.ts +55 -0
- package/lib/store/effects.d.ts +34 -0
- package/lib/store/initial-state.d.ts +26 -0
- package/lib/store/reducers/app.reducer.d.ts +26 -0
- package/package.json +47 -0
- package/public-api.d.ts +28 -0
- package/ui/application.scss +53 -0
- package/ui/colors.scss +96 -0
- package/ui/custom-theme.scss +34 -0
- package/ui/dynamic-theme/custom-background-color.scss +14 -0
- package/ui/dynamic-theme/custom-palette-creator.scss +132 -0
- package/ui/dynamic-theme/custom-text-color.scss +8 -0
- package/ui/dynamic-theme/custom-theme-palettes.scss +33 -0
- package/ui/dynamic-theme/custom-theme.scss.tpl +72 -0
- package/ui/dynamic-theme/index.scss +1 -0
- package/ui/dynamic-theme/theme-configuration.scss.tpl +14 -0
- package/ui/dynamic-theme/typography.scss +94 -0
- package/ui/mixins.scss +26 -0
- package/ui/overrides/adf-about.theme.scss +38 -0
- package/ui/overrides/adf-pagination.theme.scss +46 -0
- package/ui/overrides/adf-style-fixes.theme.scss +18 -0
- package/ui/overrides/ay11.scss +232 -0
- package/ui/theme.scss +55 -0
- package/ui/variables/font-family.scss +1 -0
- package/ui/variables/variables.scss +92 -0
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
@mixin ay11-theme() {
|
|
2
|
+
.mat-icon-button,
|
|
3
|
+
.mat-button,
|
|
4
|
+
.mat-checkbox,
|
|
5
|
+
.mat-raised-button {
|
|
6
|
+
&:focus-visible {
|
|
7
|
+
@include rounded-outline;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.mat-ripple-element {
|
|
11
|
+
display: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.cdk-keyboard-focused {
|
|
15
|
+
.mat-button-focus-overlay {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.mat-checkbox-ripple {
|
|
20
|
+
@include rounded-outline;
|
|
21
|
+
|
|
22
|
+
height: 22px;
|
|
23
|
+
width: 22px;
|
|
24
|
+
left: calc(50% - 11px);
|
|
25
|
+
top: calc(50% - 11px);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.adf-content-node-selector-content-list .adf-datatable-list .adf-datatable-selected > svg {
|
|
31
|
+
fill: var(--theme-blue-button-color) !important;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.mat-list-base .mat-list-option {
|
|
35
|
+
.mat-list-item-content {
|
|
36
|
+
@include rounded-border(transparent);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&:focus-visible {
|
|
40
|
+
background-color: white;
|
|
41
|
+
|
|
42
|
+
.mat-list-item-content {
|
|
43
|
+
@include rounded-border;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.acs-close-members-container {
|
|
49
|
+
.mat-icon-button {
|
|
50
|
+
outline: none;
|
|
51
|
+
line-height: 36px !important;
|
|
52
|
+
|
|
53
|
+
@include rounded-border(transparent);
|
|
54
|
+
|
|
55
|
+
&:focus-visible {
|
|
56
|
+
@include rounded-border;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.adf-search-user-button,
|
|
62
|
+
.app-search-button {
|
|
63
|
+
line-height: 36px !important;
|
|
64
|
+
|
|
65
|
+
@include rounded-border(transparent);
|
|
66
|
+
|
|
67
|
+
&:focus-visible {
|
|
68
|
+
outline: none;
|
|
69
|
+
|
|
70
|
+
@include rounded-border;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.mat-menu-item {
|
|
75
|
+
.mat-menu-ripple {
|
|
76
|
+
display: none;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@include rounded-border(transparent);
|
|
80
|
+
|
|
81
|
+
&:focus-visible {
|
|
82
|
+
@include rounded-border;
|
|
83
|
+
|
|
84
|
+
background-color: white;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.cdk-keyboard-focused:not([disabled]) {
|
|
88
|
+
background-color: white;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.adf-toolbar-title {
|
|
93
|
+
padding: 2px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.mat-option {
|
|
97
|
+
&.cdk-keyboard-focused {
|
|
98
|
+
.mat-option-ripple {
|
|
99
|
+
@include rounded-outline;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.mat-slide-toggle {
|
|
105
|
+
.mat-slide-toggle-thumb {
|
|
106
|
+
width: 15px;
|
|
107
|
+
height: 15px;
|
|
108
|
+
transform: translate(20%, 50%);
|
|
109
|
+
background-color: #484a4d;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.mat-slide-toggle-bar {
|
|
113
|
+
border-radius: 15px;
|
|
114
|
+
height: 20px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.mat-slide-toggle-thumb-container {
|
|
118
|
+
top: -5px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.mat-slide-toggle-ripple {
|
|
122
|
+
display: none;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&.cdk-keyboard-focused {
|
|
126
|
+
.mat-slide-toggle-bar {
|
|
127
|
+
outline: 2px solid var(--theme-blue-button-color);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&.mat-primary.mat-checked:not(.mat-disabled) {
|
|
132
|
+
.mat-slide-toggle-bar {
|
|
133
|
+
background-color: var(--theme-blue-button-color);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.mat-slide-toggle-thumb {
|
|
137
|
+
background-color: white;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.mat-stroked-button,
|
|
143
|
+
.mat-flat-button {
|
|
144
|
+
&.cdk-keyboard-focused {
|
|
145
|
+
.mat-button-ripple.mat-ripple {
|
|
146
|
+
outline: 2px solid var(--theme-blue-button-color);
|
|
147
|
+
inset: -4px;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.mat-datetimepicker-calendar-body-active .mat-datetimepicker-calendar-body-cell-content {
|
|
153
|
+
outline: 2px solid var(--theme-datetimepicker-cell-focus-border);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.mat-datetimepicker-calendar-body-active .mat-datetimepicker-calendar-body-cell-content:not(.mat-datetimepicker-calendar-body-selected) {
|
|
157
|
+
background-color: var(--theme-datetimepicker-cell-background) !important;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.mat-datetimepicker-calendar-body-cell-content.mat-datetimepicker-calendar-body-selected {
|
|
161
|
+
background-color: var(--theme-datetimepicker-selected-date-background);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.mat-datetimepicker-calendar-body-active .mat-datetimepicker-calendar-body-cell-content.mat-datetimepicker-calendar-body-selected {
|
|
165
|
+
background-color: var(--theme-datetimepicker-cell-focus-background);
|
|
166
|
+
color: var(--theme-datetimepicker-font-color);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.mat-expansion-panel .mat-expansion-panel-header {
|
|
170
|
+
border: 2px solid transparent;
|
|
171
|
+
|
|
172
|
+
.mat-button {
|
|
173
|
+
outline: none;
|
|
174
|
+
|
|
175
|
+
@include rounded-border(transparent);
|
|
176
|
+
|
|
177
|
+
&:focus-visible {
|
|
178
|
+
@include rounded-border;
|
|
179
|
+
|
|
180
|
+
background-color: white;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&.cdk-keyboard-focused:not([aria-disabled='true']) {
|
|
185
|
+
background-color: white;
|
|
186
|
+
|
|
187
|
+
@include rounded-border;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.adf-error-snackbar {
|
|
192
|
+
background-color: #ba1b1b;
|
|
193
|
+
|
|
194
|
+
.mat-simple-snackbar,
|
|
195
|
+
.mat-simple-snackbar-action {
|
|
196
|
+
color: white;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.adf-info-snackbar {
|
|
201
|
+
background-color: var(--theme-blue-button-color);
|
|
202
|
+
|
|
203
|
+
.mat-simple-snackbar,
|
|
204
|
+
.mat-simple-snackbar-action {
|
|
205
|
+
color: white;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.adf-filter-button {
|
|
210
|
+
margin-left: -2px !important;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.adf-pagination {
|
|
214
|
+
&__perpage-block,
|
|
215
|
+
&__actualinfo-block {
|
|
216
|
+
/* stylelint-disable-next-line no-descending-specificity */
|
|
217
|
+
.mat-icon-button {
|
|
218
|
+
left: 3px;
|
|
219
|
+
|
|
220
|
+
&:focus-visible {
|
|
221
|
+
outline: none;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
&.cdk-keyboard-focused {
|
|
225
|
+
.mat-icon {
|
|
226
|
+
@include rounded-outline;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
package/ui/theme.scss
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@import '@alfresco/adf-core/theming';
|
|
3
|
+
@import 'custom-theme';
|
|
4
|
+
@import 'variables/variables';
|
|
5
|
+
@include custom-theme($custom-theme);
|
|
6
|
+
|
|
7
|
+
$contrast-gray: #646569;
|
|
8
|
+
|
|
9
|
+
.mat-toolbar {
|
|
10
|
+
color: var(--theme-text-color, rgba(0, 0, 0, 0.54));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.adf-name-location-cell-location {
|
|
14
|
+
color: $contrast-gray !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.mat-form-field-label, .mat-tab-label, .mat-checkbox-label, .mat-toolbar {
|
|
18
|
+
color: $contrast-gray !important;
|
|
19
|
+
opacity: 1 !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.mat-tab-label-active {
|
|
23
|
+
color: #212121 !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.adf-upload-dialog {
|
|
27
|
+
&__header, &__content {
|
|
28
|
+
color: $contrast-gray;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.adf-version-list-item {
|
|
33
|
+
&-comment, &-date {
|
|
34
|
+
color: $contrast-gray;
|
|
35
|
+
opacity: 1 !important;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.mat-chip.mat-standard-chip {
|
|
40
|
+
background-color: #efefef;
|
|
41
|
+
color: $contrast-gray;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.adf-textitem-edit-icon.mat-icon {
|
|
45
|
+
color: $contrast-gray !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.adf-property-field.adf-card-textitem-field:hover .adf-property-clear-value {
|
|
49
|
+
color: $contrast-gray !important;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.adf-empty-content__icon {
|
|
53
|
+
color: $contrast-gray;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$default-font-family: "Open Sans";
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* stylelint-disable scss/no-global-function-names */
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
|
|
4
|
+
$warn: map-get($custom-theme, warn);
|
|
5
|
+
$accent: map-get($custom-theme, accent);
|
|
6
|
+
$primary: map-get($custom-theme, primary);
|
|
7
|
+
$foreground: map-get($custom-theme, foreground);
|
|
8
|
+
$background: map-get($custom-theme, background);
|
|
9
|
+
|
|
10
|
+
// Custom variables - ACA specific styling:
|
|
11
|
+
$data-table-thumbnail-width: 35px;
|
|
12
|
+
$data-table-cell-min-width: 150px;
|
|
13
|
+
$data-table-cell-min-width-no-grow: 120px;
|
|
14
|
+
$data-table-cell-min-width-file-size: 110px !important;
|
|
15
|
+
|
|
16
|
+
// Upload drag
|
|
17
|
+
$adf-upload-dragging-color: unset;
|
|
18
|
+
$adf-upload-dragging-border: 1px solid #00bcd4;
|
|
19
|
+
$adf-upload-dragging-background: #e0f7fa;
|
|
20
|
+
$adf-upload-dragging-level1-color: unset;
|
|
21
|
+
$adf-upload-dragging-level1-border: none;
|
|
22
|
+
$grey-background: rgba(33, 33, 33, 0.12);
|
|
23
|
+
$grey-text-background: rgba(33, 33, 33, 0.05);
|
|
24
|
+
$grey-hover-background: rgba(33, 33, 33, 0.24);
|
|
25
|
+
$blue-save-button-background: #1f74db;
|
|
26
|
+
$black-heading: #4e4c4c;
|
|
27
|
+
$grey-dropdown-background: #eee;
|
|
28
|
+
$grey-divider: rgba(0, 0, 0, 0.22);
|
|
29
|
+
$datetimepicker-font-color: rgba(black, 0.87);
|
|
30
|
+
$datetimepicker-selected-date-background: #2254b2;
|
|
31
|
+
$datetimepicker-cell-background-color: #fff;
|
|
32
|
+
$datetimepicker-cell-focus-border-color: #1f74db;
|
|
33
|
+
$datetimepicker-cell-focus-background-color: rgba(33, 33, 33, 0.12);
|
|
34
|
+
$sidenav-background-color: #f8f8f8;
|
|
35
|
+
$selected-text-color: #212121;
|
|
36
|
+
$selected-background-color: rgba(31, 116, 219, 0.24);
|
|
37
|
+
$action-button-text-color: rgba(33, 35, 40, 0.7);
|
|
38
|
+
$page-layout-header-background-color: #fff;
|
|
39
|
+
$aca-toolbar-button-background-color: rgba(33, 33, 33, 0.05);
|
|
40
|
+
|
|
41
|
+
// CSS Variables
|
|
42
|
+
$defaults: (
|
|
43
|
+
--theme-primary-color: mat.get-color-from-palette($primary),
|
|
44
|
+
--theme-primary-color-default-contrast: mat.get-color-from-palette($primary, default-contrast),
|
|
45
|
+
--theme-warn-color: mat.get-color-from-palette($warn),
|
|
46
|
+
--theme-accent-color: mat.get-color-from-palette($accent),
|
|
47
|
+
--theme-background-color: mat.get-color-from-palette($background, background),
|
|
48
|
+
--theme-text-color: mat.get-color-from-palette($foreground, text, 0.54),
|
|
49
|
+
--theme-text-bold-color: mat.get-color-from-palette($foreground, text, 0.87),
|
|
50
|
+
--theme-title-color: mat.get-color-from-palette($foreground, text, 0.87),
|
|
51
|
+
--theme-text-disabled-color: mat.get-color-from-palette($foreground, text, 0.38),
|
|
52
|
+
--theme-border-color: mat.get-color-from-palette($foreground, text, 0.07),
|
|
53
|
+
--theme-card-background-color: mat.get-color-from-palette($background, card),
|
|
54
|
+
--theme-foreground-text-color: mat.get-color-from-palette($foreground, text, 0.72),
|
|
55
|
+
--theme-foreground-text-bold-color: mat.get-color-from-palette($foreground, text, 0.87),
|
|
56
|
+
--theme-secondary-text-color: mat.get-color-from-palette($foreground, secondary-text),
|
|
57
|
+
--theme-divider-color: mat.get-color-from-palette($foreground, divider, 0.07),
|
|
58
|
+
--theme-dialog-background-color: mat.get-color-from-palette($background, dialog),
|
|
59
|
+
--theme-header-text-color: mat.get-color-from-palette($foreground, text, 0.87),
|
|
60
|
+
--new-button-font-size: 0.9rem,
|
|
61
|
+
--theme-grey-text-background-color: $grey-text-background,
|
|
62
|
+
--theme-grey-background-color: $grey-background,
|
|
63
|
+
--theme-grey-hover-background-color: $grey-hover-background,
|
|
64
|
+
--theme-blue-button-color: $blue-save-button-background,
|
|
65
|
+
--theme-heading-color: $black-heading,
|
|
66
|
+
--theme-dropdown-color: $grey-dropdown-background,
|
|
67
|
+
--theme-grey-divider-color: $grey-divider,
|
|
68
|
+
--theme-pagination-background-color: mat.get-color-from-palette($background, background),
|
|
69
|
+
--theme-about-panel-border-color: $grey-background,
|
|
70
|
+
--theme-about-panel-background-color: mat.get-color-from-palette($background, card),
|
|
71
|
+
--theme-about-panel-title-color: mat.get-color-from-palette($foreground, text),
|
|
72
|
+
--theme-datetimepicker-font-color: $datetimepicker-font-color,
|
|
73
|
+
--theme-datetimepicker-selected-date-background: $datetimepicker-selected-date-background,
|
|
74
|
+
--theme-datetimepicker-cell-background: $datetimepicker-cell-background-color,
|
|
75
|
+
--theme-datetimepicker-cell-focus-border: $datetimepicker-cell-focus-border-color,
|
|
76
|
+
--theme-datetimepicker-cell-focus-background: $datetimepicker-cell-focus-background-color,
|
|
77
|
+
--theme-sidenav-background-color: $sidenav-background-color,
|
|
78
|
+
--theme-selected-text-color: $selected-text-color,
|
|
79
|
+
--theme-selected-background-color: $selected-background-color,
|
|
80
|
+
--theme-hover-background-color: $grey-text-background,
|
|
81
|
+
--theme-action-button-text-color: $action-button-text-color,
|
|
82
|
+
--theme-header-border-color: $grey-background,
|
|
83
|
+
--theme-page-layout-header-background-color: $page-layout-header-background-color,
|
|
84
|
+
--theme-app-toolbar-button-background-color: $aca-toolbar-button-background-color
|
|
85
|
+
);
|
|
86
|
+
|
|
87
|
+
// propagates SCSS variables into the CSS variables scope
|
|
88
|
+
:root {
|
|
89
|
+
@each $name, $value in $defaults {
|
|
90
|
+
#{$name}: #{$value};
|
|
91
|
+
}
|
|
92
|
+
}
|