new-front-common-library 18.2.0 → 18.2.2

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.
Files changed (243) hide show
  1. package/README.md +28 -28
  2. package/assets/css/_dark-theme.scss +243 -243
  3. package/assets/css/_flex.scss +55 -55
  4. package/assets/css/_global.scss +428 -428
  5. package/assets/css/_light-theme.scss +221 -221
  6. package/assets/css/_mat-palettes.scss +102 -102
  7. package/assets/css/_themes.scss +55 -55
  8. package/assets/css/material/_mdc-dark-theme.scss +265 -265
  9. package/assets/css/material/_mdc-light-theme.scss +264 -264
  10. package/assets/css/material/_mdc.scss +408 -408
  11. package/assets/i18n/front-common/de.json +30 -30
  12. package/assets/i18n/front-common/en.json +30 -30
  13. package/assets/i18n/front-common/fr.json +30 -30
  14. package/esm2022/lib/util/array.service.mjs +1 -1
  15. package/esm2022/lib/util/component/header/advanced-search/advanced-search.component.mjs +3 -3
  16. package/esm2022/lib/util/component/header/advanced-search/contract-rapid-search/contract-rapid-search.component.mjs +3 -3
  17. package/esm2022/lib/util/component/header/advanced-search/deal-rapid-search/deal-rapid-search.component.mjs +3 -3
  18. package/esm2022/lib/util/component/header/advanced-search/invoice-rapid-search/invoice-rapid-search.component.mjs +3 -3
  19. package/esm2022/lib/util/component/header/advanced-search/product-rapid-search/product-rapid-search.component.mjs +3 -3
  20. package/esm2022/lib/util/component/header/advanced-search/purchase-order-rapid-search/purchase-order-rapid-search.component.mjs +3 -3
  21. package/esm2022/lib/util/component/header/advanced-search/royalty-contract-rapid-search/royalty-contract-rapid-search.component.mjs +3 -3
  22. package/esm2022/lib/util/component/header/advanced-search/royalty-count-rapid-search/royalty-count-rapid-search.component.mjs +3 -3
  23. package/esm2022/lib/util/component/header/advanced-search/royalty-invoice-rapid-search/royalty-invoice-rapid-search.component.mjs +3 -3
  24. package/esm2022/lib/util/component/header/advanced-search/third-party-rapid-search/third-party-rapid-search.component.mjs +3 -3
  25. package/esm2022/lib/util/component/header/advanced-search/work-record-rapid-search/work-record-rapid-search.component.mjs +3 -3
  26. package/esm2022/lib/util/component/header/advanced-search/work-version-rapid-search/work-version-rapid-search.component.mjs +3 -3
  27. package/esm2022/lib/util/component/header/header.component.mjs +3 -3
  28. package/esm2022/lib/util/component/header/history/history.component.mjs +3 -3
  29. package/esm2022/lib/util/component/header/menu/menu.component.mjs +3 -3
  30. package/esm2022/lib/util/component/header/menu/menu.const.mjs +8 -1
  31. package/esm2022/lib/util/component/header/menu/menu.model.mjs +1 -1
  32. package/esm2022/lib/util/component/header/personal-notification/personal-notification.component.mjs +20 -8
  33. package/esm2022/lib/util/component/header/settings/settings.component.mjs +3 -3
  34. package/esm2022/lib/util/component/notification/notification-bar.component.mjs +3 -3
  35. package/esm2022/lib/util/component/overlay/overlay.component.mjs +3 -3
  36. package/esm2022/lib/util/component/overlay/overlay.service.mjs +1 -1
  37. package/esm2022/lib/util/component/popup/popup-login/popup-login.component.mjs +3 -3
  38. package/esm2022/lib/util/component/sub-header/sub-header.component.mjs +3 -3
  39. package/esm2022/lib/util/config.mjs +1 -1
  40. package/esm2022/lib/util/date/PeriodModel.mjs +1 -1
  41. package/esm2022/lib/util/date/date-format-constants.mjs +1 -1
  42. package/esm2022/lib/util/date/date.util.mjs +1 -1
  43. package/esm2022/lib/util/decorators/theme.decorator.mjs +1 -1
  44. package/esm2022/lib/util/decorators/user.decorator.mjs +1 -1
  45. package/esm2022/lib/util/directives/my-number-formatter-directive.mjs +1 -1
  46. package/esm2022/lib/util/directives/show-if-truncated.directive.mjs +1 -1
  47. package/esm2022/lib/util/enums/family.enum.mjs +1 -1
  48. package/esm2022/lib/util/enums/history-item-type.enum.mjs +1 -1
  49. package/esm2022/lib/util/enums/notification-classification.enum.mjs +1 -1
  50. package/esm2022/lib/util/enums/personal-notification-priority.enum.mjs +1 -1
  51. package/esm2022/lib/util/enums/rapid-search-item-type.enum.mjs +1 -1
  52. package/esm2022/lib/util/enums/status-color.enum.mjs +1 -1
  53. package/esm2022/lib/util/event/header/header-events.service.mjs +1 -1
  54. package/esm2022/lib/util/event/storage/local-storage-events.service.mjs +1 -1
  55. package/esm2022/lib/util/event/storage/session-storage-events.service.mjs +1 -1
  56. package/esm2022/lib/util/http/http-params.builder.mjs +1 -1
  57. package/esm2022/lib/util/i18n/de.mjs +2 -1
  58. package/esm2022/lib/util/i18n/en.mjs +2 -1
  59. package/esm2022/lib/util/i18n/fr.mjs +2 -1
  60. package/esm2022/lib/util/i18n/multi-translate-http-loader.mjs +1 -1
  61. package/esm2022/lib/util/interfaces/permissions.interface.mjs +1 -1
  62. package/esm2022/lib/util/models/any-line.model.mjs +1 -1
  63. package/esm2022/lib/util/models/audio-content.model.mjs +1 -1
  64. package/esm2022/lib/util/models/authPermission.model.mjs +1 -1
  65. package/esm2022/lib/util/models/authUser.model.mjs +1 -1
  66. package/esm2022/lib/util/models/basic.model.mjs +1 -1
  67. package/esm2022/lib/util/models/box-set-item.model.mjs +1 -1
  68. package/esm2022/lib/util/models/commercial/deal-rapid-search-model.mjs +1 -1
  69. package/esm2022/lib/util/models/commercial/invoice-rapid-search-model.mjs +1 -1
  70. package/esm2022/lib/util/models/commercial/work-record-rapid-search-model.mjs +1 -1
  71. package/esm2022/lib/util/models/disc-program.model.mjs +1 -1
  72. package/esm2022/lib/util/models/disc.model.mjs +1 -1
  73. package/esm2022/lib/util/models/eventType.model.mjs +1 -1
  74. package/esm2022/lib/util/models/expenditure-commitment/purchase-order-file.model.mjs +1 -1
  75. package/esm2022/lib/util/models/expenditure-commitment/purchase-order-rapid-search.model.mjs +1 -1
  76. package/esm2022/lib/util/models/family.model.mjs +1 -1
  77. package/esm2022/lib/util/models/index.mjs +1 -1
  78. package/esm2022/lib/util/models/lang-line.model.mjs +1 -1
  79. package/esm2022/lib/util/models/legal/contract-rapid-search-model.mjs +1 -1
  80. package/esm2022/lib/util/models/legal/contract-work.model.mjs +1 -1
  81. package/esm2022/lib/util/models/legal/contract-work2.model.mjs +1 -1
  82. package/esm2022/lib/util/models/legal/type-status-rapid-search.model.mjs +1 -1
  83. package/esm2022/lib/util/models/link-routing-module.model.mjs +1 -1
  84. package/esm2022/lib/util/models/media-line.model.mjs +1 -1
  85. package/esm2022/lib/util/models/menu-language.model.mjs +1 -1
  86. package/esm2022/lib/util/models/notification.model.mjs +1 -1
  87. package/esm2022/lib/util/models/permission.model.mjs +1 -1
  88. package/esm2022/lib/util/models/personal-notification-campaign.model.mjs +1 -1
  89. package/esm2022/lib/util/models/personal-notification.model.mjs +1 -1
  90. package/esm2022/lib/util/models/product-box-set.model.mjs +1 -1
  91. package/esm2022/lib/util/models/product-disc-detail.model.mjs +1 -1
  92. package/esm2022/lib/util/models/product-disc.model.mjs +1 -1
  93. package/esm2022/lib/util/models/product-division.model.mjs +1 -1
  94. package/esm2022/lib/util/models/product-type.model.mjs +1 -1
  95. package/esm2022/lib/util/models/product.model.mjs +1 -1
  96. package/esm2022/lib/util/models/program.model.mjs +1 -1
  97. package/esm2022/lib/util/models/purchase-order/purchase-order.model.mjs +1 -1
  98. package/esm2022/lib/util/models/rapid-search-all-document.model.mjs +1 -1
  99. package/esm2022/lib/util/models/referential/WorkVersionArticleDto.mjs +1 -1
  100. package/esm2022/lib/util/models/referential/adress-type.model.mjs +1 -1
  101. package/esm2022/lib/util/models/referential/adress.model.mjs +1 -1
  102. package/esm2022/lib/util/models/referential/attached-file.model.mjs +1 -1
  103. package/esm2022/lib/util/models/referential/bank-account.model.mjs +1 -1
  104. package/esm2022/lib/util/models/referential/bank-accounts.model.mjs +1 -1
  105. package/esm2022/lib/util/models/referential/basic-hierarchy.model.mjs +1 -1
  106. package/esm2022/lib/util/models/referential/broadcast-list-item.model.mjs +1 -1
  107. package/esm2022/lib/util/models/referential/color.model.mjs +1 -1
  108. package/esm2022/lib/util/models/referential/company.model.mjs +1 -1
  109. package/esm2022/lib/util/models/referential/content-type.model.mjs +1 -1
  110. package/esm2022/lib/util/models/referential/content.model.mjs +1 -1
  111. package/esm2022/lib/util/models/referential/cost-center-criteria-values.model.mjs +1 -1
  112. package/esm2022/lib/util/models/referential/cost-center-criteria.model.mjs +1 -1
  113. package/esm2022/lib/util/models/referential/cost-center.model.mjs +1 -1
  114. package/esm2022/lib/util/models/referential/coutry.model.mjs +1 -1
  115. package/esm2022/lib/util/models/referential/currency.model.mjs +1 -1
  116. package/esm2022/lib/util/models/referential/editorial-content.model.mjs +1 -1
  117. package/esm2022/lib/util/models/referential/fixing.model.mjs +1 -1
  118. package/esm2022/lib/util/models/referential/flat-media.model.mjs +1 -1
  119. package/esm2022/lib/util/models/referential/format-image.model.mjs +1 -1
  120. package/esm2022/lib/util/models/referential/format-type.model.mjs +1 -1
  121. package/esm2022/lib/util/models/referential/format.model.mjs +1 -1
  122. package/esm2022/lib/util/models/referential/fsk-index.model.mjs +1 -1
  123. package/esm2022/lib/util/models/referential/fsk.model.mjs +1 -1
  124. package/esm2022/lib/util/models/referential/function.model.mjs +1 -1
  125. package/esm2022/lib/util/models/referential/genre.model.mjs +1 -1
  126. package/esm2022/lib/util/models/referential/invoice-product-type.model.mjs +1 -1
  127. package/esm2022/lib/util/models/referential/keywords.model.mjs +1 -1
  128. package/esm2022/lib/util/models/referential/language.model.mjs +1 -1
  129. package/esm2022/lib/util/models/referential/media-filter.model.mjs +1 -1
  130. package/esm2022/lib/util/models/referential/media.model.mjs +1 -1
  131. package/esm2022/lib/util/models/referential/module.model.mjs +1 -1
  132. package/esm2022/lib/util/models/referential/parameter.model.mjs +1 -1
  133. package/esm2022/lib/util/models/referential/participant.model.mjs +1 -1
  134. package/esm2022/lib/util/models/referential/person.model.mjs +1 -1
  135. package/esm2022/lib/util/models/referential/project-status.model.mjs +1 -1
  136. package/esm2022/lib/util/models/referential/quota.model.mjs +1 -1
  137. package/esm2022/lib/util/models/referential/referential-entity-state.model.mjs +1 -1
  138. package/esm2022/lib/util/models/referential/referential-value.model.mjs +1 -1
  139. package/esm2022/lib/util/models/referential/referentiel.model.mjs +1 -1
  140. package/esm2022/lib/util/models/referential/restriction.model.mjs +1 -1
  141. package/esm2022/lib/util/models/referential/sap-order.model.mjs +1 -1
  142. package/esm2022/lib/util/models/referential/service-error.model.mjs +1 -1
  143. package/esm2022/lib/util/models/referential/sound.model.mjs +1 -1
  144. package/esm2022/lib/util/models/referential/territories-languages.model.mjs +1 -1
  145. package/esm2022/lib/util/models/referential/territory-filter.model.mjs +1 -1
  146. package/esm2022/lib/util/models/referential/territory.model.mjs +1 -1
  147. package/esm2022/lib/util/models/referential/theme.model.mjs +1 -1
  148. package/esm2022/lib/util/models/referential/third-party-address-rapid-search.model.mjs +1 -1
  149. package/esm2022/lib/util/models/referential/third-party-creation-request.model.mjs +1 -1
  150. package/esm2022/lib/util/models/referential/third-party-module.model.mjs +1 -1
  151. package/esm2022/lib/util/models/referential/third-party-rapid-search.model.mjs +1 -1
  152. package/esm2022/lib/util/models/referential/third-party.model.mjs +1 -1
  153. package/esm2022/lib/util/models/referential/translated-value-model.mjs +1 -1
  154. package/esm2022/lib/util/models/referential/tva.model.mjs +1 -1
  155. package/esm2022/lib/util/models/referential/type-export.model.mjs +1 -1
  156. package/esm2022/lib/util/models/referential/type-tva-company-territory.model.mjs +1 -1
  157. package/esm2022/lib/util/models/referential/type-tva.model.mjs +1 -1
  158. package/esm2022/lib/util/models/referential/user-form.model.mjs +1 -1
  159. package/esm2022/lib/util/models/referential/work-addons-model.mjs +1 -1
  160. package/esm2022/lib/util/models/referential/work-appartenance.model.mjs +1 -1
  161. package/esm2022/lib/util/models/referential/work-genre.model.mjs +1 -1
  162. package/esm2022/lib/util/models/referential/work-language.model.mjs +1 -1
  163. package/esm2022/lib/util/models/referential/work-milo.model.mjs +1 -1
  164. package/esm2022/lib/util/models/referential/work-participant.model.mjs +1 -1
  165. package/esm2022/lib/util/models/referential/work-restrictions-model.mjs +1 -1
  166. package/esm2022/lib/util/models/referential/work-theme.model.mjs +1 -1
  167. package/esm2022/lib/util/models/referential/work-title.model.mjs +1 -1
  168. package/esm2022/lib/util/models/referential/work-version-origin.model.mjs +1 -1
  169. package/esm2022/lib/util/models/referential/work-version-rapid-search.model.mjs +1 -1
  170. package/esm2022/lib/util/models/referential/work-versions-used.model.mjs +1 -1
  171. package/esm2022/lib/util/models/referential/work-versions.model.mjs +1 -1
  172. package/esm2022/lib/util/models/referential/work-year-production.model.mjs +1 -1
  173. package/esm2022/lib/util/models/referential/work.model.mjs +1 -1
  174. package/esm2022/lib/util/models/referential/zone.model.mjs +1 -1
  175. package/esm2022/lib/util/models/referentiel.model.mjs +1 -1
  176. package/esm2022/lib/util/models/royalty/royalty-contract-rapid-search.model.mjs +1 -1
  177. package/esm2022/lib/util/models/royalty/royalty-count-rapid-search.model.mjs +1 -1
  178. package/esm2022/lib/util/models/royalty/royalty-invoice-rapid-search.model.mjs +1 -1
  179. package/esm2022/lib/util/models/search-response.model.mjs +1 -1
  180. package/esm2022/lib/util/models/section.model.mjs +1 -1
  181. package/esm2022/lib/util/models/select/options.model.mjs +1 -1
  182. package/esm2022/lib/util/models/select/select.model.mjs +1 -1
  183. package/esm2022/lib/util/models/subsidiary.model.mjs +1 -1
  184. package/esm2022/lib/util/models/subtitle-content.model.mjs +1 -1
  185. package/esm2022/lib/util/models/user-video.model.mjs +1 -1
  186. package/esm2022/lib/util/models/user.model.mjs +1 -1
  187. package/esm2022/lib/util/models/video/product-rapid-search.model.mjs +1 -1
  188. package/esm2022/lib/util/models/video/support-rapid-search.model.mjs +1 -1
  189. package/esm2022/lib/util/models/video-content.model.mjs +1 -1
  190. package/esm2022/lib/util/number.validator.mjs +1 -1
  191. package/esm2022/lib/util/paginator/custom-paginator-configuration.mjs +1 -1
  192. package/esm2022/lib/util/permissions/permissions.service.mjs +1 -1
  193. package/esm2022/lib/util/pipes/capitalizefirst.pipe.mjs +1 -1
  194. package/esm2022/lib/util/pipes/comma-separated-number.pipe.mjs +1 -1
  195. package/esm2022/lib/util/pipes/common-translate.pipe.mjs +1 -1
  196. package/esm2022/lib/util/pipes/display-html.pipe.mjs +1 -1
  197. package/esm2022/lib/util/pipes/display-null.pipe.mjs +1 -1
  198. package/esm2022/lib/util/pipes/format-currency.pipe.mjs +1 -1
  199. package/esm2022/lib/util/pipes/format-duration.pipe.mjs +1 -1
  200. package/esm2022/lib/util/pipes/format-number-input.pipe.mjs +1 -1
  201. package/esm2022/lib/util/pipes/local-date.pipe.mjs +1 -1
  202. package/esm2022/lib/util/pipes/my-number.pipe.mjs +1 -1
  203. package/esm2022/lib/util/pipes/notification-classification-icon.pipe.mjs +1 -1
  204. package/esm2022/lib/util/pipes/third-party-address-search.pipe.mjs +1 -1
  205. package/esm2022/lib/util/pipes/third-party-address.pipe.mjs +1 -1
  206. package/esm2022/lib/util/pipes/trim-string.pipe.mjs +1 -1
  207. package/esm2022/lib/util/regex/regex.service.mjs +1 -1
  208. package/esm2022/lib/util/services/api/commercial-api.service.mjs +1 -1
  209. package/esm2022/lib/util/services/api/common-api.service.mjs +1 -1
  210. package/esm2022/lib/util/services/api/legal-api.service.mjs +1 -1
  211. package/esm2022/lib/util/services/api/notification-api.service.mjs +5 -1
  212. package/esm2022/lib/util/services/api/video-api.service.mjs +1 -1
  213. package/esm2022/lib/util/services/auth/auth.service.mjs +1 -1
  214. package/esm2022/lib/util/services/elasticsearch/elasticsearch.service.mjs +1 -1
  215. package/esm2022/lib/util/services/elasticsearch/subsidiaries.service.mjs +1 -1
  216. package/esm2022/lib/util/services/form-action/form-actions-events.service.mjs +1 -1
  217. package/esm2022/lib/util/services/guard/auth.guard.mjs +1 -1
  218. package/esm2022/lib/util/services/guard/login.guard.mjs +1 -1
  219. package/esm2022/lib/util/services/history/history.service.mjs +1 -1
  220. package/esm2022/lib/util/services/interceptor/auth.interceptor.mjs +1 -1
  221. package/esm2022/lib/util/services/jwt-security/aes.service.mjs +1 -1
  222. package/esm2022/lib/util/services/jwt-security/interceptorhttp.service.mjs +1 -1
  223. package/esm2022/lib/util/services/jwt-security/jwt.helpher.mjs +1 -1
  224. package/esm2022/lib/util/services/notification/notification.service.mjs +8 -1
  225. package/esm2022/lib/util/services/storage/local-storage.service.mjs +1 -1
  226. package/esm2022/lib/util/services/storage/session-storage.service.mjs +1 -1
  227. package/esm2022/lib/util/services/translate-language/lang.service.mjs +1 -1
  228. package/esm2022/lib/util/services/user/user-subsidiary.service.mjs +1 -1
  229. package/esm2022/lib/util/sort.mjs +1 -1
  230. package/esm2022/lib/util/theme/theme-event.service.mjs +1 -1
  231. package/esm2022/lib/util/toaster/toaster-events.service.mjs +1 -1
  232. package/esm2022/lib/util/util.module.mjs +1 -1
  233. package/esm2022/public-api.mjs +1 -1
  234. package/fesm2022/new-front-common-library.mjs +79 -47
  235. package/fesm2022/new-front-common-library.mjs.map +1 -1
  236. package/lib/util/component/header/personal-notification/personal-notification.component.d.ts +6 -5
  237. package/lib/util/i18n/de.d.ts +1 -0
  238. package/lib/util/i18n/en.d.ts +1 -0
  239. package/lib/util/i18n/fr.d.ts +1 -0
  240. package/lib/util/models/personal-notification.model.d.ts +1 -0
  241. package/lib/util/services/api/notification-api.service.d.ts +1 -0
  242. package/lib/util/services/notification/notification.service.d.ts +1 -0
  243. package/package.json +1 -1
