diff --git a/docs/css/styles.css b/docs/css/styles.css
index 3b9d71b..8a1196c 100644
--- a/docs/css/styles.css
+++ b/docs/css/styles.css
@@ -642,30 +642,38 @@ p:empty {
a svg,
button svg,
h1 svg,
-th svg {
+th svg,
+li > svg {
height: 0.75em;
- width: auto;
+ width: 0.75em;
margin-right: 0.25em;
}
-h1 svg,
-li > svg,
-h2 a svg {
- height: 1em;
- width: auto;
- vertical-align: middle;
-}
h1 svg {
- margin-right: 0;
+ margin-right: 0;
+ width: 0.85em;
+ height: 0.85em;
+}
+.wcag-icon {
+ width: 1.25em;
+}
+.bookmark-icon {
+ vertical-align: middle;
+}
+.link-icon {
+ width: 0.75em;
+ height: 0.75em;
+}
+.tags svg, .link-icon {
+ vertical-align: middle;
+}
+.balloon-icon {
+ width: 0.75em;
+ margin-right: 0;
}
.print {
white-space: nowrap;
font-style: normal;
}
-.svg-outer {
- width: 0.75em;
- display: inline-block;
- vertical-align: middle;
-}
/* Color palettes */
.colors {
display: flex;
diff --git a/docs/js/dom-scripts.js b/docs/js/dom-scripts.js
index a0780a0..0d5acc7 100644
--- a/docs/js/dom-scripts.js
+++ b/docs/js/dom-scripts.js
@@ -70,7 +70,7 @@
link.setAttribute('href', '#' + id);
var headingText = heading.textContent;
link.setAttribute('aria-label', 'This ' + headingText + ' section');
- link.innerHTML = '';
+ link.innerHTML = '';
container.appendChild(link);
@@ -79,37 +79,6 @@
})
}());
-
-/* SVG scaling fix for IE10-11 */
-(function () {
- if (window.matchMedia('(-ms-high-contrast: none), (-ms-high-contrast: active)').matches) {
- // Get all the SVGs on the page except the symbol defs
- var svgs = document.querySelectorAll('a svg, button svg, h1 svg, .tags svg, th svg');
- // ... iterate over SVGs
- Array.prototype.forEach.call(svgs, function(svg) {
- // Set preserveAspectRatio to 'XMidYMin slice'
- svg.setAttribute('preserveAspectRatio', 'xMidYMin slice');
-
- // Turn the viewBox values into an array
- var viewBox = svg.getAttribute('viewBox').split(' ');
-
- // Calculate padding value needed (width/height x 100)
- var padding = (viewBox[2] / viewBox[3]) * 100;
-
- // Set inline styles
- svg.setAttribute('style', 'width: 100%; height: 1px; padding-bottom: ' + padding + '%; overflow: visible');
-
- // Create span wrapper
- var span = document.createElement('span');
- span.setAttribute('class', 'svg-outer');
- span.style.width = '0.75em';
-
- svg.parentNode.insertBefore(span, svg);
- span.appendChild(svg);
- })
- }
-}());
-
/* Enable scrolling by keyboard of code samples */
(function () {
var codeBlocks = document.querySelectorAll('pre');
diff --git a/docs/service-worker.js b/docs/service-worker.js
index b3129c6..5009057 100644
--- a/docs/service-worker.js
+++ b/docs/service-worker.js
@@ -37,7 +37,7 @@
/* eslint-disable indent, no-unused-vars, no-multiple-empty-lines, max-nested-callbacks, space-before-function-paren, quotes, comma-spacing */
'use strict';
-var precacheConfig = [["browserconfig.xml","67c3113b1574fecc6015d56d774e1d38"],["categories/index.xml","1c183b48cab635f689386c900b9dc4aa"],["css/fonts/miriamlibre-bold.woff","96496f6f06535d25b3bcba876917ca35"],["css/fonts/miriamlibre-bold.woff2","668defa44d9a74dd709ce0c826a5eb11"],["css/images/arrow_effect.svg","1434d178461f70c16b77acb4bdbc51e3"],["css/images/icon-tick.svg","35d4d4728ea80d254508b2bca4109d70"],["css/images/stripe.svg","fa3f32a026b6a1bb04ee98d963432e15"],["css/prism.css","004029c8c70ed2bbaa5d9debcf14f8c7"],["css/styles.css","f062341d508b27af4d5cb80ca5440d0a"],["images/android-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/android-icon-192x192.png","4c07782e52e0ab714074e6d3d69dc3ec"],["images/android-icon-36x36.png","3b2cd8c925a66bf84c89b68bb30e5f62"],["images/android-icon-48x48.png","45dc386eea1d8a46216a8b6de9b156c6"],["images/android-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/android-icon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/apple-icon-114x114.png","72e127d6f01dfcd2ba2340141babc536"],["images/apple-icon-120x120.png","bc7cd9e36869e66aaca78412207bf723"],["images/apple-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/apple-icon-152x152.png","567c64205576865b5e5d06c849613ca2"],["images/apple-icon-180x180.png","6b8734c446bf02ab50be598b4c01ec9c"],["images/apple-icon-57x57.png","f8c586086752c78870820b6190d6b42b"],["images/apple-icon-60x60.png","6e88df111e506bcd5501bed4ff10542e"],["images/apple-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/apple-icon-76x76.png","d8666e0ac256f39f8c5c628486bd71fb"],["images/apple-icon-precomposed.png","725f6cec25256abb1db10385e0724400"],["images/apple-icon.png","725f6cec25256abb1db10385e0724400"],["images/bad_design_system.png","9c0e87a34e7d842b0e2831dc947249aa"],["images/browser-chrome-android.svg","3100b2a9c5f0e34982c717fc2aa46d73"],["images/browser-chrome.svg","fa39b4be6727525330e928f582fbe80a"],["images/browser-edge.svg","9e8265ab8f6a701587a4271dd3aa6a73"],["images/browser-firefox-android.svg","452df7b9e83c70a07e8e03b4e8dab9c4"],["images/browser-firefox.svg","d3093eda664be3d0cc6d791e1386420f"],["images/browser-ie.svg","13e192cf2b3fe17e7049a49b7d085caa"],["images/browser-opera.svg","95d65630c9f7deef6a3098af8f5baf9f"],["images/browser-safari-ios.svg","f729e629ec998ec40d313495d7257741"],["images/browser-safari.svg","523ee9491f5a937b8975f4d23aa77f62"],["images/favicon-16x16.png","7a99c20d6c00babddd26d03607b8721d"],["images/favicon-32x32.png","129881474a1bf130027bff7a1e89febd"],["images/favicon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/favicon.ico","81c46feedbfcc6c6dc9495e4fd5adfad"],["images/icon-info.svg","53a6c555ce41f818556c71ab0dfc533b"],["images/icon-tag.svg","f067bbbc072941b2a0335679300bfc6c"],["images/icon-warning.svg","2a4322abbee9aed694fadb50e98a1f61"],["images/logo.svg","50293a256b796b9a737f1969d511a98e"],["images/ms-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/ms-icon-150x150.png","e73370837ab9060772a18d62aaacd0f0"],["images/ms-icon-310x310.png","8a7143516b929702e3309bb537a99c5c"],["images/ms-icon-70x70.png","d7c6e7368733d53b5f979546d5aa4fe9"],["images/open_in_desktop.png","e899d6679b011aa7b0e783683d90d99b"],["images/samsung_homescreen.png","5ef40e64a18f966ce5c9084a024256db"],["images/serve_from_docs.png","15ae9eac3737a21593ebe00a9312bf9e"],["index.html","a897b4e5dc6f2abeafbcd236b026df0f"],["index.xml","aa6028f64716d4919ef11a5f42caec16"],["js/dom-scripts.js","ac4628102e015c7b80281369b285f430"],["js/prism.js","0c1fb8d3a69ee7c91dbf0f361ded7763"],["js/service-worker-registration.js","d60f01dc1393cbaaf4f7435339074d5e"],["manifest.json","238a0121f2ebf55e137c05f40d3ec335"],["patterns/coding/code-blocks/index.html","e4bb44134ed7d1d296a2134aede56d83"],["patterns/coding/color-palettes/index.html","d15a959a7805a1181e359fa014eded9c"],["patterns/coding/command-line/index.html","720a5cb7b7b516af1702750fa64cb1c1"],["patterns/coding/demo-embedding/index.html","af9c1cfb9bf0b8ce69afa51f88032457"],["patterns/coding/file-trees/index.html","91183a28b44e5245fcd599778458d57b"],["patterns/coding/index.html","2938fc3e06a29ef33fcbc5f708f15a2e"],["patterns/coding/index.xml","9103e9b80e3ea47df0759c7646b4b174"],["patterns/coding/tested/index.html","db988bc6e30d7b30e702898f017b92e2"],["patterns/coding/writing-inline-demos/index.html","ca3ac21f0338bf94fc9b0cbc752efdd1"],["patterns/index.html","7d5c12eb3a2dff2cbf90612885d8eaab"],["patterns/index.xml","b49d0a779f7b22a9169bcc606dcaace7"],["patterns/installation/index.html","2565fc73bd1620281a5546be8471e1fc"],["patterns/library-setup/index.html","abb89b03bda6e9392beba903caa3b115"],["patterns/media/including-images/index.html","4189d5f05fc0c9f515cf97dab0dab0d1"],["patterns/media/including-videos/index.html","d0638e69bd0e0022da19eb7d8b8996dc"],["patterns/media/index.html","2fade529c06841b9f6e321f78f23b481"],["patterns/media/index.xml","69e133cec08e19eeb33cb005e90590e3"],["patterns/printing/index.html","dd69050f3c160a661df26f1b5033e6aa"],["patterns/serving/index.html","3a05e4c885cdb34ad64339fa73419e03"],["patterns/updating/index.html","7ebea6f97522bdb0ea836ea630e42b00"],["patterns/writing/expandable-sections/index.html","fbe49e6f82a26640a33d3629b593d724"],["patterns/writing/index.html","9f999d15bfc2b36447621600b3a79a7e"],["patterns/writing/index.xml","691ef930c108f300ab46d63e88be2b55"],["patterns/writing/library-structure/index.html","ac00ee7f979a74b1880a46a4e616140d"],["patterns/writing/markdown-and-metadata/index.html","a0abe1582b58d3698e3260d62f55c452"],["patterns/writing/notes-and-warnings/index.html","eec66a210fb643c8bc3801c44ddcb2a9"],["patterns/writing/references/index.html","a03d7d8c2c5781e0dfc94f795fb4734d"],["patterns/writing/snippets/index.html","0f95c84b1ea965fc0a15880fd8e262d1"],["patterns/writing/tables-of-contents/index.html","0e4bb1f94237312b5cbdff6f213463e2"],["print-version/index.html","db7c04680babaf0a35794c1d5e3e670b"],["sitemap.xml","008aff2a4a550a926265f2445ae9e3a9"],["tags/index.xml","7445f2e8ccc722d44e7533263233d2df"],["tags/markdown/index.html","ae5af8e9e52ea0aefd82c7fc9da79c14"],["tags/markdown/index.xml","7df48ac337fc803de40eec42599a31cd"],["tags/metadata/index.html","4003e1dc2257997c3645348aa0fa3cf3"],["tags/metadata/index.xml","eca9cfe9cd6561660ff341d5ded73b06"]];
+var precacheConfig = [["browserconfig.xml","67c3113b1574fecc6015d56d774e1d38"],["categories/index.xml","1c183b48cab635f689386c900b9dc4aa"],["css/fonts/miriamlibre-bold.woff","96496f6f06535d25b3bcba876917ca35"],["css/fonts/miriamlibre-bold.woff2","668defa44d9a74dd709ce0c826a5eb11"],["css/images/arrow_effect.svg","1434d178461f70c16b77acb4bdbc51e3"],["css/images/icon-tick.svg","35d4d4728ea80d254508b2bca4109d70"],["css/images/stripe.svg","fa3f32a026b6a1bb04ee98d963432e15"],["css/prism.css","004029c8c70ed2bbaa5d9debcf14f8c7"],["css/styles.css","6cb827927cbd01ec67b571d394300ab4"],["images/android-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/android-icon-192x192.png","4c07782e52e0ab714074e6d3d69dc3ec"],["images/android-icon-36x36.png","3b2cd8c925a66bf84c89b68bb30e5f62"],["images/android-icon-48x48.png","45dc386eea1d8a46216a8b6de9b156c6"],["images/android-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/android-icon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/apple-icon-114x114.png","72e127d6f01dfcd2ba2340141babc536"],["images/apple-icon-120x120.png","bc7cd9e36869e66aaca78412207bf723"],["images/apple-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/apple-icon-152x152.png","567c64205576865b5e5d06c849613ca2"],["images/apple-icon-180x180.png","6b8734c446bf02ab50be598b4c01ec9c"],["images/apple-icon-57x57.png","f8c586086752c78870820b6190d6b42b"],["images/apple-icon-60x60.png","6e88df111e506bcd5501bed4ff10542e"],["images/apple-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/apple-icon-76x76.png","d8666e0ac256f39f8c5c628486bd71fb"],["images/apple-icon-precomposed.png","725f6cec25256abb1db10385e0724400"],["images/apple-icon.png","725f6cec25256abb1db10385e0724400"],["images/bad_design_system.png","9c0e87a34e7d842b0e2831dc947249aa"],["images/browser-chrome-android.svg","3100b2a9c5f0e34982c717fc2aa46d73"],["images/browser-chrome.svg","fa39b4be6727525330e928f582fbe80a"],["images/browser-edge.svg","9e8265ab8f6a701587a4271dd3aa6a73"],["images/browser-firefox-android.svg","452df7b9e83c70a07e8e03b4e8dab9c4"],["images/browser-firefox.svg","d3093eda664be3d0cc6d791e1386420f"],["images/browser-ie.svg","13e192cf2b3fe17e7049a49b7d085caa"],["images/browser-opera.svg","95d65630c9f7deef6a3098af8f5baf9f"],["images/browser-safari-ios.svg","f729e629ec998ec40d313495d7257741"],["images/browser-safari.svg","523ee9491f5a937b8975f4d23aa77f62"],["images/favicon-16x16.png","7a99c20d6c00babddd26d03607b8721d"],["images/favicon-32x32.png","129881474a1bf130027bff7a1e89febd"],["images/favicon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/favicon.ico","81c46feedbfcc6c6dc9495e4fd5adfad"],["images/icon-info.svg","53a6c555ce41f818556c71ab0dfc533b"],["images/icon-tag.svg","f067bbbc072941b2a0335679300bfc6c"],["images/icon-warning.svg","2a4322abbee9aed694fadb50e98a1f61"],["images/logo.svg","50293a256b796b9a737f1969d511a98e"],["images/ms-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/ms-icon-150x150.png","e73370837ab9060772a18d62aaacd0f0"],["images/ms-icon-310x310.png","8a7143516b929702e3309bb537a99c5c"],["images/ms-icon-70x70.png","d7c6e7368733d53b5f979546d5aa4fe9"],["images/open_in_desktop.png","e899d6679b011aa7b0e783683d90d99b"],["images/samsung_homescreen.png","5ef40e64a18f966ce5c9084a024256db"],["images/serve_from_docs.png","15ae9eac3737a21593ebe00a9312bf9e"],["index.html","a897b4e5dc6f2abeafbcd236b026df0f"],["index.xml","aa6028f64716d4919ef11a5f42caec16"],["js/dom-scripts.js","c0329e59b0398b2eba79c212b93010fc"],["js/prism.js","0c1fb8d3a69ee7c91dbf0f361ded7763"],["js/service-worker-registration.js","d60f01dc1393cbaaf4f7435339074d5e"],["manifest.json","238a0121f2ebf55e137c05f40d3ec335"],["patterns/coding/code-blocks/index.html","e4bb44134ed7d1d296a2134aede56d83"],["patterns/coding/color-palettes/index.html","d15a959a7805a1181e359fa014eded9c"],["patterns/coding/command-line/index.html","720a5cb7b7b516af1702750fa64cb1c1"],["patterns/coding/demo-embedding/index.html","af9c1cfb9bf0b8ce69afa51f88032457"],["patterns/coding/file-trees/index.html","91183a28b44e5245fcd599778458d57b"],["patterns/coding/index.html","2938fc3e06a29ef33fcbc5f708f15a2e"],["patterns/coding/index.xml","9103e9b80e3ea47df0759c7646b4b174"],["patterns/coding/tested/index.html","db988bc6e30d7b30e702898f017b92e2"],["patterns/coding/writing-inline-demos/index.html","ca3ac21f0338bf94fc9b0cbc752efdd1"],["patterns/index.html","7d5c12eb3a2dff2cbf90612885d8eaab"],["patterns/index.xml","b49d0a779f7b22a9169bcc606dcaace7"],["patterns/installation/index.html","2565fc73bd1620281a5546be8471e1fc"],["patterns/library-setup/index.html","abb89b03bda6e9392beba903caa3b115"],["patterns/media/including-images/index.html","4189d5f05fc0c9f515cf97dab0dab0d1"],["patterns/media/including-videos/index.html","d0638e69bd0e0022da19eb7d8b8996dc"],["patterns/media/index.html","2fade529c06841b9f6e321f78f23b481"],["patterns/media/index.xml","69e133cec08e19eeb33cb005e90590e3"],["patterns/printing/index.html","dd69050f3c160a661df26f1b5033e6aa"],["patterns/serving/index.html","3a05e4c885cdb34ad64339fa73419e03"],["patterns/updating/index.html","7ebea6f97522bdb0ea836ea630e42b00"],["patterns/writing/expandable-sections/index.html","fbe49e6f82a26640a33d3629b593d724"],["patterns/writing/index.html","9f999d15bfc2b36447621600b3a79a7e"],["patterns/writing/index.xml","691ef930c108f300ab46d63e88be2b55"],["patterns/writing/library-structure/index.html","ac00ee7f979a74b1880a46a4e616140d"],["patterns/writing/markdown-and-metadata/index.html","a0abe1582b58d3698e3260d62f55c452"],["patterns/writing/notes-and-warnings/index.html","eec66a210fb643c8bc3801c44ddcb2a9"],["patterns/writing/references/index.html","a03d7d8c2c5781e0dfc94f795fb4734d"],["patterns/writing/snippets/index.html","0f95c84b1ea965fc0a15880fd8e262d1"],["patterns/writing/tables-of-contents/index.html","0e4bb1f94237312b5cbdff6f213463e2"],["print-version/index.html","db7c04680babaf0a35794c1d5e3e670b"],["sitemap.xml","008aff2a4a550a926265f2445ae9e3a9"],["tags/index.xml","7445f2e8ccc722d44e7533263233d2df"],["tags/markdown/index.html","ae5af8e9e52ea0aefd82c7fc9da79c14"],["tags/markdown/index.xml","7df48ac337fc803de40eec42599a31cd"],["tags/metadata/index.html","4003e1dc2257997c3645348aa0fa3cf3"],["tags/metadata/index.xml","eca9cfe9cd6561660ff341d5ded73b06"]];
var cacheName = 'sw-precache-v3-sw-precache-' + (self.registration ? self.registration.scope : '');
diff --git a/themes/infusion/static/css/styles.css b/themes/infusion/static/css/styles.css
index 3b9d71b..8a1196c 100644
--- a/themes/infusion/static/css/styles.css
+++ b/themes/infusion/static/css/styles.css
@@ -642,30 +642,38 @@ p:empty {
a svg,
button svg,
h1 svg,
-th svg {
+th svg,
+li > svg {
height: 0.75em;
- width: auto;
+ width: 0.75em;
margin-right: 0.25em;
}
-h1 svg,
-li > svg,
-h2 a svg {
- height: 1em;
- width: auto;
- vertical-align: middle;
-}
h1 svg {
- margin-right: 0;
+ margin-right: 0;
+ width: 0.85em;
+ height: 0.85em;
+}
+.wcag-icon {
+ width: 1.25em;
+}
+.bookmark-icon {
+ vertical-align: middle;
+}
+.link-icon {
+ width: 0.75em;
+ height: 0.75em;
+}
+.tags svg, .link-icon {
+ vertical-align: middle;
+}
+.balloon-icon {
+ width: 0.75em;
+ margin-right: 0;
}
.print {
white-space: nowrap;
font-style: normal;
}
-.svg-outer {
- width: 0.75em;
- display: inline-block;
- vertical-align: middle;
-}
/* Color palettes */
.colors {
display: flex;
diff --git a/themes/infusion/static/js/dom-scripts.js b/themes/infusion/static/js/dom-scripts.js
index a0780a0..0d5acc7 100644
--- a/themes/infusion/static/js/dom-scripts.js
+++ b/themes/infusion/static/js/dom-scripts.js
@@ -70,7 +70,7 @@
link.setAttribute('href', '#' + id);
var headingText = heading.textContent;
link.setAttribute('aria-label', 'This ' + headingText + ' section');
- link.innerHTML = '';
+ link.innerHTML = '';
container.appendChild(link);
@@ -79,37 +79,6 @@
})
}());
-
-/* SVG scaling fix for IE10-11 */
-(function () {
- if (window.matchMedia('(-ms-high-contrast: none), (-ms-high-contrast: active)').matches) {
- // Get all the SVGs on the page except the symbol defs
- var svgs = document.querySelectorAll('a svg, button svg, h1 svg, .tags svg, th svg');
- // ... iterate over SVGs
- Array.prototype.forEach.call(svgs, function(svg) {
- // Set preserveAspectRatio to 'XMidYMin slice'
- svg.setAttribute('preserveAspectRatio', 'xMidYMin slice');
-
- // Turn the viewBox values into an array
- var viewBox = svg.getAttribute('viewBox').split(' ');
-
- // Calculate padding value needed (width/height x 100)
- var padding = (viewBox[2] / viewBox[3]) * 100;
-
- // Set inline styles
- svg.setAttribute('style', 'width: 100%; height: 1px; padding-bottom: ' + padding + '%; overflow: visible');
-
- // Create span wrapper
- var span = document.createElement('span');
- span.setAttribute('class', 'svg-outer');
- span.style.width = '0.75em';
-
- svg.parentNode.insertBefore(span, svg);
- span.appendChild(svg);
- })
- }
-}());
-
/* Enable scrolling by keyboard of code samples */
(function () {
var codeBlocks = document.querySelectorAll('pre');