@softheon/armature 17.17.1 → 17.18.0

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 (128) hide show
  1. package/README.md +6 -67
  2. package/ag-grid-components/package.json +3 -0
  3. package/assets/styles/{arm-theme.scss → _arm-theme.scss} +1 -0
  4. package/assets/styles/_responsive.scss +85 -0
  5. package/assets/styles/_typography.scss +180 -0
  6. package/assets/styles/_utility.scss +118 -29
  7. package/assets/styles/_variables.scss +2 -1
  8. package/assets/styles/deprecated/_button-deprecated.scss +1123 -0
  9. package/assets/styles/deprecated/_dialog-deprecated.scss +33 -0
  10. package/assets/styles/deprecated/_material-override-deprecated.scss +41 -0
  11. package/assets/styles/deprecated/_table-deprecated.scss +108 -0
  12. package/assets/styles/deprecated/_tooltip-deprecated.scss +93 -0
  13. package/assets/styles/material-override/_button-toggle-group.scss +122 -0
  14. package/assets/styles/material-override/_button.scss +266 -0
  15. package/assets/styles/material-override/_calendar.scss +85 -0
  16. package/assets/styles/material-override/_checkbox.scss +130 -0
  17. package/assets/styles/material-override/_chip.scss +254 -0
  18. package/assets/styles/material-override/_form-field.scss +137 -0
  19. package/assets/styles/material-override/_radio-button.scss +96 -0
  20. package/assets/styles/material-override/_slider.scss +102 -0
  21. package/assets/styles/material-override/_switch.scss +204 -0
  22. package/assets/styles/material-override/_tooltip.scss +2 -0
  23. package/assets/styles/sof-styles.scss +59 -3483
  24. package/esm2022/ag-grid-components/src/ag-grid-components.module.mjs +5 -5
  25. package/esm2022/ag-grid-components/src/column-options-modal/column-options.component.mjs +4 -4
  26. package/esm2022/ag-grid-components/src/sof-table/sof-table.component.mjs +4 -4
  27. package/esm2022/ag-grid-components/src/table-cell/table-cell.component.mjs +4 -4
  28. package/esm2022/lib/alert-banner/alert-banner.module.mjs +5 -5
  29. package/esm2022/lib/alert-banner/components/alert-banner/alert-banner.component.mjs +4 -4
  30. package/esm2022/lib/alert-banner/services/alert-banner.service.mjs +4 -4
  31. package/esm2022/lib/armature.module.mjs +14 -14
  32. package/esm2022/lib/base-components/base-component.module.mjs +5 -5
  33. package/esm2022/lib/base-components/confirm-address/sof-confirm-address/compare-address-pipe/compare-address.pipe.mjs +4 -4
  34. package/esm2022/lib/base-components/confirm-address/sof-confirm-address/sof-confirm-address.component.mjs +4 -4
  35. package/esm2022/lib/base-components/confirm-address/sof-confirm-address-county-change/sof-confirm-address-county-change.component.mjs +4 -4
  36. package/esm2022/lib/base-components/sof-alert/sof-alert.component.mjs +4 -4
  37. package/esm2022/lib/base-components/sof-badge/sof-badge.component.mjs +4 -4
  38. package/esm2022/lib/base-components/sof-banner/sof-banner.component.mjs +4 -4
  39. package/esm2022/lib/base-components/sof-button-toggle-group/sof-button-toggle-group.component.mjs +4 -4
  40. package/esm2022/lib/base-components/sof-handle/sof-handle.component.mjs +4 -4
  41. package/esm2022/lib/base-components/sof-image-checkbox/sof-image-checkbox.component.mjs +5 -5
  42. package/esm2022/lib/base-components/sof-input-stepper/sof-input-stepper.component.mjs +4 -4
  43. package/esm2022/lib/base-components/sof-modal/sof-modal.component.mjs +8 -5
  44. package/esm2022/lib/base-components/sof-progress-bar/sof-progress-bar.component.mjs +4 -4
  45. package/esm2022/lib/base-components/sof-radio-card/sof-radio-card.component.mjs +5 -5
  46. package/esm2022/lib/base-components/sof-simple-alert/sof-simple-alert.component.mjs +4 -4
  47. package/esm2022/lib/base-components/sof-star-rating/sof-star-rating.component.mjs +4 -4
  48. package/esm2022/lib/base-components/sof-utility-button/sof-utility-button.component.mjs +5 -5
  49. package/esm2022/lib/component-save-print/components/component-save-print/component-save-print.component.mjs +4 -4
  50. package/esm2022/lib/component-save-print/services/component-save-print.service.mjs +4 -4
  51. package/esm2022/lib/component-save-print/sof-ar-component-save-print.module.mjs +5 -5
  52. package/esm2022/lib/core/client-generated/api/session.service.mjs +4 -4
  53. package/esm2022/lib/core/components/app-template/app-template.component.mjs +4 -4
  54. package/esm2022/lib/core/initializer/initializer.service.mjs +4 -4
  55. package/esm2022/lib/core/interceptors/armature-auth-token-append.interceptor.mjs +4 -4
  56. package/esm2022/lib/core/services/authorization.service.mjs +4 -4
  57. package/esm2022/lib/core/services/banner.service.mjs +4 -4
  58. package/esm2022/lib/core/services/base-config.service.mjs +4 -4
  59. package/esm2022/lib/core/services/default-config.service.mjs +4 -4
  60. package/esm2022/lib/core/services/federated-module.service.mjs +4 -4
  61. package/esm2022/lib/core/services/session.service.mjs +4 -6
  62. package/esm2022/lib/core/services/user-entity.service.mjs +4 -4
  63. package/esm2022/lib/distributed-cache/client-generated/api/cache.service.mjs +4 -4
  64. package/esm2022/lib/distributed-cache/distributed-cache.module.mjs +5 -5
  65. package/esm2022/lib/distributed-cache/services/server-cache.service.mjs +4 -4
  66. package/esm2022/lib/error/components/error-common/error-common.component.mjs +4 -4
  67. package/esm2022/lib/error/error.module.mjs +5 -5
  68. package/esm2022/lib/faq/components/faq/faq.component.mjs +4 -4
  69. package/esm2022/lib/faq/faq.module.mjs +5 -5
  70. package/esm2022/lib/feedback-tool/components/feedback-tool/feedback-tool.component.mjs +4 -4
  71. package/esm2022/lib/feedback-tool/feedback-tool.module.mjs +5 -5
  72. package/esm2022/lib/footer/components/footer/footer.component.mjs +4 -4
  73. package/esm2022/lib/footer/components/site-map/site-map.component.mjs +4 -4
  74. package/esm2022/lib/footer/footer.module.mjs +5 -5
  75. package/esm2022/lib/forms/components/sof-address/sof-address.component.mjs +4 -4
  76. package/esm2022/lib/forms/directives/alphanumeric/alphanumeric.directive.mjs +4 -4
  77. package/esm2022/lib/forms/directives/date-input-filter/date-input-filter.directive.mjs +4 -4
  78. package/esm2022/lib/forms/directives/input-trim/input-trim.directive.mjs +4 -4
  79. package/esm2022/lib/forms/directives/letters-characters/letters-characters.directive.mjs +4 -4
  80. package/esm2022/lib/forms/directives/letters-only/letters-only.directive.mjs +4 -4
  81. package/esm2022/lib/forms/directives/numbers-only/numbers-only.directive.mjs +4 -4
  82. package/esm2022/lib/forms/forms.module.mjs +5 -5
  83. package/esm2022/lib/forms/pipes/phone-format.pipe.mjs +4 -4
  84. package/esm2022/lib/forms/services/alert.service.mjs +4 -4
  85. package/esm2022/lib/header/components/header/header.component.mjs +4 -4
  86. package/esm2022/lib/header/components/mobile-header-menu/mobile-header-menu.component.mjs +4 -4
  87. package/esm2022/lib/header/components/sof-header-portal/sof-header-portal.component.mjs +4 -4
  88. package/esm2022/lib/header/components/sof-header-portal/user-initials-pipe/user-initials.pipe.mjs +4 -4
  89. package/esm2022/lib/header/header.module.mjs +5 -5
  90. package/esm2022/lib/navigation/components/navigation/navigation.component.mjs +6 -6
  91. package/esm2022/lib/navigation/components/sof-breadcrumbs/sof-breadcrumbs-hierarchy/sof-breadcrumbs-hierarchy.component.mjs +4 -4
  92. package/esm2022/lib/navigation/components/sof-breadcrumbs/sof-breadcrumbs-history/sof-breadcrumbs-history.component.mjs +4 -4
  93. package/esm2022/lib/navigation/components/sof-navigation-panel/sof-nav-panel.component.mjs +4 -4
  94. package/esm2022/lib/navigation/components/sof-sub-navigation/sof-sub-navigation.component.mjs +4 -4
  95. package/esm2022/lib/navigation/components/sof-tabs-navigation/sof-tabs.component.mjs +4 -4
  96. package/esm2022/lib/navigation/navigation.module.mjs +5 -5
  97. package/esm2022/lib/oauth/oauth.module.mjs +5 -5
  98. package/esm2022/lib/oauth/services/hybrid-saml-oauth.service.mjs +4 -4
  99. package/esm2022/lib/rbac/directives/rbac-action.directive.mjs +4 -4
  100. package/esm2022/lib/rbac/rbac.module.mjs +5 -5
  101. package/esm2022/lib/rbac/services/ar-role-nav.service.mjs +4 -4
  102. package/esm2022/lib/rbac/services/oauth2-role.service.mjs +4 -4
  103. package/esm2022/lib/resize-panels/components/resize-panels/resize-panels.component.mjs +4 -4
  104. package/esm2022/lib/resize-panels/resize-panels.module.mjs +5 -5
  105. package/esm2022/lib/rum/rum.module.mjs +5 -5
  106. package/esm2022/lib/rum/services/rum.service.mjs +4 -4
  107. package/esm2022/lib/rum/services/shared-error.service.mjs +4 -4
  108. package/esm2022/lib/rum/services/softheon-error-handler.service.mjs +4 -4
  109. package/esm2022/lib/saml/components/redirect-saml/redirect-saml.component.mjs +4 -4
  110. package/esm2022/lib/saml/saml.module.mjs +5 -5
  111. package/esm2022/lib/saml/services/entry/sso-gateway-entry.service.mjs +4 -4
  112. package/esm2022/lib/saml/services/send-off/saml.service.mjs +4 -4
  113. package/esm2022/lib/sof-pipe/pipes/sof-blank/sof-blank.pipe.mjs +4 -4
  114. package/esm2022/lib/sof-pipe/pipes/sof-date/sof-date.pipe.mjs +4 -4
  115. package/esm2022/lib/sof-pipe/pipes/sof-ssn/sof-ssn.pipe.mjs +4 -4
  116. package/esm2022/lib/sof-pipe/sof-pipe.module.mjs +5 -5
  117. package/esm2022/lib/theming/directives/css-override.directive.mjs +4 -4
  118. package/esm2022/lib/theming/services/theme.service.mjs +4 -4
  119. package/esm2022/lib/theming/theme.module.mjs +6 -6
  120. package/fesm2022/softheon-armature-ag-grid-components.mjs +13 -13
  121. package/fesm2022/softheon-armature-ag-grid-components.mjs.map +1 -1
  122. package/fesm2022/softheon-armature.mjs +314 -313
  123. package/fesm2022/softheon-armature.mjs.map +1 -1
  124. package/lib/armature.module.d.ts +4 -4
  125. package/lib/base-components/sof-modal/sof-modal.component.d.ts +3 -0
  126. package/lib/theming/theme.module.d.ts +1 -1
  127. package/package.json +1 -1
  128. package/assets/styles/material-overrides.scss +0 -361
