@onemrvapublic/design-system-theme 16.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/assets/fonts/material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 +0 -0
- package/assets/fonts/material/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsI.woff2 +0 -0
- package/assets/fonts/poppins/pxiAyp8kv8JHgFVrJJLmE0tCMPI.woff2 +0 -0
- package/assets/fonts/poppins/pxiAyp8kv8JHgFVrJJLmE0tDMPKzSQ.woff2 +0 -0
- package/assets/fonts/poppins/pxiAyp8kv8JHgFVrJJLmE0tMMPKzSQ.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLBT5Z11lFc-K.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLBT5Z1JlFc-K.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLBT5Z1xlFQ.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLCz7Z11lFc-K.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLCz7Z1JlFc-K.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLDD4Z11lFc-K.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLDD4Z1JlFc-K.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLDD4Z1xlFQ.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLDz8Z11lFc-K.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLDz8Z1JlFc-K.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLDz8Z1xlFQ.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLEj6Z11lFc-K.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLFj_Z11lFc-K.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLFj_Z1JlFc-K.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLFj_Z1xlFQ.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLGT9Z11lFc-K.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLGT9Z1JlFc-K.woff2 +0 -0
- package/assets/fonts/poppins/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm111VF9eO.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm111VFteOcEg.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm111VGdeOcEg.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm21lVF9eO.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm21lVFteOcEg.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm21lVGdeOcEg.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm81xVF9eO.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm81xVFteOcEg.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm81xVGdeOcEg.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmg1hVF9eO.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmg1hVFteOcEg.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmg1hVGdeOcEg.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmr19VF9eO.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmr19VFteOcEg.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmr19VGdeOcEg.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmv1pVF9eO.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmv1pVFteOcEg.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmv1pVGdeOcEg.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmy15VF9eO.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmy15VFteOcEg.woff2 +0 -0
- package/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmy15VGdeOcEg.woff2 +0 -0
- package/assets/fonts/poppins/pxiEyp8kv8JHgFVrJJbecmNE.woff2 +0 -0
- package/assets/fonts/poppins/pxiEyp8kv8JHgFVrJJfecg.woff2 +0 -0
- package/assets/fonts/poppins/pxiEyp8kv8JHgFVrJJnecmNE.woff2 +0 -0
- package/assets/fonts/poppins/pxiGyp8kv8JHgFVrJJLucHtA.woff2 +0 -0
- package/assets/fonts/poppins/pxiGyp8kv8JHgFVrJJLucXtAKPY.woff2 +0 -0
- package/assets/fonts/poppins/pxiGyp8kv8JHgFVrJJLufntAKPY.woff2 +0 -0
- package/assets/fonts/poppins/pxiGyp8kv8JHgFVrLPTucHtA.woff2 +0 -0
- package/assets/fonts/poppins/pxiGyp8kv8JHgFVrLPTucXtAKPY.woff2 +0 -0
- package/assets/fonts/poppins/pxiGyp8kv8JHgFVrLPTufntAKPY.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7jsDJT9g.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7ksDJT9g.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7nsDI.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7osDJT9g.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7psDJT9g.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7qsDJT9g.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7rsDJT9g.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xK3dSBYKcSV-LCoeQqfX1RYOo3qN67lqDY.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNK7lqDY.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNa7lqDY.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNq7lqDY.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xK3dSBYKcSV-LCoeQqfX1RYOo3qO67lqDY.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7l.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xK3dSBYKcSV-LCoeQqfX1RYOo3qPK7lqDY.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdg18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdh18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdi18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdj18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdo18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCds18Q.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdv18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdg18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdh18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdi18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdj18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdo18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSds18Q.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdv18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidg18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidh18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidi18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidj18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkido18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkids18Q.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidv18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdg18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdh18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdi18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdj18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdo18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSds18Q.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdv18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydg18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydh18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydi18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydj18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydo18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklyds18Q.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydv18Smxg.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwkxduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlBduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdu.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmBduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmRduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmhduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmxduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wkxduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wlBduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wlxdu.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmBduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmRduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmhduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmxduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwkxduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlBduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdu.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmBduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmRduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmhduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmxduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwkxduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlBduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdu.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmBduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmRduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmhduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmxduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwkxduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwlBduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwlxdu.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwmBduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwmRduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwmhduz8A.woff2 +0 -0
- package/assets/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwmxduz8A.woff2 +0 -0
- package/assets/img/no-result.svg +124 -0
- package/components/_autocomplete.scss +14 -0
- package/components/_buttons.scss +325 -0
- package/components/_cards.scss +128 -0
- package/components/_checkbox.scss +57 -0
- package/components/_chips.scss +176 -0
- package/components/_choice-button.scss +80 -0
- package/components/_container.scss +36 -0
- package/components/_datepicker.scss +5 -0
- package/components/_dialogs.scss +117 -0
- package/components/_drag-and-drop.scss +60 -0
- package/components/_expansion.scss +65 -0
- package/components/_icon.scss +58 -0
- package/components/_links.scss +33 -0
- package/components/_lists.scss +19 -0
- package/components/_menu.scss +13 -0
- package/components/_progress-bar.scss +27 -0
- package/components/_radio.scss +43 -0
- package/components/_select.scss +11 -0
- package/components/_sidenav.scss +43 -0
- package/components/_slide-toggle.scss +107 -0
- package/components/_snackbar.scss +35 -0
- package/components/_stepper.scss +92 -0
- package/components/_tables.scss +93 -0
- package/components/_tabs.scss +62 -0
- package/components/_text-inputs.scss +266 -0
- package/components/_toolbar.scss +18 -0
- package/components/_tooltip.scss +27 -0
- package/components/_/302/265-colors.scss +88 -0
- package/components/_/302/265-typography.scss +65 -0
- package/components/_/302/265.scss +2 -0
- package/esm2022/index.mjs +5 -0
- package/esm2022/lib/theme.module.mjs +31 -0
- package/esm2022/onemrvapublic-design-system-theme.mjs +5 -0
- package/fesm2022/onemrvapublic-design-system-theme.mjs +42 -0
- package/fesm2022/onemrvapublic-design-system-theme.mjs.map +1 -0
- package/fonts/_material-icons.scss +28 -0
- package/fonts/_poppins.scss +544 -0
- package/fonts/_source-sans-pro.scss +796 -0
- package/index.d.ts +1 -0
- package/index.scss +160 -0
- package/lib/theme.module.d.ts +6 -0
- package/package.json +29 -0
- package/utilities/_fonts.scss +50 -0
- package/utilities/_grid.scss +70 -0
- package/utilities/_media.scss +32 -0
- package/utilities/_palettes.scss +224 -0
- package/utilities/_spacing.scss +61 -0
- package/utilities/_utilities.scss +210 -0
- package/utilities/_variables.scss +151 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
@use "./µ";
|
|
4
|
+
@import "../utilities/variables";
|
|
5
|
+
|
|
6
|
+
@mixin theme($theme) {
|
|
7
|
+
.mat-mdc-slide-toggle {
|
|
8
|
+
&.mat-primary {
|
|
9
|
+
.mdc-switch:enabled .mdc-switch__track:after {
|
|
10
|
+
background-color: µ.primary($theme, 500) !important;
|
|
11
|
+
background: µ.primary($theme, 500) !important;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
&.mat-accent {
|
|
15
|
+
.mdc-switch:enabled .mdc-switch__track:after {
|
|
16
|
+
background: $onemrva-accent-gradient !important;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
&.mat-warn {
|
|
20
|
+
.mdc-switch:enabled .mdc-switch__track:after {
|
|
21
|
+
background-color: µ.warn($theme, 500) !important;
|
|
22
|
+
background: µ.warn($theme, 500) !important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
&.mat-success {
|
|
26
|
+
.mdc-switch:enabled .mdc-switch__track:after {
|
|
27
|
+
background-color: µ.success($theme, 500) !important;
|
|
28
|
+
background: µ.success($theme, 500) !important;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
&.mat-info {
|
|
32
|
+
.mdc-switch:enabled .mdc-switch__track:after {
|
|
33
|
+
background-color: µ.info($theme, 500) !important;
|
|
34
|
+
background: µ.info($theme, 500) !important;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
&.mat-error {
|
|
38
|
+
.mdc-switch:enabled .mdc-switch__track:after {
|
|
39
|
+
background-color: µ.error($theme, 500) !important;
|
|
40
|
+
background: µ.error($theme, 500) !important;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
label {
|
|
45
|
+
@include µ.label-button($theme);
|
|
46
|
+
font-family: mat.font-family(
|
|
47
|
+
map.get($theme, "typography"),
|
|
48
|
+
label-button
|
|
49
|
+
); // HWKTMP For some reason, the font family is not taken into account from configuration
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.mdc-switch {
|
|
53
|
+
width: 40px;
|
|
54
|
+
|
|
55
|
+
&:enabled .mdc-switch__track {
|
|
56
|
+
&:before {
|
|
57
|
+
background-color: µ.grayscale($theme, 500);
|
|
58
|
+
}
|
|
59
|
+
&:after {
|
|
60
|
+
border: none;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.mdc-switch--disabled {
|
|
65
|
+
.mdc-switch__track {
|
|
66
|
+
opacity: 1;
|
|
67
|
+
|
|
68
|
+
&:before {
|
|
69
|
+
background-color: µ.grayscale($theme, 400);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&:after {
|
|
73
|
+
background-color: µ.grayscale($theme, 400);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
.mdc-switch__icons {
|
|
77
|
+
background-color: white !important;
|
|
78
|
+
opacity: 1 !important;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.mdc-switch__track {
|
|
83
|
+
height: 24px;
|
|
84
|
+
border-radius: 500px;
|
|
85
|
+
}
|
|
86
|
+
.mdc-switch__handle-track {
|
|
87
|
+
left: 3px;
|
|
88
|
+
|
|
89
|
+
.mdc-switch__handle {
|
|
90
|
+
width: 18px;
|
|
91
|
+
height: 18px;
|
|
92
|
+
|
|
93
|
+
.mdc-switch__icons {
|
|
94
|
+
background-color: white;
|
|
95
|
+
border-radius: 500px;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.mdc-switch--checked {
|
|
102
|
+
.mdc-switch__handle {
|
|
103
|
+
left: -4px;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
|
+
@use "./µ";
|
|
3
|
+
|
|
4
|
+
@mixin theme($theme) {
|
|
5
|
+
.mat-mdc-snack-bar-container {
|
|
6
|
+
box-shadow: none;
|
|
7
|
+
|
|
8
|
+
&.mat-error {
|
|
9
|
+
color: µ.error($theme, "contrast-500");
|
|
10
|
+
background: µ.error($theme);
|
|
11
|
+
}
|
|
12
|
+
&.mat-warn {
|
|
13
|
+
color: µ.warn($theme, "contrast-500");
|
|
14
|
+
background: µ.warn($theme);
|
|
15
|
+
}
|
|
16
|
+
&.mat-accent {
|
|
17
|
+
color: µ.accent($theme, "contrast-500");
|
|
18
|
+
background: µ.accent($theme);
|
|
19
|
+
}
|
|
20
|
+
&.mat-success {
|
|
21
|
+
color: µ.success($theme, "contrast-500");
|
|
22
|
+
background: µ.success($theme);
|
|
23
|
+
}
|
|
24
|
+
&.mat-info {
|
|
25
|
+
color: µ.info($theme, "contrast-500");
|
|
26
|
+
background: µ.info($theme);
|
|
27
|
+
}
|
|
28
|
+
&.mat-primary {
|
|
29
|
+
color: µ.primary($theme);
|
|
30
|
+
background: white;
|
|
31
|
+
border: 2px solid µ.primary($theme);
|
|
32
|
+
border-radius: 4px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
|
+
@use "./µ";
|
|
3
|
+
|
|
4
|
+
@mixin theme($theme) {
|
|
5
|
+
$spacer: map-get($theme, "spacer");
|
|
6
|
+
|
|
7
|
+
mat-stepper,
|
|
8
|
+
mat-vertical-stepper,
|
|
9
|
+
onemrva-mat-vertical-stepper {
|
|
10
|
+
.mat-step-header {
|
|
11
|
+
.mat-step-icon {
|
|
12
|
+
background-color: white;
|
|
13
|
+
border: 2px solid white;
|
|
14
|
+
color: µ.grayscale($theme);
|
|
15
|
+
height: 38px;
|
|
16
|
+
width: 38px;
|
|
17
|
+
|
|
18
|
+
&:not(.mat-step-icon-state-done):not(.mat-step-icon-state-edit):not(
|
|
19
|
+
.mat-step-icon-selected
|
|
20
|
+
):not(.mat-step-icon-state-error) {
|
|
21
|
+
border: 2px solid µ.grayscale($theme);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.mat-icon {
|
|
25
|
+
height: inherit;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
.mat-step-icon-selected,
|
|
29
|
+
.mat-step-icon-state-done,
|
|
30
|
+
.mat-step-icon-state-edit {
|
|
31
|
+
background-color: µ.primary($theme);
|
|
32
|
+
color: white;
|
|
33
|
+
border: none;
|
|
34
|
+
border: 2px solid white;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.mat-step-icon-selected {
|
|
38
|
+
border: 2px solid white;
|
|
39
|
+
outline: 2px solid µ.primary($theme);
|
|
40
|
+
}
|
|
41
|
+
.mat-step-icon-state-error {
|
|
42
|
+
background-color: µ.warn($theme, 600);
|
|
43
|
+
color: white;
|
|
44
|
+
outline: none;
|
|
45
|
+
border: none;
|
|
46
|
+
mat-icon {
|
|
47
|
+
font-size: 16px;
|
|
48
|
+
height: 16px;
|
|
49
|
+
width: 16px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.mat-step-label.mat-step-label-error {
|
|
54
|
+
color: µ.warn($theme, 600);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.mat-step-icon-state-done + .mat-stepper-horizontal-line {
|
|
58
|
+
border-top-color: µ.primary($theme);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.mat-stepper-horizontal-line {
|
|
62
|
+
margin: unset;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.mat-stepper-vertical-line:before {
|
|
66
|
+
top: 0;
|
|
67
|
+
bottom: 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.mat-step-text-label {
|
|
71
|
+
font-weight: 600;
|
|
72
|
+
font-family: "Source Sans Pro";
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.mat-horizontal-content-container {
|
|
76
|
+
padding-top: $spacer;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.mat-horizontal-stepper-header {
|
|
80
|
+
padding: 0 16px;
|
|
81
|
+
height: 58px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.mat-vertical-stepper-header {
|
|
85
|
+
padding: 16px;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.mat-step-icon-content {
|
|
90
|
+
font-family: "Source Sans Pro";
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
|
+
@use "./µ";
|
|
3
|
+
@import "../utilities/variables";
|
|
4
|
+
|
|
5
|
+
@mixin theme($theme) {
|
|
6
|
+
.mat-mdc-table {
|
|
7
|
+
th.mat-mdc-header-cell {
|
|
8
|
+
color: black;
|
|
9
|
+
font-weight: 600;
|
|
10
|
+
border-bottom: 2px solid µ.grayscale($theme, 200);
|
|
11
|
+
font-size: 16px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.mat-mdc-row:last-child {
|
|
15
|
+
.mat-mdc-cell {
|
|
16
|
+
border-bottom: none;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
td.mat-mdc-cell {
|
|
21
|
+
border: none;
|
|
22
|
+
line-height: 22px;
|
|
23
|
+
padding-top: 8px;
|
|
24
|
+
padding-bottom: 8px;
|
|
25
|
+
&:not(:last-child) {
|
|
26
|
+
padding-right: 12px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
&.mat-card-table {
|
|
30
|
+
border-spacing: 0 8px !important;
|
|
31
|
+
.mat-divider {
|
|
32
|
+
color: µ.grayscale($theme, 200);
|
|
33
|
+
&.mat-divider-vertical {
|
|
34
|
+
display: inline-flex;
|
|
35
|
+
height: 1.5em;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
tr {
|
|
40
|
+
transition: background-color 400ms ease-out;
|
|
41
|
+
|
|
42
|
+
&:not([mat-header-row]):hover {
|
|
43
|
+
background-color: µ.grayscale($theme, 50);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.onemrva-clickable-row {
|
|
47
|
+
background: µ.grayscale($theme, 50) 0% 0% no-repeat padding-box;
|
|
48
|
+
color: µ.grayscale($theme, 900);
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
border-radius: 10px;
|
|
51
|
+
td:first-child {
|
|
52
|
+
border-radius: 10px 0 0 10px;
|
|
53
|
+
}
|
|
54
|
+
td:last-child {
|
|
55
|
+
border-radius: 0 10px 10px 0;
|
|
56
|
+
padding-right: 10px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
padding: 24px;
|
|
60
|
+
line-height: 22px;
|
|
61
|
+
&:hover,
|
|
62
|
+
&:active {
|
|
63
|
+
box-shadow: $box-shadow;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.mat-primary {
|
|
67
|
+
background: µ.primary($theme, 50);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.mat-accent {
|
|
71
|
+
background: $onemrva-accent-gradient;
|
|
72
|
+
color: white;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.mat-warn {
|
|
76
|
+
background: µ.warn($theme, 50);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.mat-error {
|
|
80
|
+
background: µ.error($theme, 50);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&.mat-success {
|
|
84
|
+
background: µ.success($theme, 50);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.mat-info {
|
|
88
|
+
background: µ.info($theme, 50);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
|
+
@use "./µ";
|
|
3
|
+
|
|
4
|
+
@mixin theme($theme) {
|
|
5
|
+
.mat-mdc-tab-link {
|
|
6
|
+
text-decoration: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
//
|
|
10
|
+
// TAB GROUP
|
|
11
|
+
//
|
|
12
|
+
.mat-mdc-tab-group:not(.language-tabs) {
|
|
13
|
+
.mat-mdc-tab-header:after {
|
|
14
|
+
content: "";
|
|
15
|
+
display: block;
|
|
16
|
+
position: absolute;
|
|
17
|
+
height: 1px;
|
|
18
|
+
background: rgba(0, 0, 0, 0.12);
|
|
19
|
+
bottom: 3px;
|
|
20
|
+
left: 0;
|
|
21
|
+
right: 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.mat-mdc-tab-group {
|
|
26
|
+
.mat-mdc-tab-header {
|
|
27
|
+
border-bottom: none;
|
|
28
|
+
margin-bottom: 16px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.mat-mdc-tab-labels {
|
|
32
|
+
gap: 60px;
|
|
33
|
+
|
|
34
|
+
.mat-mdc-tab {
|
|
35
|
+
min-width: 24px;
|
|
36
|
+
padding: 0;
|
|
37
|
+
font-weight: normal;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
gap: 4px;
|
|
41
|
+
color: µ.grayscale($theme, 900);
|
|
42
|
+
font-family: Poppins, sans-serif;
|
|
43
|
+
|
|
44
|
+
&.mdc-tab--active {
|
|
45
|
+
text-shadow: 0px 0px 1px µ.grayscale($theme, 900); // THC HACK
|
|
46
|
+
//font-weight: 700; // HWKTMP For now, this breaks the animation underlining active tab
|
|
47
|
+
opacity: 1;
|
|
48
|
+
|
|
49
|
+
.mdc-tab__text-label {
|
|
50
|
+
color: µ.grayscale($theme, 900);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.mdc-tab-indicator {
|
|
57
|
+
.mdc-tab-indicator__content {
|
|
58
|
+
border: 2px solid µ.accent($theme);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
|
+
@use "./µ";
|
|
3
|
+
@import "../utilities/variables";
|
|
4
|
+
|
|
5
|
+
@mixin inputStyle($color) {
|
|
6
|
+
&.mat-focused,
|
|
7
|
+
&:hover {
|
|
8
|
+
.mdc-notched-outline {
|
|
9
|
+
.mdc-notched-outline__leading,
|
|
10
|
+
.mdc-notched-outline__trailing {
|
|
11
|
+
border-width: 2px;
|
|
12
|
+
border-color: $color;
|
|
13
|
+
}
|
|
14
|
+
.mdc-notched-outline__notch {
|
|
15
|
+
border-width: 2px;
|
|
16
|
+
border-bottom-color: $color;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@mixin theme($theme) {
|
|
23
|
+
.mat-mdc-form-field {
|
|
24
|
+
line-height: 1.125;
|
|
25
|
+
|
|
26
|
+
.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label {
|
|
27
|
+
color: µ.grayscale($theme, 900);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.mat-mdc-text-field-wrapper
|
|
31
|
+
.mat-mdc-form-field-flex
|
|
32
|
+
.mat-mdc-floating-label {
|
|
33
|
+
top: 25px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.mat-mdc-form-field-hint-spacer {
|
|
37
|
+
display: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.mat-mdc-form-field-hint-wrapper {
|
|
41
|
+
padding: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.mat-mdc-form-field-icon-suffix {
|
|
45
|
+
mat-icon {
|
|
46
|
+
height: auto;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:not(.mat-form-field-onemrva-warning) {
|
|
51
|
+
.mat-mdc-form-field-error-wrapper {
|
|
52
|
+
padding: 0;
|
|
53
|
+
position: static;
|
|
54
|
+
|
|
55
|
+
.mat-mdc-form-field-error {
|
|
56
|
+
margin-bottom: 8px;
|
|
57
|
+
padding: 8px 1em;
|
|
58
|
+
background-color: #ffebe6;
|
|
59
|
+
border-bottom: 1px solid µ.error($theme, 500);
|
|
60
|
+
color: µ.error($theme, 500);
|
|
61
|
+
display: flex;
|
|
62
|
+
line-height: 1.125;
|
|
63
|
+
|
|
64
|
+
.mat-icon {
|
|
65
|
+
float: left;
|
|
66
|
+
font-size: 16px;
|
|
67
|
+
font-variation-settings: "FILL" 1;
|
|
68
|
+
margin-right: 8px;
|
|
69
|
+
vertical-align: baseline;
|
|
70
|
+
flex: 0 0 16px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
mat-hint.with-counter {
|
|
77
|
+
position: relative;
|
|
78
|
+
height: 21px;
|
|
79
|
+
width: 100%;
|
|
80
|
+
|
|
81
|
+
.counter {
|
|
82
|
+
position: absolute;
|
|
83
|
+
right: 0;
|
|
84
|
+
top: 0;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&.mat-form-field-onemrva-warning {
|
|
89
|
+
&.mat-focused,
|
|
90
|
+
&:hover {
|
|
91
|
+
.mat-mdc-text-field-wrapper
|
|
92
|
+
.mat-mdc-form-field-flex
|
|
93
|
+
.mat-mdc-floating-label {
|
|
94
|
+
left: 3px;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.mat-mdc-form-field-error-wrapper {
|
|
99
|
+
padding: 0;
|
|
100
|
+
position: static;
|
|
101
|
+
|
|
102
|
+
.mat-mdc-form-field-error {
|
|
103
|
+
margin-bottom: 8px;
|
|
104
|
+
padding: 8px 1em;
|
|
105
|
+
background-color: µ.warn($theme, 50);
|
|
106
|
+
border-bottom: 1px solid µ.warn($theme, 600);
|
|
107
|
+
color: µ.warn($theme, 600);
|
|
108
|
+
display: flex;
|
|
109
|
+
line-height: 1.125;
|
|
110
|
+
|
|
111
|
+
.mat-icon {
|
|
112
|
+
float: left;
|
|
113
|
+
font-size: 16px;
|
|
114
|
+
font-variation-settings: "FILL" 1;
|
|
115
|
+
margin-right: 8px;
|
|
116
|
+
vertical-align: baseline;
|
|
117
|
+
flex: 0 0 16px;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.mat-mdc-form-field-hint-wrapper {
|
|
123
|
+
padding: 0;
|
|
124
|
+
position: static;
|
|
125
|
+
.mat-warn {
|
|
126
|
+
margin-bottom: 8px;
|
|
127
|
+
padding: 8px 1em;
|
|
128
|
+
background-color: µ.warn($theme, 50);
|
|
129
|
+
border-bottom: 1px solid µ.warn($theme, 600);
|
|
130
|
+
color: µ.warn($theme, 600);
|
|
131
|
+
display: flex;
|
|
132
|
+
line-height: 1.125;
|
|
133
|
+
|
|
134
|
+
.mat-icon {
|
|
135
|
+
float: left;
|
|
136
|
+
font-size: 16px;
|
|
137
|
+
font-variation-settings: "FILL" 1;
|
|
138
|
+
margin-right: 8px;
|
|
139
|
+
vertical-align: baseline;
|
|
140
|
+
flex: 0 0 16px;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&:not(.mat-form-field-invalid):not(.mat-form-field-onemrva-warning):not(
|
|
147
|
+
.mat-form-field-disabled
|
|
148
|
+
) {
|
|
149
|
+
&.mat-focused,
|
|
150
|
+
&:hover {
|
|
151
|
+
.mat-mdc-text-field-wrapper
|
|
152
|
+
.mat-mdc-form-field-flex
|
|
153
|
+
.mat-mdc-floating-label {
|
|
154
|
+
left: 3px;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.mdc-notched-outline {
|
|
159
|
+
.mdc-notched-outline__leading,
|
|
160
|
+
.mdc-notched-outline__trailing {
|
|
161
|
+
border-color: µ.grayscale($theme, 200);
|
|
162
|
+
outline: 1px solid transparent;
|
|
163
|
+
}
|
|
164
|
+
.mdc-notched-outline__notch {
|
|
165
|
+
border-bottom-color: µ.grayscale($theme, 200);
|
|
166
|
+
outline: 1px solid transparent;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@include inputStyle(µ.grayscale($theme, 800));
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&.mat-form-field-invalid:not(.mat-form-field-onemrva-warning):not(
|
|
174
|
+
.mat-form-field-disabled
|
|
175
|
+
) {
|
|
176
|
+
mat-label,
|
|
177
|
+
.mat-mdc-form-field-required-marker {
|
|
178
|
+
color: µ.error($theme);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.mdc-notched-outline {
|
|
182
|
+
.mdc-notched-outline__leading,
|
|
183
|
+
.mdc-notched-outline__trailing {
|
|
184
|
+
border-width: 2px;
|
|
185
|
+
border-color: µ.error($theme);
|
|
186
|
+
}
|
|
187
|
+
.mdc-notched-outline__notch {
|
|
188
|
+
border-width: 2px;
|
|
189
|
+
border-bottom-color: µ.error($theme);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.mdc-text-field__input {
|
|
194
|
+
caret-color: µ.error($theme, 500);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
@include inputStyle(µ.error($theme));
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&.mat-form-field-onemrva-warning:not(.mat-form-field-disabled) {
|
|
201
|
+
.mdc-notched-outline {
|
|
202
|
+
mat-label,
|
|
203
|
+
.mat-mdc-form-field-required-marker {
|
|
204
|
+
color: µ.warn($theme, 600);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.mdc-notched-outline__leading,
|
|
208
|
+
.mdc-notched-outline__trailing {
|
|
209
|
+
border-width: 2px;
|
|
210
|
+
border-color: µ.warn($theme, 600);
|
|
211
|
+
}
|
|
212
|
+
.mdc-notched-outline__notch {
|
|
213
|
+
border-width: 2px;
|
|
214
|
+
border-bottom-color: µ.warn($theme, 600);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
@include inputStyle(µ.warn($theme, 600));
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.mat-mdc-form-field-bottom-align::before {
|
|
222
|
+
display: initial;
|
|
223
|
+
order: 99;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.mat-mdc-text-field-wrapper.mdc-text-field--outlined
|
|
228
|
+
.mat-mdc-form-field-infix {
|
|
229
|
+
min-height: 46px;
|
|
230
|
+
padding: 1em 0;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
// @mixin theme($theme) {
|
|
235
|
+
|
|
236
|
+
// // vertical alignment of the select arrow
|
|
237
|
+
// .mat-form-field-appearance-outline .mat-select-arrow-wrapper {
|
|
238
|
+
// transform: translateY(20%);
|
|
239
|
+
// }
|
|
240
|
+
|
|
241
|
+
// mat-option {
|
|
242
|
+
// .mat-pseudo-checkbox {
|
|
243
|
+
// border: 2px solid µ.grayscale($theme);
|
|
244
|
+
// }
|
|
245
|
+
// .mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-indeterminate {
|
|
246
|
+
// background: $onemrva-accent-gradient !important;
|
|
247
|
+
// border: none !important;
|
|
248
|
+
// }
|
|
249
|
+
// .mat-option-text {
|
|
250
|
+
|
|
251
|
+
// color: µ.grayscale($theme, 700) !important;
|
|
252
|
+
// }
|
|
253
|
+
// .mat-pseudo-checkbox-checked::after {
|
|
254
|
+
// top: 4.4px;
|
|
255
|
+
// left: 3px;
|
|
256
|
+
// }
|
|
257
|
+
// }
|
|
258
|
+
|
|
259
|
+
// // mat-date-range-input .mat-date-range-input-separator {
|
|
260
|
+
// // border-left: 1px solid red;
|
|
261
|
+
// // height: 48px;
|
|
262
|
+
// // margin: -11px 5px -15px;
|
|
263
|
+
// // width: 0;
|
|
264
|
+
// // overflow: hidden;
|
|
265
|
+
// // }
|
|
266
|
+
// }
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
|
+
@use "./µ";
|
|
3
|
+
@import "../utilities/variables";
|
|
4
|
+
|
|
5
|
+
@mixin theme($theme) {
|
|
6
|
+
|
|
7
|
+
.mat-toolbar{
|
|
8
|
+
&.sticky {
|
|
9
|
+
position: sticky !important;
|
|
10
|
+
bottom: 0 !important;
|
|
11
|
+
top:90px !important;
|
|
12
|
+
background-color: µ.primary($theme, 50);
|
|
13
|
+
.spacer {
|
|
14
|
+
flex: 1 1 auto;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
|
+
@use "./µ";
|
|
3
|
+
@import "../utilities/variables";
|
|
4
|
+
|
|
5
|
+
@mixin theme($theme) {
|
|
6
|
+
.mat-mdc-tooltip {
|
|
7
|
+
font-size: 12px;
|
|
8
|
+
background: #ffffff;
|
|
9
|
+
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.32);
|
|
10
|
+
border-radius: 4px;
|
|
11
|
+
margin: 0 -1px -2px -2px;
|
|
12
|
+
padding: $gap;
|
|
13
|
+
|
|
14
|
+
.mdc-tooltip__surface {
|
|
15
|
+
color: inherit;
|
|
16
|
+
background-color: inherit;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.mdc-tooltip__surface {
|
|
21
|
+
background-color: white;
|
|
22
|
+
color: µ.grayscale($theme, 900);
|
|
23
|
+
line-height: normal;
|
|
24
|
+
max-width: fit-content;
|
|
25
|
+
white-space: pre-wrap;
|
|
26
|
+
}
|
|
27
|
+
}
|