@sumaris-net/ngx-components 2.7.3-rc8 → 2.7.3
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/esm2022/src/app/admin/admin-routing.module.mjs +4 -4
- package/esm2022/src/app/admin/admin.module.mjs +4 -4
- package/esm2022/src/app/admin/services/person.service.mjs +3 -3
- package/esm2022/src/app/admin/services/validator/person.validator.mjs +3 -3
- package/esm2022/src/app/admin/users/users.mjs +4 -4
- package/esm2022/src/app/admin/users/users.module.mjs +4 -4
- package/esm2022/src/app/core/about/about.modal.mjs +3 -3
- package/esm2022/src/app/core/about/about.module.mjs +4 -4
- package/esm2022/src/app/core/account/account.module.mjs +4 -4
- package/esm2022/src/app/core/account/account.page.mjs +3 -3
- package/esm2022/src/app/core/account/new-token.modal.mjs +3 -3
- package/esm2022/src/app/core/account/token.table.mjs +3 -3
- package/esm2022/src/app/core/auth/auth.form.mjs +3 -3
- package/esm2022/src/app/core/auth/auth.modal.mjs +3 -3
- package/esm2022/src/app/core/auth/auth.module.mjs +4 -4
- package/esm2022/src/app/core/core.module.mjs +4 -4
- package/esm2022/src/app/core/core.testing.module.mjs +4 -4
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.component.mjs +3 -3
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.module.mjs +4 -4
- package/esm2022/src/app/core/form/entity/editor.class.mjs +6 -6
- package/esm2022/src/app/core/form/entity/entity-editor-modal.class.mjs +3 -3
- package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +3 -3
- package/esm2022/src/app/core/form/entity/entity-metadata.component.mjs +3 -3
- package/esm2022/src/app/core/form/entity/entity.module.mjs +4 -4
- package/esm2022/src/app/core/form/form.class.mjs +3 -3
- package/esm2022/src/app/core/form/form.module.mjs +4 -4
- package/esm2022/src/app/core/form/list/list.form.mjs +3 -3
- package/esm2022/src/app/core/form/list/list.module.mjs +4 -4
- package/esm2022/src/app/core/form/properties/properties.form.mjs +3 -3
- package/esm2022/src/app/core/form/properties/properties.module.mjs +4 -4
- package/esm2022/src/app/core/form/properties/properties.table.mjs +6 -6
- package/esm2022/src/app/core/form/properties/property.validator.mjs +3 -3
- package/esm2022/src/app/core/form/properties/testing/properties-form.test.mjs +3 -3
- package/esm2022/src/app/core/form/properties/testing/properties-form.testing.module.mjs +4 -4
- package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.mjs +3 -3
- package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.module.mjs +4 -4
- package/esm2022/src/app/core/form/text-popover/text-popover.component.mjs +3 -3
- package/esm2022/src/app/core/form/text-popover/text-popover.module.mjs +4 -4
- package/esm2022/src/app/core/graphql/graphql.module.mjs +4 -4
- package/esm2022/src/app/core/graphql/graphql.service.mjs +3 -3
- package/esm2022/src/app/core/home/home.mjs +5 -5
- package/esm2022/src/app/core/home/home.module.mjs +4 -4
- package/esm2022/src/app/core/icon/icon.component.mjs +3 -3
- package/esm2022/src/app/core/icon/icon.module.mjs +4 -4
- package/esm2022/src/app/core/install/install-upgrade-card.component.mjs +3 -3
- package/esm2022/src/app/core/install/install-upgrade-card.module.mjs +4 -4
- package/esm2022/src/app/core/menu/menu.component.mjs +5 -5
- package/esm2022/src/app/core/menu/menu.module.mjs +4 -4
- package/esm2022/src/app/core/menu/menu.service.mjs +3 -3
- package/esm2022/src/app/core/menu/sub-menu-tab.directive.mjs +3 -3
- package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +7 -6
- package/esm2022/src/app/core/menu/testing/menu.testing.mjs +42 -7
- package/esm2022/src/app/core/menu/testing/menu.testing.module.mjs +4 -4
- package/esm2022/src/app/core/offline/update-offline-mode-card.component.mjs +3 -3
- package/esm2022/src/app/core/offline/update-offline-mode-card.module.mjs +4 -4
- package/esm2022/src/app/core/peer/select-peer.modal.mjs +3 -3
- package/esm2022/src/app/core/peer/select-peer.module.mjs +4 -4
- package/esm2022/src/app/core/register/register-confirm.page.mjs +3 -3
- package/esm2022/src/app/core/register/register.form.mjs +3 -3
- package/esm2022/src/app/core/register/register.modal.mjs +3 -3
- package/esm2022/src/app/core/register/register.module.mjs +4 -4
- package/esm2022/src/app/core/services/account.service.mjs +3 -3
- package/esm2022/src/app/core/services/auth-guard.service.mjs +3 -3
- package/esm2022/src/app/core/services/base-entity-service.class.mjs +3 -3
- package/esm2022/src/app/core/services/base-graphql-service.class.mjs +3 -3
- package/esm2022/src/app/core/services/config/core.config.mjs +7 -1
- package/esm2022/src/app/core/services/config.service.mjs +3 -3
- package/esm2022/src/app/core/services/crypto.service.mjs +3 -3
- package/esm2022/src/app/core/services/local-settings.service.mjs +17 -4
- package/esm2022/src/app/core/services/model/settings.model.mjs +1 -1
- package/esm2022/src/app/core/services/network.service.mjs +3 -3
- package/esm2022/src/app/core/services/pipes/account.pipes.mjs +8 -8
- package/esm2022/src/app/core/services/pipes/department-to-string.pipe.mjs +4 -4
- package/esm2022/src/app/core/services/pipes/person-to-string.pipe.mjs +4 -4
- package/esm2022/src/app/core/services/pipes/pipes.module.mjs +4 -4
- package/esm2022/src/app/core/services/pipes/referential-to-string.pipe.mjs +3 -3
- package/esm2022/src/app/core/services/pipes/usage-mode.pipes.mjs +8 -8
- package/esm2022/src/app/core/services/platform.service.mjs +3 -3
- package/esm2022/src/app/core/services/storage/entities-storage.service.mjs +3 -3
- package/esm2022/src/app/core/services/testing/referential.validator.mjs +3 -3
- package/esm2022/src/app/core/services/validator/account.validator.mjs +3 -3
- package/esm2022/src/app/core/services/validator/base.validator.class.mjs +3 -3
- package/esm2022/src/app/core/services/validator/local-settings.validator.mjs +12 -10
- package/esm2022/src/app/core/services/validator/user-settings.validator.mjs +3 -3
- package/esm2022/src/app/core/services/validator/user-token.validator.mjs +3 -3
- package/esm2022/src/app/core/settings/settings.module.mjs +4 -4
- package/esm2022/src/app/core/settings/settings.page.mjs +13 -5
- package/esm2022/src/app/core/table/actions-column.component.mjs +3 -3
- package/esm2022/src/app/core/table/async-table.class.mjs +3 -3
- package/esm2022/src/app/core/table/entities-async-table-datasource.class.mjs +3 -3
- package/esm2022/src/app/core/table/entities-table-datasource.class.mjs +3 -3
- package/esm2022/src/app/core/table/memory-table.class.mjs +3 -3
- package/esm2022/src/app/core/table/table-select-columns.component.mjs +3 -3
- package/esm2022/src/app/core/table/table.class.mjs +3 -3
- package/esm2022/src/app/core/table/table.module.mjs +4 -4
- package/esm2022/src/app/core/table/testing/table-validator.service.mjs +7 -4
- package/esm2022/src/app/core/table/testing/table.testing.mjs +42 -23
- package/esm2022/src/app/core/table/testing/table.testing.module.mjs +4 -4
- package/esm2022/src/app/core/table/testing/table2-validator.service.mjs +3 -3
- package/esm2022/src/app/core/table/testing/table2.testing.mjs +4 -4
- package/esm2022/src/app/shared/audio/audio.mjs +3 -3
- package/esm2022/src/app/shared/audio/audio.testing.mjs +3 -3
- package/esm2022/src/app/shared/audio/audio.testing.module.mjs +4 -4
- package/esm2022/src/app/shared/capacitor/keyboard.mjs +3 -3
- package/esm2022/src/app/shared/debug/debug.component.mjs +3 -3
- package/esm2022/src/app/shared/debug/debug.module.mjs +4 -4
- package/esm2022/src/app/shared/directives/autofocus.directive.mjs +3 -3
- package/esm2022/src/app/shared/directives/autotitle.directive.mjs +3 -3
- package/esm2022/src/app/shared/directives/directives.module.mjs +4 -4
- package/esm2022/src/app/shared/directives/drag-and-drop.directive.mjs +3 -3
- package/esm2022/src/app/shared/directives/ng-var.directive.mjs +3 -3
- package/esm2022/src/app/shared/directives/resizable/resizable.component.mjs +3 -3
- package/esm2022/src/app/shared/directives/resizable/resizable.directive.mjs +3 -3
- package/esm2022/src/app/shared/directives/resizable/resizable.module.mjs +4 -4
- package/esm2022/src/app/shared/file/file.service.mjs +3 -3
- package/esm2022/src/app/shared/form/field.component.mjs +12 -9
- package/esm2022/src/app/shared/form/loading-spinner.mjs +3 -3
- package/esm2022/src/app/shared/gesture/gesture-config.mjs +3 -3
- package/esm2022/src/app/shared/guard/component-dirty.guard.mjs +3 -3
- package/esm2022/src/app/shared/help/help.modal.mjs +3 -3
- package/esm2022/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +3 -3
- package/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +3 -3
- package/esm2022/src/app/shared/hotkeys/shared-hotkeys.module.mjs +4 -4
- package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +3 -3
- package/esm2022/src/app/shared/image/gallery/image-gallery.module.mjs +4 -4
- package/esm2022/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +3 -3
- package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.mjs +3 -3
- package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +4 -4
- package/esm2022/src/app/shared/image/image.module.mjs +4 -4
- package/esm2022/src/app/shared/image/image.service.mjs +3 -3
- package/esm2022/src/app/shared/logging/logging-service.class.mjs +3 -3
- package/esm2022/src/app/shared/logging/logging-service.module.mjs +4 -4
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +11 -8
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +4 -4
- package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +25 -21
- package/esm2022/src/app/shared/material/badge/badge.directive.mjs +3 -3
- package/esm2022/src/app/shared/material/badge/badge.module.mjs +4 -4
- package/esm2022/src/app/shared/material/badge/badge.test.mjs +3 -3
- package/esm2022/src/app/shared/material/boolean/boolean.module.mjs +4 -4
- package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +5 -5
- package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +8 -5
- package/esm2022/src/app/shared/material/chips/chips.module.mjs +4 -4
- package/esm2022/src/app/shared/material/chips/material.chips.mjs +6 -6
- package/esm2022/src/app/shared/material/chips/testing/chips.test.mjs +6 -5
- package/esm2022/src/app/shared/material/datetime/datetime.module.mjs +4 -4
- package/esm2022/src/app/shared/material/datetime/material.date.mjs +14 -6
- package/esm2022/src/app/shared/material/datetime/material.dateshort.mjs +5 -5
- package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +72 -43
- package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +18 -17
- package/esm2022/src/app/shared/material/datetime/testing/mat-date.test.mjs +14 -13
- package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +11 -12
- package/esm2022/src/app/shared/material/duration/duration.module.mjs +4 -4
- package/esm2022/src/app/shared/material/duration/material.duration.mjs +11 -12
- package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +10 -11
- package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +18 -13
- package/esm2022/src/app/shared/material/latlong/material.latlong.module.mjs +4 -4
- package/esm2022/src/app/shared/material/latlong/testing/latlong.test.mjs +9 -5
- package/esm2022/src/app/shared/material/material.config.mjs +2 -1
- package/esm2022/src/app/shared/material/material.module.mjs +4 -4
- package/esm2022/src/app/shared/material/material.testing.module.mjs +4 -4
- package/esm2022/src/app/shared/material/paginator/material.paginator-i18n.mjs +3 -3
- package/esm2022/src/app/shared/material/stepper/material.stepper-i18n.mjs +3 -3
- package/esm2022/src/app/shared/material/swipe/material.swipe.mjs +12 -12
- package/esm2022/src/app/shared/material/swipe/swipe.module.mjs +4 -4
- package/esm2022/src/app/shared/material/swipe/testing/swipe.test.mjs +3 -3
- package/esm2022/src/app/shared/material/testing/common.test.mjs +18 -14
- package/esm2022/src/app/shared/material/text/testing/text-form.testing.mjs +7 -6
- package/esm2022/src/app/shared/material/text/text-form.component.mjs +10 -6
- package/esm2022/src/app/shared/material/text/text-form.module.mjs +4 -4
- package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +3 -3
- package/esm2022/src/app/shared/named-filter/named-filter.module.mjs +4 -4
- package/esm2022/src/app/shared/named-filter/named-filter.service.mjs +3 -3
- package/esm2022/src/app/shared/pipes/arrays.pipe.mjs +24 -24
- package/esm2022/src/app/shared/pipes/colors.pipe.mjs +3 -3
- package/esm2022/src/app/shared/pipes/date-diff-duration.pipe.mjs +4 -4
- package/esm2022/src/app/shared/pipes/date-format.pipe.mjs +6 -6
- package/esm2022/src/app/shared/pipes/date-from-now.pipe.mjs +4 -4
- package/esm2022/src/app/shared/pipes/duration.pipe.mjs +4 -4
- package/esm2022/src/app/shared/pipes/file-size.pipe.mjs +3 -3
- package/esm2022/src/app/shared/pipes/form.pipes.mjs +18 -18
- package/esm2022/src/app/shared/pipes/highlight.pipe.mjs +4 -4
- package/esm2022/src/app/shared/pipes/latlong-format.pipe.mjs +9 -9
- package/esm2022/src/app/shared/pipes/maps.pipe.mjs +12 -12
- package/esm2022/src/app/shared/pipes/maskito.pipe.mjs +40 -19
- package/esm2022/src/app/shared/pipes/math.pipes.mjs +12 -12
- package/esm2022/src/app/shared/pipes/ng-init.pipe.mjs +3 -3
- package/esm2022/src/app/shared/pipes/number-format.pipe.mjs +4 -4
- package/esm2022/src/app/shared/pipes/pipes.module.mjs +4 -4
- package/esm2022/src/app/shared/pipes/property.pipes.mjs +7 -7
- package/esm2022/src/app/shared/pipes/string.pipes.mjs +34 -32
- package/esm2022/src/app/shared/pipes/translate-context.pipe.mjs +8 -8
- package/esm2022/src/app/shared/pipes/types.pipes.mjs +12 -12
- package/esm2022/src/app/shared/rx-state.module.mjs +4 -4
- package/esm2022/src/app/shared/services/memory-entity-service.class.mjs +3 -3
- package/esm2022/src/app/shared/services/progress-bar.service.mjs +3 -3
- package/esm2022/src/app/shared/services/startable-observable-service.class.mjs +3 -3
- package/esm2022/src/app/shared/services/startable-service.class.mjs +3 -3
- package/esm2022/src/app/shared/services/translate-context.service.mjs +3 -3
- package/esm2022/src/app/shared/shared-routing.module.mjs +7 -7
- package/esm2022/src/app/shared/shared.module.mjs +4 -4
- package/esm2022/src/app/shared/shared.testing.module.mjs +4 -4
- package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +3 -3
- package/esm2022/src/app/shared/storage/storage-explorer.module.mjs +4 -4
- package/esm2022/src/app/shared/storage/storage-explorer.testing-routing.module.mjs +4 -4
- package/esm2022/src/app/shared/storage/storage-explorer.testing.module.mjs +4 -4
- package/esm2022/src/app/shared/storage/storage.service.mjs +3 -3
- package/esm2022/src/app/shared/testing/observable.test.mjs +3 -3
- package/esm2022/src/app/shared/testing/tests.page.mjs +3 -3
- package/esm2022/src/app/shared/toast/toast.testing.mjs +3 -3
- package/esm2022/src/app/shared/toast/toast.testing.module.mjs +4 -4
- package/esm2022/src/app/shared/toolbar/modal-toolbar.mjs +3 -3
- package/esm2022/src/app/shared/toolbar/toolbar.mjs +3 -3
- package/esm2022/src/app/shared/toolbar/toolbar.module.mjs +4 -4
- package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.mjs +3 -3
- package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +4 -4
- package/esm2022/src/app/shared/upload-file/upload-file-popover.component.mjs +3 -3
- package/esm2022/src/app/shared/upload-file/upload-file.component.mjs +3 -3
- package/esm2022/src/app/shared/validator/form-error-adapter.class.mjs +3 -3
- package/esm2022/src/app/social/job/job.module.mjs +4 -4
- package/esm2022/src/app/social/job/progression/job-progression.component.mjs +3 -3
- package/esm2022/src/app/social/job/progression/job-progression.icon.mjs +8 -4
- package/esm2022/src/app/social/job/progression/job-progression.list.mjs +3 -3
- package/esm2022/src/app/social/job/progression/job-progression.service.mjs +11 -7
- package/esm2022/src/app/social/job/testing/job-progression.testing.mjs +3 -3
- package/esm2022/src/app/social/job/testing/job-progression.testing.service.mjs +3 -3
- package/esm2022/src/app/social/job/testing/job.testing.module.mjs +4 -4
- package/esm2022/src/app/social/message/message.form.mjs +3 -3
- package/esm2022/src/app/social/message/message.modal.mjs +3 -3
- package/esm2022/src/app/social/message/message.module.mjs +4 -4
- package/esm2022/src/app/social/message/message.service.mjs +3 -3
- package/esm2022/src/app/social/social.module.mjs +4 -4
- package/esm2022/src/app/social/social.testing.module.mjs +4 -4
- package/esm2022/src/app/social/user-event/notification/user-event-notification.icon.mjs +14 -12
- package/esm2022/src/app/social/user-event/notification/user-event-notification.list.mjs +3 -3
- package/esm2022/src/app/social/user-event/testing/user-event.testing.mjs +3 -3
- package/esm2022/src/app/social/user-event/testing/user-event.testing.module.mjs +4 -4
- package/esm2022/src/app/social/user-event/testing/user-event.testing.service.mjs +3 -3
- package/esm2022/src/app/social/user-event/user-event.module.mjs +4 -4
- package/esm2022/src/app/social/user-event/user-event.service.mjs +8 -6
- package/esm2022/src/environments/environment.class.mjs +4 -2
- package/esm2022/src/environments/environment.loader.mjs +3 -3
- package/esm2022/src/environments/environment.mjs +3 -1
- package/fesm2022/sumaris-net.ngx-components.mjs +1367 -1174
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +11 -11
- package/src/app/core/menu/testing/menu-other.testing.d.ts +1 -1
- package/src/app/core/menu/testing/menu.testing.d.ts +10 -2
- package/src/app/core/services/config/core.config.d.ts +1 -0
- package/src/app/core/services/local-settings.service.d.ts +2 -0
- package/src/app/core/services/model/settings.model.d.ts +1 -0
- package/src/app/core/settings/settings.page.d.ts +2 -0
- package/src/app/shared/form/field.component.d.ts +5 -3
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +1 -0
- package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +3 -2
- package/src/app/shared/material/datetime/material.date.d.ts +3 -2
- package/src/app/shared/material/datetime/material.dateshort.d.ts +1 -1
- package/src/app/shared/material/datetime/material.datetime.d.ts +25 -22
- package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +2 -2
- package/src/app/shared/material/duration/material.duration.d.ts +1 -1
- package/src/app/shared/material/latlong/material.latlong.d.ts +5 -3
- package/src/app/shared/material/latlong/testing/latlong.test.d.ts +4 -0
- package/src/app/shared/material/material.config.d.ts +2 -1
- package/src/app/shared/material/text/text-form.component.d.ts +3 -1
- package/src/app/shared/pipes/string.pipes.d.ts +2 -1
- package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +4 -4
- package/src/assets/i18n/en-US.json +1 -0
- package/src/assets/i18n/en.json +1 -0
- package/src/assets/i18n/fr.json +1 -0
- package/src/assets/manifest.json +1 -1
- package/src/environments/environment.class.d.ts +2 -1
- package/src/theme/_ionic.globals.scss +4 -1
- package/src/theme/_material.globals.scss +1 -36
- package/src/theme/_material.scss +31 -8
- package/src/theme/_mixins.scss +20 -5
- package/src/theme/_ngx-components.forms.scss +203 -0
- package/src/theme/_ngx-components.globals.scss +10 -7
- package/src/theme/_ngx-components.scss +6 -198
- package/src/theme/_ngx-components.table.scss +137 -143
- package/src/theme/_ngx-components.tabs.scss +16 -1
- package/src/theme/_theme.scss +1 -0
- package/src/theme/_theme.variables.scss +170 -0
|
@@ -8,25 +8,41 @@
|
|
|
8
8
|
overflow-x: auto;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
.dark .mat-mdc-table {
|
|
12
|
+
--mdc-checkbox-selected-checkmark-color: var(--ion-text-color);
|
|
13
|
+
--mdc-checkbox-unselected-icon-color: var(--ion-text-color);
|
|
14
|
+
--mdc-checkbox-selected-icon-color: var(--ion-color-accent);
|
|
15
|
+
--mdc-checkbox-unselected-focus-icon-color: var(--ion-text-color);
|
|
16
|
+
--mdc-checkbox-unselected-hover-icon-color: var(--ion-text-color);
|
|
17
|
+
--mdc-checkbox-unselected-pressed-icon-color: var(--ion-color-accent);
|
|
18
|
+
}
|
|
11
19
|
|
|
12
20
|
.mat-mdc-table {
|
|
13
21
|
min-width: calc(100% - 1px);
|
|
14
22
|
border-collapse: separate;
|
|
23
|
+
--mat-table-background-color: var(--ion-background-color);
|
|
24
|
+
--mat-table-row-item-label-text-color: var(--ion-text-color);
|
|
25
|
+
--mat-table-row-item-outline-color: var(--ion-border-color);
|
|
26
|
+
--mat-table-row-item-label-text-size: 14px;
|
|
27
|
+
--mat-table-row-item-label-text-tracking: normal;
|
|
15
28
|
--mat-row-height: #{$app-table-row-height};
|
|
16
29
|
--mat-row-max-height: #{$app-table-row-max-height};
|
|
17
30
|
--mat-cell-horizontal-padding: #{$app-table-cell-horizontal-padding};
|
|
18
|
-
--mat-cell-padding-top: calc(var(--mat-row-height)
|
|
31
|
+
--mat-cell-padding-top: calc(var(--mat-row-height) / 2 - var(--mat-table-row-item-label-text-size, 14px));
|
|
19
32
|
|
|
20
|
-
--mdc-checkbox-state-layer-size: 20px;
|
|
21
33
|
--mdc-typography-body1-font-size: 14px;
|
|
22
|
-
--
|
|
23
|
-
--mat-form-field-container-text-tracking: 0.0178571429em;
|
|
24
|
-
--mdc-typography-body1-letter-spacing: 0.0178571429em;
|
|
25
|
-
--mat-table-row-item-label-text-size: 14px;
|
|
34
|
+
--mdc-typography-body1-letter-spacing: normal;
|
|
26
35
|
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--mat-form-field-
|
|
36
|
+
--mat-form-field-container-text-tracking: normal;
|
|
37
|
+
--mat-form-field-state-layer-color: transparent;
|
|
38
|
+
--mat-form-field-subscript-text-size: 10px;
|
|
39
|
+
--mdc-checkbox-state-layer-size: 20px;
|
|
40
|
+
--mdc-filled-text-field-container-color: transparent;
|
|
41
|
+
--mdc-filled-text-field-disabled-container-color: transparent;
|
|
42
|
+
--mdc-filled-text-field-input-text-color: var(--ion-text-color);
|
|
43
|
+
--mat-select-enabled-trigger-text-color: var(--ion-text-color);
|
|
44
|
+
--mat-select-disabled-trigger-text-color: var(--ion-text-color);
|
|
45
|
+
--mdc-form-field-label-text-color: var(--ion-text-color);
|
|
30
46
|
|
|
31
47
|
.mat-mdc-header-cell {
|
|
32
48
|
color: var(--ion-color-primary);
|
|
@@ -107,7 +123,7 @@
|
|
|
107
123
|
}
|
|
108
124
|
|
|
109
125
|
/* Add a start padding to content (but not the cell itself) (e.g. tables with odd/event style - like BatchGroupsTable) */
|
|
110
|
-
&.mat-cell-content-start-padding {
|
|
126
|
+
&.mat-mdc-cell-content-start-padding {
|
|
111
127
|
|
|
112
128
|
// Reset start padding here (only apply cell's content)
|
|
113
129
|
padding-inline-start: 0;
|
|
@@ -156,6 +172,7 @@
|
|
|
156
172
|
}
|
|
157
173
|
}
|
|
158
174
|
|
|
175
|
+
.mat-mdc-cell-date,
|
|
159
176
|
.mat-cell-date {
|
|
160
177
|
min-width: 128px;
|
|
161
178
|
max-width: 128px;
|
|
@@ -166,10 +183,16 @@
|
|
|
166
183
|
}
|
|
167
184
|
}
|
|
168
185
|
|
|
186
|
+
.mat-mdc-cell-date-time,
|
|
169
187
|
.mat-cell-date-time {
|
|
170
|
-
min-width:
|
|
188
|
+
min-width: 155px;
|
|
171
189
|
max-width: 180px;
|
|
172
190
|
|
|
191
|
+
mat-date-time-field {
|
|
192
|
+
ion-col.day {
|
|
193
|
+
min-width: unset !important; // make sure column is resizable
|
|
194
|
+
}
|
|
195
|
+
}
|
|
173
196
|
input {
|
|
174
197
|
max-width: 120px;
|
|
175
198
|
overflow: visible !important;
|
|
@@ -183,18 +206,22 @@
|
|
|
183
206
|
.mat-column-actions {
|
|
184
207
|
text-align: end;
|
|
185
208
|
min-width: var(--mat-column-actions-min-width);
|
|
186
|
-
width: var(--mat-column-actions-width,
|
|
187
|
-
max-width: var(--mat-column-actions-max-width,
|
|
209
|
+
width: var(--mat-column-actions-width, 48px); // 48px = a button width
|
|
210
|
+
max-width: var(--mat-column-actions-max-width, 48px); // 48px = a button width
|
|
188
211
|
padding-inline-start: 0 !important; // No start padding
|
|
189
|
-
padding-
|
|
212
|
+
padding-inline-end: 0; // No end padding
|
|
213
|
+
padding-right: unset !important; // use padding-inline-start instead
|
|
214
|
+
padding-left: unset !important; // use padding-inline-end instead
|
|
215
|
+
color: unset; // Remove row color (let the button decide)
|
|
190
216
|
}
|
|
191
217
|
|
|
192
218
|
.mat-mdc-cell.computed mat-form-field,
|
|
219
|
+
.mat-mdc-cell-computed,
|
|
193
220
|
.mat-cell-computed,
|
|
194
221
|
.mat-mdc-cell ion-text.computed,
|
|
195
|
-
.mat-mdc-cell
|
|
196
|
-
|
|
197
|
-
color: var(--ion-color
|
|
222
|
+
.mat-mdc-cell ion-label.computed,{
|
|
223
|
+
--ion-text-color: var(--app-form-color-computed, #{$app-form-color-computed}) !important;
|
|
224
|
+
color: var(--ion-text-color) !important;
|
|
198
225
|
font-style: italic;
|
|
199
226
|
}
|
|
200
227
|
}
|
|
@@ -202,42 +229,52 @@
|
|
|
202
229
|
.mat-mdc-row {
|
|
203
230
|
|
|
204
231
|
// Disabled row
|
|
232
|
+
&.mat-mdc-row-disabled *,
|
|
205
233
|
&.mat-row-disabled * {
|
|
206
|
-
color: inherit;
|
|
207
234
|
cursor: pointer;
|
|
208
235
|
// Necessary to focus on <mat-form-field> when row is readonly since angular 15 migrating
|
|
209
236
|
pointer-events: unset !important;
|
|
210
237
|
}
|
|
211
238
|
|
|
239
|
+
&.mat-mdc-row-disabled:hover,
|
|
212
240
|
&.mat-row-disabled:hover {
|
|
213
241
|
background-color: var(--ion-color-light);
|
|
214
242
|
|
|
215
|
-
.mat-cell {
|
|
243
|
+
.mat-mdc-cell {
|
|
216
244
|
color: var(--ion-color-light-contrast);
|
|
217
245
|
}
|
|
218
246
|
}
|
|
219
247
|
|
|
248
|
+
&.mat-mdc-row-selected,
|
|
220
249
|
&.mat-row-selected {
|
|
221
|
-
|
|
250
|
+
--ion-text-color: var(--app-table-row-item-selected-text-color) !important;
|
|
251
|
+
--ion-background-color: var(--app-table-row-item-selected-background-color) !important;;
|
|
252
|
+
|
|
253
|
+
--mdc-filled-text-field-input-text-color: var(--ion-text-color);
|
|
254
|
+
--mat-select-enabled-trigger-text-color: var(--ion-text-color);
|
|
255
|
+
--mat-select-disabled-trigger-text-color: var(--ion-text-color);
|
|
256
|
+
--mdc-form-field-label-text-color: var(--ion-text-color);
|
|
257
|
+
|
|
258
|
+
background-color: var(--ion-background-color);
|
|
222
259
|
|
|
223
|
-
&:not(.mat-row-error):hover {
|
|
224
|
-
background-color: var(--ion-color
|
|
260
|
+
&:not(.mat-mdc-row-error):not(.mat-row-error):hover {
|
|
261
|
+
background-color: var(--ion-background-color);
|
|
225
262
|
}
|
|
226
263
|
|
|
227
|
-
.mat-cell {
|
|
228
|
-
color: var(--ion-color
|
|
264
|
+
.mat-mdc-cell {
|
|
265
|
+
color: var(--ion-text-color);
|
|
229
266
|
}
|
|
230
267
|
|
|
268
|
+
&.mat-mdc-row-disabled:hover,
|
|
231
269
|
&.mat-row-disabled:hover {
|
|
232
|
-
background-color: var(--ion-color
|
|
270
|
+
background-color: var(--ion-background-color) !important;
|
|
233
271
|
}
|
|
234
272
|
|
|
235
273
|
}
|
|
236
274
|
|
|
237
275
|
// Dirty row
|
|
276
|
+
&.mat-mdc-row-dirty,
|
|
238
277
|
&.mat-row-dirty {
|
|
239
|
-
//border-left: 3px solid var(--ion-color-primary-tint);
|
|
240
|
-
|
|
241
278
|
// Resize the dirty icon (in the 'actions' column)
|
|
242
279
|
.mat-column-actions mat-icon.dirty-icon,
|
|
243
280
|
.mat-column-actions ion-icon.dirty-icon {
|
|
@@ -246,10 +283,11 @@
|
|
|
246
283
|
}
|
|
247
284
|
|
|
248
285
|
// Error row
|
|
286
|
+
&.mat-mdc-row-error,
|
|
249
287
|
&.mat-row-error {
|
|
250
|
-
//border-left: 3px solid var(--ion-color-danger-tint) !important;
|
|
251
288
|
background-color: var(--ion-color-warning-tint);
|
|
252
289
|
|
|
290
|
+
&.mat-mdc-row-disabled:hover,
|
|
253
291
|
&.mat-row-disabled:hover {
|
|
254
292
|
background-color: var(--ion-color-warning-shade) !important;
|
|
255
293
|
}
|
|
@@ -267,30 +305,30 @@
|
|
|
267
305
|
}
|
|
268
306
|
}
|
|
269
307
|
|
|
270
|
-
//.mdc-line-ripple--deactivating {
|
|
271
|
-
// display: none;
|
|
272
|
-
//}
|
|
273
|
-
|
|
274
|
-
mat-mdc-form-field,
|
|
275
308
|
mat-autocomplete-field,
|
|
276
|
-
app-form-field
|
|
309
|
+
app-form-field {
|
|
310
|
+
width: 100%;
|
|
311
|
+
}
|
|
312
|
+
|
|
277
313
|
.mat-mdc-form-field {
|
|
278
314
|
width: 100%;
|
|
315
|
+
|
|
279
316
|
--mat-form-field-container-text-size: 14px;
|
|
280
317
|
--mdc-filled-text-field-label-text-size: var(--mat-form-field-container-text-size);
|
|
318
|
+
--mat-select-trigger-text-size: var(--mat-form-field-container-text-size);
|
|
281
319
|
--mat-mdc-form-field-height: calc(var(--mat-row-height) - 2px);
|
|
282
|
-
|
|
283
|
-
// use -- active- boder : 0;
|
|
320
|
+
--mdc-outlined-text-field-outline-width: 0;
|
|
284
321
|
height: var(--mat-mdc-form-field-height);
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
.mat-mdc-form-field {
|
|
288
|
-
padding-top: 1px;
|
|
289
322
|
|
|
290
323
|
.mat-mdc-form-field-label {
|
|
291
324
|
width: 100%;
|
|
292
325
|
}
|
|
293
326
|
|
|
327
|
+
&.mat-form-field-appearance-fill {
|
|
328
|
+
height: var(--mat-mdc-form-field-height);
|
|
329
|
+
padding-top: 1px; // suppress a redundant line in table
|
|
330
|
+
}
|
|
331
|
+
|
|
294
332
|
.mat-mdc-text-field-wrapper {
|
|
295
333
|
max-height: var(--mat-mdc-form-field-height);
|
|
296
334
|
}
|
|
@@ -350,11 +388,11 @@
|
|
|
350
388
|
// Suffix
|
|
351
389
|
.mat-mdc-form-field-icon-suffix {
|
|
352
390
|
white-space: nowrap;
|
|
391
|
+
padding: 0;
|
|
353
392
|
|
|
354
393
|
.mat-mdc-icon-button {
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
padding: 2px 0 0 0;
|
|
394
|
+
--mdc-icon-button-state-layer-size: 24px;
|
|
395
|
+
padding: 0;
|
|
358
396
|
|
|
359
397
|
ion-icon, .mat-icon {
|
|
360
398
|
$font-size: calculateRem(18px);
|
|
@@ -363,7 +401,7 @@
|
|
|
363
401
|
}
|
|
364
402
|
|
|
365
403
|
.mat-mdc-button-touch-target {
|
|
366
|
-
width:
|
|
404
|
+
width: var(--mdc-icon-button-state-layer-size);
|
|
367
405
|
}
|
|
368
406
|
}
|
|
369
407
|
|
|
@@ -381,12 +419,6 @@
|
|
|
381
419
|
}
|
|
382
420
|
}
|
|
383
421
|
|
|
384
|
-
.mat-mdc-form-field-subscript-wrapper {
|
|
385
|
-
margin-top: -1.5rem;
|
|
386
|
-
text-align: right;
|
|
387
|
-
pointer-events: none;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
422
|
// FIXME: in table, required indicator is only inside the float label
|
|
391
423
|
.mat-mdc-floating-label {
|
|
392
424
|
display: none;
|
|
@@ -398,15 +430,19 @@
|
|
|
398
430
|
color: rgba(0, 0, 0, 0.6) !important;
|
|
399
431
|
-webkit-text-fill-color: rgba(0, 0, 0, 0.6) !important;
|
|
400
432
|
}
|
|
401
|
-
|
|
402
|
-
mat-error {
|
|
403
|
-
//font-size: ;
|
|
404
|
-
//--mdc-typography-caption-font-size: 10px;
|
|
405
|
-
font-size: 10px;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
433
|
} // .mat-mdc-form-field
|
|
409
434
|
|
|
435
|
+
.mat-mdc-form-field-subscript-wrapper,
|
|
436
|
+
.mat-mdc-form-field-subscript-wrapper.mat-mdc-form-field-bottom-align {
|
|
437
|
+
margin-top: -1.5rem;
|
|
438
|
+
text-align: right;
|
|
439
|
+
pointer-events: none;
|
|
440
|
+
|
|
441
|
+
mat-error,
|
|
442
|
+
mat-hint {
|
|
443
|
+
font-size: var(--mat-form-field-subscript-text-size);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
410
446
|
|
|
411
447
|
.mat-boolean-field-radio.mat-mdc-form-field-appearance-fill .mat-mdc-form-field-infix,
|
|
412
448
|
.mat-boolean-field-radio .mat-mdc-form-field-infix {
|
|
@@ -426,7 +462,28 @@
|
|
|
426
462
|
padding-top: 0.4em;
|
|
427
463
|
}
|
|
428
464
|
|
|
429
|
-
|
|
465
|
+
mat-date-time-field {
|
|
466
|
+
height: calc(var(--mat-row-height) - 2px);
|
|
467
|
+
ion-col.day {
|
|
468
|
+
min-width: unset !important; // make sure column is resizable
|
|
469
|
+
}
|
|
470
|
+
ion-col.hour {
|
|
471
|
+
--max-width: var(--min-width) !important;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
mat-latlong-field {
|
|
476
|
+
height: calc(var(--mat-row-height) - 2px);
|
|
477
|
+
ion-col.text {
|
|
478
|
+
min-width: unset !important; // make sure column is resizable
|
|
479
|
+
}
|
|
480
|
+
ion-col.sign {
|
|
481
|
+
--min-width: 35px !important;
|
|
482
|
+
--max-width: 45px !important;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.mat-mdc-cell > .ion-text-nowrap {
|
|
430
487
|
width: 100%;
|
|
431
488
|
overflow: hidden;
|
|
432
489
|
text-overflow: ellipsis;
|
|
@@ -434,17 +491,17 @@
|
|
|
434
491
|
}
|
|
435
492
|
|
|
436
493
|
/* Show when hover row */
|
|
437
|
-
.mat-cell .visible-hover-row {
|
|
494
|
+
.mat-mdc-cell .visible-hover-row {
|
|
438
495
|
visibility: hidden;
|
|
439
496
|
}
|
|
440
497
|
|
|
441
498
|
&:hover {
|
|
442
|
-
.mat-cell .visible-hover-row {
|
|
499
|
+
.mat-mdc-cell .visible-hover-row {
|
|
443
500
|
visibility: visible;
|
|
444
501
|
}
|
|
445
502
|
}
|
|
446
503
|
|
|
447
|
-
.mat-cell .avatar {
|
|
504
|
+
.mat-mdc-cell .avatar {
|
|
448
505
|
color: #d9d9d9;
|
|
449
506
|
background-color: #f8f8f8;
|
|
450
507
|
border: solid 1px #d9d9d9;
|
|
@@ -458,104 +515,41 @@
|
|
|
458
515
|
|
|
459
516
|
/* Special case to have small row */
|
|
460
517
|
&.compact .mat-mdc-row,
|
|
518
|
+
.mat-mdc-row.mat-mdc-row-small,
|
|
461
519
|
.mat-mdc-row.mat-row-small {
|
|
462
520
|
min-height: inherit;
|
|
463
521
|
--mat-row-height: 33px;
|
|
464
522
|
--mat-row-max-height: 33px;
|
|
465
523
|
}
|
|
466
524
|
|
|
467
|
-
.mat-mdc-row.mat-row-small .mat-cell,
|
|
468
|
-
.mat-mdc-row .mat-cell.mat-row-small
|
|
525
|
+
.mat-mdc-row.mat-mdc-row-small .mat-mdc-cell,
|
|
526
|
+
.mat-mdc-row .mat-mdc-cell.mat-mdc-row-small,
|
|
527
|
+
.mat-mdc-row.mat-row-small .mat-mdc-cell,
|
|
528
|
+
.mat-mdc-row .mat-mdc-cell.mat-row-small {
|
|
469
529
|
line-height: 15px;
|
|
470
530
|
@include font-size(12px);
|
|
471
531
|
}
|
|
472
532
|
|
|
473
|
-
.mat-row-height-auto
|
|
533
|
+
.mat-mdc-row-height-auto,
|
|
534
|
+
.mat-row-height-auto {
|
|
474
535
|
max-height: unset !important;
|
|
475
536
|
}
|
|
476
537
|
|
|
477
|
-
//
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
// .mat-mdc-row {
|
|
484
|
-
//
|
|
485
|
-
// ion-label {
|
|
486
|
-
// display: inline-block;
|
|
487
|
-
// margin-top: 5px;
|
|
488
|
-
// width: 100%;
|
|
489
|
-
// overflow: hidden;
|
|
490
|
-
// white-space: nowrap;
|
|
491
|
-
// text-overflow: ellipsis;
|
|
492
|
-
// }
|
|
493
|
-
//
|
|
494
|
-
// .mat-badge-content {
|
|
495
|
-
// top: -2px;
|
|
496
|
-
// }
|
|
497
|
-
//
|
|
498
|
-
// .mat-icon-button {
|
|
499
|
-
// height: 32px;
|
|
500
|
-
// width: 32px;
|
|
501
|
-
// line-height: 32px;
|
|
502
|
-
// }
|
|
503
|
-
//
|
|
504
|
-
// .mat-mdc-form-field-underline {
|
|
505
|
-
// bottom: 6px !important;
|
|
506
|
-
// }
|
|
507
|
-
//
|
|
508
|
-
// .mat-mdc-form-field {
|
|
509
|
-
//
|
|
510
|
-
// .mat-mdc-form-field-wrapper {
|
|
511
|
-
// max-height: 32px;
|
|
512
|
-
//
|
|
513
|
-
// .mat-mdc-form-field-flex {
|
|
514
|
-
//
|
|
515
|
-
// .mat-mdc-form-field-infix {
|
|
516
|
-
// max-height: 32px;
|
|
517
|
-
// padding-top: 0;
|
|
518
|
-
// border-top-width: 10px;
|
|
519
|
-
//
|
|
520
|
-
// .mat-mdc-form-field-label-wrapper {
|
|
521
|
-
//
|
|
522
|
-
// .mat-mdc-form-field-label {
|
|
523
|
-
// top: 12px;
|
|
524
|
-
// }
|
|
525
|
-
// }
|
|
526
|
-
//
|
|
527
|
-
// .mat-checkbox {
|
|
528
|
-
// display: block;
|
|
529
|
-
// position: absolute;
|
|
530
|
-
// top: -2px;
|
|
531
|
-
//
|
|
532
|
-
// .mat-checkbox-ripple {
|
|
533
|
-
// height: 32px;
|
|
534
|
-
// width: 32px;
|
|
535
|
-
// left: calc(50% - 16px);
|
|
536
|
-
// top: calc(50% - 16px);
|
|
537
|
-
// }
|
|
538
|
-
// }
|
|
539
|
-
// }
|
|
540
|
-
// }
|
|
541
|
-
//
|
|
542
|
-
// // make click on mat-error transfer to input
|
|
543
|
-
// //.mat-mdc-form-field-subscript-wrapper {
|
|
544
|
-
// // pointer-events: none;
|
|
545
|
-
// //}
|
|
546
|
-
//
|
|
547
|
-
// mat-error {
|
|
548
|
-
// margin-top: 10px;
|
|
549
|
-
// }
|
|
550
|
-
// }
|
|
551
|
-
// }
|
|
552
|
-
// }
|
|
553
|
-
//}
|
|
538
|
+
// Restore border on last row
|
|
539
|
+
.mdc-data-table__row:last-child .mat-mdc-cell {
|
|
540
|
+
border-bottom-color: var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12)) !important;
|
|
541
|
+
border-bottom-width: var(--mat-table-row-item-outline-width, 1px) !important;
|
|
542
|
+
border-bottom-style: solid !important;
|
|
543
|
+
}
|
|
554
544
|
}
|
|
555
545
|
|
|
546
|
+
// Paginator
|
|
556
547
|
.mat-mdc-paginator {
|
|
557
|
-
--mat-paginator-container-size: #{$app-paginator-height};
|
|
558
|
-
--mat-paginator-container-background-color:
|
|
548
|
+
--mat-paginator-container-size: var(--app-paginator-height, #{$app-paginator-height});
|
|
549
|
+
--mat-paginator-container-background-color: var(--ion-toolbar-background, var(--ion-background-color, #{$ion-toolbar-background}));
|
|
550
|
+
--mat-paginator-container-text-tracking: normal;
|
|
551
|
+
--mat-paginator-container-text-color: var(--app-form-color, #{$app-form-color});
|
|
552
|
+
|
|
559
553
|
overflow-y: hidden;
|
|
560
554
|
|
|
561
555
|
.mat-mdc-paginator-page-size-select {
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
// --- Allow to hide headers
|
|
20
|
-
.mat-mdc-tab-group.mat-mdc-tab-group-header-hidden .mat-mdc-tab-header
|
|
20
|
+
.mat-mdc-tab-group.mat-mdc-tab-group-header-hidden .mat-mdc-tab-header,
|
|
21
|
+
.mat-mdc-tab-group.mat-tab-group-header-hidden .mat-mdc-tab-header {
|
|
21
22
|
display: none;
|
|
22
23
|
}
|
|
23
24
|
|
|
@@ -35,3 +36,17 @@
|
|
|
35
36
|
.mat-mdc-tab-group.mat-mdc-tab-disabled-visible .mat-mdc-tab-disabled {
|
|
36
37
|
display: inherit;
|
|
37
38
|
}
|
|
39
|
+
|
|
40
|
+
// --- Dark mode
|
|
41
|
+
.dark {
|
|
42
|
+
.mat-mdc-tab-group, .mat-mdc-tab-nav-bar {
|
|
43
|
+
--mat-tab-header-active-label-text-color: var(--ion-text-color, #000000de) !important;
|
|
44
|
+
--mat-tab-header-active-focus-label-text-color: var(--ion-text-color, #000000de) !important;
|
|
45
|
+
--mat-tab-header-active-hover-label-text-color: var(--ion-text-color, #000000de) !important;
|
|
46
|
+
--mat-tab-header-inactive-label-text-color: var(--app-form-color-disabled);
|
|
47
|
+
--mat-tab-header-inactive-hover-label-text-color: var(--ion-text-color, #000000de);
|
|
48
|
+
}
|
|
49
|
+
.mat-mdc-tab-label-container, .mat-mdc-tab-link-container {
|
|
50
|
+
--mat-tab-header-divider-color: var(--ion-border-color, rgba(0,0,0,.12)) !important;
|
|
51
|
+
}
|
|
52
|
+
}
|
package/src/theme/_theme.scss
CHANGED
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/** Inject all CSS Variables **/
|
|
2
|
+
html {
|
|
3
|
+
@include css-variables-to-root();
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
html.dark {
|
|
7
|
+
--ion-color-primary: #428cff;
|
|
8
|
+
--ion-color-primary-rgb: 66, 140, 255;
|
|
9
|
+
--ion-color-primary-contrast: #ffffff;
|
|
10
|
+
--ion-color-primary-contrast-rgb: 255, 255, 255;
|
|
11
|
+
--ion-color-primary-shade: #3a7be0;
|
|
12
|
+
--ion-color-primary-tint: #5598ff;
|
|
13
|
+
|
|
14
|
+
--ion-color-secondary: #75C4FD;
|
|
15
|
+
--ion-color-secondary-rgb: 117, 196, 253;
|
|
16
|
+
--ion-color-secondary-contrast: #ffffff;
|
|
17
|
+
--ion-color-secondary-contrast-rgb: 255, 255, 255;
|
|
18
|
+
--ion-color-secondary-shade: #46b0e0;
|
|
19
|
+
--ion-color-secondary-tint: #62ceff;
|
|
20
|
+
|
|
21
|
+
--ion-color-tertiary: #6a64ff;
|
|
22
|
+
--ion-color-tertiary-rgb: 106, 100, 255;
|
|
23
|
+
--ion-color-tertiary-contrast: #ffffff;
|
|
24
|
+
--ion-color-tertiary-contrast-rgb: 255, 255, 255;
|
|
25
|
+
--ion-color-tertiary-shade: #5d58e0;
|
|
26
|
+
--ion-color-tertiary-tint: #7974ff;
|
|
27
|
+
|
|
28
|
+
--ion-color-success: #2fdf75;
|
|
29
|
+
--ion-color-success-rgb: 47, 223, 117;
|
|
30
|
+
--ion-color-success-contrast: #000000;
|
|
31
|
+
--ion-color-success-contrast-rgb: 0, 0, 0;
|
|
32
|
+
--ion-color-success-shade: #29c467;
|
|
33
|
+
--ion-color-success-tint: #44e283;
|
|
34
|
+
|
|
35
|
+
--ion-color-warning: #FF6434;
|
|
36
|
+
--ion-color-warning-rgb: 255, 100, 52;
|
|
37
|
+
--ion-color-warning-contrast: #000000;
|
|
38
|
+
--ion-color-warning-contrast-rgb: 0, 0, 0;
|
|
39
|
+
--ion-color-warning-shade: #E0BB4B;
|
|
40
|
+
--ion-color-warning-tint: #FFDA48;
|
|
41
|
+
|
|
42
|
+
--ion-color-danger: #fa0021;
|
|
43
|
+
--ion-color-danger-rgb: 255, 0, 33;
|
|
44
|
+
--ion-color-danger-contrast: #ffffff;
|
|
45
|
+
--ion-color-danger-contrast-rgb: 255, 255, 255;
|
|
46
|
+
--ion-color-danger-shade: #e04055;
|
|
47
|
+
--ion-color-danger-tint: #ff5b71;
|
|
48
|
+
|
|
49
|
+
--ion-color-dark: #f4f5f8;
|
|
50
|
+
--ion-color-dark-rgb: 244, 245, 248;
|
|
51
|
+
--ion-color-dark-contrast: #000000;
|
|
52
|
+
--ion-color-dark-contrast-rgb: 0, 0, 0;
|
|
53
|
+
--ion-color-dark-shade: #d7d8da;
|
|
54
|
+
--ion-color-dark-tint: #f5f6f9;
|
|
55
|
+
|
|
56
|
+
--ion-color-medium: #989aa2;
|
|
57
|
+
--ion-color-medium-rgb: 152, 154, 162;
|
|
58
|
+
--ion-color-medium-contrast: #000000;
|
|
59
|
+
--ion-color-medium-contrast-rgb: 0, 0, 0;
|
|
60
|
+
--ion-color-medium-shade: #86888f;
|
|
61
|
+
--ion-color-medium-tint: #a2a4ab;
|
|
62
|
+
|
|
63
|
+
--ion-color-light: #222428;
|
|
64
|
+
--ion-color-light-rgb: 34, 36, 40;
|
|
65
|
+
--ion-color-light-contrast: #ffffff;
|
|
66
|
+
--ion-color-light-contrast-rgb: 255, 255, 255;
|
|
67
|
+
--ion-color-light-shade: #1e2023;
|
|
68
|
+
--ion-color-light-tint: #383a3e;
|
|
69
|
+
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/*
|
|
73
|
+
* iOS Dark Theme
|
|
74
|
+
* -------------------------------------------
|
|
75
|
+
*/
|
|
76
|
+
|
|
77
|
+
html.ios.dark {
|
|
78
|
+
--ion-background-color: #000000;
|
|
79
|
+
--ion-background-color-rgb: 0, 0, 0;
|
|
80
|
+
|
|
81
|
+
--ion-text-color: #ffffff;
|
|
82
|
+
--ion-text-color-rgb: 255, 255, 255;
|
|
83
|
+
|
|
84
|
+
--ion-color-step-50: #0d0d0d;
|
|
85
|
+
--ion-color-step-100: #1a1a1a;
|
|
86
|
+
--ion-color-step-150: #262626;
|
|
87
|
+
--ion-color-step-200: #333333;
|
|
88
|
+
--ion-color-step-250: #404040;
|
|
89
|
+
--ion-color-step-300: #4d4d4d;
|
|
90
|
+
--ion-color-step-350: #595959;
|
|
91
|
+
--ion-color-step-400: #666666;
|
|
92
|
+
--ion-color-step-450: #737373;
|
|
93
|
+
--ion-color-step-500: #808080;
|
|
94
|
+
--ion-color-step-550: #8c8c8c;
|
|
95
|
+
--ion-color-step-600: #999999;
|
|
96
|
+
--ion-color-step-650: #a6a6a6;
|
|
97
|
+
--ion-color-step-700: #b3b3b3;
|
|
98
|
+
--ion-color-step-750: #bfbfbf;
|
|
99
|
+
--ion-color-step-800: #cccccc;
|
|
100
|
+
--ion-color-step-850: #d9d9d9;
|
|
101
|
+
--ion-color-step-900: #e6e6e6;
|
|
102
|
+
--ion-color-step-950: #f2f2f2;
|
|
103
|
+
|
|
104
|
+
--ion-item-background: #000000;
|
|
105
|
+
|
|
106
|
+
--ion-card-background: #1c1c1d;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.ios ion-modal {
|
|
110
|
+
--ion-background-color: var(--ion-color-step-100);
|
|
111
|
+
--ion-toolbar-background: var(--ion-color-step-150);
|
|
112
|
+
--ion-toolbar-border-color: var(--ion-color-step-250);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/*
|
|
116
|
+
* Material Design Dark Theme
|
|
117
|
+
* -------------------------------------------
|
|
118
|
+
*/
|
|
119
|
+
|
|
120
|
+
html.md.dark {
|
|
121
|
+
|
|
122
|
+
--app-form-color-disabled: #949494;
|
|
123
|
+
--app-form-color: var(--ion-text-color);
|
|
124
|
+
|
|
125
|
+
--ion-background-color: #121212;
|
|
126
|
+
--ion-background-color-rgb: 18,18,18; // #{color-to-rgb-list(#121212)};
|
|
127
|
+
--ion-toolbar-background: #1f1f1f;
|
|
128
|
+
|
|
129
|
+
--ion-text-color: #ffffffde;
|
|
130
|
+
--ion-text-color-rgb: 255,255,255; // #{color-to-rgb-list(#ffffff)};
|
|
131
|
+
|
|
132
|
+
--ion-border-color: #222222;
|
|
133
|
+
|
|
134
|
+
--ion-color-step-50: #1e1e1e;
|
|
135
|
+
--ion-color-step-100: #2a2a2a;
|
|
136
|
+
--ion-color-step-150: #363636;
|
|
137
|
+
--ion-color-step-200: #414141;
|
|
138
|
+
--ion-color-step-250: #4d4d4d;
|
|
139
|
+
--ion-color-step-300: #595959;
|
|
140
|
+
--ion-color-step-350: #656565;
|
|
141
|
+
--ion-color-step-400: #717171;
|
|
142
|
+
--ion-color-step-450: #7d7d7d;
|
|
143
|
+
--ion-color-step-500: #898989;
|
|
144
|
+
--ion-color-step-550: #949494;
|
|
145
|
+
--ion-color-step-600: #a0a0a0;
|
|
146
|
+
--ion-color-step-650: #acacac;
|
|
147
|
+
--ion-color-step-700: #b8b8b8;
|
|
148
|
+
--ion-color-step-750: #c4c4c4;
|
|
149
|
+
--ion-color-step-800: #d0d0d0;
|
|
150
|
+
--ion-color-step-850: #dbdbdb;
|
|
151
|
+
--ion-color-step-900: #e7e7e7;
|
|
152
|
+
--ion-color-step-950: #f3f3f3;
|
|
153
|
+
|
|
154
|
+
--ion-item-background: #1e1e1e;
|
|
155
|
+
|
|
156
|
+
--ion-tab-bar-background: #1f1f1f;
|
|
157
|
+
|
|
158
|
+
--ion-card-background: #1e1e1e;
|
|
159
|
+
|
|
160
|
+
ion-menu ion-content {
|
|
161
|
+
--background: transparent;
|
|
162
|
+
--background-color: var(--ion-background-color) !important;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
//.mat-mdc-table {
|
|
166
|
+
// --app-table-row-item-selected-background-color: var(--ion-color-accent);
|
|
167
|
+
// --app-table-row-item-selected-text-color: var(--ion-color-accent-contrast);
|
|
168
|
+
//}
|
|
169
|
+
}
|
|
170
|
+
|