sassdoc-theme-alix
Advanced tools
Comparing version 0.3.31 to 0.4.0
@@ -1,1 +0,1 @@ | ||
function getFileName(){var e="https://rawgit.com/ffoodd/a11y.css/master/css/",t="a11y-",n=document.getElementById("language").value||"en",a=document.getElementById("minimum-level").value||"advice",o=".css";return a="advice"!==a?"_"+a:"",e+t+n+a+o}function getBookmarkletContent(){return["javascript:","(function(){",'a11ycss=document.createElement("LINK");','a11ycss.href="'+getFileName()+'";','a11ycss.rel="stylesheet";','a11ycss.media="(min-width: 800px)";',"document.body.appendChild(a11ycss);","})();"].join("")}function activeAnchor(e){var e=e||document.getElementById("toc"),t=e.getElementsByTagName("a");for(i=0;i<t.length;i++)document.location.href.indexOf(t[i].href)>=0&&t[i].classList.add("active-test")}function handleTocClick(e){var t=e.target,n=document.querySelector(".active-test");n&&n.removeAttribute("class"),"a"===t.tagName.toLowerCase()&&t.classList.add("active-test")}function handleFormSubmit(e){e.preventDefault();var t=document.getElementById("bookmarklet--link");t.setAttribute("href",getBookmarkletContent()),t.classList.add("done")}function handleFormChange(){var e=document.getElementById("bookmarklet--link");e.classList.remove("done")}document.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("bookmarklet");e&&(e.addEventListener("submit",handleFormSubmit),e.addEventListener("change",handleFormChange));var t=document.getElementById("toc");t&&(t.addEventListener("click",handleTocClick),activeAnchor(t))}); | ||
function getFileName(){var e=document.getElementById("language").value||"en",t=document.getElementById("minimum-level").value||"advice";return"https://ffoodd.github.io/a11y.css/css/a11y-"+e+(t="advice"!==t?"_"+t:"")+".css"}function getBookmarkletContent(){return["javascript:","(function(){",'a11ycss=document.createElement("LINK");','a11ycss.href="'+getFileName()+'";','a11ycss.rel="stylesheet";','a11ycss.media="all";',"document.body.appendChild(a11ycss);","})();"].join("")}function activeAnchor(e){var t=(e=e||document.getElementById("toc")).getElementsByTagName("a");for(i=0;i<t.length;i++)0<=document.location.href.indexOf(t[i].href)&&t[i].classList.add("active-test")}function handleTocClick(e){var t=e.target,n=document.querySelector(".active-test");n&&n.removeAttribute("class"),"a"===t.tagName.toLowerCase()&&t.classList.add("active-test")}function handleFormSubmit(e){e.preventDefault();var t=document.getElementById("bookmarklet--link");t.setAttribute("href",getBookmarkletContent()),t.classList.add("done")}function handleFormChange(){document.getElementById("bookmarklet--link").classList.remove("done")}document.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("bookmarklet");e&&(e.addEventListener("submit",handleFormSubmit),e.addEventListener("change",handleFormChange));var t=document.getElementById("toc");t&&(t.addEventListener("click",handleTocClick),activeAnchor(t))}); |
@@ -1,1 +0,1 @@ | ||
var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var e=/\blang(?:uage)?-(\w+)\b/i,t=0,n=_self.Prism={util:{encode:function(e){return e instanceof a?new a(e.type,n.util.encode(e.content),e.alias):"Array"===n.util.type(e)?e.map(n.util.encode):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function(e){var t=n.util.type(e);switch(t){case"Object":var a={};for(var r in e)e.hasOwnProperty(r)&&(a[r]=n.util.clone(e[r]));return a;case"Array":return e.map&&e.map(function(e){return n.util.clone(e)})}return e}},languages:{extend:function(e,t){var a=n.util.clone(n.languages[e]);for(var r in t)a[r]=t[r];return a},insertBefore:function(e,t,a,r){r=r||n.languages;var s=r[e];if(2==arguments.length){a=arguments[1];for(var i in a)a.hasOwnProperty(i)&&(s[i]=a[i]);return s}var l={};for(var o in s)if(s.hasOwnProperty(o)){if(o==t)for(var i in a)a.hasOwnProperty(i)&&(l[i]=a[i]);l[o]=s[o]}return n.languages.DFS(n.languages,function(t,n){n===r[e]&&t!=e&&(this[t]=l)}),r[e]=l},DFS:function(e,t,a,r){r=r||{};for(var s in e)e.hasOwnProperty(s)&&(t.call(e,s,e[s],a||s),"Object"!==n.util.type(e[s])||r[n.util.objId(e[s])]?"Array"!==n.util.type(e[s])||r[n.util.objId(e[s])]||(r[n.util.objId(e[s])]=!0,n.languages.DFS(e[s],t,s,r)):(r[n.util.objId(e[s])]=!0,n.languages.DFS(e[s],t,null,r)))}},plugins:{},highlightAll:function(e,t){var a={callback:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.hooks.run("before-highlightall",a);for(var r,s=a.elements||document.querySelectorAll(a.selector),i=0;r=s[i++];)n.highlightElement(r,e===!0,a.callback)},highlightElement:function(t,a,r){for(var s,i,l=t;l&&!e.test(l.className);)l=l.parentNode;l&&(s=(l.className.match(e)||[,""])[1],i=n.languages[s]),t.className=t.className.replace(e,"").replace(/\s+/g," ")+" language-"+s,l=t.parentNode,/pre/i.test(l.nodeName)&&(l.className=l.className.replace(e,"").replace(/\s+/g," ")+" language-"+s);var o=t.textContent,u={element:t,language:s,grammar:i,code:o};if(!o||!i)return void n.hooks.run("complete",u);if(n.hooks.run("before-highlight",u),a&&_self.Worker){var g=new Worker(n.filename);g.onmessage=function(e){u.highlightedCode=e.data,n.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,r&&r.call(u.element),n.hooks.run("after-highlight",u),n.hooks.run("complete",u)},g.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else u.highlightedCode=n.highlight(u.code,u.grammar,u.language),n.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,r&&r.call(t),n.hooks.run("after-highlight",u),n.hooks.run("complete",u)},highlight:function(e,t,r){var s=n.tokenize(e,t);return a.stringify(n.util.encode(s),r)},tokenize:function(e,t){var a=n.Token,r=[e],s=t.rest;if(s){for(var i in s)t[i]=s[i];delete t.rest}e:for(var i in t)if(t.hasOwnProperty(i)&&t[i]){var l=t[i];l="Array"===n.util.type(l)?l:[l];for(var o=0;o<l.length;++o){var u=l[o],g=u.inside,c=!!u.lookbehind,p=!!u.greedy,d=0,f=u.alias;u=u.pattern||u;for(var h=0;h<r.length;h++){var m=r[h];if(r.length>e.length)break e;if(!(m instanceof a)){u.lastIndex=0;var y=u.exec(m),v=1;if(!y&&p&&h!=r.length-1){var b=r[h+1].matchedStr||r[h+1],k=m+b;if(h<r.length-2&&(k+=r[h+2].matchedStr||r[h+2]),u.lastIndex=0,y=u.exec(k),!y)continue;var w=y.index+(c?y[1].length:0);if(w>=m.length)continue;var P=y.index+y[0].length,_=m.length+b.length;if(v=3,_>=P){if(r[h+1].greedy)continue;v=2,k=k.slice(0,_)}m=k}if(y){c&&(d=y[1].length);var w=y.index+d,y=y[0].slice(d),P=w+y.length,S=m.slice(0,w),x=m.slice(P),B=[h,v];S&&B.push(S);var O=new a(i,g?n.tokenize(y,g):y,f,y,p);B.push(O),x&&B.push(x),Array.prototype.splice.apply(r,B)}}}}}return r},hooks:{all:{},add:function(e,t){var a=n.hooks.all;a[e]=a[e]||[],a[e].push(t)},run:function(e,t){var a=n.hooks.all[e];if(a&&a.length)for(var r,s=0;r=a[s++];)r(t)}}},a=n.Token=function(e,t,n,a,r){this.type=e,this.content=t,this.alias=n,this.matchedStr=a||null,this.greedy=!!r};if(a.stringify=function(e,t,r){if("string"==typeof e)return e;if("Array"===n.util.type(e))return e.map(function(n){return a.stringify(n,t,e)}).join("");var s={type:e.type,content:a.stringify(e.content,t,r),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:r};if("comment"==s.type&&(s.attributes.spellcheck="true"),e.alias){var i="Array"===n.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(s.classes,i)}n.hooks.run("wrap",s);var l="";for(var o in s.attributes)l+=(l?" ":"")+o+'="'+(s.attributes[o]||"")+'"';return"<"+s.tag+' class="'+s.classes.join(" ")+'" '+l+">"+s.content+"</"+s.tag+">"},!_self.document)return _self.addEventListener?(_self.addEventListener("message",function(e){var t=JSON.parse(e.data),a=t.language,r=t.code,s=t.immediateClose;_self.postMessage(n.highlight(r,n.languages[a],a)),s&&_self.close()},!1),_self.Prism):_self.Prism;var r=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return r&&(n.filename=r.src,document.addEventListener&&!r.hasAttribute("data-manual")&&document.addEventListener("DOMContentLoaded",n.highlightAll)),_self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism),Prism.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:/("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/(<style[\w\W]*?>)[\w\W]*?(?=<\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:"language-css"}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').*?\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:Prism.languages.css}},alias:"language-css"}},Prism.languages.markup.tag)),!function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t]+.+)*/m,lookbehind:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,inside:{atrule:/(?:@[\w-]+|[+=])/m}}}),delete e.languages.sass.atrule;var t=/((\$[-_\w]+)|(#\{\$[-_\w]+\}))/i,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|or|not)\b/,{pattern:/(\s+)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s]+.*)/m,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,delete e.languages.sass.selector,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/([ \t]*)\S(?:,?[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,?[^,\r\n]+)*)*/,lookbehind:!0}})}(Prism),Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\w\W]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)*url(?=\()/i,selector:{pattern:/(?=\S)[^@;\{\}\(\)]?([^@;\{\}\(\)]|&|#\{\$[-_\w]+\})+(?=\s*\{(\}|\s|[^\}]+(:|\{)[^\}]+))/m,inside:{placeholder:/%[-_\w]+/}}}),Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.insertBefore("scss","property",{variable:/\$[-_\w]+|#\{\$[-_\w]+\}/}),Prism.languages.insertBefore("scss","function",{placeholder:{pattern:/%[-_\w]+/,alias:"selector"},statement:/\B!(?:default|optional)\b/i,"boolean":/\b(?:true|false)\b/,"null":/\bnull\b/,operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.util.clone(Prism.languages.scss); | ||
var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var u=/\blang(?:uage)?-(\w+)\b/i,t=0,O=_self.Prism={util:{encode:function(e){return e instanceof l?new l(e.type,O.util.encode(e.content),e.alias):"Array"===O.util.type(e)?e.map(O.util.encode):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function(e){switch(O.util.type(e)){case"Object":var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=O.util.clone(e[n]));return t;case"Array":return e.map&&e.map(function(e){return O.util.clone(e)})}return e}},languages:{extend:function(e,t){var n=O.util.clone(O.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(n,e,t,a){var r=(a=a||O.languages)[n];if(2==arguments.length){for(var s in t=e)t.hasOwnProperty(s)&&(r[s]=t[s]);return r}var i={};for(var l in r)if(r.hasOwnProperty(l)){if(l==e)for(var s in t)t.hasOwnProperty(s)&&(i[s]=t[s]);i[l]=r[l]}return O.languages.DFS(O.languages,function(e,t){t===a[n]&&e!=n&&(this[e]=i)}),a[n]=i},DFS:function(e,t,n,a){for(var r in a=a||{},e)e.hasOwnProperty(r)&&(t.call(e,r,e[r],n||r),"Object"!==O.util.type(e[r])||a[O.util.objId(e[r])]?"Array"!==O.util.type(e[r])||a[O.util.objId(e[r])]||(a[O.util.objId(e[r])]=!0,O.languages.DFS(e[r],t,r,a)):(a[O.util.objId(e[r])]=!0,O.languages.DFS(e[r],t,null,a)))}},plugins:{},highlightAll:function(e,t){var n={callback:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};O.hooks.run("before-highlightall",n);for(var a,r=n.elements||document.querySelectorAll(n.selector),s=0;a=r[s++];)O.highlightElement(a,!0===e,n.callback)},highlightElement:function(e,t,n){for(var a,r,s=e;s&&!u.test(s.className);)s=s.parentNode;s&&(a=(s.className.match(u)||[,""])[1],r=O.languages[a]),e.className=e.className.replace(u,"").replace(/\s+/g," ")+" language-"+a,s=e.parentNode,/pre/i.test(s.nodeName)&&(s.className=s.className.replace(u,"").replace(/\s+/g," ")+" language-"+a);var i=e.textContent,l={element:e,language:a,grammar:r,code:i};if(i&&r)if(O.hooks.run("before-highlight",l),t&&_self.Worker){var o=new Worker(O.filename);o.onmessage=function(e){l.highlightedCode=e.data,O.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,n&&n.call(l.element),O.hooks.run("after-highlight",l),O.hooks.run("complete",l)},o.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else l.highlightedCode=O.highlight(l.code,l.grammar,l.language),O.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,n&&n.call(e),O.hooks.run("after-highlight",l),O.hooks.run("complete",l);else O.hooks.run("complete",l)},highlight:function(e,t,n){var a=O.tokenize(e,t);return l.stringify(O.util.encode(a),n)},tokenize:function(e,t){var n=O.Token,a=[e],r=t.rest;if(r){for(var s in r)t[s]=r[s];delete t.rest}e:for(var s in t)if(t.hasOwnProperty(s)&&t[s]){var i=t[s];i="Array"===O.util.type(i)?i:[i];for(var l=0;l<i.length;++l){var o=i[l],u=o.inside,g=!!o.lookbehind,c=!!o.greedy,p=0,d=o.alias;o=o.pattern||o;for(var h=0;h<a.length;h++){var f=a[h];if(a.length>e.length)break e;if(!(f instanceof n)){o.lastIndex=0;var m=1;if(!(P=o.exec(f))&&c&&h!=a.length-1){var y=a[h+1].matchedStr||a[h+1],b=f+y;if(h<a.length-2&&(b+=a[h+2].matchedStr||a[h+2]),o.lastIndex=0,!(P=o.exec(b)))continue;if((w=P.index+(g?P[1].length:0))>=f.length)continue;var v=P.index+P[0].length,k=f.length+y.length;if(m=3,v<=k){if(a[h+1].greedy)continue;m=2,b=b.slice(0,k)}f=b}if(P){g&&(p=P[1].length);v=(w=P.index+p)+(P=P[0].slice(p)).length;var w,P,_=f.slice(0,w),S=f.slice(v),x=[h,m];_&&x.push(_);var B=new n(s,u?O.tokenize(P,u):P,d,P,c);x.push(B),S&&x.push(S),Array.prototype.splice.apply(a,x)}}}}}return a},hooks:{all:{},add:function(e,t){var n=O.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=O.hooks.all[e];if(n&&n.length)for(var a,r=0;a=n[r++];)a(t)}}},l=O.Token=function(e,t,n,a,r){this.type=e,this.content=t,this.alias=n,this.matchedStr=a||null,this.greedy=!!r};if(l.stringify=function(t,n,e){if("string"==typeof t)return t;if("Array"===O.util.type(t))return t.map(function(e){return l.stringify(e,n,t)}).join("");var a={type:t.type,content:l.stringify(t.content,n,e),tag:"span",classes:["token",t.type],attributes:{},language:n,parent:e};if("comment"==a.type&&(a.attributes.spellcheck="true"),t.alias){var r="Array"===O.util.type(t.alias)?t.alias:[t.alias];Array.prototype.push.apply(a.classes,r)}O.hooks.run("wrap",a);var s="";for(var i in a.attributes)s+=(s?" ":"")+i+'="'+(a.attributes[i]||"")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'" '+s+">"+a.content+"</"+a.tag+">"},!_self.document)return _self.addEventListener&&_self.addEventListener("message",function(e){var t=JSON.parse(e.data),n=t.language,a=t.code,r=t.immediateClose;_self.postMessage(O.highlight(a,O.languages[n],n)),r&&_self.close()},!1),_self.Prism;var e=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return e&&(O.filename=e.src,document.addEventListener&&!e.hasAttribute("data-manual")&&document.addEventListener("DOMContentLoaded",O.highlightAll)),_self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism),Prism.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:/("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/(<style[\w\W]*?>)[\w\W]*?(?=<\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:"language-css"}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').*?\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:Prism.languages.css}},alias:"language-css"}},Prism.languages.markup.tag)),function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t]+.+)*/m,lookbehind:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,inside:{atrule:/(?:@[\w-]+|[+=])/m}}}),delete e.languages.sass.atrule;var t=/((\$[-_\w]+)|(#\{\$[-_\w]+\}))/i,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|or|not)\b/,{pattern:/(\s+)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s]+.*)/m,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,delete e.languages.sass.selector,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/([ \t]*)\S(?:,?[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,?[^,\r\n]+)*)*/,lookbehind:!0}})}(Prism),Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\w\W]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)*url(?=\()/i,selector:{pattern:/(?=\S)[^@;\{\}\(\)]?([^@;\{\}\(\)]|&|#\{\$[-_\w]+\})+(?=\s*\{(\}|\s|[^\}]+(:|\{)[^\}]+))/m,inside:{placeholder:/%[-_\w]+/}}}),Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.insertBefore("scss","property",{variable:/\$[-_\w]+|#\{\$[-_\w]+\}/}),Prism.languages.insertBefore("scss","function",{placeholder:{pattern:/%[-_\w]+/,alias:"selector"},statement:/\B!(?:default|optional)\b/i,boolean:/\b(?:true|false)\b/,null:/\bnull\b/,operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.util.clone(Prism.languages.scss); |
@@ -69,3 +69,3 @@ { | ||
}, | ||
"shortcutIcon": "http://ffoodd.github.io/a11y.css/static/favicon.ico" | ||
"shortcutIcon": "https://ffoodd.github.io/a11y.css/static/favicon.ico" | ||
} |
@@ -41,3 +41,3 @@ 'use strict'; | ||
// CSS | ||
gulp.task('css', ['sass'], function () { | ||
gulp.task('css', gulp.series('sass', function () { | ||
return gulp.src(destination + '/**/*.css') | ||
@@ -47,3 +47,3 @@ .pipe(plumber({errorHandler: onError})) | ||
.pipe(gulp.dest(destination)); | ||
}); | ||
})); | ||
@@ -50,0 +50,0 @@ // Watch: build |
function getFileName () { | ||
var base = 'https://rawgit.com/ffoodd/a11y.css/master/css/'; | ||
var base = 'https://ffoodd.github.io/a11y.css/css/'; | ||
var prefix = 'a11y-'; | ||
@@ -20,9 +20,9 @@ var lang = document.getElementById('language').value || 'en'; | ||
'javascript:', | ||
'(function(){', | ||
'a11ycss=document.createElement("LINK");', | ||
'a11ycss.href="' + getFileName() + '";', | ||
'a11ycss.rel="stylesheet";', | ||
'a11ycss.media="(min-width: 800px)";', | ||
'document.body.appendChild(a11ycss);', | ||
'})();' | ||
'(function(){', | ||
'a11ycss=document.createElement("LINK");', | ||
'a11ycss.href="' + getFileName() + '";', | ||
'a11ycss.rel="stylesheet";', | ||
'a11ycss.media="all";', | ||
'document.body.appendChild(a11ycss);', | ||
'})();' | ||
].join(''); | ||
@@ -29,0 +29,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"description": "SassDoc theme for a11y.css", | ||
"version": "0.3.31", | ||
"version": "0.4.0", | ||
"keywords": [ | ||
@@ -12,3 +12,3 @@ "sassdoc-theme" | ||
"name": "Gaël Poupard", | ||
"url": "http://www.ffoodd.fr", | ||
"url": "https://www.ffoodd.fr", | ||
"email": "gael@ffoodd.fr" | ||
@@ -25,4 +25,4 @@ }, | ||
"dependencies": { | ||
"extend": "^1.0.0", | ||
"nunjucks": "^2.4.1", | ||
"extend": "^3.0.2", | ||
"nunjucks": "^3.1.4", | ||
"sassdoc-extras": "^2.0.0" | ||
@@ -34,11 +34,11 @@ }, | ||
"devDependencies": { | ||
"fs-extra": "^0.26.7", | ||
"fs-promise": "^0.5.0", | ||
"gulp": "~3.9.0", | ||
"fs-extra": "^7.0.1", | ||
"fs-promise": "^2.0.3", | ||
"gulp": "^4.0.0", | ||
"gulp-autoprefixer": "latest", | ||
"gulp-plumber": "latest", | ||
"gulp-sass": "^2.2.0", | ||
"gulp-uglify": "^1.5.3", | ||
"gulp-sass": "^4.0.2", | ||
"gulp-uglify": "^3.0.1", | ||
"gulp-util": "latest" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
165299
39
329
+ Addeda-sync-waterfall@1.0.1(transitive)
+ Addedcommander@5.1.0(transitive)
+ Addedextend@3.0.2(transitive)
+ Addednunjucks@3.2.4(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedanymatch@1.3.2(transitive)
- Removedarr-diff@2.0.04.0.0(transitive)
- Removedarr-flatten@1.1.0(transitive)
- Removedarr-union@3.1.0(transitive)
- Removedarray-unique@0.2.10.3.2(transitive)
- Removedassign-symbols@1.0.0(transitive)
- Removedasync-each@1.0.6(transitive)
- Removedatob@2.1.2(transitive)
- Removedbase@0.11.2(transitive)
- Removedbinary-extensions@1.13.1(transitive)
- Removedbindings@1.5.0(transitive)
- Removedbraces@1.8.52.3.2(transitive)
- Removedcache-base@1.0.1(transitive)
- Removedcamelcase@2.1.1(transitive)
- Removedchokidar@1.7.0(transitive)
- Removedclass-utils@0.3.6(transitive)
- Removedcliui@3.2.0(transitive)
- Removedcode-point-at@1.1.0(transitive)
- Removedcollection-visit@1.0.0(transitive)
- Removedcomponent-emitter@1.3.1(transitive)
- Removedcopy-descriptor@0.1.1(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removeddebug@2.6.9(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removeddecode-uri-component@0.2.2(transitive)
- Removeddefine-property@0.2.51.0.02.0.2(transitive)
- Removedexpand-brackets@0.1.52.1.4(transitive)
- Removedexpand-range@1.8.2(transitive)
- Removedextend@1.3.0(transitive)
- Removedextend-shallow@2.0.13.0.2(transitive)
- Removedextglob@0.3.22.0.4(transitive)
- Removedfile-uri-to-path@1.0.0(transitive)
- Removedfilename-regex@2.0.1(transitive)
- Removedfill-range@2.2.44.0.0(transitive)
- Removedfor-in@1.0.2(transitive)
- Removedfor-own@0.1.5(transitive)
- Removedfragment-cache@0.2.1(transitive)
- Removedfsevents@1.2.13(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-value@2.0.6(transitive)
- Removedglob-base@0.3.0(transitive)
- Removedglob-parent@2.0.0(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedhas-value@0.3.11.0.0(transitive)
- Removedhas-values@0.1.41.0.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedinherits@2.0.4(transitive)
- Removedinvert-kv@1.0.0(transitive)
- Removedis-accessor-descriptor@1.0.1(transitive)
- Removedis-binary-path@1.0.1(transitive)
- Removedis-buffer@1.1.6(transitive)
- Removedis-data-descriptor@1.0.1(transitive)
- Removedis-descriptor@0.1.71.0.3(transitive)
- Removedis-dotfile@1.0.3(transitive)
- Removedis-equal-shallow@0.1.3(transitive)
- Removedis-extendable@0.1.11.0.1(transitive)
- Removedis-extglob@1.0.0(transitive)
- Removedis-fullwidth-code-point@1.0.0(transitive)
- Removedis-glob@2.0.1(transitive)
- Removedis-number@2.1.03.0.04.0.0(transitive)
- Removedis-plain-object@2.0.4(transitive)
- Removedis-posix-bracket@0.1.1(transitive)
- Removedis-primitive@2.0.0(transitive)
- Removedis-windows@1.0.2(transitive)
- Removedisarray@1.0.0(transitive)
- Removedisobject@2.1.03.0.1(transitive)
- Removedkind-of@3.2.24.0.06.0.3(transitive)
- Removedlcid@1.0.0(transitive)
- Removedmap-cache@0.2.2(transitive)
- Removedmap-visit@1.0.0(transitive)
- Removedmath-random@1.0.4(transitive)
- Removedmicromatch@2.3.113.1.10(transitive)
- Removedmixin-deep@1.3.2(transitive)
- Removedms@2.0.0(transitive)
- Removednan@2.22.0(transitive)
- Removednanomatch@1.2.13(transitive)
- Removednormalize-path@2.1.1(transitive)
- Removednumber-is-nan@1.0.1(transitive)
- Removednunjucks@2.5.2(transitive)
- Removedobject-copy@0.1.0(transitive)
- Removedobject-visit@1.0.1(transitive)
- Removedobject.omit@2.0.1(transitive)
- Removedobject.pick@1.3.0(transitive)
- Removedos-locale@1.4.0(transitive)
- Removedparse-glob@3.0.4(transitive)
- Removedpascalcase@0.1.1(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedposix-character-classes@0.1.1(transitive)
- Removedpreserve@0.2.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedrandomatic@3.1.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedreaddirp@2.2.1(transitive)
- Removedregex-cache@0.4.4(transitive)
- Removedregex-not@1.0.2(transitive)
- Removedremove-trailing-separator@1.1.0(transitive)
- Removedrepeat-element@1.1.4(transitive)
- Removedrepeat-string@1.6.1(transitive)
- Removedresolve-url@0.2.1(transitive)
- Removedret@0.1.15(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedsafe-regex@1.1.0(transitive)
- Removedset-value@2.0.1(transitive)
- Removedsnapdragon@0.8.2(transitive)
- Removedsnapdragon-node@2.1.1(transitive)
- Removedsnapdragon-util@3.0.1(transitive)
- Removedsource-map@0.5.7(transitive)
- Removedsource-map-resolve@0.5.3(transitive)
- Removedsource-map-url@0.4.1(transitive)
- Removedsplit-string@3.1.0(transitive)
- Removedstatic-extend@0.1.2(transitive)
- Removedstring-width@1.0.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedto-object-path@0.3.0(transitive)
- Removedto-regex@3.0.2(transitive)
- Removedto-regex-range@2.1.1(transitive)
- Removedunion-value@1.0.1(transitive)
- Removedunset-value@1.0.0(transitive)
- Removedurix@0.1.0(transitive)
- Removeduse@3.1.1(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwindow-size@0.1.4(transitive)
- Removedwrap-ansi@2.1.0(transitive)
- Removedy18n@3.2.2(transitive)
- Removedyargs@3.32.0(transitive)
Updatedextend@^3.0.2
Updatednunjucks@^3.1.4