us_web_design_standards 0.0.0 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +37 -4
- data/app/assets/fonts/merriweather-bold-webfont.eot +0 -0
- data/app/assets/fonts/merriweather-bold-webfont.svg +294 -0
- data/app/assets/fonts/merriweather-bold-webfont.ttf +0 -0
- data/app/assets/fonts/merriweather-bold-webfont.woff +0 -0
- data/app/assets/fonts/merriweather-bold-webfont.woff2 +0 -0
- data/app/assets/fonts/merriweather-italic-webfont.eot +0 -0
- data/app/assets/fonts/merriweather-italic-webfont.svg +283 -0
- data/app/assets/fonts/merriweather-italic-webfont.ttf +0 -0
- data/app/assets/fonts/merriweather-italic-webfont.woff +0 -0
- data/app/assets/fonts/merriweather-italic-webfont.woff2 +0 -0
- data/app/assets/fonts/merriweather-light-webfont.eot +0 -0
- data/app/assets/fonts/merriweather-light-webfont.svg +299 -0
- data/app/assets/fonts/merriweather-light-webfont.ttf +0 -0
- data/app/assets/fonts/merriweather-light-webfont.woff +0 -0
- data/app/assets/fonts/merriweather-light-webfont.woff2 +0 -0
- data/app/assets/fonts/merriweather-regular-webfont.eot +0 -0
- data/app/assets/fonts/merriweather-regular-webfont.svg +294 -0
- data/app/assets/fonts/merriweather-regular-webfont.ttf +0 -0
- data/app/assets/fonts/merriweather-regular-webfont.woff +0 -0
- data/app/assets/fonts/merriweather-regular-webfont.woff2 +0 -0
- data/app/assets/fonts/sourcesanspro-bold-webfont.eot +0 -0
- data/app/assets/fonts/sourcesanspro-bold-webfont.svg +965 -0
- data/app/assets/fonts/sourcesanspro-bold-webfont.ttf +0 -0
- data/app/assets/fonts/sourcesanspro-bold-webfont.woff +0 -0
- data/app/assets/fonts/sourcesanspro-bold-webfont.woff2 +0 -0
- data/app/assets/fonts/sourcesanspro-italic-webfont.eot +0 -0
- data/app/assets/fonts/sourcesanspro-italic-webfont.svg +853 -0
- data/app/assets/fonts/sourcesanspro-italic-webfont.ttf +0 -0
- data/app/assets/fonts/sourcesanspro-italic-webfont.woff +0 -0
- data/app/assets/fonts/sourcesanspro-italic-webfont.woff2 +0 -0
- data/app/assets/fonts/sourcesanspro-light-webfont.eot +0 -0
- data/app/assets/fonts/sourcesanspro-light-webfont.svg +915 -0
- data/app/assets/fonts/sourcesanspro-light-webfont.ttf +0 -0
- data/app/assets/fonts/sourcesanspro-light-webfont.woff +0 -0
- data/app/assets/fonts/sourcesanspro-light-webfont.woff2 +0 -0
- data/app/assets/fonts/sourcesanspro-regular-webfont.eot +0 -0
- data/app/assets/fonts/sourcesanspro-regular-webfont.svg +989 -0
- data/app/assets/fonts/sourcesanspro-regular-webfont.ttf +0 -0
- data/app/assets/fonts/sourcesanspro-regular-webfont.woff +0 -0
- data/app/assets/fonts/sourcesanspro-regular-webfont.woff2 +0 -0
- data/app/assets/images/alerts/error.png +0 -0
- data/app/assets/images/alerts/error.svg +17 -0
- data/app/assets/images/alerts/info.png +0 -0
- data/app/assets/images/alerts/info.svg +18 -0
- data/app/assets/images/alerts/success.png +0 -0
- data/app/assets/images/alerts/success.svg +12 -0
- data/app/assets/images/alerts/warning.png +0 -0
- data/app/assets/images/alerts/warning.svg +16 -0
- data/app/assets/images/arrow-down.png +0 -0
- data/app/assets/images/arrow-down.svg +1 -0
- data/app/assets/images/arrow-right.png +0 -0
- data/app/assets/images/arrow-right.svg +1 -0
- data/app/assets/images/correct8.png +0 -0
- data/app/assets/images/correct8.svg +1 -0
- data/app/assets/images/correct9.png +0 -0
- data/app/assets/images/correct9.svg +1 -0
- data/app/assets/images/favicons/favicon-114.png +0 -0
- data/app/assets/images/favicons/favicon-144.png +0 -0
- data/app/assets/images/favicons/favicon-16.png +0 -0
- data/app/assets/images/favicons/favicon-192.png +0 -0
- data/app/assets/images/favicons/favicon-57.png +0 -0
- data/app/assets/images/favicons/favicon-72.png +0 -0
- data/app/assets/images/favicons/favicon.ico +0 -0
- data/app/assets/images/favicons/favicon.png +0 -0
- data/app/assets/images/logo-img.png +0 -0
- data/app/assets/images/minus.png +0 -0
- data/app/assets/images/minus.svg +1 -0
- data/app/assets/images/plus.png +0 -0
- data/app/assets/images/plus.svg +1 -0
- data/app/assets/images/search.png +0 -0
- data/app/assets/images/search.svg +1 -0
- data/app/assets/images/social-icons/png/facebook25.png +0 -0
- data/app/assets/images/social-icons/png/rss25.png +0 -0
- data/app/assets/images/social-icons/png/twitter16.png +0 -0
- data/app/assets/images/social-icons/png/youtube15.png +0 -0
- data/app/assets/images/social-icons/svg/facebook25.svg +1 -0
- data/app/assets/images/social-icons/svg/rss25.svg +1 -0
- data/app/assets/images/social-icons/svg/twitter16.svg +1 -0
- data/app/assets/images/social-icons/svg/youtube15.svg +1 -0
- data/app/assets/images/us_flag_small.png +0 -0
- data/app/assets/javascript/components.js +376 -0
- data/app/assets/javascript/vendor/html5shiv.js +301 -0
- data/app/assets/javascript/vendor/jquery-1.11.3.min.js +5 -0
- data/app/assets/javascript/vendor/jquery-1.11.3.min.map +1 -0
- data/app/assets/javascript/vendor/rem.min.js +7 -0
- data/app/assets/javascript/vendor/respond.js +341 -0
- data/app/assets/javascript/vendor/selectivizr-min.js +22 -0
- data/app/assets/stylesheets/components/_accordions.scss +95 -0
- data/app/assets/stylesheets/components/_alerts.scss +78 -0
- data/app/assets/stylesheets/components/_disclaimer.scss +25 -0
- data/app/assets/stylesheets/components/_footer.scss +292 -0
- data/app/assets/stylesheets/components/_forms.scss +179 -0
- data/app/assets/stylesheets/components/_search.scss +101 -0
- data/app/assets/stylesheets/components/_sidenav.scss +78 -0
- data/app/assets/stylesheets/components/_skipnav.scss +24 -0
- data/app/assets/stylesheets/core/_base.scss +24 -0
- data/app/assets/stylesheets/core/_defaults.scss +92 -0
- data/app/assets/stylesheets/core/_grid-settings.scss +10 -0
- data/app/assets/stylesheets/core/_grid.scss +116 -0
- data/app/assets/stylesheets/core/_utilities.scss +105 -0
- data/app/assets/stylesheets/core/_variables.scss +88 -0
- data/app/assets/stylesheets/elements/_buttons.scss +187 -0
- data/app/assets/stylesheets/elements/_figure.scss +9 -0
- data/app/assets/stylesheets/elements/_inputs.scss +328 -0
- data/app/assets/stylesheets/elements/_labels.scss +39 -0
- data/app/assets/stylesheets/elements/_list.scss +82 -0
- data/app/assets/stylesheets/elements/_table.scss +39 -0
- data/app/assets/stylesheets/elements/_typography.scss +220 -0
- data/app/assets/stylesheets/lib/_normalize.scss +427 -0
- data/app/assets/stylesheets/lib/bourbon/_bourbon-deprecated-upcoming.scss +411 -0
- data/app/assets/stylesheets/lib/bourbon/_bourbon.scss +87 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_border-color.scss +26 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_border-radius.scss +48 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_border-style.scss +25 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_border-width.scss +25 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_buttons.scss +64 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_clearfix.scss +25 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_ellipsis.scss +30 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_font-stacks.scss +31 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_hide-text.scss +27 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_margin.scss +26 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_padding.scss +26 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_position.scss +48 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_prefixer.scss +66 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_retina-image.scss +25 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_size.scss +51 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_text-inputs.scss +112 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_timing-functions.scss +34 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_triangle.scss +63 -0
- data/app/assets/stylesheets/lib/bourbon/addons/_word-wrap.scss +29 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_animation.scss +43 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_appearance.scss +3 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_backface-visibility.scss +3 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_background-image.scss +42 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_background.scss +55 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_border-image.scss +59 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_calc.scss +4 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_columns.scss +47 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_filter.scss +4 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_flex-box.scss +287 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_font-face.scss +24 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_font-feature-settings.scss +4 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_hidpi-media-query.scss +10 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_hyphens.scss +4 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_image-rendering.scss +14 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_keyframes.scss +36 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_linear-gradient.scss +38 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_perspective.scss +8 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_placeholder.scss +8 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_radial-gradient.scss +39 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_selection.scss +42 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_text-decoration.scss +19 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_transform.scss +15 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_transition.scss +71 -0
- data/app/assets/stylesheets/lib/bourbon/css3/_user-select.scss +3 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_assign-inputs.scss +11 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_contains-falsy.scss +20 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_contains.scss +26 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_is-length.scss +11 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_is-light.scss +21 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_is-number.scss +11 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_is-size.scss +13 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_modular-scale.scss +69 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_px-to-em.scss +13 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_px-to-rem.scss +15 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_shade.scss +24 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_strip-units.scss +17 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_tint.scss +24 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_transition-property-name.scss +22 -0
- data/app/assets/stylesheets/lib/bourbon/functions/_unpack.scss +27 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_convert-units.scss +21 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_directional-values.scss +96 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_font-source-declaration.scss +43 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_gradient-positions-parser.scss +13 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_linear-angle-parser.scss +25 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_linear-gradient-parser.scss +41 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_linear-positions-parser.scss +61 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_linear-side-corner-parser.scss +31 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_radial-arg-parser.scss +69 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_radial-gradient-parser.scss +50 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_radial-positions-parser.scss +18 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_render-gradients.scss +26 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_shape-size-stripper.scss +10 -0
- data/app/assets/stylesheets/lib/bourbon/helpers/_str-to-num.scss +50 -0
- data/app/assets/stylesheets/lib/bourbon/settings/_asset-pipeline.scss +7 -0
- data/app/assets/stylesheets/lib/bourbon/settings/_prefixer.scss +9 -0
- data/app/assets/stylesheets/lib/bourbon/settings/_px-to-em.scss +1 -0
- data/app/assets/stylesheets/lib/neat/_neat-helpers.scss +8 -0
- data/app/assets/stylesheets/lib/neat/_neat.scss +23 -0
- data/app/assets/stylesheets/lib/neat/functions/_new-breakpoint.scss +49 -0
- data/app/assets/stylesheets/lib/neat/functions/_private.scss +114 -0
- data/app/assets/stylesheets/lib/neat/grid/_box-sizing.scss +15 -0
- data/app/assets/stylesheets/lib/neat/grid/_direction-context.scss +33 -0
- data/app/assets/stylesheets/lib/neat/grid/_display-context.scss +28 -0
- data/app/assets/stylesheets/lib/neat/grid/_fill-parent.scss +22 -0
- data/app/assets/stylesheets/lib/neat/grid/_media.scss +92 -0
- data/app/assets/stylesheets/lib/neat/grid/_omega.scss +87 -0
- data/app/assets/stylesheets/lib/neat/grid/_outer-container.scss +38 -0
- data/app/assets/stylesheets/lib/neat/grid/_pad.scss +25 -0
- data/app/assets/stylesheets/lib/neat/grid/_private.scss +35 -0
- data/app/assets/stylesheets/lib/neat/grid/_row.scss +52 -0
- data/app/assets/stylesheets/lib/neat/grid/_shift.scss +50 -0
- data/app/assets/stylesheets/lib/neat/grid/_span-columns.scss +94 -0
- data/app/assets/stylesheets/lib/neat/grid/_to-deprecate.scss +97 -0
- data/app/assets/stylesheets/lib/neat/grid/_visual-grid.scss +42 -0
- data/app/assets/stylesheets/lib/neat/settings/_disable-warnings.scss +13 -0
- data/app/assets/stylesheets/lib/neat/settings/_grid.scss +51 -0
- data/app/assets/stylesheets/lib/neat/settings/_visual-grid.scss +27 -0
- data/app/assets/stylesheets/us_web_design_standards.scss +39 -0
- data/app/assets/stylesheets/us_web_design_standards_fonts.css +102 -0
- data/assets/_scss/us_web_design_standards.scss +24 -24
- data/lib/us_web_design_standards.rb +10 -0
- data/lib/us_web_design_standards/assets.rb +14 -11
- data/lib/us_web_design_standards/generator.rb +8 -5
- data/lib/us_web_design_standards/version.rb +1 -1
- metadata +226 -3
- data/assets/css/normalize.min.css +0 -1
@@ -0,0 +1,22 @@
|
|
1
|
+
/*!
|
2
|
+
selectivizr v1.0.3b - (c) Keith Clark, freely distributable under the terms
|
3
|
+
of the MIT license.
|
4
|
+
|
5
|
+
selectivizr.com
|
6
|
+
*/
|
7
|
+
(function(M){var N=navigator.userAgent.match(/MSIE (\d+)/);if(!N){return false}var m=document;var y=m.documentElement;var Y=t();var x=N[1];if(m.compatMode!="CSS1Compat"||x<6||x>8||!Y){return}var B={NW:"*.Dom.select",MooTools:"$$",DOMAssistant:"*.$",Prototype:"$$",YAHOO:"*.util.Selector.query",Sizzle:"*",jQuery:"*",dojo:"*.query"};var w;var X=[];var z=[];var C=0;var d=true;var L="slvzr";var b=/(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)\s*?/g;var q=/@import\s*(?:(?:(?:url\(\s*(['"]?)(.*)\1)\s*\))|(?:(['"])(.*)\3))\s*([^;]*);/g;var E=/(behavior\s*?:\s*)?\burl\(\s*(["']?)(?!data:)([^"')]+)\2\s*\)/g;var F=/^:(empty|(first|last|only|nth(-last)?)-(child|of-type))$/;var V=/:(:first-(?:line|letter))/g;var G=/((?:^|(?:\s*})+)(?:\s*@media[^{]+{)?)\s*([^\{]*?[\[:][^{]+)/g;var D=/([ +~>])|(:[a-z-]+(?:\(.*?\)+)?)|(\[.*?\])/g;var K=/(:not\()?:(hover|enabled|disabled|focus|checked|target|active|visited|first-line|first-letter)\)?/g;var aa=/[^\w-]/g;var r=/^(INPUT|SELECT|TEXTAREA|BUTTON)$/;var p=/^(checkbox|radio)$/;var v=x>6?/[\$\^*]=(['"])\1/:null;var e=/([(\[+~])\s+/g;var O=/\s+([)\]+~])/g;var s=/\s+/g;var c=/^\s*((?:[\S\s]*\S)?)\s*$/;var u="";var o=" ";var Z="$1";function W(ab){return ab.replace(V,Z).replace(G,function(ad,ai,ah){var ae=ah.split(",");for(var aj=0,ag=ae.length;aj<ag;aj++){var ac=i(ae[aj])+o;var af=[];ae[aj]=ac.replace(D,function(al,an,ao,am,ak){if(an){if(af.length>0){z.push({selector:ac.substring(0,ak),patches:af});af=[]}return an}else{var ap=(ao)?A(ao):U(am);if(ap){af.push(ap);return"."+ap.className}return al}})}return ai+ae.join(",")})}function U(ab){return(!v||v.test(ab))?{className:H(ab),applyClass:true}:null}function A(ag){var af=true;var ae=H(ag.slice(1));var ad=ag.substring(0,5)==":not(";var ac;var ah;if(ad){ag=ag.slice(5,-1)}var ab=ag.indexOf("(");if(ab>-1){ag=ag.substring(0,ab)}if(ag.charAt(0)==":"){switch(ag.slice(1)){case"root":af=function(ai){return ad?ai!=y:ai==y};break;case"target":if(x==8){af=function(aj){var ai=function(){var al=location.hash;var ak=al.slice(1);return ad?(al==u||aj.id!=ak):(al!=u&&aj.id==ak)};n(M,"hashchange",function(){I(aj,ae,ai())});return ai()};break}return false;case"checked":af=function(ai){if(p.test(ai.type)){n(ai,"propertychange",function(){if(event.propertyName=="checked"){I(ai,ae,ai.checked!==ad)}})}return ai.checked!==ad};break;case"disabled":ad=!ad;case"enabled":af=function(ai){if(r.test(ai.tagName)){n(ai,"propertychange",function(){if(event.propertyName=="$disabled"){I(ai,ae,ai.$disabled===ad)}});X.push(ai);ai.$disabled=ai.disabled;return ai.disabled===ad}return ag==":enabled"?ad:!ad};break;case"focus":ac="focus";ah="blur";case"hover":if(!ac){ac="mouseenter";ah="mouseleave"}af=function(ai){n(ai,ad?ah:ac,function(){I(ai,ae,true)});n(ai,ad?ac:ah,function(){I(ai,ae,false)});return ad};break;default:if(!F.test(ag)){return false}break}}return{className:ae,applyClass:af}}function R(){var ae,ab,ac,aj;for(var am=0;am<z.length;am++){ab=z[am].selector;ac=z[am].patches;aj=ab.replace(K,u);if(aj==u||aj.charAt(aj.length-1)==o){aj+="*"}try{ae=w(aj)}catch(al){}if(ae){for(var ak=0,af=ae.length;ak<af;ak++){var ai=ae[ak];var ah=ai.className;for(var ag=0,an=ac.length;ag<an;ag++){var ad=ac[ag];if(!P(ai,ad)){if(ad.applyClass&&(ad.applyClass===true||ad.applyClass(ai)===true)){ah=g(ah,ad.className,true)}}}ai.className=ah}}}}function P(ac,ab){return new RegExp("(^|\\s)"+ab.className+"(\\s|$)").test(ac.className)}function H(ab){return L+"-"+((x==6&&d)?C++:ab.replace(aa,function(ac){return ac.charCodeAt(0)}))}function a(ab){return ab.replace(c,Z)}function l(ab){return a(ab).replace(s,o)}function i(ab){return l(ab.replace(e,Z).replace(O,Z))}function I(af,ae,ab){var ad=af.className;var ac=g(ad,ae,ab);if(ac!=ad){af.className=ac;af.parentNode.className+=u}}function g(ae,ad,ab){var ac=RegExp("(^|\\s)"+ad+"(\\s|$)");var af=ac.test(ae);if(ab){return af?ae:ae+o+ad}else{return af?a(ae.replace(ac,Z)):ae}}function n(ad,ab,ac){ad.attachEvent("on"+ab,ac)}function t(){if(M.XMLHttpRequest){return new XMLHttpRequest}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(ab){return null}}function k(ab){Y.open("GET",ab,false);Y.send();return(Y.status==200)?Y.responseText:u}function J(ad,ac,af){function ae(ah){return ah.substring(0,ah.indexOf("//"))}function ag(ah){return ah.substring(0,ah.indexOf("/",8))}if(!ac){ac=j}if(ad.substring(0,2)=="//"){ad=ae(ac)+ad}if(/^https?:\/\//i.test(ad)){return !af&&ag(ac)!=ag(ad)?null:ad}if(ad.charAt(0)=="/"){return ag(ac)+ad}var ab=ac.split(/[?#]/)[0];if(ad.charAt(0)!="?"&&ab.charAt(ab.length-1)!="/"){ab=ab.substring(0,ab.lastIndexOf("/")+1)}return ab+ad}function Q(ab){if(ab){return k(ab).replace(b,u).replace(q,function(af,ag,ac,ae,ad,ai){var ah=Q(J(ac||ad,ab));return(ai)?"@media "+ai+" {"+ah+"}":ah}).replace(E,function(ad,af,ae,ac){ae=ae||u;return af?ad:" url("+ae+J(ac,ab,true)+ae+") "})}return u}function h(){var ab,ac;for(var ad=0;ad<m.styleSheets.length;ad++){ac=m.styleSheets[ad];if(ac.href!=u){ab=J(ac.href);if(ab){ac.cssText=ac.rawCssText=W(Q(ab))}}}}function S(){R();if(X.length>0){setInterval(function(){for(var ad=0,ab=X.length;ad<ab;ad++){var ac=X[ad];if(ac.disabled!==ac.$disabled){if(ac.disabled){ac.disabled=false;ac.$disabled=true;ac.disabled=true}else{ac.$disabled=ac.disabled}}}},250)}}var f=m.getElementsByTagName("BASE");var j=(f.length>0)?f[0].href:m.location.href;h();T(M,function(){for(var ad in B){var ab,ae,ac=M;if(M[ad]){ab=B[ad].replace("*",ad).split(".");while((ae=ab.shift())&&(ac=ac[ae])){}if(typeof ac=="function"){w=ac;S();return}}}});
|
8
|
+
/*!
|
9
|
+
* ContentLoaded.js by Diego Perini, modified for IE<9 only (to save space)
|
10
|
+
*
|
11
|
+
* Author: Diego Perini (diego.perini at gmail.com)
|
12
|
+
* Summary: cross-browser wrapper for DOMContentLoaded
|
13
|
+
* Updated: 20101020
|
14
|
+
* License: MIT
|
15
|
+
* Version: 1.2
|
16
|
+
*
|
17
|
+
* URL:
|
18
|
+
* http://javascript.nwbox.com/ContentLoaded/
|
19
|
+
* http://javascript.nwbox.com/ContentLoaded/MIT-LICENSE
|
20
|
+
*
|
21
|
+
*/
|
22
|
+
;function T(af,ac){var ab=false,ae=true,ah=function(ai){if(ai.type=="readystatechange"&&m.readyState!="complete"){return}(ai.type=="load"?af:m).detachEvent("on"+ai.type,ah,false);if(!ab&&(ab=true)){ac.call(af,ai.type||ai)}},ag=function(){try{y.doScroll("left")}catch(ai){setTimeout(ag,50);return}ah("poll")};if(m.readyState=="complete"){ac.call(af,u)}else{if(m.createEventObject&&y.doScroll){try{ae=!af.frameElement}catch(ad){}if(ae){ag()}}n(m,"readystatechange",ah);n(af,"load",ah)}}})(this);
|
@@ -0,0 +1,95 @@
|
|
1
|
+
// Variables
|
2
|
+
|
3
|
+
$accordion-border: 3px solid $color-gray-lightest;
|
4
|
+
|
5
|
+
// Accordion Styles
|
6
|
+
|
7
|
+
.usa-accordion,
|
8
|
+
.usa-accordion-bordered {
|
9
|
+
|
10
|
+
+ .usa-accordion,
|
11
|
+
+ .usa-accordion-bordered {
|
12
|
+
margin-top: 1rem;
|
13
|
+
}
|
14
|
+
|
15
|
+
> ul {
|
16
|
+
color: $color-base;
|
17
|
+
margin: 0;
|
18
|
+
padding: 0;
|
19
|
+
width: 100%;
|
20
|
+
|
21
|
+
> li {
|
22
|
+
background-color: $color-gray-lightest;
|
23
|
+
font-family: $font-sans;
|
24
|
+
list-style: none;
|
25
|
+
margin-bottom: 6px;
|
26
|
+
width: 100%;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
button[aria-expanded=false] {
|
31
|
+
background-image: url('../img/plus.png');
|
32
|
+
background-image: url('../img/plus.svg');
|
33
|
+
background-repeat: no-repeat;
|
34
|
+
background-size: 1.3rem;
|
35
|
+
}
|
36
|
+
|
37
|
+
button {
|
38
|
+
background-color: $color-gray-lightest;
|
39
|
+
background-image: url('../img/minus.png');
|
40
|
+
background-image: url('../img/minus.svg');
|
41
|
+
background-position: right 3rem center;
|
42
|
+
background-repeat: no-repeat;
|
43
|
+
background-size: 13px;
|
44
|
+
color: $color-base;
|
45
|
+
cursor: pointer;
|
46
|
+
display: inline-block;
|
47
|
+
font-family: $font-sans;
|
48
|
+
margin: 0;
|
49
|
+
padding: {
|
50
|
+
bottom: 1.5rem;
|
51
|
+
left: 3rem;
|
52
|
+
right: 5.5rem;
|
53
|
+
top: 1.5rem;
|
54
|
+
}
|
55
|
+
width: 100%;
|
56
|
+
|
57
|
+
&:focus {
|
58
|
+
box-shadow: $focus-shadow;
|
59
|
+
}
|
60
|
+
|
61
|
+
&:hover {
|
62
|
+
background-color: $color-gray-lighter;
|
63
|
+
color: $color-base;
|
64
|
+
}
|
65
|
+
|
66
|
+
h1, h2, h3, h4, h5, h6 {
|
67
|
+
margin: 0;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
.usa-accordion-bordered {
|
73
|
+
.usa-accordion-content {
|
74
|
+
border: {
|
75
|
+
bottom: $accordion-border;
|
76
|
+
left: $accordion-border;
|
77
|
+
right: $accordion-border;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
.usa-accordion-content {
|
83
|
+
display: block;
|
84
|
+
background-color: white;
|
85
|
+
overflow: auto;
|
86
|
+
padding: 3rem;
|
87
|
+
|
88
|
+
> *:first-child {
|
89
|
+
margin-top: 0;
|
90
|
+
}
|
91
|
+
|
92
|
+
> *:last-child {
|
93
|
+
margin-bottom: 0;
|
94
|
+
}
|
95
|
+
}
|
@@ -0,0 +1,78 @@
|
|
1
|
+
.usa-alert {
|
2
|
+
@include media($medium-screen) {
|
3
|
+
background-size: 5.2rem;
|
4
|
+
}
|
5
|
+
background-color: #eeeeee;
|
6
|
+
background-position: 1rem 2rem;
|
7
|
+
background-repeat: no-repeat;
|
8
|
+
background-size: 4rem;
|
9
|
+
margin-top: 1.5em;
|
10
|
+
padding: 1em;
|
11
|
+
|
12
|
+
ul {
|
13
|
+
margin: {
|
14
|
+
bottom: 0;
|
15
|
+
top: 1em;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
.usa-alert-icon {
|
21
|
+
display: table-cell;
|
22
|
+
padding-right: 1rem;
|
23
|
+
}
|
24
|
+
|
25
|
+
.usa-alert-body {
|
26
|
+
@include media($medium-screen) {
|
27
|
+
padding-left: 5rem;
|
28
|
+
}
|
29
|
+
display: table-cell;
|
30
|
+
padding-left: 3.5rem;
|
31
|
+
vertical-align: top;
|
32
|
+
}
|
33
|
+
|
34
|
+
.usa-alert-heading {
|
35
|
+
@include media($medium-screen) {
|
36
|
+
margin-top: .3rem;
|
37
|
+
}
|
38
|
+
margin: {
|
39
|
+
bottom: .3rem;
|
40
|
+
top: 0;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.usa-alert-text {
|
45
|
+
font-family: $font-sans;
|
46
|
+
margin: {
|
47
|
+
bottom: 0;
|
48
|
+
top: 0;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.usa-alert-success {
|
53
|
+
background-color: #E5FCDE;
|
54
|
+
background-image: url('../img/alerts/success.png');
|
55
|
+
background-image: url('../img/alerts/success.svg');
|
56
|
+
}
|
57
|
+
|
58
|
+
.usa-alert-warning {
|
59
|
+
background-color: #FDF7DC;
|
60
|
+
background-image: url('../img/alerts/warning.png');
|
61
|
+
background-image: url('../img/alerts/warning.svg');
|
62
|
+
}
|
63
|
+
|
64
|
+
.usa-alert-error {
|
65
|
+
background-color: #F9DEDE;
|
66
|
+
background-image: url('../img/alerts/error.png');
|
67
|
+
background-image: url('../img/alerts/error.svg');
|
68
|
+
}
|
69
|
+
|
70
|
+
.usa-alert-info {
|
71
|
+
background-color: #E8F5FA;
|
72
|
+
background-image: url('../img/alerts/info.png');
|
73
|
+
background-image: url('../img/alerts/info.svg');
|
74
|
+
}
|
75
|
+
|
76
|
+
.usa-alert-no_icon {
|
77
|
+
background-image: none;
|
78
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
.usa-disclaimer {
|
2
|
+
@include media($small-screen) {
|
3
|
+
font-size: $h5-font-size;
|
4
|
+
}
|
5
|
+
background-color: $color-gray-lightest;
|
6
|
+
font-size: $h6-font-size;
|
7
|
+
padding: {
|
8
|
+
bottom: .5rem;
|
9
|
+
top: .5rem;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
// This hides the stage note (i.e. alpha, beta, etc) of the disclaimer for
|
14
|
+
// anything smaller than large screen sizes
|
15
|
+
.usa-disclaimer-stage {
|
16
|
+
@include media($large-screen) {
|
17
|
+
display: block;
|
18
|
+
}
|
19
|
+
display: none;
|
20
|
+
float: right;
|
21
|
+
}
|
22
|
+
|
23
|
+
.usa-flag_icon {
|
24
|
+
margin-right: .2rem;
|
25
|
+
}
|
@@ -0,0 +1,292 @@
|
|
1
|
+
.usa-footer {
|
2
|
+
.usa-unstyled-list {
|
3
|
+
display: block;
|
4
|
+
}
|
5
|
+
|
6
|
+
.usa-footer-primary-link {
|
7
|
+
@include media($medium-screen) {
|
8
|
+
border-top: none;
|
9
|
+
}
|
10
|
+
color: $color-base;
|
11
|
+
display: block;
|
12
|
+
font-weight: $font-bold;
|
13
|
+
margin-top: 0;
|
14
|
+
padding: {
|
15
|
+
bottom: 2rem;
|
16
|
+
top: 2rem;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
a {
|
21
|
+
font-weight: normal;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
.usa-footer-return-to-top {
|
26
|
+
padding: {
|
27
|
+
bottom: 2rem;
|
28
|
+
top: 2rem;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
.usa-footer-primary-section {
|
33
|
+
background-color: $color-gray-lightest;
|
34
|
+
|
35
|
+
.usa-footer-primary-content {
|
36
|
+
padding: {
|
37
|
+
left: 2.5rem;
|
38
|
+
right: 2.5rem;
|
39
|
+
}
|
40
|
+
|
41
|
+
li {
|
42
|
+
@include media($medium-screen) {
|
43
|
+
margin-left: 0;
|
44
|
+
}
|
45
|
+
margin-left: 1rem;
|
46
|
+
}
|
47
|
+
|
48
|
+
@include media($medium-screen) {
|
49
|
+
padding: {
|
50
|
+
left: 0;
|
51
|
+
right: 0;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.usa-grid-full {
|
57
|
+
@include media($medium-screen) {
|
58
|
+
padding: {
|
59
|
+
left: 2.5rem;
|
60
|
+
right: 2.5rem;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
.width-one-sixth {
|
67
|
+
@include media($medium) {
|
68
|
+
@include span-columns(2);
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
.usa-footer-medium {
|
73
|
+
.usa-footer-primary-section {
|
74
|
+
padding: 0;
|
75
|
+
|
76
|
+
@include media($medium-screen) {
|
77
|
+
padding: {
|
78
|
+
top: 1rem;
|
79
|
+
bottom: 1rem;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
.usa-footer-nav ul {
|
85
|
+
@include media($medium-screen) {
|
86
|
+
align-items: center;
|
87
|
+
display: flex;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
.usa-footer-slim {
|
93
|
+
|
94
|
+
.usa-footer-nav a {
|
95
|
+
display: block;
|
96
|
+
}
|
97
|
+
|
98
|
+
.usa-footer-primary-section {
|
99
|
+
padding-bottom: 2rem;
|
100
|
+
|
101
|
+
@include media($medium-screen) {
|
102
|
+
padding: {
|
103
|
+
bottom: 1rem;
|
104
|
+
top: 1rem;
|
105
|
+
}
|
106
|
+
|
107
|
+
.usa-grid-full {
|
108
|
+
align-items: center;
|
109
|
+
display: flex;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
ul.usa-footer-primary-content,
|
116
|
+
li.usa-footer-primary-content,
|
117
|
+
li.usa-footer-primary-content {
|
118
|
+
border-top: 1px solid $color-base;
|
119
|
+
|
120
|
+
&:last-child {
|
121
|
+
border-bottom: 1px solid $color-base;
|
122
|
+
@include media($medium-screen) {
|
123
|
+
border-bottom: none;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
@include media($medium-screen) {
|
128
|
+
border: none;
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
.usa-sign_up-block {
|
133
|
+
padding: {
|
134
|
+
bottom: 2rem;
|
135
|
+
left: 2.5rem;
|
136
|
+
right: 2.5rem;
|
137
|
+
}
|
138
|
+
|
139
|
+
label:first-of-type {
|
140
|
+
margin-top: 0;
|
141
|
+
}
|
142
|
+
|
143
|
+
button {
|
144
|
+
float: none;
|
145
|
+
margin: {
|
146
|
+
right: 0;
|
147
|
+
top: 1.5rem;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
input {
|
152
|
+
width: 100%;
|
153
|
+
}
|
154
|
+
|
155
|
+
@include media($medium-screen) {
|
156
|
+
float: right;
|
157
|
+
padding: 0;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
.usa-footer-secondary_section {
|
162
|
+
background-color: $color-gray-lighter;
|
163
|
+
padding: {
|
164
|
+
top: 3rem;
|
165
|
+
bottom: 3rem;
|
166
|
+
}
|
167
|
+
|
168
|
+
a {
|
169
|
+
color: $color-base;
|
170
|
+
}
|
171
|
+
}
|
172
|
+
|
173
|
+
.usa-footer-big-secondary-section {
|
174
|
+
@include media($medium-screen) {
|
175
|
+
padding-top: 5rem;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
.usa-footer-contact-links {
|
180
|
+
@include media($medium-screen) {
|
181
|
+
text-align: right;
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
.usa-footer-big {
|
186
|
+
.usa-footer-primary-section {
|
187
|
+
@include media($medium-screen) {
|
188
|
+
padding: {
|
189
|
+
top: 3rem;
|
190
|
+
bottom: 4rem;
|
191
|
+
}
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
195
|
+
ul {
|
196
|
+
padding-bottom: 2.5rem;
|
197
|
+
|
198
|
+
&:last-child {
|
199
|
+
border-bottom: 1px solid $color-base;
|
200
|
+
|
201
|
+
@include media($medium-screen) {
|
202
|
+
border-bottom: none;
|
203
|
+
}
|
204
|
+
}
|
205
|
+
|
206
|
+
li {
|
207
|
+
line-height: 2em;
|
208
|
+
}
|
209
|
+
|
210
|
+
@include media($medium-screen) {
|
211
|
+
padding-bottom: 0;
|
212
|
+
}
|
213
|
+
|
214
|
+
.usa-footer-primary-link {
|
215
|
+
background-image: url('../img/arrow-down.png');
|
216
|
+
background-image: url('../img/arrow-down.svg');
|
217
|
+
background-position: 1.5rem center;
|
218
|
+
background-repeat: no-repeat;
|
219
|
+
background-size: 1.3rem;
|
220
|
+
padding-left: 3.5rem;
|
221
|
+
|
222
|
+
@include media($medium-screen) {
|
223
|
+
background: none;
|
224
|
+
padding-bottom: 0;
|
225
|
+
padding-left: 0;
|
226
|
+
}
|
227
|
+
}
|
228
|
+
|
229
|
+
&.hidden {
|
230
|
+
padding-bottom: 0;
|
231
|
+
|
232
|
+
.usa-footer-primary-link {
|
233
|
+
background-image: url('../img/arrow-right.png');
|
234
|
+
background-image: url('../img/arrow-right.svg');
|
235
|
+
cursor: pointer;
|
236
|
+
margin: 0;
|
237
|
+
|
238
|
+
@include media($medium-screen) {
|
239
|
+
background: none;
|
240
|
+
padding-left: 0;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|
244
|
+
li { display: none; }
|
245
|
+
}
|
246
|
+
}
|
247
|
+
}
|
248
|
+
|
249
|
+
.usa-footer-topic {
|
250
|
+
margin: 0;
|
251
|
+
padding: 2rem 0;
|
252
|
+
}
|
253
|
+
|
254
|
+
.usa-sign_up-header {
|
255
|
+
@include media($medium-screen) {
|
256
|
+
margin: 0;
|
257
|
+
padding: 2rem 0;
|
258
|
+
}
|
259
|
+
}
|
260
|
+
|
261
|
+
.usa-footer-logo-img {
|
262
|
+
max-width: 14rem;
|
263
|
+
}
|
264
|
+
|
265
|
+
.usa-footer-slim-logo-img {
|
266
|
+
float: left;
|
267
|
+
max-width: 10rem;
|
268
|
+
}
|
269
|
+
|
270
|
+
.usa-footer-logo-heading {
|
271
|
+
margin-top: 2rem;
|
272
|
+
}
|
273
|
+
|
274
|
+
.usa-footer-contact-heading {
|
275
|
+
margin-top: 0;
|
276
|
+
|
277
|
+
@include media($medium-screen) {
|
278
|
+
margin-top: 1rem;
|
279
|
+
}
|
280
|
+
}
|
281
|
+
|
282
|
+
.usa-footer-slim-logo-heading {
|
283
|
+
display: block;
|
284
|
+
padding-top: 1rem;
|
285
|
+
|
286
|
+
@include media($medium-screen) {
|
287
|
+
display: inline-block;
|
288
|
+
padding: {
|
289
|
+
left: 1em;
|
290
|
+
}
|
291
|
+
}
|
292
|
+
}
|