kickstart_rails 3.0.15 → 3.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 490240013265612b9488df5998badb68d7798c22
4
- data.tar.gz: e0ed71b83479a0a7faabf0ade412c4be490e6834
3
+ metadata.gz: 32d37213782147590fb4a111c3faa62722bb8d1c
4
+ data.tar.gz: aea17a74c07ff7babd7e7071db4f6845f11a6934
5
5
  SHA512:
6
- metadata.gz: c4b0fb03071eba665418b4749457557369811b84b543a1d46119c322ac8983065397c6b86c1ec071437167f03480590f022d05f2c6bc7c38d8c621235f41aca9
7
- data.tar.gz: a2bfb7bc598dbddf72baa573940c5c551efbc296d9ba090dabc3bcf774f55f1a80b46eb74907c4bd421b102d4921fc5b7b9095704608cbbf269cb8602863eb3c
6
+ metadata.gz: 7b280780834a73ccb51919a3a86f6820e996d65df61e6e79236aae2358d7482e52c5d6ef5fe5fdbfc606922d1f9eef3b1fe4cbbe6de055cdf758af324c722bb0
7
+ data.tar.gz: bb7cac7c204b6f5c440d406b4e29d3f887328b0f4eedbeeb1e9a78d16362651a7469bbdcc1ba5b7bfeadd084495e816f4566bf455a7a07c0d365e454a0288468
@@ -71,7 +71,6 @@
71
71
  window["$opt" + option].checked = (settings.viewOptions["" + option] ? true : false);
72
72
  return window["$opt" + option].addEventListener('click', function() {
73
73
  settings.viewOptions["" + option] = this.checked;
74
- console.log(settings.viewOptions);
75
74
  return setSettings(settings);
76
75
  });
77
76
  };
@@ -149,7 +148,7 @@
149
148
  for (_k = 0, _len2 = _ref.length; _k < _len2; _k++) {
150
149
  heading = _ref[_k];
151
150
  if (!heading.classList.contains('toc-exempt')) {
152
- heading.id = k$.slugify(heading.innerHTML);
151
+ heading.id = "" + (k$.slugify(heading.innerHTML)) + "-" + _k;
153
152
  $thisHeadingLevel = parseInt(heading.tagName.substr(1, 2));
154
153
  if ($thisHeadingLevel > $headingLevel) {
155
154
  $newSubmenu = document.createElement('ul');
@@ -159,13 +158,11 @@
159
158
  }
160
159
  if ($thisHeadingLevel < $headingLevel) {
161
160
  $stepsUp = $headingLevel - $thisHeadingLevel;
162
- console.log($stepsUp);
163
161
  while ($stepsUp > 0) {
164
162
  $targetNode = $targetNode.parentNode;
165
163
  $stepsUp--;
166
164
  }
167
- console.log($stepsUp);
168
- $headingLevel = $stepsUp;
165
+ $headingLevel = $thisHeadingLevel;
169
166
  }
170
167
  $menuItem = $link.cloneNode(true);
171
168
  $menuItem.querySelector('a').href = "#" + heading.id;
@@ -173,8 +170,7 @@
173
170
  $targetNode.appendChild($menuItem);
174
171
  }
175
172
  }
176
- k$.$('section#toc').appendChild($toc);
177
- return console.log($toc);
173
+ return k$.$('section#toc').appendChild($toc);
178
174
  }
179
175
  });
180
176
 
