lurker 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.asc +7 -7
- data.tar.gz.asc +7 -7
- data/Gemfile +1 -0
- data/README.md +4 -1
- data/Rakefile +5 -3
- data/lib/lurker/cli.rb +33 -5
- data/lib/lurker/form_builder.rb +2 -1
- data/lib/lurker/presenters/endpoint_presenter.rb +15 -3
- data/lib/lurker/presenters/schema_presenter.rb +5 -4
- data/lib/lurker/templates/javascripts/application.js +1 -6
- data/lib/lurker/templates/javascripts/highlight.pack.js +1 -0
- data/lib/lurker/templates/javascripts/lurker.js +15 -32
- data/lib/lurker/templates/layouts/_sidemenu.html.erb +4 -4
- data/lib/lurker/templates/layouts/application.html.erb +22 -34
- data/lib/lurker/templates/lurker/rendering/_submit_form.html.erb +25 -21
- data/lib/lurker/templates/lurker/rendering/show.html.erb +29 -59
- data/lib/lurker/templates/public/application.css +1329 -1422
- data/lib/lurker/templates/public/application.js +16 -129
- data/lib/lurker/templates/stylesheets/application.css +25 -14
- data/lib/lurker/templates/stylesheets/docs.css +1454 -0
- data/lib/lurker/templates/stylesheets/github.css +124 -0
- data/lib/lurker/version.rb +1 -1
- data/lurker.gemspec +4 -0
- data/spec/spec_helper.rb +8 -1
- data/templates/generate_stuff.rb +3 -1
- data/templates/lurker_app.rb +3 -7
- metadata +47 -16
- metadata.gz.asc +7 -7
- data/lib/lurker/templates/javascripts/plugins/metisMenu/jquery.metisMenu.js +0 -45
- data/lib/lurker/templates/javascripts/prettify.js +0 -28
- data/lib/lurker/templates/javascripts/sb-admin.js +0 -18
- data/lib/lurker/templates/layouts/_navbar_right.html.erb +0 -13
- data/lib/lurker/templates/layouts/_sidesearch.html.erb +0 -12
- data/lib/lurker/templates/lurker/rendering/_breadcrumb.html.erb +0 -9
- data/lib/lurker/templates/lurker/rendering/_information_warning_li.html.erb +0 -8
- data/lib/lurker/templates/lurker/rendering/_left_menu.html.erb +0 -38
- data/lib/lurker/templates/lurker/rendering/_route_definitions.html.erb +0 -7
- data/lib/lurker/templates/lurker/rendering/_undefined_route.html.erb +0 -6
- data/lib/lurker/templates/stylesheets/font-awesome/css/font-awesome.css +0 -1331
- data/lib/lurker/templates/stylesheets/prettify-desert.css +0 -34
- data/lib/lurker/templates/stylesheets/prettify.css +0 -1
- data/lib/lurker/templates/stylesheets/sb-admin.css +0 -315
@@ -13068,70 +13068,6 @@ return jQuery;
|
|
13068
13068
|
|
13069
13069
|
|
13070
13070
|
|
13071
|
-
;(function ($, window, document, undefined) {
|
13072
|
-
|
13073
|
-
var pluginName = "metisMenu",
|
13074
|
-
defaults = {
|
13075
|
-
toggle: true
|
13076
|
-
};
|
13077
|
-
|
13078
|
-
function Plugin(element, options) {
|
13079
|
-
this.element = element;
|
13080
|
-
this.settings = $.extend({}, defaults, options);
|
13081
|
-
this._defaults = defaults;
|
13082
|
-
this._name = pluginName;
|
13083
|
-
this.init();
|
13084
|
-
}
|
13085
|
-
|
13086
|
-
Plugin.prototype = {
|
13087
|
-
init: function () {
|
13088
|
-
|
13089
|
-
var $this = $(this.element),
|
13090
|
-
$toggle = this.settings.toggle;
|
13091
|
-
|
13092
|
-
$this.find('li.active').has('ul').children('ul').addClass('collapse in');
|
13093
|
-
$this.find('li').not('.active').has('ul').children('ul').addClass('collapse');
|
13094
|
-
|
13095
|
-
$this.find('li').has('ul').children('a').on('click', function (e) {
|
13096
|
-
e.preventDefault();
|
13097
|
-
|
13098
|
-
$(this).parent('li').toggleClass('active').children('ul').collapse('toggle');
|
13099
|
-
|
13100
|
-
if ($toggle) {
|
13101
|
-
$(this).parent('li').siblings().removeClass('active').children('ul.in').collapse('hide');
|
13102
|
-
}
|
13103
|
-
});
|
13104
|
-
}
|
13105
|
-
};
|
13106
|
-
|
13107
|
-
$.fn[ pluginName ] = function (options) {
|
13108
|
-
return this.each(function () {
|
13109
|
-
if (!$.data(this, "plugin_" + pluginName)) {
|
13110
|
-
$.data(this, "plugin_" + pluginName, new Plugin(this, options));
|
13111
|
-
}
|
13112
|
-
});
|
13113
|
-
};
|
13114
|
-
|
13115
|
-
})(jQuery, window, document);
|
13116
|
-
$(function() {
|
13117
|
-
|
13118
|
-
$('#side-menu').metisMenu();
|
13119
|
-
|
13120
|
-
});
|
13121
|
-
|
13122
|
-
//Loads the correct sidebar on window load,
|
13123
|
-
//collapses the sidebar on window resize.
|
13124
|
-
$(function() {
|
13125
|
-
$(window).bind("load resize", function() {
|
13126
|
-
width = (this.window.innerWidth > 0) ? this.window.innerWidth : this.screen.width;
|
13127
|
-
if (width < 768) {
|
13128
|
-
$('div.sidebar-collapse').addClass('collapse')
|
13129
|
-
} else {
|
13130
|
-
$('div.sidebar-collapse').removeClass('collapse')
|
13131
|
-
}
|
13132
|
-
})
|
13133
|
-
})
|
13134
|
-
;
|
13135
13071
|
(function() {
|
13136
13072
|
|
13137
13073
|
var Ap = Array.prototype;
|
@@ -44693,34 +44629,7 @@ module.exports = warning;
|
|
44693
44629
|
}
|
44694
44630
|
|
44695
44631
|
}));
|
44696
|
-
var q=null;
|
44697
|
-
(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=
|
44698
|
-
[],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<
|
44699
|
-
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)&&
|
44700
|
-
(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=
|
44701
|
-
{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,
|
44702
|
-
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===
|
44703
|
-
"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),
|
44704
|
-
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])*(?:`|$))/,
|
44705
|
-
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]*/,
|
44706
|
-
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,
|
44707
|
-
"");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),
|
44708
|
-
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}
|
44709
|
-
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",
|
44710
|
-
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=
|
44711
|
-
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=
|
44712
|
-
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"],
|
44713
|
-
"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"],
|
44714
|
-
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"],
|
44715
|
-
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"+
|
44716
|
-
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]]),
|
44717
|
-
["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",
|
44718
|
-
/^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}),
|
44719
|
-
["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",
|
44720
|
-
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=
|
44721
|
-
!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,
|
44722
|
-
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",
|
44723
|
-
PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ"}})();
|
44632
|
+
var hljs=new function(){function k(v){return v.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">")}function t(v){return v.nodeName.toLowerCase()}function i(w,x){var v=w&&w.exec(x);return v&&v.index==0}function d(v){return Array.prototype.map.call(v.childNodes,function(w){if(w.nodeType==3){return b.useBR?w.nodeValue.replace(/\n/g,""):w.nodeValue}if(t(w)=="br"){return"\n"}return d(w)}).join("")}function r(w){var v=(w.className+" "+(w.parentNode?w.parentNode.className:"")).split(/\s+/);v=v.map(function(x){return x.replace(/^language-/,"")});return v.filter(function(x){return j(x)||x=="no-highlight"})[0]}function o(x,y){var v={};for(var w in x){v[w]=x[w]}if(y){for(var w in y){v[w]=y[w]}}return v}function u(x){var v=[];(function w(y,z){for(var A=y.firstChild;A;A=A.nextSibling){if(A.nodeType==3){z+=A.nodeValue.length}else{if(t(A)=="br"){z+=1}else{if(A.nodeType==1){v.push({event:"start",offset:z,node:A});z=w(A,z);v.push({event:"stop",offset:z,node:A})}}}}return z})(x,0);return v}function q(w,y,C){var x=0;var F="";var z=[];function B(){if(!w.length||!y.length){return w.length?w:y}if(w[0].offset!=y[0].offset){return(w[0].offset<y[0].offset)?w:y}return y[0].event=="start"?w:y}function A(H){function G(I){return" "+I.nodeName+'="'+k(I.value)+'"'}F+="<"+t(H)+Array.prototype.map.call(H.attributes,G).join("")+">"}function E(G){F+="</"+t(G)+">"}function v(G){(G.event=="start"?A:E)(G.node)}while(w.length||y.length){var D=B();F+=k(C.substr(x,D[0].offset-x));x=D[0].offset;if(D==w){z.reverse().forEach(E);do{v(D.splice(0,1)[0]);D=B()}while(D==w&&D.length&&D[0].offset==x);z.reverse().forEach(A)}else{if(D[0].event=="start"){z.push(D[0].node)}else{z.pop()}v(D.splice(0,1)[0])}}return F+k(C.substr(x))}function m(y){function v(z){return(z&&z.source)||z}function w(A,z){return RegExp(v(A),"m"+(y.cI?"i":"")+(z?"g":""))}function x(D,C){if(D.compiled){return}D.compiled=true;D.k=D.k||D.bK;if(D.k){var z={};function E(G,F){if(y.cI){F=F.toLowerCase()}F.split(" ").forEach(function(H){var I=H.split("|");z[I[0]]=[G,I[1]?Number(I[1]):1]})}if(typeof D.k=="string"){E("keyword",D.k)}else{Object.keys(D.k).forEach(function(F){E(F,D.k[F])})}D.k=z}D.lR=w(D.l||/\b[A-Za-z0-9_]+\b/,true);if(C){if(D.bK){D.b=D.bK.split(" ").join("|")}if(!D.b){D.b=/\B|\b/}D.bR=w(D.b);if(!D.e&&!D.eW){D.e=/\B|\b/}if(D.e){D.eR=w(D.e)}D.tE=v(D.e)||"";if(D.eW&&C.tE){D.tE+=(D.e?"|":"")+C.tE}}if(D.i){D.iR=w(D.i)}if(D.r===undefined){D.r=1}if(!D.c){D.c=[]}var B=[];D.c.forEach(function(F){if(F.v){F.v.forEach(function(G){B.push(o(F,G))})}else{B.push(F=="self"?D:F)}});D.c=B;D.c.forEach(function(F){x(F,D)});if(D.starts){x(D.starts,C)}var A=D.c.map(function(F){return F.bK?"\\.?\\b("+F.b+")\\b\\.?":F.b}).concat([D.tE]).concat([D.i]).map(v).filter(Boolean);D.t=A.length?w(A.join("|"),true):{exec:function(F){return null}};D.continuation={}}x(y)}function c(S,L,J,R){function v(U,V){for(var T=0;T<V.c.length;T++){if(i(V.c[T].bR,U)){return V.c[T]}}}function z(U,T){if(i(U.eR,T)){return U}if(U.eW){return z(U.parent,T)}}function A(T,U){return !J&&i(U.iR,T)}function E(V,T){var U=M.cI?T[0].toLowerCase():T[0];return V.k.hasOwnProperty(U)&&V.k[U]}function w(Z,X,W,V){var T=V?"":b.classPrefix,U='<span class="'+T,Y=W?"":"</span>";U+=Z+'">';return U+X+Y}function N(){var U=k(C);if(!I.k){return U}var T="";var X=0;I.lR.lastIndex=0;var V=I.lR.exec(U);while(V){T+=U.substr(X,V.index-X);var W=E(I,V);if(W){H+=W[1];T+=w(W[0],V[0])}else{T+=V[0]}X=I.lR.lastIndex;V=I.lR.exec(U)}return T+U.substr(X)}function F(){if(I.sL&&!f[I.sL]){return k(C)}var T=I.sL?c(I.sL,C,true,I.continuation.top):g(C);if(I.r>0){H+=T.r}if(I.subLanguageMode=="continuous"){I.continuation.top=T.top}return w(T.language,T.value,false,true)}function Q(){return I.sL!==undefined?F():N()}function P(V,U){var T=V.cN?w(V.cN,"",true):"";if(V.rB){D+=T;C=""}else{if(V.eB){D+=k(U)+T;C=""}else{D+=T;C=U}}I=Object.create(V,{parent:{value:I}})}function G(T,X){C+=T;if(X===undefined){D+=Q();return 0}var V=v(X,I);if(V){D+=Q();P(V,X);return V.rB?0:X.length}var W=z(I,X);if(W){var U=I;if(!(U.rE||U.eE)){C+=X}D+=Q();do{if(I.cN){D+="</span>"}H+=I.r;I=I.parent}while(I!=W.parent);if(U.eE){D+=k(X)}C="";if(W.starts){P(W.starts,"")}return U.rE?0:X.length}if(A(X,I)){throw new Error('Illegal lexeme "'+X+'" for mode "'+(I.cN||"<unnamed>")+'"')}C+=X;return X.length||1}var M=j(S);if(!M){throw new Error('Unknown language: "'+S+'"')}m(M);var I=R||M;var D="";for(var K=I;K!=M;K=K.parent){if(K.cN){D=w(K.cN,D,true)}}var C="";var H=0;try{var B,y,x=0;while(true){I.t.lastIndex=x;B=I.t.exec(L);if(!B){break}y=G(L.substr(x,B.index-x),B[0]);x=B.index+y}G(L.substr(x));for(var K=I;K.parent;K=K.parent){if(K.cN){D+="</span>"}}return{r:H,value:D,language:S,top:I}}catch(O){if(O.message.indexOf("Illegal")!=-1){return{r:0,value:k(L)}}else{throw O}}}function g(y,x){x=x||b.languages||Object.keys(f);var v={r:0,value:k(y)};var w=v;x.forEach(function(z){if(!j(z)){return}var A=c(z,y,false);A.language=z;if(A.r>w.r){w=A}if(A.r>v.r){w=v;v=A}});if(w.language){v.second_best=w}return v}function h(v){if(b.tabReplace){v=v.replace(/^((<[^>]+>|\t)+)/gm,function(w,z,y,x){return z.replace(/\t/g,b.tabReplace)})}if(b.useBR){v=v.replace(/\n/g,"<br>")}return v}function p(z){var y=d(z);var A=r(z);if(A=="no-highlight"){return}var v=A?c(A,y,true):g(y);var w=u(z);if(w.length){var x=document.createElementNS("http://www.w3.org/1999/xhtml","pre");x.innerHTML=v.value;v.value=q(w,u(x),y)}v.value=h(v.value);z.innerHTML=v.value;z.className+=" hljs "+(!A&&v.language||"");z.result={language:v.language,re:v.r};if(v.second_best){z.second_best={language:v.second_best.language,re:v.second_best.r}}}var b={classPrefix:"hljs-",tabReplace:null,useBR:false,languages:undefined};function s(v){b=o(b,v)}function l(){if(l.called){return}l.called=true;var v=document.querySelectorAll("pre code");Array.prototype.forEach.call(v,p)}function a(){addEventListener("DOMContentLoaded",l,false);addEventListener("load",l,false)}var f={};var n={};function e(v,x){var w=f[v]=x(this);if(w.aliases){w.aliases.forEach(function(y){n[y]=v})}}function j(v){return f[v]||f[n[v]]}this.highlight=c;this.highlightAuto=g;this.fixMarkup=h;this.highlightBlock=p;this.configure=s;this.initHighlighting=l;this.initHighlightingOnLoad=a;this.registerLanguage=e;this.getLanguage=j;this.inherit=o;this.IR="[a-zA-Z][a-zA-Z0-9_]*";this.UIR="[a-zA-Z_][a-zA-Z0-9_]*";this.NR="\\b\\d+(\\.\\d+)?";this.CNR="(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";this.BNR="\\b(0b[01]+)";this.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";this.BE={b:"\\\\[\\s\\S]",r:0};this.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[this.BE]};this.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[this.BE]};this.CLCM={cN:"comment",b:"//",e:"$"};this.CBLCLM={cN:"comment",b:"/\\*",e:"\\*/"};this.HCM={cN:"comment",b:"#",e:"$"};this.NM={cN:"number",b:this.NR,r:0};this.CNM={cN:"number",b:this.CNR,r:0};this.BNM={cN:"number",b:this.BNR,r:0};this.REGEXP_MODE={cN:"regexp",b:/\//,e:/\/[gim]*/,i:/\n/,c:[this.BE,{b:/\[/,e:/\]/,r:0,c:[this.BE]}]};this.TM={cN:"title",b:this.IR,r:0};this.UTM={cN:"title",b:this.UIR,r:0}}();hljs.registerLanguage("avrasm",function(a){return{cI:true,k:{keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf"},c:[a.CBLCLM,{cN:"comment",b:";",e:"$",r:0},a.CNM,a.BNM,{cN:"number",b:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},a.QSM,{cN:"string",b:"'",e:"[^\\\\]'",i:"[^\\\\][^']"},{cN:"label",b:"^[A-Za-z0-9_.$]+:"},{cN:"preprocessor",b:"#",e:"$"},{cN:"preprocessor",b:"\\.[a-zA-Z]+"},{cN:"localvars",b:"@[0-9]+"}]}});hljs.registerLanguage("json",function(a){var e={literal:"true false null"};var d=[a.QSM,a.CNM];var c={cN:"value",e:",",eW:true,eE:true,c:d,k:e};var b={b:"{",e:"}",c:[{cN:"attribute",b:'\\s*"',e:'"\\s*:\\s*',eB:true,eE:true,c:[a.BE],i:"\\n",starts:c}],i:"\\S"};var f={b:"\\[",e:"\\]",c:[a.inherit(c,{cN:null})],i:"\\S"};d.splice(d.length,0,b,f);return{c:d,k:e,i:"\\S"}});
|
44724
44633
|
var window = this.window;
|
44725
44634
|
var $ = window.$;
|
44726
44635
|
var Lurker = {
|
@@ -44733,14 +44642,6 @@ var Lurker = {
|
|
44733
44642
|
$("#submit-api").attr("disabled", false);
|
44734
44643
|
},
|
44735
44644
|
|
44736
|
-
disableUrlParams: function() {
|
44737
|
-
$("fieldset[ref=url-params] input").prop("disabled", true);
|
44738
|
-
},
|
44739
|
-
|
44740
|
-
enableUrlParams: function() {
|
44741
|
-
$("fieldset[ref=url-params] input").prop("disabled", false);
|
44742
|
-
},
|
44743
|
-
|
44744
44645
|
detectContentType: function(response) {
|
44745
44646
|
var contentType = response.getResponseHeader("Content-Type");
|
44746
44647
|
var detectedContentType = null;
|
@@ -44754,43 +44655,36 @@ var Lurker = {
|
|
44754
44655
|
|
44755
44656
|
fillInInfoTab: function($tab, xhr) {
|
44756
44657
|
$tab.find('.status td.value').text(xhr.status + " " + xhr.statusText);
|
44757
|
-
$tab.find('
|
44658
|
+
$tab.find('#headers').text(xhr.getAllResponseHeaders());
|
44758
44659
|
|
44759
44660
|
var realTimeTaken = Lurker.lastRequest.endTime - Lurker.lastRequest.startTime;
|
44760
44661
|
$tab.find('.time td.value').text(realTimeTaken + " ms");
|
44761
44662
|
},
|
44762
44663
|
|
44763
|
-
|
44764
|
-
Lurker.lastRequest.endTime = Date.now();
|
44765
|
-
Lurker.enableSubmitButton();
|
44766
|
-
Lurker.enableUrlParams();
|
44767
|
-
|
44768
|
-
if ($("#show-api-response-div:visible").length === 0) {
|
44769
|
-
$("#show-api-response-div").slideDown(100);
|
44770
|
-
}
|
44771
|
-
|
44772
|
-
Lurker.fillInInfoTab(
|
44773
|
-
$("#show-api-response-div").showNavTab("info"),
|
44774
|
-
xhr
|
44775
|
-
);
|
44776
|
-
|
44777
|
-
$("#show-api-response-div pre").hide();
|
44664
|
+
fillInRawTab: function($tab, xhr) {
|
44778
44665
|
switch (Lurker.detectContentType(xhr)) {
|
44779
44666
|
case "json":
|
44780
|
-
|
44781
|
-
|
44782
|
-
);
|
44667
|
+
var json = JSON.stringify(JSON.parse(xhr.responseText), null, 2);
|
44668
|
+
var content = hljs.highlightAuto(json).value;
|
44783
44669
|
break;
|
44784
44670
|
default:
|
44785
|
-
|
44671
|
+
var content = xhr.responseText;
|
44786
44672
|
}
|
44673
|
+
$tab.html(content);
|
44674
|
+
},
|
44675
|
+
|
44676
|
+
onComplete: function(xhr) {
|
44677
|
+
Lurker.lastRequest.endTime = Date.now();
|
44678
|
+
Lurker.enableSubmitButton();
|
44679
|
+
|
44680
|
+
$("#show-api-response-div [ref^='response']").hide();
|
44787
44681
|
|
44788
|
-
|
44682
|
+
Lurker.fillInInfoTab($("#show-api-response-div").showNavTab("info"), xhr);
|
44683
|
+
Lurker.fillInRawTab($("#show-api-response-div").showNavTab("raw"), xhr);
|
44789
44684
|
},
|
44790
44685
|
|
44791
44686
|
onSubmit: function($form) {
|
44792
44687
|
Lurker.disableSubmitButton();
|
44793
|
-
Lurker.disableUrlParams();
|
44794
44688
|
|
44795
44689
|
$.ajax({
|
44796
44690
|
url: $form.attr('action'),
|
@@ -44806,8 +44700,6 @@ var Lurker = {
|
|
44806
44700
|
};
|
44807
44701
|
|
44808
44702
|
$(function($) {
|
44809
|
-
window.prettyPrint();
|
44810
|
-
|
44811
44703
|
var activeMenuItem = $('#side-menu a[href="' + window.location.pathname + '"]');
|
44812
44704
|
if (activeMenuItem.length === 1) {
|
44813
44705
|
activeMenuItem.addClass('hovered').parents('.collapse').addClass('in').parents('.endpoint-group').addClass('active');
|
@@ -44845,10 +44737,6 @@ $.fn.extend({
|
|
44845
44737
|
|
44846
44738
|
|
44847
44739
|
|
44848
|
-
// Committed sb-admin
|
44849
|
-
|
44850
|
-
|
44851
|
-
|
44852
44740
|
// https://github.com/facebook/react/issues/945
|
44853
44741
|
|
44854
44742
|
|
@@ -44860,5 +44748,4 @@ $.fn.extend({
|
|
44860
44748
|
|
44861
44749
|
|
44862
44750
|
|
44863
|
-
// require demo/dashboard-demo
|
44864
44751
|
;
|
@@ -1,25 +1,36 @@
|
|
1
1
|
/*
|
2
2
|
*= require bootstrap
|
3
|
-
*= require
|
4
|
-
*= require sb-admin
|
3
|
+
*= require docs
|
5
4
|
*
|
6
|
-
*= require
|
7
|
-
*= require prettify-desert
|
5
|
+
*= require github
|
8
6
|
*= require_self
|
9
7
|
*/
|
10
|
-
#show-api-response-div table td {
|
8
|
+
#show-api-response-div table th, #show-api-response-div table td {
|
9
|
+
border: none;
|
10
|
+
}
|
11
|
+
#show-api-response-div table th {
|
12
|
+
width: 80px;
|
13
|
+
}
|
14
|
+
#show-api-response-div table .value {
|
11
15
|
vertical-align: top;
|
12
16
|
white-space:pre;
|
13
17
|
}
|
14
|
-
.nav > li >
|
15
|
-
|
16
|
-
|
18
|
+
.bs-docs-sidebar .nav > li.opened > ul {
|
19
|
+
display: block;
|
20
|
+
}
|
21
|
+
.bs-docs-sidebar .nav > li:hover > ul {
|
22
|
+
display: block;
|
23
|
+
}
|
24
|
+
.form-horizontal.bs-example:after {
|
25
|
+
content: 'Live';
|
26
|
+
}
|
27
|
+
.url-params.bs-example:after {
|
28
|
+
content: 'Url Params';
|
17
29
|
}
|
18
|
-
.
|
19
|
-
|
30
|
+
.post-params.bs-example:after {
|
31
|
+
content: 'Payload';
|
20
32
|
}
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
margin-bottom: 10px;
|
33
|
+
/* pdf */
|
34
|
+
pre {
|
35
|
+
page-break-inside: avoid;
|
25
36
|
}
|
@@ -0,0 +1,1454 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootstrap Docs (http://getbootstrap.com)
|
3
|
+
* Copyright 2011-2014 Twitter, Inc.
|
4
|
+
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
|
5
|
+
* details, see http://creativecommons.org/licenses/by/3.0/.
|
6
|
+
*/
|
7
|
+
|
8
|
+
|
9
|
+
/*
|
10
|
+
* Bootstrap Documentation
|
11
|
+
* Special styles for presenting Bootstrap's documentation and code examples.
|
12
|
+
*
|
13
|
+
* Table of contents:
|
14
|
+
*
|
15
|
+
* Scaffolding
|
16
|
+
* Main navigation
|
17
|
+
* Footer
|
18
|
+
* Social buttons
|
19
|
+
* Homepage
|
20
|
+
* Page headers
|
21
|
+
* Old docs callout
|
22
|
+
* Ads
|
23
|
+
* Side navigation
|
24
|
+
* Docs sections
|
25
|
+
* Callouts
|
26
|
+
* Grid styles
|
27
|
+
* Examples
|
28
|
+
* Code snippets (highlight)
|
29
|
+
* Responsive tests
|
30
|
+
* Glyphicons
|
31
|
+
* Customizer
|
32
|
+
* Miscellaneous
|
33
|
+
*/
|
34
|
+
|
35
|
+
|
36
|
+
/*
|
37
|
+
* Scaffolding
|
38
|
+
*
|
39
|
+
* Update the basics of our documents to prep for docs content.
|
40
|
+
*/
|
41
|
+
|
42
|
+
body {
|
43
|
+
position: relative; /* For scrollspy */
|
44
|
+
}
|
45
|
+
|
46
|
+
/* Keep code small in tables on account of limited space */
|
47
|
+
.table code {
|
48
|
+
font-size: 13px;
|
49
|
+
font-weight: normal;
|
50
|
+
}
|
51
|
+
|
52
|
+
/* Outline button for use within the docs */
|
53
|
+
.btn-outline {
|
54
|
+
color: #563d7c;
|
55
|
+
background-color: transparent;
|
56
|
+
border-color: #563d7c;
|
57
|
+
}
|
58
|
+
.btn-outline:hover,
|
59
|
+
.btn-outline:focus,
|
60
|
+
.btn-outline:active {
|
61
|
+
color: #fff;
|
62
|
+
background-color: #563d7c;
|
63
|
+
border-color: #563d7c;
|
64
|
+
}
|
65
|
+
|
66
|
+
/* Inverted outline button (white on dark) */
|
67
|
+
.btn-outline-inverse {
|
68
|
+
color: #fff;
|
69
|
+
background-color: transparent;
|
70
|
+
border-color: #cdbfe3;
|
71
|
+
}
|
72
|
+
.btn-outline-inverse:hover,
|
73
|
+
.btn-outline-inverse:focus,
|
74
|
+
.btn-outline-inverse:active {
|
75
|
+
color: #563d7c;
|
76
|
+
text-shadow: none;
|
77
|
+
background-color: #fff;
|
78
|
+
border-color: #fff;
|
79
|
+
}
|
80
|
+
|
81
|
+
/* Bootstrap "B" icon */
|
82
|
+
.bs-docs-booticon {
|
83
|
+
display: block;
|
84
|
+
font-weight: 500;
|
85
|
+
color: #fff;
|
86
|
+
text-align: center;
|
87
|
+
cursor: default;
|
88
|
+
background-color: #563d7c;
|
89
|
+
border-radius: 15%;
|
90
|
+
}
|
91
|
+
.bs-docs-booticon-sm {
|
92
|
+
width: 30px;
|
93
|
+
height: 30px;
|
94
|
+
font-size: 20px;
|
95
|
+
line-height: 28px;
|
96
|
+
}
|
97
|
+
.bs-docs-booticon-lg {
|
98
|
+
width: 144px;
|
99
|
+
height: 144px;
|
100
|
+
font-size: 108px;
|
101
|
+
line-height: 140px;
|
102
|
+
}
|
103
|
+
.bs-docs-booticon-inverse {
|
104
|
+
color: #563d7c;
|
105
|
+
background-color: #fff;
|
106
|
+
}
|
107
|
+
.bs-docs-booticon-outline {
|
108
|
+
background-color: transparent;
|
109
|
+
border: 1px solid #cdbfe3;
|
110
|
+
}
|
111
|
+
|
112
|
+
|
113
|
+
/*
|
114
|
+
* Main navigation
|
115
|
+
*
|
116
|
+
* Turn the `.navbar` at the top of the docs purple.
|
117
|
+
*/
|
118
|
+
|
119
|
+
.bs-docs-nav {
|
120
|
+
margin-bottom: 0;
|
121
|
+
background-color: #fff;
|
122
|
+
border-bottom: 0;
|
123
|
+
}
|
124
|
+
.bs-home-nav .bs-nav-b {
|
125
|
+
display: none;
|
126
|
+
}
|
127
|
+
.bs-docs-nav .navbar-brand,
|
128
|
+
.bs-docs-nav .navbar-nav > li > a {
|
129
|
+
font-weight: 500;
|
130
|
+
color: #563d7c;
|
131
|
+
}
|
132
|
+
.bs-docs-nav .navbar-nav > li > a:hover,
|
133
|
+
.bs-docs-nav .navbar-nav > .active > a,
|
134
|
+
.bs-docs-nav .navbar-nav > .active > a:hover {
|
135
|
+
color: #463265;
|
136
|
+
background-color: #f9f9f9;
|
137
|
+
}
|
138
|
+
.bs-docs-nav .navbar-toggle .icon-bar {
|
139
|
+
background-color: #563d7c;
|
140
|
+
}
|
141
|
+
.bs-docs-nav .navbar-header .navbar-toggle {
|
142
|
+
border-color: #fff;
|
143
|
+
}
|
144
|
+
.bs-docs-nav .navbar-header .navbar-toggle:hover,
|
145
|
+
.bs-docs-nav .navbar-header .navbar-toggle:focus {
|
146
|
+
background-color: #f9f9f9;
|
147
|
+
border-color: #f9f9f9;
|
148
|
+
}
|
149
|
+
|
150
|
+
|
151
|
+
/*
|
152
|
+
* Footer
|
153
|
+
*
|
154
|
+
* Separated section of content at the bottom of all pages, save the homepage.
|
155
|
+
*/
|
156
|
+
|
157
|
+
.bs-docs-footer {
|
158
|
+
padding-top: 40px;
|
159
|
+
padding-bottom: 40px;
|
160
|
+
margin-top: 100px;
|
161
|
+
color: #777;
|
162
|
+
text-align: center;
|
163
|
+
border-top: 1px solid #e5e5e5;
|
164
|
+
}
|
165
|
+
.bs-docs-footer-links {
|
166
|
+
padding-left: 0;
|
167
|
+
margin-top: 20px;
|
168
|
+
color: #999;
|
169
|
+
}
|
170
|
+
.bs-docs-footer-links li {
|
171
|
+
display: inline;
|
172
|
+
padding: 0 2px;
|
173
|
+
}
|
174
|
+
.bs-docs-footer-links li:first-child {
|
175
|
+
padding-left: 0;
|
176
|
+
}
|
177
|
+
|
178
|
+
@media (min-width: 768px) {
|
179
|
+
.bs-docs-footer p {
|
180
|
+
margin-bottom: 0;
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
|
185
|
+
/*
|
186
|
+
* Social buttons
|
187
|
+
*
|
188
|
+
* Twitter and GitHub social action buttons (for homepage and footer).
|
189
|
+
*/
|
190
|
+
|
191
|
+
.bs-docs-social {
|
192
|
+
margin-bottom: 20px;
|
193
|
+
text-align: center;
|
194
|
+
}
|
195
|
+
.bs-docs-social-buttons {
|
196
|
+
display: inline-block;
|
197
|
+
padding-left: 0;
|
198
|
+
margin-bottom: 0;
|
199
|
+
list-style: none;
|
200
|
+
}
|
201
|
+
.bs-docs-social-buttons li {
|
202
|
+
display: inline-block;
|
203
|
+
padding: 5px 8px;
|
204
|
+
line-height: 1;
|
205
|
+
}
|
206
|
+
.bs-docs-social-buttons .twitter-follow-button {
|
207
|
+
width: 225px !important;
|
208
|
+
}
|
209
|
+
.bs-docs-social-buttons .twitter-share-button {
|
210
|
+
width: 98px !important;
|
211
|
+
}
|
212
|
+
/* Style the GitHub buttons via CSS instead of inline attributes */
|
213
|
+
.github-btn {
|
214
|
+
overflow: hidden;
|
215
|
+
border: 0;
|
216
|
+
}
|
217
|
+
|
218
|
+
|
219
|
+
/*
|
220
|
+
* Homepage
|
221
|
+
*
|
222
|
+
* Tweaks to the custom homepage and the masthead (main jumbotron).
|
223
|
+
*/
|
224
|
+
|
225
|
+
/* Share masthead with page headers */
|
226
|
+
.bs-docs-masthead,
|
227
|
+
.bs-docs-header {
|
228
|
+
position: relative;
|
229
|
+
padding: 30px 15px;
|
230
|
+
color: #cdbfe3;
|
231
|
+
text-align: center;
|
232
|
+
text-shadow: 0 1px 0 rgba(0,0,0,.1);
|
233
|
+
background-color: #6f5499;
|
234
|
+
background-image: -webkit-gradient(linear, left top, left bottom, from(#563d7c), to(#6f5499));
|
235
|
+
background-image: -webkit-linear-gradient(top, #563d7c 0%, #6f5499 100%);
|
236
|
+
background-image: -o-linear-gradient(top, #563d7c 0%, #6f5499 100%);
|
237
|
+
background-image: linear-gradient(to bottom, #563d7c 0%, #6f5499 100%);
|
238
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#563d7c', endColorstr='#6F5499', GradientType=0);
|
239
|
+
background-repeat: repeat-x;
|
240
|
+
}
|
241
|
+
|
242
|
+
/* Masthead (headings and download button) */
|
243
|
+
.bs-docs-masthead .bs-docs-booticon {
|
244
|
+
margin: 0 auto 30px;
|
245
|
+
}
|
246
|
+
.bs-docs-masthead h1 {
|
247
|
+
font-weight: 300;
|
248
|
+
line-height: 1;
|
249
|
+
color: #fff;
|
250
|
+
}
|
251
|
+
.bs-docs-masthead .lead {
|
252
|
+
margin: 0 auto 30px;
|
253
|
+
font-size: 20px;
|
254
|
+
color: #fff;
|
255
|
+
}
|
256
|
+
.bs-docs-masthead .version {
|
257
|
+
margin-top: -15px;
|
258
|
+
margin-bottom: 30px;
|
259
|
+
color: #9783b9;
|
260
|
+
}
|
261
|
+
.bs-docs-masthead .btn {
|
262
|
+
width: 100%;
|
263
|
+
padding: 15px 30px;
|
264
|
+
font-size: 20px;
|
265
|
+
}
|
266
|
+
|
267
|
+
@media (min-width: 480px) {
|
268
|
+
.bs-docs-masthead .btn {
|
269
|
+
width: auto;
|
270
|
+
}
|
271
|
+
}
|
272
|
+
|
273
|
+
@media (min-width: 768px) {
|
274
|
+
.bs-docs-masthead {
|
275
|
+
padding-top: 80px;
|
276
|
+
padding-bottom: 80px;
|
277
|
+
}
|
278
|
+
.bs-docs-masthead h1 {
|
279
|
+
font-size: 60px;
|
280
|
+
}
|
281
|
+
.bs-docs-masthead .lead {
|
282
|
+
font-size: 24px;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
|
286
|
+
@media (min-width: 992px) {
|
287
|
+
.bs-docs-masthead .lead {
|
288
|
+
width: 80%;
|
289
|
+
font-size: 30px;
|
290
|
+
}
|
291
|
+
}
|
292
|
+
|
293
|
+
|
294
|
+
/*
|
295
|
+
* Page headers
|
296
|
+
*
|
297
|
+
* Jumbotron-esque headers at the top of every page that's not the homepage.
|
298
|
+
*/
|
299
|
+
|
300
|
+
/* Page headers */
|
301
|
+
.bs-docs-header {
|
302
|
+
margin-bottom: 40px;
|
303
|
+
font-size: 20px;
|
304
|
+
}
|
305
|
+
.bs-docs-header h1 {
|
306
|
+
margin-top: 0;
|
307
|
+
color: #fff;
|
308
|
+
}
|
309
|
+
.bs-docs-header p {
|
310
|
+
margin-bottom: 0;
|
311
|
+
font-weight: 300;
|
312
|
+
line-height: 1.4;
|
313
|
+
}
|
314
|
+
.bs-docs-header .container {
|
315
|
+
position: relative;
|
316
|
+
}
|
317
|
+
|
318
|
+
@media (min-width: 768px) {
|
319
|
+
.bs-docs-header {
|
320
|
+
padding-top: 60px;
|
321
|
+
padding-bottom: 60px;
|
322
|
+
font-size: 24px;
|
323
|
+
text-align: left;
|
324
|
+
}
|
325
|
+
.bs-docs-header h1 {
|
326
|
+
font-size: 60px;
|
327
|
+
line-height: 1;
|
328
|
+
}
|
329
|
+
}
|
330
|
+
|
331
|
+
@media (min-width: 992px) {
|
332
|
+
.bs-docs-header h1,
|
333
|
+
.bs-docs-header p {
|
334
|
+
margin-right: 380px;
|
335
|
+
}
|
336
|
+
}
|
337
|
+
|
338
|
+
|
339
|
+
/*
|
340
|
+
* Carbon ads
|
341
|
+
*
|
342
|
+
* Single display ad that shows on all pages (except homepage) in page headers.
|
343
|
+
* The hella `!important` is required for any pre-set property.
|
344
|
+
*/
|
345
|
+
|
346
|
+
.carbonad {
|
347
|
+
width: auto !important;
|
348
|
+
height: auto !important;
|
349
|
+
padding: 20px !important;
|
350
|
+
margin: 30px -30px -31px !important;
|
351
|
+
overflow: hidden; /* clearfix */
|
352
|
+
font-size: 13px !important;
|
353
|
+
line-height: 16px !important;
|
354
|
+
text-align: left;
|
355
|
+
background: transparent !important;
|
356
|
+
border: solid #866ab3 !important;
|
357
|
+
border-width: 1px 0 !important;
|
358
|
+
}
|
359
|
+
.carbonad-img {
|
360
|
+
margin: 0 !important;
|
361
|
+
}
|
362
|
+
.carbonad-text,
|
363
|
+
.carbonad-tag {
|
364
|
+
display: block !important;
|
365
|
+
float: none !important;
|
366
|
+
width: auto !important;
|
367
|
+
height: auto !important;
|
368
|
+
margin-left: 145px !important;
|
369
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
|
370
|
+
}
|
371
|
+
.carbonad-text {
|
372
|
+
padding-top: 0 !important;
|
373
|
+
}
|
374
|
+
.carbonad-tag {
|
375
|
+
color: inherit !important;
|
376
|
+
text-align: left !important;
|
377
|
+
}
|
378
|
+
.carbonad-text a,
|
379
|
+
.carbonad-tag a {
|
380
|
+
color: #fff !important;
|
381
|
+
}
|
382
|
+
.carbonad #azcarbon > img {
|
383
|
+
display: none; /* hide what I assume are tracking images */
|
384
|
+
}
|
385
|
+
|
386
|
+
@media (min-width: 480px) {
|
387
|
+
.carbonad {
|
388
|
+
width: 330px !important;
|
389
|
+
margin: 20px auto !important;
|
390
|
+
border-width: 1px !important;
|
391
|
+
border-radius: 4px;
|
392
|
+
}
|
393
|
+
.bs-docs-masthead .carbonad {
|
394
|
+
margin: 50px auto 0 !important;
|
395
|
+
}
|
396
|
+
}
|
397
|
+
|
398
|
+
@media (min-width: 768px) {
|
399
|
+
.carbonad {
|
400
|
+
margin-right: 0 !important;
|
401
|
+
margin-left: 0 !important;
|
402
|
+
}
|
403
|
+
}
|
404
|
+
|
405
|
+
@media (min-width: 992px) {
|
406
|
+
.carbonad {
|
407
|
+
position: absolute;
|
408
|
+
top: 0;
|
409
|
+
right: 15px; /* 15px instead of 0 since box-sizing */
|
410
|
+
width: 330px !important;
|
411
|
+
padding: 15px !important;
|
412
|
+
margin: 0 !important;
|
413
|
+
}
|
414
|
+
.bs-docs-masthead .carbonad {
|
415
|
+
position: static;
|
416
|
+
}
|
417
|
+
}
|
418
|
+
|
419
|
+
|
420
|
+
/*
|
421
|
+
* Homepage featurettes
|
422
|
+
*
|
423
|
+
* Reasons to use Bootstrap, entries from the Expo, and more.
|
424
|
+
*/
|
425
|
+
|
426
|
+
.bs-docs-featurette {
|
427
|
+
padding-top: 40px;
|
428
|
+
padding-bottom: 40px;
|
429
|
+
font-size: 16px;
|
430
|
+
line-height: 1.5;
|
431
|
+
color: #555;
|
432
|
+
text-align: center;
|
433
|
+
background-color: #fff;
|
434
|
+
border-bottom: 1px solid #e5e5e5;
|
435
|
+
}
|
436
|
+
.bs-docs-featurette + .bs-docs-footer {
|
437
|
+
margin-top: 0;
|
438
|
+
border-top: 0;
|
439
|
+
}
|
440
|
+
|
441
|
+
.bs-docs-featurette-title {
|
442
|
+
margin-bottom: 5px;
|
443
|
+
font-size: 30px;
|
444
|
+
font-weight: normal;
|
445
|
+
color: #333;
|
446
|
+
}
|
447
|
+
.half-rule {
|
448
|
+
width: 100px;
|
449
|
+
margin: 40px auto;
|
450
|
+
}
|
451
|
+
.bs-docs-featurette h3 {
|
452
|
+
margin-bottom: 5px;
|
453
|
+
font-weight: normal;
|
454
|
+
color: #333;
|
455
|
+
}
|
456
|
+
.bs-docs-featurette-img {
|
457
|
+
display: block;
|
458
|
+
margin-bottom: 20px;
|
459
|
+
color: #333;
|
460
|
+
}
|
461
|
+
.bs-docs-featurette-img:hover {
|
462
|
+
color: #428bca;
|
463
|
+
text-decoration: none;
|
464
|
+
}
|
465
|
+
.bs-docs-featurette-img img {
|
466
|
+
display: block;
|
467
|
+
margin-bottom: 15px;
|
468
|
+
}
|
469
|
+
|
470
|
+
/* Featured sites */
|
471
|
+
.bs-docs-featured-sites {
|
472
|
+
margin-right: -1px;
|
473
|
+
margin-left: -1px;
|
474
|
+
}
|
475
|
+
.bs-docs-featured-sites .col-sm-3 {
|
476
|
+
padding-right: 1px;
|
477
|
+
padding-left: 1px;
|
478
|
+
}
|
479
|
+
|
480
|
+
@media (min-width: 480px) {
|
481
|
+
.bs-docs-featurette .img-responsive {
|
482
|
+
margin-top: 30px;
|
483
|
+
}
|
484
|
+
}
|
485
|
+
@media (min-width: 768px) {
|
486
|
+
.bs-docs-featurette {
|
487
|
+
padding-top: 100px;
|
488
|
+
padding-bottom: 100px;
|
489
|
+
}
|
490
|
+
.bs-docs-featurette-title {
|
491
|
+
font-size: 40px;
|
492
|
+
}
|
493
|
+
.bs-docs-featurette .lead {
|
494
|
+
max-width: 80%;
|
495
|
+
margin-right: auto;
|
496
|
+
margin-left: auto;
|
497
|
+
}
|
498
|
+
.bs-docs-featured-sites .col-sm-3:first-child img {
|
499
|
+
border-top-left-radius: 4px;
|
500
|
+
border-bottom-left-radius: 4px;
|
501
|
+
}
|
502
|
+
.bs-docs-featured-sites .col-sm-3:last-child img {
|
503
|
+
border-top-right-radius: 4px;
|
504
|
+
border-bottom-right-radius: 4px;
|
505
|
+
}
|
506
|
+
|
507
|
+
.bs-docs-featurette .img-responsive {
|
508
|
+
margin-top: 0;
|
509
|
+
}
|
510
|
+
}
|
511
|
+
|
512
|
+
|
513
|
+
/*
|
514
|
+
* Side navigation
|
515
|
+
*
|
516
|
+
* Scrollspy and affixed enhanced navigation to highlight sections and secondary
|
517
|
+
* sections of docs content.
|
518
|
+
*/
|
519
|
+
|
520
|
+
/* By default it's not affixed in mobile views, so undo that */
|
521
|
+
.bs-docs-sidebar.affix {
|
522
|
+
position: static;
|
523
|
+
}
|
524
|
+
@media (min-width: 768px) {
|
525
|
+
.bs-docs-sidebar {
|
526
|
+
padding-left: 20px;
|
527
|
+
}
|
528
|
+
}
|
529
|
+
|
530
|
+
/* First level of nav */
|
531
|
+
.bs-docs-sidenav {
|
532
|
+
margin-top: 20px;
|
533
|
+
margin-bottom: 20px;
|
534
|
+
}
|
535
|
+
|
536
|
+
/* All levels of nav */
|
537
|
+
.bs-docs-sidebar .nav > li > a {
|
538
|
+
display: block;
|
539
|
+
padding: 4px 20px;
|
540
|
+
font-size: 13px;
|
541
|
+
font-weight: 500;
|
542
|
+
color: #999;
|
543
|
+
}
|
544
|
+
.bs-docs-sidebar .nav > li > a:hover,
|
545
|
+
.bs-docs-sidebar .nav > li > a:focus {
|
546
|
+
padding-left: 19px;
|
547
|
+
color: #563d7c;
|
548
|
+
text-decoration: none;
|
549
|
+
background-color: transparent;
|
550
|
+
border-left: 1px solid #563d7c;
|
551
|
+
}
|
552
|
+
.bs-docs-sidebar .nav > .active > a,
|
553
|
+
.bs-docs-sidebar .nav > .active:hover > a,
|
554
|
+
.bs-docs-sidebar .nav > .active:focus > a {
|
555
|
+
padding-left: 18px;
|
556
|
+
font-weight: bold;
|
557
|
+
color: #563d7c;
|
558
|
+
background-color: transparent;
|
559
|
+
border-left: 2px solid #563d7c;
|
560
|
+
}
|
561
|
+
|
562
|
+
/* Nav: second level (shown on .active) */
|
563
|
+
.bs-docs-sidebar .nav .nav {
|
564
|
+
display: none; /* Hide by default, but at >768px, show it */
|
565
|
+
padding-bottom: 10px;
|
566
|
+
}
|
567
|
+
.bs-docs-sidebar .nav .nav > li > a {
|
568
|
+
padding-top: 1px;
|
569
|
+
padding-bottom: 1px;
|
570
|
+
padding-left: 30px;
|
571
|
+
font-size: 12px;
|
572
|
+
font-weight: normal;
|
573
|
+
}
|
574
|
+
.bs-docs-sidebar .nav .nav > li > a:hover,
|
575
|
+
.bs-docs-sidebar .nav .nav > li > a:focus {
|
576
|
+
padding-left: 29px;
|
577
|
+
}
|
578
|
+
.bs-docs-sidebar .nav .nav > .active > a,
|
579
|
+
.bs-docs-sidebar .nav .nav > .active:hover > a,
|
580
|
+
.bs-docs-sidebar .nav .nav > .active:focus > a {
|
581
|
+
padding-left: 28px;
|
582
|
+
font-weight: 500;
|
583
|
+
}
|
584
|
+
|
585
|
+
/* Back to top (hidden on mobile) */
|
586
|
+
.back-to-top {
|
587
|
+
display: none;
|
588
|
+
padding: 4px 10px;
|
589
|
+
margin-top: 10px;
|
590
|
+
margin-left: 10px;
|
591
|
+
font-size: 12px;
|
592
|
+
font-weight: 500;
|
593
|
+
color: #999;
|
594
|
+
}
|
595
|
+
.back-to-top:hover {
|
596
|
+
color: #563d7c;
|
597
|
+
text-decoration: none;
|
598
|
+
}
|
599
|
+
|
600
|
+
@media (min-width: 768px) {
|
601
|
+
.back-to-top {
|
602
|
+
display: block;
|
603
|
+
}
|
604
|
+
}
|
605
|
+
|
606
|
+
/* Show and affix the side nav when space allows it */
|
607
|
+
@media (min-width: 992px) {
|
608
|
+
.bs-docs-sidebar .nav > .active > ul {
|
609
|
+
display: block;
|
610
|
+
}
|
611
|
+
/* Widen the fixed sidebar */
|
612
|
+
.bs-docs-sidebar.affix,
|
613
|
+
.bs-docs-sidebar.affix-bottom {
|
614
|
+
width: 213px;
|
615
|
+
}
|
616
|
+
.bs-docs-sidebar.affix {
|
617
|
+
position: fixed; /* Undo the static from mobile first approach */
|
618
|
+
top: 20px;
|
619
|
+
}
|
620
|
+
.bs-docs-sidebar.affix-bottom {
|
621
|
+
position: absolute; /* Undo the static from mobile first approach */
|
622
|
+
}
|
623
|
+
.bs-docs-sidebar.affix-bottom .bs-docs-sidenav,
|
624
|
+
.bs-docs-sidebar.affix .bs-docs-sidenav {
|
625
|
+
margin-top: 0;
|
626
|
+
margin-bottom: 0;
|
627
|
+
}
|
628
|
+
}
|
629
|
+
@media (min-width: 1200px) {
|
630
|
+
/* Widen the fixed sidebar again */
|
631
|
+
.bs-docs-sidebar.affix-bottom,
|
632
|
+
.bs-docs-sidebar.affix {
|
633
|
+
width: 263px;
|
634
|
+
}
|
635
|
+
}
|
636
|
+
|
637
|
+
|
638
|
+
/*
|
639
|
+
* Docs sections
|
640
|
+
*
|
641
|
+
* Content blocks for each component or feature.
|
642
|
+
*/
|
643
|
+
|
644
|
+
/* Space things out */
|
645
|
+
.bs-docs-section {
|
646
|
+
margin-bottom: 60px;
|
647
|
+
}
|
648
|
+
.bs-docs-section:last-child {
|
649
|
+
margin-bottom: 0;
|
650
|
+
}
|
651
|
+
|
652
|
+
h1[id] {
|
653
|
+
padding-top: 20px;
|
654
|
+
margin-top: 0;
|
655
|
+
}
|
656
|
+
|
657
|
+
|
658
|
+
/*
|
659
|
+
* Callouts
|
660
|
+
*
|
661
|
+
* Not quite alerts, but custom and helpful notes for folks reading the docs.
|
662
|
+
* Requires a base and modifier class.
|
663
|
+
*/
|
664
|
+
|
665
|
+
/* Common styles for all types */
|
666
|
+
.bs-callout {
|
667
|
+
padding: 20px;
|
668
|
+
margin: 20px 0;
|
669
|
+
border-left: 3px solid #eee;
|
670
|
+
}
|
671
|
+
.bs-callout h4 {
|
672
|
+
margin-top: 0;
|
673
|
+
margin-bottom: 5px;
|
674
|
+
}
|
675
|
+
.bs-callout p:last-child {
|
676
|
+
margin-bottom: 0;
|
677
|
+
}
|
678
|
+
.bs-callout code {
|
679
|
+
background-color: #fff;
|
680
|
+
border-radius: 3px;
|
681
|
+
}
|
682
|
+
|
683
|
+
/* Variations */
|
684
|
+
.bs-callout-danger {
|
685
|
+
background-color: #fdf7f7;
|
686
|
+
border-color: #d9534f;
|
687
|
+
}
|
688
|
+
.bs-callout-danger h4 {
|
689
|
+
color: #d9534f;
|
690
|
+
}
|
691
|
+
.bs-callout-warning {
|
692
|
+
background-color: #fcf8f2;
|
693
|
+
border-color: #f0ad4e;
|
694
|
+
}
|
695
|
+
.bs-callout-warning h4 {
|
696
|
+
color: #f0ad4e;
|
697
|
+
}
|
698
|
+
.bs-callout-info {
|
699
|
+
background-color: #f4f8fa;
|
700
|
+
border-color: #5bc0de;
|
701
|
+
}
|
702
|
+
.bs-callout-info h4 {
|
703
|
+
color: #5bc0de;
|
704
|
+
}
|
705
|
+
|
706
|
+
|
707
|
+
/*
|
708
|
+
* Color swatches
|
709
|
+
*
|
710
|
+
* Color swatches and associated values for our grayscale and brand colors.
|
711
|
+
*/
|
712
|
+
|
713
|
+
.color-swatches {
|
714
|
+
margin: 0 -5px;
|
715
|
+
overflow: hidden; /* clearfix */
|
716
|
+
}
|
717
|
+
.color-swatch {
|
718
|
+
float: left;
|
719
|
+
width: 60px;
|
720
|
+
height: 60px;
|
721
|
+
margin: 0 5px;
|
722
|
+
border-radius: 3px;
|
723
|
+
}
|
724
|
+
|
725
|
+
@media (min-width: 768px) {
|
726
|
+
.color-swatch {
|
727
|
+
width: 100px;
|
728
|
+
height: 100px;
|
729
|
+
}
|
730
|
+
}
|
731
|
+
|
732
|
+
/* Framework colors */
|
733
|
+
.color-swatches .gray-darker {
|
734
|
+
background-color: #222;
|
735
|
+
}
|
736
|
+
.color-swatches .gray-dark {
|
737
|
+
background-color: #333;
|
738
|
+
}
|
739
|
+
.color-swatches .gray {
|
740
|
+
background-color: #555;
|
741
|
+
}
|
742
|
+
.color-swatches .gray-light {
|
743
|
+
background-color: #999;
|
744
|
+
}
|
745
|
+
.color-swatches .gray-lighter {
|
746
|
+
background-color: #eee;
|
747
|
+
}
|
748
|
+
.color-swatches .brand-primary {
|
749
|
+
background-color: #428bca;
|
750
|
+
}
|
751
|
+
.color-swatches .brand-success {
|
752
|
+
background-color: #5cb85c;
|
753
|
+
}
|
754
|
+
.color-swatches .brand-warning {
|
755
|
+
background-color: #f0ad4e;
|
756
|
+
}
|
757
|
+
.color-swatches .brand-danger {
|
758
|
+
background-color: #d9534f;
|
759
|
+
}
|
760
|
+
.color-swatches .brand-info {
|
761
|
+
background-color: #5bc0de;
|
762
|
+
}
|
763
|
+
|
764
|
+
/* Docs colors */
|
765
|
+
.color-swatches .bs-purple {
|
766
|
+
background-color: #563d7c;
|
767
|
+
}
|
768
|
+
.color-swatches .bs-purple-light {
|
769
|
+
background-color: #c7bfd3;
|
770
|
+
}
|
771
|
+
.color-swatches .bs-purple-lighter {
|
772
|
+
background-color: #e5e1ea;
|
773
|
+
}
|
774
|
+
.color-swatches .bs-gray {
|
775
|
+
background-color: #f9f9f9;
|
776
|
+
}
|
777
|
+
|
778
|
+
|
779
|
+
/*
|
780
|
+
* Team members
|
781
|
+
*
|
782
|
+
* Avatars, names, and usernames for core team.
|
783
|
+
*/
|
784
|
+
|
785
|
+
.bs-team .team-member {
|
786
|
+
line-height: 32px;
|
787
|
+
color: #555;
|
788
|
+
}
|
789
|
+
.bs-team .team-member:hover {
|
790
|
+
color: #333;
|
791
|
+
text-decoration: none;
|
792
|
+
}
|
793
|
+
.bs-team .github-btn {
|
794
|
+
float: right;
|
795
|
+
width: 180px;
|
796
|
+
height: 20px;
|
797
|
+
margin-top: 6px;
|
798
|
+
}
|
799
|
+
.bs-team img {
|
800
|
+
float: left;
|
801
|
+
width: 32px;
|
802
|
+
margin-right: 10px;
|
803
|
+
border-radius: 4px;
|
804
|
+
}
|
805
|
+
|
806
|
+
|
807
|
+
/*
|
808
|
+
* Grid examples
|
809
|
+
*
|
810
|
+
* Highlight the grid columns within the docs so folks can see their padding,
|
811
|
+
* alignment, sizing, etc.
|
812
|
+
*/
|
813
|
+
|
814
|
+
.show-grid {
|
815
|
+
margin-bottom: 15px;
|
816
|
+
}
|
817
|
+
.show-grid [class^="col-"] {
|
818
|
+
padding-top: 10px;
|
819
|
+
padding-bottom: 10px;
|
820
|
+
background-color: #eee;
|
821
|
+
background-color: rgba(86,61,124,.15);
|
822
|
+
border: 1px solid #ddd;
|
823
|
+
border: 1px solid rgba(86,61,124,.2);
|
824
|
+
}
|
825
|
+
|
826
|
+
|
827
|
+
/*
|
828
|
+
* Examples
|
829
|
+
*
|
830
|
+
* Isolated sections of example content for each component or feature. Usually
|
831
|
+
* followed by a code snippet.
|
832
|
+
*/
|
833
|
+
|
834
|
+
.bs-example {
|
835
|
+
position: relative;
|
836
|
+
padding: 45px 15px 15px;
|
837
|
+
margin: 0 -15px 15px;
|
838
|
+
background-color: #fafafa;
|
839
|
+
border-color: #e5e5e5 #eee #eee;
|
840
|
+
border-style: solid;
|
841
|
+
border-width: 1px 0;
|
842
|
+
-webkit-box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
|
843
|
+
box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
|
844
|
+
}
|
845
|
+
/* Echo out a label for the example */
|
846
|
+
.bs-example:after {
|
847
|
+
position: absolute;
|
848
|
+
top: 15px;
|
849
|
+
left: 15px;
|
850
|
+
font-size: 12px;
|
851
|
+
font-weight: bold;
|
852
|
+
color: #bbb;
|
853
|
+
text-transform: uppercase;
|
854
|
+
letter-spacing: 1px;
|
855
|
+
content: "Example";
|
856
|
+
}
|
857
|
+
|
858
|
+
/* Tweak display of the code snippets when following an example */
|
859
|
+
.bs-example + .highlight {
|
860
|
+
margin: -15px -15px 15px;
|
861
|
+
border-width: 0 0 1px;
|
862
|
+
border-radius: 0;
|
863
|
+
}
|
864
|
+
|
865
|
+
/* Make the examples and snippets not full-width */
|
866
|
+
@media (min-width: 768px) {
|
867
|
+
.bs-example {
|
868
|
+
margin-right: 0;
|
869
|
+
margin-left: 0;
|
870
|
+
background-color: #fff;
|
871
|
+
border-color: #ddd;
|
872
|
+
border-width: 1px;
|
873
|
+
border-radius: 4px 4px 0 0;
|
874
|
+
-webkit-box-shadow: none;
|
875
|
+
box-shadow: none;
|
876
|
+
}
|
877
|
+
.bs-example + .highlight {
|
878
|
+
margin-top: -16px;
|
879
|
+
margin-right: 0;
|
880
|
+
margin-left: 0;
|
881
|
+
border-width: 1px;
|
882
|
+
border-bottom-right-radius: 4px;
|
883
|
+
border-bottom-left-radius: 4px;
|
884
|
+
}
|
885
|
+
}
|
886
|
+
|
887
|
+
/* Undo width of container */
|
888
|
+
.bs-example .container {
|
889
|
+
width: auto;
|
890
|
+
}
|
891
|
+
|
892
|
+
/* Tweak content of examples for optimum awesome */
|
893
|
+
.bs-example > p:last-child,
|
894
|
+
.bs-example > ul:last-child,
|
895
|
+
.bs-example > ol:last-child,
|
896
|
+
.bs-example > blockquote:last-child,
|
897
|
+
.bs-example > .form-control:last-child,
|
898
|
+
.bs-example > .table:last-child,
|
899
|
+
.bs-example > .navbar:last-child,
|
900
|
+
.bs-example > .jumbotron:last-child,
|
901
|
+
.bs-example > .alert:last-child,
|
902
|
+
.bs-example > .panel:last-child,
|
903
|
+
.bs-example > .list-group:last-child,
|
904
|
+
.bs-example > .well:last-child,
|
905
|
+
.bs-example > .progress:last-child,
|
906
|
+
.bs-example > .table-responsive:last-child > .table {
|
907
|
+
margin-bottom: 0;
|
908
|
+
}
|
909
|
+
.bs-example > p > .close {
|
910
|
+
float: none;
|
911
|
+
}
|
912
|
+
|
913
|
+
/* Typography */
|
914
|
+
.bs-example-type .table .type-info {
|
915
|
+
color: #999;
|
916
|
+
vertical-align: middle;
|
917
|
+
}
|
918
|
+
.bs-example-type .table td {
|
919
|
+
padding: 15px 0;
|
920
|
+
border-color: #eee;
|
921
|
+
}
|
922
|
+
.bs-example-type .table tr:first-child td {
|
923
|
+
border-top: 0;
|
924
|
+
}
|
925
|
+
.bs-example-type h1,
|
926
|
+
.bs-example-type h2,
|
927
|
+
.bs-example-type h3,
|
928
|
+
.bs-example-type h4,
|
929
|
+
.bs-example-type h5,
|
930
|
+
.bs-example-type h6 {
|
931
|
+
margin: 0;
|
932
|
+
}
|
933
|
+
|
934
|
+
/* Contextual background colors */
|
935
|
+
.bs-example-bg-classes p {
|
936
|
+
padding: 15px;
|
937
|
+
}
|
938
|
+
|
939
|
+
/* Images */
|
940
|
+
.bs-example > .img-circle,
|
941
|
+
.bs-example > .img-rounded,
|
942
|
+
.bs-example > .img-thumbnail {
|
943
|
+
margin: 5px;
|
944
|
+
}
|
945
|
+
|
946
|
+
/* Tables */
|
947
|
+
.bs-example > .table-responsive > .table {
|
948
|
+
background-color: #fff;
|
949
|
+
}
|
950
|
+
|
951
|
+
/* Buttons */
|
952
|
+
.bs-example > .btn,
|
953
|
+
.bs-example > .btn-group {
|
954
|
+
margin-top: 5px;
|
955
|
+
margin-bottom: 5px;
|
956
|
+
}
|
957
|
+
.bs-example > .btn-toolbar + .btn-toolbar {
|
958
|
+
margin-top: 10px;
|
959
|
+
}
|
960
|
+
|
961
|
+
/* Forms */
|
962
|
+
.bs-example-control-sizing select,
|
963
|
+
.bs-example-control-sizing input[type="text"] + input[type="text"] {
|
964
|
+
margin-top: 10px;
|
965
|
+
}
|
966
|
+
.bs-example-form .input-group {
|
967
|
+
margin-bottom: 10px;
|
968
|
+
}
|
969
|
+
.bs-example > textarea.form-control {
|
970
|
+
resize: vertical;
|
971
|
+
}
|
972
|
+
|
973
|
+
/* List groups */
|
974
|
+
.bs-example > .list-group {
|
975
|
+
max-width: 400px;
|
976
|
+
}
|
977
|
+
|
978
|
+
/* Navbars */
|
979
|
+
.bs-example .navbar:last-child {
|
980
|
+
margin-bottom: 0;
|
981
|
+
}
|
982
|
+
.bs-navbar-top-example,
|
983
|
+
.bs-navbar-bottom-example {
|
984
|
+
z-index: 1;
|
985
|
+
padding: 0;
|
986
|
+
overflow: hidden; /* cut the drop shadows off */
|
987
|
+
}
|
988
|
+
.bs-navbar-top-example .navbar-header,
|
989
|
+
.bs-navbar-bottom-example .navbar-header {
|
990
|
+
margin-left: 0;
|
991
|
+
}
|
992
|
+
.bs-navbar-top-example .navbar-fixed-top,
|
993
|
+
.bs-navbar-bottom-example .navbar-fixed-bottom {
|
994
|
+
position: relative;
|
995
|
+
margin-right: 0;
|
996
|
+
margin-left: 0;
|
997
|
+
}
|
998
|
+
.bs-navbar-top-example {
|
999
|
+
padding-bottom: 45px;
|
1000
|
+
}
|
1001
|
+
.bs-navbar-top-example:after {
|
1002
|
+
top: auto;
|
1003
|
+
bottom: 15px;
|
1004
|
+
}
|
1005
|
+
.bs-navbar-top-example .navbar-fixed-top {
|
1006
|
+
top: -1px;
|
1007
|
+
}
|
1008
|
+
.bs-navbar-bottom-example {
|
1009
|
+
padding-top: 45px;
|
1010
|
+
}
|
1011
|
+
.bs-navbar-bottom-example .navbar-fixed-bottom {
|
1012
|
+
bottom: -1px;
|
1013
|
+
}
|
1014
|
+
.bs-navbar-bottom-example .navbar {
|
1015
|
+
margin-bottom: 0;
|
1016
|
+
}
|
1017
|
+
@media (min-width: 768px) {
|
1018
|
+
.bs-navbar-top-example .navbar-fixed-top,
|
1019
|
+
.bs-navbar-bottom-example .navbar-fixed-bottom {
|
1020
|
+
position: absolute;
|
1021
|
+
}
|
1022
|
+
}
|
1023
|
+
|
1024
|
+
/* Pagination */
|
1025
|
+
.bs-example .pagination {
|
1026
|
+
margin-top: 10px;
|
1027
|
+
margin-bottom: 10px;
|
1028
|
+
}
|
1029
|
+
|
1030
|
+
/* Pager */
|
1031
|
+
.bs-example > .pager {
|
1032
|
+
margin-top: 0;
|
1033
|
+
}
|
1034
|
+
|
1035
|
+
/* Example modals */
|
1036
|
+
.bs-example-modal {
|
1037
|
+
background-color: #f5f5f5;
|
1038
|
+
}
|
1039
|
+
.bs-example-modal .modal {
|
1040
|
+
position: relative;
|
1041
|
+
top: auto;
|
1042
|
+
right: auto;
|
1043
|
+
bottom: auto;
|
1044
|
+
left: auto;
|
1045
|
+
z-index: 1;
|
1046
|
+
display: block;
|
1047
|
+
}
|
1048
|
+
.bs-example-modal .modal-dialog {
|
1049
|
+
left: auto;
|
1050
|
+
margin-right: auto;
|
1051
|
+
margin-left: auto;
|
1052
|
+
}
|
1053
|
+
|
1054
|
+
/* Example dropdowns */
|
1055
|
+
.bs-example > .dropdown > .dropdown-menu {
|
1056
|
+
position: static;
|
1057
|
+
display: block;
|
1058
|
+
margin-bottom: 5px;
|
1059
|
+
}
|
1060
|
+
|
1061
|
+
/* Example tabbable tabs */
|
1062
|
+
.bs-example-tabs .nav-tabs {
|
1063
|
+
margin-bottom: 15px;
|
1064
|
+
}
|
1065
|
+
|
1066
|
+
/* Tooltips */
|
1067
|
+
.bs-example-tooltips {
|
1068
|
+
text-align: center;
|
1069
|
+
}
|
1070
|
+
.bs-example-tooltips > .btn {
|
1071
|
+
margin-top: 5px;
|
1072
|
+
margin-bottom: 5px;
|
1073
|
+
}
|
1074
|
+
|
1075
|
+
/* Popovers */
|
1076
|
+
.bs-example-popover {
|
1077
|
+
padding-bottom: 24px;
|
1078
|
+
background-color: #f9f9f9;
|
1079
|
+
}
|
1080
|
+
.bs-example-popover .popover {
|
1081
|
+
position: relative;
|
1082
|
+
display: block;
|
1083
|
+
float: left;
|
1084
|
+
width: 260px;
|
1085
|
+
margin: 20px;
|
1086
|
+
}
|
1087
|
+
|
1088
|
+
/* Scrollspy demo on fixed height div */
|
1089
|
+
.scrollspy-example {
|
1090
|
+
position: relative;
|
1091
|
+
height: 200px;
|
1092
|
+
margin-top: 10px;
|
1093
|
+
overflow: auto;
|
1094
|
+
}
|
1095
|
+
|
1096
|
+
|
1097
|
+
/*
|
1098
|
+
* Code snippets
|
1099
|
+
*
|
1100
|
+
* Generated via Pygments and Jekyll, these are snippets of HTML, CSS, and JS.
|
1101
|
+
*/
|
1102
|
+
|
1103
|
+
.highlight {
|
1104
|
+
padding: 9px 14px;
|
1105
|
+
margin-bottom: 14px;
|
1106
|
+
background-color: #f7f7f9;
|
1107
|
+
border: 1px solid #e1e1e8;
|
1108
|
+
border-radius: 4px;
|
1109
|
+
}
|
1110
|
+
.highlight pre {
|
1111
|
+
padding: 0;
|
1112
|
+
margin-top: 0;
|
1113
|
+
margin-bottom: 0;
|
1114
|
+
white-space: nowrap;
|
1115
|
+
background-color: transparent;
|
1116
|
+
border: 0;
|
1117
|
+
}
|
1118
|
+
.highlight pre code {
|
1119
|
+
font-size: inherit;
|
1120
|
+
color: #333; /* Effectively the base text color */
|
1121
|
+
}
|
1122
|
+
.highlight pre .lineno {
|
1123
|
+
display: inline-block;
|
1124
|
+
width: 22px;
|
1125
|
+
padding-right: 5px;
|
1126
|
+
margin-right: 10px;
|
1127
|
+
color: #bebec5;
|
1128
|
+
text-align: right;
|
1129
|
+
}
|
1130
|
+
|
1131
|
+
|
1132
|
+
/*
|
1133
|
+
* Responsive tests
|
1134
|
+
*
|
1135
|
+
* Generate a set of tests to show the responsive utilities in action.
|
1136
|
+
*/
|
1137
|
+
|
1138
|
+
/* Responsive (scrollable) doc tables */
|
1139
|
+
.table-responsive .highlight pre {
|
1140
|
+
white-space: normal;
|
1141
|
+
}
|
1142
|
+
|
1143
|
+
/* Utility classes table */
|
1144
|
+
.bs-table th small,
|
1145
|
+
.responsive-utilities th small {
|
1146
|
+
display: block;
|
1147
|
+
font-weight: normal;
|
1148
|
+
color: #999;
|
1149
|
+
}
|
1150
|
+
.responsive-utilities tbody th {
|
1151
|
+
font-weight: normal;
|
1152
|
+
}
|
1153
|
+
.responsive-utilities td {
|
1154
|
+
text-align: center;
|
1155
|
+
}
|
1156
|
+
.responsive-utilities td.is-visible {
|
1157
|
+
color: #468847;
|
1158
|
+
background-color: #dff0d8 !important;
|
1159
|
+
}
|
1160
|
+
.responsive-utilities td.is-hidden {
|
1161
|
+
color: #ccc;
|
1162
|
+
background-color: #f9f9f9 !important;
|
1163
|
+
}
|
1164
|
+
|
1165
|
+
/* Responsive tests */
|
1166
|
+
.responsive-utilities-test {
|
1167
|
+
margin-top: 5px;
|
1168
|
+
}
|
1169
|
+
.responsive-utilities-test .col-xs-6 {
|
1170
|
+
margin-bottom: 10px;
|
1171
|
+
}
|
1172
|
+
.responsive-utilities-test span {
|
1173
|
+
display: block;
|
1174
|
+
padding: 15px 10px;
|
1175
|
+
font-size: 14px;
|
1176
|
+
font-weight: bold;
|
1177
|
+
line-height: 1.1;
|
1178
|
+
text-align: center;
|
1179
|
+
border-radius: 4px;
|
1180
|
+
}
|
1181
|
+
.visible-on .col-xs-6 .hidden-xs,
|
1182
|
+
.visible-on .col-xs-6 .hidden-sm,
|
1183
|
+
.visible-on .col-xs-6 .hidden-md,
|
1184
|
+
.visible-on .col-xs-6 .hidden-lg,
|
1185
|
+
.hidden-on .col-xs-6 .hidden-xs,
|
1186
|
+
.hidden-on .col-xs-6 .hidden-sm,
|
1187
|
+
.hidden-on .col-xs-6 .hidden-md,
|
1188
|
+
.hidden-on .col-xs-6 .hidden-lg {
|
1189
|
+
color: #999;
|
1190
|
+
border: 1px solid #ddd;
|
1191
|
+
}
|
1192
|
+
.visible-on .col-xs-6 .visible-xs-block,
|
1193
|
+
.visible-on .col-xs-6 .visible-sm-block,
|
1194
|
+
.visible-on .col-xs-6 .visible-md-block,
|
1195
|
+
.visible-on .col-xs-6 .visible-lg-block,
|
1196
|
+
.hidden-on .col-xs-6 .visible-xs-block,
|
1197
|
+
.hidden-on .col-xs-6 .visible-sm-block,
|
1198
|
+
.hidden-on .col-xs-6 .visible-md-block,
|
1199
|
+
.hidden-on .col-xs-6 .visible-lg-block {
|
1200
|
+
color: #468847;
|
1201
|
+
background-color: #dff0d8;
|
1202
|
+
border: 1px solid #d6e9c6;
|
1203
|
+
}
|
1204
|
+
|
1205
|
+
|
1206
|
+
/*
|
1207
|
+
* Glyphicons
|
1208
|
+
*
|
1209
|
+
* Special styles for displaying the icons and their classes in the docs.
|
1210
|
+
*/
|
1211
|
+
|
1212
|
+
.bs-glyphicons {
|
1213
|
+
margin: 0 -10px 20px;
|
1214
|
+
overflow: hidden;
|
1215
|
+
}
|
1216
|
+
.bs-glyphicons-list {
|
1217
|
+
padding-left: 0;
|
1218
|
+
list-style: none;
|
1219
|
+
}
|
1220
|
+
.bs-glyphicons li {
|
1221
|
+
float: left;
|
1222
|
+
width: 25%;
|
1223
|
+
height: 115px;
|
1224
|
+
padding: 10px;
|
1225
|
+
font-size: 10px;
|
1226
|
+
line-height: 1.4;
|
1227
|
+
text-align: center;
|
1228
|
+
background-color: #f9f9f9;
|
1229
|
+
border: 1px solid #fff;
|
1230
|
+
}
|
1231
|
+
.bs-glyphicons .glyphicon {
|
1232
|
+
margin-top: 5px;
|
1233
|
+
margin-bottom: 10px;
|
1234
|
+
font-size: 24px;
|
1235
|
+
}
|
1236
|
+
.bs-glyphicons .glyphicon-class {
|
1237
|
+
display: block;
|
1238
|
+
text-align: center;
|
1239
|
+
word-wrap: break-word; /* Help out IE10+ with class names */
|
1240
|
+
}
|
1241
|
+
.bs-glyphicons li:hover {
|
1242
|
+
color: #fff;
|
1243
|
+
background-color: #563d7c;
|
1244
|
+
}
|
1245
|
+
|
1246
|
+
@media (min-width: 768px) {
|
1247
|
+
.bs-glyphicons {
|
1248
|
+
margin-right: 0;
|
1249
|
+
margin-left: 0;
|
1250
|
+
}
|
1251
|
+
.bs-glyphicons li {
|
1252
|
+
width: 12.5%;
|
1253
|
+
font-size: 12px;
|
1254
|
+
}
|
1255
|
+
}
|
1256
|
+
|
1257
|
+
|
1258
|
+
/*
|
1259
|
+
* Customizer
|
1260
|
+
*
|
1261
|
+
* Since this is so form control heavy, we have quite a few styles to customize
|
1262
|
+
* the display of inputs, headings, and more. Also included are all the download
|
1263
|
+
* buttons and actions.
|
1264
|
+
*/
|
1265
|
+
|
1266
|
+
.bs-customizer .toggle {
|
1267
|
+
float: right;
|
1268
|
+
margin-top: 25px;
|
1269
|
+
}
|
1270
|
+
|
1271
|
+
/* Headings and form contrls */
|
1272
|
+
.bs-customizer label {
|
1273
|
+
margin-top: 10px;
|
1274
|
+
font-weight: 500;
|
1275
|
+
color: #555;
|
1276
|
+
}
|
1277
|
+
.bs-customizer h2 {
|
1278
|
+
padding-top: 30px;
|
1279
|
+
margin-top: 0;
|
1280
|
+
margin-bottom: 5px;
|
1281
|
+
}
|
1282
|
+
.bs-customizer h3 {
|
1283
|
+
margin-bottom: 0;
|
1284
|
+
}
|
1285
|
+
.bs-customizer h4 {
|
1286
|
+
margin-top: 15px;
|
1287
|
+
margin-bottom: 0;
|
1288
|
+
}
|
1289
|
+
.bs-customizer .bs-callout h4 {
|
1290
|
+
margin-top: 0; /* lame, but due to specificity we have to duplicate */
|
1291
|
+
margin-bottom: 5px;
|
1292
|
+
}
|
1293
|
+
.bs-customizer input[type="text"] {
|
1294
|
+
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
1295
|
+
background-color: #fafafa;
|
1296
|
+
}
|
1297
|
+
.bs-customizer .help-block {
|
1298
|
+
margin-bottom: 5px;
|
1299
|
+
font-size: 12px;
|
1300
|
+
}
|
1301
|
+
|
1302
|
+
/* For the variables, use regular weight */
|
1303
|
+
#less-section label {
|
1304
|
+
font-weight: normal;
|
1305
|
+
}
|
1306
|
+
|
1307
|
+
.bs-customizer-input {
|
1308
|
+
float: left;
|
1309
|
+
width: 33.333333%;
|
1310
|
+
padding-right: 15px;
|
1311
|
+
padding-left: 15px;
|
1312
|
+
}
|
1313
|
+
|
1314
|
+
/* Downloads */
|
1315
|
+
.bs-customize-download .btn-outline {
|
1316
|
+
padding: 20px;
|
1317
|
+
}
|
1318
|
+
|
1319
|
+
/* Error handling */
|
1320
|
+
.bs-customizer-alert {
|
1321
|
+
position: fixed;
|
1322
|
+
top: 0;
|
1323
|
+
right: 0;
|
1324
|
+
left: 0;
|
1325
|
+
z-index: 1030;
|
1326
|
+
padding: 15px 0;
|
1327
|
+
color: #fff;
|
1328
|
+
background-color: #d9534f;
|
1329
|
+
border-bottom: 1px solid #b94441;
|
1330
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
|
1331
|
+
box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
|
1332
|
+
}
|
1333
|
+
.bs-customizer-alert .close {
|
1334
|
+
margin-top: -4px;
|
1335
|
+
font-size: 24px;
|
1336
|
+
}
|
1337
|
+
.bs-customizer-alert p {
|
1338
|
+
margin-bottom: 0;
|
1339
|
+
}
|
1340
|
+
.bs-customizer-alert .glyphicon {
|
1341
|
+
margin-right: 5px;
|
1342
|
+
}
|
1343
|
+
.bs-customizer-alert pre {
|
1344
|
+
margin: 10px 0 0;
|
1345
|
+
color: #fff;
|
1346
|
+
background-color: #a83c3a;
|
1347
|
+
border-color: #973634;
|
1348
|
+
-webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);
|
1349
|
+
box-shadow: inset 0 2px 4px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);
|
1350
|
+
}
|
1351
|
+
|
1352
|
+
|
1353
|
+
/*
|
1354
|
+
* Brand guidelines
|
1355
|
+
*
|
1356
|
+
* Extra styles for displaying wordmarks, logos, etc.
|
1357
|
+
*/
|
1358
|
+
|
1359
|
+
/* Logo series wrapper */
|
1360
|
+
.bs-brand-logos {
|
1361
|
+
display: table;
|
1362
|
+
width: 100%;
|
1363
|
+
margin-bottom: 15px;
|
1364
|
+
overflow: hidden;
|
1365
|
+
color: #563d7c;
|
1366
|
+
background-color: #f9f9f9;
|
1367
|
+
border-radius: 4px;
|
1368
|
+
}
|
1369
|
+
|
1370
|
+
/* Individual items */
|
1371
|
+
.bs-brand-item {
|
1372
|
+
padding: 60px 0;
|
1373
|
+
text-align: center;
|
1374
|
+
}
|
1375
|
+
.bs-brand-item + .bs-brand-item {
|
1376
|
+
border-top: 1px solid #fff;
|
1377
|
+
}
|
1378
|
+
.bs-brand-logos .inverse {
|
1379
|
+
color: #fff;
|
1380
|
+
background-color: #563d7c;
|
1381
|
+
}
|
1382
|
+
.bs-brand-item .svg {
|
1383
|
+
width: 144px;
|
1384
|
+
height: 144px;
|
1385
|
+
}
|
1386
|
+
|
1387
|
+
/* Heading content within */
|
1388
|
+
.bs-brand-item h1,
|
1389
|
+
.bs-brand-item h3 {
|
1390
|
+
margin-top: 0;
|
1391
|
+
margin-bottom: 0;
|
1392
|
+
}
|
1393
|
+
.bs-brand-item .bs-docs-booticon {
|
1394
|
+
margin-right: auto;
|
1395
|
+
margin-left: auto;
|
1396
|
+
}
|
1397
|
+
|
1398
|
+
/* Make the icons stand out on what is/isn't okay */
|
1399
|
+
.bs-brand-item .glyphicon {
|
1400
|
+
width: 30px;
|
1401
|
+
height: 30px;
|
1402
|
+
margin: 10px auto -10px;
|
1403
|
+
line-height: 30px;
|
1404
|
+
color: #fff;
|
1405
|
+
border-radius: 50%;
|
1406
|
+
}
|
1407
|
+
.bs-brand-item .glyphicon-ok {
|
1408
|
+
background-color: #5cb85c;
|
1409
|
+
}
|
1410
|
+
.bs-brand-item .glyphicon-remove {
|
1411
|
+
background-color: #d9534f;
|
1412
|
+
}
|
1413
|
+
|
1414
|
+
@media (min-width: 768px) {
|
1415
|
+
.bs-brand-item {
|
1416
|
+
display: table-cell;
|
1417
|
+
width: 1%;
|
1418
|
+
}
|
1419
|
+
.bs-brand-item + .bs-brand-item {
|
1420
|
+
border-top: 0;
|
1421
|
+
border-left: 1px solid #fff;
|
1422
|
+
}
|
1423
|
+
.bs-brand-item h1 {
|
1424
|
+
font-size: 60px;
|
1425
|
+
}
|
1426
|
+
}
|
1427
|
+
|
1428
|
+
|
1429
|
+
/*
|
1430
|
+
* Miscellaneous
|
1431
|
+
*
|
1432
|
+
* Odds and ends for optimum docs display.
|
1433
|
+
*/
|
1434
|
+
|
1435
|
+
/* Examples gallery: space out content better */
|
1436
|
+
.bs-examples .thumbnail {
|
1437
|
+
margin-bottom: 10px;
|
1438
|
+
}
|
1439
|
+
.bs-examples h4 {
|
1440
|
+
margin-bottom: 5px;
|
1441
|
+
}
|
1442
|
+
.bs-examples p {
|
1443
|
+
margin-bottom: 20px;
|
1444
|
+
}
|
1445
|
+
|
1446
|
+
/* Pseudo :focus state for showing how it looks in the docs */
|
1447
|
+
#focusedInput {
|
1448
|
+
border-color: rgb(204,204,204); /* Restate unfocused value to make CSSLint happy that there's a pre-CSS3 fallback*/
|
1449
|
+
border-color: rgba(82,168,236,.8);
|
1450
|
+
outline: 0;
|
1451
|
+
outline: thin dotted \9; /* IE6-9 */
|
1452
|
+
-webkit-box-shadow: 0 0 8px rgba(82,168,236,.6);
|
1453
|
+
box-shadow: 0 0 8px rgba(82,168,236,.6);
|
1454
|
+
}
|