magic_stylez 0.0.0.99 → 0.0.330

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +8 -8
  2. data/Gemfile +1 -1
  3. data/lib/magic_stylez/version.rb +1 -1
  4. data/magic_stylez.gemspec +1 -2
  5. data/test/dummy/app/assets/javascripts/app.js.coffee +11 -50
  6. data/test/dummy/app/assets/javascripts/application.js +1 -1
  7. data/test/dummy/app/assets/javascripts/assets.js.coffee.erb +6 -0
  8. data/test/dummy/app/assets/javascripts/views/app/changelog.jst.eco +49 -2
  9. data/test/dummy/app/assets/javascripts/views/app/start.jst.eco +13 -9
  10. data/test/dummy/app/assets/javascripts/views/helper/dots.jst.eco +21 -4
  11. data/test/dummy/app/assets/javascripts/views/layout/fullpage_table.jst.eco +113 -51
  12. data/test/dummy/app/assets/javascripts/views/layout/section.jst.eco +1 -10
  13. data/test/dummy/app/controllers/front_controller.rb +1 -0
  14. data/test/dummy/app/views/front/start.html.erb +3 -19
  15. data/test/dummy/app/views/layouts/application.html.erb +9 -0
  16. data/test/dummy/public/html/aside-nav.html +2 -2
  17. data/test/dummy/public/html/fixed-header.html +2 -2
  18. data/test/dummy/public/html/fixed-subnav.html +2 -2
  19. data/test/dummy/public/html/index.html +6 -22
  20. data/test/dummy/public/html/slidebar-header.html +2 -2
  21. data/test/dummy/public/html/slidebar-subnav.html +2 -2
  22. data/vendor/assets/stylesheets/magic/content/_banner.scss +18 -4
  23. data/vendor/assets/stylesheets/magic/content/_buttons.scss +1 -1
  24. data/vendor/assets/stylesheets/magic/content/_forms.scss +1 -1
  25. data/vendor/assets/stylesheets/magic/content/_helper.scss +3 -3
  26. data/vendor/assets/stylesheets/magic/content/_inputs.scss +1 -1
  27. data/vendor/assets/stylesheets/magic/helper/_dots.scss +64 -0
  28. data/vendor/assets/stylesheets/magic/helper/_three_previews.scss +1 -1
  29. data/vendor/assets/stylesheets/magic/layout/_corset.scss +6 -6
  30. data/vendor/assets/stylesheets/magic/layout/_fullpage_table.scss +16 -0
  31. data/vendor/assets/stylesheets/magic/layout/_section.scss +108 -113
  32. data/vendor/assets/stylesheets/magic/layout/_tables_v1.scss +2 -2
  33. data/vendor/assets/stylesheets/magic/layout/_tables_v2.scss +2 -2
  34. data/vendor/assets/stylesheets/magic/lib/_text.scss +2 -2
  35. data/vendor/assets/stylesheets/magic/lists/_nav.scss +44 -49
  36. metadata +12 -6
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmI5NjlmMWU2MzAxYTYwOWU1YTQwZDUxNTM0ZDQ2NTRlNjI5ODkxZQ==
4
+ ZmJjNjhkNGU0MDZmZmM1NGQ0MTM1NmExNDYxNmQ3OWE0YTk1ZDNmOA==
5
5
  data.tar.gz: !binary |-
6
- YjY5NTBiNGUxNjU1OWE3ZmM0MDU2MjEzYTI2NzBmNGM1MDQyMzc2Mg==
6
+ NzhjYWNkNWZhZGUyZTM1NzkyZDc2MjliZDU4MzEwMDNlNTYxZDIxYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjYxYjgzYzMzMjRhZGMwZDU3ZWRmMDIzZDM5NWE5YWM1OWM1ZDhjNGQwZmM0
10
- MzJmMGUzODMwMmY4NWMzZDIzZmZhNWNiM2I5OWUxMWMzNTk4YzNlM2IxOWMy
11
- MTc2ZGM2MzJmYzFhNTNlYjRkNDNlYmNmZjczYTYwMjE1NWYzYWM=
9
+ ZDAzYjg5MTAxZDc4OTI5NDY2M2RjMmE3NjFkYzMwNGVmZDk4MWMxOTQxOWIw
10
+ N2UxY2VhMGNhZmZhNjMzNWNjYmI3MjcyY2RhYTg5NDExMDlmNzQ5ZjJhNGM0
11
+ YmM3MWY2NDU1MDU2N2E2ZjI0MjEwODJhZTg2NDBhYjI3ZWM2MWI=
12
12
  data.tar.gz: !binary |-