@@ -1,55 +1,55 @@
1
- @use '@angular/material' as mat;
2
-
3
- @include mat.core();
4
-
5
- //Fonts
6
- @import url('https://fonts.googleapis.com/css?family=Poppins');
7
- @import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro');
8
- @import url('https://fonts.googleapis.com/css?family=Roboto');
9
-
10
- //Imports
11
- @import "mat-palettes";
12
-
13
- // Define a light theme
14
- $mat-theme-ignore-duplication-warnings: true;
15
- $light-primary: mat.m2-define-palette($light-unity-palette);
16
- $light-accent: mat.m2-define-palette($light-unity-palette);
17
- $light-typography: mat.m2-define-typography-config(
18
- $font-family: '"Roboto","Source Sans Pro",Poppins',
19
- $button: mat.m2-define-typography-level(14px, 14px, 500, $letter-spacing: 0.25px)
20
- );
21
- $light-theme: mat.m2-define-light-theme((
22
- color: (
23
- primary: $light-primary,
24
- accent: $light-accent,
25
- ),
26
- typography: $light-typography
27
- ));
28
-
29
- // Define a dark theme
30
- $dark-primary: mat.m2-define-palette($dark-unity-palette);
31
- $dark-accent: mat.m2-define-palette($dark-unity-palette);
32
- $dark-theme: mat.m2-define-dark-theme((
33
- color: (
34
- primary: $dark-primary,
35
- accent: $dark-accent
36
- ),
37
- ));
38
-
39
- .dark-theme {
40
- @include mat.all-component-themes($dark-theme);
41
- }
42
-
43
- .light-theme {
44
- @include mat.all-component-themes($light-theme);
45
- }
46
-
47
- @include mat.all-component-themes($light-theme);
48
-
49
- .the-dense-zone {
50
- @include mat.form-field-density(-2);
51
- }
52
-
53
- @import "material/mdc";
54
- @import "global";
55
-
1
+ @use '@angular/material' as mat;
2
+
3
+ @include mat.core();
4
+
5
+ //Fonts
6
+ @import url('https://fonts.googleapis.com/css?family=Poppins');
7
+ @import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro');
8
+ @import url('https://fonts.googleapis.com/css?family=Roboto');
9
+
10
+ //Imports
11
+ @import "mat-palettes";
12
+
13
+ // Define a light theme
14
+ $mat-theme-ignore-duplication-warnings: true;
15
+ $light-primary: mat.m2-define-palette($light-unity-palette);
16
+ $light-accent: mat.m2-define-palette($light-unity-palette);
17
+ $light-typography: mat.m2-define-typography-config(
18
+ $font-family: '"Roboto","Source Sans Pro",Poppins',
19
+ $button: mat.m2-define-typography-level(14px, 14px, 500, $letter-spacing: 0.25px)
20
+ );
21
+ $light-theme: mat.m2-define-light-theme((
22
+ color: (
23
+ primary: $light-primary,
24
+ accent: $light-accent,
25
+ ),
26
+ typography: $light-typography
27
+ ));
28
+
29
+ // Define a dark theme
30
+ $dark-primary: mat.m2-define-palette($dark-unity-palette);
31
+ $dark-accent: mat.m2-define-palette($dark-unity-palette);
32
+ $dark-theme: mat.m2-define-dark-theme((
33
+ color: (
34
+ primary: $dark-primary,
35
+ accent: $dark-accent
36
+ ),
37
+ ));
38
+
39
+ .dark-theme {
40
+ @include mat.all-component-themes($dark-theme);
41
+ }
42
+
43
+ .light-theme {
44
+ @include mat.all-component-themes($light-theme);
45
+ }
46
+
47
+ @include mat.all-component-themes($light-theme);
48
+
49
+ .the-dense-zone {
50
+ @include mat.form-field-density(-2);
51
+ }
52
+
53
+ @import "material/mdc";
54
+ @import "global";
55
+
@@ -1,265 +1,265 @@
1
- @import "../mat-palettes";
2
-
3
- .dark-theme {
4
-
5
- // MAT SELECT
6
- .mat-mdc-select {
7
- color: $gray-light;
8
- }
9
-
10
- .mat-mdc-select-panel {
11
- background: $background-lvl2;
12
- }
13
-
14
-
15
- // END MAT SELECT
16
- // MAT OPTION
17
- .mat-mdc-option {
18
- color: $gray-background-lightest;
19
- }
20
-
21
- // END MAT OPTION
22
-
23
- // MAT MENU
24
- .mat-mdc-menu-item, .mat-mdc-menu-item .mat-icon {
25
- color: $gray-background-lightest !important;
26
- }
27
-
28
- .mat-mdc-menu-panel {
29
- background: $background-lvl2 !important
30
- }
31
-
32
- // END MAT MENU
33
-
34
- // MAT LABEL
35
- mat-label {
36
- color: $gray-primary !important;
37
- font-weight: bold;
38
- }
39
- .mat-mdc-floating-label {
40
- color: $gray-background-lightest !important;
41
- font-weight: bold;
42
- }
43
-
44
- // END MAT LABEL
45
-
46
- // PAGINATOR
47
- .mat-mdc-paginator {
48
- background-color: $background-lvl3;
49
- }
50
-
51
- .mat-mdc-paginator-container {
52
- background-color: $background-lvl3;
53
- color: $gray-background-lightest;
54
- }
55
-
56
- .mat-mdc-paginator-icon {
57
- fill: $gray-background-lightest;
58
- }
59
-
60
- //END PAGINATOR
61
-
62
- // FORM FIELD
63
- .mat-mdc-text-field-wrapper {
64
- background: $background-lvl3;
65
- border-radius: 4px;
66
- }
67
- .mdc-notched-outline > * {
68
- border-color: $dark-border-color;
69
- }
70
- .mdc-text-field--focused .mdc-notched-outline > * {
71
- border-color: $gray-light;
72
- }
73
-
74
- .mat-mdc-checkbox .mdc-form-field {
75
- -webkit-font-smoothing: initial;
76
- }
77
- // END FORM FIELD
78
-
79
- // TABLE
80
- .mat-mdc-header-cell, .mat-mdc-header-cell .mat-mdc-floating-label {
81
- color: $gray-background-lightest;
82
- font-weight: bold;
83
- }
84
-
85
- .mat-mdc-header-cell mat-label {
86
- color: $gray-strong !important;
87
- }
88
-
89
-
90
- mat-row:hover {
91
- background-color: adjust-color($background-lvl2, $lightness: 10%);
92
- }
93
-
94
- .mat-mdc-table {
95
- background-color: $background-lvl2;
96
- border-color: $background-lvl3;
97
- border-bottom: 1px solid $background-lvl3;
98
- }
99
-
100
- .mat-mdc-header-row {
101
- background: $background-lvl3;
102
- }
103
-
104
- .mat-sort-header-arrow {
105
- color: $black-bluish;
106
- }
107
-
108
- .expandable-row .mat-mdc-cell {
109
- background: transparent;
110
- }
111
-
112
- .mat-mdc-row, row-drop {
113
- border-left-width: 1px;
114
- border-right-width: 1px;
115
- border-left-color: $background-lvl3;
116
- border-right-color: $background-lvl3;
117
- }
118
-
119
- .mat-mdc-row mat-label {
120
- background: $gray-strong;
121
- }
122
-
123
- .mat-mdc-row .mdc-text-field--filled {
124
- background: $background-lvl3;
125
- }
126
-
127
- .mat-mdc-row .mat-mdc-select {
128
- background: $background-lvl3;
129
- }
130
-
131
- .mat-mdc-cell {
132
- color: $gray-light;;
133
- }
134
-
135
- // END TABLE
136
-
137
- // CALENDAR
138
- .mat-calendar-body-selected {
139
- background: $blue-primary;
140
- border-color: $blue-primary;
141
- color: white;
142
- }
143
-
144
- .mat-calendar-body-today {
145
- background: rgb(0 0 0 / 40%) !important;
146
- border-color: rgb(0 0 0 / 40%) !important;
147
- color: white !important;
148
- }
149
-
150
- .mat-calendar-arrow {
151
- fill: $blue-primary;
152
- }
153
-
154
- .mat-datepicker-toggle,
155
- .mat-datepicker-content .mat-calendar-next-button,
156
- .mat-datepicker-content .mat-calendar-previous-button {
157
- color: $blue-primary;
158
- }
159
- .mat-datepicker-content .mat-mdc-button.mat-unthemed {
160
- --mdc-text-button-label-text-color: #{$blue-primary};
161
- }
162
-
163
- .mat-calendar-body-cell-content, .mat-date-range-input-separator {
164
- color: $gray-background-lightest;
165
- border-color: transparent;
166
- }
167
-
168
- // END CALENDAR
169
-
170
- // CHECKBOX
171
- --mdc-checkbox-selected-icon-color: #{$blue-primary};
172
- --mdc-checkbox-selected-hover-icon-color: #{$blue-primary};
173
- --mdc-checkbox-selected-focus-icon-color: #{$blue-primary};
174
- --mdc-checkbox-selected-pressed-icon-color: #{$blue-primary};
175
- --mdc-checkbox-unselected-hover-icon-color:#{$blue-primary};
176
- --mdc-checkbox-unselected-focus-icon-color:#{$blue-primary};
177
-
178
- // END CHECKBOX
179
-
180
- // POPUP
181
-
182
- .mat-mdc-dialog-container {
183
- --mdc-dialog-container-color: #{$background-lvl3};
184
- }
185
-
186
- .mat-mdc-dialog-container h1,
187
- .mat-mdc-dialog-container h2,
188
- .mat-mdc-dialog-container h3,
189
- .mat-mdc-dialog-container h4,
190
- .mat-mdc-dialog-container .text {
191
- color: $gray-background-lightest !important;
192
- }
193
-
194
- // END POPUP
195
-
196
- //RADIO BUTTON
197
- .mat-mdc-radio-button.mat-accent {
198
- --mdc-radio-unselected-hover-icon-color: #{$blue-primary};
199
- --mdc-radio-unselected-icon-color: #{$blue-primary};
200
- --mdc-radio-unselected-pressed-icon-color: #{$blue-primary};
201
- --mdc-radio-selected-focus-icon-color: #{$blue-primary};
202
- --mdc-radio-selected-hover-icon-color: #{$blue-primary};
203
- --mdc-radio-selected-icon-color: #{$blue-primary};
204
- --mdc-radio-selected-pressed-icon-color: #{$blue-primary};
205
- }
206
- //END RADIO BUTTON
207
-
208
- //TEXTAREA
209
- --mdc-filled-text-field-input-text-color: #{$gray-light};
210
- //END TEXTAREA
211
-
212
- //DRAWER
213
- .mat-drawer-container {
214
- background-color: $background-lvl3;
215
- }
216
-
217
- .mat-drawer-backdrop.mat-drawer-shown {
218
- background-color: rgb(0 0 0 / 70%) !important;
219
- }
220
-
221
- .mat-expansion-panel-header:hover, .mat-expansion-panel-header:focus {
222
- background-color: $background-lvl1 !important;
223
- }
224
- //END DRAWER
225
-
226
- //.mat-mdc-card {
227
- // padding: 5px !important;
228
- // background: $background-lvl3;
229
- // color: $gray-background-dark;
230
- //}
231
-
232
- //.mat-mdc-footer-cell {
233
- // font-style: italic;
234
- // font-weight: normal;
235
- // font-size: 14px;
236
- // background-color: $background-lvl2;
237
- // border-color: $background-lvl2;
238
- //}
239
-
240
- //mat-toolbar-row {
241
- // background-color: $background-lvl2;
242
- //}
243
-
244
- //.mat-footer-cell {
245
- // font-style: italic;
246
- // font-weight: normal;
247
- // font-size: 14px;
248
- // //color: $gray-light;
249
- // background-color: $background-lvl2;
250
- // border-color: $background-lvl2;
251
- //}
252
-
253
- //mat-footer-row {
254
- // background-color: $background-lvl2;
255
- //}
256
-
257
- //.mat-drag-panel {
258
- // color: $gray-background-lightest;
259
- //}
260
-
261
- //.mat-raised-button.mat-accent {
262
- // background: $gray-blue-primary !important;
263
- //}
264
-
265
- }
1
+ @import "../mat-palettes";
2
+
3
+ .dark-theme {
4
+
5
+ // MAT SELECT
6
+ .mat-mdc-select {
7
+ color: $gray-light;
8
+ }
9
+
10
+ .mat-mdc-select-panel {
11
+ background: $background-lvl2;
12
+ }
13
+
14
+
15
+ // END MAT SELECT
16
+ // MAT OPTION
17
+ .mat-mdc-option {
18
+ color: $gray-background-lightest;
19
+ }
20
+
21
+ // END MAT OPTION
22
+
23
+ // MAT MENU
24
+ .mat-mdc-menu-item, .mat-mdc-menu-item .mat-icon {
25
+ color: $gray-background-lightest !important;
26
+ }
27
+
28
+ .mat-mdc-menu-panel {
29
+ background: $background-lvl2 !important
30
+ }
31
+
32
+ // END MAT MENU
33
+
34
+ // MAT LABEL
35
+ mat-label {
36
+ color: $gray-primary !important;
37
+ font-weight: bold;
38
+ }
39
+ .mat-mdc-floating-label {
40
+ color: $gray-background-lightest !important;
41
+ font-weight: bold;
42
+ }
43
+
44
+ // END MAT LABEL
45
+
46
+ // PAGINATOR
47
+ .mat-mdc-paginator {
48
+ background-color: $background-lvl3;
49
+ }
50
+
51
+ .mat-mdc-paginator-container {
52
+ background-color: $background-lvl3;
53
+ color: $gray-background-lightest;
54
+ }
55
+
56
+ .mat-mdc-paginator-icon {
57
+ fill: $gray-background-lightest;
58
+ }
59
+
60
+ //END PAGINATOR
61
+
62
+ // FORM FIELD
63
+ .mat-mdc-text-field-wrapper {
64
+ background: $background-lvl3;
65
+ border-radius: 4px;
66
+ }
67
+ .mdc-notched-outline > * {
68
+ border-color: $dark-border-color;
69
+ }
70
+ .mdc-text-field--focused .mdc-notched-outline > * {
71
+ border-color: $gray-light;
72
+ }
73
+
74
+ .mat-mdc-checkbox .mdc-form-field {
75
+ -webkit-font-smoothing: initial;
76
+ }
77
+ // END FORM FIELD
78
+
79
+ // TABLE
80
+ .mat-mdc-header-cell, .mat-mdc-header-cell .mat-mdc-floating-label {
81
+ color: $gray-background-lightest;
82
+ font-weight: bold;
83
+ }
84
+
85
+ .mat-mdc-header-cell mat-label {
86
+ color: $gray-strong !important;
87
+ }
88
+
89
+
90
+ mat-row:hover {
91
+ background-color: adjust-color($background-lvl2, $lightness: 10%);
92
+ }
93
+
94
+ .mat-mdc-table {
95
+ background-color: $background-lvl2;
96
+ border-color: $background-lvl3;
97
+ border-bottom: 1px solid $background-lvl3;
98
+ }
99
+
100
+ .mat-mdc-header-row {
101
+ background: $background-lvl3;
102
+ }
103
+
104
+ .mat-sort-header-arrow {
105
+ color: $black-bluish;
106
+ }
107
+
108
+ .expandable-row .mat-mdc-cell {
109
+ background: transparent;
110
+ }
111
+
112
+ .mat-mdc-row, row-drop {
113
+ border-left-width: 1px;
114
+ border-right-width: 1px;
115
+ border-left-color: $background-lvl3;
116
+ border-right-color: $background-lvl3;
117
+ }
118
+
119
+ .mat-mdc-row mat-label {
120
+ background: $gray-strong;
121
+ }
122
+
123
+ .mat-mdc-row .mdc-text-field--filled {
124
+ background: $background-lvl3;
125
+ }
126
+
127
+ .mat-mdc-row .mat-mdc-select {
128
+ background: $background-lvl3;
129
+ }
130
+
131
+ .mat-mdc-cell {
132
+ color: $gray-light;;
133
+ }
134
+
135
+ // END TABLE
136
+
137
+ // CALENDAR
138
+ .mat-calendar-body-selected {
139
+ background: $blue-primary;
140
+ border-color: $blue-primary;
141
+ color: white;
142
+ }
143
+
144
+ .mat-calendar-body-today {
145
+ background: rgb(0 0 0 / 40%) !important;
146
+ border-color: rgb(0 0 0 / 40%) !important;
147
+ color: white !important;
148
+ }
149
+
150
+ .mat-calendar-arrow {
151
+ fill: $blue-primary;
152
+ }
153
+
154
+ .mat-datepicker-toggle,
155
+ .mat-datepicker-content .mat-calendar-next-button,
156
+ .mat-datepicker-content .mat-calendar-previous-button {
157
+ color: $blue-primary;
158
+ }
159
+ .mat-datepicker-content .mat-mdc-button.mat-unthemed {
160
+ --mdc-text-button-label-text-color: #{$blue-primary};
161
+ }
162
+
163
+ .mat-calendar-body-cell-content, .mat-date-range-input-separator {
164
+ color: $gray-background-lightest;
165
+ border-color: transparent;
166
+ }
167
+
168
+ // END CALENDAR
169
+
170
+ // CHECKBOX
171
+ --mdc-checkbox-selected-icon-color: #{$blue-primary};
172
+ --mdc-checkbox-selected-hover-icon-color: #{$blue-primary};
173
+ --mdc-checkbox-selected-focus-icon-color: #{$blue-primary};
174
+ --mdc-checkbox-selected-pressed-icon-color: #{$blue-primary};
175
+ --mdc-checkbox-unselected-hover-icon-color:#{$blue-primary};
176
+ --mdc-checkbox-unselected-focus-icon-color:#{$blue-primary};
177
+
178
+ // END CHECKBOX
179
+
180
+ // POPUP
181
+
182
+ .mat-mdc-dialog-container {
183
+ --mdc-dialog-container-color: #{$background-lvl3};
184
+ }
185
+
186
+ .mat-mdc-dialog-container h1,
187
+ .mat-mdc-dialog-container h2,
188
+ .mat-mdc-dialog-container h3,
189
+ .mat-mdc-dialog-container h4,
190
+ .mat-mdc-dialog-container .text {
191
+ color: $gray-background-lightest !important;
192
+ }
193
+
194
+ // END POPUP
195
+
196
+ //RADIO BUTTON
197
+ .mat-mdc-radio-button.mat-accent {
198
+ --mdc-radio-unselected-hover-icon-color: #{$blue-primary};
199
+ --mdc-radio-unselected-icon-color: #{$blue-primary};
200
+ --mdc-radio-unselected-pressed-icon-color: #{$blue-primary};
201
+ --mdc-radio-selected-focus-icon-color: #{$blue-primary};
202
+ --mdc-radio-selected-hover-icon-color: #{$blue-primary};
203
+ --mdc-radio-selected-icon-color: #{$blue-primary};
204
+ --mdc-radio-selected-pressed-icon-color: #{$blue-primary};
205
+ }
206
+ //END RADIO BUTTON
207
+
208
+ //TEXTAREA
209
+ --mdc-filled-text-field-input-text-color: #{$gray-light};
210
+ //END TEXTAREA
211
+
212
+ //DRAWER
213
+ .mat-drawer-container {
214
+ background-color: $background-lvl3;
215
+ }
216
+
217
+ .mat-drawer-backdrop.mat-drawer-shown {
218
+ background-color: rgb(0 0 0 / 70%) !important;
219
+ }
220
+
221
+ .mat-expansion-panel-header:hover, .mat-expansion-panel-header:focus {
222
+ background-color: $background-lvl1 !important;
223
+ }
224
+ //END DRAWER
225
+
226
+ //.mat-mdc-card {
227
+ // padding: 5px !important;
228
+ // background: $background-lvl3;
229
+ // color: $gray-background-dark;
230
+ //}
231
+
232
+ //.mat-mdc-footer-cell {
233
+ // font-style: italic;
234
+ // font-weight: normal;
235
+ // font-size: 14px;
236
+ // background-color: $background-lvl2;
237
+ // border-color: $background-lvl2;
238
+ //}
239
+
240
+ //mat-toolbar-row {
241
+ // background-color: $background-lvl2;
242
+ //}
243
+
244
+ //.mat-footer-cell {
245
+ // font-style: italic;
246
+ // font-weight: normal;
247
+ // font-size: 14px;
248
+ // //color: $gray-light;
249
+ // background-color: $background-lvl2;
250
+ // border-color: $background-lvl2;
251
+ //}
252
+
253
+ //mat-footer-row {
254
+ // background-color: $background-lvl2;
255
+ //}
256
+
257
+ //.mat-drag-panel {
258
+ // color: $gray-background-lightest;
259
+ //}
260
+
261
+ //.mat-raised-button.mat-accent {
262
+ // background: $gray-blue-primary !important;
263
+ //}
264
+
265
+ }