@softheon/armature 10.31.1 → 10.32.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 (185) hide show
  1. package/assets/styles/_utility.scss +390 -29
  2. package/assets/styles/sof-styles.scss +766 -360
  3. package/bundles/softheon-armature.umd.js +28 -11
  4. package/bundles/softheon-armature.umd.js.map +1 -1
  5. package/bundles/softheon-armature.umd.min.js +1 -1
  6. package/bundles/softheon-armature.umd.min.js.map +1 -1
  7. package/esm2015/lib/alert-banner/alert-banner-api.js +1 -1
  8. package/esm2015/lib/alert-banner/alert-banner.module.js +1 -1
  9. package/esm2015/lib/alert-banner/components/alert-banner/alert-banner.component.js +1 -1
  10. package/esm2015/lib/alert-banner/models/alert-banner-config.js +1 -1
  11. package/esm2015/lib/alert-banner/models/alert-banner-context.js +1 -1
  12. package/esm2015/lib/alert-banner/models/constants.js +1 -1
  13. package/esm2015/lib/alert-banner/services/alert-banner.service.js +1 -1
  14. package/esm2015/lib/armature.module.js +1 -1
  15. package/esm2015/lib/base-components/base-component-api.js +1 -1
  16. package/esm2015/lib/base-components/base-component.module.js +1 -1
  17. package/esm2015/lib/base-components/sof-alert/sof-alert.component.js +1 -1
  18. package/esm2015/lib/base-components/sof-banner/sof-banner.component.js +1 -1
  19. package/esm2015/lib/base-components/sof-modal/sof-modal.component.js +1 -1
  20. package/esm2015/lib/base-components/sof-progress-bar/sof-progress-bar.component.js +21 -12
  21. package/esm2015/lib/core/client-generated/api/session.service.js +1 -1
  22. package/esm2015/lib/core/client-generated/configuration.js +1 -1
  23. package/esm2015/lib/core/client-generated/encoder.js +1 -1
  24. package/esm2015/lib/core/client-generated/model/applicationUserModel.js +1 -1
  25. package/esm2015/lib/core/client-generated/model/assertedUserModel.js +1 -1
  26. package/esm2015/lib/core/client-generated/model/brandingModel.js +1 -1
  27. package/esm2015/lib/core/client-generated/model/errorModel.js +1 -1
  28. package/esm2015/lib/core/client-generated/model/folderLink.js +1 -1
  29. package/esm2015/lib/core/client-generated/model/identityProfile.js +1 -1
  30. package/esm2015/lib/core/client-generated/model/models.js +1 -1
  31. package/esm2015/lib/core/client-generated/model/oAuthModel.js +1 -1
  32. package/esm2015/lib/core/client-generated/model/preferencesRow.js +1 -1
  33. package/esm2015/lib/core/client-generated/model/rolesRow.js +1 -1
  34. package/esm2015/lib/core/client-generated/model/sessionGetResponseModel.js +1 -1
  35. package/esm2015/lib/core/client-generated/model/sessionPostRequestModel.js +1 -1
  36. package/esm2015/lib/core/client-generated/model/sessionPostResponseModel.js +1 -1
  37. package/esm2015/lib/core/client-generated/model/sessionPutRequestModel.js +1 -1
  38. package/esm2015/lib/core/client-generated/model/sessionPutResponseModel.js +1 -1
  39. package/esm2015/lib/core/client-generated/model/sessionResponseModel.js +1 -1
  40. package/esm2015/lib/core/client-generated/model/settingsProfile.js +1 -1
  41. package/esm2015/lib/core/client-generated/model/themePaletteColorsModel.js +1 -1
  42. package/esm2015/lib/core/client-generated/model/themePaletteModel.js +1 -1
  43. package/esm2015/lib/core/client-generated/model/trackingModel.js +1 -1
  44. package/esm2015/lib/core/client-generated/model/validationRecordsRow.js +1 -1
  45. package/esm2015/lib/core/client-generated/variables.js +1 -1
  46. package/esm2015/lib/core/components/app-template/app-template.component.js +1 -1
  47. package/esm2015/lib/core/functions/guid.js +1 -1
  48. package/esm2015/lib/core/functions/naming-convention.js +1 -1
  49. package/esm2015/lib/core/initializer/abstract-startup-service.js +1 -1
  50. package/esm2015/lib/core/initializer/initializer.service.js +1 -1
  51. package/esm2015/lib/core/interceptors/armature-auth-token-append.interceptor.js +1 -1
  52. package/esm2015/lib/core/models/base-config.js +1 -1
  53. package/esm2015/lib/core/models/constants.js +1 -1
  54. package/esm2015/lib/core/models/data-store-config.js +1 -1
  55. package/esm2015/lib/core/models/header-config.js +1 -1
  56. package/esm2015/lib/core/models/http-verbs.js +1 -1
  57. package/esm2015/lib/core/models/navigation-config.js +1 -1
  58. package/esm2015/lib/core/models/oidc-auth-settings.js +1 -1
  59. package/esm2015/lib/core/models/route-path.js +1 -1
  60. package/esm2015/lib/core/models/session-config.js +1 -1
  61. package/esm2015/lib/core/models/styles.js +1 -1
  62. package/esm2015/lib/core/models/typed-session.js +1 -1
  63. package/esm2015/lib/core/models/user-entity-service-config.js +1 -1
  64. package/esm2015/lib/core/services/authorization.service.js +1 -1
  65. package/esm2015/lib/core/services/banner.service.js +1 -1
  66. package/esm2015/lib/core/services/base-config.service.js +1 -1
  67. package/esm2015/lib/core/services/custom-auth-config.service.js +1 -1
  68. package/esm2015/lib/core/services/default-config.service.js +1 -1
  69. package/esm2015/lib/core/services/session.service.js +1 -1
  70. package/esm2015/lib/core/services/user-entity.service.js +1 -1
  71. package/esm2015/lib/distributed-cache/client-generated/api/api.js +1 -1
  72. package/esm2015/lib/distributed-cache/client-generated/api/cache.service.js +1 -1
  73. package/esm2015/lib/distributed-cache/client-generated/configuration.js +1 -1
  74. package/esm2015/lib/distributed-cache/client-generated/encoder.js +1 -1
  75. package/esm2015/lib/distributed-cache/client-generated/model/cacheExpirationType.js +1 -1
  76. package/esm2015/lib/distributed-cache/client-generated/model/createCacheEntryRequestModel.js +1 -1
  77. package/esm2015/lib/distributed-cache/client-generated/model/models.js +1 -1
  78. package/esm2015/lib/distributed-cache/client-generated/model/retrieveCacheEntryResponseModel.js +1 -1
  79. package/esm2015/lib/distributed-cache/client-generated/model/updateCacheEntryRequestModel.js +1 -1
  80. package/esm2015/lib/distributed-cache/client-generated/variables.js +1 -1
  81. package/esm2015/lib/distributed-cache/distributed-cache-api.js +1 -1
  82. package/esm2015/lib/distributed-cache/distributed-cache.module.js +1 -1
  83. package/esm2015/lib/distributed-cache/models/constants.js +1 -1
  84. package/esm2015/lib/distributed-cache/models/policy-person.js +1 -1
  85. package/esm2015/lib/distributed-cache/services/server-cache.service.js +1 -1
  86. package/esm2015/lib/error/components/error-common/error-common.component.js +1 -1
  87. package/esm2015/lib/error/error-api.js +1 -1
  88. package/esm2015/lib/error/error.module.js +1 -1
  89. package/esm2015/lib/error/models/error-common-config.js +1 -1
  90. package/esm2015/lib/faq/components/faq/faq.component.js +1 -1
  91. package/esm2015/lib/faq/faq-api.js +1 -1
  92. package/esm2015/lib/faq/faq.module.js +1 -1
  93. package/esm2015/lib/faq/models/faq-config.js +1 -1
  94. package/esm2015/lib/faq/models/faq.js +1 -1
  95. package/esm2015/lib/footer/components/footer/footer.component.js +1 -1
  96. package/esm2015/lib/footer/components/site-map/site-map.component.js +1 -1
  97. package/esm2015/lib/footer/footer-api.js +1 -1
  98. package/esm2015/lib/footer/footer.module.js +1 -1
  99. package/esm2015/lib/footer/models/enum/site-map-direction.js +1 -1
  100. package/esm2015/lib/footer/models/footer-config.js +1 -1
  101. package/esm2015/lib/footer/models/site-map-models.js +1 -1
  102. package/esm2015/lib/forms/components/sof-address/sof-address.component.js +1 -1
  103. package/esm2015/lib/forms/directives/alphanumeric/alphanumeric.directive.js +1 -1
  104. package/esm2015/lib/forms/directives/letters-only/letters-only.directive.js +1 -1
  105. package/esm2015/lib/forms/directives/numbers-only/numbers-only.directive.js +1 -1
  106. package/esm2015/lib/forms/forms-api.js +1 -1
  107. package/esm2015/lib/forms/forms.module.js +1 -1
  108. package/esm2015/lib/forms/models/address.js +1 -1
  109. package/esm2015/lib/forms/models/constants.js +1 -1
  110. package/esm2015/lib/forms/models/county.js +1 -1
  111. package/esm2015/lib/forms/models/enums/states.js +1 -1
  112. package/esm2015/lib/forms/pipes/phone-format.pipe.js +1 -1
  113. package/esm2015/lib/forms/services/alert.service.js +1 -1
  114. package/esm2015/lib/header/components/header/header.component.js +1 -1
  115. package/esm2015/lib/header/components/mobile-header-menu/mobile-header-menu.component.js +1 -1
  116. package/esm2015/lib/header/header-api.js +1 -1
  117. package/esm2015/lib/header/header.module.js +1 -1
  118. package/esm2015/lib/header/models/header-auth.settings.js +1 -1
  119. package/esm2015/lib/header/models/header-language.settings.js +1 -1
  120. package/esm2015/lib/header/models/header-theme.settings.js +1 -1
  121. package/esm2015/lib/header/models/header.settings.js +1 -1
  122. package/esm2015/lib/header/models/mobile-header-nav.settings.js +1 -1
  123. package/esm2015/lib/navigation/components/navigation/navigation.component.js +10 -2
  124. package/esm2015/lib/navigation/models/nav-theme.settings.js +1 -1
  125. package/esm2015/lib/navigation/models/nav.settings.js +1 -1
  126. package/esm2015/lib/navigation/models/navigation.js +1 -1
  127. package/esm2015/lib/navigation/navigation-api.js +1 -1
  128. package/esm2015/lib/navigation/navigation.module.js +1 -1
  129. package/esm2015/lib/oauth/models/constants.js +1 -1
  130. package/esm2015/lib/oauth/models/generated/accountManagementAssertionModel.js +1 -1
  131. package/esm2015/lib/oauth/models/generated/accountManagementRefreshRequestModel.js +1 -1
  132. package/esm2015/lib/oauth/models/generated/accountManagementResponseModel.js +1 -1
  133. package/esm2015/lib/oauth/models/generated/coverageDetail.js +1 -1
  134. package/esm2015/lib/oauth/models/generated/finance.js +1 -1
  135. package/esm2015/lib/oauth/models/generated/iSsoResponseModel.js +1 -1
  136. package/esm2015/lib/oauth/models/generated/iSsoResponseModelAccountManagementAssertionModel.js +1 -1
  137. package/esm2015/lib/oauth/models/generated/person.js +1 -1
  138. package/esm2015/lib/oauth/models/generated/policy.js +1 -1
  139. package/esm2015/lib/oauth/models/generated/refreshResponseModel.js +1 -1
  140. package/esm2015/lib/oauth/models/hybrid-saml-oauth-config.js +1 -1
  141. package/esm2015/lib/oauth/oauth-api.js +1 -1
  142. package/esm2015/lib/oauth/oauth.module.js +1 -1
  143. package/esm2015/lib/oauth/services/hybrid-saml-oauth.service.js +1 -1
  144. package/esm2015/lib/rbac/directives/rbac-action.directive.js +1 -1
  145. package/esm2015/lib/rbac/models/access-token-claims.js +1 -1
  146. package/esm2015/lib/rbac/models/constants.js +1 -1
  147. package/esm2015/lib/rbac/models/decoded-access-token.js +1 -1
  148. package/esm2015/lib/rbac/models/rbac-config.js +1 -1
  149. package/esm2015/lib/rbac/models/role-access.js +1 -1
  150. package/esm2015/lib/rbac/rbac-api.js +1 -1
  151. package/esm2015/lib/rbac/rbac.module.js +1 -1
  152. package/esm2015/lib/rbac/services/ar-role-nav.service.js +1 -1
  153. package/esm2015/lib/rbac/services/oauth2-role.service.js +1 -1
  154. package/esm2015/lib/rbac/services/role-nav.service.js +1 -1
  155. package/esm2015/lib/rum/models/arm-error.js +1 -1
  156. package/esm2015/lib/rum/models/rum-config.js +1 -1
  157. package/esm2015/lib/rum/rum-api.js +1 -1
  158. package/esm2015/lib/rum/rum.module.js +1 -1
  159. package/esm2015/lib/rum/services/rum.service.js +1 -1
  160. package/esm2015/lib/rum/services/shared-error.service.js +1 -1
  161. package/esm2015/lib/rum/services/softheon-error-handler.service.js +1 -1
  162. package/esm2015/lib/saml/components/redirect-saml/redirect-saml.component.js +1 -1
  163. package/esm2015/lib/saml/models/i-saml-request.js +1 -1
  164. package/esm2015/lib/saml/models/i-saml-response.js +1 -1
  165. package/esm2015/lib/saml/models/redirect-saml-request.js +1 -1
  166. package/esm2015/lib/saml/models/sso-gateway-model.js +1 -1
  167. package/esm2015/lib/saml/saml-api.js +1 -1
  168. package/esm2015/lib/saml/saml.module.js +1 -1
  169. package/esm2015/lib/saml/services/entry/abstract-saml-entry.service.js +1 -1
  170. package/esm2015/lib/saml/services/entry/sso-gateway-entry.service.js +1 -1
  171. package/esm2015/lib/saml/services/send-off/abstract-saml.service.js +1 -1
  172. package/esm2015/lib/saml/services/send-off/saml.service.js +1 -1
  173. package/esm2015/lib/theming/directives/css-override.directive.js +1 -1
  174. package/esm2015/lib/theming/models/css-override.js +1 -1
  175. package/esm2015/lib/theming/services/theme.service.js +1 -1
  176. package/esm2015/lib/theming/theme-api.js +1 -1
  177. package/esm2015/lib/theming/theme.module.js +1 -1
  178. package/esm2015/public-api.js +1 -1
  179. package/esm2015/softheon-armature.js +1 -1
  180. package/fesm2015/softheon-armature.js +29 -11
  181. package/fesm2015/softheon-armature.js.map +1 -1
  182. package/lib/base-components/sof-progress-bar/sof-progress-bar.component.d.ts +8 -6
  183. package/lib/navigation/components/navigation/navigation.component.d.ts +4 -0
  184. package/package.json +1 -1
  185. package/softheon-armature.metadata.json +1 -1