13
- MjFmNTJhNzRlODY4OGI0ZjAyOWY5ZTEyMDFkOGNkZWRjYTJmMzEyMWUxMmEx
14
- MGE2NjVlMmJlNjdiZTM4YTdjZTk2ZGEwMzk4NGY0ZDk5NDJhZTZjM2VkOThh
15
- NTViYmFiNGNiNmZjODFjNzQwNzYxMzhjNDU4NTBkY2I4MTQxODg=
13
+ NGVmMzQ0YzZjNGVjMDFhZjEwOTk5MWRlODZjM2ZkZDI2MzgxNjY4NTBiNjgz
14
+ ZWUxY2YyZjMzNGEwYmJkY2ViOGQ4YjVjODY5NjI1MDRjMGFmNmFjODZiNzA0
15
+ Y2RhMzQ2YWY1NzIxNGNhNGMxODM4ZjdiNzA4ZmZjYmE0NGJjNDc=
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source "https://rubygems.org"
1
+ source "http://rubygems.org"
2
2
 
3
3
  # Declare your gem's dependencies in magic_stylez.gemspec.
4
4
  # Bundler will treat runtime dependencies like base dependencies, and
@@ -1,3 +1,3 @@
1
1
  module MagicStylez
2
- VERSION = "0.0.0.99"
2
+ VERSION = "0.0.330"
3
3
  end
data/magic_stylez.gemspec CHANGED
@@ -22,8 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.add_dependency "rails", ">= 3.1"
23
23
  s.add_dependency 'autoprefixer-rails', '>= 1.1'
24
24
  s.add_dependency 'sass', '>= 3.2'
25
- ## since 3.2.x bootstrap-sass changed the asset structure, so first stay with 3.1.1.1
26
- s.add_dependency 'bootstrap-sass', '3.1.1.1'
25
+ s.add_dependency 'bootstrap-sass', '>= 3.3.5.1', '< 3.4'
27
26
  s.add_dependency 'bourbon', '>= 3.0.0'
28
27
 
29
28
  # Testing dependencies
@@ -1,4 +1,4 @@
1
- currentPath = ""
1
+ currentPath = null
2
2
 
3
3
  loadCircles = ->
4
4
  if $('.circle-diagram').length > 1
@@ -10,54 +10,6 @@ loadCircles = ->
10
10
  else if $('.circle-diagram').length > 0
11
11
  window.circleDiagram = new CircleDiagram( circle: $('.circle-diagram') )
12
12
 
13
- build_paralax = (el) ->
14
- console.log "build_paralax", el
15
- ## Create the background image holder ##
16
- el.prepend("<div class='px_bg_holder'></div>")
17
- el.find(".px_bg_holder").css(
18
- "background-image" : el.css("background-image")
19
- "background-position" : "center center"
20
- "background-repeat" : "no-repeat"
21
- "background-size" : "cover"
22
- "position" : "absolute"
23
- "height" : $(window).height()
24
- "width" : $(window).width()
25
- )
26
- ## We will remove the background at all ##
27
- el.css("background","none")
28
- el.css("overflow","hidden")
29
-
30
- $("body").scroll ->
31
- console.log "Scrolling"
32
- # bg_pos = $("#app_content").offset().top + el.offset().top;
33
- console.log if el.hasClass("responsive-hero") then el.closest(".fullpage-table").position().top else el.position().top
34
- bg_pos = ($("#app_content").offset().top + if el.hasClass("responsive-hero") then el.closest(".fullpage-table").position().top else el.position().top)
35
- console.log "bg_pos #{ bg_pos }"
36
- if bg_pos < $(window).height()
37
- bg_pos = bg_pos - (bg_pos / 10)
38
-
39
- el.find(".px_bg_holder").css(
40
- "top" : "#{ bg_pos * -1 }px"
41
- )
42
- $(window).resize ->
43
- $(".px_bg_holder").css(
44
- "height" : $(window).height()
45
- "width" : $(window).width()
46
- )
47
-
48
-
49
- load_paralax = ->
50
- if $(".section.image.fixed").length > 0
51
- $(".section.image.fixed").each ->
52
- build_paralax( $(@) )
53
-
54
- if $(".responsive-hero.fixed-bg").length > 0
55
- $(".responsive-hero.fixed-bg").each ->
56
- build_paralax( $(@) )
57
-
58
-
59
-
60
-
61
13
 
