diff --git a/.github/workflows/styling.yml b/.github/workflows/styling.yml index 793b5dca17b..d5eace624a8 100644 --- a/.github/workflows/styling.yml +++ b/.github/workflows/styling.yml @@ -63,7 +63,7 @@ jobs: - name: Check CSS Styling run: | failTest=false - npx stylelint "**/*.{css,scss}" || failTest=true + npm run stylelint || failTest=true if $failTest; then exit 1 fi diff --git a/.stylelintignore b/.stylelintignore index d7178b29b52..1fef77cef1f 100644 --- a/.stylelintignore +++ b/.stylelintignore @@ -15,12 +15,5 @@ swagger/**/*.scss # To be fixed and removed from this list gacl/**/*.css -gacl/**/*.scss interface/**/*.css interface/**/*.scss -library/**/*.css -library/**/*.scss -portal/**/*.css -portal/**/*.scss -public/**/*.css -public/**/*.scss diff --git a/library/ESign/css/esign_report.css b/library/ESign/css/esign_report.css index c65698feb08..ec1049d128d 100644 --- a/library/ESign/css/esign_report.css +++ b/library/ESign/css/esign_report.css @@ -21,14 +21,13 @@ **/ .esign-signature-log-container { - display: table; + display: table; } .esign-signature-log-table { font-size: small; margin-top: 10px; width: 100%; - } .esign-log-row.header { @@ -65,7 +64,7 @@ } .span9 { - width: 100%; + width: 100%; } .esign-log-element { @@ -76,4 +75,3 @@ .esign-log-element span { padding: 4px; } - diff --git a/package.json b/package.json index d1b1d87a28e..bab14e4e367 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,9 @@ "lint:js": "eslint '**/*.js' --quiet", "lint:js-fix": "npm run lint:js -- --fix", "test:js": "jest", - "test:js-coverage": "jest --coverage" + "test:js-coverage": "jest --coverage", + "stylelint": "npx stylelint '**/*.{css,scss}'", + "stylelint-fix": "npm run stylelint -- --fix" }, "keywords": [ "openemr" diff --git a/public/fonts/lato/lato.css b/public/fonts/lato/lato.css index 98f8e429c9f..37150a96e57 100644 --- a/public/fonts/lato/lato.css +++ b/public/fonts/lato/lato.css @@ -1,191 +1,207 @@ @font-face { - font-family: 'lato'; + font-family: lato; font-style: normal; font-weight: bold; src: url('Lato-Bold.eot'); - src: url('Lato-Bold.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-Bold.eot?#iefix') format('embedded-opentype'), url('Lato-Bold.woff2') format('woff2'), url('Lato-Bold.woff') format('woff'), url('Lato-Bold.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; } @font-face { - font-family: 'lato'; + font-family: lato; font-style: italic; font-weight: bold; src: url('Lato-BoldItalic.eot'); - src: url('Lato-BoldItalic.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-BoldItalic.eot?#iefix') format('embedded-opentype'), url('Lato-BoldItalic.woff2') format('woff2'), url('Lato-BoldItalic.woff') format('woff'), url('Lato-BoldItalic.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; } @font-face { - font-family: 'lato'; + font-family: lato; font-style: normal; font-weight: 100; src: url('Lato-Hairline.eot'); - src: url('Lato-Hairline.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-Hairline.eot?#iefix') format('embedded-opentype'), url('Lato-Hairline.woff2') format('woff2'), url('Lato-Hairline.woff') format('woff'), url('Lato-Hairline.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; } @font-face { - font-family: 'lato'; + font-family: lato; font-style: italic; font-weight: 100; src: url('Lato-HairlineItalic.eot'); - src: url('Lato-HairlineItalic.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-HairlineItalic.eot?#iefix') format('embedded-opentype'), url('Lato-HairlineItalic.woff2') format('woff2'), url('Lato-HairlineItalic.woff') format('woff'), url('Lato-HairlineItalic.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; } @font-face { - font-family: 'lato'; + font-family: lato; font-style: normal; font-weight: 800; src: url('Lato-Heavy.eot'); - src: url('Lato-Heavy.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-Heavy.eot?#iefix') format('embedded-opentype'), url('Lato-Heavy.woff2') format('woff2'), url('Lato-Heavy.woff') format('woff'), url('Lato-Heavy.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; } @font-face { - font-family: 'lato'; + font-family: lato; font-style: italic; font-weight: 800; src: url('Lato-HeavyItalic.eot'); - src: url('Lato-HeavyItalic.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-HeavyItalic.eot?#iefix') format('embedded-opentype'), url('Lato-HeavyItalic.woff2') format('woff2'), url('Lato-HeavyItalic.woff') format('woff'), url('Lato-HeavyItalic.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; } @font-face { - font-family: 'lato'; + font-family: lato; font-style: italic; font-weight: normal; src: url('Lato-Italic.eot'); - src: url('Lato-Italic.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-Italic.eot?#iefix') format('embedded-opentype'), url('Lato-Italic.woff2') format('woff2'), url('Lato-Italic.woff') format('woff'), url('Lato-Italic.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; } @font-face { - font-family: 'lato'; + font-family: lato; font-style: normal; font-weight: 300; src: url('Lato-Light.eot'); - src: url('Lato-Light.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-Light.eot?#iefix') format('embedded-opentype'), url('Lato-Light.woff2') format('woff2'), url('Lato-Light.woff') format('woff'), url('Lato-Light.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; } @font-face { - font-family: 'lato'; + font-family: lato; font-style: italic; font-weight: 300; src: url('Lato-LightItalic.eot'); - src: url('Lato-LightItalic.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-LightItalic.eot?#iefix') format('embedded-opentype'), url('Lato-LightItalic.woff2') format('woff2'), url('Lato-LightItalic.woff') format('woff'), url('Lato-LightItalic.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; } @font-face { - font-family: 'lato'; + font-family: lato; font-style: normal; font-weight: 500; src: url('Lato-Medium.eot'); - src: url('Lato-Medium.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-Medium.eot?#iefix') format('embedded-opentype'), url('Lato-Medium.woff2') format('woff2'), url('Lato-Medium.woff') format('woff'), url('Lato-Medium.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; } @font-face { - font-family: 'lato'; + font-family: lato; font-style: italic; font-weight: 500; src: url('Lato-MediumItalic.eot'); - src: url('Lato-MediumItalic.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-MediumItalic.eot?#iefix') format('embedded-opentype'), url('Lato-MediumItalic.woff2') format('woff2'), url('Lato-MediumItalic.woff') format('woff'), url('Lato-MediumItalic.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; } @font-face { - font-family: 'lato'; + font-family: lato; font-style: normal; font-weight: normal; src: url('Lato-Regular.eot'); - src: url('Lato-Regular.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-Regular.eot?#iefix') format('embedded-opentype'), url('Lato-Regular.woff2') format('woff2'), url('Lato-Regular.woff') format('woff'), url('Lato-Regular.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; } @font-face { - font-family: 'lato'; + font-family: lato; font-style: normal; font-weight: 600; src: url('Lato-Semibold.eot'); - src: url('Lato-Semibold.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-Semibold.eot?#iefix') format('embedded-opentype'), url('Lato-Semibold.woff2') format('woff2'), url('Lato-Semibold.woff') format('woff'), url('Lato-Semibold.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; } @font-face { - font-family: 'lato'; + font-family: lato; font-style: italic; font-weight: 600; src: url('Lato-SemiboldItalic.eot'); - src: url('Lato-SemiboldItalic.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-SemiboldItalic.eot?#iefix') format('embedded-opentype'), url('Lato-SemiboldItalic.woff2') format('woff2'), url('Lato-SemiboldItalic.woff') format('woff'), url('Lato-SemiboldItalic.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; } @font-face { - font-family: 'lato'; + font-family: lato; font-style: normal; font-weight: 200; src: url('Lato-Thin.eot'); - src: url('Lato-Thin.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-Thin.eot?#iefix') format('embedded-opentype'), url('Lato-Thin.woff2') format('woff2'), url('Lato-Thin.woff') format('woff'), url('Lato-Thin.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; } @font-face { - font-family: 'lato'; + font-family: lato; font-style: italic; font-weight: 200; src: url('Lato-ThinItalic.eot'); - src: url('Lato-ThinItalic.eot?#iefix') format('embedded-opentype'), + src: + url('Lato-ThinItalic.eot?#iefix') format('embedded-opentype'), url('Lato-ThinItalic.woff2') format('woff2'), url('Lato-ThinItalic.woff') format('woff'), url('Lato-ThinItalic.ttf') format('truetype'); - text-rendering: optimizeLegibility; + text-rendering: optimizelegibility; }