@@ -161,8 +161,28 @@ mat-form-field {
161
161
  color: mat-color($arm-primary, 500);
162
162
  }
163
163
 
164
- .input-icon {
165
- font-size: 1.5em !important;
164
+ .color-accent {
165
+ color: mat-color($arm-accent, 500);
166
+ }
167
+
168
+ .color-warn {
169
+ color: mat-color($arm-warn, 500);
170
+ }
171
+
172
+ .color-info {
173
+ color: mat-color($arm-info, 500);
174
+ }
175
+
176
+ .color-success {
177
+ color: mat-color($arm-success, 500);
178
+ }
179
+
180
+ .color-error {
181
+ color: mat-color($arm-error, 500);
182
+ }
183
+
184
+ .color-neutral {
185
+ color: mat-color($arm-neutral, 500);
166
186
  }
167
187
 
168
188
  .full-width {
@@ -191,61 +211,113 @@ mat-form-field {
191
211
  text-align: center;
192
212
  }
193
213
 
194
- mat-button-toggle-group {
195
- &.mat-button-toggle-group {
196
- ::ng-deep &.sof-toggle-group {
197
- width: 230px !important;
198
- border: 1px solid mat-color($arm-primary, 500) !important;
199
- border-radius: 6px !important;
200
- mat-button-toggle {
201
- flex: 1 1 100% !important;
202
- box-sizing: border-box !important;
203
- align-items: center !important;
204
- flex-direction: row !important;
205
- display: flex !important;
206
- &.mat-button-toggle-checked {
207
- background-color: mat-color($arm-primary, 100) !important;
208
- color: mat-contrast($arm-primary, 500) !important;
209
- }
210
- button.mat-button-toggle-button {
211
- .mat-button-toggle-label-content {
212
- text-transform: uppercase !important;
213
- font-weight: bold !important;
214
- color: #000000de !important;
215
- }
216
- }
214
+ ::ng-deep mat-button-toggle-group {
215
+ &.sof-toggle-group {
216
+ height: 48px !important;
217
+ &.mat-button-toggle-group.mat-button-toggle-group-appearance-standard {
218
+ border: none !important;
219
+ border-radius: 0px !important;
220
+ }
221
+ &.full-width {
222
+ .toggle-left {
223
+ width: 100% !important;
224
+ }
225
+ .toggle-middle {
226
+ width: 100% !important;
227
+ }
228
+ .toggle-right {
229
+ width: 100% !important;
217
230
  }
218
231
  }
219
- }
220
- }
221
232
 
222
- /** Material Overrides */
223
-
224
- button.mat-button {
225
- &.sof-button {
226
- padding: 0px 24px !important;
227
- height: 48px !important;
228
- border-radius: 6px !important;
229
- font-family: Poppins !important;
230
- font-style: normal !important;
231
- font-weight: 600 !important;
232
- font-size: 16px !important;
233
- line-height: 24px !important;
234
- letter-spacing: 0.05em !important;
235
- text-transform: uppercase !important;
236
-
237
- &.fixed-width {
238
- width: 200px !important; // Use this is to match specific sizing
233
+ .mat-button-toggle-label-content {
234
+ text-transform: uppercase !important;
235
+ font-family: "Poppins" !important;
236
+ font-style: normal !important;
237
+ font-weight: 600 !important;
238
+ font-size: 16px !important;
239
+ line-height: 24px !important;
240
+ letter-spacing: 0.05em !important;
241
+ text-align: center !important;
242
+ color: black !important;
243
+ }
244
+ .mat-button-toggle-button {
245
+ height: 100% !important;
246
+ }
247
+ .mat-button-toggle-checked {
248
+ background-color: mat-color($arm-primary, 100) !important;
249
+ }
250
+ .toggle-left {
251
+ border-top: 2px solid mat-color($arm-primary, 500) !important;
252
+ border-bottom: 2px solid mat-color($arm-primary, 500) !important;
253
+ border-left: 2px solid mat-color($arm-primary, 500) !important;
254
+ border-right: 1px solid mat-color($arm-primary, 500) !important;
255
+ border-radius: 6px 0px 0px 6px !important;
256
+ width: 120px !important;
257
+ }
258
+ .toggle-middle {
259
+ border-top: 2px solid mat-color($arm-primary, 500) !important;
260
+ border-bottom: 2px solid mat-color($arm-primary, 500) !important;
261
+ border-left: 1px solid mat-color($arm-primary, 500) !important;
262
+ border-right: 1px solid mat-color($arm-primary, 500) !important;
263
+ border-radius: 0px 0px 0px 0px !important;
264
+ width: 120px !important;
265
+ }
266
+ .toggle-right {
267
+ border-top: 2px solid mat-color($arm-primary, 500) !important;
268
+ border-bottom: 2px solid mat-color($arm-primary, 500) !important;
269
+ border-left: 1px solid mat-color($arm-primary, 500) !important;
270
+ border-right: 2px solid mat-color($arm-primary, 500) !important;
271
+ border-radius: 0px 6px 6px 0px !important;
272
+ width: 120px !important;
239
273
  }
240
274
 
241
- &.full-width {
242
- width: 100% !important; // Use this is button width will take size of flex percentage
275
+ .mat-button-toggle-disabled {
276
+ &.mat-button-toggle-checked {
277
+ background-color: mat-color($arm-neutral, 200) !important;
278
+ }
279
+ &.toggle-left {
280
+ border-top: 2px solid mat-color($arm-neutral, 400) !important;
281
+ border-bottom: 2px solid mat-color($arm-neutral, 400) !important;
282
+ border-left: 2px solid mat-color($arm-neutral, 400) !important;
283
+ border-right: 1px solid mat-color($arm-neutral, 400) !important;
284
+ border-radius: 6px 0px 0px 6px !important;
285
+ width: 120px !important;
286
+ }
287
+ &.toggle-middle {
288
+ border-top: 2px solid mat-color($arm-neutral, 400) !important;
289
+ border-bottom: 2px solid mat-color($arm-neutral, 400) !important;
290
+ border-left: 1px solid mat-color($arm-neutral, 400) !important;
291
+ border-right: 1px solid mat-color($arm-neutral, 400) !important;
292
+ border-radius: 0px 0px 0px 0px !important;
293
+ width: 120px !important;
294
+ }
295
+ &.toggle-right {
296
+ border-top: 2px solid mat-color($arm-neutral, 400) !important;
297
+ border-bottom: 2px solid mat-color($arm-neutral, 400) !important;
298
+ border-left: 1px solid mat-color($arm-neutral, 400) !important;
299
+ border-right: 2px solid mat-color($arm-neutral, 400) !important;
300
+ border-radius: 0px 6px 6px 0px !important;
301
+ width: 120px !important;
302
+ }
243
303
  }
244
304
  }
305
+
306
+ &.sof-toggle-group[size="small"] {
307
+ height: 36px !important;
308
+ }
309
+ &.sof-toggle-group[size="medium"] {
310
+ height: 48px !important;
311
+ }
312
+ &.sof-toggle-group[size="large"] {
313
+ height: 56px !important;
314
+ }
245
315
  }
246
316
 
247
- button.mat-flat-button {
248
- &.sof-flat-button {
317
+ /** Material Overrides */
318
+
319
+ button.mat-button {
320
+ &.sof-button {
249
321
  padding: 0px 24px !important;
250
322
  height: 48px !important;
251
323
  border-radius: 6px !important;
@@ -266,98 +338,197 @@ button.mat-flat-button {
266
338
  }
267
339
 
268
340
  &:enabled {
269
- color: #ffffff !important;
270
341
  &.mat-primary {
271
- background: mat-color($arm-primary, 500);
342
+ color: mat-color($arm-primary, 500) !important;
272
343
  &:hover {
273
- background-color: mat-color($arm-primary, 700);
344
+ background-color: mat-color($arm-primary, 50);
274
345
  }
275
346
  &:focus {
276
- background-color: mat-color($arm-primary, 900);
347
+ background-color: mat-color($arm-primary, 100);
277
348
  }
278
349
  }
279
350
  &.mat-accent {
280
- background: mat-color($arm-accent, 500);
351
+ color: mat-color($arm-accent, 500) !important;
281
352
  &:hover {
282
- background-color: mat-color($arm-accent, 700);
353
+ background-color: mat-color($arm-accent, 50);
283
354
  }
284
355
  &:focus {
285
- background-color: mat-color($arm-accent, 900);
356
+ background-color: mat-color($arm-accent, 100);
286
357
  }
287
358
  }
288
359
  &.mat-warn {
289
- background: mat-color($arm-warn, 500);
360
+ color: mat-color($arm-warn, 500) !important;
290
361
  &:hover {
291
- background-color: mat-color($arm-warn, 700);
362
+ background-color: mat-color($arm-warn, 50);
292
363
  }
293
364
  &:focus {
294
- background-color: mat-color($arm-warn, 900);
365
+ background-color: mat-color($arm-warn, 100);
295
366
  }
296
367
  }
297
- i {
298
- color: #ffffff !important;
368
+ &.mat-success {
369
+ color: mat-color($arm-success, 500) !important;
370
+ &:hover {
371
+ background-color: mat-color($arm-success, 50);
372
+ }
373
+ &:focus {
374
+ background-color: mat-color($arm-success, 100);
375
+ }
376
+ }
377
+ &.mat-error {
378
+ color: mat-color($arm-error, 500) !important;
379
+ &:hover {
380
+ background-color: mat-color($arm-error, 50);
381
+ }
382
+ &:focus {
383
+ background-color: mat-color($arm-error, 100);
384
+ }
385
+ }
386
+ &.mat-info {
387
+ color: mat-color($arm-info, 500) !important;
388
+ &:hover {
389
+ background-color: mat-color($arm-info, 50);
390
+ }
391
+ &:focus {
392
+ background-color: mat-color($arm-info, 100);
393
+ }
394
+ }
395
+ &.mat-neutral {
396
+ color: #000000de !important;
397
+ &:hover {
398
+ background-color: mat-color($arm-neutral, 50);
399
+ }
400
+ &:focus {
401
+ background-color: mat-color($arm-neutral, 100);
402
+ }
299
403
  }
300
404
  }
301
405
 
302
406
  &:disabled {
303
- background: #f7f7f7 !important;
304
407
  color: rgba(0, 0, 0, 0.6) !important;
305
408
  opacity: 1 !important;
306
409
  }
410
+
411
+ i {
412
+ margin-left: -8px !important;
413
+ margin-right: 4px !important;
414
+ }
307
415
  }
308
- &.sof-flat-button-large {
309
- padding: 0px 24px !important;
416
+ &.sof-button[size="small"] {
417
+ height: 36px !important;
418
+ i {
419
+ font-size: 1em !important;
420
+ }
421
+ }
422
+ &.sof-button[size="medium"] {
423
+ height: 48px !important;
424
+ i {
425
+ font-size: 1em !important;
426
+ }
427
+ }
428
+ &.sof-button[size="large"] {
310
429
  height: 56px !important;
430
+ i {
431
+ font-size: 1.15em !important;
432
+ }
433
+ }
434
+
435
+ &.sof-icon-button {
311
436
  border-radius: 6px !important;
312
- font-family: Poppins !important;
313
- font-style: normal !important;
314
- font-weight: 600 !important;
315
- font-size: 16px !important;
316
- line-height: 24px !important;
317
- letter-spacing: 0.05em !important;
318
- text-transform: uppercase !important;
437
+ padding: 0px !important;
319
438
 
320
439
  &:enabled {
321
- color: #ffffff !important;
322
440
  &.mat-primary {
323
- background: mat-color($arm-primary, 500);
441
+ color: mat-color($arm-primary, 500) !important;
324
442
  &:hover {
325
- background-color: mat-color($arm-primary, 700);
443
+ background-color: mat-color($arm-primary, 50);
326
444
  }
327
445
  &:focus {
328
- background-color: mat-color($arm-primary, 900);
446
+ background-color: mat-color($arm-primary, 100);
329
447
  }
330
448
  }
331
449
  &.mat-accent {
332
- background: mat-color($arm-accent, 500);
450
+ color: mat-color($arm-accent, 500) !important;
333
451
  &:hover {
334
- background-color: mat-color($arm-accent, 700);
452
+ background-color: mat-color($arm-accent, 50);
335
453
  }
336
454
  &:focus {
337
- background-color: mat-color($arm-accent, 900);
455
+ background-color: mat-color($arm-accent, 100);
338
456
  }
339
457
  }
340
458
  &.mat-warn {
341
- background: mat-color($arm-warn, 500);
459
+ color: mat-color($arm-warn, 500) !important;
342
460
  &:hover {
343
- background-color: mat-color($arm-warn, 700);
461
+ background-color: mat-color($arm-warn, 50);
344
462
  }
345
463
  &:focus {
346
- background-color: mat-color($arm-warn, 900);
464
+ background-color: mat-color($arm-warn, 100);
347
465
  }
348
466
  }
349
- i {
350
- color: #ffffff !important;
467
+ &.mat-success {
468
+ color: mat-color($arm-success, 500) !important;
469
+ &:hover {
470
+ background-color: mat-color($arm-success, 50);
471
+ }
472
+ &:focus {
473
+ background-color: mat-color($arm-success, 100);
474
+ }
475
+ }
476
+ &.mat-error {
477
+ color: mat-color($arm-error, 500) !important;
478
+ &:hover {
479
+ background-color: mat-color($arm-error, 50);
480
+ }
481
+ &:focus {
482
+ background-color: mat-color($arm-error, 100);
483
+ }
484
+ }
485
+ &.mat-info {
486
+ color: mat-color($arm-info, 500) !important;
487
+ &:hover {
488
+ background-color: mat-color($arm-info, 50);
489
+ }
490
+ &:focus {
491
+ background-color: mat-color($arm-info, 100);
492
+ }
493
+ }
494
+ &.mat-neutral {
495
+ color: #000000de !important;
496
+ &:hover {
497
+ background-color: mat-color($arm-neutral, 50);
498
+ }
499
+ &:focus {
500
+ background-color: mat-color($arm-neutral, 100);
501
+ }
351
502
  }
352
503
  }
353
504
 
354
505
  &:disabled {
355
- background: #f7f7f7 !important;
356
506
  color: rgba(0, 0, 0, 0.6) !important;
357
507
  opacity: 1 !important;
358
508
  }
359
509
  }
360
- &.sof-flat-button-medium {
510
+ &.sof-icon-button[size="small"] {
511
+ height: 36px !important;
512
+ width: 36px !important;
513
+ min-width: 36px !important;
514
+ font-size: 19px !important;
515
+ }
516
+ &.sof-icon-button[size="medium"] {
517
+ height: 48px !important;
518
+ width: 48px !important;
519
+ min-width: 48px !important;
520
+ font-size: 26px !important;
521
+ }
522
+ &.sof-icon-button[size="large"] {
523
+ height: 56px !important;
524
+ width: 56px !important;
525
+ min-width: 56px !important;
526
+ font-size: 26px !important;
527
+ }
528
+ }
529
+
530
+ button.mat-flat-button {
531
+ &.sof-flat-button {
361
532
  padding: 0px 24px !important;
362
533
  height: 48px !important;
363
534
  border-radius: 6px !important;
@@ -369,6 +540,14 @@ button.mat-flat-button {
369
540
  letter-spacing: 0.05em !important;
370
541
  text-transform: uppercase !important;
371
542
 
543
+ &.fixed-width {
544
+ width: 200px !important; // Use this is to match specific sizing
545
+ }
546
+
547
+ &.full-width {
548
+ width: 100% !important; // Use this is button width will take size of flex percentage
549
+ }
550
+
372
551
  &:enabled {
373
552
  color: #ffffff !important;
374
553
  &.mat-primary {
@@ -398,6 +577,42 @@ button.mat-flat-button {
398
577
  background-color: mat-color($arm-warn, 900);
399
578
  }
400
579
  }
580
+ &.mat-success {
581
+ background: mat-color($arm-success, 500);
582
+ &:hover {
583
+ background-color: mat-color($arm-success, 700);
584
+ }
585
+ &:focus {
586
+ background-color: mat-color($arm-success, 900);
587
+ }
588
+ }
589
+ &.mat-error {
590
+ background: mat-color($arm-error, 500);
591
+ &:hover {
592
+ background-color: mat-color($arm-error, 700);
593
+ }
594
+ &:focus {
595
+ background-color: mat-color($arm-error, 900);
596
+ }
597
+ }
598
+ &.mat-info {
599
+ background: mat-color($arm-info, 500);
600
+ &:hover {
601
+ background-color: mat-color($arm-info, 700);
602
+ }
603
+ &:focus {
604
+ background-color: mat-color($arm-info, 900);
605
+ }
606
+ }
607
+ &.mat-neutral {
608
+ background: #000000de;
609
+ &:hover {
610
+ background-color: mat-color($arm-neutral, 700);
611
+ }
612
+ &:focus {
613
+ background-color: mat-color($arm-neutral, 900);
614
+ }
615
+ }
401
616
  i {
402
617
  color: #ffffff !important;
403
618
  }
@@ -408,18 +623,34 @@ button.mat-flat-button {
408
623
  color: rgba(0, 0, 0, 0.6) !important;
409
624
  opacity: 1 !important;
410
625
  }
626
+
627
+ i {
628
+ margin-left: -8px !important;
629
+ margin-right: 4px !important;
630
+ }
411
631
  }
412
- &.sof-flat-button-small {
413
- padding: 0px 24px !important;
632
+ &.sof-flat-button[size="small"] {
414
633
  height: 36px !important;
634
+ i {
635
+ font-size: 1em !important;
636
+ }
637
+ }
638
+ &.sof-flat-button[size="medium"] {
639
+ height: 48px !important;
640
+ i {
641
+ font-size: 1em !important;
642
+ }
643
+ }
644
+ &.sof-flat-button[size="large"] {
645
+ height: 56px !important;
646
+ i {
647
+ font-size: 1.15em !important;
648
+ }
649
+ }
650
+
651
+ &.sof-flat-icon-button {
415
652
  border-radius: 6px !important;
416
- font-family: Poppins !important;
417
- font-style: normal !important;
418
- font-weight: 600 !important;
419
- font-size: 16px !important;
420
- line-height: 24px !important;
421
- letter-spacing: 0.05em !important;
422
- text-transform: uppercase !important;
653
+ padding: 0px !important;
423
654
 
424
655
  &:enabled {
425
656
  color: #ffffff !important;
@@ -450,6 +681,42 @@ button.mat-flat-button {
450
681
  background-color: mat-color($arm-warn, 900);
451
682
  }
452
683
  }
684
+ &.mat-success {
685
+ background: mat-color($arm-success, 500);
686
+ &:hover {
687
+ background-color: mat-color($arm-success, 700);
688
+ }
689
+ &:focus {
690
+ background-color: mat-color($arm-success, 900);
691
+ }
692
+ }
693
+ &.mat-error {
694
+ background: mat-color($arm-error, 500);
695
+ &:hover {
696
+ background-color: mat-color($arm-error, 700);
697
+ }
698
+ &:focus {
699
+ background-color: mat-color($arm-error, 900);
700
+ }
701
+ }
702
+ &.mat-info {
703
+ background: mat-color($arm-info, 500);
704
+ &:hover {
705
+ background-color: mat-color($arm-info, 700);
706
+ }
707
+ &:focus {
708
+ background-color: mat-color($arm-info, 900);
709
+ }
710
+ }
711
+ &.mat-neutral {
712
+ background: #000000de;
713
+ &:hover {
714
+ background-color: mat-color($arm-neutral, 700);
715
+ }
716
+ &:focus {
717
+ background-color: mat-color($arm-neutral, 900);
718
+ }
719
+ }
453
720
  i {
454
721
  color: #ffffff !important;
455
722
  }
@@ -461,6 +728,24 @@ button.mat-flat-button {
461
728
  opacity: 1 !important;
462
729
  }
463
730
  }
731
+ &.sof-flat-icon-button[size="small"] {
732
+ height: 36px !important;
733
+ width: 36px !important;
734
+ min-width: 36px !important;
735
+ font-size: 19px !important;
736
+ }
737
+ &.sof-flat-icon-button[size="medium"] {
738
+ height: 48px !important;
739
+ width: 48px !important;
740
+ min-width: 48px !important;
741
+ font-size: 26px !important;
742
+ }
743
+ &.sof-flat-icon-button[size="large"] {
744
+ height: 56px !important;
745
+ width: 56px !important;
746
+ min-width: 56px !important;
747
+ font-size: 26px !important;
748
+ }
464
749
  }
465
750
 
466
751
  button.mat-stroked-button {
@@ -549,6 +834,82 @@ button.mat-stroked-button {
549
834
  }
550
835
  }
551
836
  }
837
+ &.mat-success {
838
+ background-color: mat-color($arm-success, 50) !important;
839
+ color: mat-color($arm-success, 500) !important;
840
+ i {
841
+ color: mat-color($arm-success, 500) !important;
842
+ }
843
+ &:hover {
844
+ background-color: mat-color($arm-success, 100) !important;
845
+ color: white !important;
846
+ i {
847
+ color: white !important;
848
+ }
849
+ }
850
+ &:focus {
851
+ background-color: mat-color($arm-success, 200) !important;
852
+ color: white !important;
853
+ i {
854
+ color: white !important;
855
+ }
856
+ }
857
+ }
858
+ &.mat-info {
859
+ background-color: mat-color($arm-info, 50) !important;
860
+ color: mat-color($arm-info, 500) !important;
861
+ i {
862
+ color: mat-color($arm-info, 500) !important;
863
+ }
864
+ &:hover {
865
+ background-color: mat-color($arm-info, 100) !important;
866
+ color: white !important;
867
+ i {
868
+ color: white !important;
869
+ }
870
+ }
871
+ &:focus {
872
+ background-color: mat-color($arm-info, 200) !important;
873
+ color: white !important;
874
+ i {
875
+ color: white !important;
876
+ }
877
+ }
878
+ }
879
+ &.mat-error {
880
+ background-color: mat-color($arm-error, 50) !important;
881
+ color: mat-color($arm-error, 500) !important;
882
+ i {
883
+ color: mat-color($arm-error, 500) !important;
884
+ }
885
+ &:hover {
886
+ background-color: mat-color($arm-error, 100) !important;
887
+ color: white !important;
888
+ i {
889
+ color: white !important;
890
+ }
891
+ }
892
+ &:focus {
893
+ background-color: mat-color($arm-error, 200) !important;
894
+ color: white !important;
895
+ i {
896
+ color: white !important;
897
+ }
898
+ }
899
+ }
900
+ &.mat-neutral {
901
+ background-color: mat-color($arm-neutral, 50) !important;
902
+ color: #000000de !important;
903
+ i {
904
+ color: #000000de !important;
905
+ }
906
+ &:hover {
907
+ background-color: mat-color($arm-neutral, 100) !important;
908
+ }
909
+ &:focus {
910
+ background-color: mat-color($arm-neutral, 200) !important;
911
+ }
912
+ }
552
913
  }
553
914
 
554
915
  &:disabled {
@@ -556,11 +917,16 @@ button.mat-stroked-button {
556
917
  color: rgba(0, 0, 0, 0.6) !important;
557
918
  opacity: 1 !important;
558
919
  }
920
+
921
+ i {
922
+ margin-left: -8px !important;
923
+ margin-right: 4px !important;
924
+ }
559
925
  }
560
- &.sof-stroked-button-large {
926
+ &.sof-stroked-button-outline {
561
927
  padding: 0px 24px !important;
562
- height: 56px !important;
563
- border: none !important;
928
+ height: 48px !important;
929
+ background: #ffffff !important;
564
930
  border-radius: 6px !important;
565
931
  font-family: Poppins !important;
566
932
  font-style: normal !important;
@@ -570,68 +936,104 @@ button.mat-stroked-button {
570
936
  letter-spacing: 0.05em !important;
571
937
  text-transform: uppercase !important;
572
938
 
939
+ &.fixed-width {
940
+ width: 200px !important; // Use this is to match specific sizing
941
+ }
942
+
943
+ &.full-width {
944
+ width: 100% !important; // Use this is button width will take size of flex percentage
945
+ }
946
+
573
947
  &:enabled {
574
948
  &.mat-primary {
575
- background-color: mat-color($arm-primary, 50) !important;
949
+ border: 2px solid mat-color($arm-primary, 500) !important;
576
950
  color: mat-color($arm-primary, 500) !important;
577
951
  i {
578
952
  color: mat-color($arm-primary, 500) !important;
579
953
  }
580
954
  &:hover {
581
955
  background-color: mat-color($arm-primary, 100) !important;
582
- color: white !important;
583
- i {
584
- color: white !important;
585
- }
586
956
  }
587
957
  &:focus {
588
958
  background-color: mat-color($arm-primary, 200) !important;
589
- color: white !important;
590
- i {
591
- color: white !important;
592
- }
593
959
  }
594
960
  }
595
961
  &.mat-accent {
596
- background-color: mat-color($arm-accent, 50) !important;
962
+ border: 2px solid mat-color($arm-accent, 500) !important;
597
963
  color: mat-color($arm-accent, 500) !important;
598
964
  i {
599
965
  color: mat-color($arm-accent, 500) !important;
600
966
  }
601
967
  &:hover {
602
968
  background-color: mat-color($arm-accent, 100) !important;
603
- color: white !important;
604
- i {
605
- color: white !important;
606
- }
607
969
  }
608
970
  &:focus {
609
971
  background-color: mat-color($arm-accent, 200) !important;
610
- color: white !important;
611
- i {
612
- color: white !important;
613
- }
614
972
  }
615
973
  }
616
974
  &.mat-warn {
617
- background-color: mat-color($arm-warn, 50) !important;
975
+ border: 2px solid mat-color($arm-warn, 500) !important;
618
976
  color: mat-color($arm-warn, 500) !important;
619
977
  i {
620
- color: mat-color($arm-warn, 500) !important;
978
+ color: mat-color($arm-warn, 500) !important;
979
+ }
980
+ &:hover {
981
+ background-color: mat-color($arm-warn, 100) !important;
982
+ }
983
+ &:focus {
984
+ background-color: mat-color($arm-warn, 200) !important;
985
+ }
986
+ }
987
+ &.mat-success {
988
+ border: 2px solid mat-color($arm-success, 500) !important;
989
+ color: mat-color($arm-success, 500) !important;
990
+ i {
991
+ color: mat-color($arm-success, 500) !important;
992
+ }
993
+ &:hover {
994
+ background-color: mat-color($arm-success, 100) !important;
995
+ }
996
+ &:focus {
997
+ background-color: mat-color($arm-success, 200) !important;
998
+ }
999
+ }
1000
+ &.mat-error {
1001
+ border: 2px solid mat-color($arm-error, 500) !important;
1002
+ color: mat-color($arm-error, 500) !important;
1003
+ i {
1004
+ color: mat-color($arm-error, 500) !important;
1005
+ }
1006
+ &:hover {
1007
+ background-color: mat-color($arm-error, 100) !important;
1008
+ }
1009
+ &:focus {
1010
+ background-color: mat-color($arm-error, 200) !important;
1011
+ }
1012
+ }
1013
+ &.mat-info {
1014
+ border: 2px solid mat-color($arm-info, 500) !important;
1015
+ color: mat-color($arm-info, 500) !important;
1016
+ i {
1017
+ color: mat-color($arm-info, 500) !important;
1018
+ }
1019
+ &:hover {
1020
+ background-color: mat-color($arm-info, 100) !important;
1021
+ }
1022
+ &:focus {
1023
+ background-color: mat-color($arm-info, 200) !important;
1024
+ }
1025
+ }
1026
+ &.mat-neutral {
1027
+ border: 2px solid #000000de !important;
1028
+ color: #000000de !important;
1029
+ i {
1030
+ color: 000000de !important;
621
1031
  }
622
1032
  &:hover {
623
- background-color: mat-color($arm-warn, 100) !important;
624
- color: white !important;
625
- i {
626
- color: white !important;
627
- }
1033
+ background-color: mat-color($arm-neutral, 100) !important;
628
1034
  }
629
1035
  &:focus {
630
- background-color: mat-color($arm-warn, 200) !important;
631
- color: white !important;
632
- i {
633
- color: white !important;
634
- }
1036
+ background-color: mat-color($arm-neutral, 200) !important;
635
1037
  }
636
1038
  }
637
1039
  }
@@ -639,21 +1041,41 @@ button.mat-stroked-button {
639
1041
  &:disabled {
640
1042
  background: #f7f7f7 !important;
641
1043
  color: rgba(0, 0, 0, 0.6) !important;
1044
+ border: 2px solid rgba(0, 0, 0, 0.38) !important;
642
1045
  opacity: 1 !important;
643
1046
  }
1047
+
1048
+ i {
1049
+ margin-left: -8px !important;
1050
+ margin-right: 4px !important;
1051
+ }
644
1052
  }
645
- &.sof-stroked-button-medium {
646
- padding: 0px 24px !important;
1053
+ &.sof-stroked-button[size="small"],
1054
+ &.sof-stroked-button-outline[size="small"] {
1055
+ height: 36px !important;
1056
+ i {
1057
+ font-size: 1em !important;
1058
+ }
1059
+ }
1060
+ &.sof-stroked-button[size="medium"],
1061
+ &.sof-stroked-button-outline[size="medium"] {
647
1062
  height: 48px !important;
1063
+ i {
1064
+ font-size: 1em !important;
1065
+ }
1066
+ }
1067
+ &.sof-stroked-button[size="large"],
1068
+ &.sof-stroked-button-outline[size="large"] {
1069
+ height: 56px !important;
1070
+ i {
1071
+ font-size: 1.15em !important;
1072
+ }
1073
+ }
1074
+
1075
+ &.sof-stroked-icon-button {
648
1076
  border: none !important;
649
1077
  border-radius: 6px !important;
650
- font-family: Poppins !important;
651
- font-style: normal !important;
652
- font-weight: 600 !important;
653
- font-size: 16px !important;
654
- line-height: 24px !important;
655
- letter-spacing: 0.05em !important;
656
- text-transform: uppercase !important;
1078
+ padding: 0px !important;
657
1079
 
658
1080
  &:enabled {
659
1081
  &.mat-primary {
@@ -719,150 +1141,80 @@ button.mat-stroked-button {
719
1141
  }
720
1142
  }
721
1143
  }
722
- }
723
-
724
- &:disabled {
725
- background: #f7f7f7 !important;
726
- color: rgba(0, 0, 0, 0.6) !important;
727
- opacity: 1 !important;
728
- }
729
- }
730
- &.sof-stroked-button-small {
731
- padding: 0px 24px !important;
732
- height: 36px !important;
733
- border: none !important;
734
- border-radius: 6px !important;
735
- font-family: Poppins !important;
736
- font-style: normal !important;
737
- font-weight: 600 !important;
738
- font-size: 16px !important;
739
- line-height: 24px !important;
740
- letter-spacing: 0.05em !important;
741
- text-transform: uppercase !important;
742
-
743
- &:enabled {
744
- &.mat-primary {
745
- background-color: mat-color($arm-primary, 50) !important;
746
- color: mat-color($arm-primary, 500) !important;
1144
+ &.mat-success {
1145
+ background-color: mat-color($arm-success, 50) !important;
1146
+ color: mat-color($arm-success, 500) !important;
747
1147
  i {
748
- color: mat-color($arm-primary, 500) !important;
1148
+ color: mat-color($arm-success, 500) !important;
749
1149
  }
750
1150
  &:hover {
751
- background-color: mat-color($arm-primary, 100) !important;
1151
+ background-color: mat-color($arm-success, 100) !important;
752
1152
  color: white !important;
753
1153
  i {
754
1154
  color: white !important;
755
1155
  }
756
1156
  }
757
1157
  &:focus {
758
- background-color: mat-color($arm-primary, 200) !important;
1158
+ background-color: mat-color($arm-success, 200) !important;
759
1159
  color: white !important;
760
1160
  i {
761
1161
  color: white !important;
762
1162
  }
763
1163
  }
764
1164
  }
765
- &.mat-accent {
766
- background-color: mat-color($arm-accent, 50) !important;
767
- color: mat-color($arm-accent, 500) !important;
1165
+ &.mat-info {
1166
+ background-color: mat-color($arm-info, 50) !important;
1167
+ color: mat-color($arm-info, 500) !important;
768
1168
  i {
769
- color: mat-color($arm-accent, 500) !important;
1169
+ color: mat-color($arm-info, 500) !important;
770
1170
  }
771
1171
  &:hover {
772
- background-color: mat-color($arm-accent, 100) !important;
1172
+ background-color: mat-color($arm-info, 100) !important;
773
1173
  color: white !important;
774
1174
  i {
775
1175
  color: white !important;
776
1176
  }
777
1177
  }
778
1178
  &:focus {
779
- background-color: mat-color($arm-accent, 200) !important;
1179
+ background-color: mat-color($arm-info, 200) !important;
780
1180
  color: white !important;
781
1181
  i {
782
1182
  color: white !important;
783
1183
  }
784
1184
  }
785
1185
  }
786
- &.mat-warn {
787
- background-color: mat-color($arm-warn, 50) !important;
788
- color: mat-color($arm-warn, 500) !important;
1186
+ &.mat-error {
1187
+ background-color: mat-color($arm-error, 50) !important;
1188
+ color: mat-color($arm-error, 500) !important;
789
1189
  i {
790
- color: mat-color($arm-warn, 500) !important;
1190
+ color: mat-color($arm-error, 500) !important;
791
1191
  }
792
1192
  &:hover {
793
- background-color: mat-color($arm-warn, 100) !important;
1193
+ background-color: mat-color($arm-error, 100) !important;
794
1194
  color: white !important;
795
1195
  i {
796
1196
  color: white !important;
797
1197
  }
798
1198
  }
799
1199
  &:focus {
800
- background-color: mat-color($arm-warn, 200) !important;
1200
+ background-color: mat-color($arm-error, 200) !important;
801
1201
  color: white !important;
802
1202
  i {
803
1203
  color: white !important;
804
1204
  }
805
1205
  }
806
1206
  }
807
- }
808
-
809
- &:disabled {
810
- background: #f7f7f7 !important;
811
- color: rgba(0, 0, 0, 0.6) !important;
812
- opacity: 1 !important;
813
- }
814
- }
815
- &.sof-stroked-button-large-outline {
816
- padding: 0px 24px !important;
817
- height: 56px !important;
818
- background: #ffffff !important;
819
- border-radius: 6px !important;
820
- font-family: Poppins !important;
821
- font-style: normal !important;
822
- font-weight: 600 !important;
823
- font-size: 16px !important;
824
- line-height: 24px !important;
825
- letter-spacing: 0.05em !important;
826
- text-transform: uppercase !important;
827
-
828
- &:enabled {
829
- &.mat-primary {
830
- border: 2px solid mat-color($arm-primary, 500) !important;
831
- color: mat-color($arm-primary, 500) !important;
832
- i {
833
- color: mat-color($arm-primary, 500) !important;
834
- }
835
- &:hover {
836
- background-color: mat-color($arm-primary, 100) !important;
837
- }
838
- &:focus {
839
- background-color: mat-color($arm-primary, 200) !important;
840
- }
841
- }
842
- &.mat-accent {
843
- border: 2px solid mat-color($arm-accent, 500) !important;
844
- color: mat-color($arm-accent, 500) !important;
845
- i {
846
- color: mat-color($arm-accent, 500) !important;
847
- }
848
- &:hover {
849
- background-color: mat-color($arm-accent, 100) !important;
850
- }
851
- &:focus {
852
- background-color: mat-color($arm-accent, 200) !important;
853
- }
854
- }
855
- &.mat-warn {
856
- border: 2px solid mat-color($arm-warn, 500) !important;
857
- color: mat-color($arm-warn, 500) !important;
1207
+ &.mat-neutral {
1208
+ background-color: mat-color($arm-neutral, 50) !important;
1209
+ color: #000000de !important;
858
1210
  i {
859
- color: mat-color($arm-warn, 500) !important;
1211
+ color: #000000de !important;
860
1212
  }
861
1213
  &:hover {
862
- background-color: mat-color($arm-warn, 100) !important;
1214
+ background-color: mat-color($arm-neutral, 100) !important;
863
1215
  }
864
1216
  &:focus {
865
- background-color: mat-color($arm-warn, 200) !important;
1217
+ background-color: mat-color($arm-neutral, 200) !important;
866
1218
  }
867
1219
  }
868
1220
  }
@@ -873,18 +1225,10 @@ button.mat-stroked-button {
873
1225
  opacity: 1 !important;
874
1226
  }
875
1227
  }
876
- &.sof-stroked-button-medium-outline {
877
- padding: 0px 24px !important;
878
- height: 48px !important;
1228
+ &.sof-stroked-icon-button-outline {
879
1229
  background: #ffffff !important;
880
1230
  border-radius: 6px !important;
881
- font-family: Poppins !important;
882
- font-style: normal !important;
883
- font-weight: 600 !important;
884
- font-size: 16px !important;
885
- line-height: 24px !important;
886
- letter-spacing: 0.05em !important;
887
- text-transform: uppercase !important;
1231
+ padding: 0px !important;
888
1232
 
889
1233
  &:enabled {
890
1234
  &.mat-primary {
@@ -926,65 +1270,56 @@ button.mat-stroked-button {
926
1270
  background-color: mat-color($arm-warn, 200) !important;
927
1271
  }
928
1272
  }
929
- }
930
-
931
- &:disabled {
932
- background: #f7f7f7 !important;
933
- color: rgba(0, 0, 0, 0.6) !important;
934
- opacity: 1 !important;
935
- }
936
- }
937
- &.sof-stroked-button-small-outline {
938
- padding: 0px 24px !important;
939
- height: 36px !important;
940
- background: #ffffff !important;
941
- border-radius: 6px !important;
942
- font-family: Poppins !important;
943
- font-style: normal !important;
944
- font-weight: 600 !important;
945
- font-size: 16px !important;
946
- line-height: 24px !important;
947
- letter-spacing: 0.05em !important;
948
- text-transform: uppercase !important;
949
-
950
- &:enabled {
951
- &.mat-primary {
952
- border: 2px solid mat-color($arm-primary, 500) !important;
953
- color: mat-color($arm-primary, 500) !important;
1273
+ &.mat-success {
1274
+ border: 2px solid mat-color($arm-success, 500) !important;
1275
+ color: mat-color($arm-success, 500) !important;
954
1276
  i {
955
- color: mat-color($arm-primary, 500) !important;
1277
+ color: mat-color($arm-success, 500) !important;
956
1278
  }
957
1279
  &:hover {
958
- background-color: mat-color($arm-primary, 100) !important;
1280
+ background-color: mat-color($arm-success, 100) !important;
959
1281
  }
960
1282
  &:focus {
961
- background-color: mat-color($arm-primary, 200) !important;
1283
+ background-color: mat-color($arm-success, 200) !important;
962
1284
  }
963
1285
  }
964
- &.mat-accent {
965
- border: 2px solid mat-color($arm-accent, 500) !important;
966
- color: mat-color($arm-accent, 500) !important;
1286
+ &.mat-error {
1287
+ border: 2px solid mat-color($arm-error, 500) !important;
1288
+ color: mat-color($arm-error, 500) !important;
967
1289
  i {
968
- color: mat-color($arm-accent, 500) !important;
1290
+ color: mat-color($arm-error, 500) !important;
969
1291
  }
970
1292
  &:hover {
971
- background-color: mat-color($arm-accent, 100) !important;
1293
+ background-color: mat-color($arm-error, 100) !important;
972
1294
  }
973
1295
  &:focus {
974
- background-color: mat-color($arm-accent, 200) !important;
1296
+ background-color: mat-color($arm-error, 200) !important;
975
1297
  }
976
1298
  }
977
- &.mat-warn {
978
- border: 2px solid mat-color($arm-warn, 500) !important;
979
- color: mat-color($arm-warn, 500) !important;
1299
+ &.mat-info {
1300
+ border: 2px solid mat-color($arm-info, 500) !important;
1301
+ color: mat-color($arm-info, 500) !important;
980
1302
  i {
981
- color: mat-color($arm-warn, 500) !important;
1303
+ color: mat-color($arm-info, 500) !important;
982
1304
  }
983
1305
  &:hover {
984
- background-color: mat-color($arm-warn, 100) !important;
1306
+ background-color: mat-color($arm-info, 100) !important;
985
1307
  }
986
1308
  &:focus {
987
- background-color: mat-color($arm-warn, 200) !important;
1309
+ background-color: mat-color($arm-info, 200) !important;
1310
+ }
1311
+ }
1312
+ &.mat-neutral {
1313
+ border: 2px solid #000000de !important;
1314
+ color: #000000de !important;
1315
+ i {
1316
+ color: 000000de !important;
1317
+ }
1318
+ &:hover {
1319
+ background-color: mat-color($arm-neutral, 100) !important;
1320
+ }
1321
+ &:focus {
1322
+ background-color: mat-color($arm-neutral, 200) !important;
988
1323
  }
989
1324
  }
990
1325
  }
@@ -992,49 +1327,30 @@ button.mat-stroked-button {
992
1327
  &:disabled {
993
1328
  background: #f7f7f7 !important;
994
1329
  color: rgba(0, 0, 0, 0.6) !important;
1330
+ border: 2px solid rgba(0, 0, 0, 0.38) !important;
995
1331
  opacity: 1 !important;
996
1332
  }
997
1333
  }
998
- &.action-btn {
999
- font-family: Poppins !important;
1000
- font-style: normal !important;
1001
- font-weight: 600 !important;
1002
- font-size: 16px !important;
1003
- line-height: 24px !important;
1004
- padding: 0px 24px !important;
1334
+ &.sof-stroked-icon-button[size="small"],
1335
+ &.sof-stroked-icon-button-outline[size="small"] {
1005
1336
  height: 36px !important;
1006
- letter-spacing: 0.05em !important;
1007
- text-transform: uppercase !important;
1008
- background: white !important;
1009
- border: 2px solid black !important;
1010
- box-sizing: border-box !important;
1011
- border-radius: 6px !important;
1012
- color: black !important;
1013
- white-space: normal !important;
1014
- i {
1015
- color: black !important;
1016
- }
1017
- &.mat-primary {
1018
- color: mat-color($arm-primary, 500) !important;
1019
- border: 2px solid mat-color($arm-primary, 500) !important;
1020
- i {
1021
- color: mat-color($arm-primary, 500) !important;
1022
- }
1023
- }
1024
- &.mat-accent {
1025
- color: mat-color($arm-accent, 500) !important;
1026
- border: 2px solid mat-color($arm-accent, 500) !important;
1027
- i {
1028
- color: mat-color($arm-accent, 500) !important;
1029
- }
1030
- }
1031
- &.mat-warn {
1032
- color: mat-color($arm-warn, 500) !important;
1033
- border: 2px solid mat-color($arm-warn, 500) !important;
1034
- i {
1035
- color: mat-color($arm-warn, 500) !important;
1036
- }
1037
- }
1337
+ width: 36px !important;
1338
+ min-width: 36px !important;
1339
+ font-size: 19px !important;
1340
+ }
1341
+ &.sof-stroked-icon-button[size="medium"],
1342
+ &.sof-stroked-icon-button-outline[size="medium"] {
1343
+ height: 48px !important;
1344
+ width: 48px !important;
1345
+ min-width: 48px !important;
1346
+ font-size: 26px !important;
1347
+ }
1348
+ &.sof-stroked-icon-button[size="large"],
1349
+ &.sof-stroked-icon-button-outline[size="large"] {
1350
+ height: 56px !important;
1351
+ width: 56px !important;
1352
+ min-width: 56px !important;
1353
+ font-size: 26px !important;
1038
1354
  }
1039
1355
  }
1040
1356
 
@@ -1110,6 +1426,7 @@ mat-card {
1110
1426
  }
1111
1427
 
1112
1428
  ::ng-deep mat-form-field.sof-form-field {
1429
+ font-family: "Poppins" !important;
1113
1430
  &.mat-form-field-invalid {
1114
1431
  .mat-form-field-flex > div.mat-form-field-outline.mat-form-field-outline-thick {
1115
1432
  color: mat-color($arm-error, 500) !important;
@@ -1118,6 +1435,13 @@ mat-card {
1118
1435
  color: mat-color($arm-error, 500) !important;
1119
1436
  }
1120
1437
  }
1438
+ &.mat-form-field-should-float {
1439
+ font-weight: 600 !important; // Should be 500, but 400/500 are the same.
1440
+ input,
1441
+ span.mat-select-value-text {
1442
+ font-weight: 400 !important;
1443
+ }
1444
+ }
1121
1445
  .mat-form-field-flex > div.mat-form-field-outline.mat-form-field-outline-thick {
1122
1446
  color: mat-color($arm-primary, 500) !important;
1123
1447
  }
@@ -1131,10 +1455,15 @@ mat-card {
1131
1455
  top: 0em !important;
1132
1456
  color: mat-color($arm-neutral, 300) !important;
1133
1457
  padding-right: 0.5em !important;
1458
+ font-size: 1.5em !important;
1134
1459
  }
1135
1460
  .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-suffix {
1136
1461
  top: 0em !important;
1137
- color: mat-color($arm-error, 500) !important;
1462
+ font-size: 1.5em !important;
1463
+ color: mat-color($arm-neutral, 300) !important;
1464
+ .error {
1465
+ color: mat-color($arm-error, 500) !important;
1466
+ }
1138
1467
  }
1139
1468
  .mat-form-field-flex div.mat-form-field-outline-start {
1140
1469
  border-radius: 6px 0 0 6px !important;
@@ -1149,7 +1478,7 @@ mat-card {
1149
1478
  mat-error {
1150
1479
  font-family: "Poppins" !important;
1151
1480
  font-style: normal !important;
1152
- font-weight: 400 !important;
1481
+ font-weight: 600 !important; // Should be 500, but 400/500 are the same.
1153
1482
  font-size: 12px !important;
1154
1483
  line-height: 18px !important;
1155
1484
  color: mat-color($arm-error, 500) !important;
@@ -1157,26 +1486,15 @@ mat-card {
1157
1486
  mat-hint {
1158
1487
  font-family: "Poppins" !important;
1159
1488
  font-style: normal !important;
1160
- font-weight: 400 !important;
1489
+ font-weight: 600 !important; // Should be 500, but 400/500 are the same.
1161
1490
  font-size: 12px !important;
1162
1491
  line-height: 18px !important;
1163
1492
  }
1164
1493
  }
1165
1494
 
1166
- .toggle-button-left {
1167
- border: 1px solid mat-color($arm-primary, 500);
1168
- border-radius: 3px 0px 0px 3px;
1169
- width: 120px;
1170
- }
1171
-
1172
- .toggle-button-right {
1173
- border: 1px solid mat-color($arm-primary, 500);
1174
- border-radius: 0px 3px 3px 0px;
1175
- width: 120px;
1176
- }
1177
-
1178
- ::ng-deep .mat-button-toggle-checked {
1179
- background-color: mat-color($arm-primary, 100) !important;
1495
+ mat-optgroup label,
1496
+ mat-optgroup mat-option {
1497
+ font-family: "Poppins" !important;
1180
1498
  }
1181
1499
 
1182
1500
  .mat-drawer-container.sof-ar-nav-sidenav-container {
@@ -1187,36 +1505,124 @@ mat-card {
1187
1505
 
1188
1506
  // MatSlideToggle class overrides [START]
1189
1507
  // https://material.angular.io/components/slide-toggle/api
1190
- ::ng-deep mat-slide-toggle.sof-slide-toggle {
1191
- .mat-slide-toggle-bar {
1192
- height: 20px !important;
1193
- width: 32px !important;
1194
- background: #cccccc !important;
1195
- border: 1px solid #cccccc !important;
1196
- border-radius: 24px !important;
1197
- }
1198
- .mat-slide-toggle-thumb {
1199
- height: 20px !important;
1200
- width: 20px !important;
1201
- border: 1px solid #cccccc !important;
1202
- border-radius: 24px !important;
1203
- top: -1px !important;
1204
- left: -3px !important;
1508
+ ::ng-deep mat-slide-toggle {
1509
+ &.sof-slide-toggle {
1510
+ height: auto;
1511
+ .mat-slide-toggle-bar {
1512
+ height: 20px !important;
1513
+ width: 32px !important;
1514
+ background: #cccccc !important;
1515
+ border: 1px solid #cccccc !important;
1516
+ border-radius: 24px !important;
1517
+ }
1518
+ .mat-slide-toggle-thumb {
1519
+ height: 20px !important;
1520
+ width: 20px !important;
1521
+ border: 1px solid #cccccc !important;
1522
+ border-radius: 24px !important;
1523
+ top: -1px !important;
1524
+ left: -3px !important;
1525
+ }
1526
+ .mat-slide-toggle-thumb-container {
1527
+ top: -1px !important;
1528
+ left: -3px !important;
1529
+ }
1530
+ .mat-slide-toggle-content {
1531
+ font-family: "Poppins" !important;
1532
+ font-style: normal !important;
1533
+ font-weight: 400 !important;
1534
+ font-size: 14px !important;
1535
+ line-height: 150% !important;
1536
+ white-space: normal !important;
1537
+ }
1538
+ .mat-slide-toggle-label {
1539
+ flex-direction: row;
1540
+ align-items: start !important;
1541
+ }
1205
1542
  }
1206
- .mat-slide-toggle-thumb-container {
1207
- top: -1px !important;
1208
- left: -3px !important;
1543
+
1544
+ &.sof-slide-toggle[size="large"] {
1545
+ .mat-slide-toggle-content {
1546
+ font-family: "Poppins" !important;
1547
+ font-style: normal !important;
1548
+ font-weight: 400 !important;
1549
+ font-size: 16px !important;
1550
+ line-height: 150% !important;
1551
+ white-space: normal !important;
1552
+ }
1209
1553
  }
1210
1554
  }
1211
1555
 
1212
- ::ng-deep mat-slide-toggle.sof-slide-toggle.mat-checked {
1213
- .mat-slide-toggle-thumb {
1214
- background-color: #ffffff !important;
1215
- border: 1px solid mat-color($arm-primary, 500) !important;
1556
+ ::ng-deep mat-slide-toggle.sof-slide-toggle.mat-checked:not(.mat-disabled) {
1557
+ &.mat-primary {
1558
+ .mat-slide-toggle-thumb {
1559
+ background-color: #ffffff !important;
1560
+ border: 1px solid mat-color($arm-primary, 500) !important;
1561
+ }
1562
+ .mat-slide-toggle-bar {
1563
+ background: mat-color($arm-primary, 500) !important;
1564
+ border: 1px solid mat-color($arm-primary, 500) !important;
1565
+ }
1216
1566
  }
1217
- .mat-slide-toggle-bar {
1218
- background: mat-color($arm-primary, 500) !important;
1219
- border: 1px solid mat-color($arm-primary, 500) !important;
1567
+ &.mat-accent {
1568
+ .mat-slide-toggle-thumb {
1569
+ background-color: #ffffff !important;
1570
+ border: 1px solid mat-color($arm-accent, 500) !important;
1571
+ }
1572
+ .mat-slide-toggle-bar {
1573
+ background: mat-color($arm-accent, 500) !important;
1574
+ border: 1px solid mat-color($arm-accent, 500) !important;
1575
+ }
1576
+ }
1577
+ &.mat-warn {
1578
+ .mat-slide-toggle-thumb {
1579
+ background-color: #ffffff !important;
1580
+ border: 1px solid mat-color($arm-warn, 500) !important;
1581
+ }
1582
+ .mat-slide-toggle-bar {
1583
+ background: mat-color($arm-warn, 500) !important;
1584
+ border: 1px solid mat-color($arm-warn, 500) !important;
1585
+ }
1586
+ }
1587
+ &.mat-success {
1588
+ .mat-slide-toggle-thumb {
1589
+ background-color: #ffffff !important;
1590
+ border: 1px solid mat-color($arm-success, 500) !important;
1591
+ }
1592
+ .mat-slide-toggle-bar {
1593
+ background: mat-color($arm-success, 500) !important;
1594
+ border: 1px solid mat-color($arm-success, 500) !important;
1595
+ }
1596
+ }
1597
+ &.mat-error {
1598
+ .mat-slide-toggle-thumb {
1599
+ background-color: #ffffff !important;
1600
+ border: 1px solid mat-color($arm-error, 500) !important;
1601
+ }
1602
+ .mat-slide-toggle-bar {
1603
+ background: mat-color($arm-error, 500) !important;
1604
+ border: 1px solid mat-color($arm-error, 500) !important;
1605
+ }
1606
+ }
1607
+ &.mat-info {
1608
+ .mat-slide-toggle-thumb {
1609
+ background-color: #ffffff !important;
1610
+ border: 1px solid mat-color($arm-info, 500) !important;
1611
+ }
1612
+ .mat-slide-toggle-bar {
1613
+ background: mat-color($arm-info, 500) !important;
1614
+ border: 1px solid mat-color($arm-info, 500) !important;
1615
+ }
1616
+ }
1617
+ &.mat-neutral {
1618
+ .mat-slide-toggle-thumb {
1619
+ background-color: #ffffff !important;
1620
+ border: 1px solid #000000de !important;
1621
+ }
1622
+ .mat-slide-toggle-bar {
1623
+ background: #000000de !important;
1624
+ border: 1px solid #000000de !important;
1625
+ }
1220
1626
  }
1221
1627
  }
1222
1628