62
14
 
63
15
  navigate = ->
@@ -79,7 +31,6 @@ navigate = ->
79
31
  lnk.addClass("active")
80
32
  $("body").removeClass("aside-on")
81
33
  loadCircles()
82
- load_paralax()
83
34
  $("#current-view-name").text( lnk.text() )
84
35
  currentPath = path
85
36
 
@@ -99,6 +50,16 @@ $ ->
99
50
  console.log "main_template SCROLL"
100
51
 
101
52
 
53
+ $("body").on "click", ".fakeClick", (e) ->
54
+ e.preventDefault()
55
+ $(@).blur()
56
+ # alert "Why do you click here?\n\nStop that!"
57
+ if $(@).attr("data-text") == "Go click me!"
58
+ $(@).attr("data-text", "You really clicked?!")
59
+ else
60
+ $(@).attr("data-text", "Go click me!")
61
+ false
62
+
102
63
 
103
64
  $("body").on "click", "#mobile_header", ->
104
65
  $("body").toggleClass("aside-on")
@@ -11,9 +11,9 @@
11
11
  // about supported directives.
12
12
  //
13
13
  //= require jquery
14
- //= require_tree ./views
15
14
  //= require magic-stylez
16
15
  //= require assets
16
+ //= require_tree ./views
17
17
  //= require magic/render_eco
18
18
  //= require magic/wrapped_fields
19
19
  //= require magic/check_switch
@@ -8,6 +8,12 @@ appImages = <%= imgs.to_json %>
8
8
 
9
9
  # console.log "appImages", appImages
10
10
 
11
+
12
+
13
+ @MagicStylezVersion = "<%= MagicStylez::VERSION %>"
14
+
15
+
16
+
11
17
  @assetPath = (path) ->
12
18
  # "/assets/angular/app/views/#{path}.html"
13
19
  appImages["#{path}"]
@@ -7,12 +7,59 @@
7
7
 
8
8
  <div class="section sctn-sm hard-bottom">
9
9
  <div class="corset tight">
10
- <p class="loud">I try to this allways up to date .. but sometimes important changes may not be in here so allways do <code>$ rails g magic_stylez:update</code> when update.</p>
10
+ <p class="loud">I try to keep this allways up to date .. but sometimes important changes may not be in here so allways do <code>$ rails g magic_stylez:update</code> when update.</p>
11
11
 
12
12
  </div>
13
13
  </div>
14
14
 
15
- <br/>
15
+ <div class="section sctn-xs hard-bottom">
16
+ <div class="corset tight">
17
+ <p class="loud no-press">Current-Version: <strong><%= MagicStylezVersion %></strong></p>
18
+
19
+ </div>
20
+ </div>
21
+
22
+
23
+ <div class="section sctn-sm">
24
+ <div class="corset tight">
25
+ <h4><small>Version</small> 0.1.1</h4>
26
+ <p>
27
+ + fullpage-table => <code>header-cell</code>, <code>footer-cell</code> default without bg
28
+ </p>
29
+ <p>
30
+ + add timeline for <a href="#helper/dots">dots</a>
31
+ </p>
32
+ </div>
33
+ </div>
34
+
35
+
36
+ <div class="section sctn-sm">
37
+ <div class="corset tight">
38
+ <h4><small>Version</small> 0.1.0</h4>
39
+ <p>
40
+ + add a real Version number .. is in use for some time now, so should work :)
41
+ </p>
42
+ <p>
43
+ + removed some bourbon and scss warnings
44
+ </p>
45
+ <p>
46
+ + fixed some typos
47
+ </p>
48
+ </div>
49
+ </div>
50
+
51
+
52
+ <div class="section sctn-sm">
53
+ <div class="corset tight">
54
+ <h4><small>Version</small> 0.0.0.99</h4>
55
+ <p>
56
+ + add new <a href="#content/check_switch">check-switches and radios</a>
57
+ </p>
58
+ <p>
59
+ + add new <a href="#content/wrapped_fields">wrapped_fields</a> inspirered by braintree
60
+ </p>
61
+ </div>
62
+ </div>
16
63
 