@@ -1 +1 @@
1
- !function e(t,r,o){function n(c,i){if(!r[c]){if(!t[c]){var s="function"==typeof require&&require;if(!i&&s)return s(c,!0);if(a)return a(c,!0);var u=new Error("Cannot find module '"+c+"'");throw u.code="MODULE_NOT_FOUND",u}var f=r[c]={exports:{}};t[c][0].call(f.exports,function(e){var r=t[c][1][e];return n(r?r:e)},f,f.exports,e,t,r,o)}return r[c].exports}for(var a="function"==typeof require&&require,c=0;c<o.length;c++)n(o[c]);return n}({"./lib/coffee/app.coffee":[function(e){var t,r,o,n,a,c,i,s,u,f;c=e("./ks"),i=e("./modal"),s=e("./nav"),o=e("./debouncer"),u=e("./status"),f=e("./throttler"),r=e("./buttons"),n=e("./dropdown"),t=e("./buffer"),a=e("./growl"),k$.button(),k$.dropdown()},{"./buffer":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/buffer.coffee","./buttons":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/buttons.coffee","./debouncer":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/debouncer.coffee","./dropdown":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/dropdown.coffee","./growl":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/growl.coffee","./ks":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/ks.coffee","./modal":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/modal.coffee","./nav":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/nav.coffee","./status":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/status.coffee","./throttler":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/throttler.coffee"}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/buffer.coffee":[function(e,t){var r;r=function(e,t){var r;return k$.bufferArray=k$.bufferArray||new Array,k$.bufferArray.length||(k$.bufferArray=new Array,t=t||500,r=1,k$.bufferInterval=setInterval(function(){return k$.bufferArray[r]&&k$.bufferArray[r](),r++,console.log(r),r>=k$.bufferArray.length?(clearInterval(k$.bufferInterval),k$.bufferArray=void 0,r=1):void 0},t)),k$.bufferArray.push(e),1===k$.bufferArray.length&&k$.bufferArray[0](),console.info("Function queued ("+k$.bufferArray.length+" in queue)")},k$.buffer=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/buttons.coffee":[function(e,t){var r;r=function(){var e,t,r,o,n,a,c,i,s;for(c=k$.$$("button"),r=0,n=c.length;n>r;r++)e=c[r],e.querySelectorAll("ul").length&&e.classList.add("with-submenu");for(i=k$.$$(".button-dropdown"),s=[],o=0,a=i.length;a>o;o++)t=i[o],s.push(t.parentNode.classList.add("with-submenu"));return s},k$.button=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/debouncer.coffee":[function(e,t){var r;r=function(e,t,r){var o;return o=r||1e3,null===k$.debounceQueue&&(k$.debounceQueue=t),t===k$.debounceQueue&&clearTimeout(k$.debounceTimer),k$.debounceTimer=setTimeout(function(){return e(),k$.debounceQueue=null},o)},k$.debounce=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/dropdown.coffee":[function(e,t){var r;r=function(){var e,t,r,o,n,a;for(r=k$.$$(".with-submenu"),o=function(e){return e.addEventListener("click",function(t){var r,o,n,a,c;if(e.classList.contains("open"))return void e.classList.remove("open");for(c=document.querySelectorAll(".with-submenu"),n=0,a=c.length;a>n;n++)o=c[n],o.classList.remove("open");return r=e.querySelector("ul"),r&&e.classList.add("open"),t.stopPropagation()})},n=0,a=r.length;a>n;n++)e=r[n],t=e.cloneNode(!0),e.parentNode.replaceChild(t,e),o(t);return document.body.addEventListener("click",function(){var e,t,r,o,n,a,c,i,s;for(c=k$.$$(".with-submenu > ul"),r=0,n=c.length;n>r;r++)t=c[r],t.parentNode.classList.remove("open");for(i=k$.$$(".with-submenu.open"),s=[],o=0,a=i.length;a>o;o++)e=i[o],s.push(e.classList.remove("open"));return s})},k$.dropdown=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/growl.coffee":[function(e,t){var r;r=function(e){return k$.buffer(function(){var t,o,n,a,c,i;return n={title:void 0,text:void 0,delay:2e3,type:"alert-warn",id:Date.now()},e=k$.extend(n,e),k$.$$(".growl_container").length||(c=document.createElement("div"),c.className="growl_container",document.body.appendChild(c)),r=document.createElement("div"),t="alert growl show "+e.type+" growl-"+e.id,r.className=t,o="",e.title&&(o+="<h1>"+e.title+"</h1>"),e.text&&(o+="<p>"+e.text+"</p>"),r.innerHTML=o,k$.$(".growl_container").appendChild(r),a=e.delay,i=e.id,a>0?function(e,t){return setTimeout(function(){var r,o;return r=k$.$(".growl-"+t),r.classList.remove("show"),o=r.cloneNode(!0),r.parentNode.replaceChild(o,r),o.classList.add("hide"),function(){return setTimeout(function(){return k$.$$(".growl.show").length?void 0:k$.$(".growl_container").parentNode.removeChild(k$.$(".growl_container"))},500)}(e,t)},e)}(a,i):void 0})},k$.growl=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/ks.coffee":[function(e,t){(function(e){e.k$=new Object,k$.$$=function(e){return document.querySelectorAll(e)},k$.$=function(e){return k$.$$(e)[0]},k$.debounceTimer=!1,k$.debounceQueue=null,k$.extend=function(e,t){var r;for(r in t)t[r]&&t[r].constructor&&t[r].constructor===Object?(e[r]=e[r]||{},arguments.callee(e[r],t[r])):e[r]=t[r];return e},t.exports=k$}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/modal.coffee":[function(e,t){var r;r=function(e){return function(e){return document.body.addEventListener("click",function(){return k$.$(e).style.display="none"}),k$.$(e).addEventListener("click",function(e){return e.stopPropagation()})}(e),k$.$(e)},k$.modal=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/nav.coffee":[function(e,t){var r;r=function(e){var t,r,o,n,a,c,i,s,u;try{for(o=k$.$(e).querySelectorAll("ul > li"),a=new Array,c=0,s=o.length;s>c;c++)r=o[c],r.querySelectorAll("ul").length&&!r.querySelectorAll('[role="button"]').length&&a.push(r);for(o=a,i=0,u=o.length;u>i;i++)r=o[i],r.classList.add("with-submenu");k$.dropdown()}catch(f){n=f,console.error("Could not instantiate as a nav.",n.message)}return t=k$.$(e).querySelector(".navbar-title button"),t?t.addEventListener("click",function(){var t;return t=k$.$(e).querySelector("nav"),t.classList.contains("expand")?t.classList.remove("expand"):t.classList.add("expand")}):void 0},k$.nav=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/status.coffee":[function(e,t){var r;r=function(e){var t,o,n,a;return n={type:"status-yellow",delay:2e3},r=k$.extend(n,e),k$.$$("#status_bar").length||(o=document.createElement("div"),o.id="status_bar",o.className="status_bar",o.innerHTML="<div class='status_bar-status' id='status_bar-status'></div>",document.body.appendChild(o)),o=k$.$("#status_bar"),a=function(){return o.parentNode.removeChild(o)},r.delay>0&&k$.debounce(a,"hideStatusBar",r.delay),t=k$.$("#status_bar-status"),t.innerHTML=r.text,t.dataset.type=r.type},k$.status=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/throttler.coffee":[function(e,t){var r;r=function(){},k$.throttle=r,t.exports=r},{}]},{},["./lib/coffee/app.coffee"]);
1
+ !function e(t,r,o){function n(c,i){if(!r[c]){if(!t[c]){var s="function"==typeof require&&require;if(!i&&s)return s(c,!0);if(a)return a(c,!0);var u=new Error("Cannot find module '"+c+"'");throw u.code="MODULE_NOT_FOUND",u}var f=r[c]={exports:{}};t[c][0].call(f.exports,function(e){var r=t[c][1][e];return n(r?r:e)},f,f.exports,e,t,r,o)}return r[c].exports}for(var a="function"==typeof require&&require,c=0;c<o.length;c++)n(o[c]);return n}({"./lib/coffee/app.coffee":[function(e){var t,r,o,n,a,c,i,s,u,f;c=e("./ks"),i=e("./modal"),s=e("./navbar"),o=e("./debouncer"),u=e("./status"),f=e("./throttler"),r=e("./buttons"),n=e("./dropdown"),t=e("./buffer"),a=e("./growl"),k$.button(),k$.dropdown()},{"./buffer":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/buffer.coffee","./buttons":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/buttons.coffee","./debouncer":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/debouncer.coffee","./dropdown":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/dropdown.coffee","./growl":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/growl.coffee","./ks":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/ks.coffee","./modal":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/modal.coffee","./navbar":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/navbar.coffee","./status":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/status.coffee","./throttler":"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/throttler.coffee"}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/buffer.coffee":[function(e,t){var r;r=function(e,t){var r;return k$.bufferArray=k$.bufferArray||new Array,k$.bufferArray.length||(k$.bufferArray=new Array,t=t||500,r=1,k$.bufferInterval=setInterval(function(){return k$.bufferArray[r]&&k$.bufferArray[r](),r++,console.log(r),r>=k$.bufferArray.length?(clearInterval(k$.bufferInterval),k$.bufferArray=void 0,r=1):void 0},t)),k$.bufferArray.push(e),1===k$.bufferArray.length&&k$.bufferArray[0](),console.info("Function queued ("+k$.bufferArray.length+" in queue)")},k$.buffer=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/buttons.coffee":[function(e,t){var r;r=function(){var e,t,r,o,n,a,c,i,s;for(c=k$.$$("button"),r=0,n=c.length;n>r;r++)e=c[r],e.querySelectorAll("ul").length&&e.classList.add("with-submenu");for(i=k$.$$(".button-dropdown"),s=[],o=0,a=i.length;a>o;o++)t=i[o],s.push(t.parentNode.classList.add("with-submenu"));return s},k$.button=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/debouncer.coffee":[function(e,t){var r;r=function(e,t,r){var o;return o=r||1e3,null===k$.debounceQueue&&(k$.debounceQueue=t),t===k$.debounceQueue&&clearTimeout(k$.debounceTimer),k$.debounceTimer=setTimeout(function(){return e(),k$.debounceQueue=null},o)},k$.debounce=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/dropdown.coffee":[function(e,t){var r;r=function(){var e,t,r,o,n,a;for(r=k$.$$(".with-submenu"),o=function(e){return e.addEventListener("click",function(t){var r,o,n,a,c;if(e.classList.contains("open"))return void e.classList.remove("open");for(c=document.querySelectorAll(".with-submenu"),n=0,a=c.length;a>n;n++)o=c[n],o.classList.remove("open");return r=e.querySelector("ul"),r&&e.classList.add("open"),t.stopPropagation()})},n=0,a=r.length;a>n;n++)e=r[n],t=e.cloneNode(!0),e.parentNode.replaceChild(t,e),o(t);return document.body.addEventListener("click",function(){var e,t,r,o,n,a,c,i,s;for(c=k$.$$(".with-submenu > ul"),r=0,n=c.length;n>r;r++)t=c[r],t.parentNode.classList.remove("open");for(i=k$.$$(".with-submenu.open"),s=[],o=0,a=i.length;a>o;o++)e=i[o],s.push(e.classList.remove("open"));return s})},k$.dropdown=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/growl.coffee":[function(e,t){var r;r=function(e){return k$.buffer(function(){var t,o,n,a,c,i;return n={title:void 0,text:void 0,delay:2e3,type:"alert-warn",id:Date.now()},e=k$.extend(n,e),k$.$$(".growl_container").length||(c=document.createElement("div"),c.className="growl_container",document.body.appendChild(c)),r=document.createElement("div"),t="alert growl show "+e.type+" growl-"+e.id,r.className=t,o="",e.title&&(o+="<h1>"+e.title+"</h1>"),e.text&&(o+="<p>"+e.text+"</p>"),r.innerHTML=o,k$.$(".growl_container").appendChild(r),a=e.delay,i=e.id,a>0?function(e,t){return setTimeout(function(){var r,o;return r=k$.$(".growl-"+t),r.classList.remove("show"),o=r.cloneNode(!0),r.parentNode.replaceChild(o,r),o.classList.add("hide"),function(){return setTimeout(function(){return k$.$$(".growl.show").length?void 0:k$.$(".growl_container").parentNode.removeChild(k$.$(".growl_container"))},500)}(e,t)},e)}(a,i):void 0})},k$.growl=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/ks.coffee":[function(e,t){(function(e){e.k$=new Object,k$.$$=function(e){return document.querySelectorAll(e)},k$.$=function(e){return k$.$$(e)[0]},k$.debounceTimer=!1,k$.debounceQueue=null,k$.extend=function(e,t){var r;for(r in t)t[r]&&t[r].constructor&&t[r].constructor===Object?(e[r]=e[r]||{},arguments.callee(e[r],t[r])):e[r]=t[r];return e},t.exports=k$}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/modal.coffee":[function(e,t){var r;r=function(e){return function(e){return document.body.addEventListener("click",function(){return k$.$(e).style.display="none"}),k$.$(e).addEventListener("click",function(e){return e.stopPropagation()})}(e),k$.$(e)},k$.modal=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/navbar.coffee":[function(e,t){var r;r=function(e){var t,r,o,n,a,c,i,s,u;try{for(o=k$.$(e).querySelectorAll("ul > li"),a=new Array,c=0,s=o.length;s>c;c++)r=o[c],r.querySelectorAll("ul").length&&!r.querySelectorAll('[role="button"]').length&&a.push(r);for(o=a,i=0,u=o.length;u>i;i++)r=o[i],r.classList.add("with-submenu");k$.dropdown()}catch(f){n=f,console.error("Could not instantiate as a nav.",n.message)}return t=k$.$(e).querySelector(".navbar-title button"),t?t.addEventListener("click",function(){var t;return t=k$.$(e).querySelector("nav"),t.classList.contains("expand")?t.classList.remove("expand"):t.classList.add("expand")}):void 0},k$.nav=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/status.coffee":[function(e,t){var r;r=function(e){var t,o,n,a;return n={type:"status-yellow",delay:2e3},r=k$.extend(n,e),k$.$$("#status_bar").length||(o=document.createElement("div"),o.id="status_bar",o.className="status_bar",o.innerHTML="<div class='status_bar-status' id='status_bar-status'></div>",document.body.appendChild(o)),o=k$.$("#status_bar"),a=function(){return o.parentNode.removeChild(o)},r.delay>0&&k$.debounce(a,"hideStatusBar",r.delay),t=k$.$("#status_bar-status"),t.innerHTML=r.text,t.dataset.type=r.type},k$.status=r,t.exports=r},{}],"/Users/adamkochanowicz/Sites/kickstart/lib/coffee/throttler.coffee":[function(e,t){var r;r=function(){},k$.throttle=r,t.exports=r},{}]},{},["./lib/coffee/app.coffee"]);
@@ -4,17 +4,34 @@
4
4
  @else
5
5
  color: rgba(0, 0, 0, 0.5)
6
6
 
7
- =navbar-default($fluid: false, $background: map-get($white, dark), $breakpoint: $tablet, $collapse: false)
7
+ =navbar-align_menus($breakpoint)
8
+ @media screen and (min-width: $breakpoint)
9
+ > ul:first-child
10
+ margin-left: (-1 * map-get($rootElement, paddingH))
11
+
12
+ > ul:last-child
13
+ margin-right: (-1 * map-get($rootElement, paddingH))
14
+
15
+ > ul:only-child
16
+ margin-right: 0
17
+
18
+ =navbar-fluid($breakpoint: $tablet)
19
+ nav
20
+ +container(true)
21
+ +navbar-align_menus($breakpoint)
22
+
23
+ =navbar-fluid_fixed($breakpoint: $tablet)
24
+ nav
25
+ +container(false)
26
+ +navbar-align_menus($breakpoint)
27
+
28
+ =navbar-default($layout: 'none', $background: map-get($white, dark), $breakpoint: $tablet, $collapse: false)
8
29
  background: $background
9
30
  box-shadow: 0px 1px 0px darken($background, 12%) inset
10
31
  font-size: $default-font-size
11
32
  margin-bottom: $space
12
33
 
13
34
  nav
14
- @if $fluid == true
15
- +container(true)
16
- @else
17
- +container
18
35
  width: 100%
19
36
  border-radius: 0
20
37
  position: relative
@@ -45,14 +62,6 @@
45
62
  p
46
63
  margin: 0
47
64
 
48
- @media screen and (min-width: $breakpoint)
49
- @if $fluid == false
50
- > ul:first-child
51
- margin-left: (-1 * map-get($rootElement, paddingH))
52
-
53
- > ul:last-child
54
- margin-right: (-1 * map-get($rootElement, paddingH))
55
-
56
65
  > ul
57
66
  margin: 0
58
67
  padding: 0
@@ -71,6 +80,13 @@
71
80
  left: auto
72
81
  right: -1px
73
82
 
83
+ &:only-child
84
+ @media screen and (min-width: $breakpoint)
85
+ > li.with-submenu.open
86
+ ul
87
+ left: -1px
88
+ right: auto
89
+
74
90
  > li
75
91
  list-style: none
76
92
  +root-element
@@ -215,4 +231,10 @@
215
231
  background: darken($background, 15%)
216
232
  border-color: darken($background, 15%)
217
233
 
234
+ @if $layout == 'fluid'
235
+ +navbar-fluid($breakpoint)
236
+
237
+ @if $layout == 'fluid-fixed'
238
+ +navbar-fluid_fixed($breakpoint)
239
+
218
240
  @content
@@ -19,6 +19,7 @@
19
19
 
20
20
  th
21
21
  font-weight: bold
22
+ text-align: left
22
23
 
23
24
  th, td
24
25
  background-color: transparent
@@ -38,13 +38,12 @@ $showFullColumns: $desktop // Actual user-defined column measurement
38
38
 
39
39
  =container-default($fluid: false)
40
40
  margin: 0px auto
41
- display: block
42
41
 
43
42
  @if $fluid == false
44
43
  max-width: $tablet
45
44
  padding:
46
- left: 25px
47
- right: 25px
45
+ left: $space
46
+ right: $space
48
47
 
49
48
  @if $fluid == false
50
49
  @media screen and (min-width: $showOffsets)
@@ -34,7 +34,7 @@ html, body
34
34
  +column(8, 2, 2)
35
35
 
36
36
  .main-navigation
37
- +navbar($fluid: false, $collapse: true)
37
+ +navbar($layout: 'fluid-fixed', $collapse: true)
38
38
 
39
39
  .logo
40
40
  height: 30px
@@ -43,7 +43,7 @@ html, body
43
43
  opacity: 0.8
44
44
 
45
45
  .docs-nav
46
- +navbar($fluid: false, $background: darken(map-get($colors, blue), 5%), $collapse: true)
46
+ +navbar($layout: 'fluid-fixed', $background: darken(map-get($colors, blue), 5%), $collapse: true)
47
47
  margin:
48
48
  top: -$space
49
49
 
@@ -147,6 +147,9 @@ h1.example-
147
147
  .logo
148
148
  max-width: 600px
149
149
 
150
+ img
151
+ max-width: 100%
152
+
150
153
  // Iframes
151
154
  iframe.animation
152
155
  max-width: 500px
@@ -196,3 +199,60 @@ footer.main
196
199
 
197
200
  .test-a
198
201
  +column('third', 'third', 'third')
202
+
203
+ .show-mobile
204
+ display: inherit
205
+
206
+ @media screen and (min-width: $tablet)
207
+ display: none
208
+
209
+ .show-tablet
210
+ display: none
211
+
212
+ @media screen and (min-width: $tablet)
213
+ display: inherit
214
+
215
+ // Tables
216
+ table
217
+ +table
218
+
219
+ // HOME PAGE
220
+ .first-pitch, .second-pitch, .third-pitch
221
+ +row
222
+
223
+ .first-pitch
224
+ padding:
225
+ top: $space * 2
226
+ bottom: $space * 2
227
+
228
+ p
229
+ +p(true)
230
+
231
+ .feature
232
+ +column('half')
233
+
234
+ h1
235
+ +heading-md
236
+ text-align: center
237
+
238
+ .second-pitch
239
+ padding:
240
+ top: $space * 3
241
+ bottom: $space * 3
242
+
243
+ .feature
244
+ +column('third')
245
+
246
+ h1
247
+ +heading-rg
248
+
249
+ .third-pitch
250
+ .feature
251
+ @media screen and (min-width: $tablet)
252
+ +column(6)
253
+
254
+ @media screen and (min-width: $desktop)
255
+ +column(3)
256
+
257
+ h1
258
+ +heading-xs
@@ -6,6 +6,5 @@
6
6
 
7
7
  // Choose your theme
8
8
  @import themes/_default
9
- // @import themes/_shabbychic
10
9
 
11
10
  // Now write your own Sass
@@ -6,7 +6,7 @@
6
6
  // classes for all the components.
7
7
 
8
8
  // Import the semantic index
9
- @import kickstart-semantic
9
+ @import themes/_default
10
10
 
11
11
  // Generate color classes (This is as close as I can get to being dry.)
12
12
  =color-classes($prefix, $background-color: false, $color: false)
@@ -250,8 +250,14 @@
250
250
  .navbar
251
251
  +navbar
252
252
 
253
+ &.navbar-collapse
254
+ +navbar($collapse: true)
255
+
253
256
  &.navbar-fluid
254
- +navbar($fluid: true)
257
+ +navbar-fluid
258
+
259
+ &.navbar-fluid_fixed
260
+ +navbar-fluid_fixed
255
261
 
256
262
  &.navbar-dark
257
263
  +navbar($background: map-get($black, lighter))
@@ -163,8 +163,8 @@ html
163
163
  // Buttons
164
164
  // -------
165
165
 
166
- =button($color: map-get($white, dark), $size: 1)
167
- +button-default($color, $size)
166
+ =button($background-color: map-get($white, dark), $size: 1)
167
+ +button-default($background-color, $size)
168
168
 
169
169
  =button-group($color: map-get($white, dark), $size: 1)
170
170
  +button-group-default($color, $size)
@@ -196,8 +196,8 @@ hr
196
196
  // Navigation
197
197
  // ----------
198
198
 
199
- =navbar($fluid: false, $background: map-get($white, dark), $breakpoint: $tablet, $collapse: false)
200
- +navbar-default($fluid, $background, $breakpoint, $collapse)
199
+ =navbar($layout: 'none', $background: map-get($white, dark), $breakpoint: $tablet, $collapse: false)
200
+ +navbar-default($layout, $background, $breakpoint, $collapse)
201
201
 
202
202
  =dropdown_menu
203
203
  +dropdown_menu-default
@@ -1,3 +1,3 @@
1
1
  module Kickstart_rails
2
- VERSION = "3.0.15"
2
+ VERSION = "3.0.16"
3
3
  end
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kickstart_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.15
4
+ version: 3.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Kochanowicz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-06 00:00:00.000000000 Z
11
+ date: 2014-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sass
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3.3'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.3'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: normalize-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: autoprefixer-rails
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '3.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.0'
83
83
  description: The front-end framework for clean HTML and fast websites.
@@ -157,17 +157,17 @@ require_paths:
157
157
  - lib
158
158
  required_ruby_version: !ruby/object:Gem::Requirement
159
159
  requirements:
160
- - - '>='
160
+ - - ">="
161
161
  - !ruby/object:Gem::Version
162
162
  version: '0'
163
163
  required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - '>='
165
+ - - ">="
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
168
  requirements: []
169
169
  rubyforge_project:
170
- rubygems_version: 2.2.2
170
+ rubygems_version: 2.4.1
171
171
  signing_key:
172
172
  specification_version: 4
173
173
  summary: The front-end framework for clean HTML and fast websites.