@@ -1,3488 +1,64 @@
1
- @use "@angular/material" as mat;
2
- @import "./arm-theme.scss";
3
- @import "./utility";
4
- @import "./variables";
5
-
6
- @include mat.core();
7
-
8
- // Theme pallets
9
- $main-theme: mat.define-light-theme((color: (primary: mat.define-palette($arm-primary),
10
- accent: mat.define-palette($arm-accent)),
11
- typography: mat.define-typography-config(),
12
- density: 0));
13
- $main-theme-dark: mat.define-dark-theme((color: (primary: mat.define-palette($arm-primary),
14
- accent: mat.define-palette($arm-accent)),
15
- typography: mat.define-typography-config(),
16
- density: 0));
17
-
18
- body {
19
- letter-spacing: 0px;
20
- font-family: "Poppins", sans-serif !important;
21
- font-size: 14px;
22
- @include mat.all-component-themes($main-theme);
23
- margin: 0 !important;
24
- }
25
-
26
- .merriweather {
27
- font-family: "Merriweather", serif !important;
28
- }
29
-
30
- .poppins {
31
- font-family: "Poppins", sans-serif !important;
32
- }
33
-
34
- .h1,
35
- [h1],
36
- h1 {
37
- font-family: "Poppins", sans-serif;
38
- font-style: normal;
39
- font-weight: normal;
40
- font-size: 34px;
41
- line-height: 48px;
42
- letter-spacing: normal;
43
- margin: 0px;
44
- padding: 0px;
45
-
46
- @media only screen and (max-width: $screen-sm-end) {
47
- font-size: 28px;
48
- }
49
- }
50
-
51
- .h2,
52
- [h2],
53
- h2 {
54
- font-family: "Poppins", sans-serif;
55
- font-style: normal;
56
- font-weight: normal;
57
- font-size: 24px;
58
- line-height: 33px;
59
- letter-spacing: normal;
60
- margin: 0px;
61
- padding: 0px;
62
-
63
- @media only screen and (max-width: $screen-sm-end) {
64
- font-size: 24px;
65
- }
66
- }
67
-
68
- .h3,
69
- [h3],
70
- h3 {
71
- font-family: "Poppins", sans-serif;
72
- font-style: normal;
73
- font-weight: normal;
74
- font-size: 20px;
75
- line-height: 28px;
76
- letter-spacing: normal;
77
- margin: 0px;
78
- padding: 0px;
79
-
80
- @media only screen and (max-width: $screen-sm-end) {
81
- font-size: 20px;
82
- }
83
- }
84
-
85
- .h4,
86
- [h4],
87
- h4 {
88
- font-family: "Poppins", sans-serif;
89
- font-style: normal;
90
- font-weight: normal;
91
- font-size: 18px;
92
- line-height: 27px;
93
- letter-spacing: normal;
94
- margin: 0px;
95
- padding: 0px;
96
-
97
- @media only screen and (max-width: $screen-sm-end) {
98
- font-size: 18px;
99
- }
100
- }
101
-
102
- .body1 {
103
- font-family: "Poppins", sans-serif;
104
- font-style: normal;
105
- font-weight: normal;
106
- font-size: 16px;
107
- line-height: 24px;
108
- letter-spacing: normal;
109
-
110
- // this does nothing ...
111
- @media only screen and (max-width: $screen-sm-end) {
112
- font-size: 16px;
113
- }
114
- }
115
-
116
- .body2 {
117
- font-family: "Poppins", sans-serif;
118
- font-style: normal;
119
- font-weight: normal;
120
- font-size: 14px;
121
- line-height: 21px;
122
- letter-spacing: normal;
123
-
124
- @media only screen and (max-width: $screen-sm-end) {
125
- font-size: 16px;
126
- }
127
- }
128
-
129
- mat-form-field {
130
- &.body1 {
131
- font-family: "Poppins", sans-serif !important;
132
- font-style: normal !important;
133
- font-weight: normal !important;
134
- font-size: 16px !important;
135
- line-height: 24px !important;
136
- letter-spacing: normal !important;
137
-
138
- @media only screen and (max-width: $screen-sm-end) {
139
- font-size: 16px !important;
140
- }
141
- }
142
-
143
- &.body2 {
144
- font-family: "Poppins", sans-serif;
145
- font-style: normal;
146
- font-weight: normal;
147
- font-size: 14px;
148
- line-height: 21px;
149
- letter-spacing: normal;
150
-
151
- @media only screen and (max-width: $screen-sm-end) {
152
- font-size: 16px;
153
- }
154
- }
155
- }
156
-
157
- .ls-half {
158
- letter-spacing: 0.5px !important;
159
- }
160
-
161
- .ls-quarter {
162
- letter-spacing: 0.25px !important;
163
- }
164
-
165
- .fw-500 {
166
- font-weight: 500 !important;
167
- }
168
-
169
- .fw-600 {
170
- font-weight: 600 !important;
171
- }
172
-
173
- .color-primary {
174
- color: mat.get-color-from-palette($arm-primary, 500);
175
- }
176
-
177
- .color-accent {
178
- color: mat.get-color-from-palette($arm-accent, 500);
179
- }
180
-
181
- .color-warn {
182
- color: mat.get-color-from-palette($arm-warn, 500);
183
- }
184
-
185
- .color-info {
186
- color: mat.get-color-from-palette($arm-info, 500);
187
- }
188
-
189
- .color-success {
190
- color: mat.get-color-from-palette($arm-success, 500);
191
- }
192
-
193
- .color-error {
194
- color: mat.get-color-from-palette($arm-error, 900);
195
- }
196
-
197
- .color-neutral {
198
- color: mat.get-color-from-palette($arm-neutral, 500);
199
- }
200
-
201
- .full-width {
202
- width: 100% !important;
203
- }
204
-
205
- .delete-icon {
206
- cursor: pointer;
207
- font-size: 1.5em;
208
- color: mat.get-color-from-palette($arm-warn, 500);
209
- }
210
-
211
- .tooltip {
212
- cursor: pointer;
213
- }
214
-
215
- .relative {
216
- position: relative;
217
- }
218
-
219
- .left-align {
220
- text-align: left;
221
- }
222
-
223
- .center-align {
224
- text-align: center;
225
- }
226
-
227
- mat-button-toggle-group {
228
- &.sof-toggle-group {
229
- height: 48px !important;
230
-
231
- &.mat-button-toggle-group.mat-button-toggle-group-appearance-standard {
232
- border: none !important;
233
- border-radius: 0px !important;
234
- }
235
-
236
- &.full-width {
237
- .toggle-left {
238
- width: 100% !important;
239
- }
240
-
241
- .toggle-middle {
242
- width: 100% !important;
243
- }
244
-
245
- .toggle-right {
246
- width: 100% !important;
247
- }
248
- }
249
-
250
- .mat-button-toggle-label-content {
251
- text-transform: uppercase !important;
252
- font-family: "Poppins" !important;
253
- font-style: normal !important;
254
- font-weight: 600 !important;
255
- font-size: 16px !important;
256
- line-height: 24px !important;
257
- letter-spacing: 0.05em !important;
258
- text-align: center !important;
259
- color: black !important;
260
-
261
- // remove selected check indicator
262
- .mat-pseudo-checkbox {
263
- display: none !important;
264
- }
265
- }
266
-
267
- .mat-button-toggle-button {
268
- height: 100% !important;
269
- }
270
-
271
- .mat-button-toggle-checked {
272
- background-color: mat.get-color-from-palette($arm-primary, 100) !important;
273
- }
274
-
275
- .toggle-left {
276
- border-top: 2px solid mat.get-color-from-palette($arm-primary, 500) !important;
277
- border-bottom: 2px solid mat.get-color-from-palette($arm-primary, 500) !important;
278
- border-left: 2px solid mat.get-color-from-palette($arm-primary, 500) !important;
279
- border-right: 1px solid mat.get-color-from-palette($arm-primary, 500) !important;
280
- border-radius: 6px 0px 0px 6px !important;
281
- width: 120px !important;
282
- }
283
-
284
- .toggle-middle {
285
- border-top: 2px solid mat.get-color-from-palette($arm-primary, 500) !important;
286
- border-bottom: 2px solid mat.get-color-from-palette($arm-primary, 500) !important;
287
- border-left: 1px solid mat.get-color-from-palette($arm-primary, 500) !important;
288
- border-right: 1px solid mat.get-color-from-palette($arm-primary, 500) !important;
289
- border-radius: 0px 0px 0px 0px !important;
290
- width: 120px !important;
291
- }
292
-
293
- .toggle-right {
294
- border-top: 2px solid mat.get-color-from-palette($arm-primary, 500) !important;
295
- border-bottom: 2px solid mat.get-color-from-palette($arm-primary, 500) !important;
296
- border-left: 1px solid mat.get-color-from-palette($arm-primary, 500) !important;
297
- border-right: 2px solid mat.get-color-from-palette($arm-primary, 500) !important;
298
- border-radius: 0px 6px 6px 0px !important;
299
- width: 120px !important;
300
- }
301
-
302
- .mat-button-toggle-disabled {
303
- &.mat-button-toggle-checked {
304
- background-color: mat.get-color-from-palette($arm-neutral, 200) !important;
305
- }
306
-
307
- &.toggle-left {
308
- border-top: 2px solid mat.get-color-from-palette($arm-neutral, 400) !important;
309
- border-bottom: 2px solid mat.get-color-from-palette($arm-neutral, 400) !important;
310
- border-left: 2px solid mat.get-color-from-palette($arm-neutral, 400) !important;
311
- border-right: 1px solid mat.get-color-from-palette($arm-neutral, 400) !important;
312
- border-radius: 6px 0px 0px 6px !important;
313
- }
314
-
315
- &.toggle-middle {
316
- border-top: 2px solid mat.get-color-from-palette($arm-neutral, 400) !important;
317
- border-bottom: 2px solid mat.get-color-from-palette($arm-neutral, 400) !important;
318
- border-left: 1px solid mat.get-color-from-palette($arm-neutral, 400) !important;
319
- border-right: 1px solid mat.get-color-from-palette($arm-neutral, 400) !important;
320
- border-radius: 0px 0px 0px 0px !important;
321
- }
322
-
323
- &.toggle-right {
324
- border-top: 2px solid mat.get-color-from-palette($arm-neutral, 400) !important;
325
- border-bottom: 2px solid mat.get-color-from-palette($arm-neutral, 400) !important;
326
- border-left: 1px solid mat.get-color-from-palette($arm-neutral, 400) !important;
327
- border-right: 2px solid mat.get-color-from-palette($arm-neutral, 400) !important;
328
- border-radius: 0px 6px 6px 0px !important;
329
- }
330
- }
331
- }
332
-
333
- &.sof-toggle-group[size="small"] {
334
- height: 36px !important;
335
- }
336
-
337
- &.sof-toggle-group[size="medium"] {
338
- height: 48px !important;
339
- }
340
-
341
- &.sof-toggle-group[size="large"] {
342
- height: 56px !important;
343
- }
344
- }
345
-
346
- /** Material Overrides */
347
- .sof-dialog-container {
348
- padding: 40px;
349
- display: flex;
350
- flex-direction: column;
351
- gap: 24px;
352
- }
353
-
354
- .mat-mdc-dialog-actions {
355
- padding: 0px !important;
356
- }
357
-
358
- .sof-radio-card {
359
- flex-direction: row !important;
360
- box-sizing: border-box;
361
- display: flex !important;
362
- align-items: baseline;
363
- background: #ffffff;
364
- border-radius: 10px !important;
365
- padding: 16px;
366
- min-height: 152px;
367
- }
368
-
369
- // button colors 'accent', 'info', 'success', 'warning' removed from documentation, not to be used 12/1/23 per design ...
370
- // button's icon color is inherited from the button's color
371
- button.mat-mdc-button {
372
- --mat-mdc-button-persistent-ripple-color: none !important;
373
- --mdc-text-button-label-text-color: none !important;
374
- --mat-text-button-ripple-color: rgba(0, 0, 0, 0.05) !important;
375
-
376
- &.sof-button {
377
- padding: 0px 24px !important;
378
- height: 48px !important;
379
- border-radius: 6px !important;
380
- font-family: Poppins !important;
381
- font-style: normal !important;
382
- font-weight: 600 !important;
383
- font-size: 16px !important;
384
- line-height: 24px !important;
385
- letter-spacing: 0.05em !important;
386
- text-transform: uppercase !important;
387
-
388
-
389
- &.fixed-width {
390
- width: 200px !important; // Use this is to match specific sizing
391
- }
392
-
393
- &.full-width {
394
- width: 100% !important; // Use this is button width will take size of flex percentage
395
- }
396
-
397
- &:enabled {
398
- &.mat-primary {
399
- color: mat.get-color-from-palette($arm-primary, 500);
400
-
401
- &:hover {
402
- background-color: mat.get-color-from-palette($arm-primary, 50);
403
- }
404
-
405
- &:focus {
406
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
407
- outline-offset: 2px !important;
408
- }
409
- }
410
-
411
- &.mat-accent {
412
- color: mat.get-color-from-palette($arm-accent, 500);
413
-
414
- &:hover {
415
- background-color: mat.get-color-from-palette($arm-accent, 50);
416
- }
417
-
418
- &:focus {
419
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
420
- outline-offset: 2px !important;
421
- }
422
- }
423
-
424
- &.mat-warn {
425
- color: mat.get-color-from-palette($arm-warn, 500);
426
-
427
- &:hover {
428
- background-color: mat.get-color-from-palette($arm-warn, 50);
429
- }
430
-
431
- &:focus {
432
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
433
- outline-offset: 2px !important;
434
- }
435
- }
436
-
437
- &.mat-success {
438
- color: mat.get-color-from-palette($arm-success, 500);
439
-
440
- &:hover {
441
- background-color: mat.get-color-from-palette($arm-success, 50);
442
- }
443
-
444
- &:focus {
445
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
446
- outline-offset: 2px !important;
447
- }
448
- }
449
-
450
- &.mat-error {
451
- color: mat.get-color-from-palette($arm-error, 900);
452
-
453
- &:hover {
454
- background-color: mat.get-color-from-palette($arm-error, 50);
455
- }
456
-
457
- &:focus {
458
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
459
- outline-offset: 2px !important;
460
- }
461
- }
462
-
463
- &.mat-info {
464
- color: mat.get-color-from-palette($arm-info, 500);
465
-
466
- &:hover {
467
- background-color: mat.get-color-from-palette($arm-info, 50);
468
- }
469
-
470
- &:focus {
471
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
472
- outline-offset: 2px !important;
473
- }
474
- }
475
-
476
- &.mat-neutral {
477
- color: mat.get-color-from-palette($arm-neutral, 500);
478
-
479
- &:hover {
480
- background-color: mat.get-color-from-palette($arm-neutral, 50);
481
- }
482
-
483
- &:focus {
484
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
485
- outline-offset: 2px !important;
486
- }
487
- }
488
- }
489
-
490
- &:disabled {
491
- color: rgba(0, 0, 0, 0.6) !important;
492
- opacity: 1 !important;
493
- }
494
- }
495
-
496
- &.sof-button[size="small"] {
497
- height: 36px !important;
498
-
499
- i {
500
- font-size: 1em !important;
501
- }
502
- }
503
-
504
- &.sof-button[size="medium"] {
505
- height: 48px !important;
506
-
507
- i {
508
- font-size: 1em !important;
509
- }
510
- }
511
-
512
- &.sof-button[size="large"] {
513
- height: 56px !important;
514
-
515
- i {
516
- font-size: 1.15em !important;
517
- }
518
- }
519
-
520
- &.sof-icon-button {
521
- border-radius: 6px !important;
522
- padding: 0px !important;
523
-
524
- &:enabled {
525
- &.mat-primary {
526
- color: mat.get-color-from-palette($arm-primary, 500);
527
-
528
- &:hover {
529
- background-color: mat.get-color-from-palette($arm-primary, 50);
530
- }
531
-
532
- &:focus {
533
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
534
- outline-offset: 2px !important;
535
- }
536
- }
537
-
538
- &.mat-accent {
539
- color: mat.get-color-from-palette($arm-accent, 500);
540
-
541
- &:hover {
542
- background-color: mat.get-color-from-palette($arm-accent, 50);
543
- }
544
-
545
- &:focus {
546
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
547
- outline-offset: 2px !important;
548
- }
549
- }
550
-
551
- &.mat-warn {
552
- color: mat.get-color-from-palette($arm-warn, 500);
553
-
554
- &:hover {
555
- background-color: mat.get-color-from-palette($arm-warn, 50);
556
- }
557
-
558
- &:focus {
559
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
560
- outline-offset: 2px !important;
561
- }
562
- }
563
-
564
- &.mat-success {
565
- color: mat.get-color-from-palette($arm-success, 500);
566
-
567
- &:hover {
568
- background-color: mat.get-color-from-palette($arm-success, 50);
569
- }
570
-
571
- &:focus {
572
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
573
- outline-offset: 2px !important;
574
- }
575
- }
576
-
577
- &.mat-error {
578
- color: mat.get-color-from-palette($arm-error, 900);
579
-
580
- &:hover {
581
- background-color: mat.get-color-from-palette($arm-error, 50);
582
- }
583
-
584
- &:focus {
585
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
586
- outline-offset: 2px !important;
587
- }
588
- }
589
-
590
- &.mat-info {
591
- color: mat.get-color-from-palette($arm-info, 500);
592
-
593
- &:hover {
594
- background-color: mat.get-color-from-palette($arm-info, 50);
595
- }
596
-
597
- &:focus {
598
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
599
- outline-offset: 2px !important;
600
- }
601
- }
602
-
603
- &.mat-neutral {
604
- color: mat.get-color-from-palette($arm-neutral, 500);
605
-
606
- &:hover {
607
- background-color: mat.get-color-from-palette($arm-neutral, 50);
608
- }
609
-
610
- &:focus {
611
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
612
- outline-offset: 2px !important;
613
- }
614
- }
615
- }
616
-
617
- &:disabled {
618
- color: rgba(0, 0, 0, 0.6) !important;
619
- opacity: 1 !important;
620
- }
621
- }
622
-
623
- &.sof-icon-button[size="small"] {
624
- height: 36px !important;
625
- width: 36px !important;
626
- min-width: 36px !important;
627
- font-size: 19px !important;
628
- }
629
-
630
- &.sof-icon-button[size="medium"] {
631
- height: 48px !important;
632
- width: 48px !important;
633
- min-width: 48px !important;
634
- font-size: 26px !important;
635
- }
636
-
637
- &.sof-icon-button[size="large"] {
638
- height: 56px !important;
639
- width: 56px !important;
640
- min-width: 56px !important;
641
- font-size: 26px !important;
642
- }
643
-
644
- // Secondary Button Styles
645
-
646
- }
647
-
648
- button.mat-mdc-unelevated-button {
649
- --mat-mdc-button-persistent-ripple-color: none !important;
650
- --mdc-filled-button-label-text-color: none !important;
651
- --mat-filled-button-ripple-color: rgba(255, 255, 255, 0.1) !important;
652
-
653
-
654
- &.sof-flat-button {
655
- padding: 0px 24px !important;
656
- height: 48px !important;
657
- border-radius: 6px !important;
658
- font-family: Poppins !important;
659
- font-style: normal !important;
660
- font-weight: 600 !important;
661
- font-size: 16px !important;
662
- line-height: 24px !important;
663
- letter-spacing: 0.05em !important;
664
- text-transform: uppercase !important;
665
-
666
-
667
- &.fixed-width {
668
- width: 200px !important; // Use this is to match specific sizing
669
- }
670
-
671
- &.full-width {
672
- width: 100% !important; // Use this is button width will take size of flex percentage
673
- }
674
-
675
- &:enabled {
676
-
677
- &.mat-primary {
678
- background: mat.get-color-from-palette($arm-primary, 500);
679
- color: map-get($arm-primary, contrast, 500);
680
-
681
- &:hover {
682
- background-color: mat.get-color-from-palette($arm-primary, 700);
683
- color: map-get($arm-primary, contrast, 700);
684
- }
685
-
686
- &:focus {
687
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
688
- outline-offset: 2px !important;
689
- }
690
- }
691
-
692
- &.mat-accent {
693
- background: mat.get-color-from-palette($arm-accent, 500);
694
- color: map-get($arm-accent, contrast, 500);
695
-
696
- &:hover {
697
- background-color: mat.get-color-from-palette($arm-accent, 700);
698
- color: map-get($arm-accent, contrast, 700);
699
- }
700
-
701
- &:focus {
702
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
703
- outline-offset: 2px !important;
704
- }
705
- }
706
-
707
- &.mat-warn {
708
- background: mat.get-color-from-palette($arm-warn, 500);
709
- color: map-get($arm-warn, contrast, 500);
710
-
711
- &:hover {
712
- background-color: mat.get-color-from-palette($arm-warn, 700);
713
- color: map-get($arm-warn, contrast, 700);
714
- }
715
-
716
- &:focus {
717
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
718
- outline-offset: 2px !important;
719
- }
720
- }
721
-
722
- &.mat-success {
723
- background: mat.get-color-from-palette($arm-success, 500);
724
- color: map-get($arm-success, contrast, 500);
725
-
726
- &:hover {
727
- background-color: mat.get-color-from-palette($arm-success, 700);
728
- color: map-get($arm-success, contrast, 700);
729
- }
730
-
731
- &:focus {
732
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
733
- outline-offset: 2px !important;
734
- }
735
- }
736
-
737
- &.mat-error {
738
- background: mat.get-color-from-palette($arm-error, 900);
739
- color: map-get($arm-error, contrast, 900);
740
-
741
- &:hover {
742
- background-color: mat.get-color-from-palette($arm-error, 700);
743
- color: map-get($arm-error, contrast, 700);
744
- }
745
-
746
- &:focus {
747
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
748
- outline-offset: 2px !important;
749
- }
750
- }
751
-
752
- &.mat-info {
753
- background: mat.get-color-from-palette($arm-info, 500);
754
- color: map-get($arm-info, contrast, 500);
755
-
756
- &:hover {
757
- background-color: mat.get-color-from-palette($arm-info, 700);
758
- color: map-get($arm-info, contrast, 700);
759
- }
760
-
761
- &:focus {
762
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
763
- outline-offset: 2px !important;
764
- }
765
- }
766
-
767
- &.mat-neutral {
768
- background: mat.get-color-from-palette($arm-neutral, 500);
769
- color: map-get($arm-neutral, contrast, 500);
770
-
771
- &:hover {
772
- background-color: mat.get-color-from-palette($arm-neutral, 700);
773
- color: map-get($arm-neutral, contrast, 700);
774
- }
775
-
776
- &:focus {
777
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
778
- outline-offset: 2px !important;
779
- }
780
- }
781
- }
782
-
783
- &:disabled {
784
- background: #f7f7f7 !important;
785
- color: rgba(0, 0, 0, 0.6) !important;
786
- opacity: 1 !important;
787
- }
788
- }
789
-
790
- &.sof-flat-button[size="small"] {
791
- height: 36px !important;
792
-
793
- i {
794
- font-size: 1em !important;
795
- }
796
- }
797
-
798
- &.sof-flat-button[size="medium"] {
799
- height: 48px !important;
800
-
801
- i {
802
- font-size: 1em !important;
803
- }
804
- }
805
-
806
- &.sof-flat-button[size="large"] {
807
- height: 56px !important;
808
-
809
- i {
810
- font-size: 1.15em !important;
811
- }
812
- }
813
-
814
- &.sof-flat-icon-button {
815
- border-radius: 6px !important;
816
- padding: 0px !important;
817
-
818
- &:enabled {
819
-
820
- &.mat-primary {
821
- background: mat.get-color-from-palette($arm-primary, 500);
822
- color: map-get($arm-primary, contrast, 500);
823
-
824
- &:focus {
825
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
826
- outline-offset: 2px !important;
827
- }
828
-
829
- &:hover {
830
- background-color: mat.get-color-from-palette($arm-primary, 700);
831
- color: map-get($arm-primary, contrast, 700);
832
- }
833
- }
834
-
835
- &.mat-accent {
836
- background: mat.get-color-from-palette($arm-accent, 500);
837
- color: map-get($arm-accent, contrast, 500);
838
-
839
- &:hover {
840
- background-color: mat.get-color-from-palette($arm-accent, 700);
841
- color: map-get($arm-accent, contrast, 700);
842
- }
843
-
844
- &:focus {
845
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
846
- outline-offset: 2px !important;
847
- }
848
- }
849
-
850
- &.mat-warn {
851
- background: mat.get-color-from-palette($arm-warn, 500);
852
- color: map-get($arm-warn, contrast, 500);
853
-
854
- &:hover {
855
- background-color: mat.get-color-from-palette($arm-warn, 700);
856
- color: map-get($arm-warn, contrast, 700);
857
- }
858
-
859
- &:focus {
860
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
861
- outline-offset: 2px !important;
862
- }
863
- }
864
-
865
- &.mat-success {
866
- background: mat.get-color-from-palette($arm-success, 500);
867
- color: map-get($arm-success, contrast, 500);
868
-
869
- &:hover {
870
- background-color: mat.get-color-from-palette($arm-success, 700);
871
- color: map-get($arm-success, contrast, 700);
872
- }
873
-
874
- &:focus {
875
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
876
- outline-offset: 2px !important;
877
- }
878
- }
879
-
880
- &.mat-error {
881
- background: mat.get-color-from-palette($arm-error, 900);
882
- color: map-get($arm-error, contrast, 900);
883
-
884
- &:hover {
885
- background-color: mat.get-color-from-palette($arm-error, 700);
886
- color: map-get($arm-error, contrast, 700);
887
- }
888
-
889
- &:focus {
890
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
891
- outline-offset: 2px !important;
892
- }
893
- }
894
-
895
- &.mat-info {
896
- background: mat.get-color-from-palette($arm-info, 500);
897
- color: map-get($arm-info, contrast, 500);
898
-
899
- &:hover {
900
- background-color: mat.get-color-from-palette($arm-info, 700);
901
- color: map-get($arm-info, contrast, 700);
902
- }
903
-
904
- &:focus {
905
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
906
- outline-offset: 2px !important;
907
- }
908
- }
909
-
910
- &.mat-neutral {
911
- background: mat.get-color-from-palette($arm-neutral, 500);
912
- color: map-get($arm-neutral, contrast, 500);
913
-
914
- &:hover {
915
- background-color: mat.get-color-from-palette($arm-neutral, 700);
916
- color: map-get($arm-neutral, contrast, 700);
917
- }
918
-
919
- &:focus {
920
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
921
- outline-offset: 2px !important;
922
- }
923
- }
924
- }
925
-
926
- &:disabled {
927
- background: #f7f7f7 !important;
928
- color: rgba(0, 0, 0, 0.6) !important;
929
- opacity: 1 !important;
930
- }
931
- }
932
-
933
- &.sof-flat-icon-button[size="small"] {
934
- height: 36px !important;
935
- width: 36px !important;
936
- min-width: 36px !important;
937
- font-size: 19px !important;
938
- }
939
-
940
- &.sof-flat-icon-button[size="medium"] {
941
- height: 48px !important;
942
- width: 48px !important;
943
- min-width: 48px !important;
944
- font-size: 26px !important;
945
- }
946
-
947
- &.sof-flat-icon-button[size="large"] {
948
- height: 56px !important;
949
- width: 56px !important;
950
- min-width: 56px !important;
951
- font-size: 26px !important;
952
- }
953
- }
954
-
955
- button.mat-mdc-outlined-button {
956
- --mat-mdc-button-persistent-ripple-color: none !important;
957
- --mdc-outlined-button-label-text-color: none !important;
958
- --mat-outlined-button-ripple-color: rgba(0, 0, 0, 0.05) !important;
959
-
960
- &.sof-stroked-button {
961
- padding: 0px 24px !important;
962
- height: 48px !important;
963
- border: none !important;
964
- border-radius: 6px !important;
965
- font-family: Poppins !important;
966
- font-style: normal !important;
967
- font-weight: 600 !important;
968
- font-size: 16px !important;
969
- line-height: 24px !important;
970
- letter-spacing: 0.05em !important;
971
- text-transform: uppercase !important;
972
-
973
- &.fixed-width {
974
- width: 200px !important; // Use this is to match specific sizing
975
- }
976
-
977
- &.full-width {
978
- width: 100% !important; // Use this is button width will take size of flex percentage
979
- }
980
-
981
- &:enabled {
982
- &.mat-primary {
983
- background-color: mat.get-color-from-palette($arm-primary, 50) !important;
984
- color: mat.get-color-from-palette($arm-primary, 500) !important;
985
-
986
- &:hover {
987
- background-color: mat.get-color-from-palette($arm-primary, 100) !important;
988
- }
989
-
990
- &:focus {
991
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
992
- outline-offset: 2px !important;
993
- }
994
- }
995
-
996
- &.mat-accent {
997
- background-color: mat.get-color-from-palette($arm-accent, 50) !important;
998
- color: mat.get-color-from-palette($arm-accent, 500) !important;
999
-
1000
- &:hover {
1001
- background-color: mat.get-color-from-palette($arm-accent, 100) !important;
1002
- }
1003
-
1004
- &:focus {
1005
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1006
- outline-offset: 2px !important;
1007
- }
1008
- }
1009
-
1010
- &.mat-warn {
1011
- background-color: mat.get-color-from-palette($arm-warn, 50) !important;
1012
- color: mat.get-color-from-palette($arm-warn, 500) !important;
1013
-
1014
- &:hover {
1015
- background-color: mat.get-color-from-palette($arm-warn, 100) !important;
1016
- }
1017
-
1018
- &:focus {
1019
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1020
- outline-offset: 2px !important;
1021
- }
1022
- }
1023
-
1024
- &.mat-success {
1025
- background-color: mat.get-color-from-palette($arm-success, 50) !important;
1026
- color: mat.get-color-from-palette($arm-success, 500) !important;
1027
-
1028
- &:hover {
1029
- background-color: mat.get-color-from-palette($arm-success, 100) !important;
1030
- }
1031
-
1032
- &:focus {
1033
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1034
- outline-offset: 2px !important;
1035
- }
1036
- }
1037
-
1038
- &.mat-info {
1039
- background-color: mat.get-color-from-palette($arm-info, 50) !important;
1040
- color: mat.get-color-from-palette($arm-info, 500) !important;
1041
-
1042
- &:hover {
1043
- background-color: mat.get-color-from-palette($arm-info, 100) !important;
1044
- }
1045
-
1046
- &:focus {
1047
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1048
- outline-offset: 2px !important;
1049
- }
1050
- }
1051
-
1052
- &.mat-error {
1053
- background-color: mat.get-color-from-palette($arm-error, 50) !important;
1054
- color: mat.get-color-from-palette($arm-error, 900) !important;
1055
-
1056
- &:hover {
1057
- background-color: mat.get-color-from-palette($arm-error, 100) !important;
1058
- }
1059
-
1060
- &:focus {
1061
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1062
- outline-offset: 2px !important;
1063
- }
1064
- }
1065
-
1066
- &.mat-neutral {
1067
- background-color: mat.get-color-from-palette($arm-neutral, 50) !important;
1068
- color: mat.get-color-from-palette($arm-neutral, 500) !important;
1069
-
1070
- &:hover {
1071
- background-color: mat.get-color-from-palette($arm-neutral, 100) !important;
1072
- }
1073
-
1074
- &:focus {
1075
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1076
- outline-offset: 2px !important;
1077
- }
1078
- }
1079
- }
1080
-
1081
- &:disabled {
1082
- background: #f7f7f7 !important;
1083
- color: rgba(0, 0, 0, 0.6) !important;
1084
- opacity: 1 !important;
1085
- }
1086
- }
1087
-
1088
- &.sof-stroked-button-outline {
1089
- padding: 0px 24px !important;
1090
- height: 48px !important;
1091
- background-color: #ffffff !important;
1092
- border-radius: 6px !important;
1093
- font-family: Poppins !important;
1094
- font-style: normal !important;
1095
- font-weight: 600 !important;
1096
- font-size: 16px !important;
1097
- line-height: 24px !important;
1098
- letter-spacing: 0.05em !important;
1099
- text-transform: uppercase !important;
1100
-
1101
- &.fixed-width {
1102
- width: 200px !important; // Use this is to match specific sizing
1103
- }
1104
-
1105
- &.full-width {
1106
- width: 100% !important; // Use this is button width will take size of flex percentage
1107
- }
1108
-
1109
- &:enabled {
1110
- &.mat-primary {
1111
- border: 2px solid mat.get-color-from-palette($arm-primary, 500) !important;
1112
- color: mat.get-color-from-palette($arm-primary, 500) !important;
1113
-
1114
- &:hover {
1115
- background-color: mat.get-color-from-palette($arm-primary, 50) !important;
1116
- }
1117
-
1118
- &:focus {
1119
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1120
- outline-offset: 2px !important;
1121
- }
1122
- }
1123
-
1124
- &.mat-accent {
1125
- border: 2px solid mat.get-color-from-palette($arm-accent, 500) !important;
1126
- color: mat.get-color-from-palette($arm-accent, 500) !important;
1127
-
1128
- &:hover {
1129
- background-color: mat.get-color-from-palette($arm-accent, 50) !important;
1130
- }
1131
-
1132
- &:focus {
1133
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1134
- outline-offset: 2px !important;
1135
- }
1136
- }
1137
-
1138
- &.mat-warn {
1139
- border: 2px solid mat.get-color-from-palette($arm-warn, 500) !important;
1140
- color: mat.get-color-from-palette($arm-warn, 500) !important;
1141
-
1142
- &:hover {
1143
- background-color: mat.get-color-from-palette($arm-warn, 50) !important;
1144
- }
1145
-
1146
- &:focus {
1147
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1148
- outline-offset: 2px !important;
1149
- }
1150
- }
1151
-
1152
- &.mat-success {
1153
- border: 2px solid mat.get-color-from-palette($arm-success, 500) !important;
1154
- color: mat.get-color-from-palette($arm-success, 50) !important;
1155
-
1156
- &:hover {
1157
- background-color: mat.get-color-from-palette($arm-success, 100) !important;
1158
- }
1159
-
1160
- &:focus {
1161
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1162
- outline-offset: 2px !important;
1163
- }
1164
- }
1165
-
1166
- &.mat-error {
1167
- border: 2px solid mat.get-color-from-palette($arm-error, 900) !important;
1168
- color: mat.get-color-from-palette($arm-error, 900) !important;
1169
-
1170
- &:hover {
1171
- background-color: mat.get-color-from-palette($arm-error, 50) !important;
1172
- }
1173
-
1174
- &:focus {
1175
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1176
- outline-offset: 2px !important;
1177
- }
1178
- }
1179
-
1180
- &.mat-info {
1181
- border: 2px solid mat.get-color-from-palette($arm-info, 500) !important;
1182
- color: mat.get-color-from-palette($arm-info, 500) !important;
1183
-
1184
- &:hover {
1185
- background-color: mat.get-color-from-palette($arm-info, 50) !important;
1186
- }
1187
-
1188
- &:focus {
1189
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1190
- outline-offset: 2px !important;
1191
- }
1192
- }
1193
-
1194
- &.mat-neutral {
1195
- border: 2px solid mat.get-color-from-palette($arm-neutral, 500) !important;
1196
- color: mat.get-color-from-palette($arm-neutral, 500) !important;
1197
-
1198
- &:hover {
1199
- background-color: mat.get-color-from-palette($arm-neutral, 50) !important;
1200
- }
1201
-
1202
- &:focus {
1203
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1204
- outline-offset: 2px !important;
1205
- }
1206
- }
1207
- }
1208
-
1209
- &:disabled {
1210
- background: #f7f7f7 !important;
1211
- color: rgba(0, 0, 0, 0.6) !important;
1212
- border: 2px solid rgba(0, 0, 0, 0.38) !important;
1213
- opacity: 1 !important;
1214
- }
1215
- }
1216
-
1217
- &.sof-stroked-button[size="small"],
1218
- &.sof-stroked-button-outline[size="small"] {
1219
- height: 36px !important;
1220
-
1221
- i {
1222
- font-size: 1em !important;
1223
- }
1224
- }
1225
-
1226
- &.sof-stroked-button[size="medium"],
1227
- &.sof-stroked-button-outline[size="medium"] {
1228
- height: 48px !important;
1229
-
1230
- i {
1231
- font-size: 1em !important;
1232
- }
1233
- }
1234
-
1235
- &.sof-stroked-button[size="large"],
1236
- &.sof-stroked-button-outline[size="large"] {
1237
- height: 56px !important;
1238
-
1239
- i {
1240
- font-size: 1.15em !important;
1241
- }
1242
- }
1243
-
1244
- &.sof-stroked-icon-button {
1245
- border: none !important;
1246
- border-radius: 6px !important;
1247
- padding: 0px !important;
1248
-
1249
- &:enabled {
1250
- &.mat-primary {
1251
- background-color: mat.get-color-from-palette($arm-primary, 50) !important;
1252
- color: mat.get-color-from-palette($arm-primary, 500) !important;
1253
-
1254
- &:hover {
1255
- background-color: mat.get-color-from-palette($arm-primary, 100) !important;
1256
- }
1257
-
1258
- &:focus {
1259
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1260
- outline-offset: 2px !important;
1261
- }
1262
- }
1263
-
1264
- &.mat-accent {
1265
- background-color: mat.get-color-from-palette($arm-accent, 50) !important;
1266
- color: mat.get-color-from-palette($arm-accent, 500) !important;
1267
-
1268
- &:hover {
1269
- background-color: mat.get-color-from-palette($arm-accent, 100) !important;
1270
- }
1271
-
1272
- &:focus {
1273
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1274
- outline-offset: 2px !important;
1275
- }
1276
- }
1277
-
1278
- &.mat-warn {
1279
- background-color: mat.get-color-from-palette($arm-warn, 50) !important;
1280
- color: mat.get-color-from-palette($arm-warn, 500) !important;
1281
-
1282
- &:hover {
1283
- background-color: mat.get-color-from-palette($arm-warn, 100) !important
1284
- }
1285
-
1286
- &:focus {
1287
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1288
- outline-offset: 2px !important;
1289
- }
1290
- }
1291
-
1292
- &.mat-success {
1293
- background-color: mat.get-color-from-palette($arm-success, 50) !important;
1294
- color: mat.get-color-from-palette($arm-success, 500) !important;
1295
-
1296
- &:hover {
1297
- background-color: mat.get-color-from-palette($arm-success, 100) !important;
1298
- }
1299
-
1300
- &:focus {
1301
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1302
- outline-offset: 2px !important;
1303
- }
1304
- }
1305
-
1306
- &.mat-info {
1307
- background-color: mat.get-color-from-palette($arm-info, 50) !important;
1308
- color: mat.get-color-from-palette($arm-info, 500) !important;
1309
-
1310
- &:hover {
1311
- background-color: mat.get-color-from-palette($arm-info, 100) !important
1312
- }
1313
-
1314
- &:focus {
1315
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1316
- outline-offset: 2px !important;
1317
- }
1318
- }
1319
-
1320
- &.mat-error {
1321
- background-color: mat.get-color-from-palette($arm-error, 50) !important;
1322
- color: mat.get-color-from-palette($arm-error, 900) !important;
1323
-
1324
- &:hover {
1325
- background-color: mat.get-color-from-palette($arm-error, 100) !important;
1326
- }
1327
-
1328
- &:focus {
1329
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1330
- outline-offset: 2px !important;
1331
- }
1332
- }
1333
-
1334
- &.mat-neutral {
1335
- background-color: mat.get-color-from-palette($arm-neutral, 50) !important;
1336
- color: mat.get-color-from-palette($arm-neutral, 500) !important;
1337
-
1338
- &:hover {
1339
- background-color: mat.get-color-from-palette($arm-neutral, 100) !important;
1340
- }
1341
-
1342
- &:focus {
1343
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1344
- outline-offset: 2px !important;
1345
- }
1346
- }
1347
- }
1348
-
1349
- &:disabled {
1350
- background: #f7f7f7 !important;
1351
- color: rgba(0, 0, 0, 0.6) !important;
1352
- opacity: 1 !important;
1353
- }
1354
- }
1355
-
1356
- &.sof-stroked-icon-button-outline {
1357
- background-color: #ffffff !important;
1358
- border-radius: 6px !important;
1359
- padding: 0px !important;
1360
-
1361
- &:enabled {
1362
- &.mat-primary {
1363
- border: 2px solid mat.get-color-from-palette($arm-primary, 500) !important;
1364
- color: mat.get-color-from-palette($arm-primary, 500) !important;
1365
-
1366
- &:hover {
1367
- background-color: mat.get-color-from-palette($arm-primary, 50) !important;
1368
- }
1369
-
1370
- &:focus {
1371
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1372
- outline-offset: 2px !important;
1373
- }
1374
- }
1375
-
1376
- &.mat-accent {
1377
- border: 2px solid mat.get-color-from-palette($arm-accent, 500) !important;
1378
- color: mat.get-color-from-palette($arm-accent, 500) !important;
1379
-
1380
- &:hover {
1381
- background-color: mat.get-color-from-palette($arm-accent, 50) !important;
1382
- }
1383
-
1384
- &:focus {
1385
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1386
- outline-offset: 2px !important;
1387
- }
1388
- }
1389
-
1390
- &.mat-warn {
1391
- border: 2px solid mat.get-color-from-palette($arm-warn, 500) !important;
1392
- color: mat.get-color-from-palette($arm-warn, 500) !important;
1393
-
1394
- &:hover {
1395
- background-color: mat.get-color-from-palette($arm-warn, 50) !important;
1396
- }
1397
-
1398
- &:focus {
1399
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1400
- outline-offset: 2px !important;
1401
- }
1402
- }
1403
-
1404
- &.mat-success {
1405
- border: 2px solid mat.get-color-from-palette($arm-success, 500) !important;
1406
- color: mat.get-color-from-palette($arm-success, 500) !important;
1407
-
1408
- &:hover {
1409
- background-color: mat.get-color-from-palette($arm-success, 50) !important;
1410
- }
1411
-
1412
- &:focus {
1413
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1414
- outline-offset: 2px !important;
1415
- }
1416
- }
1417
-
1418
- &.mat-error {
1419
- border: 2px solid mat.get-color-from-palette($arm-error, 900) !important;
1420
- color: mat.get-color-from-palette($arm-error, 900);
1421
-
1422
- &:hover {
1423
- background-color: mat.get-color-from-palette($arm-error, 50) !important;
1424
- }
1425
-
1426
- &:focus {
1427
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1428
- outline-offset: 2px !important;
1429
- }
1430
- }
1431
-
1432
- &.mat-info {
1433
- border: 2px solid mat.get-color-from-palette($arm-info, 500) !important;
1434
- color: mat.get-color-from-palette($arm-info, 500) !important;
1435
-
1436
- &:hover {
1437
- background-color: mat.get-color-from-palette($arm-info, 50) !important;
1438
- }
1439
-
1440
- &:focus {
1441
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1442
- outline-offset: 2px !important;
1443
- }
1444
- }
1445
-
1446
- &.mat-neutral {
1447
- border: 2px solid mat.get-color-from-palette($arm-neutral, 500) !important;
1448
- color: mat.get-color-from-palette($arm-neutral, 500) !important;
1449
-
1450
- &:hover {
1451
- background-color: mat.get-color-from-palette($arm-neutral, 50) !important;
1452
- }
1453
-
1454
- &:focus {
1455
- outline: 4px solid mat.get-color-from-palette($arm-primary, 500);
1456
- outline-offset: 2px !important;
1457
- }
1458
- }
1459
- }
1460
-
1461
- &:disabled {
1462
- background: #f7f7f7 !important;
1463
- color: rgba(0, 0, 0, 0.6) !important;
1464
- border: 2px solid rgba(0, 0, 0, 0.38) !important;
1465
- opacity: 1 !important;
1466
- }
1467
- }
1468
-
1469
- &.sof-stroked-icon-button[size="small"],
1470
- &.sof-stroked-icon-button-outline[size="small"] {
1471
- height: 36px !important;
1472
- width: 36px !important;
1473
- min-width: 36px !important;
1474
- font-size: 19px !important;
1475
- }
1476
-
1477
- &.sof-stroked-icon-button[size="medium"],
1478
- &.sof-stroked-icon-button-outline[size="medium"] {
1479
- height: 48px !important;
1480
- width: 48px !important;
1481
- min-width: 48px !important;
1482
- font-size: 24px !important;
1483
- }
1484
-
1485
- &.sof-stroked-icon-button[size="large"],
1486
- &.sof-stroked-icon-button-outline[size="large"] {
1487
- height: 56px !important;
1488
- width: 56px !important;
1489
- min-width: 56px !important;
1490
- font-size: 26px !important;
1491
- }
1492
- }
1493
-
1494
- // Button Redesign
1495
-
1496
- button.mat-mdc-button .mat-mdc-button-ripple,
1497
- .mat-mdc-button .mat-mdc-button-persistent-ripple,
1498
- .mat-mdc-button .mat-mdc-button-persistent-ripple::before,
1499
- .mat-mdc-unelevated-button .mat-mdc-button-ripple,
1500
- .mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,
1501
- .mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,
1502
- .mat-mdc-raised-button .mat-mdc-button-ripple,
1503
- .mat-mdc-raised-button .mat-mdc-button-persistent-ripple,
1504
- .mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,
1505
- .mat-mdc-outlined-button .mat-mdc-button-ripple,
1506
- .mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,
1507
- .mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before {
1508
- background: none !important;
1509
- }
1510
-
1511
- button.sof-button-v2 {
1512
-
1513
- display: flex;
1514
- justify-content: center;
1515
- align-items: center;
1516
- padding: 8px !important;
1517
- height: 40px !important;
1518
- border-radius: 8px !important;
1519
- font-family: Poppins !important;
1520
- font-style: normal !important;
1521
- font-weight: 500 !important;
1522
- font-size: 16px !important;
1523
- line-height: normal !important;
1524
- letter-spacing: 0px !important;
1525
- text-transform: capitalize !important;
1526
-
1527
- &.fixed-width {
1528
- width: 200px !important; // Use this is to match specific sizing
1529
- }
1530
-
1531
- &.full-width {
1532
- width: 100% !important; // Use this is button width will take size of flex percentage
1533
- }
1534
-
1535
- &.mat-mdc-unelevated-button span.mdc-button__label.mdc-button__label {
1536
- display: flex;
1537
- align-items: center;
1538
- font-size: 16px;
1539
-
1540
- i {
1541
- font-size: 20px;
1542
- }
1543
- }
1544
-
1545
- &.mat-mdc-unelevated-button span.mdc-button__label {
1546
- display: flex;
1547
- align-items: center;
1548
- justify-content: center !important;
1549
- width: 100% !important;
1550
-
1551
- i {
1552
- margin-right: 8px !important;
1553
- }
1554
- }
1555
-
1556
- &:enabled {
1557
- &.mat-primary {
1558
- background: mat.get-color-from-palette($arm-primary, 500);
1559
- color: map-get($arm-primary, contrast, 900);
1560
-
1561
- &:hover {
1562
- background-color: var(--primary-color-500-parts);
1563
- }
1564
-
1565
- &:focus {
1566
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1567
- outline-offset: 2px !important;
1568
- }
1569
- }
1570
-
1571
- &.mat-secondary {
1572
- background: #FAFAFA !important;
1573
- color: var(--primary-color-contrast-50-parts);
1574
-
1575
- &:hover {
1576
- background-color: #FAFAFA !important;
1577
- }
1578
-
1579
- &:focus {
1580
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1581
- outline-offset: 2px !important;
1582
- }
1583
- }
1584
-
1585
- &.mat-tertiary {
1586
- color: var(--primary-color-contrast-50-parts);
1587
- background: none !important;
1588
-
1589
- &:hover {
1590
- background-color: transparent !important;
1591
- }
1592
-
1593
- &:focus {
1594
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1595
- outline-offset: 2px !important;
1596
- }
1597
- }
1598
-
1599
- &.mat-error {
1600
- background: mat.get-color-from-palette($arm-error, 900);
1601
- color: map-get($arm-error, contrast, 900);
1602
-
1603
- &:hover {
1604
- background-color: mat.get-color-from-palette($arm-error, 700);
1605
- color: map-get($arm-error, contrast, 700);
1606
- }
1607
-
1608
- &:focus {
1609
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1610
- outline-offset: 2px !important;
1611
- }
1612
- }
1613
- }
1614
-
1615
- &:disabled {
1616
- background: #fafafa !important;
1617
- color: rgba(0, 0, 0, 0.6) !important;
1618
- opacity: 1 !important;
1619
-
1620
- &:hover {
1621
- background-color: mat.get-color-from-palette($arm-primary, 500);
1622
- }
1623
-
1624
- &:focus {
1625
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1626
- outline-offset: 2px !important;
1627
- }
1628
- }
1629
-
1630
- // have not seen this (.no-hover-effect) class? remove if not needed,
1631
- // also need to disable ripple effects globally
1632
- &.no-hover-effect.mat-button.mat-primary .mat-button-focus-overlay,
1633
- .no-hover-effect.mat-button.mat-secondary .mat-button-focus-overlay,
1634
- .no-hover-effect.mat-button.mat-tertiary .mat-button-focus-overlay,
1635
- .no-hover-effect.mat-button.mat-error .mat-button-focus-overlay,
1636
- .no-hover-effect.mat-button.mat-accent .mat-button-focus-overlay,
1637
- .no-hover-effect.mat-button.mat-warn .mat-button-focus-overlay {
1638
- background-color: transparent;
1639
- }
1640
- }
1641
-
1642
- button.sof-button-icon-v2 {
1643
- display: flex !important;
1644
- padding: 8px !important;
1645
- border-radius: 8px !important;
1646
- height: 40px !important;
1647
- justify-content: center !important;
1648
- align-items: center !important;
1649
- gap: 8px !important;
1650
- max-width: 36px !important;
1651
-
1652
- &.mat-mdc-unelevated-button span.mdc-button__label.mdc-button__label {
1653
- display: flex;
1654
- align-items: center;
1655
- font-size: 24px;
1656
-
1657
- }
1658
-
1659
- &.mdc-button {
1660
- min-width: 40px;
1661
- }
1662
-
1663
- &.full-width {
1664
- width: 100% !important; // Use this is button width will take size of flex percentage
1665
- }
1666
-
1667
- &:enabled {
1668
- &.mat-primary {
1669
- background: mat.get-color-from-palette($arm-primary, 500);
1670
- color: map-get($arm-error, contrast, 900);
1671
-
1672
- &:hover {
1673
- background-color: mat.get-color-from-palette($arm-primary, 500) !important;
1674
- color: map-get($arm-error, contrast, 700);
1675
- }
1676
-
1677
- &:focus {
1678
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1679
- outline-offset: 2px !important;
1680
- }
1681
- }
1682
-
1683
- &.mat-secondary {
1684
- background-color: #FAFAFA !important;
1685
- color: var(--primary-color-contrast-50-parts);
1686
-
1687
- &:hover {
1688
- background-color: #FAFAFA !important;
1689
- color: var(--primary-color-contrast-50-parts) !important;
1690
- }
1691
-
1692
- &:focus {
1693
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1694
- outline-offset: 2px !important;
1695
- }
1696
- }
1697
-
1698
- &.mat-tertiary {
1699
- color: var(--primary-color-contrast-50-parts);
1700
- background: transparent !important;
1701
-
1702
- &:focus {
1703
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1704
- outline-offset: 2px !important;
1705
- }
1706
- }
1707
-
1708
- &.mat-error {
1709
- background: mat.get-color-from-palette($arm-error, 900);
1710
- color: map-get($arm-error, contrast, 900);
1711
-
1712
- &:hover {
1713
- background-color: mat.get-color-from-palette($arm-error, 700);
1714
- color: map-get($arm-error, contrast, 700);
1715
- }
1716
-
1717
- &:focus {
1718
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1719
- outline-offset: 2px !important;
1720
- }
1721
- }
1722
- }
1723
-
1724
- &:disabled {
1725
- background: #fafafa !important;
1726
- color: rgba(0, 0, 0, 0.6) !important;
1727
- opacity: 1 !important;
1728
-
1729
- &:hover {
1730
- background-color: mat.get-color-from-palette($arm-primary, 500);
1731
- }
1732
-
1733
- &:focus {
1734
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1735
- outline-offset: 2px !important;
1736
- }
1737
- }
1738
- }
1739
-
1740
- // this could be bad ... see if this effects all material overlays ...
1741
- .cdk-overlay-connected-position-bounding-box {
1742
- margin-top: 10px !important;
1743
- margin-bottom: 10px !important;
1744
- }
1745
-
1746
- // if this is just for utility buttons ... add a custom class so does not effect all menu's ...
1747
- .mat-mdc-menu-panel {
1748
- background-color: $surface-color-level-one-light !important;
1749
- box-shadow: 0px 4px 8px 0px mat.get-color-from-palette($arm-neutral, A300) !important;
1750
- border-radius: 8px !important;
1751
- }
1752
-
1753
- .mat-mdc-menu-item-text {
1754
- font-weight: 500 !important;
1755
- color: rgba(0, 0, 0, 0.87) !important;
1756
- font-family: Poppins !important;
1757
- }
1758
-
1759
- button.button-icon-utility {
1760
- display: flex !important;
1761
- justify-content: center !important;
1762
- align-items: center !important;
1763
- gap: 8px !important;
1764
- padding: 0px !important;
1765
- border-radius: 4px !important;
1766
- height: 24px !important;
1767
- width: 24px !important;
1768
-
1769
- &.mat-mdc-unelevated-button span.mdc-button__label.mdc-button__label {
1770
- display: flex;
1771
- align-items: center;
1772
- font-size: 20px;
1773
- }
1774
-
1775
- &.mdc-button {
1776
- min-width: 24px;
1777
- }
1778
-
1779
- &.full-width {
1780
- width: 100% !important; // Use this is button width will take size of flex percentage
1781
- }
1782
-
1783
- &:enabled {
1784
- &:focus {
1785
- outline: 3px solid mat.get-color-from-palette($arm-primary, 300);
1786
- outline-offset: 2px !important;
1787
- }
1788
-
1789
- &.mat-primary {
1790
- background: mat.get-color-from-palette($arm-primary, 500);
1791
- color: map-get($arm-error, contrast, 900);
1792
- border-radius: 4px solid !important;
1793
-
1794
- &:hover {
1795
- background-color: mat.get-color-from-palette($arm-primary, 700) !important;
1796
- color: map-get($arm-error, contrast, 700);
1797
- }
1798
-
1799
- &:focus {
1800
- background-color: mat.get-color-from-palette($arm-primary, 700) !important;
1801
- }
1802
- }
1803
-
1804
- &.mat-secondary {
1805
- background-color: #FAFAFA !important;
1806
- color: #146EF6 !important;
1807
-
1808
- &:hover {
1809
- background-color: #F5F5F5 !important;
1810
- color: #146EF6 !important;
1811
- }
1812
-
1813
- &:focus {
1814
- background-color: #E9E9E9 !important;
1815
- }
1816
- }
1817
-
1818
- &.mat-tertiary {
1819
- color: #146EF6 !important;
1820
- background: transparent !important;
1821
-
1822
- &:focus {
1823
- background-color: rgba(20, 110, 246, 0.08) !important;
1824
- }
1825
-
1826
- &:hover {
1827
- background-color: rgba(20, 110, 246, 0.04) !important;
1828
- }
1829
- }
1830
-
1831
- &.mat-contained {
1832
- color: #146EF6 !important;
1833
- background: none !important;
1834
- border: 2px solid #146EF6 !important;
1835
-
1836
- &:focus {
1837
- border: 3px solid mat.get-color-from-palette($arm-primary, 700) !important;
1838
- color: map-get($arm-error, contrast, 700);
1839
- background-color: rgba(20, 110, 246, 0.08) !important;
1840
- }
1841
-
1842
- &:hover {
1843
- background-color: rgba(20, 110, 246, 0.04) !important;
1844
- }
1845
- }
1846
-
1847
- &.mat-contained-error {
1848
- color: rgba(215, 36, 26, 1) !important;
1849
- background: none !important;
1850
- border: 2px solid rgba(215, 36, 26, 1) !important;
1851
-
1852
- &:focus {
1853
- border: 3px solid mat.get-color-from-palette($arm-error, 700) !important;
1854
- color: map-get($arm-error, contrast, 700);
1855
- background-color: rgba(215, 36, 26, 0.08) !important;
1856
- }
1857
-
1858
- &:hover {
1859
- background-color: rgba(215, 36, 26, 0.04) !important;
1860
- }
1861
- }
1862
-
1863
- &.mat-error-primary {
1864
- background: rgba(215, 36, 26, 1) !important;
1865
- color: map-get($arm-error, contrast, 900);
1866
-
1867
- &:hover {
1868
- background-color: mat.get-color-from-palette($arm-error, 700);
1869
- color: map-get($arm-error, contrast, 700);
1870
- }
1871
-
1872
- &:focus {
1873
- background-color: rgba(199, 22, 15, 1) !important;
1874
- }
1875
- }
1876
-
1877
- &.mat-error-secondary {
1878
- background-color: #FAFAFA !important;
1879
- color: rgba(215, 36, 26, 1) !important;
1880
-
1881
- &:hover {
1882
- background-color: rgba(245, 245, 245, 1) !important;
1883
- color: map-get($arm-error, contrast, 700);
1884
- }
1885
-
1886
- &:focus {
1887
- background-color: rgba(233, 233, 233, 1) !important;
1888
- }
1889
- }
1890
-
1891
- &.mat-error-tertiary {
1892
- background: transparent !important;
1893
- color: rgba(215, 36, 26, 1) !important;
1894
-
1895
- &:hover {
1896
- background-color: rgba(215, 36, 26, 0.04) !important;
1897
- color: map-get($arm-error, contrast, 700);
1898
- }
1899
-
1900
- &:focus {
1901
- background-color: rgba(215, 36, 26, 0.08) !important;
1902
- }
1903
- }
1904
- }
1905
-
1906
- &:disabled {
1907
- &.mat-primary {
1908
- background-color: #FAFAFA !important;
1909
- }
1910
-
1911
- &.mat-secondary {
1912
- background-color: transparent !important;
1913
- }
1914
-
1915
- &.mat-contained {
1916
- background-color: transparent !important;
1917
- border: 2px solid rgba(0, 0, 0, 0.38) !important;
1918
- color: rgba(0, 0, 0, 0.38) !important;
1919
- }
1920
-
1921
- &.mat-contained-error {
1922
- background-color: transparent !important;
1923
- border: 3px solid rgba(0, 0, 0, 0.38) !important;
1924
- color: rgba(0, 0, 0, 0.38) !important;
1925
- }
1926
-
1927
- &.mat-tertiary {
1928
- background-color: transparent !important;
1929
- }
1930
-
1931
- &.mat-error {
1932
- background: rgba(250, 250, 250, 1) !important;
1933
- }
1934
-
1935
- &.mat-error-primary {
1936
- background: rgba(250, 250, 250, 1) !important;
1937
-
1938
- }
1939
-
1940
- &.mat-error-tertiary {
1941
- background: rgba(250, 250, 250, 1) !important;
1942
-
1943
- }
1944
-
1945
- &.mat-error-secondary {
1946
- background: rgba(250, 250, 250, 1) !important;
1947
- }
1948
- }
1949
- }
1950
-
1951
- button .mat-badge-content {
1952
- background-color: #333333 !important;
1953
- }
1954
-
1955
- mat-card {
1956
- &.mat-mdc-card.item-list {
1957
- box-shadow: 0px 1px 7px rgb(166 159 159 / 25%) !important;
1958
- border-radius: 10px !important;
1959
- overflow: overlay !important;
1960
- max-height: 322px !important;
1961
- padding: 0px !important;
1962
- }
1963
- }
1964
-
1965
- .mat-mdc-dialog-title {
1966
- font-family: Merriweather, serif !important;
1967
- font-style: normal !important;
1968
- font-weight: 400 !important;
1969
- font-size: 24px !important;
1970
- line-height: 36px !important;
1971
- letter-spacing: normal !important;
1972
- padding: 0px !important;
1973
- display: flex !important;
1974
- }
1975
-
1976
- .mat-mdc-dialog-container .mdc-dialog__content {
1977
- color: #000 !important;
1978
- }
1979
-
1980
- .mat-mdc-dialog-content {
1981
- display: block !important;
1982
- max-height: 65vh !important;
1983
- padding: 0px !important;
1984
- overflow: auto !important;
1985
- }
1
+ /**
2
+ 'sof-styles.scss' is Armature's main style file,
3
+ which serves as a centralized styling solution for applications that consume this library.
1986
4
 
1987
- .mat-mdc-dialog-container {
1988
- display: block !important;
1989
- background: #ffffff !important;
1990
- border: 1px solid #dfdfdf !important;
1991
- box-sizing: border-box !important;
1992
- border-radius: 10px !important;
1993
- overflow: auto !important;
1994
- outline: 0 !important;
1995
- width: 100% !important;
1996
- height: 100% !important;
1997
- min-height: inherit !important;
1998
- max-height: inherit !important;
1999
- }
5
+ This file acts as an index,
6
+ Please do not include any actual css code in this file.
2000
7
 
2001
- .mat-mdc-list-base {
2002
- padding-top: 0px !important;
2003
- }
8
+ Note that any file with variables declared for export must be '@forward',
9
+ this will allow those variables to be accessed directly through 'sof-styles.scss' as well as by using that file directly.
10
+ */
2004
11
 