17
64
  <div class="section sctn-sm">
18
65
  <div class="corset tight">
@@ -2,7 +2,7 @@
2
2
  <div class="corset">
3
3
  <div class="row">
4
4
  <div class="col-sm-9 col-xs-6">
5
- <h1>magic-stylez</h1>
5
+ <h1>magic-stylez <small><%= MagicStylezVersion %></small></h1>
6
6
  </div>
7
7
  <div class="col-sm-3 col-xs-6">
8
8
  <a href="https://github.com/berlinmagic/magic_stylez/tree/master" target="_blank" class="btn btn-sm btn-default btn-divided pull-right">
@@ -21,12 +21,16 @@
21
21
  </div>
22
22
  </div>
23
23
 
24
- <div class="section hard-top">
25
- <div class="corset center_text">
26
- <h2>Warning</h2>
27
- <p class="loud">This Gem is still work in process!</p>
28
- <p class="loud">Its just the start to outsource my style framework (I mostly rebuild for every app).</p>
29
- <p class="loud">It is mostly driven by my own habits, so I don't know if its usefull for others.</p>
24
+ <div class="section hard-top bright sctn-sm">
25
+ <div class="corset full center_text">
26
+ <h4 class="no-press-top">Warning</h4>
27
+ <p class="gray-clr thin">This Gem is still work in process!</p>
28
+ <p class="gray-clr thin">(But it is already used in some production apps).</p>
29
+ <p class="gray-clr thin">It is mostly driven by my own habits, so I don't know if its usefull for others.</p>
30
+ <hr/>
31
+ <h4>Info</h4>
32
+ <p class="gray-clr thin">ATM I´m working on a complete rewrite of this styleset, to be compatible to BootStrap 4.x!</p>
33
+ <p class="gray-clr thin">But this will not be compatible to magic_styles .. a lot of stuff gets removed and all sizing is handled via <code>em</code> and <code>rem</code>.</p>
30
34
  </div>
31
35
  </div>
32
36
 
@@ -80,7 +84,7 @@ CSS:
80
84
  <br/>
81
85
  <hr class="half" />
82
86
  <br/>
83
- <p class="louder">Please allways look in the new <a href="#app/changelog" data-target="app/changelog">Changelog</a> for recent chnages.</p>
87
+ <p class="louder">Please allways look in the <a href="#app/changelog" data-target="app/changelog">Changelog</a> for recent chnages.</p>
84
88
 
85
89
 
86
90
  </div>
@@ -138,6 +142,6 @@ CSS:
138
142
 
139
143
  <div class="section shine-top flatted">
140
144
  <div class="corset">
141
- <p class="center_text">© 2014 Torsten Wetzel (berlinmagic UG)</p>
145
+ <p class="center_text">© 2017 Torsten Wetzel (berlinmagic UG)</p>
142
146
  </div>
143
147
  </div>
@@ -65,7 +65,7 @@
65
65
 
66
66
  <div class="row">
67
67
  <% for x, i in ["xs", "sm", "", "lg", "xl", "xxl"]: %>
68
- <div class="col-xs-4 col-sm-3 col-md-2">
68
+ <div class="col-xs-6 col-sm-3 col-md-2">
69
69
  <div class="number_dot dot-brand<%= if x != "" then " dot-#{x}" else "" %>"><%= i + 1 %></div>
70
70
  <div class="clearfix"></div>
71
71
  <p><%= if x != "" then ".dot-#{x}" else "" %></p>
@@ -79,7 +79,7 @@
79
79
 
80
80
  <div class="row">
81
81
  <% for x, i in ["default", "success", "info", "warning", "danger", "brand", "one", "two", "three", "facebook", "google", "twitter", "paypal"]: %>
82
- <div class="col-sm-2">
82
+ <div class="col-md-2 col-sm-4 col-xs-6">
83
83
  <div class="number_dot dot-lg dot-<%= x %>"><%= i + 1 %></div>
84
84
  <div class="clearfix"></div>
85
85
  <p>.dot-<%= x %></p>
@@ -89,7 +89,7 @@
89
89
  <hr/>
90
90
  <p class="loud">plus <code>.dot-blank</code></p>
