@softheon/armature 10.27.2 → 10.28.1

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 (190) hide show
  1. package/assets/styles/_utility.scss +340 -0
  2. package/assets/styles/_variables.scss +22 -0
  3. package/assets/styles/material-overrides.scss +5 -0
  4. package/assets/styles/sof-styles.scss +1023 -0
  5. package/bundles/softheon-armature.umd.js +196 -6
  6. package/bundles/softheon-armature.umd.js.map +1 -1
  7. package/bundles/softheon-armature.umd.min.js +2 -2
  8. package/bundles/softheon-armature.umd.min.js.map +1 -1
  9. package/esm2015/lib/alert-banner/alert-banner-api.js +1 -1
  10. package/esm2015/lib/alert-banner/alert-banner.module.js +1 -1
  11. package/esm2015/lib/alert-banner/components/alert-banner/alert-banner.component.js +3 -1
  12. package/esm2015/lib/alert-banner/models/alert-banner-config.js +1 -1
  13. package/esm2015/lib/alert-banner/models/alert-banner-context.js +1 -1
  14. package/esm2015/lib/alert-banner/models/constants.js +1 -1
  15. package/esm2015/lib/alert-banner/services/alert-banner.service.js +1 -1
  16. package/esm2015/lib/armature.module.js +4 -2
  17. package/esm2015/lib/base-components/base-component-api.js +7 -0
  18. package/esm2015/lib/base-components/base-component.module.js +36 -0
  19. package/esm2015/lib/base-components/sof-alert/sof-alert.component.js +47 -0
  20. package/esm2015/lib/base-components/sof-banner/sof-banner.component.js +44 -0
  21. package/esm2015/lib/base-components/sof-progress-bar/sof-progress-bar.component.js +61 -0
  22. package/esm2015/lib/core/client-generated/api/session.service.js +1 -1
  23. package/esm2015/lib/core/client-generated/configuration.js +1 -1
  24. package/esm2015/lib/core/client-generated/encoder.js +1 -1
  25. package/esm2015/lib/core/client-generated/model/applicationUserModel.js +1 -1
  26. package/esm2015/lib/core/client-generated/model/assertedUserModel.js +1 -1
  27. package/esm2015/lib/core/client-generated/model/brandingModel.js +1 -1
  28. package/esm2015/lib/core/client-generated/model/errorModel.js +1 -1
  29. package/esm2015/lib/core/client-generated/model/folderLink.js +1 -1
  30. package/esm2015/lib/core/client-generated/model/identityProfile.js +1 -1
  31. package/esm2015/lib/core/client-generated/model/models.js +1 -1
  32. package/esm2015/lib/core/client-generated/model/oAuthModel.js +1 -1
  33. package/esm2015/lib/core/client-generated/model/preferencesRow.js +1 -1
  34. package/esm2015/lib/core/client-generated/model/rolesRow.js +1 -1
  35. package/esm2015/lib/core/client-generated/model/sessionGetResponseModel.js +1 -1
  36. package/esm2015/lib/core/client-generated/model/sessionPostRequestModel.js +1 -1
  37. package/esm2015/lib/core/client-generated/model/sessionPostResponseModel.js +1 -1
  38. package/esm2015/lib/core/client-generated/model/sessionPutRequestModel.js +1 -1
  39. package/esm2015/lib/core/client-generated/model/sessionPutResponseModel.js +1 -1
  40. package/esm2015/lib/core/client-generated/model/sessionResponseModel.js +1 -1
  41. package/esm2015/lib/core/client-generated/model/settingsProfile.js +1 -1
  42. package/esm2015/lib/core/client-generated/model/themePaletteColorsModel.js +1 -1
  43. package/esm2015/lib/core/client-generated/model/themePaletteModel.js +1 -1
  44. package/esm2015/lib/core/client-generated/model/trackingModel.js +1 -1
  45. package/esm2015/lib/core/client-generated/model/validationRecordsRow.js +1 -1
  46. package/esm2015/lib/core/client-generated/variables.js +1 -1
  47. package/esm2015/lib/core/components/app-template/app-template.component.js +1 -1
  48. package/esm2015/lib/core/functions/guid.js +1 -1
  49. package/esm2015/lib/core/functions/naming-convention.js +1 -1
  50. package/esm2015/lib/core/initializer/abstract-startup-service.js +1 -1
  51. package/esm2015/lib/core/initializer/initializer.service.js +1 -1
  52. package/esm2015/lib/core/interceptors/armature-auth-token-append.interceptor.js +1 -1
  53. package/esm2015/lib/core/models/base-config.js +1 -1
  54. package/esm2015/lib/core/models/constants.js +1 -1
  55. package/esm2015/lib/core/models/data-store-config.js +1 -1
  56. package/esm2015/lib/core/models/header-config.js +1 -1
  57. package/esm2015/lib/core/models/http-verbs.js +1 -1
  58. package/esm2015/lib/core/models/navigation-config.js +1 -1
  59. package/esm2015/lib/core/models/oidc-auth-settings.js +1 -1
  60. package/esm2015/lib/core/models/route-path.js +1 -1
  61. package/esm2015/lib/core/models/session-config.js +1 -1
  62. package/esm2015/lib/core/models/styles.js +1 -1
  63. package/esm2015/lib/core/models/typed-session.js +1 -1
  64. package/esm2015/lib/core/models/user-entity-service-config.js +1 -1
  65. package/esm2015/lib/core/services/authorization.service.js +1 -1
  66. package/esm2015/lib/core/services/banner.service.js +1 -1
  67. package/esm2015/lib/core/services/base-config.service.js +1 -1
  68. package/esm2015/lib/core/services/custom-auth-config.service.js +1 -1
  69. package/esm2015/lib/core/services/default-config.service.js +1 -1
  70. package/esm2015/lib/core/services/session.service.js +1 -1
  71. package/esm2015/lib/core/services/user-entity.service.js +1 -1
  72. package/esm2015/lib/distributed-cache/client-generated/api/api.js +1 -1
  73. package/esm2015/lib/distributed-cache/client-generated/api/cache.service.js +1 -1
  74. package/esm2015/lib/distributed-cache/client-generated/configuration.js +1 -1
  75. package/esm2015/lib/distributed-cache/client-generated/encoder.js +1 -1
  76. package/esm2015/lib/distributed-cache/client-generated/model/cacheExpirationType.js +1 -1
  77. package/esm2015/lib/distributed-cache/client-generated/model/createCacheEntryRequestModel.js +1 -1
  78. package/esm2015/lib/distributed-cache/client-generated/model/models.js +1 -1
  79. package/esm2015/lib/distributed-cache/client-generated/model/retrieveCacheEntryResponseModel.js +1 -1
  80. package/esm2015/lib/distributed-cache/client-generated/model/updateCacheEntryRequestModel.js +1 -1
  81. package/esm2015/lib/distributed-cache/client-generated/variables.js +1 -1
  82. package/esm2015/lib/distributed-cache/distributed-cache-api.js +1 -1
  83. package/esm2015/lib/distributed-cache/distributed-cache.module.js +1 -1
  84. package/esm2015/lib/distributed-cache/models/constants.js +1 -1
  85. package/esm2015/lib/distributed-cache/models/policy-person.js +1 -1
  86. package/esm2015/lib/distributed-cache/services/server-cache.service.js +1 -1
  87. package/esm2015/lib/error/components/error-common/error-common.component.js +1 -1
  88. package/esm2015/lib/error/error-api.js +1 -1
  89. package/esm2015/lib/error/error.module.js +1 -1
  90. package/esm2015/lib/error/models/error-common-config.js +1 -1
  91. package/esm2015/lib/faq/components/faq/faq.component.js +1 -1
  92. package/esm2015/lib/faq/faq-api.js +1 -1
  93. package/esm2015/lib/faq/faq.module.js +1 -1
  94. package/esm2015/lib/faq/models/faq-config.js +1 -1
  95. package/esm2015/lib/faq/models/faq.js +1 -1
  96. package/esm2015/lib/footer/components/footer/footer.component.js +1 -1
  97. package/esm2015/lib/footer/components/site-map/site-map.component.js +1 -1
  98. package/esm2015/lib/footer/footer-api.js +1 -1
  99. package/esm2015/lib/footer/footer.module.js +1 -1
  100. package/esm2015/lib/footer/models/enum/site-map-direction.js +1 -1
  101. package/esm2015/lib/footer/models/footer-config.js +1 -1
  102. package/esm2015/lib/footer/models/site-map-models.js +1 -1
  103. package/esm2015/lib/forms/components/sof-address/sof-address.component.js +1 -1
  104. package/esm2015/lib/forms/directives/alphanumeric/alphanumeric.directive.js +1 -1
  105. package/esm2015/lib/forms/directives/letters-only/letters-only.directive.js +1 -1
  106. package/esm2015/lib/forms/directives/numbers-only/numbers-only.directive.js +1 -1
  107. package/esm2015/lib/forms/forms-api.js +1 -1
  108. package/esm2015/lib/forms/forms.module.js +1 -1
  109. package/esm2015/lib/forms/models/address.js +1 -1
  110. package/esm2015/lib/forms/models/constants.js +1 -1
  111. package/esm2015/lib/forms/models/county.js +1 -1
  112. package/esm2015/lib/forms/models/enums/states.js +1 -1
  113. package/esm2015/lib/forms/pipes/phone-format.pipe.js +1 -1
  114. package/esm2015/lib/forms/services/alert.service.js +1 -1
  115. package/esm2015/lib/header/components/header/header.component.js +1 -1
  116. package/esm2015/lib/header/components/mobile-header-menu/mobile-header-menu.component.js +1 -1
  117. package/esm2015/lib/header/header-api.js +1 -1
  118. package/esm2015/lib/header/header.module.js +1 -1
  119. package/esm2015/lib/header/models/header-auth.settings.js +1 -1
  120. package/esm2015/lib/header/models/header-language.settings.js +1 -1
  121. package/esm2015/lib/header/models/header-theme.settings.js +1 -1
  122. package/esm2015/lib/header/models/header.settings.js +1 -1
  123. package/esm2015/lib/header/models/mobile-header-nav.settings.js +1 -1
  124. package/esm2015/lib/navigation/components/navigation/navigation.component.js +2 -1
  125. package/esm2015/lib/navigation/models/nav-theme.settings.js +1 -1
  126. package/esm2015/lib/navigation/models/nav.settings.js +1 -1
  127. package/esm2015/lib/navigation/models/navigation.js +1 -1
  128. package/esm2015/lib/navigation/navigation-api.js +1 -1
  129. package/esm2015/lib/navigation/navigation.module.js +1 -1
  130. package/esm2015/lib/oauth/models/constants.js +1 -1
  131. package/esm2015/lib/oauth/models/generated/accountManagementAssertionModel.js +1 -1
  132. package/esm2015/lib/oauth/models/generated/accountManagementRefreshRequestModel.js +1 -1
  133. package/esm2015/lib/oauth/models/generated/accountManagementResponseModel.js +1 -1
  134. package/esm2015/lib/oauth/models/generated/coverageDetail.js +1 -1
  135. package/esm2015/lib/oauth/models/generated/finance.js +1 -1
  136. package/esm2015/lib/oauth/models/generated/iSsoResponseModel.js +1 -1
  137. package/esm2015/lib/oauth/models/generated/iSsoResponseModelAccountManagementAssertionModel.js +1 -1
  138. package/esm2015/lib/oauth/models/generated/person.js +1 -1
  139. package/esm2015/lib/oauth/models/generated/policy.js +1 -1
  140. package/esm2015/lib/oauth/models/generated/refreshResponseModel.js +1 -1
  141. package/esm2015/lib/oauth/models/hybrid-saml-oauth-config.js +1 -1
  142. package/esm2015/lib/oauth/oauth-api.js +1 -1
  143. package/esm2015/lib/oauth/oauth.module.js +1 -1
  144. package/esm2015/lib/oauth/services/hybrid-saml-oauth.service.js +1 -1
  145. package/esm2015/lib/rbac/directives/rbac-action.directive.js +1 -1
  146. package/esm2015/lib/rbac/models/access-token-claims.js +1 -1
  147. package/esm2015/lib/rbac/models/constants.js +1 -1
  148. package/esm2015/lib/rbac/models/decoded-access-token.js +1 -1
  149. package/esm2015/lib/rbac/models/rbac-config.js +1 -1
  150. package/esm2015/lib/rbac/models/role-access.js +1 -1
  151. package/esm2015/lib/rbac/rbac-api.js +1 -1
  152. package/esm2015/lib/rbac/rbac.module.js +1 -1
  153. package/esm2015/lib/rbac/services/ar-role-nav.service.js +1 -1
  154. package/esm2015/lib/rbac/services/oauth2-role.service.js +1 -1
  155. package/esm2015/lib/rbac/services/role-nav.service.js +1 -1
  156. package/esm2015/lib/rum/models/arm-error.js +1 -1
  157. package/esm2015/lib/rum/models/rum-config.js +1 -1
  158. package/esm2015/lib/rum/rum-api.js +1 -1
  159. package/esm2015/lib/rum/rum.module.js +1 -1
  160. package/esm2015/lib/rum/services/rum.service.js +1 -1
  161. package/esm2015/lib/rum/services/shared-error.service.js +1 -1
  162. package/esm2015/lib/rum/services/softheon-error-handler.service.js +1 -1
  163. package/esm2015/lib/saml/components/redirect-saml/redirect-saml.component.js +1 -1
  164. package/esm2015/lib/saml/models/i-saml-request.js +1 -1
  165. package/esm2015/lib/saml/models/i-saml-response.js +1 -1
  166. package/esm2015/lib/saml/models/redirect-saml-request.js +1 -1
  167. package/esm2015/lib/saml/models/sso-gateway-model.js +1 -1
  168. package/esm2015/lib/saml/saml-api.js +1 -1
  169. package/esm2015/lib/saml/saml.module.js +1 -1
  170. package/esm2015/lib/saml/services/entry/abstract-saml-entry.service.js +1 -1
  171. package/esm2015/lib/saml/services/entry/sso-gateway-entry.service.js +1 -1
  172. package/esm2015/lib/saml/services/send-off/abstract-saml.service.js +1 -1
  173. package/esm2015/lib/saml/services/send-off/saml.service.js +1 -1
  174. package/esm2015/lib/theming/directives/css-override.directive.js +1 -1
  175. package/esm2015/lib/theming/models/css-override.js +1 -1
  176. package/esm2015/lib/theming/services/theme.service.js +1 -1
  177. package/esm2015/lib/theming/theme-api.js +1 -1
  178. package/esm2015/lib/theming/theme.module.js +1 -1
  179. package/esm2015/public-api.js +2 -1
  180. package/esm2015/softheon-armature.js +1 -1
  181. package/fesm2015/softheon-armature.js +187 -7
  182. package/fesm2015/softheon-armature.js.map +1 -1
  183. package/lib/base-components/base-component-api.d.ts +5 -0
  184. package/lib/base-components/base-component.module.d.ts +3 -0
  185. package/lib/base-components/sof-alert/sof-alert.component.d.ts +29 -0
  186. package/lib/base-components/sof-banner/sof-banner.component.d.ts +31 -0
  187. package/lib/base-components/sof-progress-bar/sof-progress-bar.component.d.ts +31 -0
  188. package/package.json +1 -1
  189. package/public-api.d.ts +1 -0
  190. package/softheon-armature.metadata.json +1 -1
