@govtechsg/oobee 0.10.20

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 (123) hide show
  1. package/.dockerignore +22 -0
  2. package/.github/pull_request_template.md +11 -0
  3. package/.github/workflows/docker-test.yml +54 -0
  4. package/.github/workflows/image.yml +107 -0
  5. package/.github/workflows/publish.yml +18 -0
  6. package/.idea/modules.xml +8 -0
  7. package/.idea/purple-a11y.iml +9 -0
  8. package/.idea/vcs.xml +6 -0
  9. package/.prettierrc.json +12 -0
  10. package/.vscode/extensions.json +5 -0
  11. package/.vscode/settings.json +10 -0
  12. package/CODE_OF_CONDUCT.md +128 -0
  13. package/DETAILS.md +163 -0
  14. package/Dockerfile +60 -0
  15. package/INSTALLATION.md +146 -0
  16. package/INTEGRATION.md +785 -0
  17. package/LICENSE +22 -0
  18. package/README.md +587 -0
  19. package/SECURITY.md +5 -0
  20. package/__mocks__/mock-report.html +1431 -0
  21. package/__mocks__/mockFunctions.ts +32 -0
  22. package/__mocks__/mockIssues.ts +64 -0
  23. package/__mocks__/mock_all_issues/000000001.json +64 -0
  24. package/__mocks__/mock_all_issues/000000002.json +53 -0
  25. package/__mocks__/mock_all_issues/fake-file.txt +0 -0
  26. package/__tests__/logs.test.ts +25 -0
  27. package/__tests__/mergeAxeResults.test.ts +278 -0
  28. package/__tests__/utils.test.ts +118 -0
  29. package/a11y-scan-results.zip +0 -0
  30. package/eslint.config.js +53 -0
  31. package/exclusions.txt +2 -0
  32. package/gitlab-pipeline-template.yml +54 -0
  33. package/jest.config.js +1 -0
  34. package/package.json +96 -0
  35. package/scripts/copyFiles.js +44 -0
  36. package/scripts/install_oobee_dependencies.cmd +13 -0
  37. package/scripts/install_oobee_dependencies.command +101 -0
  38. package/scripts/install_oobee_dependencies.ps1 +110 -0
  39. package/scripts/oobee_shell.cmd +13 -0
  40. package/scripts/oobee_shell.command +11 -0
  41. package/scripts/oobee_shell.sh +55 -0
  42. package/scripts/oobee_shell_ps.ps1 +54 -0
  43. package/src/cli.ts +401 -0
  44. package/src/combine.ts +240 -0
  45. package/src/constants/__tests__/common.test.ts +44 -0
  46. package/src/constants/cliFunctions.ts +305 -0
  47. package/src/constants/common.ts +1840 -0
  48. package/src/constants/constants.ts +443 -0
  49. package/src/constants/errorMeta.json +319 -0
  50. package/src/constants/itemTypeDescription.ts +11 -0
  51. package/src/constants/oobeeAi.ts +141 -0
  52. package/src/constants/questions.ts +181 -0
  53. package/src/constants/sampleData.ts +187 -0
  54. package/src/crawlers/__tests__/commonCrawlerFunc.test.ts +51 -0
  55. package/src/crawlers/commonCrawlerFunc.ts +656 -0
  56. package/src/crawlers/crawlDomain.ts +877 -0
  57. package/src/crawlers/crawlIntelligentSitemap.ts +156 -0
  58. package/src/crawlers/crawlLocalFile.ts +193 -0
  59. package/src/crawlers/crawlSitemap.ts +356 -0
  60. package/src/crawlers/custom/extractAndGradeText.ts +57 -0
  61. package/src/crawlers/custom/flagUnlabelledClickableElements.ts +964 -0
  62. package/src/crawlers/custom/utils.ts +486 -0
  63. package/src/crawlers/customAxeFunctions.ts +82 -0
  64. package/src/crawlers/pdfScanFunc.ts +468 -0
  65. package/src/crawlers/runCustom.ts +117 -0
  66. package/src/index.ts +173 -0
  67. package/src/logs.ts +66 -0
  68. package/src/mergeAxeResults.ts +964 -0
  69. package/src/npmIndex.ts +284 -0
  70. package/src/screenshotFunc/htmlScreenshotFunc.ts +411 -0
  71. package/src/screenshotFunc/pdfScreenshotFunc.ts +762 -0
  72. package/src/static/ejs/partials/components/categorySelector.ejs +4 -0
  73. package/src/static/ejs/partials/components/categorySelectorDropdown.ejs +57 -0
  74. package/src/static/ejs/partials/components/pagesScannedModal.ejs +70 -0
  75. package/src/static/ejs/partials/components/reportSearch.ejs +47 -0
  76. package/src/static/ejs/partials/components/ruleOffcanvas.ejs +105 -0
  77. package/src/static/ejs/partials/components/scanAbout.ejs +263 -0
  78. package/src/static/ejs/partials/components/screenshotLightbox.ejs +13 -0
  79. package/src/static/ejs/partials/components/summaryScanAbout.ejs +141 -0
  80. package/src/static/ejs/partials/components/summaryScanResults.ejs +16 -0
  81. package/src/static/ejs/partials/components/summaryTable.ejs +20 -0
  82. package/src/static/ejs/partials/components/summaryWcagCompliance.ejs +94 -0
  83. package/src/static/ejs/partials/components/topFive.ejs +6 -0
  84. package/src/static/ejs/partials/components/wcagCompliance.ejs +70 -0
  85. package/src/static/ejs/partials/footer.ejs +21 -0
  86. package/src/static/ejs/partials/header.ejs +230 -0
  87. package/src/static/ejs/partials/main.ejs +40 -0
  88. package/src/static/ejs/partials/scripts/bootstrap.ejs +8 -0
  89. package/src/static/ejs/partials/scripts/categorySelectorDropdownScript.ejs +190 -0
  90. package/src/static/ejs/partials/scripts/categorySummary.ejs +141 -0
  91. package/src/static/ejs/partials/scripts/highlightjs.ejs +335 -0
  92. package/src/static/ejs/partials/scripts/popper.ejs +7 -0
  93. package/src/static/ejs/partials/scripts/reportSearch.ejs +248 -0
  94. package/src/static/ejs/partials/scripts/ruleOffcanvas.ejs +801 -0
  95. package/src/static/ejs/partials/scripts/screenshotLightbox.ejs +71 -0
  96. package/src/static/ejs/partials/scripts/summaryScanResults.ejs +14 -0
  97. package/src/static/ejs/partials/scripts/summaryTable.ejs +78 -0
  98. package/src/static/ejs/partials/scripts/utils.ejs +441 -0
  99. package/src/static/ejs/partials/styles/bootstrap.ejs +12375 -0
  100. package/src/static/ejs/partials/styles/highlightjs.ejs +54 -0
  101. package/src/static/ejs/partials/styles/styles.ejs +1843 -0
  102. package/src/static/ejs/partials/styles/summaryBootstrap.ejs +12458 -0
  103. package/src/static/ejs/partials/summaryHeader.ejs +70 -0
  104. package/src/static/ejs/partials/summaryMain.ejs +75 -0
  105. package/src/static/ejs/report.ejs +420 -0
  106. package/src/static/ejs/summary.ejs +47 -0
  107. package/src/static/mustache/.prettierrc +4 -0
  108. package/src/static/mustache/Attention Deficit.mustache +11 -0
  109. package/src/static/mustache/Blind.mustache +11 -0
  110. package/src/static/mustache/Cognitive.mustache +7 -0
  111. package/src/static/mustache/Colorblindness.mustache +20 -0
  112. package/src/static/mustache/Deaf.mustache +12 -0
  113. package/src/static/mustache/Deafblind.mustache +7 -0
  114. package/src/static/mustache/Dyslexia.mustache +14 -0
  115. package/src/static/mustache/Low Vision.mustache +7 -0
  116. package/src/static/mustache/Mobility.mustache +15 -0
  117. package/src/static/mustache/Sighted Keyboard Users.mustache +42 -0
  118. package/src/static/mustache/report.mustache +1709 -0
  119. package/src/types/print-message.d.ts +28 -0
  120. package/src/types/types.ts +46 -0
  121. package/src/types/xpath-to-css.d.ts +3 -0
  122. package/src/utils.ts +332 -0
  123. package/tsconfig.json +15 -0