91
91
  <% for x, i in ["default", "success", "info", "warning", "danger", "brand", "one", "two", "three", "facebook", "google", "twitter", "paypal"]: %>
92
- <div class="col-sm-2">
92
+ <div class="col-md-2 col-sm-4 col-xs-6">
93
93
  <div class="number_dot dot-lg dot-<%= x %> dot-blank"><%= i + 1 %></div>
94
94
  <div class="clearfix"></div>
95
95
  <p>.dot-<%= x %></p>
@@ -99,7 +99,7 @@
99
99
  <hr/>
100
100
  <p class="loud">plus <code>.dot-blank-soft</code></p>
101
101
  <% for x, i in ["default", "success", "info", "warning", "danger", "brand", "one", "two", "three", "facebook", "google", "twitter", "paypal"]: %>
102
- <div class="col-sm-2">
102
+ <div class="col-md-2 col-sm-4 col-xs-6">
103
103
  <div class="number_dot dot-lg dot-<%= x %> dot-blank-soft"><%= i + 1 %></div>
104
104
  <div class="clearfix"></div>
105
105
  <p>.dot-<%= x %></p>
@@ -112,4 +112,21 @@
112
112
  </div>
113
113
  </div>
114
114
 
115
+ <div class="section hard-top">
116
+ <div class="corset">
117
+
118
+ <h3>Time-Lines</h3>
119
+
120
+ <div class="numbered_time_line">
121
+ <% for x in [1..7]: %>
122
+ <div class="numbered_line">
123
+ <div class="number_dot"><%= x %></div>
124
+ <p>Fact Number #<%= x %></p>
125
+ </div>
126
+ <% end %>
127
+ </div>
128
+
129
+ </div>
130
+ </div>
131
+
115
132
 
@@ -1,32 +1,34 @@
1
- <div class="fullpage-table" id="banner-one">
1
+ <div class="fullpage-table" id="banner-berlin">
2
2
  <div class="table-row">
3
- <div class="banner-box responsive-hero with-footer with-header fill berlin">
4
- <div class="banner-header">
5
- <div class="corset">
6
- <h1 class="loud">Fullpage Table</h1>
7
- </div>
3
+ <div class="cell table-cell header-cell">
4
+
5
+ <div class="corset center_text">
6
+ <p class="highlight no-press">Header</p>
8
7
  </div>
9
8
 
10
- <div class="banner-content">
11
- <div class="corset">
12
- <p class="loud">This is a fullpage-table, it allways uses fullpage-height<br/>(if content fits in).</p>
13
- <div class="well">
14
- surounding element (i.e. body) needs the following <em>css</em>:
15
- <br/>
16
- <code>width: 100%; height: 100%;</code>
17
- </div>
18
- </div>
9
+ </div>
10
+ </div>
11
+ <div class="table-row">
12
+ <div class="cell table-cell content-cell fill">
13
+
14
+ <div class="corset responsive-hero center_text">
15
+ <h1 class="loud white-clr upcase">FullPage Table</h1>
16
+ <p class="loud white-clr">
17
+ FullPage-Tables always use full page size!
18
+ </p>
19
19
  </div>
20
20
 
21
- <div class="banner-footer" id="sign_up_banner">
22
- <div class="corset">
23
- <div class="row">
24
- <div class="col-sm-4 col-sm-offset-4">
25
- <!--<a href="#" class="btn btn-success btn-block btn-lg">Sign up now</a>-->
26
- <button class="btn btn-success btn-block help_arrow" data-text="Go click me!">
27
- Click Me
28
- </button>
29
- </div>
21
+ </div>
22
+ </div>
23
+ <div class="table-row">
24
+ <div class="cell table-cell footer-cell">
25
+
26
+ <div class="corset center_text">
27
+ <div class="row">
28
+ <div class="col-sm-4 col-sm-offset-4">
29
+ <button class="btn btn-success btn-block help_arrow fakeClick" data-text="Go click me!">
30
+ Click Me
31
+ </button>
30
32
  </div>
31
33
  </div>
32
34
  </div>
@@ -34,6 +36,9 @@
34
36
  </div>
35
37
  </div>
36
38
  </div>
39
+ <div class="clearfix"></div>
40
+
41
+
37
42
 
38
43
 
39
44
  <div class="section shine-top">
@@ -41,45 +46,102 @@
41
46
  <h2>Usage</h2>