2005
- .mdc-tooltip__surface {
2006
- color: #fff !important;
2007
- font-size: 14px !important;
2008
- font-style: normal !important;
2009
- font-weight: 100 !important;
2010
- font-family: Poppins !important;
2011
- line-height: normal !important;
2012
- background-color: #333333 !important;
2013
- border-radius: 4px !important;
2014
- text-align: center !important;
2015
- position: relative;
2016
- padding-left: 4px !important;
2017
- padding-right: 4px !important;
2018
- padding-bottom: 0px !important;
2019
- padding-top: 1px !important;
2020
-
2021
- &::after {
2022
- width: 0;
2023
- height: 0;
2024
- content: '';
2025
- position: absolute;
2026
- }
2027
-
2028
- &.below {
2029
- overflow: initial;
2030
-
2031
- &:after {
2032
- top: -0.5rem;
2033
- right: calc(50% - 0.3rem);
2034
- transform: rotate(0);
2035
- border-left: 0.25rem solid transparent;
2036
- border-right: 0.25rem solid transparent;
2037
- border-bottom: 0.5rem solid #333333 !important;
2038
-
2039
- }
2040
- }
2041
-
2042
- &.above {
2043
- overflow: initial;
2044
- margin-bottom: 1.25rem;
2045
-
2046
- &:after {
2047
- bottom: -0.5rem;
2048
- right: calc(50% - 0.3rem);
2049
- transform: rotate(180deg);
2050
- border-left: 0.25rem solid transparent;
2051
- border-right: 0.25rem solid transparent;
2052
- border-bottom: 0.5rem solid #333333 !important;
2053
-
2054
- }
2055
- }
2056
-
2057
- &.right {
2058
- overflow: initial;
2059
- margin-left: 0.75rem;
2060
-
2061
- &:after {
2062
- left: -0.40rem;
2063
- top: calc(50% - 0.50rem);
2064
- transform: rotate(270deg);
2065
- border-left: 0.3rem solid transparent;
2066
- border-right: 0.3rem solid transparent;
2067
- border-bottom: 1rem solid #333333 !important;
2068
-
2069
- }
2070
- }
2071
-
2072
- &.left {
2073
- overflow: initial;
2074
- margin-right: 0.75rem;
2075
-
2076
- &:after {
2077
- right: -0.40rem;
2078
- top: calc(50% - 0.50rem);
2079
- transform: rotate(90deg);
2080
- border-left: 0.3rem solid transparent;
2081
- border-right: 0.3rem solid transparent;
2082
- border-top: 0.3rem solid transparent;
2083
- border-bottom: 1rem solid #333333 !important;
2084
-
2085
- }
2086
- }
2087
- }
2088
-
2089
- ::ng-deep .cdk-overlay-container .cdk-overlay-pane {
2090
- &.mat-mdc-tooltip-panel {
2091
- transform: none !important;
2092
- }
2093
- }
2094
-
2095
- .mat-mdc-chip {
2096
- font-style: normal !important;
2097
- font-weight: 500 !important;
2098
- font-size: 12px !important;
2099
- line-height: 16px !important;
2100
- height: max-content !important;
2101
- word-break: break-all !important;
2102
- }
2103
-
2104
- mat-form-field.sof-form-field {
2105
- font-family: "Poppins" !important;
2106
-
2107
- &.mat-form-field-invalid {
2108
- .mat-mdc-form-field-flex>div.mdc-notched-outline>* {
2109
- border-color: mat.get-color-from-palette($arm-error, 500) !important;
2110
- }
2111
-
2112
- .mdc-notched-outline__notch {
2113
- border-left: none !important;
2114
- }
2115
-
2116
- .mdc-notched-outline__leading,
2117
- .mdc-notched-outline__notch,
2118
- .mdc-notched-outline__trailing {
2119
- border-width: 2px !important;
2120
- }
2121
-
2122
- .mat-mdc-floating-label {
2123
- color: mat.get-color-from-palette($arm-error, 500) !important;
2124
- }
2125
-
2126
- &.mat-focused .mdc-floating-label {
2127
- color: mat.get-color-from-palette($arm-error, 500) !important;
2128
- }
2129
- }
2130
-
2131
- &.mat-focused {
2132
- font-weight: 400 !important;
2133
-
2134
- input,
2135
- span.mat-mdc-select-value-text {
2136
- font-weight: 400 !important;
2137
- }
2138
-
2139
- .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,
2140
- .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,
2141
- .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {
2142
- border-width: 3px !important;
2143
- }
2144
- }
2145
-
2146
- &.mat-form-field-disabled .mdc-text-field--outlined {
2147
- background-color: #f7f7f7 !important;
2148
- }
2149
-
2150
- .mat-mdc-form-field-flex>div.mdc-notched-outline {
2151
- color: mat.get-color-from-palette($arm-primary, 500) !important;
2152
- }
2153
-
2154
- .mat-mdc-text-field-wrapper {
2155
- padding: 0px !important;
2156
- }
2157
-
2158
- .mat-mdc-form-field-flex {
2159
- padding: 0 16px 0 16px !important;
2160
- }
2161
-
2162
- .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-form-field-icon-prefix {
2163
- top: 0em !important;
2164
- color: mat.get-color-from-palette($arm-neutral, 300) !important;
2165
- padding-right: 0.5em !important;
2166
- font-size: 1.5em !important;
2167
- }
2168
-
2169
- .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-form-field-icon-suffix {
2170
- top: 0em !important;
2171
- font-size: 1.5em !important;
2172
- color: mat.get-color-from-palette($arm-neutral, 300) !important;
2173
-
2174
- .error {
2175
- color: mat.get-color-from-palette($arm-error, 500) !important;
2176
- }
2177
- }
2178
-
2179
- .mat-mdc-form-field-flex div.mdc-notched-outline__leading {
2180
- border-radius: 6px 0 0 6px !important;
2181
- min-width: 6px !important;
2182
- }
2183
-
2184
- .mat-mdc-form-field-flex div.mdc-notched-outline__trailing {
2185
- border-radius: 0 6px 6px 0 !important;
2186
- }
2187
-
2188
- mat-error {
2189
- font-family: "Poppins" !important;
2190
- font-style: normal !important;
2191
- font-weight: 500 !important;
2192
- font-size: 12px !important;
2193
- line-height: 18px !important;
2194
- color: mat.get-color-from-palette($arm-error, 500) !important;
2195
- }
2196
-
2197
- mat-hint {
2198
- font-family: "Poppins" !important;
2199
- font-style: normal !important;
2200
- font-weight: 400 !important;
2201
- font-size: 12px !important;
2202
- line-height: 18px !important;
2203
- }
2204
-
2205
- &.mat-focused .mdc-floating-label {
2206
- color: mat.get-color-from-palette($arm-primary, 500) !important;
2207
- }
2208
-
2209
- .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,
2210
- .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,
2211
- .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {
2212
- border-color: mat.get-color-from-palette($arm-primary, 500);
2213
- }
2214
-
2215
- .mat-mdc-text-field-wrapper {
2216
- --mat-mdc-form-field-label-offset-x: 0px;
2217
- }
2218
- }
2219
-
2220
- .mat-primary .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option.mdc-list-item--disabled) {
2221
- color: mat.get-color-from-palette($arm-primary, 500) !important;
2222
- }
2223
-
2224
- mat-optgroup label,
2225
- mat-optgroup mat-option {
2226
- font-family: "Poppins" !important;
2227
- }
2228
-
2229
- .mat-drawer-container.sof-ar-nav-sidenav-container {
2230
- @media only screen and (max-width: $mat-lt-md) {
2231
- background: rgba(245, 245, 245, 0.5) !important;
2232
- }
2233
- }
2234
-
2235
- // MatRadio Overrides [START]
2236
- // Color Styles [START]
2237
- mat-radio-button.sof-radio-button.mat-mdc-radio-checked {
2238
-
2239
- &.mat-primary,
2240
- &[color="primary"] {
2241
- --mdc-radio-selected-focus-icon-color: #{mat.get-color-from-palette($arm-primary, 500)};
2242
- --mdc-radio-selected-hover-icon-color: #{mat.get-color-from-palette($arm-primary, 500)};
2243
- --mdc-radio-selected-icon-color: #{mat.get-color-from-palette($arm-primary, 500)};
2244
- --mdc-radio-selected-pressed-icon-color: #{mat.get-color-from-palette($arm-primary, 500)};
2245
- --mat-mdc-radio-checked-ripple-color: #{mat.get-color-from-palette($arm-primary, 500)};
2246
- }
2247
-
2248
- &.mat-accent,
2249
- &[color="accent"] {
2250
- --mdc-radio-selected-focus-icon-color: #{mat.get-color-from-palette($arm-accent, 500)};
2251
- --mdc-radio-selected-hover-icon-color: #{mat.get-color-from-palette($arm-accent, 500)};
2252
- --mdc-radio-selected-icon-color: #{mat.get-color-from-palette($arm-accent, 500)};
2253
- --mdc-radio-selected-pressed-icon-color: #{mat.get-color-from-palette($arm-accent, 500)};
2254
- --mat-mdc-radio-checked-ripple-color: #{mat.get-color-from-palette($arm-accent, 500)};
2255
- }
2256
-
2257
- &.mat-warn,
2258
- &[color="warn"] {
2259
- --mdc-radio-selected-focus-icon-color: #{mat.get-color-from-palette($arm-warn, 500)};
2260
- --mdc-radio-selected-hover-icon-color: #{mat.get-color-from-palette($arm-warn, 500)};
2261
- --mdc-radio-selected-icon-color: #{mat.get-color-from-palette($arm-warn, 500)};
2262
- --mdc-radio-selected-pressed-icon-color: #{mat.get-color-from-palette($arm-warn, 500)};
2263
- --mat-mdc-radio-checked-ripple-color: #{mat.get-color-from-palette($arm-warn, 500)};
2264
- }
2265
-
2266
- &.mat-success,
2267
- &[color="success"] {
2268
- --mdc-radio-selected-focus-icon-color: #{mat.get-color-from-palette($arm-success, 500)};
2269
- --mdc-radio-selected-hover-icon-color: #{mat.get-color-from-palette($arm-success, 500)};
2270
- --mdc-radio-selected-icon-color: #{mat.get-color-from-palette($arm-success, 500)};
2271
- --mdc-radio-selected-pressed-icon-color: #{mat.get-color-from-palette($arm-success, 500)};
2272
- --mat-mdc-radio-checked-ripple-color: #{mat.get-color-from-palette($arm-success, 500)};
2273
- }
2274
-
2275
- &.mat-info,
2276
- &[color="info"] {
2277
- --mdc-radio-selected-focus-icon-color: #{mat.get-color-from-palette($arm-info, 500)};
2278
- --mdc-radio-selected-hover-icon-color: #{mat.get-color-from-palette($arm-info, 500)};
2279
- --mdc-radio-selected-icon-color: #{mat.get-color-from-palette($arm-info, 500)};
2280
- --mdc-radio-selected-pressed-icon-color: #{mat.get-color-from-palette($arm-info, 500)};
2281
- --mat-mdc-radio-checked-ripple-color: #{mat.get-color-from-palette($arm-info, 500)};
2282
- }
2283
-
2284
- &.mat-error,
2285
- &[color="error"] {
2286
- --mdc-radio-selected-focus-icon-color: #{mat.get-color-from-palette($arm-error, 500)};
2287
- --mdc-radio-selected-hover-icon-color: #{mat.get-color-from-palette($arm-error, 500)};
2288
- --mdc-radio-selected-icon-color: #{mat.get-color-from-palette($arm-error, 500)};
2289
- --mdc-radio-selected-pressed-icon-color: #{mat.get-color-from-palette($arm-error, 500)};
2290
- --mat-mdc-radio-checked-ripple-color: #{mat.get-color-from-palette($arm-error, 500)};
2291
- }
2292
-
2293
- &.mat-neutral,
2294
- &[color="neutral"] {
2295
- --mdc-radio-selected-focus-icon-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2296
- --mdc-radio-selected-hover-icon-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2297
- --mdc-radio-selected-icon-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2298
- --mdc-radio-selected-pressed-icon-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2299
- --mat-mdc-radio-checked-ripple-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2300
- }
2301
- }
2302
-
2303
- // Color Styles [END]
2304
-
2305
- mat-radio-button.sof-radio-button {
2306
- .mdc-radio__background {
2307
- border-width: 3px !important;
2308
- }
2309
-
2310
- // Styles that vary by size [START]
2311
- .mdc-radio__background,
2312
- .mdc-radio {
2313
- width: 20px !important;
2314
- height: 20px !important;
2315
- }
2316
-
2317
- .mdc-radio__native-control {
2318
- width: 24px !important;
2319
- height: 24px !important;
2320
- transform: translate(0.7em, 9.5px);
2321
- }
2322
-
2323
- .mat-mdc-radio-touch-target {
2324
- transform: translate(-48%, -50%) !important;
2325
- }
2326
-
2327
- .mat-radio-ripple,
2328
- .mdc-radio:hover .mdc-radio__native-control:not([disabled])~.mdc-radio-ripple {
2329
- width: 40px;
2330
- height: 40px;
2331
- transform: translate(1px, 1px) !important;
2332
- }
2333
-
2334
- label {
2335
- @extend .body2;
2336
- }
2337
-
2338
- // Styles that vary by size [END]
2339
- }
2340
-
2341
- // MatRadio Overrides [END]
2342
-
2343
- // MatSlider Overrides [START]
2344
-
2345
- mat-slider.sof-slider {
2346
-
2347
- // Color Styles [START]
2348
- &.mat-primary {
2349
- --mdc-slider-handle-color: #{mat.get-color-from-palette($arm-primary, 500)};
2350
- --mdc-slider-focus-handle-color: #{mat.get-color-from-palette($arm-primary, 500)};
2351
- --mdc-slider-hover-handle-color: #{mat.get-color-from-palette($arm-primary, 500)};
2352
- --mdc-slider-active-track-color: #{mat.get-color-from-palette($arm-primary, 500)};
2353
- --mdc-slider-inactive-track-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2354
- --mdc-slider-with-tick-marks-inactive-container-color: #{mat.get-color-from-palette($arm-primary, 500)};
2355
- --mat-mdc-slider-ripple-color: #{mat.get-color-from-palette($arm-primary, 500)};
2356
- --mat-mdc-slider-hover-ripple-color: rgba(var(--primary-color-500-parts-rgb), 0.05);
2357
- --mat-mdc-slider-focus-ripple-color: rgba(var(--primary-color-500-parts-rgb), 0.2);
2358
- }
2359
-
2360
- &.mat-accent {
2361
- --mdc-slider-handle-color: #{mat.get-color-from-palette($arm-accent, 500)};
2362
- --mdc-slider-focus-handle-color: #{mat.get-color-from-palette($arm-accent, 500)};
2363
- --mdc-slider-hover-handle-color: #{mat.get-color-from-palette($arm-accent, 500)};
2364
- --mdc-slider-active-track-color: #{mat.get-color-from-palette($arm-accent, 500)};
2365
- --mdc-slider-inactive-track-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2366
- --mdc-slider-with-tick-marks-inactive-container-color: #{mat.get-color-from-palette($arm-accent, 500)};
2367
- --mat-mdc-slider-ripple-color: #{mat.get-color-from-palette($arm-accent, 500)};
2368
- --mat-mdc-slider-hover-ripple-color: rgba(var(--accent-color-500-parts-rgb), 0.05);
2369
- --mat-mdc-slider-focus-ripple-color: rgba(var(--accent-color-500-parts-rgb), 0.2);
2370
- }
2371
-
2372
- &.mat-warn {
2373
- --mdc-slider-handle-color: #{mat.get-color-from-palette($arm-warn, 500)};
2374
- --mdc-slider-focus-handle-color: #{mat.get-color-from-palette($arm-warn, 500)};
2375
- --mdc-slider-hover-handle-color: #{mat.get-color-from-palette($arm-warn, 500)};
2376
- --mdc-slider-active-track-color: #{mat.get-color-from-palette($arm-warn, 500)};
2377
- --mdc-slider-inactive-track-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2378
- --mdc-slider-with-tick-marks-inactive-container-color: #{mat.get-color-from-palette($arm-warn, 500)};
2379
- --mat-mdc-slider-ripple-color: #{mat.get-color-from-palette($arm-warn, 500)};
2380
- --mat-mdc-slider-hover-ripple-color: rgba(var(--warn-color-500-parts-rgb), 0.05);
2381
- --mat-mdc-slider-focus-ripple-color: rgba(var(--warn-color-500-parts-rgb), 0.2);
2382
- }
2383
-
2384
- &.mat-success {
2385
- --mdc-slider-handle-color: #{mat.get-color-from-palette($arm-success, 500)};
2386
- --mdc-slider-focus-handle-color: #{mat.get-color-from-palette($arm-success, 500)};
2387
- --mdc-slider-hover-handle-color: #{mat.get-color-from-palette($arm-success, 500)};
2388
- --mdc-slider-active-track-color: #{mat.get-color-from-palette($arm-success, 500)};
2389
- --mdc-slider-inactive-track-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2390
- --mdc-slider-with-tick-marks-inactive-container-color: #{mat.get-color-from-palette($arm-success, 500)};
2391
- --mat-mdc-slider-ripple-color: #{mat.get-color-from-palette($arm-success, 500)};
2392
- --mat-mdc-slider-hover-ripple-color: rgba(var(--success-color-500-parts-rgb), 0.05);
2393
- --mat-mdc-slider-focus-ripple-color: rgba(var(--success-color-500-parts-rgb), 0.2);
2394
- }
2395
-
2396
- &.mat-info {
2397
- --mdc-slider-handle-color: #{mat.get-color-from-palette($arm-info, 500)};
2398
- --mdc-slider-focus-handle-color: #{mat.get-color-from-palette($arm-info, 500)};
2399
- --mdc-slider-hover-handle-color: #{mat.get-color-from-palette($arm-info, 500)};
2400
- --mdc-slider-active-track-color: #{mat.get-color-from-palette($arm-info, 500)};
2401
- --mdc-slider-inactive-track-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2402
- --mdc-slider-with-tick-marks-inactive-container-color: #{mat.get-color-from-palette($arm-info, 500)};
2403
- --mat-mdc-slider-ripple-color: #{mat.get-color-from-palette($arm-info, 500)};
2404
- --mat-mdc-slider-hover-ripple-color: rgba(var(--info-color-500-parts-rgb), 0.05);
2405
- --mat-mdc-slider-focus-ripple-color: rgba(var(--info-color-500-parts-rgb), 0.2);
2406
- }
2407
-
2408
- &.mat-error {
2409
- --mdc-slider-handle-color: #{mat.get-color-from-palette($arm-error, 500)};
2410
- --mdc-slider-focus-handle-color: #{mat.get-color-from-palette($arm-error, 500)};
2411
- --mdc-slider-hover-handle-color: #{mat.get-color-from-palette($arm-error, 500)};
2412
- --mdc-slider-active-track-color: #{mat.get-color-from-palette($arm-error, 500)};
2413
- --mdc-slider-inactive-track-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2414
- --mdc-slider-with-tick-marks-inactive-container-color: #{mat.get-color-from-palette($arm-error, 500)};
2415
- --mat-mdc-slider-ripple-color: #{mat.get-color-from-palette($arm-error, 500)};
2416
- --mat-mdc-slider-hover-ripple-color: rgba(var(--error-color-500-parts-rgb), 0.05);
2417
- --mat-mdc-slider-focus-ripple-color: rgba(var(--error-color-500-parts-rgb), 0.2);
2418
- }
2419
-
2420
- &.mat-neutral {
2421
- --mdc-slider-handle-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2422
- --mdc-slider-focus-handle-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2423
- --mdc-slider-hover-handle-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2424
- --mdc-slider-active-track-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2425
- --mdc-slider-inactive-track-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2426
- --mdc-slider-with-tick-marks-inactive-container-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2427
- --mat-mdc-slider-ripple-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2428
- --mat-mdc-slider-hover-ripple-color: rgba(var(--neutral-color-500-parts-rgb), 0.05);
2429
- --mat-mdc-slider-focus-ripple-color: rgba(var(--neutral-color-500-parts-rgb), 0.2);
2430
- }
2431
-
2432
- // Color Styles [END]
2433
-
2434
- // Size Styles [START]
2435
- --mdc-slider-active-track-height: 10px;
2436
- --mdc-slider-inactive-track-height: 10px;
2437
-
2438
- &.mat-mdc-slider {
2439
- max-width: 300px;
2440
- width: 100%;
2441
- }
2442
-
2443
- .mdc-slider__thumb-knob {
2444
- border-width: 2px !important;
2445
- background-color: white !important;
2446
- }
2447
-
2448
- // Size Styles [END]
2449
- }
2450
-
2451
- // MatSlider Overrides [END]
2452
-
2453
- // MatCheckbox Overrides [START]
2454
-
2455
- mat-checkbox.sof-checkbox {
2456
- .mdc-checkbox {
2457
- --mdc-checkbox-selected-checkmark-color: #fff;
2458
- }
2459
-
2460
- .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark {
2461
- --mdc-checkbox-disabled-selected-checkmark-color: rgba(0, 0, 0, 0.38);
2462
- }
2463
-
2464
- .mdc-checkbox__native-control[disabled]:not(:indeterminate):not([data-indeterminate="true"])~.mdc-checkbox__background {
2465
- background-color: #f7f7f7 !important;
2466
- border: 2px solid rgba(0, 0, 0, 0.38);
2467
- }
2468
-
2469
- .mdc-checkbox__background {
2470
- border-width: 3px !important;
2471
- }
2472
-
2473
- // Color Styles [START]
2474
- &.mat-warn .mdc-checkbox {
2475
- --mdc-checkbox-selected-focus-icon-color: #{mat.get-color-from-palette($arm-warn, 500)};
2476
- --mdc-checkbox-selected-hover-icon-color: #{mat.get-color-from-palette($arm-warn, 500)};
2477
- --mdc-checkbox-selected-icon-color: #{mat.get-color-from-palette($arm-warn, 500)};
2478
- --mdc-checkbox-selected-pressed-icon-color: #{mat.get-color-from-palette($arm-warn, 500)};
2479
-
2480
- .mdc-checkbox--selected~.mdc-checkbox__ripple {
2481
- background: mat.get-color-from-palette($arm-warn, 500);
2482
- }
2483
- }
2484
-
2485
- &.mat-success .mdc-checkbox {
2486
- --mdc-checkbox-selected-focus-icon-color: #{mat.get-color-from-palette($arm-success, 500)};
2487
- --mdc-checkbox-selected-hover-icon-color: #{mat.get-color-from-palette($arm-success, 500)};
2488
- --mdc-checkbox-selected-icon-color: #{mat.get-color-from-palette($arm-success, 500)};
2489
- --mdc-checkbox-selected-pressed-icon-color: #{mat.get-color-from-palette($arm-success, 500)};
2490
-
2491
- .mdc-checkbox--selected~.mdc-checkbox__ripple {
2492
- background: mat.get-color-from-palette($arm-success, 500);
2493
- }
2494
- }
2495
-
2496
- &.mat-info .mdc-checkbox {
2497
- --mdc-checkbox-selected-focus-icon-color: #{mat.get-color-from-palette($arm-info, 500)};
2498
- --mdc-checkbox-selected-hover-icon-color: #{mat.get-color-from-palette($arm-info, 500)};
2499
- --mdc-checkbox-selected-icon-color: #{mat.get-color-from-palette($arm-info, 500)};
2500
- --mdc-checkbox-selected-pressed-icon-color: #{mat.get-color-from-palette($arm-info, 500)};
2501
-
2502
- .mdc-checkbox--selected~.mdc-checkbox__ripple {
2503
- background: mat.get-color-from-palette($arm-info, 500);
2504
- }
2505
- }
2506
-
2507
- &.mat-error .mdc-checkbox {
2508
- --mdc-checkbox-selected-focus-icon-color: #{mat.get-color-from-palette($arm-error, 500)};
2509
- --mdc-checkbox-selected-hover-icon-color: #{mat.get-color-from-palette($arm-error, 500)};
2510
- --mdc-checkbox-selected-icon-color: #{mat.get-color-from-palette($arm-error, 500)};
2511
- --mdc-checkbox-selected-pressed-icon-color: #{mat.get-color-from-palette($arm-error, 500)};
2512
-
2513
- .mdc-checkbox--selected~.mdc-checkbox__ripple {
2514
- background: mat.get-color-from-palette($arm-error, 500);
2515
- }
2516
- }
2517
-
2518
- &.mat-neutral .mdc-checkbox {
2519
- --mdc-checkbox-selected-focus-icon-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2520
- --mdc-checkbox-selected-hover-icon-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2521
- --mdc-checkbox-selected-icon-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2522
- --mdc-checkbox-selected-pressed-icon-color: #{mat.get-color-from-palette($arm-neutral, 500)};
2523
-
2524
- .mdc-checkbox--selected~.mdc-checkbox__ripple {
2525
- background: mat.get-color-from-palette($arm-neutral, 500);
2526
- }
2527
- }
2528
-
2529
- // Color Styles [END]
2530
-
2531
- // Styles that vary by size [START]
2532
- .mdc-checkbox__background,
2533
- .mdc-checkbox {
2534
- width: 20px !important;
2535
- height: 20px !important;
2536
- }
2537
-
2538
- .mdc-checkbox__native-control {
2539
- width: 24px !important;
2540
- height: 24px !important;
2541
- transform: translate(0.7em, 9.5px);
2542
- }
2543
-
2544
- .mat-mdc-checkbox-touch-target {
2545
- transform: translate(-48%, -50%) !important;
2546
- }
2547
-
2548
- .mdc-checkbox__ripple,
2549
- .mat-mdc-checkbox-ripple,
2550
- .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple {
2551
- width: 40px;
2552
- height: 40px;
2553
- transform: translate(1px, 1px) !important;
2554
- }
2555
-
2556
- label {
2557
- @extend .body2;
2558
- }
2559
-
2560
- // Styles that vary by size [END]
2561
- }
2562
-
2563
- // MatCheckbox Overrides [END]
2564
-
2565
- // MatChip class overrides [START]
2566
- // https://material.angular.io/components/chips/api
2567
- .mat-mdc-chip.sof-chip {
2568
- font-family: "Poppins" !important;
2569
- font-size: 14px !important;
2570
- height: 32px !important;
2571
- font-style: normal !important;
2572
-
2573
- i {
2574
- padding-right: 8px !important;
2575
- padding-left: 8px !important;
2576
- }
2577
- }
2578
-
2579
- .mat-mdc-chip.mdc-evolution-chip--disabled.sof-chip {
2580
- background: #f7f7f7 !important;
2581
- color: rgba(0, 0, 0, 0.6) !important;
2582
-
2583
- i {
2584
- color: #000000 !important;
2585
- }
2586
- }
2587
-
2588
- .mat-mdc-chip.sof-chip {
2589
- &.mat-primary {
2590
- background-color: #{mat.get-color-from-palette($arm-primary, 50)};
2591
-
2592
- i {
2593
- color: #{mat.get-color-from-palette($arm-primary, 500)};
2594
- }
2595
-
2596
- &:hover {
2597
- background-color: #{mat.get-color-from-palette($arm-primary, 100)};
2598
- color: #000000;
2599
- }
2600
-
2601
- &:focus {
2602
- background-color: #{mat.get-color-from-palette($arm-primary, 200)};
2603
- color: #000000;
2604
- }
2605
- }
2606
-
2607
- &.mat-accent {
2608
- background-color: #{mat.get-color-from-palette($arm-accent, 50)};
2609
-
2610
- i {
2611
- color: #{mat.get-color-from-palette($arm-accent, 500)};
2612
- }
2613
-
2614
- &:hover {
2615
- background-color: #{mat.get-color-from-palette($arm-accent, 100)};
2616
- color: #000000;
2617
- }
2618
-
2619
- &:focus {
2620
- background-color: #{mat.get-color-from-palette($arm-accent, 200)};
2621
- color: #000000;
2622
- }
2623
- }
2624
-
2625
- &.mat-info {
2626
- background-color: #{mat.get-color-from-palette($arm-info, 50)};
2627
-
2628
- i {
2629
- color: #{mat.get-color-from-palette($arm-info, 500)};
2630
- }
2631
-
2632
- &:hover {
2633
- background-color: #{mat.get-color-from-palette($arm-info, 100)};
2634
- color: #000000;
2635
- }
2636
-
2637
- &:focus {
2638
- background-color: #{mat.get-color-from-palette($arm-info, 200)};
2639
- color: #000000;
2640
- }
2641
- }
2642
-
2643
- &.mat-error {
2644
- background-color: #{mat.get-color-from-palette($arm-error, 50)};
2645
-
2646
- i {
2647
- color: #{mat.get-color-from-palette($arm-error, 500)};
2648
- }
2649
-
2650
- &:hover {
2651
- background-color: #{mat.get-color-from-palette($arm-error, 100)};
2652
- color: #000000;
2653
- }
2654
-
2655
- &:focus {
2656
- background-color: #{mat.get-color-from-palette($arm-error, 200)};
2657
- color: #000000;
2658
- }
2659
- }
2660
-
2661
- &.mat-neutral {
2662
- background-color: #{mat.get-color-from-palette($arm-neutral, 50)};
2663
-
2664
- i {
2665
- color: #{mat.get-color-from-palette($arm-neutral, 500)};
2666
- }
2667
-
2668
- &:hover {
2669
- background-color: #{mat.get-color-from-palette($arm-neutral, 100)};
2670
- color: #000000;
2671
- }
2672
-
2673
- &:focus {
2674
- background-color: #{mat.get-color-from-palette($arm-neutral, 200)};
2675
- color: #000000;
2676
- }
2677
- }
2678
-
2679
- &.mat-success {
2680
- background-color: #{mat.get-color-from-palette($arm-success, 50)};
2681
-
2682
- i {
2683
- color: #{mat.get-color-from-palette($arm-success, 500)};
2684
- }
2685
-
2686
- &:hover {
2687
- background-color: #{mat.get-color-from-palette($arm-success, 100)};
2688
- color: #000000;
2689
- }
2690
-
2691
- &:focus {
2692
- background-color: #{mat.get-color-from-palette($arm-success, 200)};
2693
- color: #000000;
2694
- }
2695
- }
2696
-
2697
- &.mat-warn {
2698
- background-color: #{mat.get-color-from-palette($arm-warn, 50)};
2699
-
2700
- i {
2701
- color: #{mat.get-color-from-palette($arm-warn, 500)};
2702
- }
2703
-
2704
- &:hover {
2705
- background-color: #{mat.get-color-from-palette($arm-warn, 100)};
2706
- color: #000000;
2707
- }
2708
-
2709
- &:focus {
2710
- background-color: #{mat.get-color-from-palette($arm-warn, 200)};
2711
- color: #000000;
2712
- }
2713
- }
2714
- }
2715
-
2716
- .mat-mdc-chip-selected.sof-chip {
2717
- &.mat-primary {
2718
- background-color: #{mat.get-color-from-palette($arm-primary, 500)} !important;
2719
-
2720
- i {
2721
- color: #{mat.get-color-from-palette($arm-primary, 500)} !important;
2722
- }
2723
-
2724
- &:hover {
2725
- background-color: #{mat.get-color-from-palette($arm-primary, 500)} !important;
2726
- color: #000000;
2727
- }
2728
-
2729
- &:focus {
2730
- background-color: #{mat.get-color-from-palette($arm-primary, 500)} !important;
2731
- color: #000000;
2732
- }
2733
- }
2734
-
2735
- &.mat-neutral {
2736
- background-color: #{mat.get-color-from-palette($arm-neutral, 500)} !important;
2737
-
2738
- i {
2739
- color: #{mat.get-color-from-palette($arm-neutral, 500)} !important;
2740
- }
2741
-
2742
- &:hover {
2743
- background-color: #{mat.get-color-from-palette($arm-neutral, 500)} !important;
2744
- color: #000000;
2745
- }
2746
-
2747
- &:focus {
2748
- background-color: #{mat.get-color-from-palette($arm-neutral, 500)} !important;
2749
- color: #000000;
2750
- }
2751
- }
2752
-
2753
- &.mat-accent {
2754
- background-color: #{mat.get-color-from-palette($arm-accent, 500)} !important;
2755
-
2756
- i {
2757
- color: #{mat.get-color-from-palette($arm-accent, 500)} !important;
2758
- }
2759
-
2760
- &:hover {
2761
- background-color: #{mat.get-color-from-palette($arm-accent, 500)} !important;
2762
- color: #000000;
2763
- }
2764
-
2765
- &:focus {
2766
- background-color: #{mat.get-color-from-palette($arm-accent, 500)} !important;
2767
- color: #000000;
2768
- }
2769
- }
2770
-
2771
- &.mat-info {
2772
- background-color: #{mat.get-color-from-palette($arm-info, 500)} !important;
2773
-
2774
- i {
2775
- color: #{mat.get-color-from-palette($arm-info, 500)} !important;
2776
- }
2777
-
2778
- &:hover {
2779
- background-color: #{mat.get-color-from-palette($arm-info, 500)} !important;
2780
- color: #000000;
2781
- }
2782
-
2783
- &:focus {
2784
- background-color: #{mat.get-color-from-palette($arm-info, 500)} !important;
2785
- color: #000000;
2786
- }
2787
- }
2788
-
2789
- &.mat-error {
2790
- background-color: #{mat.get-color-from-palette($arm-error, 500)} !important;
2791
-
2792
- i {
2793
- color: #{mat.get-color-from-palette($arm-error, 500)} !important;
2794
- }
2795
-
2796
- &:hover {
2797
- background-color: #{mat.get-color-from-palette($arm-error, 500)} !important;
2798
- color: #000000;
2799
- }
2800
-
2801
- &:focus {
2802
- background-color: #{mat.get-color-from-palette($arm-error, 500)} !important;
2803
- color: #000000;
2804
- }
2805
- }
2806
-
2807
- &.mat-success {
2808
- background-color: #{mat.get-color-from-palette($arm-success, 500)} !important;
2809
-
2810
- i {
2811
- color: #{mat.get-color-from-palette($arm-success, 500)} !important;
2812
- }
2813
-
2814
- &:hover {
2815
- background-color: #{mat.get-color-from-palette($arm-success, 500)} !important;
2816
- color: #000000;
2817
- }
2818
-
2819
- &:focus {
2820
- background-color: #{mat.get-color-from-palette($arm-success, 500)} !important;
2821
- color: #000000;
2822
- }
2823
- }
2824
-
2825
- &.mat-warn {
2826
- background-color: #{mat.get-color-from-palette($arm-warn, 500)} !important;
2827
-
2828
- i {
2829
- color: #{mat.get-color-from-palette($arm-warn, 500)} !important;
2830
- }
2831
-
2832
- &:hover {
2833
- background-color: #{mat.get-color-from-palette($arm-warn, 500)} !important;
2834
- color: #000000;
2835
- }
2836
-
2837
- &:focus {
2838
- background-color: #{mat.get-color-from-palette($arm-warn, 500)} !important;
2839
- color: #000000;
2840
- }
2841
- }
2842
- }
2843
-
2844
- // MatChip class overrides [END]
2845
-
2846
- // MatSlideToggle class overrides [START]
2847
- // https://material.angular.io/components/slide-toggle/api
2848
- mat-slide-toggle {
2849
- &.sof-slide-toggle {
2850
- height: auto;
2851
-
2852
- .mdc-switch__track {
2853
- height: 22px !important;
2854
- width: 32px !important;
2855
- border-radius: 24px !important;
2856
- }
2857
-
2858
- .mdc-switch__handle {
2859
- height: 20px !important;
2860
- width: 20px !important;
2861
- border-radius: 20px !important;
2862
- left: -3px !important;
2863
- border: 1px solid var(--neutral-color-300-parts) !important;
2864
-
2865
- .mdc-switch__shadow {
2866
- background: #fff !important;
2867
- }
2868
- }
2869
-
2870
- .mdc-switch__ripple {
2871
- height: 0px !important;
2872
- width: 0px !important;
2873
- }
2874
-
2875
- label {
2876
- font-family: "Poppins" !important;
2877
- font-style: normal !important;
2878
- font-weight: 400 !important;
2879
- font-size: 14px !important;
2880
- line-height: 150% !important;
2881
- white-space: normal !important;
2882
- flex-direction: row;
2883
- align-items: start !important;
2884
- }
2885
- }
2886
-
2887
- &.sof-slide-toggle[size="large"] {
2888
- label {
2889
- font-family: "Poppins" !important;
2890
- font-style: normal !important;
2891
- font-weight: 400 !important;
2892
- font-size: 16px !important;
2893
- line-height: 150% !important;
2894
- white-space: normal !important;
2895
- }
2896
- }
2897
- }
2898
-
2899
- mat-slide-toggle.sof-slide-toggle {
2900
- &.mat-primary {
2901
- --mdc-switch-selected-focus-state-layer-color: var(--primary-color-300-parts);
2902
- --mdc-switch-selected-handle-color: var(--primary-color-300-parts);
2903
- --mdc-switch-selected-hover-state-layer-color: var(--primary-color-300-parts);
2904
- --mdc-switch-selected-pressed-state-layer-color: var(--primary-color-300-parts);
2905
- --mdc-switch-selected-focus-handle-color: var(--primary-color-600-parts);
2906
- --mdc-switch-selected-hover-handle-color: var(--primary-color-600-parts);
2907
- --mdc-switch-selected-pressed-handle-color: var(--primary-color-600-parts);
2908
- --mdc-switch-selected-focus-track-color: var(--primary-color-500-parts);
2909
- --mdc-switch-selected-hover-track-color: var(--primary-color-500-parts);
2910
- --mdc-switch-selected-pressed-track-color: var(--primary-color-500-parts);
2911
- --mdc-switch-selected-track-color: var(--primary-color-500-parts);
2912
-
2913
- .mdc-switch.mdc-switch--selected:not(.mdc-switch.mdc-switch--disabled) {
2914
- .mdc-switch__handle {
2915
- border: 1px solid mat.get-color-from-palette($arm-primary, 500) !important;
2916
- }
2917
- }
2918
- }
2919
-
2920
- &.mat-accent {
2921
- --mdc-switch-selected-focus-state-layer-color: var(--accent-color-300-parts);
2922
- --mdc-switch-selected-handle-color: var(--accent-color-300-parts);
2923
- --mdc-switch-selected-hover-state-layer-color: var(--accent-color-300-parts);
2924
- --mdc-switch-selected-pressed-state-layer-color: var(--accent-color-300-parts);
2925
- --mdc-switch-selected-focus-handle-color: var(--accent-color-600-parts);
2926
- --mdc-switch-selected-hover-handle-color: var(--accent-color-600-parts);
2927
- --mdc-switch-selected-pressed-handle-color: var(--accent-color-600-parts);
2928
- --mdc-switch-selected-focus-track-color: var(--accent-color-500-parts);
2929
- --mdc-switch-selected-hover-track-color: var(--accent-color-500-parts);
2930
- --mdc-switch-selected-pressed-track-color: var(--accent-color-500-parts);
2931
- --mdc-switch-selected-track-color: var(--accent-color-500-parts);
2932
-
2933
- .mdc-switch.mdc-switch--selected:not(.mdc-switch.mdc-switch--disabled) {
2934
- .mdc-switch__handle {
2935
- border: 1px solid mat.get-color-from-palette($arm-accent, 500) !important;
2936
- }
2937
- }
2938
- }
2939
-
2940
- &.mat-warn {
2941
- --mdc-switch-selected-focus-state-layer-color: var(--warn-color-300-parts);
2942
- --mdc-switch-selected-handle-color: var(--warn-color-300-parts);
2943
- --mdc-switch-selected-hover-state-layer-color: var(--warn-color-300-parts);
2944
- --mdc-switch-selected-pressed-state-layer-color: var(--warn-color-300-parts);
2945
- --mdc-switch-selected-focus-handle-color: var(--warn-color-600-parts);
2946
- --mdc-switch-selected-hover-handle-color: var(--warn-color-600-parts);
2947
- --mdc-switch-selected-pressed-handle-color: var(--warn-color-600-parts);
2948
- --mdc-switch-selected-focus-track-color: var(--warn-color-500-parts);
2949
- --mdc-switch-selected-hover-track-color: var(--warn-color-500-parts);
2950
- --mdc-switch-selected-pressed-track-color: var(--warn-color-500-parts);
2951
- --mdc-switch-selected-track-color: var(--warn-color-500-parts);
2952
-
2953
- .mdc-switch.mdc-switch--selected:not(.mdc-switch.mdc-switch--disabled) {
2954
- .mdc-switch__handle {
2955
- border: 1px solid mat.get-color-from-palette($arm-warn, 500) !important;
2956
- }
2957
- }
2958
- }
2959
-
2960
- &.mat-success {
2961
- --mdc-switch-selected-focus-state-layer-color: var(--success-color-300-parts);
2962
- --mdc-switch-selected-handle-color: var(--success-color-300-parts);
2963
- --mdc-switch-selected-hover-state-layer-color: var(--success-color-300-parts);
2964
- --mdc-switch-selected-pressed-state-layer-color: var(--success-color-300-parts);
2965
- --mdc-switch-selected-focus-handle-color: var(--success-color-600-parts);
2966
- --mdc-switch-selected-hover-handle-color: var(--success-color-600-parts);
2967
- --mdc-switch-selected-pressed-handle-color: var(--success-color-600-parts);
2968
- --mdc-switch-selected-focus-track-color: var(--success-color-500-parts);
2969
- --mdc-switch-selected-hover-track-color: var(--success-color-500-parts);
2970
- --mdc-switch-selected-pressed-track-color: var(--success-color-500-parts);
2971
- --mdc-switch-selected-track-color: var(--success-color-500-parts);
2972
-
2973
- .mdc-switch.mdc-switch--selected:not(.mdc-switch.mdc-switch--disabled) {
2974
- .mdc-switch__handle {
2975
- border: 1px solid mat.get-color-from-palette($arm-success, 500) !important;
2976
- }
2977
- }
2978
- }
2979
-
2980
- &.mat-error {
2981
- --mdc-switch-selected-focus-state-layer-color: var(--error-color-300-parts);
2982
- --mdc-switch-selected-handle-color: var(--error-color-300-parts);
2983
- --mdc-switch-selected-hover-state-layer-color: var(--error-color-300-parts);
2984
- --mdc-switch-selected-pressed-state-layer-color: var(--error-color-300-parts);
2985
- --mdc-switch-selected-focus-handle-color: var(--error-color-600-parts);
2986
- --mdc-switch-selected-hover-handle-color: var(--error-color-600-parts);
2987
- --mdc-switch-selected-pressed-handle-color: var(--error-color-600-parts);
2988
- --mdc-switch-selected-focus-track-color: var(--error-color-500-parts);
2989
- --mdc-switch-selected-hover-track-color: var(--error-color-500-parts);
2990
- --mdc-switch-selected-pressed-track-color: var(--error-color-500-parts);
2991
- --mdc-switch-selected-track-color: var(--error-color-500-parts);
2992
-
2993
- .mdc-switch.mdc-switch--selected:not(.mdc-switch.mdc-switch--disabled) {
2994
- .mdc-switch__handle {
2995
- border: 1px solid mat.get-color-from-palette($arm-error, 500) !important;
2996
- }
2997
- }
2998
- }
2999
-
3000
- &.mat-info {
3001
- --mdc-switch-selected-focus-state-layer-color: var(--info-color-300-parts);
3002
- --mdc-switch-selected-handle-color: var(--info-color-300-parts);
3003
- --mdc-switch-selected-hover-state-layer-color: var(--info-color-300-parts);
3004
- --mdc-switch-selected-pressed-state-layer-color: var(--info-color-300-parts);
3005
- --mdc-switch-selected-focus-handle-color: var(--info-color-600-parts);
3006
- --mdc-switch-selected-hover-handle-color: var(--info-color-600-parts);
3007
- --mdc-switch-selected-pressed-handle-color: var(--info-color-600-parts);
3008
- --mdc-switch-selected-focus-track-color: var(--info-color-500-parts);
3009
- --mdc-switch-selected-hover-track-color: var(--info-color-500-parts);
3010
- --mdc-switch-selected-pressed-track-color: var(--info-color-500-parts);
3011
- --mdc-switch-selected-track-color: var(--info-color-500-parts);
3012
-
3013
- .mdc-switch.mdc-switch--selected:not(.mdc-switch.mdc-switch--disabled) {
3014
- .mdc-switch__handle {
3015
- border: 1px solid mat.get-color-from-palette($arm-info, 500) !important;
3016
- }
3017
- }
3018
- }
3019
-
3020
- &.mat-neutral {
3021
- --mdc-switch-selected-focus-state-layer-color: var(--neutral-color-300-parts);
3022
- --mdc-switch-selected-handle-color: var(--neutral-color-300-parts);
3023
- --mdc-switch-selected-hover-state-layer-color: var(--neutral-color-300-parts);
3024
- --mdc-switch-selected-pressed-state-layer-color: var(--neutral-color-300-parts);
3025
- --mdc-switch-selected-focus-handle-color: var(--neutral-color-600-parts);
3026
- --mdc-switch-selected-hover-handle-color: var(--neutral-color-600-parts);
3027
- --mdc-switch-selected-pressed-handle-color: var(--neutral-color-600-parts);
3028
- --mdc-switch-selected-focus-track-color: var(--neutral-color-500-parts);
3029
- --mdc-switch-selected-hover-track-color: var(--neutral-color-500-parts);
3030
- --mdc-switch-selected-pressed-track-color: var(--neutral-color-500-parts);
3031
- --mdc-switch-selected-track-color: var(--neutral-color-500-parts);
3032
-
3033
- .mdc-switch.mdc-switch--selected:not(.mdc-switch.mdc-switch--disabled) {
3034
- .mdc-switch__handle {
3035
- border: 1px solid #000000de !important;
3036
- }
3037
- }
3038
- }
3039
- }
3040
-
3041
- mat-slide-toggle.sof-slide-toggle {
3042
- &:has(.mdc-switch--disabled) label {
3043
- color: rgba(0, 0, 0, 0.87) !important;
3044
- }
3045
- }
3046
-
3047
- // MatSlideToggle class overrides [END]
3048
-
3049
- .mobile-sr-only {
3050
- @media only screen and (max-width: $mat-lt-sm) {
3051
- border: 0;
3052
- clip: rect(0, 0, 0, 0);
3053
- height: 1px;
3054
- margin: -1px;
3055
- overflow: hidden;
3056
- padding: 0;
3057
- position: absolute;
3058
- width: 1px;
3059
- }
3060
- }
3061
-
3062
- .mobile-no-card {
3063
- padding: 36px 30px !important;
3064
-
3065
- @media only screen and (max-width: $mat-lt-sm) {
3066
- background: transparent !important;
3067
- box-shadow: none !important;
3068
- padding: 0 !important;
3069
- }
3070
- }
3071
-
3072
- .sm-screen-no-card {
3073
- padding: 36px 30px !important;
3074
-
3075
- @media only screen and (max-width: $mat-lt-md) {
3076
- background: transparent !important;
3077
- box-shadow: none !important;
3078
- padding: 0 !important;
3079
- }
3080
- }
3081
-
3082
- .sm-screen-no-white-bg {
3083
- @media only screen and (max-width: $mat-lt-md) {
3084
- background: transparent !important;
3085
- }
3086
- }
3087
-
3088
- .sm-screen-card-shadow-z1 {
3089
- @media only screen and (max-width: $mat-lt-md) {
3090
- box-shadow:
3091
- 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
3092
- 0px 1px 1px 0px rgba(0, 0, 0, 0.14),
3093
- 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
3094
- }
3095
- }
3096
-
3097
- .sm-screen-op-7 {
3098
- @media only screen and (max-width: $mat-lt-md) {
3099
- opacity: 0.7;
3100
- }
3101
- }
3102
-
3103
- .sm-d-inline-flex {
3104
- @media only screen and (max-width: $mat-lt-md) {
3105
- display: inline-flex !important;
3106
- }
3107
- }
3108
-
3109
- .mobile-no-h-margin {
3110
- @media only screen and (max-width: $mat-lt-sm) {
3111
- margin-left: 0 !important;
3112
- margin-right: 0 !important;
3113
- }
3114
- }
3115
-
3116
- .mobile-no-h-padding {
3117
- @media only screen and (max-width: $mat-lt-sm) {
3118
- padding-left: 0 !important;
3119
- padding-right: 0 !important;
3120
- }
3121
- }
3122
-
3123
- .mobile-full-width {
3124
- @media only screen and (max-width: $mat-lt-sm) {
3125
- width: 100%;
3126
- }
3127
- }
3128
-
3129
- .sm-screen-full-width {
3130
- @media only screen and (max-width: $mat-lt-md) {
3131
- width: 100%;
3132
- }
3133
- }
3134
-
3135
- .word-wrap-checkboxes-override label {
3136
- white-space: initial !important;
3137
-
3138
- @media only screen and (max-width: $mat-lt-md) {
3139
- white-space: initial;
3140
- }
3141
- }
3142
-
3143
- .sm-full-width-datepicker {
3144
- @media only screen and (max-width: $mat-lt-md) {
3145
- width: 100%;
3146
-
3147
- .mat-mdc-form-field-infix,
3148
- .mat-mdc-form-field-infix>input {
3149
- width: 100% !important;
3150
- }
3151
- }
3152
- }
3153
-
3154
- .sof-tokenizer-button-btn-container {
3155
- @media only screen and (max-width: $mat-lt-md) {
3156
- flex-direction: column-reverse !important;
3157
- width: 100% !important;
3158
-
3159
- button {
3160
- margin: initial !important;
3161
- margin-bottom: 10px !important;
3162
- }
3163
- }
3164
- }
3165
-
3166
- .info-icon.mat-icon,
3167
- .help-icon.mat-icon {
3168
- @media only screen and (max-width: $mat-lt-md) {
3169
- padding-top: 10px !important;
3170
- }
3171
- }
3172
-
3173
- .sof-ar-header--left.sof-ar-mobile-navigation {
3174
- @media only screen and (max-width: $mat-lt-sm) {
3175
- margin-left: 35px !important;
3176
- }
3177
- }
3178
-
3179
- @media screen and (max-width: $mat-lt-md) {
3180
- .hidden-small-screen {
3181
- display: none !important;
3182
- }
3183
- }
3184
-
3185
- @media screen and (max-width: $mat-lt-lg) {
3186
- .hidden-md-screen {
3187
- display: none !important;
3188
- }
3189
- }
3190
-
3191
- @media screen and (min-width: $mat-gt-sm) {
3192
- .visible-small-screen {
3193
- display: none !important;
3194
- }
3195
- }
3196
-
3197
- @media screen and (min-width: $mat-gt-md) {
3198
- .visible-md-screen {
3199
- display: none !important;
3200
- }
3201
- }
3202
-
3203
- .mat-card-mobile-header-override {
3204
- background: mat.get-color-from-palette($arm-neutral, 300);
3205
- padding: 16px;
3206
- margin: 0 -16px;
3207
- }
3208
-
3209
- .mat-card-mobile-action-buttons-footer-override {
3210
- border-top: 1px solid rgba(0, 0, 0, 0.05);
3211
- padding-top: 16px;
3212
- margin-top: 36px;
3213
- }
3214
-
3215
- .mat-card-mobile-action-buttons-override {
3216
- button {
3217
- transform: scale(0.9);
3218
- }
3219
- }
3220
-
3221
- .sm-m-b-16 {
3222
- @media only screen and (max-width: $mat-lt-md) {
3223
- margin-bottom: 16px !important;
3224
- }
3225
- }
3226
-
3227
- .sm-m-b-24 {
3228
- @media only screen and (max-width: $mat-lt-md) {
3229
- margin-bottom: 24px !important;
3230
- }
3231
- }
3232
-
3233
- .sm-m-v-24 {
3234
- @media only screen and (max-width: $mat-lt-md) {
3235
- margin-top: 24px !important;
3236
- margin-bottom: 24px !important;
3237
- }
3238
- }
3239
-
3240
- .sm-m-b-32 {
3241
- @media only screen and (max-width: $mat-lt-md) {
3242
- margin-bottom: 32px !important;
3243
- }
3244
- }
3245
-
3246
- .sm-m-b-64 {
3247
- @media only screen and (max-width: $mat-lt-md) {
3248
- margin-bottom: 64px !important;
3249
- }
3250
- }
3251
-
3252
- .sm-screen-m-a-0 {
3253
- @media screen and (max-width: $mat-lt-md) {
3254
- margin: 0 !important;
3255
- }
3256
- }
3257
-
3258
- .sm-screen-m-l-0 {
3259
- @media screen and (max-width: $mat-lt-md) {
3260
- margin-left: 0 !important;
3261
- }
3262
- }
3263
-
3264
- .sm-screen-m-h-0 {
3265
- @media screen and (max-width: $mat-lt-md) {
3266
- margin-left: 0 !important;
3267
- margin-right: 0 !important;
3268
- }
3269
- }
3270
-
3271
- .sm-screen-p-a-0 {
3272
- @media screen and (max-width: $mat-lt-md) {
3273
- padding: 0 !important;
3274
- }
3275
- }
3276
-
3277
- .sm-screen-p-h-0 {
3278
- @media screen and (max-width: $mat-lt-md) {
3279
- padding-left: 0 !important;
3280
- padding-right: 0 !important;
3281
- }
3282
- }
3283
-
3284
- .md-screen-p-a-0 {
3285
- @media screen and (max-width: $mat-lt-lg) {
3286
- padding: 0 !important;
3287
- }
3288
- }
3289
-
3290
- .md-m-v-24 {
3291
- @media only screen and (max-width: $mat-lt-lg) {
3292
- margin-top: 24px !important;
3293
- margin-bottom: 24px !important;
3294
- }
3295
- }
3296
-
3297
- /** Mobile Table */
3298
- @mixin mobile-responsive-table {
3299
- max-height: none !important;
3300
- overflow-y: auto !important;
3301
-
3302
- .mat-mdc-table {
3303
- border: 0;
3304
- vertical-align: middle;
3305
-
3306
- .mat-mdc-header-row {
3307
- min-height: 0;
3308
- height: 0;
3309
- }
3310
-
3311
- .mat-mdc-header-cell {
3312
- border: 10px solid;
3313
- clip: rect(0 0 0 0);
3314
- height: 1px;
3315
- min-height: 1px;
3316
- margin: -1px;
3317
- padding: 0;
3318
- position: absolute;
3319
- width: 1px;
3320
- }
3321
-
3322
- .mat-mdc-row {
3323
- padding: 10px 20px 0 20px;
3324
- border-bottom: 5px solid #ddd;
3325
- display: block;
3326
- min-height: 1px;
3327
- height: auto;
3328
- }
3329
-
3330
- td.mat-mdc-cell:first-of-type {
3331
- height: 48px;
3332
- }
3333
-
3334
- .mat-mdc-cell {
3335
- display: block;
3336
- font-size: initial;
3337
- height: auto;
3338
- padding: 8px 0;
3339
- border-bottom-color: transparent;
3340
- text-align: initial;
3341
-
3342
- &.action-buttons {
3343
- border-top: 1px solid mat.get-color-from-palette($arm-neutral, 300);
3344
- margin-top: 24px;
3345
- display: flex;
3346
- flex-wrap: wrap;
3347
- justify-content: flex-start;
3348
- padding-bottom: 0;
3349
- margin-bottom: -8px;
3350
-
3351
- &:before {
3352
- content: none;
3353
- }
3354
- }
3355
-
3356
- &:before {
3357
- content: attr(data-label) ": ";
3358
- float: left;
3359
- font-weight: 600;
3360
- padding-right: 5px;
3361
- }
3362
-
3363
- &:last-child {
3364
- border-bottom: 0;
3365
- }
3366
-
3367
- &:first-child {
3368
- margin-top: 4%;
3369
- }
3370
-
3371
- &:first-of-type {
3372
- padding-left: 0;
3373
- margin: -10px -20px 8px -20px;
3374
- padding: 16px 20px 16px 20px;
3375
- background: mat.get-color-from-palette($arm-neutral, 300);
3376
- box-sizing: border-box;
3377
- height: auto;
3378
- }
3379
- }
3380
-
3381
- td.mat-mdc-cell.action-buttons {
3382
- margin-bottom: 8px;
3383
- }
3384
- }
3385
-
3386
- @content;
3387
- }
3388
-
3389
- @media screen and (max-width: $mat-lt-md) {
3390
- .mat-responsive-table-override-sm {
3391
- @include mobile-responsive-table;
3392
- }
3393
- }
3394
-
3395
- @media screen and (max-width: $mat-lt-lg) {
3396
- .mat-responsive-table-override-md {
3397
- @include mobile-responsive-table;
3398
- }
3399
- }
3400
-
3401
- /** Calendar Settings */
3402
-
3403
- .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3404
- color: rgba(0, 0, 0, 0.38) !important;
3405
- }
3406
-
3407
- .mat-calendar-previous-button,
3408
- .mat-calendar-next-button,
3409
- .mat-calendar-period-button {
3410
- color: #000000 !important;
3411
- font-weight: 600 !important;
3412
- font-size: 14px !important;
3413
- letter-spacing: 0px !important;
3414
- }
3415
-
3416
- .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3417
- background-color: mat.get-color-from-palette($arm-primary, 500) !important;
3418
- color: white;
3419
- }
3420
-
3421
- body .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3422
- color: white;
3423
- }
3424
-
3425
- .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
3426
- border: none;
3427
- }
3428
-
3429
- body .mat-calendar-body-today.mat-calendar-body-selected {
3430
- box-shadow: none;
3431
- }
3432
-
3433
- .mat-calendar-body-in-range::before {
3434
- background: mat.get-color-from-palette($arm-primary, 50) !important;
3435
- }
3436
-
3437
- .mat-calendar-body-selected {
3438
- background-color: mat.get-color-from-palette($arm-primary, 500) !important;
3439
- border: none;
3440
- }
3441
-
3442
- .mat-datepicker-content {
3443
- border-radius: 10px !important;
3444
- }
3445
-
3446
- .mat-calendar-previous-button.mat-button-disabled,
3447
- .mat-calendar-next-button.mat-button-disabled {
3448
- color: rgba(0, 0, 0, 0.54) !important;
3449
- }
3450
-
3451
- .mat-calendar-table-header th {
3452
- font-size: 14px !important;
3453
- line-height: 30px;
3454
- color: rgba(0, 0, 0, 0.6) !important;
3455
- }
3456
-
3457
- .mat-calendar-table-header-divider {
3458
- position: absolute !important;
3459
- left: 20px;
3460
- width: -webkit-fill-available;
3461
- right: 20px;
3462
- }
3463
-
3464
- /** text emphasis classes (per design) */
3465
-
3466
- [text-high-emphasis],
3467
- .text-high-emphasis {
3468
- color: $text-high-emphasis;
3469
- }
3470
-
3471
- [text-medium-emphasis],
3472
- .text-medium-emphasis {
3473
- color: $text-medium-emphasis;
3474
- }
3475
-
3476
- [text-low-emphasis],
3477
- .text-low-emphasis {
3478
- color: $text-low-emphasis;
3479
- }
12
+ @use "@angular/material" as mat;
3480
13
 