@@ -0,0 +1,1023 @@
1
+ @import "../../../../../node_modules/@angular/material/theming";
2
+ @import "./arm-theme.scss";
3
+ @import "./utility";
4
+ @import "./variables";
5
+
6
+ // Theme pallets
7
+ @include mat-core();
8
+ $main-theme: mat-light-theme($arm-primary, $arm-accent, $arm-error);
9
+ $main-theme-dark: mat-dark-theme($arm-primary, $arm-accent, $arm-error);
10
+
11
+ body {
12
+ letter-spacing: 0px;
13
+ font-family: "Poppins", sans-serif !important;
14
+ font-size: 14px;
15
+ @include angular-material-theme($main-theme);
16
+ margin: 0 !important;
17
+ }
18
+
19
+ h1.merriweather {
20
+ font-family: "Merriweather", serif;
21
+ font-style: normal;
22
+ font-weight: normal;
23
+ font-size: 34px;
24
+ line-height: 48px;
25
+ letter-spacing: normal;
26
+ margin: 0px;
27
+ padding: 0px;
28
+ @media only screen and (max-width: $screen-sm-end) {
29
+ font-size: 28px;
30
+ }
31
+ }
32
+
33
+ h1.poppins {
34
+ font-family: "Poppins", sans-serif;
35
+ font-style: normal;
36
+ font-weight: normal;
37
+ font-size: 34px;
38
+ line-height: 48px;
39
+ letter-spacing: normal;
40
+ margin: 0px;
41
+ padding: 0px;
42
+ @media only screen and (max-width: $screen-sm-end) {
43
+ font-size: 28px;
44
+ }
45
+ }
46
+
47
+ .h2,
48
+ [h2],
49
+ h2 {
50
+ font-family: "Poppins", sans-serif;
51
+ font-style: normal;
52
+ font-weight: normal;
53
+ font-size: 24px;
54
+ line-height: 33px;
55
+ letter-spacing: normal;
56
+ margin: 0px;
57
+ padding: 0px;
58
+ @media only screen and (max-width: $screen-sm-end) {
59
+ font-size: 24px;
60
+ }
61
+ }
62
+
63
+ .h3,
64
+ [h3],
65
+ h3 {
66
+ font-family: "Poppins", sans-serif;
67
+ font-style: normal;
68
+ font-weight: normal;
69
+ font-size: 20px;
70
+ line-height: 28px;
71
+ letter-spacing: normal;
72
+ margin: 0px;
73
+ padding: 0px;
74
+ @media only screen and (max-width: $screen-sm-end) {
75
+ font-size: 20px;
76
+ }
77
+ }
78
+
79
+ .h4,
80
+ [h4],
81
+ h4 {
82
+ font-family: "Poppins", sans-serif;
83
+ font-style: normal;
84
+ font-weight: normal;
85
+ font-size: 18px;
86
+ line-height: 27px;
87
+ letter-spacing: normal;
88
+ margin: 0px;
89
+ padding: 0px;
90
+ @media only screen and (max-width: $screen-sm-end) {
91
+ font-size: 18px;
92
+ }
93
+ }
94
+
95
+ .body1 {
96
+ font-family: "Poppins", sans-serif;
97
+ font-style: normal;
98
+ font-weight: normal;
99
+ font-size: 16px;
100
+ line-height: 24px;
101
+ letter-spacing: normal;
102
+ @media only screen and (max-width: $screen-sm-end) {
103
+ font-size: 16px;
104
+ }
105
+ }
106
+
107
+ .body2 {
108
+ font-family: "Poppins", sans-serif;
109
+ font-style: normal;
110
+ font-weight: normal;
111
+ font-size: 14px;
112
+ line-height: 21px;
113
+ letter-spacing: normal;
114
+ @media only screen and (max-width: $screen-sm-end) {
115
+ font-size: 16px;
116
+ }
117
+ }
118
+
119
+ mat-form-field {
120
+ &.body1 {
121
+ font-family: "Poppins", sans-serif !important;
122
+ font-style: normal !important;
123
+ font-weight: normal !important;
124
+ font-size: 16px !important;
125
+ line-height: 24px !important;
126
+ letter-spacing: normal !important;
127
+ @media only screen and (max-width: $screen-sm-end) {
128
+ font-size: 16px !important;
129
+ }
130
+ }
131
+ &.body2 {
132
+ font-family: "Poppins", sans-serif;
133
+ font-style: normal;
134
+ font-weight: normal;
135
+ font-size: 14px;
136
+ line-height: 21px;
137
+ letter-spacing: normal;
138
+ @media only screen and (max-width: $screen-sm-end) {
139
+ font-size: 16px;
140
+ }
141
+ }
142
+ }
143
+
144
+ .ls-half {
145
+ letter-spacing: 0.5px !important;
146
+ }
147
+
148
+ .ls-quarter {
149
+ letter-spacing: 0.25px !important;
150
+ }
151
+
152
+ .fw-500 {
153
+ font-weight: 500 !important;
154
+ }
155
+
156
+ .fw-600 {
157
+ font-weight: 600 !important;
158
+ }
159
+
160
+ .color-primary {
161
+ color: mat-color($arm-primary);
162
+ }
163
+
164
+ .input-icon {
165
+ font-size: 1.5em !important;
166
+ }
167
+
168
+ .delete-icon {
169
+ cursor: pointer;
170
+ font-size: 1.5em;
171
+ color: mat-color($arm-warn);
172
+ }
173
+
174
+ .tooltip {
175
+ cursor: pointer;
176
+ }
177
+
178
+ .relative {
179
+ position: relative;
180
+ }
181
+
182
+ .left-align {
183
+ text-align: left;
184
+ }
185
+
186
+ .center-align {
187
+ text-align: center;
188
+ }
189
+
190
+ mat-button-toggle-group {
191
+ &.mat-button-toggle-group {
192
+ ::ng-deep &.sof-toggle-group {
193
+ width: 230px !important;
194
+ border: 1px solid mat-color($arm-primary, 500) !important;
195
+ border-radius: 6px !important;
196
+ mat-button-toggle {
197
+ flex: 1 1 100% !important;
198
+ box-sizing: border-box !important;
199
+ align-items: center !important;
200
+ flex-direction: row !important;
201
+ display: flex !important;
202
+ &.mat-button-toggle-checked {
203
+ background-color: mat-color($arm-primary, 100) !important;
204
+ color: mat-contrast($arm-primary, 500) !important;
205
+ }
206
+ button.mat-button-toggle-button {
207
+ .mat-button-toggle-label-content {
208
+ text-transform: uppercase !important;
209
+ font-weight: bold !important;
210
+ color: #000000de !important;
211
+ }
212
+ }
213
+ }
214
+ }
215
+ }
216
+ }
217
+
218
+ /** Material Overrides */
219
+
220
+ button.mat-flat-button {
221
+ &.sof-flat-button {
222
+ padding: 0px 24px !important;
223
+ height: 48px !important;
224
+ border-radius: 6px !important;
225
+ font-family: Poppins !important;
226
+ font-style: normal !important;
227
+ font-weight: 600 !important;
228
+ font-size: 16px !important;
229
+ line-height: 24px !important;
230
+ letter-spacing: 0.05em !important;
231
+ text-transform: uppercase !important;
232
+
233
+ &.fixed-width {
234
+ width: 200px !important; // Use his is to match specific sizing
235
+ }
236
+
237
+ &.full-width {
238
+ width: 100% !important; // Use this is button width will take size of flex percentage
239
+ }
240
+
241
+ &:enabled {
242
+ color: #ffffff !important;
243
+ &.mat-primary {
244
+ background: mat-color($arm-primary);
245
+ &:hover {
246
+ background-color: mat-color($arm-primary, 700);
247
+ }
248
+ &:focus {
249
+ background-color: mat-color($arm-primary, 900);
250
+ }
251
+ }
252
+ &.mat-accent {
253
+ background: mat-color($arm-accent);
254
+ &:hover {
255
+ background-color: mat-color($arm-accent, 700);
256
+ }
257
+ &:focus {
258
+ background-color: mat-color($arm-accent, 900);
259
+ }
260
+ }
261
+ &.mat-warn {
262
+ background: mat-color($arm-warn);
263
+ &:hover {
264
+ background-color: mat-color($arm-warn, 700);
265
+ }
266
+ &:focus {
267
+ background-color: mat-color($arm-warn, 900);
268
+ }
269
+ }
270
+ i {
271
+ color: #ffffff !important;
272
+ }
273
+ }
274
+
275
+ &:disabled {
276
+ background: #f7f7f7 !important;
277
+ color: rgba(0, 0, 0, 0.6) !important;
278
+ opacity: 1 !important;
279
+ }
280
+ }
281
+ &.sof-flat-button-small {
282
+ padding: 0px 24px !important;
283
+ height: 36px !important;
284
+ border-radius: 6px !important;
285
+ font-family: Poppins !important;
286
+ font-style: normal !important;
287
+ font-weight: 600 !important;
288
+ font-size: 16px !important;
289
+ line-height: 24px !important;
290
+ letter-spacing: 0.05em !important;
291
+ text-transform: uppercase !important;
292
+
293
+ &:enabled {
294
+ color: #ffffff !important;
295
+ &.mat-primary {
296
+ background: mat-color($arm-primary);
297
+ &:hover {
298
+ background-color: mat-color($arm-primary, 700);
299
+ }
300
+ &:focus {
301
+ background-color: mat-color($arm-primary, 900);
302
+ }
303
+ }
304
+ &.mat-accent {
305
+ background: mat-color($arm-accent);
306
+ &:hover {
307
+ background-color: mat-color($arm-accent, 700);
308
+ }
309
+ &:focus {
310
+ background-color: mat-color($arm-accent, 900);
311
+ }
312
+ }
313
+ &.mat-warn {
314
+ background: mat-color($arm-warn);
315
+ &:hover {
316
+ background-color: mat-color($arm-warn, 700);
317
+ }
318
+ &:focus {
319
+ background-color: mat-color($arm-warn, 900);
320
+ }
321
+ }
322
+ i {
323
+ color: #ffffff !important;
324
+ }
325
+ }
326
+
327
+ &:disabled {
328
+ background: #f7f7f7 !important;
329
+ color: rgba(0, 0, 0, 0.6) !important;
330
+ opacity: 1 !important;
331
+ }
332
+ }
333
+ }
334
+
335
+ button.mat-stroked-button {
336
+ &.sof-stroked-button {
337
+ padding: 0px 24px !important;
338
+ height: 48px !important;
339
+ border: none !important;
340
+ border-radius: 6px !important;
341
+ font-family: Poppins !important;
342
+ font-style: normal !important;
343
+ font-weight: 600 !important;
344
+ font-size: 16px !important;
345
+ line-height: 24px !important;
346
+ letter-spacing: 0.05em !important;
347
+ text-transform: uppercase !important;
348
+
349
+ &.fixed-width {
350
+ width: 200px !important; // Use his is to match specific sizing
351
+ }
352
+
353
+ &.full-width {
354
+ width: 100% !important; // Use this is button width will take size of flex percentage
355
+ }
356
+
357
+ &:enabled {
358
+ &.mat-primary {
359
+ background-color: mat-color($arm-primary, 50) !important;
360
+ color: mat-color($arm-primary) !important;
361
+ i {
362
+ color: mat-color($arm-primary) !important;
363
+ }
364
+ &:hover {
365
+ background-color: mat-color($arm-primary, 100) !important;
366
+ color: white !important;
367
+ i {
368
+ color: white !important;
369
+ }
370
+ }
371
+ &:focus {
372
+ background-color: mat-color($arm-primary, 200) !important;
373
+ color: white !important;
374
+ i {
375
+ color: white !important;
376
+ }
377
+ }
378
+ }
379
+ &.mat-accent {
380
+ background-color: mat-color($arm-accent, 50) !important;
381
+ color: mat-color($arm-accent) !important;
382
+ i {
383
+ color: mat-color($arm-accent) !important;
384
+ }
385
+ &:hover {
386
+ background-color: mat-color($arm-accent, 100) !important;
387
+ color: white !important;
388
+ i {
389
+ color: white !important;
390
+ }
391
+ }
392
+ &:focus {
393
+ background-color: mat-color($arm-accent, 200) !important;
394
+ color: white !important;
395
+ i {
396
+ color: white !important;
397
+ }
398
+ }
399
+ }
400
+ &.mat-warn {
401
+ background-color: mat-color($arm-warn, 50) !important;
402
+ color: mat-color($arm-warn) !important;
403
+ i {
404
+ color: mat-color($arm-warn) !important;
405
+ }
406
+ &:hover {
407
+ background-color: mat-color($arm-warn, 100) !important;
408
+ color: white !important;
409
+ i {
410
+ color: white !important;
411
+ }
412
+ }
413
+ &:focus {
414
+ background-color: mat-color($arm-warn, 200) !important;
415
+ color: white !important;
416
+ i {
417
+ color: white !important;
418
+ }
419
+ }
420
+ }
421
+ }
422
+
423
+ &:disabled {
424
+ background: #f7f7f7 !important;
425
+ color: rgba(0, 0, 0, 0.6) !important;
426
+ opacity: 1 !important;
427
+ }
428
+ }
429
+ &.sof-stroked-button-small {
430
+ padding: 0px 24px !important;
431
+ height: 48px !important;
432
+ border: none !important;
433
+ border-radius: 6px !important;
434
+ font-family: Poppins !important;
435
+ font-style: normal !important;
436
+ font-weight: 600 !important;
437
+ font-size: 16px !important;
438
+ line-height: 24px !important;
439
+ letter-spacing: 0.05em !important;
440
+ text-transform: uppercase !important;
441
+
442
+ &:enabled {
443
+ &.mat-primary {
444
+ background-color: mat-color($arm-primary, 50) !important;
445
+ color: mat-color($arm-primary) !important;
446
+ i {
447
+ color: mat-color($arm-primary) !important;
448
+ }
449
+ &:hover {
450
+ background-color: mat-color($arm-primary, 100) !important;
451
+ color: white !important;
452
+ i {
453
+ color: white !important;
454
+ }
455
+ }
456
+ &:focus {
457
+ background-color: mat-color($arm-primary, 200) !important;
458
+ color: white !important;
459
+ i {
460
+ color: white !important;
461
+ }
462
+ }
463
+ }
464
+ &.mat-accent {
465
+ background-color: mat-color($arm-accent, 50) !important;
466
+ color: mat-color($arm-accent) !important;
467
+ i {
468
+ color: mat-color($arm-accent) !important;
469
+ }
470
+ &:hover {
471
+ background-color: mat-color($arm-accent, 100) !important;
472
+ color: white !important;
473
+ i {
474
+ color: white !important;
475
+ }
476
+ }
477
+ &:focus {
478
+ background-color: mat-color($arm-accent, 200) !important;
479
+ color: white !important;
480
+ i {
481
+ color: white !important;
482
+ }
483
+ }
484
+ }
485
+ &.mat-warn {
486
+ background-color: mat-color($arm-warn, 50) !important;
487
+ color: mat-color($arm-warn) !important;
488
+ i {
489
+ color: mat-color($arm-warn) !important;
490
+ }
491
+ &:hover {
492
+ background-color: mat-color($arm-warn, 100) !important;
493
+ color: white !important;
494
+ i {
495
+ color: white !important;
496
+ }
497
+ }
498
+ &:focus {
499
+ background-color: mat-color($arm-warn, 200) !important;
500
+ color: white !important;
501
+ i {
502
+ color: white !important;
503
+ }
504
+ }
505
+ }
506
+ }
507
+
508
+ &:disabled {
509
+ background: #f7f7f7 !important;
510
+ color: rgba(0, 0, 0, 0.6) !important;
511
+ opacity: 1 !important;
512
+ }
513
+ }
514
+ &.action-btn {
515
+ font-family: Poppins !important;
516
+ font-style: normal !important;
517
+ font-weight: 600 !important;
518
+ font-size: 16px !important;
519
+ line-height: 24px !important;
520
+ padding: 0px 24px !important;
521
+ height: 36px !important;
522
+ letter-spacing: 0.05em !important;
523
+ text-transform: uppercase !important;
524
+ background: white !important;
525
+ border: 2px solid black !important;
526
+ box-sizing: border-box !important;
527
+ border-radius: 6px !important;
528
+ color: black !important;
529
+ white-space: normal !important;
530
+ i {
531
+ color: black !important;
532
+ }
533
+ &.mat-primary {
534
+ color: mat-color($arm-primary) !important;
535
+ border: 2px solid mat-color($arm-primary) !important;
536
+ i {
537
+ color: mat-color($arm-primary) !important;
538
+ }
539
+ }
540
+ &.mat-accent {
541
+ color: mat-color($arm-accent) !important;
542
+ border: 2px solid mat-color($arm-accent) !important;
543
+ i {
544
+ color: mat-color($arm-accent) !important;
545
+ }
546
+ }
547
+ &.mat-warn {
548
+ color: mat-color($arm-warn) !important;
549
+ border: 2px solid mat-color($arm-warn) !important;
550
+ i {
551
+ color: mat-color($arm-warn) !important;
552
+ }
553
+ }
554
+ }
555
+ }
556
+
557
+ mat-card {
558
+ &.mat-card.item-list {
559
+ box-shadow: 0px 1px 7px rgb(166 159 159 / 25%) !important;
560
+ border-radius: 10px !important;
561
+ overflow: overlay !important;
562
+ max-height: 322px !important;
563
+ padding: 0px !important;
564
+ }
565
+ }
566
+
567
+ .mat-dialog-title {
568
+ font-family: Poppins !important;
569
+ font-style: normal !important;
570
+ font-weight: 500 !important;
571
+ font-size: 24px !important;
572
+ line-height: 36px !important;
573
+ letter-spacing: normal !important;
574
+ }
575
+
576
+ .mat-dialog-content {
577
+ display: block !important;
578
+ margin: 0 -24px !important;
579
+ padding: 0 0px !important ;
580
+ max-height: 65vh !important;
581
+ overflow: auto !important;
582
+ }
583
+
584
+ .mat-dialog-container {
585
+ display: block !important;
586
+ background: #ffffff !important;
587
+ border: 1px solid #dfdfdf !important;
588
+ box-sizing: border-box !important;
589
+ border-radius: 10px !important;
590
+ overflow: auto !important;
591
+ outline: 0 !important;
592
+ width: 100% !important;
593
+ height: 100% !important;
594
+ min-height: inherit !important;
595
+ max-height: inherit !important;
596
+ }
597
+
598
+ .mat-list-base {
599
+ padding-top: 0px !important;
600
+ }
601
+
602
+ ::ng-deep .mat-tooltip {
603
+ cursor: pointer !important;
604
+ width: 234px !important;
605
+ height: auto !important;
606
+ font-family: "Poppins", sans-serif !important;
607
+ font-size: 12px !important;
608
+ font-style: normal !important;
609
+ font-weight: 400 !important;
610
+ line-height: 18px !important;
611
+ letter-spacing: 0.4px !important;
612
+ text-align: left !important;
613
+ display: flex !important;
614
+ align-items: center !important;
615
+ color: #ffffff !important;
616
+ background-color: #333333 !important;
617
+ }
618
+
619
+ .mat-chip {
620
+ font-style: normal !important;
621
+ font-weight: 500 !important;
622
+ font-size: 12px !important;
623
+ line-height: 16px !important;
624
+ height: max-content !important;
625
+ word-break: break-all !important;
626
+ }
627
+
628
+ // We want to avoid using ng-deep, but until we organize our css cascading and get a set override file,
629
+ // it may need to be used or at the very least used with the combination of a custom class (to prevent it from bleeding into other components)
630
+ // in this case we used ng-deep on 'sof-form-field'. Doing it on the mat-form-field level (i.e. ::ng-deep mat-form-field.sof-form-field,
631
+ // still bleeds into other components
632
+ mat-form-field {
633
+ ::ng-deep &.sof-form-field {
634
+ .mat-form-field-wrapper {
635
+ padding: 0px !important;
636
+ }
637
+ .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix {
638
+ padding-left: 0.5em !important;
639
+ padding-right: 0.5em !important;
640
+ }
641
+ .mat-form-field-wrapper
642
+ .mat-form-field-flex
643
+ .mat-form-field-infix
644
+ .mat-form-field-label-wrapper
645
+ .mat-form-field-label {
646
+ padding-left: 0.5em !important;
647
+ padding-right: 0.5em !important;
648
+ }
649
+ .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-prefix {
650
+ top: 0em !important;
651
+ }
652
+ .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-suffix {
653
+ top: 0em !important;
654
+ }
655
+ }
656
+ }
657
+
658
+ .toggle-button-left {
659
+ border: 1px solid mat-color($arm-primary, 500);
660
+ border-radius: 3px 0px 0px 3px;
661
+ width: 120px;
662
+ }
663
+
664
+ .toggle-button-right {
665
+ border: 1px solid mat-color($arm-primary, 500);
666
+ border-radius: 0px 3px 3px 0px;
667
+ width: 120px;
668
+ }
669
+
670
+ ::ng-deep .mat-button-toggle-checked {
671
+ background-color: mat-color($arm-primary, 100) !important;
672
+ }
673
+
674
+ .mat-drawer-container.sof-ar-nav-sidenav-container {
675
+ @media only screen and (max-width: $mat-lt-md) {
676
+ background: rgba(245, 245, 245, 0.5) !important;
677
+ }
678
+ }
679
+
680
+ .mobile-sr-only {
681
+ @media only screen and (max-width: $mat-lt-sm) {
682
+ border: 0;
683
+ clip: rect(0, 0, 0, 0);
684
+ height: 1px;
685
+ margin: -1px;
686
+ overflow: hidden;
687
+ padding: 0;
688
+ position: absolute;
689
+ width: 1px;
690
+ }
691
+ }
692
+
693
+ .mobile-no-card {
694
+ padding: 36px 30px !important;
695
+ @media only screen and (max-width: $mat-lt-sm) {
696
+ background: transparent !important;
697
+ box-shadow: none !important;
698
+ padding: 0 !important;
699
+ }
700
+ }
701
+
702
+ .sm-screen-no-card {
703
+ padding: 36px 30px !important;
704
+ @media only screen and (max-width: $mat-lt-md) {
705
+ background: transparent !important;
706
+ box-shadow: none !important;
707
+ padding: 0 !important;
708
+ }
709
+ }
710
+
711
+ .sm-screen-no-white-bg {
712
+ @media only screen and (max-width: $mat-lt-md) {
713
+ background: transparent !important;
714
+ }
715
+ }
716
+
717
+ .sm-screen-card-shadow-z1 {
718
+ @media only screen and (max-width: $mat-lt-md) {
719
+ box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14),
720
+ 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
721
+ }
722
+ }
723
+
724
+ .sm-screen-op-7 {
725
+ @media only screen and (max-width: $mat-lt-md) {
726
+ opacity: 0.7;
727
+ }
728
+ }
729
+
730
+ .sm-d-inline-flex {
731
+ @media only screen and (max-width: $mat-lt-md) {
732
+ display: inline-flex !important;
733
+ }
734
+ }
735
+
736
+ .mobile-no-h-margin {
737
+ @media only screen and (max-width: $mat-lt-sm) {
738
+ margin-left: 0 !important;
739
+ margin-right: 0 !important;
740
+ }
741
+ }
742
+
743
+ .mobile-no-h-padding {
744
+ @media only screen and (max-width: $mat-lt-sm) {
745
+ padding-left: 0 !important;
746
+ padding-right: 0 !important;
747
+ }
748
+ }
749
+
750
+ .mobile-full-width {
751
+ @media only screen and (max-width: $mat-lt-sm) {
752
+ width: 100%;
753
+ }
754
+ }
755
+
756
+ .sm-screen-full-width {
757
+ @media only screen and (max-width: $mat-lt-md) {
758
+ width: 100%;
759
+ }
760
+ }
761
+
762
+ .word-wrap-checkboxes-override .mat-checkbox-label {
763
+ white-space: initial !important;
764
+ @media only screen and (max-width: $mat-lt-md) {
765
+ white-space: initial;
766
+ }
767
+ }
768
+
769
+ .sm-full-width-datepicker {
770
+ @media only screen and (max-width: $mat-lt-md) {
771
+ width: 100%;
772
+ .mat-form-field-infix,
773
+ .mat-form-field-infix > input {
774
+ width: 100% !important;
775
+ }
776
+ }
777
+ }
778
+ .sof-tokenizer-button-btn-container {
779
+ @media only screen and (max-width: $mat-lt-md) {
780
+ flex-direction: column-reverse !important;
781
+ width: 100% !important;
782
+
783
+ button {
784
+ margin: initial !important;
785
+ margin-bottom: 10px !important;
786
+ }
787
+ }
788
+ }
789
+
790
+ .info-icon.mat-icon,
791
+ .help-icon.mat-icon {
792
+ @media only screen and (max-width: $mat-lt-md) {
793
+ padding-top: 10px !important;
794
+ }
795
+ }
796
+
797
+ .sof-ar-header--left.sof-ar-mobile-navigation {
798
+ @media only screen and (max-width: $mat-lt-sm) {
799
+ margin-left: 35px !important;
800
+ }
801
+ }
802
+
803
+ @media screen and (max-width: $mat-lt-md) {
804
+ .hidden-small-screen {
805
+ display: none !important;
806
+ }
807
+ }
808
+
809
+ @media screen and (max-width: $mat-lt-lg) {
810
+ .hidden-md-screen {
811
+ display: none !important;
812
+ }
813
+ }
814
+
815
+ @media screen and (min-width: $mat-gt-sm) {
816
+ .visible-small-screen {
817
+ display: none !important;
818
+ }
819
+ }
820
+
821
+ @media screen and (min-width: $mat-gt-md) {
822
+ .visible-md-screen {
823
+ display: none !important;
824
+ }
825
+ }
826
+
827
+ .mat-card-mobile-header-override {
828
+ background: $light-grey;
829
+ padding: 16px;
830
+ margin: 0 -16px;
831
+ }
832
+
833
+ .mat-card-mobile-action-buttons-footer-override {
834
+ border-top: 1px solid rgba(0, 0, 0, 0.05);
835
+ padding-top: 16px;
836
+ margin-top: 36px;
837
+ }
838
+
839
+ .mat-card-mobile-action-buttons-override {
840
+ button {
841
+ transform: scale(0.9);
842
+ }
843
+ }
844
+
845
+ .sm-m-b-16 {
846
+ @media only screen and (max-width: $mat-lt-md) {
847
+ margin-bottom: 16px !important;
848
+ }
849
+ }
850
+
851
+ .sm-m-b-24 {
852
+ @media only screen and (max-width: $mat-lt-md) {
853
+ margin-bottom: 24px !important;
854
+ }
855
+ }
856
+
857
+ .sm-m-v-24 {
858
+ @media only screen and (max-width: $mat-lt-md) {
859
+ margin-top: 24px !important;
860
+ margin-bottom: 24px !important;
861
+ }
862
+ }
863
+
864
+ .sm-m-b-32 {
865
+ @media only screen and (max-width: $mat-lt-md) {
866
+ margin-bottom: 32px !important;
867
+ }
868
+ }
869
+
870
+ .sm-m-b-64 {
871
+ @media only screen and (max-width: $mat-lt-md) {
872
+ margin-bottom: 64px !important;
873
+ }
874
+ }
875
+
876
+ .sm-screen-m-a-0 {
877
+ @media screen and (max-width: $mat-lt-md) {
878
+ margin: 0 !important;
879
+ }
880
+ }
881
+
882
+ .sm-screen-m-l-0 {
883
+ @media screen and (max-width: $mat-lt-md) {
884
+ margin-left: 0 !important;
885
+ }
886
+ }
887
+
888
+ .sm-screen-m-h-0 {
889
+ @media screen and (max-width: $mat-lt-md) {
890
+ margin-left: 0 !important;
891
+ margin-right: 0 !important;
892
+ }
893
+ }
894
+
895
+ .sm-screen-p-a-0 {
896
+ @media screen and (max-width: $mat-lt-md) {
897
+ padding: 0 !important;
898
+ }
899
+ }
900
+
901
+ .sm-screen-p-h-0 {
902
+ @media screen and (max-width: $mat-lt-md) {
903
+ padding-left: 0 !important;
904
+ padding-right: 0 !important;
905
+ }
906
+ }
907
+
908
+ .md-screen-p-a-0 {
909
+ @media screen and (max-width: $mat-lt-lg) {
910
+ padding: 0 !important;
911
+ }
912
+ }
913
+
914
+ .md-m-v-24 {
915
+ @media only screen and (max-width: $mat-lt-lg) {
916
+ margin-top: 24px !important;
917
+ margin-bottom: 24px !important;
918
+ }
919
+ }
920
+
921
+ /** Mobile Table */
922
+ @mixin mobile-responsive-table {
923
+ max-height: none !important;
924
+ overflow-y: auto !important;
925
+
926
+ .mat-table {
927
+ border: 0;
928
+ vertical-align: middle;
929
+
930
+ .mat-header-row {
931
+ min-height: 0;
932
+ height: 0;
933
+ }
934
+
935
+ .mat-header-cell {
936
+ border: 10px solid;
937
+ clip: rect(0 0 0 0);
938
+ height: 1px;
939
+ min-height: 1px;
940
+ margin: -1px;
941
+ padding: 0;
942
+ position: absolute;
943
+ width: 1px;
944
+ }
945
+
946
+ .mat-row {
947
+ padding: 10px 20px 0 20px;
948
+ border-bottom: 5px solid #ddd;
949
+ display: block;
950
+ min-height: 1px;
951
+ height: auto;
952
+ }
953
+
954
+ td.mat-cell:first-of-type {
955
+ height: 48px;
956
+ }
957
+
958
+ .mat-cell {
959
+ display: block;
960
+ font-size: initial;
961
+ height: auto;
962
+ padding: 8px 0;
963
+ border-bottom-color: transparent;
964
+ text-align: initial;
965
+
966
+ &.action-buttons {
967
+ border-top: 1px solid $light-grey;
968
+ margin-top: 24px;
969
+ display: flex;
970
+ flex-wrap: wrap;
971
+ justify-content: flex-start;
972
+ padding-bottom: 0;
973
+ margin-bottom: -8px;
974
+
975
+ &:before {
976
+ content: none;
977
+ }
978
+ }
979
+
980
+ &:before {
981
+ content: attr(data-label) ": ";
982
+ float: left;
983
+ font-weight: 600;
984
+ padding-right: 5px;
985
+ }
986
+
987
+ &:last-child {
988
+ border-bottom: 0;
989
+ }
990
+
991
+ &:first-child {
992
+ margin-top: 4%;
993
+ }
994
+
995
+ &:first-of-type {
996
+ padding-left: 0;
997
+ margin: -10px -20px 8px -20px;
998
+ padding: 16px 20px 16px 20px;
999
+ background: $light-grey;
1000
+ box-sizing: border-box;
1001
+ height: auto;
1002
+ }
1003
+ }
1004
+
1005
+ td.mat-cell.action-buttons {
1006
+ margin-bottom: 8px;
1007
+ }
1008
+ }
1009
+
1010
+ @content;
1011
+ }
1012
+
1013
+ @media screen and (max-width: $mat-lt-md) {
1014
+ .mat-responsive-table-override-sm {
1015
+ @include mobile-responsive-table;
1016
+ }
1017
+ }
1018
+
1019
+ @media screen and (max-width: $mat-lt-lg) {
1020
+ .mat-responsive-table-override-md {
1021
+ @include mobile-responsive-table;
1022
+ }
1023
+ }