42
47
  <pre>
43
48
  <code>
44
- &lt;div class=&quot;fullpage-table&quot; id=&quot;front-banner&quot;&gt;
45
- &lt;div class=&quot;table-row&quot;&gt;<br/> &lt;div class=&quot;banner-box responsive-hero with-footer with-header fill wood&quot;&gt;<br/> &lt;div class=&quot;banner-header&quot;&gt;<br/> &lt;div class=&quot;corset&quot;&gt;<br/> &lt;h1 class=&quot;loud&quot;&gt;Fullpage Table&lt;/h1&gt;<br/> &lt;/div&gt;<br/> &lt;/div&gt;<br/> <br/> &lt;div class=&quot;banner-content&quot;&gt;<br/> &lt;div class=&quot;corset&quot;&gt;<br/> &lt;p class=&quot;loud&quot;&gt;This is a fullpage-table, it allways uses fullpage-height (if content fits in).&lt;/p&gt;<br/> &lt;/div&gt;<br/> &lt;/div&gt;<br/> <br/> &lt;div class=&quot;banner-footer&quot; id=&quot;sign_up_banner&quot;&gt;<br/> &lt;div class=&quot;corset&quot;&gt;<br/> &lt;div class=&quot;row&quot;&gt;<br/> &lt;div class=&quot;col-sm-4 col-sm-offset-4&quot;&gt;<br/> &lt;a href=&quot;#&quot; class=&quot;btn btn-success btn-block btn-lg&quot;&gt;Sign up now&lt;/a&gt;<br/> &lt;/div&gt;<br/> &lt;/div&gt;<br/> &lt;/div&gt;<br/> &lt;/div&gt;<br/> <br/> &lt;/div&gt;<br/> &lt;/div&gt;<br/>&lt;/div&gt;
49
+ &lt;div class=&quot;fullpage-table&quot; id=&quot;banner-one&quot;&gt;<br/> &lt;div class=&quot;table-row&quot;&gt;<br/> &lt;div class=&quot;header-cell bright&quot;&gt;<br/> &lt;div class=&quot;corset center_text&quot;&gt;<br/> &lt;h1 class=&quot;loud&quot;&gt;Fullpage Table&lt;/h1&gt;<br/> &lt;/div&gt;<br/> &lt;/div&gt;<br/> &lt;/div&gt;<br/> &lt;div class=&quot;table-row&quot;&gt;<br/> &lt;div class=&quot;content-cell fill&quot;&gt;<br/> &lt;div class=&quot;corset responsive-hero center_text&quot;&gt;<br/> <br/> &lt;p class=&quot;loud &quot;&gt;This is a fullpage-table, it allways uses fullpage-height&lt;br/&gt;(if content fits in).&lt;/p&gt;<br/> &lt;div class=&quot;well&quot;&gt;<br/> surounding element (i.e. body) needs the following &lt;em&gt;css&lt;/em&gt;:<br/> &lt;br/&gt;<br/> &lt;code&gt;width: 100%; height: 100%;&lt;/code&gt;<br/> &lt;/div&gt;<br/> <br/> &lt;/div&gt;<br/> &lt;/div&gt;<br/> &lt;/div&gt;<br/> &lt;div class=&quot;table-row&quot;&gt;<br/> &lt;div class=&quot;footer-cell bright&quot;&gt;<br/> &lt;div class=&quot;corset center_text&quot;&gt;<br/> <br/> &lt;div class=&quot;row&quot;&gt;<br/> &lt;div class=&quot;col-sm-4 col-sm-offset-4&quot;&gt;<br/> &lt;!--&lt;a href=&quot;#&quot; class=&quot;btn btn-success btn-block btn-lg&quot;&gt;Sign up now&lt;/a&gt;--&gt;<br/> &lt;button class=&quot;btn btn-success btn-block help_arrow fakeClick&quot; data-text=&quot;Go click me!&quot;&gt;<br/> Click Me<br/> &lt;/button&gt;<br/> &lt;/div&gt;<br/> &lt;/div&gt;<br/> <br/> &lt;/div&gt;<br/> &lt;/div&gt;<br/> &lt;/div&gt;<br/>&lt;/div&gt;<br/>
46
50
  </code>
47
51
  </pre>
48
52
  </div>
49
53
  </div>
50
54
 