@@ -0,0 +1,1843 @@
1
+ <style>
2
+ @import url('https://fonts.googleapis.com/css2?family=Viga&display=swap');
3
+ @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
4
+ @import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
5
+ @import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&display=swap" rel="stylesheet');
6
+
7
+ /* Bootstrap CSS overrides */
8
+ #accessibility-site-report:root {
9
+ --bs-border-color: var(--a11y-black-25);
10
+ --bs-border-radius: 0.25rem;
11
+ }
12
+
13
+ #accessibility-site-report .btn-close {
14
+ --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2393928d'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
15
+ --bs-btn-close-opacity: 1;
16
+ }
17
+
18
+ #accessibility-site-report .accordion {
19
+ --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23525048'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
20
+ }
21
+
22
+ #accessibility-site-report .row > * {
23
+ padding-left: 0;
24
+ padding-right: 0;
25
+ }
26
+
27
+ .card {
28
+ /* background-color: #fff; */
29
+ /* box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%); */
30
+ border-width: 1px;
31
+ border-radius: 0;
32
+ color: unset;
33
+ }
34
+
35
+ .modal-content {
36
+ background-color: var(--true-white);
37
+ }
38
+
39
+ #scan-about.card {
40
+ border-width: 0px 1px;
41
+ }
42
+
43
+ #accessibility-site-report body,
44
+ #accessibility-site-report html {
45
+ all: unset;
46
+ font-family: 'PT Sans';
47
+ background-color: var(--a11y-black-5);
48
+ margin: 0;
49
+ min-height: 100vh;
50
+ line-height: 1.75rem;
51
+ }
52
+
53
+ #accessibility-site-report hr {
54
+ border-color: var(--a11y-black-25);
55
+ opacity: 1;
56
+ }
57
+
58
+ h6,
59
+ .h6,
60
+ h5,
61
+ .h5,
62
+ h4,
63
+ .h4,
64
+ h3,
65
+ .h3,
66
+ h2,
67
+ .h2,
68
+ h1,
69
+ .h1 {
70
+ /* color: unset; */
71
+ color: var(
72
+ --a11y-black-100
73
+ ); /* TODO: check that this doesn't affect strings in error messages */
74
+ }
75
+
76
+ #accessibility-site-report h1 {
77
+ font-family: 'PT Sans';
78
+ font-weight: 700;
79
+ font-size: 2rem;
80
+ padding-bottom: 0.5rem;
81
+ margin-top: 0;
82
+ color: var(--a11y-black-100);
83
+ line-height: 2.5rem;
84
+ }
85
+
86
+ #accessibility-site-report h2 {
87
+ font-size: 1.125rem;
88
+ font-weight: 700;
89
+ margin-top: 0;
90
+ margin-bottom: 1.5rem;
91
+ line-height: 2rem;
92
+ }
93
+
94
+ #accessibility-site-report p {
95
+ font-size: 1rem;
96
+ margin-top: 0;
97
+ margin-bottom: 1rem;
98
+ }
99
+
100
+ #accessibility-site-report a {
101
+ color: var(--sky-blue-150);
102
+ text-decoration: none;
103
+ }
104
+
105
+ #accessibility-site-report a:hover {
106
+ /* color: #002b99; */
107
+ text-decoration: underline;
108
+ }
109
+
110
+ /* End of Bootstrap CSS overrides */
111
+ :root {
112
+ --must-fix-icon: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.1429 0H2.85714C1.27919 0 0 1.27919 0 2.85714V17.1429C0 18.7208 1.27919 20 2.85714 20H17.1429C18.7208 20 20 18.7208 20 17.1429V2.85714C20 1.27919 18.7208 0 17.1429 0Z' fill='%23f26949'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.4292 9.99822V5.71251C11.4292 4.92353 10.7896 4.28394 10.0006 4.28394C9.21161 4.28394 8.57202 4.92353 8.57202 5.71251V9.99822C8.57202 10.7872 9.21161 11.4268 10.0006 11.4268C10.7896 11.4268 11.4292 10.7872 11.4292 9.99822ZM10.0006 12.8554C9.21202 12.8554 8.57202 13.4954 8.57202 14.2839C8.57202 15.0725 9.21202 15.7125 10.0006 15.7125C10.7892 15.7125 11.4292 15.0725 11.4292 14.2839C11.4292 13.4954 10.7892 12.8554 10.0006 12.8554Z' fill='%2326241b'/%3E%3C/svg%3E%0A");
113
+
114
+ --good-to-fix-icon: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.1429 0H2.85714C1.27919 0 0 1.27919 0 2.85714V17.1429C0 18.7208 1.27919 20 2.85714 20H17.1429C18.7208 20 20 18.7208 20 17.1429V2.85714C20 1.27919 18.7208 0 17.1429 0Z' fill='%23ffb200'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 6.5625C8.10131 6.5625 6.5625 8.10131 6.5625 10C6.5625 11.8987 8.10131 13.4375 10 13.4375C11.8987 13.4375 13.4375 11.8987 13.4375 10C13.4375 8.10131 11.8987 6.5625 10 6.5625ZM4.84375 10C4.84375 7.15207 7.15207 4.84375 10 4.84375C12.8479 4.84375 15.1562 7.15207 15.1562 10C15.1562 12.8479 12.8479 15.1562 10 15.1562C7.15207 15.1562 4.84375 12.8479 4.84375 10Z' fill='%2326241b'/%3E%3C/svg%3E%0A");
115
+
116
+ --needs-review-icon: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.1429 0H2.85714C1.27919 0 0 1.27919 0 2.85714V17.1429C0 18.7208 1.27919 20 2.85714 20H17.1429C18.7208 20 20 18.7208 20 17.1429V2.85714C20 1.27919 18.7208 0 17.1429 0Z' fill='%23c9c8c6'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.09759 7.26594C8.23445 6.67496 8.46462 6.23328 8.7881 5.9409C9.14891 5.65474 9.57815 5.51166 10.0758 5.51166C10.5984 5.51166 11.0152 5.64852 11.3262 5.92224C11.6372 6.19596 11.7928 6.53188 11.7928 6.93002C11.7928 7.22862 11.7057 7.48367 11.5315 7.69518C11.4195 7.84448 11.0712 8.15552 10.4864 8.6283C9.90785 9.11353 9.51594 9.54277 9.31065 9.91602C9.12403 10.3079 9.03072 10.7745 9.03072 11.3157V11.7449L9.04938 11.8569C9.04938 11.9316 9.06026 12 9.08204 12.0622C9.10381 12.1244 9.12558 12.1742 9.14736 12.2115C9.16913 12.2488 9.20645 12.2815 9.25933 12.3095C9.31221 12.3375 9.35264 12.3593 9.38064 12.3748C9.40863 12.3904 9.45995 12.4012 9.5346 12.4075C9.60925 12.4137 9.66058 12.4168 9.68857 12.4168H9.85187H10.0012C10.2065 12.4168 10.3589 12.409 10.4584 12.3935C10.5579 12.3779 10.6466 12.3313 10.7243 12.2535C10.8021 12.1757 10.841 12.056 10.841 11.8942C10.841 11.6827 10.8534 11.465 10.8783 11.2411C10.897 11.0109 10.9343 10.8305 10.9903 10.6998C11.0712 10.5008 11.3324 10.2208 11.7741 9.86003C12.6077 9.15707 13.1427 8.61587 13.3791 8.23639C13.6279 7.83204 13.7523 7.41524 13.7523 6.986C13.7523 6.17729 13.4102 5.48678 12.7259 4.91446C12.0603 4.30482 11.1458 4 9.9825 4C8.88763 4 8.00428 4.2986 7.33243 4.8958C6.71656 5.41835 6.36198 6.07154 6.26866 6.85537C6.25622 6.89269 6.25 6.9549 6.25 7.04199C6.25 7.29705 6.3402 7.51633 6.52061 7.69984C6.70101 7.88336 6.91563 7.97512 7.16446 7.97512C7.37597 7.97512 7.56571 7.90824 7.73367 7.77449C7.90163 7.64075 8.0105 7.47123 8.06026 7.26594H8.09759ZM10.0012 13.2939C9.62791 13.2939 9.30754 13.4246 9.04005 13.6858C8.77255 13.9471 8.6388 14.2644 8.6388 14.6376C8.6388 15.0047 8.77255 15.3235 9.04005 15.5941C9.30754 15.8647 9.62791 16 10.0012 16C10.3744 16 10.6948 15.8647 10.9623 15.5941C11.2298 15.3235 11.3635 15.0047 11.3635 14.6376C11.3635 14.2644 11.2298 13.9471 10.9623 13.6858C10.6948 13.4246 10.3744 13.2939 10.0012 13.2939Z' fill='%2326241b'/%3E%3C/svg%3E%0A");
117
+
118
+ --passed-icon: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.1429 0H2.85714C1.27919 0 0 1.27919 0 2.85714V17.1429C0 18.7208 1.27919 20 2.85714 20H17.1429C18.7208 20 20 18.7208 20 17.1429V2.85714C20 1.27919 18.7208 0 17.1429 0Z' fill='%233aa566'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.1781 5.3131C15.7942 5.80597 15.8941 6.70496 15.4012 7.32105L9.68694 14.4639C9.19407 15.08 8.29508 15.1799 7.67899 14.687C7.0629 14.1941 6.96301 13.2951 7.45589 12.6791L13.1702 5.5362C13.663 4.92011 14.562 4.82023 15.1781 5.3131Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.70415 9.70455C5.26204 9.14666 6.16656 9.14666 6.72446 9.70455L9.5816 12.5617C10.1395 13.1196 10.1395 14.0241 9.5816 14.582C9.02371 15.1399 8.11919 15.1399 7.56129 14.582L4.70415 11.7249C4.14626 11.167 4.14626 10.2624 4.70415 9.70455Z' fill='white'/%3E%3C/svg%3E%0A");
119
+
120
+ /* Oobee Brand Colours and Fonts */
121
+ --a11y-purple-50: #f8d6ff;
122
+ --a11y-purple-70: #e5a6f2;
123
+ --a11y-purple-100-light: #9021a6; /* Primary Purple Light Mode */
124
+ --a11y-purple-100-dark: #d54dff; /* Primary Purple Dark Mode */
125
+ --a11y-purple-150: #642272;
126
+ --a11y-purple-highlight: #c000e5;
127
+
128
+ /* Accents - RGBY */
129
+ --coral-red-50: #ffb7a6;
130
+ --coral-red-70: #f27961;
131
+ --coral-red-100: #f26949;
132
+ --coral-red-150: #a53419;
133
+ --leaf-green-50: #ace5c3;
134
+ --leaf-green-70: #5cc487;
135
+ --leaf-green-100: #3aa566;
136
+ --leaf-green-150: #146635;
137
+ --sky-blue-50: #9ee0f2;
138
+ --sky-blue-70: #73d5e5;
139
+ --sky-blue-100: #2bafd8;
140
+ --sky-blue-150: #006b8c;
141
+ --sunshine-yellow-50: #ffdfa6;
142
+ --sunshine-yellow-70: #ffd066;
143
+ --sunshine-yellow-100: #ffb200;
144
+ --sunshine-yellow-150: #a56600;
145
+
146
+ /* Neutral Colours */
147
+ --true-white: #ffffff;
148
+ --a11y-black-5: #f4f4f4;
149
+ --a11y-black-15: #dededd;
150
+ --a11y-black-25: #c9c8c6;
151
+ --a11y-black-50: #93928d;
152
+ --a11y-black-80: #525048;
153
+ --a11y-black-90: #3c3a32;
154
+ --a11y-black-100: #26241b;
155
+
156
+ /* Fonts */
157
+ --a11y-regular-paragraph: 'PT Sans';
158
+ }
159
+
160
+ * {
161
+ color: var(--a11y-black-100);
162
+ }
163
+
164
+ a[target='_blank']:after {
165
+ content: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.477 2.625C6.477 2.52554 6.43749 2.43016 6.36716 2.35984C6.29684 2.28951 6.20146 2.25 6.102 2.25H1.125C0.826631 2.25 0.540483 2.36853 0.329505 2.5795C0.118526 2.79048 0 3.07663 0 3.375L0 10.875C0 11.1734 0.118526 11.4595 0.329505 11.6705C0.540483 11.8815 0.826631 12 1.125 12H8.625C8.92337 12 9.20952 11.8815 9.42049 11.6705C9.63147 11.4595 9.75 11.1734 9.75 10.875V5.898C9.75 5.79854 9.71049 5.70316 9.64016 5.63283C9.56984 5.56251 9.47446 5.523 9.375 5.523C9.27554 5.523 9.18016 5.56251 9.10983 5.63283C9.03951 5.70316 9 5.79854 9 5.898V10.875C9 10.9745 8.96049 11.0698 8.89016 11.1402C8.81984 11.2105 8.72446 11.25 8.625 11.25H1.125C1.02554 11.25 0.930161 11.2105 0.859835 11.1402C0.789509 11.0698 0.75 10.9745 0.75 10.875V3.375C0.75 3.27554 0.789509 3.18016 0.859835 3.10984C0.930161 3.03951 1.02554 3 1.125 3H6.102C6.20146 3 6.29684 2.96049 6.36716 2.89016C6.43749 2.81984 6.477 2.72446 6.477 2.625Z' fill='%23006b8c'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 0.375C12 0.275544 11.9605 0.180161 11.8902 0.109835C11.8198 0.0395088 11.7245 0 11.625 0L7.875 0C7.77554 0 7.68016 0.0395088 7.60983 0.109835C7.53951 0.180161 7.5 0.275544 7.5 0.375C7.5 0.474456 7.53951 0.569839 7.60983 0.640165C7.68016 0.710491 7.77554 0.75 7.875 0.75H10.7197L4.6095 6.8595C4.57463 6.89437 4.54697 6.93576 4.5281 6.98131C4.50924 7.02687 4.49952 7.07569 4.49952 7.125C4.49952 7.17431 4.50924 7.22313 4.5281 7.26869C4.54697 7.31424 4.57463 7.35563 4.6095 7.3905C4.64436 7.42537 4.68576 7.45302 4.73131 7.47189C4.77686 7.49076 4.82569 7.50047 4.875 7.50047C4.92431 7.50047 4.97313 7.49076 5.01869 7.47189C5.06424 7.45302 5.10563 7.42537 5.1405 7.3905L11.25 1.28025V4.125C11.25 4.22446 11.2895 4.31984 11.3598 4.39016C11.4302 4.46049 11.5255 4.5 11.625 4.5C11.7245 4.5 11.8198 4.46049 11.8902 4.39016C11.9605 4.31984 12 4.22446 12 4.125V0.375Z' fill='%23006b8c'/%3E%3C/svg%3E%0A");
166
+ display: inline-block;
167
+ padding-left: 0.25rem;
168
+ text-decoration-line: none;
169
+ }
170
+
171
+ header {
172
+ background-color: var(--true-white);
173
+ padding: 1.5rem 1rem;
174
+ display: flex;
175
+ align-items: center;
176
+ border-bottom: 1px solid var(--a11y-black-25);
177
+ box-shadow: 0 3px 5px 0 #736ccb1a;
178
+ gap: 1rem;
179
+ }
180
+
181
+ .help-link {
182
+ display: inline-block;
183
+ padding-left: 0.25rem;
184
+ text-decoration-line: none;
185
+ }
186
+
187
+ .unbulleted-list {
188
+ list-style: none;
189
+ padding-left: 0;
190
+ }
191
+
192
+ #header .card {
193
+ box-shadow: 0 3px 5px 0 #736ccb1a;
194
+ }
195
+
196
+ footer .card {
197
+ box-shadow: 0 -3px 5px 0 #736ccb1a;
198
+ }
199
+
200
+ .toggleWrapper {
201
+ padding: 0 50px;
202
+ text-align: right;
203
+ }
204
+
205
+ /* reportSearch starts here */
206
+
207
+ .search-warning {
208
+ background: rgb(0, 107, 140, 0.05);
209
+ border: 1px solid var(--sky-blue-150);
210
+ margin-bottom: 2rem;
211
+ text-align: center;
212
+ }
213
+
214
+ .input-search {
215
+ position: absolute;
216
+ padding: 0.5rem 0.5rem 0.5rem 1rem;
217
+ }
218
+
219
+ #searchBarInput {
220
+ padding-left: 3.5rem;
221
+ min-height: 3rem;
222
+ }
223
+
224
+ #searchGroup .form-control::placeholder {
225
+ color: var(--a11y-black-80);
226
+ }
227
+
228
+ .search-filter-off {
229
+ display: none;
230
+ }
231
+ .search-filter-on {
232
+ display: flex;
233
+ flex-direction: row;
234
+ align-items: center;
235
+ justify-content: flex-start;
236
+ gap: 16px;
237
+ overflow-x: auto;
238
+ flex-wrap: nowrap;
239
+ height: 76px;
240
+ border-radius: 0px 0px 4px 4px;
241
+ border: 1px solid var(--a11y-black-25);
242
+ background: var(--a11y-black-5);
243
+ max-width: 100%;
244
+ min-width: 100%;
245
+ border-top: 0;
246
+ }
247
+
248
+ .filter-button-issue {
249
+ min-height: 50px;
250
+ width: 158px;
251
+ height: 44px;
252
+ gap: 10px;
253
+ border-radius: 5px;
254
+ border: 1px solid var(--a11y-black-25);
255
+ background: var(--true-white);
256
+ box-sizing: border-box;
257
+ text-align: center;
258
+ justify-content: center;
259
+ display: flex;
260
+ align-items: center;
261
+ padding-block: 1px;
262
+ padding-inline: 6px;
263
+ }
264
+ .filter-button-pages {
265
+ min-height: 50px;
266
+ width: 68px;
267
+ height: 44px;
268
+ gap: 10px;
269
+ border-radius: 4px;
270
+ border: 1px solid var(--a11y-black-25);
271
+ background: var(--true-white);
272
+ box-sizing: border-box;
273
+ text-align: center;
274
+ justify-content: center;
275
+ display: flex;
276
+ align-items: center;
277
+ padding-block: 1px;
278
+ padding-inline: 6px;
279
+ }
280
+ .filter-button-html {
281
+ min-height: 50px;
282
+ margin-right: 16px;
283
+ width: 197px;
284
+ height: 44px;
285
+ gap: 10px;
286
+ border-radius: 4px;
287
+ border: 1px solid var(--a11y-black-25);
288
+ background: var(--a11y-black-5);
289
+ box-sizing: border-box;
290
+ text-align: center;
291
+ justify-content: center;
292
+ display: flex;
293
+ align-items: center;
294
+ padding-block: 1px;
295
+ padding-inline: 6px;
296
+ }
297
+
298
+ .filter-options {
299
+ display: flex;
300
+ gap: 16px;
301
+ }
302
+
303
+ .filter-options-group input[type='radio']:checked + label {
304
+ border: 2px solid var(--A11Y-Primary-Blue-600, var(--sky-blue-150));
305
+ background: var(--true-white);
306
+ color: var(--sky-blue-150);
307
+ }
308
+
309
+ .filter-words:hover {
310
+ background: #f2f6ff;
311
+ border: 1px solid var(--sky-blue-150);
312
+ }
313
+
314
+ .filter-words {
315
+ color: var(--a11y-black-100);
316
+ font-size: 16px;
317
+ font-family: 'Open Sans', sans-serif;
318
+ font-weight: 400;
319
+ line-height: 28px;
320
+ white-space: nowrap;
321
+ cursor: pointer;
322
+ }
323
+
324
+ .ps-xl-3 {
325
+ padding-left: 1rem !important;
326
+ }
327
+
328
+ /* reportSearch ends here */
329
+
330
+ @media (max-width: 767px) {
331
+ .toggleWrapper {
332
+ border-top: 1px solid #e1e7eb;
333
+ padding-top: 1.5rem !important;
334
+ margin-top: 1.5rem !important;
335
+ justify-content: center;
336
+ }
337
+ }
338
+
339
+ .toggleWrapper input {
340
+ position: absolute;
341
+ left: -99em;
342
+ }
343
+
344
+ .toggle {
345
+ cursor: pointer;
346
+ display: inline-block;
347
+ position: relative;
348
+ width: 45px;
349
+ height: 26px;
350
+ background-color: #83d8ff;
351
+ border-radius: 84px;
352
+ transition: background-color 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
353
+ margin-bottom: 0;
354
+ margin-top: 10px;
355
+ }
356
+
357
+ .toggle:before {
358
+ content: 'Light';
359
+ position: absolute;
360
+ left: -50px;
361
+ font-size: 18px;
362
+ color: var(--sky-blue-150);
363
+ }
364
+
365
+ .toggle:after {
366
+ content: 'Dark';
367
+ position: absolute;
368
+ right: -48px;
369
+ font-size: 18px;
370
+ color: var(--a11y-black-100);
371
+ }
372
+
373
+ .toggle__handler {
374
+ display: inline-block;
375
+ position: relative;
376
+ z-index: 1;
377
+ top: 2px;
378
+ left: -21px;
379
+ width: 22px;
380
+ height: 22px;
381
+ background-color: var(--true-white);
382
+ border-radius: 50px;
383
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
384
+ transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
385
+ transform: rotate(-45deg);
386
+ cursor: pointer;
387
+ }
388
+
389
+ .toggle__handler .crater {
390
+ position: absolute;
391
+ background-color: #e8cda5;
392
+ opacity: 0;
393
+ transition: opacity 0.2s ease-in-out;
394
+ border-radius: 100%;
395
+ }
396
+
397
+ .toggle__handler .crater--1 {
398
+ top: 9px;
399
+ left: 6px;
400
+ width: 2px;
401
+ height: 2px;
402
+ }
403
+
404
+ .toggle__handler .crater--2 {
405
+ top: 13px;
406
+ left: 11px;
407
+ width: 3px;
408
+ height: 3px;
409
+ }
410
+
411
+ .toggle__handler .crater--3 {
412
+ top: 5px;
413
+ left: 13px;
414
+ width: 4px;
415
+ height: 4px;
416
+ }
417
+
418
+ .star {
419
+ position: absolute;
420
+ background-color: var(--true-white);
421
+ transition: all 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
422
+ border-radius: 50%;
423
+ }
424
+
425
+ .star--1 {
426
+ top: 6px;
427
+ left: 8px;
428
+ z-index: 0;
429
+ width: 30px;
430
+ height: 1px;
431
+ }
432
+
433
+ .star--2 {
434
+ top: 10px;
435
+ left: 15px;
436
+ z-index: 1;
437
+ width: 19px;
438
+ height: 1px;
439
+ }
440
+
441
+ .star--3 {
442
+ top: 14px;
443
+ left: 12px;
444
+ z-index: 0;
445
+ width: 30px;
446
+ height: 1px;
447
+ }
448
+
449
+ .star--4,
450
+ .star--5,
451
+ .star--6 {
452
+ opacity: 0;
453
+ transition: all 0.3s 0 cubic-bezier(0.445, 0.05, 0.55, 0.95);
454
+ }
455
+
456
+ .star--4 {
457
+ top: 19px;
458
+ left: 14px;
459
+ z-index: 0;
460
+ width: 1px;
461
+ height: 1px;
462
+ transform: translate3d(3px, 0, 0);
463
+ }
464
+
465
+ .star--5 {
466
+ top: 6px;
467
+ left: 15px;
468
+ z-index: 0;
469
+ width: 2px;
470
+ height: 2px;
471
+ transform: translate3d(3px, 0, 0);
472
+ }
473
+
474
+ .star--6 {
475
+ top: 16px;
476
+ left: 18px;
477
+ z-index: 0;
478
+ width: 1px;
479
+ height: 1px;
480
+ transform: translate3d(3px, 0, 0);
481
+ }
482
+
483
+ input:checked + .toggle {
484
+ background-color: #749dd6;
485
+ }
486
+
487
+ input:checked + .toggle:before {
488
+ color: var(--a11y-black-100);
489
+ }
490
+
491
+ input:checked + .toggle:after {
492
+ color: #a68fce;
493
+ }
494
+
495
+ input:checked + .toggle .toggle__handler {
496
+ background-color: #ffe5b5;
497
+ transform: translate3d(19px, 0, 0) rotate(0);
498
+ }
499
+
500
+ input:checked + .toggle .toggle__handler .crater {
501
+ opacity: 1;
502
+ }
503
+
504
+ input:checked + .toggle .star--1 {
505
+ width: 2px;
506
+ height: 2px;
507
+ }
508
+
509
+ input:checked + .toggle .star--2 {
510
+ width: 3px;
511
+ height: 3px;
512
+ transform: translate3d(-5px, 0, 0);
513
+ }
514
+
515
+ input:checked + .toggle .star--3 {
516
+ width: 2px;
517
+ height: 2px;
518
+ transform: translate3d(-7px, 0, 0);
519
+ }
520
+
521
+ input:checked + .toggle .star--4,
522
+ input:checked + .toggle .star--5,
523
+ input:checked + .toggle .star--6 {
524
+ opacity: 1;
525
+ transform: translate3d(0, 0, 0);
526
+ }
527
+
528
+ input:checked + .toggle .star--4 {
529
+ transition: all 0.3s 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
530
+ }
531
+
532
+ input:checked + .toggle .star--5 {
533
+ transition: all 0.3s 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
534
+ }
535
+
536
+ input:checked + .toggle .star--6 {
537
+ transition: all 0.3s 0.4s cubic-bezier(0.445, 0.05, 0.55, 0.95);
538
+ }
539
+
540
+ .scan-about-item {
541
+ margin-bottom: 1rem;
542
+ display: flex;
543
+ align-items: center;
544
+ }
545
+
546
+ .scan-about-item svg {
547
+ margin-right: 0.875rem;
548
+ }
549
+
550
+ .scan-about-item a {
551
+ display: inline-block;
552
+ }
553
+
554
+ .screenshot-lightbox {
555
+ display: none;
556
+ position: fixed;
557
+ z-index: 9999;
558
+ padding: 2rem;
559
+ left: 0;
560
+ top: 0;
561
+ width: 100%;
562
+ height: 100%;
563
+ background-color: rgba(0, 0, 0, 0.8);
564
+ }
565
+ .lightbox-content {
566
+ position: relative;
567
+ margin: auto;
568
+ display: block;
569
+ overflow: auto;
570
+ height: calc(100% - 4rem);
571
+ }
572
+ .lightbox-header {
573
+ display: flex;
574
+ flex-direction: row;
575
+ width: 100%;
576
+ align-items: center;
577
+ margin-bottom: 2rem;
578
+ }
579
+ .lightbox-header button {
580
+ background-color: rgba(0, 0, 0, 0.8);
581
+ border: none;
582
+ border-radius: 50%;
583
+ margin: 0;
584
+ min-height: 36px;
585
+ min-width: 36px;
586
+ line-height: 1rem;
587
+ }
588
+ .lightbox-header h5 {
589
+ flex: 1;
590
+ text-align: center;
591
+ color: var(--true-white);
592
+ font-weight: 700;
593
+ }
594
+ #lightbox-image {
595
+ object-fit: contain;
596
+ position: absolute;
597
+ width: 100%;
598
+ }
599
+
600
+ #pagesScannedModalToggle,
601
+ #pagesScannedModalToggleTxt {
602
+ background-color: transparent;
603
+ color: var(--sky-blue-150);
604
+ border: none;
605
+ padding: 0;
606
+ text-align: left;
607
+ display: flex;
608
+ align-items: center;
609
+ gap: 4px;
610
+ }
611
+
612
+ #pagesScannedModalToggle:hover {
613
+ /* color: #00339a; */
614
+ text-decoration: underline;
615
+ }
616
+
617
+ /* #pagesScannedModal .modal-header {
618
+ border-bottom: none;
619
+ padding: 1rem 1.5rem 0 1.5rem;
620
+ }
621
+ */
622
+ #pagesScannedModal .modal-title {
623
+ width: 100%;
624
+ word-wrap: break-word;
625
+ }
626
+ #pagesScannedModal .tab-content {
627
+ overflow-y: scroll;
628
+ max-height: 600px;
629
+ }
630
+
631
+ #pagesScannedModal li {
632
+ display: flex;
633
+ flex-direction: column;
634
+ padding: 0.5rem;
635
+ border-bottom: 1px solid var(--a11y-black-25);
636
+ }
637
+ #pagesScannedModal .nav-tabs {
638
+ border-width: 2px !important;
639
+ }
640
+ #pagesScannedModal .nav-item {
641
+ padding: 0px;
642
+ border-bottom: none;
643
+ margin-bottom: -1px;
644
+ }
645
+ #pagesScannedModal .nav-link.active {
646
+ border-bottom: 2px solid var(--sky-blue-150);
647
+ }
648
+ #pagesScannedModal .nav-link {
649
+ border: none;
650
+ color: var(--a11y-black-100);
651
+ display: flex;
652
+ align-items: center;
653
+ gap: 0.5rem;
654
+ }
655
+ #pagesScannedModal .badge {
656
+ background-color: #e7ecee;
657
+ color: var(--a11y-black-100);
658
+ text-align: center;
659
+ border-radius: 8px;
660
+ padding: 0.25rem 0.5rem;
661
+ font-size: 0.875rem;
662
+ line-height: 1rem;
663
+ }
664
+ #pagesScannedModal .nav-link.active > .badge {
665
+ background-color: var(--sky-blue-150);
666
+ color: white;
667
+ }
668
+ #pagesScannedModal .not-scanned-url {
669
+ word-wrap: break-word;
670
+ }
671
+ #pagesScannedModal p {
672
+ overflow: hidden;
673
+ white-space: nowrap;
674
+ text-overflow: ellipsis;
675
+ color: var(--a11y-black-100);
676
+ margin: 0;
677
+ }
678
+
679
+ #pagesScannedModal h6 {
680
+ padding-left: 0.5rem;
681
+ }
682
+
683
+ #pagesScannedModal .custom-flow-screenshot-container {
684
+ flex-direction: row;
685
+ align-items: center;
686
+ }
687
+
688
+ #pagesScannedModal .custom-flow-screenshot-container img {
689
+ height: 56px;
690
+ width: 67px;
691
+ flex-shrink: 0;
692
+ }
693
+
694
+ #pagesScannedModal .custom-flow-screenshot-container .display-url-container {
695
+ overflow: hidden;
696
+ }
697
+
698
+ #wcag-compliance-card,
699
+ #top-five-card {
700
+ border-radius: 0.25rem;
701
+ }
702
+ #summary-scan-results-card,
703
+ #scanabout-compliance-card {
704
+ box-shadow: none;
705
+ border-width: 1.5px;
706
+ border-color: var(--a11y-black-25);
707
+ }
708
+
709
+ .wcag-compliance-passes-panel {
710
+ margin: 1.5rem 0;
711
+ padding: 1rem;
712
+ border: 1px solid var(--a11y-black-25);
713
+ border-radius: 0.25rem;
714
+ }
715
+
716
+ .wcag-compliance-passes-bar {
717
+ margin-top: 0.5rem;
718
+ margin-bottom: 1rem;
719
+ height: 0.475rem;
720
+ border-radius: 0.25rem;
721
+ background-color: #e7ecee;
722
+ position: relative;
723
+ }
724
+
725
+ #wcag-compliance-passes-bar-progress {
726
+ background-color: var(--a11y-purple-100-light);
727
+ position: absolute;
728
+ left: 0;
729
+ height: 100%;
730
+ border-radius: inherit;
731
+ }
732
+
733
+ .wcag-compliance-passes-bar-progress {
734
+ background-color: var(--a11y-purple-100-light);
735
+ position: absolute;
736
+ left: 0;
737
+ height: 100%;
738
+ border-radius: inherit;
739
+ }
740
+
741
+ /* #wcagModalToggle {
742
+ background: none;
743
+ border: 0;
744
+ padding: 0;
745
+ display: flex;
746
+ align-items: center;
747
+ }
748
+
749
+ #wcagModalToggle:hover svg path {
750
+ fill: #86b7fe;
751
+ } */
752
+
753
+ /* START CSS for new wcagComplianceCard */
754
+ #wcag-compliance-card p {
755
+ margin: 1.5rem 0 1rem 0;
756
+ }
757
+
758
+ button#wcagModalToggle {
759
+ background: none;
760
+ border: 0;
761
+ padding: 0;
762
+ float: right;
763
+ color: var(--sky-blue-150);
764
+ }
765
+
766
+ button#wcagModalToggle:hover {
767
+ /* color: #002b99; */
768
+ text-decoration: underline;
769
+ }
770
+
771
+ button#wcagModalToggle:after {
772
+ content: url("data:image/svg+xml,%3Csvg width='7' height='12' viewBox='0 0 9 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.03847 16C0.833084 16 0.632306 15.9388 0.461529 15.8241C0.290753 15.7095 0.157649 15.5465 0.0790493 15.3558C0.000449621 15.1651 -0.0201154 14.9553 0.0199549 14.7529C0.0600251 14.5505 0.158931 14.3645 0.304165 14.2186L6.49293 7.99975L0.304165 1.78088C0.109639 1.58514 0.000422347 1.31979 0.000518839 1.04315C0.000615331 0.766523 0.110018 0.501248 0.30468 0.30564C0.499341 0.110032 0.763331 9.70251e-05 1.03862 6.41929e-08C1.31392 -9.68968e-05 1.57798 0.109652 1.77278 0.305123L8.69586 7.26187C8.8906 7.45757 9 7.72299 9 7.99975C9 8.2765 8.8906 8.54192 8.69586 8.73763L1.77278 15.6944C1.67646 15.7914 1.562 15.8684 1.43598 15.9208C1.30996 15.9733 1.17487 16.0002 1.03847 16Z' fill='%23006b8c'/%3E%3C/svg%3E%0A");
773
+ display: inline-block;
774
+ padding-left: 0.25rem;
775
+ text-decoration-line: none;
776
+ }
777
+
778
+ @media only screen and (max-width: 767px) {
779
+ button#wcagModalToggle {
780
+ position: absolute;
781
+ top: 1.1rem;
782
+ right: 1rem;
783
+ }
784
+
785
+ button#wcagModalToggle:after {
786
+ display: none;
787
+ }
788
+ }
789
+ /* END CSS for new wcagComplianceCard */
790
+
791
+ #pagesScannedModal .modal-header,
792
+ #wcagModal .modal-header {
793
+ border: none;
794
+ padding: 1rem 1.5rem 0 1.5rem;
795
+ }
796
+
797
+ #pagesScannedModal .modal-title #wcagModal .modal-title {
798
+ font-size: 1.125rem;
799
+ }
800
+
801
+ #wcagModal .modal-body {
802
+ padding: 1.5rem;
803
+ }
804
+
805
+ #wcagLinksAccordion .accordion-button:not(.collapsed) {
806
+ font-weight: bold;
807
+ background-color: inherit;
808
+ color: inherit;
809
+ box-shadow: none;
810
+ }
811
+
812
+ #wcagLinksAccordion .accordion-button:not(.collapsed):focus {
813
+ box-shadow: var(--bs-accordion-btn-focus-box-shadow);
814
+ }
815
+
816
+ #wcagLinksAccordion .accordion-button:not(.collapsed)::after {
817
+ background-image: var(--bs-accordion-btn-icon);
818
+ }
819
+
820
+ #wcagLinksList {
821
+ list-style-type: none;
822
+ column-count: 3;
823
+ margin: 0;
824
+ padding: 0;
825
+ }
826
+
827
+ #wcagLinksList li {
828
+ margin-bottom: 0.5rem;
829
+ }
830
+
831
+ #top-five-card li:not(:last-of-type) {
832
+ border-bottom: 1px solid var(--a11y-black-25);
833
+ padding-bottom: 0.5rem;
834
+ margin-bottom: 0.5rem;
835
+ }
836
+
837
+ .category-selector {
838
+ border: 1px solid var(--a11y-black-25);
839
+ background-color: white;
840
+ border-radius: 0.25rem;
841
+ padding: 1rem;
842
+ width: 100%;
843
+ text-align: start;
844
+ display: flex;
845
+ flex-direction: column;
846
+ }
847
+
848
+ .category-selector.selected {
849
+ border: 2px solid var(--sky-blue-150);
850
+ padding: calc(1rem - 1px);
851
+ cursor: default;
852
+ }
853
+
854
+ .category-selector:not(.selected):hover {
855
+ cursor: pointer;
856
+ background-color: rgba(158, 224, 242, 0.2);
857
+ border: 1px solid var(--sky-blue-150);
858
+ }
859
+
860
+ .category-selector .category-name {
861
+ font-weight: bold;
862
+ font-size: 1.125rem;
863
+ line-height: 2rem;
864
+ }
865
+
866
+ .category-selector .category-name::before {
867
+ height: 1.25rem;
868
+ width: 1.25rem;
869
+ margin-right: 0.5rem;
870
+ content: '';
871
+ background-repeat: no-repeat;
872
+ background-size: 1.25rem;
873
+ display: inline-block;
874
+ }
875
+
876
+ .category-selector.selected .category-name {
877
+ color: var(--sky-blue-150);
878
+ }
879
+
880
+ .category-selector.mustFix .category-name::before {
881
+ background-image: var(--must-fix-icon);
882
+ }
883
+
884
+ .category-selector.goodToFix .category-name::before {
885
+ background-image: var(--good-to-fix-icon);
886
+ }
887
+
888
+ .category-selector.needsReview .category-name::before {
889
+ background-image: var(--needs-review-icon);
890
+ }
891
+
892
+ .category-selector.passed .category-name::before {
893
+ background-image: var(--passed-icon);
894
+ }
895
+
896
+ #summarymustFixIcon {
897
+ height: 1.25rem;
898
+ width: 1.25rem;
899
+ margin-right: 0.5rem;
900
+ content: '';
901
+ background-repeat: no-repeat;
902
+ background-size: 1.25rem;
903
+ display: inline-block;
904
+ }
905
+
906
+ #summarygoodToFixIcon {
907
+ height: 1.25rem;
908
+ width: 1.25rem;
909
+ margin-right: 0.5rem;
910
+ content: '';
911
+ background-repeat: no-repeat;
912
+ background-size: 1.25rem;
913
+ display: inline-block;
914
+ }
915
+
916
+ #summaryneedsReviewIcon {
917
+ height: 1.25rem;
918
+ width: 1.25rem;
919
+ margin-right: 0.5rem;
920
+ content: '';
921
+ background-repeat: no-repeat;
922
+ background-size: 1.25rem;
923
+ display: inline-block;
924
+ }
925
+
926
+ #summarypassedIcon {
927
+ height: 1.25rem;
928
+ width: 1.25rem;
929
+ margin-right: 0.5rem;
930
+ content: '';
931
+ background-repeat: no-repeat;
932
+ background-size: 1.25rem;
933
+ display: inline-block;
934
+ }
935
+
936
+ .category-selector .category-information {
937
+ color: var(--a11y-black-100);
938
+ text-align: start;
939
+ }
940
+
941
+ #scan-about {
942
+ width: 300px;
943
+ padding: 1.5rem 1rem;
944
+ word-break: break-all;
945
+ border-right: 1px solid var(--a11y-black-25);
946
+ }
947
+
948
+ #scan-about ul {
949
+ padding-left: 0;
950
+ }
951
+
952
+ #scan-about li {
953
+ display: flex;
954
+ align-items: center;
955
+ margin-bottom: 1rem;
956
+ }
957
+
958
+ #scan-about li > svg {
959
+ flex-shrink: 0;
960
+ margin-right: 1rem;
961
+ height: 1.125rem;
962
+ width: 1.125rem;
963
+ }
964
+
965
+ #footer {
966
+ padding: 0.75rem 1rem;
967
+ box-shadow: 0 -0.25rem 10px #736ccb1a;
968
+ font-size: 0.875rem;
969
+ line-height: 1rem;
970
+ }
971
+
972
+ #empty-category-summary-section {
973
+ padding-top: 1.5rem;
974
+ width: 100%;
975
+ text-align: center;
976
+ }
977
+
978
+ #empty-category-summary-section p {
979
+ color: var(--a11y-black-80);
980
+ }
981
+
982
+ #no-issues-message {
983
+ display: flex;
984
+ align-items: center;
985
+ justify-content: center;
986
+ }
987
+
988
+ #no-issues-message::before {
989
+ content: '';
990
+ display: inline-block;
991
+ width: 1.75rem;
992
+ height: 1.75rem;
993
+ background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.8408 3.56156C13.5637 3.24229 12.3775 4.20812 12.292 5.4585C12.1958 6.8625 11.9847 8.15161 11.7202 8.9184C11.5532 9.39932 11.0803 10.2716 10.3309 11.1079C9.58682 11.9401 8.61832 12.6816 7.48416 12.9915C6.58646 13.2359 5.67139 14.0134 5.67139 15.1489V20.4937C5.67139 21.6225 6.58245 22.4494 7.60573 22.5576C9.03511 22.7099 9.69503 23.112 10.3683 23.5235L10.4324 23.5636C10.7958 23.784 11.2046 24.0284 11.7282 24.2101C12.2586 24.3918 12.8784 24.5 13.6866 24.5H18.3622C19.6139 24.5 20.4982 23.8628 20.9457 23.0786C21.162 22.7086 21.2789 22.2889 21.285 21.8603C21.285 21.6573 21.2543 21.4435 21.1822 21.2405C21.4507 20.8891 21.6898 20.4683 21.8341 20.0369C21.981 19.596 22.0639 19.0189 21.8394 18.5019C21.9316 18.3283 21.9997 18.1426 22.0518 17.9636C22.1547 17.6029 22.2028 17.2048 22.2028 16.8187C22.2028 16.434 22.1547 16.0373 22.0518 15.6752C22.0051 15.5088 21.9434 15.347 21.8675 15.1917C22.1014 14.8589 22.2519 14.4747 22.3063 14.0716C22.3607 13.6684 22.3174 13.2582 22.1801 12.8753C21.9049 12.0844 21.269 11.4058 20.577 11.176C19.4455 10.7993 18.1685 10.8073 17.216 10.8942C17.0182 10.9119 16.8209 10.9342 16.6242 10.961C17.0876 8.97636 17.0592 6.90861 16.5414 4.93751C16.4513 4.62169 16.2785 4.33568 16.0408 4.10904C15.8031 3.8824 15.5092 3.72337 15.1895 3.64839L14.8408 3.56156ZM18.3622 23.1655H13.6866C13.0053 23.1655 12.5338 23.0733 12.1637 22.9464C11.7883 22.8168 11.4878 22.6418 11.1271 22.4214L11.0736 22.3893C10.3322 21.9365 9.47327 21.4128 7.74733 21.2298C7.30248 21.1817 7.00726 20.8424 7.00726 20.4951V15.1489C7.00726 14.8096 7.30916 14.4235 7.8355 14.2806C9.29828 13.8798 10.4765 12.9501 11.3275 11.9989C12.1757 11.0505 12.7488 10.0285 12.9813 9.35657C13.3059 8.42146 13.525 6.99475 13.6252 5.54934C13.6586 5.06575 14.1061 4.75583 14.5162 4.85736L14.8662 4.94552C15.0799 4.99896 15.2108 5.13655 15.2509 5.28617C15.7965 7.36481 15.7292 9.55688 15.0572 11.5982C15.0192 11.7117 15.0124 11.8334 15.0375 11.9504C15.0626 12.0675 15.1187 12.1757 15.2 12.2636C15.2812 12.3516 15.3846 12.416 15.4993 12.4503C15.614 12.4846 15.7359 12.4874 15.8521 12.4585L15.8561 12.4571L15.8748 12.4531L15.9522 12.4344C16.4091 12.3374 16.8712 12.2674 17.3362 12.2247C18.2219 12.1445 19.2826 12.1525 20.1549 12.4438C20.3887 12.5212 20.756 12.8445 20.9163 13.3121C21.0593 13.7235 21.0326 14.2071 20.561 14.6773L20.0894 15.1489L20.561 15.6218C20.6184 15.6792 20.7013 15.8102 20.7667 16.0426C20.8308 16.2657 20.8669 16.5369 20.8669 16.8187C20.8669 17.1019 20.8308 17.3718 20.7667 17.5962C20.6999 17.8287 20.6184 17.9596 20.561 18.017L20.0894 18.4886L20.561 18.9615C20.6238 19.0243 20.7066 19.1979 20.5677 19.6134C20.4229 20.0163 20.1928 20.3831 19.8931 20.6888L19.4215 21.1603L19.8931 21.6332C19.9011 21.6399 19.9478 21.7 19.9478 21.8603C19.9419 22.0563 19.8863 22.2475 19.7862 22.416C19.5658 22.8008 19.1143 23.1641 18.3622 23.1641V23.1655Z' fill='%23525048'/%3E%3C/svg%3E%0A");
994
+ background-repeat: no-repeat;
995
+ background-size: auto;
996
+ margin-right: 0.5rem;
997
+ }
998
+
999
+ .rule-item {
1000
+ display: flex;
1001
+ align-items: center;
1002
+ justify-content: space-between;
1003
+ padding: 1rem;
1004
+ width: 100%;
1005
+ background-color: transparent;
1006
+ border: 0;
1007
+ border-bottom: 1px solid var(--a11y-black-25);
1008
+ }
1009
+
1010
+ .rule-item:hover {
1011
+ background-color: white;
1012
+ box-shadow: 0 0.125rem 4px #0000001a;
1013
+ }
1014
+
1015
+ .rule-items-count {
1016
+ width: 2.25rem;
1017
+ height: 2.25rem;
1018
+ font-weight: bold;
1019
+ border-radius: 0.375rem;
1020
+ color: var(--a11y-black-100);
1021
+ display: inline-flex;
1022
+ align-items: center;
1023
+ justify-content: center;
1024
+ margin-right: 1rem;
1025
+ }
1026
+
1027
+ .rule-items-count.mustFix {
1028
+ background-color: var(--coral-red-100);
1029
+ }
1030
+
1031
+ .rule-items-count.passed {
1032
+ background-color: var(--leaf-green-100);
1033
+ }
1034
+
1035
+ .rule-items-count.goodToFix {
1036
+ background-color: var(--sunshine-yellow-100);
1037
+ }
1038
+
1039
+ .rule-items-count.needsReview {
1040
+ background-color: var(--a11y-black-25);
1041
+ }
1042
+
1043
+ #expandedRule {
1044
+ width: 55%;
1045
+ overflow-y: auto;
1046
+ }
1047
+
1048
+ #expandedRule #expandedRuleName {
1049
+ font-size: 1.5rem;
1050
+ font-weight: bold;
1051
+ line-height: 2rem;
1052
+ margin-bottom: 0;
1053
+ }
1054
+
1055
+ #expandedRuleDescription {
1056
+ margin-top: 2rem;
1057
+ }
1058
+
1059
+ #expandedRuleHelpUrl {
1060
+ display: block;
1061
+ margin-bottom: 1rem;
1062
+ width: fit-content;
1063
+ }
1064
+
1065
+ #expandedRule #conformance-header {
1066
+ font-size: 1rem;
1067
+ font-weight: bold;
1068
+ line-height: 1.75rem;
1069
+ }
1070
+
1071
+ #expandedRule .offcanvas-header {
1072
+ position: static;
1073
+ margin-bottom: 2rem;
1074
+ }
1075
+
1076
+ #expandedRule #issue-page-count {
1077
+ font-size: 1.125rem;
1078
+ line-height: 2rem;
1079
+ font-weight: bold;
1080
+ }
1081
+
1082
+ #expandedRule .offcanvas-body {
1083
+ background-color: var(--a11y-black-5);
1084
+ border-top: 1px solid var(--a11y-black-25);
1085
+ padding: 2rem 1.5rem;
1086
+ overflow-y: unset;
1087
+ }
1088
+
1089
+ #expandedRuleSearchWarning {
1090
+ color: var(--a11y-black-100);
1091
+ }
1092
+
1093
+ .rule-desc-text {
1094
+ width: 100%;
1095
+ word-wrap: break-word;
1096
+ }
1097
+
1098
+ .conformance-bubble {
1099
+ color: white;
1100
+ width: 2.5rem;
1101
+ height: 1.875rem;
1102
+ display: flex;
1103
+ align-items: center;
1104
+ justify-content: center;
1105
+ border-radius: 0.3rem;
1106
+ margin-right: 1rem;
1107
+ }
1108
+
1109
+ .conformance-bubble.wcag2a {
1110
+ background-color: var(--a11y-purple-150);
1111
+ }
1112
+
1113
+ .conformance-bubble.wcag2aa,
1114
+ .conformance-bubble.wcag21aa {
1115
+ background-color: var(--a11y-purple-100-light);
1116
+ }
1117
+
1118
+ .conformance-bubble.wcag22aa {
1119
+ background-color: var(--a11y-purple-100-light);
1120
+ }
1121
+
1122
+ .conformance-bubble.wcag2aaa {
1123
+ background-color: var(--a11y-purple-100-light);
1124
+ }
1125
+
1126
+ .conformance-bubble.best-practice {
1127
+ background-color: var(--a11y-purple-highlight);
1128
+ }
1129
+
1130
+ #expandedRuleCategorySelectors {
1131
+ display: flex;
1132
+ }
1133
+
1134
+ #expandedRuleCategorySelectors .category-selector {
1135
+ border-radius: 0;
1136
+ }
1137
+
1138
+ #expandedRuleCategorySelectors .category-selector:first-child {
1139
+ border-top-left-radius: 0.25rem;
1140
+ border-bottom-left-radius: 0.25rem;
1141
+ }
1142
+
1143
+ #expandedRuleCategorySelectors .category-selector:last-child {
1144
+ border-top-right-radius: 0.25rem;
1145
+ border-bottom-right-radius: 0.25rem;
1146
+ }
1147
+
1148
+ #expandedRuleCategorySelectors .category-name {
1149
+ font-size: 1rem;
1150
+ line-height: 1.75rem;
1151
+ }
1152
+
1153
+ #expandedRuleCategorySelectors .category-name::before {
1154
+ height: 1.125rem;
1155
+ width: 1.125rem;
1156
+ background-size: 1.125rem;
1157
+ }
1158
+
1159
+ #expandedRuleCategoryContent h5 {
1160
+ font-size: 1.125rem;
1161
+ font-weight: bold;
1162
+ line-height: 2rem;
1163
+ }
1164
+
1165
+ #expandedRuleCategoryContent .accordion-button {
1166
+ padding: 1rem 1rem 1rem 1.25rem;
1167
+ }
1168
+
1169
+ #expandedRuleCategoryContent .accordion-button:not(.collapsed) {
1170
+ background-color: inherit;
1171
+ color: inherit;
1172
+ }
1173
+
1174
+ #expandedRuleCategoryContent .accordion-button::after {
1175
+ content: none;
1176
+ }
1177
+
1178
+ #expandedRuleCategoryContent .accordion-button::before {
1179
+ content: '';
1180
+ width: 0.75rem;
1181
+ height: 1rem;
1182
+ background-image: url("data:image/svg+xml,%3Csvg width='9' height='16' viewBox='0 0 9 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.03847 16C0.833084 16 0.632305 15.9388 0.461529 15.8241C0.290753 15.7095 0.157649 15.5465 0.0790493 15.3558C0.000449621 15.1651 -0.0201154 14.9553 0.0199549 14.7529C0.0600251 14.5505 0.158931 14.3645 0.304165 14.2186L6.49293 7.99975L0.304165 1.78088C0.109639 1.58514 0.000422347 1.31979 0.000518839 1.04315C0.000615331 0.766523 0.110018 0.501248 0.30468 0.30564C0.499341 0.110032 0.763331 9.70251e-05 1.03862 6.41929e-08C1.31392 -9.68968e-05 1.57798 0.109652 1.77278 0.305123L8.69586 7.26187C8.8906 7.45757 9 7.72299 9 7.99975C9 8.2765 8.8906 8.54192 8.69586 8.73763L1.77278 15.6944C1.67646 15.7914 1.562 15.8684 1.43598 15.9208C1.30996 15.9733 1.17487 16.0002 1.03847 16Z' fill='%23006b8c'/%3E%3C/svg%3E%0A");
1183
+ background-repeat: no-repeat;
1184
+ background-size: auto;
1185
+ transition: transform 0.2s ease-in-out;
1186
+ margin-right: 1rem;
1187
+ flex-shrink: 0;
1188
+ }
1189
+
1190
+ #expandedRuleCategoryContent .accordion-button:not(.collapsed)::before {
1191
+ transform: rotate(90deg);
1192
+ }
1193
+
1194
+ #expandedRuleCategoryContent .accordion-button .counter {
1195
+ padding: 0.5rem;
1196
+ min-width: 61px;
1197
+ border: 1px solid var(--a11y-black-25);
1198
+ border-radius: 0.375rem;
1199
+ padding: 0.25rem 0.5rem;
1200
+ font-weight: bold;
1201
+ display: flex;
1202
+ align-items: center;
1203
+ justify-content: space-between;
1204
+ text-align: end;
1205
+ flex-shrink: 0;
1206
+ }
1207
+
1208
+ #expandedRuleCategoryContent .accordion-button .counter::before {
1209
+ height: 1.125rem;
1210
+ width: 1.125rem;
1211
+ margin-right: 0.375rem;
1212
+ content: '';
1213
+ background-repeat: no-repeat;
1214
+ background-size: 1.125rem;
1215
+ display: inline-block;
1216
+ }
1217
+
1218
+ #expandedRuleCategoryContent .mustFix .accordion-button .counter::before {
1219
+ background-image: var(--must-fix-icon);
1220
+ }
1221
+
1222
+ #expandedRuleCategoryContent .goodToFix .accordion-button .counter::before {
1223
+ background-image: var(--good-to-fix-icon);
1224
+ }
1225
+
1226
+ #expandedRuleCategoryContent .needsReview .accordion-button .counter::before {
1227
+ background-image: var(--needs-review-icon);
1228
+ }
1229
+
1230
+ #expandedRuleCategoryContent .mustFix .accordion-body .card {
1231
+ border-top: 0.25rem solid var(--coral-red-100);
1232
+ }
1233
+
1234
+ #expandedRuleCategoryContent .goodToFix .accordion-body .card {
1235
+ border-top: 0.25rem solid var(--sunshine-yellow-100);
1236
+ }
1237
+
1238
+ #expandedRuleCategoryContent .needsReview .accordion-body .card {
1239
+ border-top: 0.25rem solid var(--a11y-black-25);
1240
+ }
1241
+
1242
+ #expandedRuleCategoryContent .accordion-body .card .needsReview {
1243
+ color: var(--a11y-black-100);
1244
+ background-color: var(--a11y-black-5);
1245
+ border-bottom: 1px solid var(--a11y-black-25);
1246
+ padding: 0.5rem 1rem;
1247
+ display: flex;
1248
+ align-items: center;
1249
+ }
1250
+
1251
+ #expandedRuleCategoryContent .accordion-body .card .needsReview::before {
1252
+ content: '';
1253
+ width: 1.25rem;
1254
+ height: 1.25rem;
1255
+ margin-right: 0.5rem;
1256
+ background-repeat: no-repeat;
1257
+ background-size: 1.25rem;
1258
+ display: inline-block;
1259
+ flex-shrink: 0;
1260
+ }
1261
+
1262
+ #expandedRuleCategoryContent .mustFix .accordion-body .card .needsReview::before {
1263
+ background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5714 19.5H1.42857C0.916142 19.5 0.5 19.0839 0.5 18.5714V1.42857C0.5 0.916142 0.916142 0.5 1.42857 0.5H18.5714C19.0839 0.5 19.5 0.916142 19.5 1.42857V18.5714C19.5 19.0839 19.0839 19.5 18.5714 19.5Z' stroke='%23f26949'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.72337 6.7417C7.88706 6.03485 8.16236 5.50658 8.54926 5.15688C8.98081 4.81461 9.4942 4.64348 10.0894 4.64348C10.7144 4.64348 11.213 4.80717 11.585 5.13456C11.957 5.46194 12.143 5.86372 12.143 6.33991C12.143 6.69706 12.0388 7.00211 11.8305 7.25509C11.6966 7.43366 11.2799 7.80568 10.5805 8.37116C9.88855 8.95152 9.4198 9.46491 9.17426 9.91134C8.95105 10.3801 8.83944 10.9381 8.83944 11.5854V12.0988L8.86176 12.2328C8.86176 12.3221 8.87479 12.4039 8.90083 12.4783C8.92687 12.5527 8.95291 12.6122 8.97895 12.6569C9.00499 12.7015 9.04964 12.7406 9.11288 12.7741C9.17612 12.8075 9.22449 12.8336 9.25797 12.8522C9.29145 12.8708 9.35284 12.8838 9.44212 12.8913C9.53141 12.8987 9.59279 12.9024 9.62627 12.9024H9.82159H10.0002C10.2457 12.9024 10.428 12.8931 10.547 12.8745C10.6661 12.8559 10.7721 12.8001 10.8651 12.7071C10.9581 12.6141 11.0046 12.4709 11.0046 12.2774C11.0046 12.0244 11.0195 11.764 11.0493 11.4962C11.0716 11.2209 11.1162 11.0051 11.1832 10.8488C11.2799 10.6107 11.5924 10.2759 12.1207 9.84438C13.1177 9.0036 13.7576 8.35629 14.0403 7.90241C14.338 7.41878 14.4868 6.92027 14.4868 6.40688C14.4868 5.43961 14.0775 4.61373 13.2591 3.9292C12.463 3.20003 11.3692 2.83545 9.97784 2.83545C8.66831 2.83545 7.61177 3.19259 6.80819 3.90688C6.07158 4.53188 5.64748 5.31312 5.53587 6.25063C5.52099 6.29527 5.51355 6.36967 5.51355 6.47384C5.51355 6.7789 5.62144 7.04118 5.83721 7.26067C6.05299 7.48017 6.30968 7.58991 6.6073 7.58991C6.86028 7.58991 7.08721 7.50993 7.2881 7.34996C7.489 7.18999 7.6192 6.98724 7.67873 6.7417H7.72337ZM10.0002 13.9515C9.55373 13.9515 9.17055 14.1078 8.8506 14.4203C8.53066 14.7328 8.37069 15.1122 8.37069 15.5587C8.37069 15.9977 8.53066 16.379 8.8506 16.7026C9.17055 17.0263 9.55373 17.1881 10.0002 17.1881C10.4466 17.1881 10.8298 17.0263 11.1497 16.7026C11.4697 16.379 11.6296 15.9977 11.6296 15.5587C11.6296 15.1122 11.4697 14.7328 11.1497 14.4203C10.8298 14.1078 10.4466 13.9515 10.0002 13.9515Z' fill='%23f26949'/%3E%3C/svg%3E%0A");
1264
+ }
1265
+
1266
+ #expandedRuleCategoryContent .goodToFix .accordion-body .card .needsReview::before {
1267
+ background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5714 19.5H1.42857C0.916142 19.5 0.5 19.0839 0.5 18.5714V1.42857C0.5 0.916142 0.916142 0.5 1.42857 0.5H18.5714C19.0839 0.5 19.5 0.916142 19.5 1.42857V18.5714C19.5 19.0839 19.0839 19.5 18.5714 19.5Z' stroke='%23ffb200'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.72331 6.7417C7.887 6.03485 8.1623 5.50658 8.5492 5.15688C8.98075 4.81461 9.49414 4.64348 10.0894 4.64348C10.7144 4.64348 11.2129 4.80717 11.5849 5.13456C11.9569 5.46194 12.143 5.86372 12.143 6.33991C12.143 6.69706 12.0388 7.00211 11.8305 7.25509C11.6965 7.43366 11.2799 7.80568 10.5805 8.37116C9.88849 8.95152 9.41974 9.46491 9.1742 9.91134C8.95099 10.3801 8.83938 10.9381 8.83938 11.5854V12.0988L8.8617 12.2328C8.8617 12.3221 8.87472 12.4039 8.90077 12.4783C8.92681 12.5527 8.95285 12.6122 8.97889 12.6569C9.00493 12.7015 9.04958 12.7406 9.11282 12.7741C9.17606 12.8075 9.22443 12.8336 9.25791 12.8522C9.29139 12.8708 9.35277 12.8838 9.44206 12.8913C9.53135 12.8987 9.59273 12.9024 9.62621 12.9024H9.82152H10.0001C10.2456 12.9024 10.4279 12.8931 10.547 12.8745C10.666 12.8559 10.772 12.8001 10.8651 12.7071C10.9581 12.6141 11.0046 12.4709 11.0046 12.2774C11.0046 12.0244 11.0194 11.764 11.0492 11.4962C11.0715 11.2209 11.1162 11.0051 11.1831 10.8488C11.2799 10.6107 11.5924 10.2759 12.1206 9.84438C13.1177 9.0036 13.7575 8.35628 14.0403 7.90241C14.3379 7.41878 14.4867 6.92027 14.4867 6.40688C14.4867 5.43961 14.0775 4.61373 13.259 3.9292C12.4629 3.20003 11.3692 2.83545 9.97777 2.83545C8.66824 2.83545 7.61171 3.19259 6.80813 3.90688C6.07152 4.53188 5.64742 5.31312 5.53581 6.25063C5.52093 6.29527 5.51349 6.36967 5.51349 6.47384C5.51349 6.7789 5.62137 7.04118 5.83715 7.26067C6.05292 7.48017 6.30962 7.58991 6.60724 7.58991C6.86022 7.58991 7.08715 7.50993 7.28804 7.34996C7.48894 7.18999 7.61914 6.98724 7.67867 6.7417H7.72331ZM10.0001 13.9515C9.55367 13.9515 9.17048 14.1078 8.85054 14.4203C8.5306 14.7328 8.37063 15.1122 8.37063 15.5587C8.37063 15.9977 8.5306 16.379 8.85054 16.7026C9.17048 17.0263 9.55367 17.1881 10.0001 17.1881C10.4465 17.1881 10.8297 17.0263 11.1497 16.7026C11.4696 16.379 11.6296 15.9977 11.6296 15.5587C11.6296 15.1122 11.4696 14.7328 11.1497 14.4203C10.8297 14.1078 10.4465 13.9515 10.0001 13.9515Z' fill='%23ffb200'/%3E%3C/svg%3E%0A");
1268
+ }
1269
+
1270
+ #expandedRuleCategoryContent .needsReview .accordion-body .card .needsReview::before {
1271
+ background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.1429 0H2.85714C1.27919 0 0 1.27919 0 2.85714V17.1429C0 18.7208 1.27919 20 2.85714 20H17.1429C18.7208 20 20 18.7208 20 17.1429V2.85714C20 1.27919 18.7208 0 17.1429 0Z' fill='%23c9c8c6'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.09759 7.26594C8.23445 6.67496 8.46462 6.23328 8.7881 5.9409C9.14891 5.65474 9.57815 5.51166 10.0758 5.51166C10.5984 5.51166 11.0152 5.64852 11.3262 5.92224C11.6372 6.19596 11.7928 6.53188 11.7928 6.93002C11.7928 7.22862 11.7057 7.48367 11.5315 7.69518C11.4195 7.84448 11.0712 8.15552 10.4864 8.6283C9.90785 9.11353 9.51594 9.54277 9.31065 9.91602C9.12403 10.3079 9.03072 10.7745 9.03072 11.3157V11.7449L9.04938 11.8569C9.04938 11.9316 9.06026 12 9.08204 12.0622C9.10381 12.1244 9.12558 12.1742 9.14736 12.2115C9.16913 12.2488 9.20645 12.2815 9.25933 12.3095C9.31221 12.3375 9.35264 12.3593 9.38064 12.3748C9.40863 12.3904 9.45995 12.4012 9.5346 12.4075C9.60925 12.4137 9.66058 12.4168 9.68857 12.4168H9.85187H10.0012C10.2065 12.4168 10.3589 12.409 10.4584 12.3935C10.5579 12.3779 10.6466 12.3313 10.7243 12.2535C10.8021 12.1757 10.841 12.056 10.841 11.8942C10.841 11.6827 10.8534 11.465 10.8783 11.2411C10.897 11.0109 10.9343 10.8305 10.9903 10.6998C11.0712 10.5008 11.3324 10.2208 11.7741 9.86003C12.6077 9.15707 13.1427 8.61587 13.3791 8.23639C13.6279 7.83204 13.7523 7.41524 13.7523 6.986C13.7523 6.17729 13.4102 5.48678 12.7259 4.91446C12.0603 4.30482 11.1458 4 9.9825 4C8.88763 4 8.00428 4.2986 7.33243 4.8958C6.71656 5.41835 6.36198 6.07154 6.26866 6.85537C6.25622 6.89269 6.25 6.9549 6.25 7.04199C6.25 7.29705 6.3402 7.51633 6.52061 7.69984C6.70101 7.88336 6.91563 7.97512 7.16446 7.97512C7.37597 7.97512 7.56571 7.90824 7.73367 7.77449C7.90163 7.64075 8.0105 7.47123 8.06026 7.26594H8.09759ZM10.0012 13.2939C9.62791 13.2939 9.30754 13.4246 9.04005 13.6858C8.77255 13.9471 8.6388 14.2644 8.6388 14.6376C8.6388 15.0047 8.77255 15.3235 9.04005 15.5941C9.30754 15.8647 9.62791 16 10.0012 16C10.3744 16 10.6948 15.8647 10.9623 15.5941C11.2298 15.3235 11.3635 15.0047 11.3635 14.6376C11.3635 14.2644 11.2298 13.9471 10.9623 13.6858C10.6948 13.4246 10.3744 13.2939 10.0012 13.2939Z' fill='white'/%3E%3C/svg%3E%0A");
1272
+ }
1273
+
1274
+ .page-item-card-section-title {
1275
+ width: 20%;
1276
+ }
1277
+
1278
+ .ai-response-card {
1279
+ padding: 1rem;
1280
+ border: 1px solid var(--a11y-black-25);
1281
+ background-color: rgba(144, 33, 166, 0.05);
1282
+ border-radius: 4px;
1283
+ }
1284
+
1285
+ .page-item-card-section-content {
1286
+ width: 80%;
1287
+ flex-shrink: 0;
1288
+ }
1289
+
1290
+ .page-item-card-section-content img {
1291
+ max-width: 100%;
1292
+ }
1293
+
1294
+ .page-item-card-section-content ul {
1295
+ list-style: inside;
1296
+ list-style-position: outside;
1297
+ }
1298
+
1299
+ .page-item-card-section-content .copy-button {
1300
+ border: 1px solid #97adb5;
1301
+ border-radius: 4px;
1302
+ cursor: pointer;
1303
+ background-color: var(--true-white);
1304
+ padding: 0.25rem;
1305
+ line-height: 1rem;
1306
+ }
1307
+
1308
+ button.copy-button:focus {
1309
+ box-shadow: 0 0 0 0.125rem rgba(0, 71, 250, 0.5);
1310
+ }
1311
+
1312
+ .page-item-card-section-content .path-container {
1313
+ display: flex;
1314
+ width: 100%;
1315
+ justify-content: space-between;
1316
+ align-items: center;
1317
+ }
1318
+
1319
+ .processAI {
1320
+ color: var(--a11y-black-100);
1321
+ }
1322
+
1323
+ .g-one {
1324
+ gap: 1rem;
1325
+ }
1326
+
1327
+ .custom-flow-screenshot {
1328
+ border: 1px solid #2e69ff;
1329
+ border-radius: 4px;
1330
+ width: 150px;
1331
+ height: 128px;
1332
+ object-fit: cover;
1333
+ object-position: 100% 0;
1334
+ cursor: zoom-in;
1335
+ }
1336
+
1337
+ .custom-flow-screenshot-container {
1338
+ display: flex;
1339
+ gap: 1rem;
1340
+ }
1341
+
1342
+ #expandedRuleCategoryContent .accordion-body pre,
1343
+ .bg-grey-w-border {
1344
+ background-color: var(--a11y-black-5);
1345
+ border: 1px solid var(--a11y-black-25);
1346
+ font-size: 1rem;
1347
+ padding: 0.5rem;
1348
+ white-space: normal;
1349
+ margin-bottom: 0;
1350
+ line-height: 1.25rem;
1351
+ border-radius: 4px;
1352
+ }
1353
+
1354
+ #expandedRuleCategoryContent .page-accordion-content-title {
1355
+ font-weight: bold;
1356
+ margin-top: 1rem;
1357
+ display: flex;
1358
+ align-items: center;
1359
+ }
1360
+
1361
+ #expandedRuleCategoryContent .page-accordion-content-title::before {
1362
+ height: 1.125rem;
1363
+ width: 1.125rem;
1364
+ margin-right: 0.5rem;
1365
+ content: '';
1366
+ background-repeat: no-repeat;
1367
+ background-size: 1.125rem;
1368
+ display: inline-block;
1369
+ }
1370
+
1371
+ #expandedRuleCategoryContent .mustFix .page-accordion-content-title::before {
1372
+ background-image: var(--must-fix-icon);
1373
+ }
1374
+
1375
+ #expandedRuleCategoryContent .goodToFix .page-accordion-content-title::before {
1376
+ background-image: var(--good-to-fix-icon);
1377
+ }
1378
+
1379
+ #expandedRuleCategoryContent .needsReview .page-accordion-content-title::before {
1380
+ background-image: var(--needs-review-icon);
1381
+ }
1382
+
1383
+ #expandedRuleCategoryContent .page-items-count {
1384
+ border: 1px solid var(--a11y-black-25);
1385
+ border-radius: 0.475rem;
1386
+ margin-left: 0.5rem;
1387
+ padding: 0 0.5rem;
1388
+ }
1389
+
1390
+ #summary-table-header {
1391
+ border-bottom: 3px solid var(--a11y-purple-100-light) !important;
1392
+ border-top: 1px solid var(--a11y-black-25);
1393
+ border-left: 1px solid var(--a11y-black-25);
1394
+ border-right: 1px solid var(--a11y-black-25);
1395
+ border-style: solid;
1396
+ padding-left: 16px;
1397
+ padding-top: 14px;
1398
+ padding-bottom: 14px;
1399
+ }
1400
+
1401
+ #summary-table-icon {
1402
+ visibility: hidden;
1403
+ }
1404
+
1405
+ #summary-table-issue-description {
1406
+ text-align: left;
1407
+ padding-left: 10px;
1408
+ }
1409
+
1410
+ #summary-table-pages {
1411
+ text-align: right;
1412
+ }
1413
+
1414
+ #summary-table-occurrences {
1415
+ text-align: right;
1416
+ padding-right: 10px;
1417
+ }
1418
+
1419
+ #summary-table-helpUrl {
1420
+ padding-right: 16px;
1421
+ padding-left: 10px;
1422
+ }
1423
+
1424
+ #table-mustFix-icon {
1425
+ background-repeat: no-repeat;
1426
+ background-position: center;
1427
+ margin: auto;
1428
+ margin-top: 1.25rem;
1429
+ }
1430
+
1431
+ #table-goodToFix-icon {
1432
+ background-repeat: no-repeat;
1433
+ background-position: center;
1434
+ margin: auto;
1435
+ margin-top: 1.25rem;
1436
+ }
1437
+
1438
+ #table-needsReview-icon {
1439
+ background-repeat: no-repeat;
1440
+ background-position: center;
1441
+ margin: auto;
1442
+ margin-top: 1.25rem;
1443
+ }
1444
+
1445
+ .svg-container {
1446
+ display: flex;
1447
+ align-items: center;
1448
+ margin-bottom: 1rem;
1449
+ }
1450
+
1451
+ .svg-aboutscan {
1452
+ margin-right: 1rem;
1453
+ height: 1.125rem;
1454
+ width: 1.125rem;
1455
+ flex-shrink: 0;
1456
+ }
1457
+
1458
+ .txt {
1459
+ font-family: Calibri;
1460
+ font-size: 15px;
1461
+ text-align: center;
1462
+ margin-bottom: -5px;
1463
+ color: rgb(174, 121, 128);
1464
+ }
1465
+
1466
+ .footer {
1467
+ height: 50px;
1468
+ display: flex;
1469
+ padding: 15px;
1470
+ }
1471
+
1472
+ .nbPages {
1473
+ font-family: Calibri;
1474
+ font-size: 13px;
1475
+ color: rgb(174, 121, 128);
1476
+ text-align: right;
1477
+ }
1478
+
1479
+ hr.solid {
1480
+ border-top: 1px solid rgb(174, 121, 128);
1481
+ }
1482
+
1483
+ .aiGenerateResponseButton {
1484
+ border: 1px solid var(--a11y-purple-100-light);
1485
+ color: var(--a11y-purple-100-light);
1486
+ background-color: var(--true-white);
1487
+ border-radius: 4px;
1488
+ padding: 0.5rem 1rem;
1489
+ }
1490
+
1491
+ .aiGenerateResponseButton:disabled {
1492
+ border: 1px solid var(--a11y-black-25);
1493
+ color: var(--a11y-black-25);
1494
+ }
1495
+
1496
+ .aiGenerateResponseButton:hover:not(:disabled) {
1497
+ background-color: var(--a11y-purple-50);
1498
+ color: var(--a11y-purple-100-light);
1499
+ border-color: var(--a11y-purple-100-light);
1500
+ }
1501
+
1502
+ .aiGenerateResponseButton:active:not(:disabled) {
1503
+ background-color: var(--a11y-purple-70);
1504
+ color: var(--a11y-purple-150);
1505
+ border-color: var(--a11y-purple-150);
1506
+ }
1507
+
1508
+ .generateAiError {
1509
+ color: var(--coral-red-100);
1510
+ margin-top: 0.5rem;
1511
+ }
1512
+
1513
+ .aiFeedbackResponse {
1514
+ color: var(--a11y-black-100);
1515
+ }
1516
+
1517
+ .undoAiFeedback:hover {
1518
+ text-decoration: underline !important;
1519
+ }
1520
+
1521
+ .feedbackButtons {
1522
+ display: flex;
1523
+ justify-content: flex-end;
1524
+ margin-top: 2rem;
1525
+ }
1526
+
1527
+ .aiFeedbackButton {
1528
+ background-color: var(--true-white);
1529
+ border: 1px solid var(--a11y-purple-100-light);
1530
+ color: var(--a11y-purple-100-light);
1531
+ border-radius: 4px;
1532
+ padding: 0.25rem 1rem;
1533
+ font-size: 0.875rem;
1534
+ line-height: 1.5rem;
1535
+ display: flex;
1536
+ align-items: center;
1537
+ gap: 0.25rem;
1538
+ }
1539
+
1540
+ .aiFeedbackButton:hover {
1541
+ background-color: var(--a11y-purple-50);
1542
+ color: var(--a11y-purple-100-light);
1543
+ border-color: var(--a11y-purple-100-light);
1544
+ }
1545
+
1546
+ .aiFeedbackButton:active {
1547
+ background-color: var(--a11y-purple-70);
1548
+ color: var(--a11y-purple-150);
1549
+ border-color: var(--a11y-purple-150);
1550
+ }
1551
+
1552
+ .codeForAiResponse {
1553
+ display: inline-block;
1554
+ background-color: var(--a11y-black-5);
1555
+ border: 1px solid var(--a11y-black-25);
1556
+ font-size: 1rem;
1557
+ padding: 0.5rem;
1558
+ white-space: normal;
1559
+ margin-bottom: 0;
1560
+ line-height: 1.25rem;
1561
+ border-radius: 4px;
1562
+ }
1563
+
1564
+ #expandedRuleAiFeedback {
1565
+ margin-top: 2rem;
1566
+ background-color: rgba(144, 33, 166, 0.05);
1567
+ border: 1px solid var(--a11y-purple-100-light);
1568
+ border-radius: 4px;
1569
+ padding: 1rem;
1570
+ }
1571
+
1572
+ /* Mobile UI Styles - KC*/
1573
+
1574
+ /* START: Styles categorySelectorDropdown */
1575
+ .ally-button-container {
1576
+ #announcement {
1577
+ opacity: 0;
1578
+ pointer-events: none;
1579
+ }
1580
+
1581
+ select,
1582
+ ul {
1583
+ display: block;
1584
+ border: 0;
1585
+ font-size: 1rem;
1586
+ }
1587
+
1588
+ button {
1589
+ display: flex;
1590
+ justify-content: space-between;
1591
+ align-items: center;
1592
+ position: relative;
1593
+
1594
+ &::before {
1595
+ font-family: 'Font Awesome 5 Free';
1596
+ content: '\f107';
1597
+ vertical-align: middle;
1598
+ font-weight: 900;
1599
+ position: absolute;
1600
+ right: 0.8rem;
1601
+ }
1602
+
1603
+ &:focus-visible {
1604
+ outline: 0;
1605
+ box-shadow: 0 0 5px 2px rgba(251, 146, 60, 0.7) inset;
1606
+ }
1607
+ }
1608
+
1609
+ ul {
1610
+ color: #3f403b;
1611
+ position: absolute;
1612
+ left: 0;
1613
+ right: 0;
1614
+ max-height: 10rem;
1615
+ overflow-y: auto;
1616
+ list-style-type: none;
1617
+ padding: 0;
1618
+ margin-top: 0.1rem;
1619
+ opacity: 0;
1620
+ transform: scale(1, 0);
1621
+ transform-origin: top left;
1622
+ transition: all 0.3s ease-in;
1623
+ pointer-events: none;
1624
+ z-index: 2;
1625
+
1626
+ &.active {
1627
+ opacity: 1;
1628
+ transform: scale(1, 1);
1629
+ pointer-events: auto;
1630
+ }
1631
+
1632
+ li {
1633
+ margin: 0 0.5rem;
1634
+ padding: 0.6rem 0.5rem;
1635
+ border-top: 1px solid #e6e6e6;
1636
+ cursor: pointer;
1637
+ transition: all 0.3s ease-in;
1638
+ position: relative;
1639
+ background-color: rgb(255, 255, 255);
1640
+
1641
+ &::before {
1642
+ font-family: 'Font Awesome 5 Free';
1643
+ content: '\f00c';
1644
+ vertical-align: middle;
1645
+ font-weight: 900;
1646
+ position: absolute;
1647
+ right: 0.8rem;
1648
+ opacity: 0;
1649
+ transition: opacity 0.3s ease-out;
1650
+ }
1651
+
1652
+ &.current {
1653
+ /* Color of list item when selected */
1654
+ background: #e6e6e6;
1655
+ }
1656
+
1657
+ &.active {
1658
+ box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.7);
1659
+ }
1660
+
1661
+ &.active::before {
1662
+ opacity: 1;
1663
+ }
1664
+ }
1665
+ }
1666
+ }
1667
+
1668
+ ul#issueTypeListbox,
1669
+ ul#expandedRuleIssueTypeListbox {
1670
+ position: absolute;
1671
+ padding: 0;
1672
+ opacity: 0;
1673
+ transform: scale(1, 0);
1674
+ transform-origin: top left;
1675
+ transition: all 0.3s ease-in;
1676
+
1677
+ &.active {
1678
+ opacity: 1;
1679
+ transform: scale(1, 1);
1680
+ pointer-events: auto;
1681
+ }
1682
+
1683
+ li {
1684
+ padding: 0.5rem 1rem;
1685
+ border-radius: 0;
1686
+ border-top: 0;
1687
+ cursor: pointer;
1688
+ transition: all 0.3s ease-in;
1689
+ background-color: rgb(255, 255, 255);
1690
+
1691
+ &[aria-selected='true']::after {
1692
+ border-bottom: 1px solid var(--a11y-black-100);
1693
+ border-right: 1px solid var(--a11y-black-100);
1694
+ content: '';
1695
+ height: 16px;
1696
+ position: absolute;
1697
+ right: 16px;
1698
+ top: 50%;
1699
+ transform: translate(0, -50%) rotate(45deg);
1700
+ width: 8px;
1701
+ }
1702
+
1703
+ &:hover {
1704
+ border-color: var(--a11y-black-25);
1705
+ background-color: #f2f6ff;
1706
+ }
1707
+
1708
+ &:focus {
1709
+ border-color: var(--a11y-black-25);
1710
+ background-color: #f2f6ff;
1711
+ }
1712
+ }
1713
+ }
1714
+
1715
+ .ally-toggle-button {
1716
+ width: 100%;
1717
+ padding: 10px;
1718
+ text-align: left;
1719
+ background-color: var(--true-white);
1720
+ border: 1px solid;
1721
+ border-color: var(--bs-border-color);
1722
+ border-radius: var(--bs-border-radius);
1723
+ }
1724
+
1725
+ /* Special CSS to overwrite for mobile dropdown as we are reusing the same class. */
1726
+ .expanded-rule-issue-type-combobox-button > .category-selector,
1727
+ .ally-toggle-button-2 > .category-selector {
1728
+ padding: 8px 16px;
1729
+ }
1730
+
1731
+ .expanded-rule-issue-type-combobox-button > .category-selector:not(.selected):hover,
1732
+ .expanded-rule-issue-type-combobox-button > .category-selector:not(.selected):focus,
1733
+ .ally-toggle-button-2 > .category-selector:not(.selected):hover,
1734
+ .ally-toggle-button-2 > .category-selector:not(.selected):focus {
1735
+ background-color: var(--true-white);
1736
+ }
1737
+
1738
+ .expanded-rule-issue-type-combobox-button::after,
1739
+ .ally-toggle-button-2::after {
1740
+ border-bottom: 1px solid var(--a11y-black-100);
1741
+ border-right: 1px solid var(--a11y-black-100);
1742
+ content: '';
1743
+ display: block;
1744
+ height: 12px;
1745
+ pointer-events: none;
1746
+ position: absolute;
1747
+ right: 16px;
1748
+ top: 50%;
1749
+ transform: translate(0, -65%) rotate(45deg);
1750
+ width: 12px;
1751
+ }
1752
+ /* END: Styles categorySelectorDropdown */
1753
+
1754
+ .rule-item-description {
1755
+ margin-right: auto;
1756
+ padding-left: 0.5rem;
1757
+ width: 80%;
1758
+ display: -webkit-box;
1759
+ -webkit-line-clamp: 2;
1760
+ overflow: hidden;
1761
+ text-overflow: ellipsis;
1762
+ max-height: 56px;
1763
+ text-align: left !important;
1764
+ }
1765
+
1766
+ .compliance-summary {
1767
+ --bs-gutter-x: 1.5rem;
1768
+ --bs-gutter-y: 0;
1769
+ display: flex;
1770
+ flex-wrap: wrap;
1771
+ margin-right: 1rem;
1772
+ margin-left: 1rem;
1773
+ margin-top: 1.5rem;
1774
+ margin-bottom: 0.5rem;
1775
+ gap: 1rem;
1776
+ }
1777
+
1778
+ .mobile-view {
1779
+ display: none;
1780
+ }
1781
+
1782
+ @media only screen and (max-width: 767px) {
1783
+ .compliance-summary {
1784
+ flex-direction: column;
1785
+ }
1786
+
1787
+ #expandedRule {
1788
+ width: 95%;
1789
+ }
1790
+
1791
+ .rule-item-description {
1792
+ width: 70%;
1793
+ }
1794
+ .desktop-view {
1795
+ display: none;
1796
+ }
1797
+
1798
+ .mobile-view {
1799
+ display: flex;
1800
+ }
1801
+
1802
+ .wcag-compliance-passes-panel {
1803
+ border: none;
1804
+ padding: 0;
1805
+ margin: 1rem 0;
1806
+ }
1807
+
1808
+ .compliance-summary {
1809
+ padding-top: 0;
1810
+ }
1811
+
1812
+ #accessibility-site-report h2 {
1813
+ margin-bottom: 1rem;
1814
+ }
1815
+
1816
+ #accessibility-site-report p,
1817
+ #accessibility-site-report a {
1818
+ font-size: 1rem !important;
1819
+ }
1820
+
1821
+ main {
1822
+ flex-direction: column;
1823
+ }
1824
+
1825
+ #scan-about {
1826
+ /* background-color: powderblue; */
1827
+ width: auto;
1828
+ padding-bottom: 1rem;
1829
+ border: 0;
1830
+ }
1831
+ #scan-about.card {
1832
+ border-width: 0;
1833
+ }
1834
+ #scan-about ul {
1835
+ margin-bottom: 0;
1836
+ }
1837
+
1838
+ /* reportSearch */
1839
+ .search-filter-on {
1840
+ width: 90vw;
1841
+ }
1842
+ }
1843
+ </style>