3481
- [text-inverse],
3482
- .text-inverse {
3483
- color: $text-inverse;
3484
- }
14
+ /** Defines the main theme / color palettes for your app. */
15
+ @use "./arm-theme";
16
+ @forward "./arm-theme";
17
+
18
+ /** Responsive design rules, ensuring styles adapt to different screen sizes. */
19
+ @use "./responsive";
20
+
21
+ /** Sets custom fonts, sizes, and styles to create a unified look across the library. */
22
+ @use "./typography";
23
+
24
+ /** Utility classes for spacing, alignment, and other common styles. */
25
+ @use "./utility";
26
+
27
+ /** SCSS variables (like colors, breakpoints, etc.) used throughout the library for easy customization and consistency. */
28
+ @use "./variables";
29
+ @forward "./variables";
30
+
31
+ /**
32
+ The 'material-override' folder contains overrides for specific Angular Material components.
33
+ */
34
+ @use "./material-override/button";
35
+ @use "./material-override/button-toggle-group";
36
+ @use "./material-override/calendar";
37
+ @use "./material-override/checkbox";
38
+ @use "./material-override/chip";
39
+ @use "./material-override/form-field";
40
+ @use "./material-override/radio-button";
41
+ @use "./material-override/slider";
42
+ @use "./material-override/switch";
43
+ @use "./material-override/tooltip";
44
+
45
+ /**
46
+ The 'deprecated' folder contains styles that are deprecated but still available for backward compatibility.
47
+ Comments indicate the preferred alternative, helping users transition away from deprecated classes in favor of newer components or styles.
48
+ */
49
+ @use "./deprecated/button-deprecated"; // replace with "/material-override/button"
50
+ @use "./deprecated/dialog-deprecated"; // replace with "sof-modal" component
51
+ @use "./deprecated/material-override-deprecated"; // currently no replacement
52
+ @use "./deprecated/table-deprecated"; // replace with ag-grid table component
53
+ @use "./deprecated/tooltip-deprecated"; // replace with "/material-override/tooltip"
54
+
55
+ /**
56
+ Angular Material core mix-in,
57
+ Since it's included in this main file, applications using this library do not need to include it separately.
58
+ */
59
+ @include mat.core();
3485
60
 
3486
- body.inheritCursors * {
3487
- cursor: inherit !important;
3488
- }
61
+ /**
62
+ This file acts as an index,
63
+ Please do not include any actual css code in this file.
64
+ */