51
- <div class="fullpage-table" id="banner-two">
55
+ <div class="fullpage-table" id="banner-one">
56
+
52
57
  <div class="table-row">
53
- <div class="banner-box responsive-hero with-footer with-header fill berlin fixed-bg">
54
- <div class="banner-header">
55
- <div class="corset">
56
- <h1 class="loud">Fullpage Table <small>with fixed Background</small></h1>
57
- </div>
58
+ <div class="header-cell bright">
59
+ <div class="corset center_text">
60
+ <h1 class="loud">Fullpage Table</h1>
58
61
  </div>
59
-
60
- <div class="banner-content">
61
- <div class="corset">
62
- <p class="loud">This is a fullpage-table, it allways uses fullpage-height<br/>(if content fits in).</p>
62
+ </div>
63
+ </div>
64
+ <div class="table-row">
65
+ <div class="content-cell fill">
66
+ <div class="corset responsive-hero center_text">
67
+
68
+ <p class="loud ">This is a fullpage-table, it allways uses fullpage-height<br/>(if content fits in).</p>
69
+ <div class="well">
70
+ surounding element (i.e. body) needs the following <em>css</em>:
63
71
  <br/>
64
- <div class="well">
65
- <strong>!!!</strong> fixed background doesn't work on chrome browser (Version 35.x - 39.x) <strong>!!!</strong>
66
- </div>
72
+ <code>width: 100%; height: 100%;</code>
67
73
  </div>
74
+
68
75
  </div>
69
-
70
- <div class="banner-footer" id="sign_up_banner">
71
- <div class="corset">
72
- <div class="row">
73
- <div class="col-sm-4 col-sm-offset-4">
74
- <!--<a href="#" class="btn btn-success btn-block btn-lg">Sign up now</a>-->
75
- <button class="btn btn-success btn-block help_arrow" data-text="Go click me!">
76
- Click Me
77
- </button>
78
- </div>
76
+ </div>
77
+ </div>
78
+ <div class="table-row">
79
+ <div class="footer-cell bright">
80
+ <div class="corset center_text">
81
+
82
+ <div class="row">
83
+ <div class="col-sm-4 col-sm-offset-4">
84
+ <!--<a href="#" class="btn btn-success btn-block btn-lg">Sign up now</a>-->
85
+ <button class="btn btn-success btn-block help_arrow fakeClick" data-text="Go click me!">
86
+ Click Me
87
+ </button>
79
88
  </div>
80
89
  </div>
90
+
81
91
  </div>
82
-
83
92
  </div>
84
93
  </div>
85
- </div>
94
+ </div>
95
+
96
+
97
+ <div class="section">
98
+ <div class="corset">
99
+ <h2>Sizes:</h2>
100
+
101
+ <p>For <code>.header-cell</code>, <code>.content-cell</code> and <code>.footer-cell</code> within the <code>fullpage-table</code>.
102
+ <table class="table">
103
+ <thead>
104
+ <tr>
105
+ <th>Class</th>
106
+ <th>Padding-Top</th>
107
+ <th>Padding-Bottom</th>
108
+ </tr>
109
+ </thead>
110
+ <tbody>
111
+ <tr>
112
+ <th> </th>
113
+ <td>20px</td>
114
+ <td>20px</td>
115
+ </tr>
116
+ <tr>
117
+ <th>.xs<br/>.flat</th>
118
+ <td>0</td>
119
+ <td>0</td>
120
+ </tr>
121
+ <tr>
122
+ <th>.sm</th>
123
+ <td>10px</td>
124
+ <td>10px</td>
125
+ </tr>
126
+ <tr>
127
+ <th>.lg</th>
128
+ <td>30px</td>
129
+ <td>30px</td>
130
+ </tr>
131
+ <tr>
132
+ <th>.xl</th>
133
+ <td>40px</td>
134
+ <td>40px</td>
135
+ </tr>
136
+ <tr>
137
+ <th>.dark</th>
138
+ <td colspan="2">Dark Background (<code>$fullpageDarkBG</code>)</td>
139
+ </tr>
140
+ <tr>
141
+ <th>.bright</th>
142
+ <td colspan="2">Bright Background (<code>$fullpageBrightBG</code>)</td>
143
+ </tr>
144
+ </tbody>
145
+ </table>
146
+ </div>
147
+ </div>