@onemrvapublic/design-system-theme 16.2.15 → 16.2.46
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 +1 -24
- package/components/_autocomplete.scss +7 -0
- package/components/_badge.scss +7 -0
- package/components/_bottom-sheet.scss +7 -0
- package/components/_button-toggle.scss +37 -0
- package/components/{_buttons.scss → _button.scss} +47 -56
- package/components/_cards.scss +13 -1
- package/components/_checkbox.scss +74 -19
- package/components/_chips.scss +86 -157
- package/components/{_choice-button.scss → _choice-chips.scss} +1 -2
- package/components/_container.scss +35 -30
- package/components/_datepicker.scss +7 -1
- package/components/_dialogs.scss +10 -3
- package/components/_divider.scss +7 -0
- package/components/_expansion.scss +57 -50
- package/components/_fab.scss +8 -0
- package/components/_form-field.scss +20 -0
- package/components/_grid-list.scss +8 -0
- package/components/_icon-button.scss +11 -0
- package/components/_icon.scss +14 -1
- package/components/{_text-inputs.scss → _input.scss} +59 -59
- package/components/_links.scss +1 -1
- package/components/_lists.scss +5 -0
- package/components/_menu.scss +7 -0
- package/components/_progress-bar.scss +2 -0
- package/components/_radio.scss +6 -1
- package/components/_select.scss +10 -2
- package/components/_slide-toggle.scss +2 -0
- package/components/_slider.scss +14 -0
- package/components/{_snackbar.scss → _snack-bar.scss} +3 -0
- package/components/_sort.scss +8 -0
- package/components/_stepper.scss +6 -0
- package/components/{_tables.scss → _table.scss} +41 -17
- package/components/_tabs.scss +11 -3
- package/components/_toolbar.scss +7 -0
- package/components/_tooltip.scss +7 -3
- package/components/_tree.scss +8 -0
- package/components/_/302/265.scss +2 -2
- package/esm2022/lib/theme.module.mjs +6 -5
- package/fesm2022/onemrvapublic-design-system-theme.mjs +5 -4
- package/fesm2022/onemrvapublic-design-system-theme.mjs.map +1 -1
- package/index.scss +163 -116
- package/package.json +4 -3
- package/utilities/_fonts.scss +48 -45
- package/utilities/_variables.scss +68 -72
- 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/fonts/_material-icons.scss +0 -28
- package/fonts/_poppins.scss +0 -544
- package/fonts/_source-sans-pro.scss +0 -796
package/README.md
CHANGED
|
@@ -1,24 +1 @@
|
|
|
1
|
-
# Theme
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.1.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project theme` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project theme`.
|
|
8
|
-
> Note: Don't forget to add `--project theme` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build theme` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build theme`, go to the dist folder `cd dist/theme` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test theme` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# Design System Theme
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
@use "./µ";
|
|
4
|
+
@import "../utilities/variables";
|
|
5
|
+
|
|
6
|
+
@mixin theme($theme) {
|
|
7
|
+
|
|
8
|
+
@include mat.button-toggle-base($theme);
|
|
9
|
+
@include mat.button-toggle-theme($theme);
|
|
10
|
+
|
|
11
|
+
$spacer: map-get($theme, "spacer");
|
|
12
|
+
$accent400: µ.accent($theme, 400);
|
|
13
|
+
$accent500: µ.accent($theme, 500);
|
|
14
|
+
|
|
15
|
+
mat-button-toggle-group {
|
|
16
|
+
|
|
17
|
+
--mat-standard-button-toggle-shape : #{$onemrva-button-border-radius};
|
|
18
|
+
--mat-standard-button-toggle-divider-color: #{µ.grayscale($theme, 300)};
|
|
19
|
+
--mat-standard-button-toggle-selected-state-background-color: #{µ.primary($theme, 500)};
|
|
20
|
+
--mat-standard-button-toggle-selected-state-text-color: #{µ.accent($theme, "500-contrast")};
|
|
21
|
+
|
|
22
|
+
mat-button-toggle {
|
|
23
|
+
font: mat.get-theme-typography($theme,'button');
|
|
24
|
+
// padding: $spacer 2 * $spacer;
|
|
25
|
+
font-weight: 600;
|
|
26
|
+
color: µ.grayscale($theme, 900);
|
|
27
|
+
.mat-button-toggle-button {
|
|
28
|
+
padding: $spacer 2 * $spacer;
|
|
29
|
+
width: auto;
|
|
30
|
+
}
|
|
31
|
+
.mat-button-toggle-label-content {
|
|
32
|
+
line-height: 21px !important;
|
|
33
|
+
padding: 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -1,41 +1,19 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
3
|
-
@
|
|
4
|
-
@import
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
@use './µ';
|
|
4
|
+
@import '../utilities/variables';
|
|
5
5
|
|
|
6
6
|
@mixin theme($theme) {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
.mat-button-toggle-button {
|
|
18
|
-
padding: $spacer 2 * $spacer;
|
|
19
|
-
width: auto;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.mat-button-toggle-label-content {
|
|
23
|
-
line-height: 21px !important;
|
|
24
|
-
font-size: 14px;
|
|
25
|
-
font-family: "Poppins", sans-serif;
|
|
26
|
-
padding: 0;
|
|
27
|
-
}
|
|
28
|
-
&.mat-button-toggle-checked {
|
|
29
|
-
background-color: µ.primary($theme, 500);
|
|
30
|
-
.mat-button-toggle-label-content {
|
|
31
|
-
color: µ.accent($theme, "500-contrast");
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
7
|
+
@include mat.button-base($theme);
|
|
8
|
+
@include mat.button-theme($theme);
|
|
9
|
+
|
|
10
|
+
$spacer: map-get($theme, 'spacer');
|
|
11
|
+
$accent400: µ.accent($theme, 400);
|
|
12
|
+
$accent500: µ.accent($theme, 500);
|
|
13
|
+
$accent-gradient: transparent
|
|
14
|
+
linear-gradient(90deg, $accent400 0%, $accent500 100%) 0% 0% no-repeat
|
|
15
|
+
padding-box;
|
|
36
16
|
.mat-mdc-button-base {
|
|
37
|
-
font-size: 14px;
|
|
38
|
-
|
|
39
17
|
&.mat-error {
|
|
40
18
|
color: µ.error($theme);
|
|
41
19
|
}
|
|
@@ -53,10 +31,11 @@
|
|
|
53
31
|
}
|
|
54
32
|
&:hover:not(:disabled):not(.mdc-icon-button) {
|
|
55
33
|
mat-icon {
|
|
56
|
-
font-variation-settings:
|
|
34
|
+
font-variation-settings: 'FILL' 1;
|
|
57
35
|
}
|
|
58
36
|
}
|
|
59
37
|
}
|
|
38
|
+
|
|
60
39
|
.mat-mdc-icon-button.onemrva-icon-button {
|
|
61
40
|
outline: 1px solid µ.primary($theme);
|
|
62
41
|
border: 3px solid white;
|
|
@@ -87,7 +66,7 @@
|
|
|
87
66
|
|
|
88
67
|
&:hover {
|
|
89
68
|
outline: none;
|
|
90
|
-
box-shadow:
|
|
69
|
+
box-shadow: 0 3px 3px rgba(49, 47, 59, 0.32);
|
|
91
70
|
}
|
|
92
71
|
|
|
93
72
|
.mat-ripple-element {
|
|
@@ -98,9 +77,7 @@
|
|
|
98
77
|
.mat-mdc-button-base:not(.mat-mdc-icon-button):not(
|
|
99
78
|
.mat-mdc-datepicker-close-button
|
|
100
79
|
):not(.mat-mdc-mini-fab) {
|
|
101
|
-
|
|
102
|
-
-moz-box-sizing: border-box; /* Firefox, other Gecko */
|
|
103
|
-
box-sizing: border-box; /* Opera/IE 8+ */
|
|
80
|
+
box-sizing: border-box;
|
|
104
81
|
position: relative;
|
|
105
82
|
|
|
106
83
|
&:not(.mat-mdc-fab):not(.mat-mdc-mini-fab) {
|
|
@@ -109,25 +86,33 @@
|
|
|
109
86
|
|
|
110
87
|
&.mat-mdc-outlined-button {
|
|
111
88
|
padding: $spacer 2 * $spacer;
|
|
89
|
+
.mat-mdc-button-persistent-ripple::before {
|
|
90
|
+
--mat-outlined-button-state-layer-color: µ.primary('500-contrast');
|
|
91
|
+
}
|
|
112
92
|
}
|
|
113
93
|
|
|
114
|
-
line-height: 21px;
|
|
115
|
-
font-weight: 500;
|
|
116
|
-
font-family: "Poppins", sans-serif;
|
|
117
94
|
vertical-align: middle;
|
|
118
95
|
text-decoration: none;
|
|
119
96
|
.mat-icon {
|
|
120
97
|
padding: 0;
|
|
121
|
-
margin: 0 $spacer 0
|
|
98
|
+
margin: 0 $spacer 0 -8px;
|
|
122
99
|
line-height: 21px;
|
|
123
100
|
height: 21px;
|
|
124
|
-
width: 2 * $spacer;
|
|
125
101
|
vertical-align: top;
|
|
126
102
|
text-align: center;
|
|
127
103
|
}
|
|
104
|
+
&.onemrva-icon-right {
|
|
105
|
+
padding-right: 4 * $spacer;
|
|
106
|
+
mat-icon:last-of-type {
|
|
107
|
+
position: absolute;
|
|
108
|
+
float: right;
|
|
109
|
+
display: inline-block;
|
|
110
|
+
right: 0;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
128
113
|
&.small {
|
|
129
114
|
border-radius: 500px;
|
|
130
|
-
padding: 2px
|
|
115
|
+
padding: 2px 12px;
|
|
131
116
|
font-size: 14px;
|
|
132
117
|
line-height: 21px;
|
|
133
118
|
font-weight: 400;
|
|
@@ -137,9 +122,15 @@
|
|
|
137
122
|
font-size: 14px;
|
|
138
123
|
line-height: 21px;
|
|
139
124
|
height: 21px;
|
|
140
|
-
width:
|
|
125
|
+
width: 12px;
|
|
141
126
|
padding: 0;
|
|
142
127
|
}
|
|
128
|
+
&.onemrva-icon-right {
|
|
129
|
+
padding-right: 28px;
|
|
130
|
+
mat-icon {
|
|
131
|
+
padding-right: 4px;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
143
134
|
}
|
|
144
135
|
&.choice-btn {
|
|
145
136
|
height: 36px;
|
|
@@ -153,8 +144,9 @@
|
|
|
153
144
|
color: white;
|
|
154
145
|
|
|
155
146
|
> :first-child::before {
|
|
156
|
-
|
|
157
|
-
|
|
147
|
+
//noinspection CssNoGenericFontName
|
|
148
|
+
font-family: 'Material Icons';
|
|
149
|
+
content: '\e876';
|
|
158
150
|
font-size: 16px;
|
|
159
151
|
margin-right: 8px;
|
|
160
152
|
vertical-align: bottom;
|
|
@@ -169,7 +161,6 @@
|
|
|
169
161
|
|
|
170
162
|
&:hover:not(:disabled):not(.choice-btn) {
|
|
171
163
|
box-shadow: $box-shadow;
|
|
172
|
-
|
|
173
164
|
.mat-button-focus-overlay {
|
|
174
165
|
background: transparent;
|
|
175
166
|
opacity: 0;
|
|
@@ -280,27 +271,27 @@
|
|
|
280
271
|
&.mat-mdc-fab,
|
|
281
272
|
&.mat-mdc-mini-fab {
|
|
282
273
|
&.mat-accent {
|
|
283
|
-
background: $
|
|
274
|
+
background: $accent-gradient;
|
|
284
275
|
}
|
|
285
276
|
|
|
286
277
|
&.mat-error {
|
|
287
278
|
background: µ.error($theme);
|
|
288
|
-
color: µ.error($theme,
|
|
279
|
+
color: µ.error($theme, '500-contrast');
|
|
289
280
|
}
|
|
290
281
|
|
|
291
282
|
&.mat-success {
|
|
292
283
|
background: µ.success($theme);
|
|
293
|
-
color: µ.success($theme,
|
|
284
|
+
color: µ.success($theme, '500-contrast');
|
|
294
285
|
}
|
|
295
286
|
|
|
296
287
|
&.mat-info {
|
|
297
288
|
background: µ.info($theme);
|
|
298
|
-
color: µ.info($theme,
|
|
289
|
+
color: µ.info($theme, '500-contrast');
|
|
299
290
|
}
|
|
300
291
|
|
|
301
292
|
&.mat-grayscale {
|
|
302
293
|
background: µ.grayscale($theme);
|
|
303
|
-
color: µ.grayscale($theme,
|
|
294
|
+
color: µ.grayscale($theme, '500-contrast');
|
|
304
295
|
}
|
|
305
296
|
|
|
306
297
|
&:disabled {
|
|
@@ -314,7 +305,7 @@
|
|
|
314
305
|
@mixin nsOutline($shift) {
|
|
315
306
|
&:after {
|
|
316
307
|
position: absolute;
|
|
317
|
-
content:
|
|
308
|
+
content: '';
|
|
318
309
|
top: $shift;
|
|
319
310
|
left: $shift;
|
|
320
311
|
right: $shift;
|
package/components/_cards.scss
CHANGED
|
@@ -5,9 +5,21 @@
|
|
|
5
5
|
@mixin theme($theme) {
|
|
6
6
|
$border-radius: 20px;
|
|
7
7
|
|
|
8
|
+
@include mat.card-base($theme);
|
|
9
|
+
@include mat.card-theme($theme);
|
|
10
|
+
|
|
11
|
+
.onemrva-shadow-highlight {
|
|
12
|
+
&:hover {
|
|
13
|
+
box-shadow: 0 2px 6px #00000026 !important;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.mat-mdc-card-outlined, .mat-mdc-card {
|
|
18
|
+
--mdc-outlined-card-container-shape: #{$border-radius};
|
|
19
|
+
}
|
|
20
|
+
|
|
8
21
|
.mat-mdc-card {
|
|
9
22
|
box-shadow: none !important;
|
|
10
|
-
border-radius: $border-radius;
|
|
11
23
|
outline: 1px solid µ.grayscale($theme, 200);
|
|
12
24
|
padding: 0;
|
|
13
25
|
display: inline-block;
|
|
@@ -4,30 +4,85 @@
|
|
|
4
4
|
@import "../utilities/variables";
|
|
5
5
|
|
|
6
6
|
@mixin theme($theme) {
|
|
7
|
-
.mat-mdc-checkbox .mdc-checkbox {
|
|
8
|
-
.mdc-checkbox__native-control:enabled:checked,
|
|
9
|
-
.mdc-checkbox__native-control:enabled:indeterminate {
|
|
10
|
-
~ .mdc-checkbox__background {
|
|
11
|
-
background: $onemrva-accent-gradient-vertical;
|
|
12
|
-
border: none;
|
|
13
|
-
|
|
14
|
-
.mdc-checkbox__checkmark {
|
|
15
|
-
width: calc(100% - 4px);
|
|
16
|
-
top: 2px;
|
|
17
|
-
left: 2px;
|
|
18
|
-
}
|
|
19
7
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
8
|
+
@include mat.checkbox-base($theme);
|
|
9
|
+
@include mat.checkbox-theme($theme);
|
|
10
|
+
|
|
11
|
+
.mat-mdc-checkbox {
|
|
12
|
+
&.mat-accent {
|
|
13
|
+
.mdc-checkbox__native-control:enabled:checked,
|
|
14
|
+
.mdc-checkbox__native-control:enabled:indeterminate {
|
|
15
|
+
~ .mdc-checkbox__background {
|
|
16
|
+
background: $onemrva-accent-gradient-vertical;
|
|
17
|
+
border: µ.accent($theme, 500);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
&.mat-primary {
|
|
22
|
+
.mdc-checkbox__native-control:enabled:checked,
|
|
23
|
+
.mdc-checkbox__native-control:enabled:indeterminate {
|
|
24
|
+
~ .mdc-checkbox__background {
|
|
25
|
+
background: µ.primary($theme, 500);
|
|
26
|
+
border: µ.primary($theme, 500);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
&.mat-warn {
|
|
31
|
+
.mdc-checkbox__native-control:enabled:checked,
|
|
32
|
+
.mdc-checkbox__native-control:enabled:indeterminate {
|
|
33
|
+
~ .mdc-checkbox__background {
|
|
34
|
+
.mdc-checkbox__checkmark {
|
|
35
|
+
color: white;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
&.mat-success {
|
|
41
|
+
.mdc-checkbox__native-control:enabled:checked,
|
|
42
|
+
.mdc-checkbox__native-control:enabled:indeterminate {
|
|
43
|
+
~ .mdc-checkbox__background {
|
|
44
|
+
background: µ.success($theme, 600);
|
|
45
|
+
border: µ.success($theme, 600);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
&.mat-error {
|
|
50
|
+
.mdc-checkbox__native-control:enabled:checked,
|
|
51
|
+
.mdc-checkbox__native-control:enabled:indeterminate {
|
|
52
|
+
~ .mdc-checkbox__background {
|
|
53
|
+
background: µ.error($theme, 500);
|
|
54
|
+
border: µ.error($theme, 500);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
&.mat-info {
|
|
59
|
+
.mdc-checkbox__native-control:enabled:checked,
|
|
60
|
+
.mdc-checkbox__native-control:enabled:indeterminate {
|
|
61
|
+
~ .mdc-checkbox__background {
|
|
62
|
+
background: µ.info($theme, 500);
|
|
63
|
+
border: µ.info($theme, 500);
|
|
24
64
|
}
|
|
25
65
|
}
|
|
26
66
|
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.mat-mdc-checkbox {
|
|
30
67
|
.mdc-checkbox {
|
|
68
|
+
.mdc-checkbox__native-control:enabled:checked,
|
|
69
|
+
.mdc-checkbox__native-control:enabled:indeterminate {
|
|
70
|
+
~ .mdc-checkbox__background {
|
|
71
|
+
|
|
72
|
+
.mdc-checkbox__checkmark {
|
|
73
|
+
width: calc(100% - 4px);
|
|
74
|
+
top: 2px;
|
|
75
|
+
left: 2px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.mdc-checkbox__mixedmark {
|
|
79
|
+
width: calc(100% - 6px);
|
|
80
|
+
top: 2px;
|
|
81
|
+
left: 2px;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
31
86
|
padding: 12px;
|
|
32
87
|
.mdc-checkbox__background {
|
|
33
88
|
width: 20px;
|
package/components/_chips.scss
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "@angular/material" as mat;
|
|
2
|
+
@use "sass:map";
|
|
2
3
|
@use "./µ";
|
|
3
4
|
@import "../utilities/variables";
|
|
4
5
|
|
|
@@ -6,171 +7,99 @@
|
|
|
6
7
|
$primary: µ.primary($theme);
|
|
7
8
|
$color: mat.get-color-from-palette(map-get($theme, "grayscale"));
|
|
8
9
|
|
|
10
|
+
@include mat.chips-base($theme);
|
|
11
|
+
@include mat.chips-theme($theme);
|
|
12
|
+
|
|
9
13
|
.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) {
|
|
10
14
|
background: none;
|
|
11
15
|
}
|
|
16
|
+
.mat-mdc-chip {
|
|
17
|
+
&.mat-mdc-standard-chip {
|
|
18
|
+
--mdc-chip-container-shape-radius: 500px 500px 500px 500px ;
|
|
19
|
+
--mdc-chip-container-height: 22px;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
12
22
|
|
|
13
|
-
mat-chip
|
|
14
|
-
mat-chip-row {
|
|
23
|
+
mat-chip-option {
|
|
15
24
|
transition: none;
|
|
16
25
|
box-shadow: none;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
opacity: 1;
|
|
27
|
+
background: #f1f0fc 0 0 no-repeat padding-box !important;
|
|
28
|
+
color: $color;
|
|
29
|
+
border: 2px solid $color;
|
|
30
|
+
height: 22px;
|
|
31
|
+
padding: 8px 16px;
|
|
32
|
+
font-family: mat.get-theme-typography($theme,'button', font-family);
|
|
33
|
+
font-size: 16px;
|
|
34
|
+
font-style: normal;
|
|
35
|
+
font-weight: 500;
|
|
36
|
+
line-height: 21px; /* 131.25% */
|
|
37
|
+
.mat-mdc-chip-graphic {
|
|
38
|
+
width: 0;
|
|
39
|
+
padding: 0 !important;
|
|
40
|
+
}
|
|
41
|
+
&.mat-mdc-chip-selected {
|
|
42
|
+
.mat-mdc-chip-graphic {
|
|
43
|
+
width: var(--mdc-chip-with-avatar-avatar-size);
|
|
28
44
|
}
|
|
29
|
-
|
|
45
|
+
}
|
|
46
|
+
.mat-mdc-chip-action {
|
|
47
|
+
padding-right: 0 !important;
|
|
48
|
+
}
|
|
49
|
+
.mat-icon {
|
|
50
|
+
line-height: 14px;
|
|
51
|
+
}
|
|
52
|
+
&.mat-primary {
|
|
53
|
+
--mdc-chip-label-text-color: #{$primary};
|
|
54
|
+
background: µ.primary($theme, 50) !important;
|
|
55
|
+
border: 1px solid µ.primary($theme, 300);
|
|
56
|
+
}
|
|
57
|
+
&.mat-accent {
|
|
58
|
+
--mdc-chip-label-text-color: #{ µ.accent($theme, "500-contrast")};
|
|
59
|
+
background: $onemrva-accent-gradient-vertical !important;
|
|
60
|
+
border: none !important;
|
|
61
|
+
}
|
|
62
|
+
&.mat-error {
|
|
63
|
+
--mdc-chip-label-text-color: #{ µ.error($theme, 500)};
|
|
64
|
+
background: µ.error($theme, 50) !important;
|
|
65
|
+
border: 1px solid µ.error($theme, 500);
|
|
66
|
+
}
|
|
67
|
+
&.mat-warn {
|
|
68
|
+
--mdc-chip-label-text-color: #{ µ.warn($theme, 500)};
|
|
69
|
+
background: µ.warn($theme, 50) !important;
|
|
70
|
+
border: 1px solid µ.warn($theme, 200);
|
|
71
|
+
}
|
|
72
|
+
&.mat-success {
|
|
73
|
+
--mdc-chip-label-text-color: #{ µ.success($theme, 500)};
|
|
74
|
+
background: µ.success($theme, 50) !important;
|
|
75
|
+
border: 1px solid µ.success($theme, 200);
|
|
76
|
+
}
|
|
77
|
+
&.mat-error {
|
|
78
|
+
--mdc-chip-label-text-color: #{ µ.error($theme, 500)};
|
|
79
|
+
background: µ.error($theme, 50) !important;
|
|
80
|
+
border: 1px solid µ.error($theme, 500);
|
|
81
|
+
display: inline-flex;
|
|
82
|
+
}
|
|
83
|
+
&.mat-info {
|
|
84
|
+
--mdc-chip-label-text-color: #{ µ.info($theme, 500)};
|
|
85
|
+
background: µ.info($theme, 50) !important;
|
|
86
|
+
border: 1px solid µ.info($theme, 200);
|
|
87
|
+
}
|
|
88
|
+
&.mat-mdc-chip-disabled {
|
|
89
|
+
--mdc-chip-label-text-color: #{ µ.grayscale($theme, 700)};
|
|
30
90
|
opacity: 1;
|
|
31
|
-
background:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
align-items: center;
|
|
41
|
-
}
|
|
42
|
-
.mat-mdc-chip-action-label {
|
|
43
|
-
.mat-icon {
|
|
44
|
-
line-height: 18px;
|
|
45
|
-
font-size: 18px;
|
|
46
|
-
height: 18px;
|
|
47
|
-
width: 22px;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
&.mat-primary {
|
|
51
|
-
background: µ.primary($theme, 50) !important;
|
|
52
|
-
border: 1px solid µ.primary($theme, 300);
|
|
53
|
-
.mat-mdc-chip-action-label {
|
|
54
|
-
color: $primary;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
&.mat-accent {
|
|
58
|
-
$color: µ.accent($theme, "500-contrast");
|
|
59
|
-
background: $onemrva-accent-gradient-vertical !important;
|
|
60
|
-
border: none;
|
|
61
|
-
.mat-mdc-chip-action-label {
|
|
62
|
-
color: $color;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
&.mat-warn {
|
|
66
|
-
background: µ.warn($theme, 50) !important;
|
|
67
|
-
border: 1px solid µ.warn($theme, 200);
|
|
68
|
-
.mat-mdc-chip-action-label {
|
|
69
|
-
color: µ.warn($theme, 600);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
&.mat-success {
|
|
73
|
-
background: µ.success($theme, 50) !important;
|
|
74
|
-
border: 1px solid µ.success($theme, 200);
|
|
75
|
-
.mat-mdc-chip-action-label {
|
|
76
|
-
color: µ.success($theme);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
&.mat-error {
|
|
80
|
-
background: µ.error($theme, 50) !important;
|
|
81
|
-
border: 1px solid µ.error($theme, 500);
|
|
82
|
-
display: inline-flex;
|
|
83
|
-
.mat-mdc-chip-action-label {
|
|
84
|
-
color: µ.error($theme);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
&.mat-info {
|
|
88
|
-
background: µ.info($theme, 50) !important;
|
|
89
|
-
border: 1px solid µ.info($theme, 200);
|
|
90
|
-
.mat-mdc-chip-action-label {
|
|
91
|
-
color: µ.info($theme);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
&.mat-mdc-chip-disabled {
|
|
95
|
-
background: µ.grayscale($theme, 50) !important;
|
|
96
|
-
border: 1px solid µ.grayscale($theme, 400);
|
|
97
|
-
.mat-mdc-chip-action-label {
|
|
98
|
-
color: µ.grayscale($theme);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
&.sticker {
|
|
102
|
-
height: 18px;
|
|
103
|
-
overflow: hidden;
|
|
104
|
-
text-overflow: ellipsis;
|
|
105
|
-
white-space: nowrap;
|
|
106
|
-
display: inline-flex;
|
|
107
|
-
align-items: center;
|
|
108
|
-
cursor: default;
|
|
109
|
-
background: #ffffff !important;
|
|
110
|
-
opacity: 1;
|
|
111
|
-
border-radius: 4px;
|
|
112
|
-
padding: 4px 16px;
|
|
113
|
-
font-size: 12px;
|
|
114
|
-
font-weight: 500;
|
|
115
|
-
&.mat-primary {
|
|
116
|
-
border: 2px solid $primary;
|
|
117
|
-
color: $primary;
|
|
118
|
-
}
|
|
119
|
-
&.mat-accent {
|
|
120
|
-
$color: µ.accent($theme, "500-contrast");
|
|
121
|
-
background: $onemrva-accent-gradient-vertical !important;
|
|
122
|
-
height: 22px;
|
|
123
|
-
border: none;
|
|
124
|
-
color: $color;
|
|
125
|
-
}
|
|
126
|
-
&.mat-warn {
|
|
127
|
-
$color: µ.warn($theme, 600);
|
|
128
|
-
border: 2px solid $color;
|
|
129
|
-
color: $color;
|
|
130
|
-
}
|
|
131
|
-
&.mat-success {
|
|
132
|
-
$color: µ.success($theme);
|
|
133
|
-
border: 2px solid $color;
|
|
134
|
-
color: $color;
|
|
135
|
-
}
|
|
136
|
-
&.mat-error {
|
|
137
|
-
$color: µ.error($theme);
|
|
138
|
-
border: 2px solid $color;
|
|
139
|
-
color: $color;
|
|
140
|
-
display: inline-flex;
|
|
141
|
-
}
|
|
142
|
-
&.mat-info {
|
|
143
|
-
$color: µ.info($theme);
|
|
144
|
-
border: 2px solid $color;
|
|
145
|
-
color: $color;
|
|
146
|
-
}
|
|
147
|
-
&.mat-grayscale {
|
|
148
|
-
$color: µ.grayscale($theme);
|
|
149
|
-
border: 2px solid $color;
|
|
150
|
-
color: $color;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.mat-mdc-chip-action {
|
|
155
|
-
padding: 0;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.mat-mdc-chip-remove {
|
|
159
|
-
opacity: 0.4;
|
|
160
|
-
height: 16px;
|
|
161
|
-
width: 16px;
|
|
162
|
-
margin-left: 8px;
|
|
91
|
+
background: µ.grayscale($theme, 50) !important;
|
|
92
|
+
border: 1px solid µ.grayscale($theme, 400);
|
|
93
|
+
}
|
|
94
|
+
&.mdc-evolution-chip--selected {
|
|
95
|
+
background: µ.primary($theme, 500) !important;
|
|
96
|
+
}
|
|
97
|
+
.mat-mdc-chip-remove {
|
|
98
|
+
margin-top: 6px;
|
|
99
|
+
}
|
|
163
100
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
}
|
|
167
|
-
.mat-icon {
|
|
168
|
-
color: $primary;
|
|
169
|
-
opacity: 1;
|
|
170
|
-
font-weight: bold;
|
|
171
|
-
font-size: 16px;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
101
|
+
.mdc-evolution-chip__action--trailing {
|
|
102
|
+
padding: 0 0 0 8px !important;
|
|
174
103
|
}
|
|
175
104
|
}
|
|
176
|
-
}
|
|
105
|
+
}
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
@mixin theme($theme) {
|
|
6
6
|
.mat-mdc-checkbox.onemrva-choice-btn {
|
|
7
|
+
font: mat.get-theme-typography($theme,'button');
|
|
7
8
|
border: 1px solid µ.primary($theme);
|
|
8
9
|
border-radius: 500px;
|
|
9
10
|
color: µ.primary($theme);
|
|
10
|
-
font-family: "Poppins", sans-serif;
|
|
11
|
-
font-size: 14px;
|
|
12
11
|
padding: 0;
|
|
13
12
|
|
|
14
13
|
.mdc-checkbox__ripple {
|