style-guide 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +11 -0
- data/.gitmodules +3 -0
- data/.pairs +11 -0
- data/.rvmrc +1 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +144 -0
- data/Guardfile +14 -0
- data/LICENSE +7 -0
- data/README.md +7 -0
- data/Rakefile +27 -0
- data/app/assets/images/style_guide/.gitkeep +0 -0
- data/app/assets/images/style_guide/img/bird.png +0 -0
- data/app/assets/images/style_guide/img/bootstrap-mdo-sfmoma-01.jpg +0 -0
- data/app/assets/images/style_guide/img/bootstrap-mdo-sfmoma-02.jpg +0 -0
- data/app/assets/images/style_guide/img/bootstrap-mdo-sfmoma-03.jpg +0 -0
- data/app/assets/images/style_guide/img/browsers.png +0 -0
- data/app/assets/images/style_guide/img/bs-docs-bootstrap-features.png +0 -0
- data/app/assets/images/style_guide/img/bs-docs-masthead-pattern.png +0 -0
- data/app/assets/images/style_guide/img/bs-docs-responsive-illustrations.png +0 -0
- data/app/assets/images/style_guide/img/bs-docs-twitter-github.png +0 -0
- data/app/assets/images/style_guide/img/example-diagram-01.png +0 -0
- data/app/assets/images/style_guide/img/example-diagram-02.png +0 -0
- data/app/assets/images/style_guide/img/example-diagram-03.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/8020select.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/adoptahydrant.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/bartop.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/breakingnews.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/fleetio.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/gathercontent.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/jshint.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/kippt.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/railwayjs.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/soundready.png +0 -0
- data/app/assets/images/style_guide/img/example-sites/totalwireframe.png +0 -0
- data/app/assets/images/style_guide/img/examples/bootstrap-example-carousel.png +0 -0
- data/app/assets/images/style_guide/img/examples/bootstrap-example-fluid.jpg +0 -0
- data/app/assets/images/style_guide/img/examples/bootstrap-example-hero.jpg +0 -0
- data/app/assets/images/style_guide/img/examples/bootstrap-example-marketing-narrow.png +0 -0
- data/app/assets/images/style_guide/img/examples/bootstrap-example-signin.png +0 -0
- data/app/assets/images/style_guide/img/examples/bootstrap-example-starter.jpg +0 -0
- data/app/assets/images/style_guide/img/examples/bootstrap-example-sticky-footer.png +0 -0
- data/app/assets/images/style_guide/img/examples/browser-icon-chrome.png +0 -0
- data/app/assets/images/style_guide/img/examples/browser-icon-firefox.png +0 -0
- data/app/assets/images/style_guide/img/examples/browser-icon-safari.png +0 -0
- data/app/assets/images/style_guide/img/examples/slide-01.jpg +0 -0
- data/app/assets/images/style_guide/img/examples/slide-02.jpg +0 -0
- data/app/assets/images/style_guide/img/examples/slide-03.jpg +0 -0
- data/app/assets/images/style_guide/img/github-16px.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_009_magic.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_042_group.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_079_podium.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_082_roundabout.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_163_iphone.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_214_resize_small.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons/glyphicons_266_book_open.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/style_guide/img/glyphicons-halflings.png +0 -0
- data/app/assets/images/style_guide/img/grid-18px-masked.png +0 -0
- data/app/assets/images/style_guide/img/grid-baseline-20px.png +0 -0
- data/app/assets/images/style_guide/img/icon-css3.png +0 -0
- data/app/assets/images/style_guide/img/icon-github.png +0 -0
- data/app/assets/images/style_guide/img/icon-html5.png +0 -0
- data/app/assets/images/style_guide/img/icon-twitter.png +0 -0
- data/app/assets/images/style_guide/img/less-logo-large.png +0 -0
- data/app/assets/images/style_guide/img/less-small.png +0 -0
- data/app/assets/images/style_guide/img/responsive-illustrations.png +0 -0
- data/app/assets/javascripts/style_guide/application.js +13 -0
- data/app/assets/javascripts/style_guide/docs.js +154 -0
- data/app/assets/javascripts/style_guide/prettify.js +28 -0
- data/app/assets/stylesheets/style_guide/application.css +13 -0
- data/app/assets/stylesheets/style_guide/docs.css +1015 -0
- data/app/assets/stylesheets/style_guide/prettify.css +30 -0
- data/app/controllers/style_guide/application_controller.rb +4 -0
- data/app/controllers/style_guide/style_controller.rb +12 -0
- data/app/helpers/style_guide/application_helper.rb +4 -0
- data/app/views/layouts/style_guide/application.html.erb +44 -0
- data/app/views/style_guide/partials/_buttons.erb +167 -0
- data/app/views/style_guide/partials/_code.erb +31 -0
- data/app/views/style_guide/partials/_forms.erb +714 -0
- data/app/views/style_guide/partials/_images.erb +318 -0
- data/app/views/style_guide/partials/_tables.erb +409 -0
- data/app/views/style_guide/partials/_typography.erb +331 -0
- data/app/views/style_guide/style/index.html.erb +32 -0
- data/config/routes.rb +3 -0
- data/lib/style_guide/engine.rb +12 -0
- data/lib/style_guide/version.rb +3 -0
- data/lib/style_guide.rb +4 -0
- data/script/rails +8 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_009_magic.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_042_group.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_079_podium.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_082_roundabout.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_163_iphone.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_214_resize_small.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons/glyphicons_266_book_open.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons-halflings-white.png +0 -0
- data/spec/dummy/app/assets/images/img/glyphicons-halflings.png +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +27 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-affix.js +106 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-alert.js +88 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-button.js +94 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-carousel.js +176 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-collapse.js +156 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-dropdown.js +148 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-modal.js +234 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-popover.js +103 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-scrollspy.js +151 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-tab.js +133 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-tooltip.js +276 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-transition.js +60 -0
- data/spec/dummy/app/assets/javascripts/bootstrap-typeahead.js +310 -0
- data/spec/dummy/app/assets/javascripts/jquery.js +2 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/accordion.less +34 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/alerts.less +65 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/bootstrap.less +63 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/breadcrumbs.less +24 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/button-groups.less +242 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/buttons.less +232 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/carousel.less +131 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/close.less +31 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/code.less +58 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/component-animations.less +22 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/dropdowns.less +237 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/forms.less +683 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/grid.less +21 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/hero-unit.less +25 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/labels-badges.less +74 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/layouts.less +16 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/media.less +55 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/mixins.less +687 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/modals.less +94 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/navbar.less +475 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/navs.less +385 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/pager.less +41 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/pagination.less +121 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/popovers.less +117 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/progress-bars.less +122 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/reset.less +138 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/responsive-1200px-min.less +28 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/responsive-767px-max.less +193 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/responsive-768px-979px.less +19 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/responsive-navbar.less +185 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/responsive-utilities.less +43 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/responsive.less +48 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/scaffolding.less +52 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/sprites.less +193 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/tables.less +236 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/thumbnails.less +52 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/tooltip.less +70 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/type.less +227 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/utilities.less +30 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/variables.less +301 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap/wells.less +29 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap-responsive.css +1088 -0
- data/spec/dummy/app/assets/stylesheets/bootstrap.css +5893 -0
- data/spec/dummy/app/assets/stylesheets/pivotal-bootstrap/_colors.scss +10 -0
- data/spec/dummy/app/assets/stylesheets/pivotal-bootstrap/ars-maquette-web.css +35 -0
- data/spec/dummy/app/assets/stylesheets/pivotal-bootstrap/button.less +5 -0
- data/spec/dummy/app/assets/stylesheets/pivotal-bootstrap/layout.css.scss +11 -0
- data/spec/dummy/app/assets/stylesheets/pivotal-bootstrap/typography.css.scss +20 -0
- data/spec/dummy/app/assets/stylesheets/pivotal-bootstrap/variables.css.less +10 -0
- data/spec/dummy/app/assets/stylesheets/pivotal-bootstrap.css.less +3 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/controllers/home_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/app/views/home/index.html.erb +1 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/styles/_info-header.erb +1 -0
- data/spec/dummy/config/application.rb +32 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +30 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +34 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +9 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_009_magic.png +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_042_group.png +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_079_podium.png +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_082_roundabout.png +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_163_iphone.png +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_214_resize_small.png +0 -0
- data/spec/dummy/public/img/glyphicons/glyphicons_266_book_open.png +0 -0
- data/spec/dummy/public/img/glyphicons-halflings-white.png +0 -0
- data/spec/dummy/public/img/glyphicons-halflings.png +0 -0
- data/spec/dummy/script/rails +6 -0
- data/style-guide.gemspec +26 -0
- metadata +500 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;
|
2
|
+
(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a=
|
3
|
+
[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c+1]?(d=m(f[c+2]),c+=2):d=j;b.push([j,d]);d<65||j>122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;c<b.length;++c)i=b[c],i[0]<=j[1]+1?j[1]=Math.max(j[1],i[1]):f.push(j=i);b=["["];o&&b.push("^");b.push.apply(b,a);for(c=0;c<
|
4
|
+
f.length;++c)i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c<b;++c){var j=f[c];j==="("?++i:"\\"===j.charAt(0)&&(j=+j.substring(1))&&j<=i&&(d[j]=-1)}for(c=1;c<d.length;++c)-1===d[c]&&(d[c]=++t);for(i=c=0;c<b;++c)j=f[c],j==="("?(++i,d[i]===void 0&&(f[c]="(?:")):"\\"===j.charAt(0)&&
|
5
|
+
(j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");if(a.ignoreCase&&s)for(c=0;c<b;++c)j=f[c],a=j.charAt(0),j.length>=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(g.ignoreCase)l=!0;else if(/[a-z]/i.test(g.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){s=!0;l=!1;break}}for(var r=
|
6
|
+
{b:8,t:9,n:10,v:11,f:12,r:13},n=[],p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return RegExp(n.join("|"),l?"gi":"g")}function M(a){function m(a){switch(a.nodeType){case 1:if(e.test(a.className))break;for(var g=a.firstChild;g;g=g.nextSibling)m(g);g=a.nodeName;if("BR"===g||"LI"===g)h[s]="\n",t[s<<1]=y++,t[s++<<1|1]=a;break;case 3:case 4:g=a.nodeValue,g.length&&(g=p?g.replace(/\r\n?/g,"\n"):g.replace(/[\t\n\r ]+/g," "),h[s]=g,t[s<<1]=y,y+=g.length,
|
7
|
+
t[s++<<1|1]=a)}}var e=/(?:^|\s)nocode(?:\s|$)/,h=[],y=0,t=[],s=0,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=document.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);m(a);return{a:h.join("").replace(/\n$/,""),c:t}}function B(a,m,e,h){m&&(a={a:m,d:a},e(a),h.push.apply(h,a.e))}function x(a,m){function e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){var f=g[n],b=r[f],o=void 0,c;if(typeof b===
|
8
|
+
"string")c=!1;else{var i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0];break}o||(b="pln")}if((c=b.length>=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m),
|
9
|
+
l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
|
10
|
+
q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/,
|
11
|
+
q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g,
|
12
|
+
"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a),
|
13
|
+
a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e}
|
14
|
+
for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g<d.length;++g)e(d[g]);m===(m|0)&&d[0].setAttribute("value",
|
15
|
+
m);var r=s.createElement("OL");r.className="linenums";for(var n=Math.max(0,m-1|0)||0,g=0,z=d.length;g<z;++g)l=d[g],l.className="L"+(g+n)%10,l.firstChild||l.appendChild(s.createTextNode("\xa0")),r.appendChild(l);a.appendChild(r)}function k(a,m){for(var e=m.length;--e>=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*</.test(m)?"default-markup":"default-code";return A[a]}function E(a){var m=
|
16
|
+
a.g;try{var e=M(a.h),h=e.a;a.a=h;a.c=e.c;a.d=0;C(m,h)(a);var k=/\bMSIE\b/.test(navigator.userAgent),m=/\n/g,t=a.a,s=t.length,e=0,l=a.c,p=l.length,h=0,d=a.e,g=d.length,a=0;d[g]=s;var r,n;for(n=r=0;n<g;)d[n]!==d[n+2]?(d[r++]=d[n++],d[r++]=d[n++]):n+=2;g=r;for(n=r=0;n<g;){for(var z=d[n],f=d[n+1],b=n+2;b+2<=g&&d[b+1]===f;)b+=2;d[r++]=z;d[r++]=f;n=b}for(d.length=r;h<p;){var o=l[h+2]||s,c=d[a+2]||s,b=Math.min(o,c),i=l[h+1],j;if(i.nodeType!==1&&(j=t.substring(e,b))){k&&(j=j.replace(m,"\r"));i.nodeValue=
|
17
|
+
j;var u=i.ownerDocument,v=u.createElement("SPAN");v.className=d[a+1];var x=i.parentNode;x.replaceChild(v,i);v.appendChild(i);e<o&&(l[h+1]=i=u.createTextNode(t.substring(b,o)),x.insertBefore(i,v.nextSibling))}e=b;e>=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],
|
18
|
+
"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],
|
19
|
+
H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],
|
20
|
+
J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+
|
21
|
+
I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),
|
22
|
+
["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
|
23
|
+
/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),
|
24
|
+
["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes",
|
25
|
+
hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p<h.length&&l.now()<e;p++){var n=h[p],k=n.className;if(k.indexOf("prettyprint")>=0){var k=k.match(g),f,b;if(b=
|
26
|
+
!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p<h.length?setTimeout(m,
|
27
|
+
250):a&&a()}for(var e=[document.getElementsByTagName("pre"),document.getElementsByTagName("code"),document.getElementsByTagName("xmp")],h=[],k=0;k<e.length;++k)for(var t=0,s=e[k].length;t<s;++t)h.push(e[k][t]);var e=q,l=Date;l.now||(l={now:function(){return+new Date}});var p=0,d,g=/\blang(?:uage)?-([\w.]+)(?!\S)/;m()};window.PR={createSimpleLexer:x,registerLangHandler:k,sourceDecorator:u,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",
|
28
|
+
PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ"}})();
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
+
*
|
11
|
+
*= require_self
|
12
|
+
*= require_tree .
|
13
|
+
*/
|
@@ -0,0 +1,1015 @@
|
|
1
|
+
/* Add additional stylesheets below
|
2
|
+
-------------------------------------------------- */
|
3
|
+
/*
|
4
|
+
Bootstrap's documentation styles
|
5
|
+
Special styles for presenting Bootstrap's documentation and examples
|
6
|
+
*/
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
/* Body and structure
|
11
|
+
-------------------------------------------------- */
|
12
|
+
|
13
|
+
body {
|
14
|
+
position: relative;
|
15
|
+
padding-top: 40px;
|
16
|
+
}
|
17
|
+
|
18
|
+
/* Code in headings */
|
19
|
+
h3 code {
|
20
|
+
font-size: 14px;
|
21
|
+
font-weight: normal;
|
22
|
+
}
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
/* Tweak navbar brand link to be super sleek
|
27
|
+
-------------------------------------------------- */
|
28
|
+
|
29
|
+
body > .navbar {
|
30
|
+
font-size: 13px;
|
31
|
+
}
|
32
|
+
|
33
|
+
/* Change the docs' brand */
|
34
|
+
body > .navbar .brand {
|
35
|
+
padding-right: 0;
|
36
|
+
padding-left: 0;
|
37
|
+
margin-left: 20px;
|
38
|
+
float: right;
|
39
|
+
font-weight: bold;
|
40
|
+
color: #000;
|
41
|
+
text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.125);
|
42
|
+
-webkit-transition: all .2s linear;
|
43
|
+
-moz-transition: all .2s linear;
|
44
|
+
transition: all .2s linear;
|
45
|
+
}
|
46
|
+
body > .navbar .brand:hover {
|
47
|
+
text-decoration: none;
|
48
|
+
text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.4);
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
/* Sections
|
53
|
+
-------------------------------------------------- */
|
54
|
+
|
55
|
+
/* padding for in-page bookmarks and fixed navbar */
|
56
|
+
section {
|
57
|
+
padding-top: 30px;
|
58
|
+
}
|
59
|
+
section > .page-header,
|
60
|
+
section > .lead {
|
61
|
+
color: #5a5a5a;
|
62
|
+
}
|
63
|
+
section > ul li {
|
64
|
+
margin-bottom: 5px;
|
65
|
+
}
|
66
|
+
|
67
|
+
/* Separators (hr) */
|
68
|
+
.bs-docs-separator {
|
69
|
+
margin: 40px 0 39px;
|
70
|
+
}
|
71
|
+
|
72
|
+
/* Faded out hr */
|
73
|
+
hr.soften {
|
74
|
+
height: 1px;
|
75
|
+
margin: 70px 0;
|
76
|
+
background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
|
77
|
+
background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
|
78
|
+
background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
|
79
|
+
background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
|
80
|
+
border: 0;
|
81
|
+
}
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
/* Jumbotrons
|
86
|
+
-------------------------------------------------- */
|
87
|
+
|
88
|
+
/* Base class
|
89
|
+
------------------------- */
|
90
|
+
.jumbotron {
|
91
|
+
position: relative;
|
92
|
+
padding: 40px 0;
|
93
|
+
color: #fff;
|
94
|
+
text-align: center;
|
95
|
+
text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075);
|
96
|
+
background: #020031; /* Old browsers */
|
97
|
+
background: -moz-linear-gradient(45deg, #020031 0%, #6d3353 100%); /* FF3.6+ */
|
98
|
+
background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#020031), color-stop(100%,#6d3353)); /* Chrome,Safari4+ */
|
99
|
+
background: -webkit-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Chrome10+,Safari5.1+ */
|
100
|
+
background: -o-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Opera 11.10+ */
|
101
|
+
background: -ms-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* IE10+ */
|
102
|
+
background: linear-gradient(45deg, #020031 0%,#6d3353 100%); /* W3C */
|
103
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
|
104
|
+
-webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
|
105
|
+
-moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
|
106
|
+
box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
|
107
|
+
}
|
108
|
+
.jumbotron h1 {
|
109
|
+
font-size: 80px;
|
110
|
+
font-weight: bold;
|
111
|
+
letter-spacing: -1px;
|
112
|
+
line-height: 1;
|
113
|
+
}
|
114
|
+
.jumbotron p {
|
115
|
+
font-size: 24px;
|
116
|
+
font-weight: 300;
|
117
|
+
line-height: 1.25;
|
118
|
+
margin-bottom: 30px;
|
119
|
+
}
|
120
|
+
|
121
|
+
/* Link styles (used on .masthead-links as well) */
|
122
|
+
.jumbotron a {
|
123
|
+
color: #fff;
|
124
|
+
color: rgba(255,255,255,.5);
|
125
|
+
-webkit-transition: all .2s ease-in-out;
|
126
|
+
-moz-transition: all .2s ease-in-out;
|
127
|
+
transition: all .2s ease-in-out;
|
128
|
+
}
|
129
|
+
.jumbotron a:hover {
|
130
|
+
color: #fff;
|
131
|
+
text-shadow: 0 0 10px rgba(255,255,255,.25);
|
132
|
+
}
|
133
|
+
|
134
|
+
/* Download button */
|
135
|
+
.masthead .btn {
|
136
|
+
padding: 19px 24px;
|
137
|
+
font-size: 24px;
|
138
|
+
font-weight: 200;
|
139
|
+
color: #fff; /* redeclare to override the `.jumbotron a` */
|
140
|
+
border: 0;
|
141
|
+
-webkit-border-radius: 6px;
|
142
|
+
-moz-border-radius: 6px;
|
143
|
+
border-radius: 6px;
|
144
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
|
145
|
+
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
|
146
|
+
box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
|
147
|
+
-webkit-transition: none;
|
148
|
+
-moz-transition: none;
|
149
|
+
transition: none;
|
150
|
+
}
|
151
|
+
.masthead .btn:hover {
|
152
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
|
153
|
+
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
|
154
|
+
box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
|
155
|
+
}
|
156
|
+
.masthead .btn:active {
|
157
|
+
-webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
|
158
|
+
-moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
|
159
|
+
box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
|
160
|
+
}
|
161
|
+
|
162
|
+
|
163
|
+
/* Pattern overlay
|
164
|
+
------------------------- */
|
165
|
+
.jumbotron .container {
|
166
|
+
position: relative;
|
167
|
+
z-index: 2;
|
168
|
+
}
|
169
|
+
.jumbotron:after {
|
170
|
+
content: '';
|
171
|
+
display: block;
|
172
|
+
position: absolute;
|
173
|
+
top: 0;
|
174
|
+
right: 0;
|
175
|
+
bottom: 0;
|
176
|
+
left: 0;
|
177
|
+
background: url(img/bs-docs-masthead-pattern.png) repeat center center;
|
178
|
+
opacity: .4;
|
179
|
+
}
|
180
|
+
|
181
|
+
/* Masthead (docs home)
|
182
|
+
------------------------- */
|
183
|
+
.masthead {
|
184
|
+
padding: 70px 0 80px;
|
185
|
+
margin-bottom: 0;
|
186
|
+
color: #fff;
|
187
|
+
}
|
188
|
+
.masthead h1 {
|
189
|
+
font-size: 120px;
|
190
|
+
line-height: 1;
|
191
|
+
letter-spacing: -2px;
|
192
|
+
}
|
193
|
+
.masthead p {
|
194
|
+
font-size: 40px;
|
195
|
+
font-weight: 200;
|
196
|
+
line-height: 1.25;
|
197
|
+
}
|
198
|
+
|
199
|
+
/* Textual links in masthead */
|
200
|
+
.masthead-links {
|
201
|
+
margin: 0;
|
202
|
+
list-style: none;
|
203
|
+
}
|
204
|
+
.masthead-links li {
|
205
|
+
display: inline;
|
206
|
+
padding: 0 10px;
|
207
|
+
color: rgba(255,255,255,.25);
|
208
|
+
}
|
209
|
+
|
210
|
+
/* Social proof buttons from GitHub & Twitter */
|
211
|
+
.bs-docs-social {
|
212
|
+
padding: 15px 0;
|
213
|
+
text-align: center;
|
214
|
+
background-color: #f5f5f5;
|
215
|
+
border-top: 1px solid #fff;
|
216
|
+
border-bottom: 1px solid #ddd;
|
217
|
+
}
|
218
|
+
|
219
|
+
/* Quick links on Home */
|
220
|
+
.bs-docs-social-buttons {
|
221
|
+
margin-left: 0;
|
222
|
+
margin-bottom: 0;
|
223
|
+
padding-left: 0;
|
224
|
+
list-style: none;
|
225
|
+
}
|
226
|
+
.bs-docs-social-buttons li {
|
227
|
+
display: inline-block;
|
228
|
+
padding: 5px 8px;
|
229
|
+
line-height: 1;
|
230
|
+
*display: inline;
|
231
|
+
*zoom: 1;
|
232
|
+
}
|
233
|
+
|
234
|
+
/* Subhead (other pages)
|
235
|
+
------------------------- */
|
236
|
+
.subhead {
|
237
|
+
text-align: left;
|
238
|
+
border-bottom: 1px solid #ddd;
|
239
|
+
}
|
240
|
+
.subhead h1 {
|
241
|
+
font-size: 60px;
|
242
|
+
}
|
243
|
+
.subhead p {
|
244
|
+
margin-bottom: 20px;
|
245
|
+
}
|
246
|
+
.subhead .navbar {
|
247
|
+
display: none;
|
248
|
+
}
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
/* Marketing section of Overview
|
253
|
+
-------------------------------------------------- */
|
254
|
+
|
255
|
+
.marketing {
|
256
|
+
text-align: center;
|
257
|
+
color: #5a5a5a;
|
258
|
+
}
|
259
|
+
.marketing h1 {
|
260
|
+
margin: 60px 0 10px;
|
261
|
+
font-size: 60px;
|
262
|
+
font-weight: 200;
|
263
|
+
line-height: 1;
|
264
|
+
letter-spacing: -1px;
|
265
|
+
}
|
266
|
+
.marketing h2 {
|
267
|
+
font-weight: 200;
|
268
|
+
margin-bottom: 5px;
|
269
|
+
}
|
270
|
+
.marketing p {
|
271
|
+
font-size: 16px;
|
272
|
+
line-height: 1.5;
|
273
|
+
}
|
274
|
+
.marketing .marketing-byline {
|
275
|
+
margin-bottom: 40px;
|
276
|
+
font-size: 20px;
|
277
|
+
font-weight: 300;
|
278
|
+
line-height: 1.25;
|
279
|
+
color: #999;
|
280
|
+
}
|
281
|
+
.marketing img {
|
282
|
+
display: block;
|
283
|
+
margin: 0 auto 30px;
|
284
|
+
}
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
/* Footer
|
289
|
+
-------------------------------------------------- */
|
290
|
+
|
291
|
+
.footer {
|
292
|
+
padding: 70px 0;
|
293
|
+
margin-top: 70px;
|
294
|
+
border-top: 1px solid #e5e5e5;
|
295
|
+
background-color: #f5f5f5;
|
296
|
+
}
|
297
|
+
.footer p {
|
298
|
+
margin-bottom: 0;
|
299
|
+
color: #777;
|
300
|
+
}
|
301
|
+
.footer-links {
|
302
|
+
margin: 10px 0;
|
303
|
+
}
|
304
|
+
.footer-links li {
|
305
|
+
display: inline;
|
306
|
+
padding: 0 2px;
|
307
|
+
}
|
308
|
+
.footer-links li:first-child {
|
309
|
+
padding-left: 0;
|
310
|
+
}
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
/* Special grid styles
|
315
|
+
-------------------------------------------------- */
|
316
|
+
|
317
|
+
.show-grid {
|
318
|
+
margin-top: 10px;
|
319
|
+
margin-bottom: 20px;
|
320
|
+
}
|
321
|
+
.show-grid [class*="span"] {
|
322
|
+
background-color: #eee;
|
323
|
+
text-align: center;
|
324
|
+
-webkit-border-radius: 3px;
|
325
|
+
-moz-border-radius: 3px;
|
326
|
+
border-radius: 3px;
|
327
|
+
min-height: 40px;
|
328
|
+
line-height: 40px;
|
329
|
+
}
|
330
|
+
.show-grid:hover [class*="span"] {
|
331
|
+
background: #ddd;
|
332
|
+
}
|
333
|
+
.show-grid .show-grid {
|
334
|
+
margin-top: 0;
|
335
|
+
margin-bottom: 0;
|
336
|
+
}
|
337
|
+
.show-grid .show-grid [class*="span"] {
|
338
|
+
background-color: #ccc;
|
339
|
+
}
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
/* Mini layout previews
|
344
|
+
-------------------------------------------------- */
|
345
|
+
.mini-layout {
|
346
|
+
border: 1px solid #ddd;
|
347
|
+
-webkit-border-radius: 6px;
|
348
|
+
-moz-border-radius: 6px;
|
349
|
+
border-radius: 6px;
|
350
|
+
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.075);
|
351
|
+
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.075);
|
352
|
+
box-shadow: 0 1px 2px rgba(0,0,0,.075);
|
353
|
+
}
|
354
|
+
.mini-layout,
|
355
|
+
.mini-layout .mini-layout-body,
|
356
|
+
.mini-layout.fluid .mini-layout-sidebar {
|
357
|
+
height: 300px;
|
358
|
+
}
|
359
|
+
.mini-layout {
|
360
|
+
margin-bottom: 20px;
|
361
|
+
padding: 9px;
|
362
|
+
}
|
363
|
+
.mini-layout div {
|
364
|
+
-webkit-border-radius: 3px;
|
365
|
+
-moz-border-radius: 3px;
|
366
|
+
border-radius: 3px;
|
367
|
+
}
|
368
|
+
.mini-layout .mini-layout-body {
|
369
|
+
background-color: #dceaf4;
|
370
|
+
margin: 0 auto;
|
371
|
+
width: 70%;
|
372
|
+
}
|
373
|
+
.mini-layout.fluid .mini-layout-sidebar,
|
374
|
+
.mini-layout.fluid .mini-layout-header,
|
375
|
+
.mini-layout.fluid .mini-layout-body {
|
376
|
+
float: left;
|
377
|
+
}
|
378
|
+
.mini-layout.fluid .mini-layout-sidebar {
|
379
|
+
background-color: #bbd8e9;
|
380
|
+
width: 20%;
|
381
|
+
}
|
382
|
+
.mini-layout.fluid .mini-layout-body {
|
383
|
+
width: 77.5%;
|
384
|
+
margin-left: 2.5%;
|
385
|
+
}
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
/* Download page
|
390
|
+
-------------------------------------------------- */
|
391
|
+
|
392
|
+
.download .page-header {
|
393
|
+
margin-top: 36px;
|
394
|
+
}
|
395
|
+
.page-header .toggle-all {
|
396
|
+
margin-top: 5px;
|
397
|
+
}
|
398
|
+
|
399
|
+
/* Space out h3s when following a section */
|
400
|
+
.download h3 {
|
401
|
+
margin-bottom: 5px;
|
402
|
+
}
|
403
|
+
.download-builder input + h3,
|
404
|
+
.download-builder .checkbox + h3 {
|
405
|
+
margin-top: 9px;
|
406
|
+
}
|
407
|
+
|
408
|
+
/* Fields for variables */
|
409
|
+
.download-builder input[type=text] {
|
410
|
+
margin-bottom: 9px;
|
411
|
+
font-family: Menlo, Monaco, "Courier New", monospace;
|
412
|
+
font-size: 12px;
|
413
|
+
color: #d14;
|
414
|
+
}
|
415
|
+
.download-builder input[type=text]:focus {
|
416
|
+
background-color: #fff;
|
417
|
+
}
|
418
|
+
|
419
|
+
/* Custom, larger checkbox labels */
|
420
|
+
.download .checkbox {
|
421
|
+
padding: 6px 10px 6px 25px;
|
422
|
+
font-size: 13px;
|
423
|
+
line-height: 18px;
|
424
|
+
color: #555;
|
425
|
+
background-color: #f9f9f9;
|
426
|
+
-webkit-border-radius: 3px;
|
427
|
+
-moz-border-radius: 3px;
|
428
|
+
border-radius: 3px;
|
429
|
+
cursor: pointer;
|
430
|
+
}
|
431
|
+
.download .checkbox:hover {
|
432
|
+
color: #333;
|
433
|
+
background-color: #f5f5f5;
|
434
|
+
}
|
435
|
+
.download .checkbox small {
|
436
|
+
font-size: 12px;
|
437
|
+
color: #777;
|
438
|
+
}
|
439
|
+
|
440
|
+
/* Variables section */
|
441
|
+
#variables label {
|
442
|
+
margin-bottom: 0;
|
443
|
+
}
|
444
|
+
|
445
|
+
/* Giant download button */
|
446
|
+
.download-btn {
|
447
|
+
margin: 36px 0 108px;
|
448
|
+
}
|
449
|
+
#download p,
|
450
|
+
#download h4 {
|
451
|
+
max-width: 50%;
|
452
|
+
margin: 0 auto;
|
453
|
+
color: #999;
|
454
|
+
text-align: center;
|
455
|
+
}
|
456
|
+
#download h4 {
|
457
|
+
margin-bottom: 0;
|
458
|
+
}
|
459
|
+
#download p {
|
460
|
+
margin-bottom: 18px;
|
461
|
+
}
|
462
|
+
.download-btn .btn {
|
463
|
+
display: block;
|
464
|
+
width: auto;
|
465
|
+
padding: 19px 24px;
|
466
|
+
margin-bottom: 27px;
|
467
|
+
font-size: 30px;
|
468
|
+
line-height: 1;
|
469
|
+
text-align: center;
|
470
|
+
-webkit-border-radius: 6px;
|
471
|
+
-moz-border-radius: 6px;
|
472
|
+
border-radius: 6px;
|
473
|
+
}
|
474
|
+
|
475
|
+
|
476
|
+
|
477
|
+
/* Misc
|
478
|
+
-------------------------------------------------- */
|
479
|
+
|
480
|
+
/* Make tables spaced out a bit more */
|
481
|
+
h2 + table,
|
482
|
+
h3 + table,
|
483
|
+
h4 + table,
|
484
|
+
h2 + .row {
|
485
|
+
margin-top: 5px;
|
486
|
+
}
|
487
|
+
|
488
|
+
/* Example sites showcase */
|
489
|
+
.example-sites {
|
490
|
+
xmargin-left: 20px;
|
491
|
+
}
|
492
|
+
.example-sites img {
|
493
|
+
max-width: 100%;
|
494
|
+
margin: 0 auto;
|
495
|
+
}
|
496
|
+
|
497
|
+
.scrollspy-example {
|
498
|
+
height: 200px;
|
499
|
+
overflow: auto;
|
500
|
+
position: relative;
|
501
|
+
}
|
502
|
+
|
503
|
+
|
504
|
+
/* Fake the :focus state to demo it */
|
505
|
+
.focused {
|
506
|
+
border-color: rgba(82,168,236,.8);
|
507
|
+
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
|
508
|
+
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
|
509
|
+
box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
|
510
|
+
outline: 0;
|
511
|
+
}
|
512
|
+
|
513
|
+
/* For input sizes, make them display block */
|
514
|
+
.docs-input-sizes select,
|
515
|
+
.docs-input-sizes input[type=text] {
|
516
|
+
display: block;
|
517
|
+
margin-bottom: 9px;
|
518
|
+
}
|
519
|
+
|
520
|
+
/* Icons
|
521
|
+
------------------------- */
|
522
|
+
.the-icons {
|
523
|
+
margin-left: 0;
|
524
|
+
list-style: none;
|
525
|
+
}
|
526
|
+
.the-icons li {
|
527
|
+
float: left;
|
528
|
+
width: 25%;
|
529
|
+
line-height: 25px;
|
530
|
+
}
|
531
|
+
.the-icons i:hover {
|
532
|
+
background-color: rgba(255,0,0,.25);
|
533
|
+
}
|
534
|
+
|
535
|
+
/* Example page
|
536
|
+
------------------------- */
|
537
|
+
.bootstrap-examples p {
|
538
|
+
font-size: 13px;
|
539
|
+
line-height: 18px;
|
540
|
+
}
|
541
|
+
.bootstrap-examples .thumbnail {
|
542
|
+
margin-bottom: 9px;
|
543
|
+
background-color: #fff;
|
544
|
+
}
|
545
|
+
|
546
|
+
|
547
|
+
|
548
|
+
/* Bootstrap code examples
|
549
|
+
-------------------------------------------------- */
|
550
|
+
|
551
|
+
/* Base class */
|
552
|
+
.bs-docs-example {
|
553
|
+
position: relative;
|
554
|
+
margin: 15px 0;
|
555
|
+
padding: 39px 19px 14px;
|
556
|
+
*padding-top: 19px;
|
557
|
+
background-color: #fff;
|
558
|
+
border: 1px solid #ddd;
|
559
|
+
-webkit-border-radius: 4px;
|
560
|
+
-moz-border-radius: 4px;
|
561
|
+
border-radius: 4px;
|
562
|
+
}
|
563
|
+
|
564
|
+
/* Echo out a label for the example */
|
565
|
+
.bs-docs-example:after {
|
566
|
+
content: "Example";
|
567
|
+
position: absolute;
|
568
|
+
top: -1px;
|
569
|
+
left: -1px;
|
570
|
+
padding: 3px 7px;
|
571
|
+
font-size: 12px;
|
572
|
+
font-weight: bold;
|
573
|
+
background-color: #f5f5f5;
|
574
|
+
border: 1px solid #ddd;
|
575
|
+
color: #9da0a4;
|
576
|
+
-webkit-border-radius: 4px 0 4px 0;
|
577
|
+
-moz-border-radius: 4px 0 4px 0;
|
578
|
+
border-radius: 4px 0 4px 0;
|
579
|
+
}
|
580
|
+
|
581
|
+
/* Remove spacing between an example and it's code */
|
582
|
+
.bs-docs-example + .prettyprint {
|
583
|
+
margin-top: -20px;
|
584
|
+
padding-top: 15px;
|
585
|
+
}
|
586
|
+
|
587
|
+
/* Tweak examples
|
588
|
+
------------------------- */
|
589
|
+
.bs-docs-example > p:last-child {
|
590
|
+
margin-bottom: 0;
|
591
|
+
}
|
592
|
+
.bs-docs-example .table,
|
593
|
+
.bs-docs-example .progress,
|
594
|
+
.bs-docs-example .well,
|
595
|
+
.bs-docs-example .alert,
|
596
|
+
.bs-docs-example .hero-unit,
|
597
|
+
.bs-docs-example .pagination,
|
598
|
+
.bs-docs-example .navbar,
|
599
|
+
.bs-docs-example > .nav,
|
600
|
+
.bs-docs-example blockquote {
|
601
|
+
margin-bottom: 5px;
|
602
|
+
}
|
603
|
+
.bs-docs-example .pagination {
|
604
|
+
margin-top: 0;
|
605
|
+
}
|
606
|
+
.bs-navbar-top-example,
|
607
|
+
.bs-navbar-bottom-example {
|
608
|
+
z-index: 1;
|
609
|
+
padding: 0;
|
610
|
+
height: 90px;
|
611
|
+
overflow: hidden; /* cut the drop shadows off */
|
612
|
+
}
|
613
|
+
.bs-navbar-top-example .navbar-fixed-top,
|
614
|
+
.bs-navbar-bottom-example .navbar-fixed-bottom {
|
615
|
+
margin-left: 0;
|
616
|
+
margin-right: 0;
|
617
|
+
}
|
618
|
+
.bs-navbar-top-example {
|
619
|
+
-webkit-border-radius: 0 0 4px 4px;
|
620
|
+
-moz-border-radius: 0 0 4px 4px;
|
621
|
+
border-radius: 0 0 4px 4px;
|
622
|
+
}
|
623
|
+
.bs-navbar-top-example:after {
|
624
|
+
top: auto;
|
625
|
+
bottom: -1px;
|
626
|
+
-webkit-border-radius: 0 4px 0 4px;
|
627
|
+
-moz-border-radius: 0 4px 0 4px;
|
628
|
+
border-radius: 0 4px 0 4px;
|
629
|
+
}
|
630
|
+
.bs-navbar-bottom-example {
|
631
|
+
-webkit-border-radius: 4px 4px 0 0;
|
632
|
+
-moz-border-radius: 4px 4px 0 0;
|
633
|
+
border-radius: 4px 4px 0 0;
|
634
|
+
}
|
635
|
+
.bs-navbar-bottom-example .navbar {
|
636
|
+
margin-bottom: 0;
|
637
|
+
}
|
638
|
+
form.bs-docs-example {
|
639
|
+
padding-bottom: 19px;
|
640
|
+
}
|
641
|
+
|
642
|
+
/* Images */
|
643
|
+
.bs-docs-example-images img {
|
644
|
+
margin: 10px;
|
645
|
+
display: inline-block;
|
646
|
+
}
|
647
|
+
|
648
|
+
/* Tooltips */
|
649
|
+
.bs-docs-tooltip-examples {
|
650
|
+
text-align: center;
|
651
|
+
margin: 0 0 10px;
|
652
|
+
list-style: none;
|
653
|
+
}
|
654
|
+
.bs-docs-tooltip-examples li {
|
655
|
+
display: inline;
|
656
|
+
padding: 0 10px;
|
657
|
+
}
|
658
|
+
|
659
|
+
/* Popovers */
|
660
|
+
.bs-docs-example-popover {
|
661
|
+
padding-bottom: 24px;
|
662
|
+
background-color: #f9f9f9;
|
663
|
+
}
|
664
|
+
.bs-docs-example-popover .popover {
|
665
|
+
position: relative;
|
666
|
+
display: block;
|
667
|
+
float: left;
|
668
|
+
width: 260px;
|
669
|
+
margin: 20px;
|
670
|
+
}
|
671
|
+
|
672
|
+
|
673
|
+
|
674
|
+
/* Responsive docs
|
675
|
+
-------------------------------------------------- */
|
676
|
+
|
677
|
+
/* Utility classes table
|
678
|
+
------------------------- */
|
679
|
+
.responsive-utilities th small {
|
680
|
+
display: block;
|
681
|
+
font-weight: normal;
|
682
|
+
color: #999;
|
683
|
+
}
|
684
|
+
.responsive-utilities tbody th {
|
685
|
+
font-weight: normal;
|
686
|
+
}
|
687
|
+
.responsive-utilities td {
|
688
|
+
text-align: center;
|
689
|
+
}
|
690
|
+
.responsive-utilities td.is-visible {
|
691
|
+
color: #468847;
|
692
|
+
background-color: #dff0d8 !important;
|
693
|
+
}
|
694
|
+
.responsive-utilities td.is-hidden {
|
695
|
+
color: #ccc;
|
696
|
+
background-color: #f9f9f9 !important;
|
697
|
+
}
|
698
|
+
|
699
|
+
/* Responsive tests
|
700
|
+
------------------------- */
|
701
|
+
.responsive-utilities-test {
|
702
|
+
margin-top: 5px;
|
703
|
+
margin-left: 0;
|
704
|
+
list-style: none;
|
705
|
+
overflow: hidden; /* clear floats */
|
706
|
+
}
|
707
|
+
.responsive-utilities-test li {
|
708
|
+
position: relative;
|
709
|
+
float: left;
|
710
|
+
width: 25%;
|
711
|
+
height: 43px;
|
712
|
+
font-size: 14px;
|
713
|
+
font-weight: bold;
|
714
|
+
line-height: 43px;
|
715
|
+
color: #999;
|
716
|
+
text-align: center;
|
717
|
+
border: 1px solid #ddd;
|
718
|
+
-webkit-border-radius: 4px;
|
719
|
+
-moz-border-radius: 4px;
|
720
|
+
border-radius: 4px;
|
721
|
+
}
|
722
|
+
.responsive-utilities-test li + li {
|
723
|
+
margin-left: 10px;
|
724
|
+
}
|
725
|
+
.responsive-utilities-test span {
|
726
|
+
position: absolute;
|
727
|
+
top: -1px;
|
728
|
+
left: -1px;
|
729
|
+
right: -1px;
|
730
|
+
bottom: -1px;
|
731
|
+
-webkit-border-radius: 4px;
|
732
|
+
-moz-border-radius: 4px;
|
733
|
+
border-radius: 4px;
|
734
|
+
}
|
735
|
+
.responsive-utilities-test span {
|
736
|
+
color: #468847;
|
737
|
+
background-color: #dff0d8;
|
738
|
+
border: 1px solid #d6e9c6;
|
739
|
+
}
|
740
|
+
|
741
|
+
|
742
|
+
|
743
|
+
/* Sidenav for Docs
|
744
|
+
-------------------------------------------------- */
|
745
|
+
|
746
|
+
.bs-docs-sidenav {
|
747
|
+
width: 228px;
|
748
|
+
margin: 30px 0 0;
|
749
|
+
padding: 0;
|
750
|
+
background-color: #fff;
|
751
|
+
-webkit-border-radius: 6px;
|
752
|
+
-moz-border-radius: 6px;
|
753
|
+
border-radius: 6px;
|
754
|
+
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
|
755
|
+
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
|
756
|
+
box-shadow: 0 1px 4px rgba(0,0,0,.065);
|
757
|
+
}
|
758
|
+
.bs-docs-sidenav > li > a {
|
759
|
+
display: block;
|
760
|
+
width: 190px \9;
|
761
|
+
margin: 0 0 -1px;
|
762
|
+
padding: 8px 14px;
|
763
|
+
border: 1px solid #e5e5e5;
|
764
|
+
}
|
765
|
+
.bs-docs-sidenav > li:first-child > a {
|
766
|
+
-webkit-border-radius: 6px 6px 0 0;
|
767
|
+
-moz-border-radius: 6px 6px 0 0;
|
768
|
+
border-radius: 6px 6px 0 0;
|
769
|
+
}
|
770
|
+
.bs-docs-sidenav > li:last-child > a {
|
771
|
+
-webkit-border-radius: 0 0 6px 6px;
|
772
|
+
-moz-border-radius: 0 0 6px 6px;
|
773
|
+
border-radius: 0 0 6px 6px;
|
774
|
+
}
|
775
|
+
.bs-docs-sidenav > .active > a {
|
776
|
+
position: relative;
|
777
|
+
z-index: 2;
|
778
|
+
padding: 9px 15px;
|
779
|
+
border: 0;
|
780
|
+
text-shadow: 0 1px 0 rgba(0,0,0,.15);
|
781
|
+
-webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
|
782
|
+
-moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
|
783
|
+
box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
|
784
|
+
}
|
785
|
+
/* Chevrons */
|
786
|
+
.bs-docs-sidenav .icon-chevron-right {
|
787
|
+
float: right;
|
788
|
+
margin-top: 2px;
|
789
|
+
margin-right: -6px;
|
790
|
+
opacity: .25;
|
791
|
+
}
|
792
|
+
.bs-docs-sidenav > li > a:hover {
|
793
|
+
background-color: #f5f5f5;
|
794
|
+
}
|
795
|
+
.bs-docs-sidenav a:hover .icon-chevron-right {
|
796
|
+
opacity: .5;
|
797
|
+
}
|
798
|
+
.bs-docs-sidenav .active .icon-chevron-right,
|
799
|
+
.bs-docs-sidenav .active a:hover .icon-chevron-right {
|
800
|
+
background-image: url(../img/glyphicons-halflings-white.png);
|
801
|
+
opacity: 1;
|
802
|
+
}
|
803
|
+
.bs-docs-sidenav.affix {
|
804
|
+
top: 40px;
|
805
|
+
}
|
806
|
+
.bs-docs-sidenav.affix-bottom {
|
807
|
+
position: absolute;
|
808
|
+
top: auto;
|
809
|
+
bottom: 270px;
|
810
|
+
}
|
811
|
+
|
812
|
+
|
813
|
+
|
814
|
+
|
815
|
+
/* Responsive
|
816
|
+
-------------------------------------------------- */
|
817
|
+
|
818
|
+
/* Desktop large
|
819
|
+
------------------------- */
|
820
|
+
@media (min-width: 1200px) {
|
821
|
+
.bs-docs-container {
|
822
|
+
max-width: 970px;
|
823
|
+
}
|
824
|
+
.bs-docs-sidenav {
|
825
|
+
width: 258px;
|
826
|
+
}
|
827
|
+
.bs-docs-sidenav > li > a {
|
828
|
+
width: 230px \9; /* Override the previous IE8-9 hack */
|
829
|
+
}
|
830
|
+
}
|
831
|
+
|
832
|
+
/* Desktop
|
833
|
+
------------------------- */
|
834
|
+
@media (max-width: 980px) {
|
835
|
+
/* Unfloat brand */
|
836
|
+
body > .navbar-fixed-top .brand {
|
837
|
+
float: left;
|
838
|
+
margin-left: 0;
|
839
|
+
padding-left: 10px;
|
840
|
+
padding-right: 10px;
|
841
|
+
}
|
842
|
+
|
843
|
+
/* Inline-block quick links for more spacing */
|
844
|
+
.quick-links li {
|
845
|
+
display: inline-block;
|
846
|
+
margin: 5px;
|
847
|
+
}
|
848
|
+
|
849
|
+
/* When affixed, space properly */
|
850
|
+
.bs-docs-sidenav {
|
851
|
+
top: 0;
|
852
|
+
margin-top: 30px;
|
853
|
+
margin-right: 0;
|
854
|
+
}
|
855
|
+
}
|
856
|
+
|
857
|
+
/* Tablet to desktop
|
858
|
+
------------------------- */
|
859
|
+
@media (min-width: 768px) and (max-width: 980px) {
|
860
|
+
/* Remove any padding from the body */
|
861
|
+
body {
|
862
|
+
padding-top: 0;
|
863
|
+
}
|
864
|
+
/* Widen masthead and social buttons to fill body padding */
|
865
|
+
.jumbotron {
|
866
|
+
margin-top: -20px; /* Offset bottom margin on .navbar */
|
867
|
+
}
|
868
|
+
/* Adjust sidenav width */
|
869
|
+
.bs-docs-sidenav {
|
870
|
+
width: 166px;
|
871
|
+
margin-top: 20px;
|
872
|
+
}
|
873
|
+
.bs-docs-sidenav.affix {
|
874
|
+
top: 0;
|
875
|
+
}
|
876
|
+
}
|
877
|
+
|
878
|
+
/* Tablet
|
879
|
+
------------------------- */
|
880
|
+
@media (max-width: 767px) {
|
881
|
+
/* Remove any padding from the body */
|
882
|
+
body {
|
883
|
+
padding-top: 0;
|
884
|
+
}
|
885
|
+
|
886
|
+
/* Widen masthead and social buttons to fill body padding */
|
887
|
+
.jumbotron {
|
888
|
+
padding: 40px 20px;
|
889
|
+
margin-top: -20px; /* Offset bottom margin on .navbar */
|
890
|
+
margin-right: -20px;
|
891
|
+
margin-left: -20px;
|
892
|
+
}
|
893
|
+
.masthead h1 {
|
894
|
+
font-size: 90px;
|
895
|
+
}
|
896
|
+
.masthead p,
|
897
|
+
.masthead .btn {
|
898
|
+
font-size: 24px;
|
899
|
+
}
|
900
|
+
.marketing .span4 {
|
901
|
+
margin-bottom: 40px;
|
902
|
+
}
|
903
|
+
.bs-docs-social {
|
904
|
+
margin: 0 -20px;
|
905
|
+
}
|
906
|
+
|
907
|
+
/* Space out the show-grid examples */
|
908
|
+
.show-grid [class*="span"] {
|
909
|
+
margin-bottom: 5px;
|
910
|
+
}
|
911
|
+
|
912
|
+
/* Sidenav */
|
913
|
+
.bs-docs-sidenav {
|
914
|
+
width: auto;
|
915
|
+
margin-bottom: 20px;
|
916
|
+
}
|
917
|
+
.bs-docs-sidenav.affix {
|
918
|
+
position: static;
|
919
|
+
width: auto;
|
920
|
+
top: 0;
|
921
|
+
}
|
922
|
+
|
923
|
+
/* Unfloat the back to top link in footer */
|
924
|
+
.footer {
|
925
|
+
margin-left: -20px;
|
926
|
+
margin-right: -20px;
|
927
|
+
padding-left: 20px;
|
928
|
+
padding-right: 20px;
|
929
|
+
}
|
930
|
+
.footer p {
|
931
|
+
margin-bottom: 9px;
|
932
|
+
}
|
933
|
+
}
|
934
|
+
|
935
|
+
/* Landscape phones
|
936
|
+
------------------------- */
|
937
|
+
@media (max-width: 480px) {
|
938
|
+
/* Remove padding above jumbotron */
|
939
|
+
body {
|
940
|
+
padding-top: 0;
|
941
|
+
}
|
942
|
+
|
943
|
+
/* Change up some type stuff */
|
944
|
+
h2 small {
|
945
|
+
display: block;
|
946
|
+
}
|
947
|
+
|
948
|
+
/* Downsize the jumbotrons */
|
949
|
+
.jumbotron h1 {
|
950
|
+
font-size: 45px;
|
951
|
+
}
|
952
|
+
.jumbotron p,
|
953
|
+
.jumbotron .btn {
|
954
|
+
font-size: 18px;
|
955
|
+
}
|
956
|
+
.jumbotron .btn {
|
957
|
+
display: block;
|
958
|
+
margin: 0 auto;
|
959
|
+
}
|
960
|
+
|
961
|
+
/* center align subhead text like the masthead */
|
962
|
+
.subhead h1,
|
963
|
+
.subhead p {
|
964
|
+
text-align: center;
|
965
|
+
}
|
966
|
+
|
967
|
+
/* Marketing on home */
|
968
|
+
.marketing h1 {
|
969
|
+
font-size: 30px;
|
970
|
+
}
|
971
|
+
.marketing-byline {
|
972
|
+
font-size: 18px;
|
973
|
+
}
|
974
|
+
|
975
|
+
/* center example sites */
|
976
|
+
.example-sites {
|
977
|
+
margin-left: 0;
|
978
|
+
}
|
979
|
+
.example-sites > li {
|
980
|
+
float: none;
|
981
|
+
display: block;
|
982
|
+
max-width: 280px;
|
983
|
+
margin: 0 auto 18px;
|
984
|
+
text-align: center;
|
985
|
+
}
|
986
|
+
.example-sites .thumbnail > img {
|
987
|
+
max-width: 270px;
|
988
|
+
}
|
989
|
+
|
990
|
+
/* Do our best to make tables work in narrow viewports */
|
991
|
+
table code {
|
992
|
+
white-space: normal;
|
993
|
+
word-wrap: break-word;
|
994
|
+
word-break: break-all;
|
995
|
+
}
|
996
|
+
|
997
|
+
/* Modal example */
|
998
|
+
.modal-example .modal {
|
999
|
+
position: relative;
|
1000
|
+
top: auto;
|
1001
|
+
right: auto;
|
1002
|
+
bottom: auto;
|
1003
|
+
left: auto;
|
1004
|
+
}
|
1005
|
+
|
1006
|
+
/* Tighten up footer */
|
1007
|
+
.footer {
|
1008
|
+
padding-top: 20px;
|
1009
|
+
padding-bottom: 20px;
|
1010
|
+
}
|
1011
|
+
/* Unfloat the back to top in footer to prevent odd text wrapping */
|
1012
|
+
.footer .pull-right {
|
1013
|
+
float: none;
|
1014
|
+
}
|
1015
|
+
}
|