magic_stylez 0.0.0.99 → 0.0.330
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 +8 -8
- data/Gemfile +1 -1
- data/lib/magic_stylez/version.rb +1 -1
- data/magic_stylez.gemspec +1 -2
- data/test/dummy/app/assets/javascripts/app.js.coffee +11 -50
- data/test/dummy/app/assets/javascripts/application.js +1 -1
- data/test/dummy/app/assets/javascripts/assets.js.coffee.erb +6 -0
- data/test/dummy/app/assets/javascripts/views/app/changelog.jst.eco +49 -2
- data/test/dummy/app/assets/javascripts/views/app/start.jst.eco +13 -9
- data/test/dummy/app/assets/javascripts/views/helper/dots.jst.eco +21 -4
- data/test/dummy/app/assets/javascripts/views/layout/fullpage_table.jst.eco +113 -51
- data/test/dummy/app/assets/javascripts/views/layout/section.jst.eco +1 -10
- data/test/dummy/app/controllers/front_controller.rb +1 -0
- data/test/dummy/app/views/front/start.html.erb +3 -19
- data/test/dummy/app/views/layouts/application.html.erb +9 -0
- data/test/dummy/public/html/aside-nav.html +2 -2
- data/test/dummy/public/html/fixed-header.html +2 -2
- data/test/dummy/public/html/fixed-subnav.html +2 -2
- data/test/dummy/public/html/index.html +6 -22
- data/test/dummy/public/html/slidebar-header.html +2 -2
- data/test/dummy/public/html/slidebar-subnav.html +2 -2
- data/vendor/assets/stylesheets/magic/content/_banner.scss +18 -4
- data/vendor/assets/stylesheets/magic/content/_buttons.scss +1 -1
- data/vendor/assets/stylesheets/magic/content/_forms.scss +1 -1
- data/vendor/assets/stylesheets/magic/content/_helper.scss +3 -3
- data/vendor/assets/stylesheets/magic/content/_inputs.scss +1 -1
- data/vendor/assets/stylesheets/magic/helper/_dots.scss +64 -0
- data/vendor/assets/stylesheets/magic/helper/_three_previews.scss +1 -1
- data/vendor/assets/stylesheets/magic/layout/_corset.scss +6 -6
- data/vendor/assets/stylesheets/magic/layout/_fullpage_table.scss +16 -0
- data/vendor/assets/stylesheets/magic/layout/_section.scss +108 -113
- data/vendor/assets/stylesheets/magic/layout/_tables_v1.scss +2 -2
- data/vendor/assets/stylesheets/magic/layout/_tables_v2.scss +2 -2
- data/vendor/assets/stylesheets/magic/lib/_text.scss +2 -2
- data/vendor/assets/stylesheets/magic/lists/_nav.scss +44 -49
- metadata +12 -6
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZmJjNjhkNGU0MDZmZmM1NGQ0MTM1NmExNDYxNmQ3OWE0YTk1ZDNmOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzhjYWNkNWZhZGUyZTM1NzkyZDc2MjliZDU4MzEwMDNlNTYxZDIxYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDAzYjg5MTAxZDc4OTI5NDY2M2RjMmE3NjFkYzMwNGVmZDk4MWMxOTQxOWIw
|
10
|
+
N2UxY2VhMGNhZmZhNjMzNWNjYmI3MjcyY2RhYTg5NDExMDlmNzQ5ZjJhNGM0
|
11
|
+
YmM3MWY2NDU1MDU2N2E2ZjI0MjEwODJhZTg2NDBhYjI3ZWM2MWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGVmMzQ0YzZjNGVjMDFhZjEwOTk5MWRlODZjM2ZkZDI2MzgxNjY4NTBiNjgz
|
14
|
+
ZWUxY2YyZjMzNGEwYmJkY2ViOGQ4YjVjODY5NjI1MDRjMGFmNmFjODZiNzA0
|
15
|
+
Y2RhMzQ2YWY1NzIxNGNhNGMxODM4ZjdiNzA4ZmZjYmE0NGJjNDc=
|
data/Gemfile
CHANGED
data/lib/magic_stylez/version.rb
CHANGED
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
|
-
|
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
|
@@ -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
|
-
<
|
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
|
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
|
-
<
|
27
|
-
<p class="
|
28
|
-
<p class="
|
29
|
-
<p class="
|
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
|
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">©
|
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-
|
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-
|
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-
|
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-
|
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-
|
1
|
+
<div class="fullpage-table" id="banner-berlin">
|
2
2
|
<div class="table-row">
|
3
|
-
<div class="
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
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
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
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
|
-
<div class="fullpage-table" id="
|
45
|
-
<div class="table-row"><br/> <div class="banner-box responsive-hero with-footer with-header fill wood"><br/> <div class="banner-header"><br/> <div class="corset"><br/> <h1 class="loud">Fullpage Table</h1><br/> </div><br/> </div><br/> <br/> <div class="banner-content"><br/> <div class="corset"><br/> <p class="loud">This is a fullpage-table, it allways uses fullpage-height (if content fits in).</p><br/> </div><br/> </div><br/> <br/> <div class="banner-footer" id="sign_up_banner"><br/> <div class="corset"><br/> <div class="row"><br/> <div class="col-sm-4 col-sm-offset-4"><br/> <a href="#" class="btn btn-success btn-block btn-lg">Sign up now</a><br/> </div><br/> </div><br/> </div><br/> </div><br/> <br/> </div><br/> </div><br/></div>
|
49
|
+
<div class="fullpage-table" id="banner-one"><br/> <div class="table-row"><br/> <div class="header-cell bright"><br/> <div class="corset center_text"><br/> <h1 class="loud">Fullpage Table</h1><br/> </div><br/> </div><br/> </div><br/> <div class="table-row"><br/> <div class="content-cell fill"><br/> <div class="corset responsive-hero center_text"><br/> <br/> <p class="loud ">This is a fullpage-table, it allways uses fullpage-height<br/>(if content fits in).</p><br/> <div class="well"><br/> surounding element (i.e. body) needs the following <em>css</em>:<br/> <br/><br/> <code>width: 100%; height: 100%;</code><br/> </div><br/> <br/> </div><br/> </div><br/> </div><br/> <div class="table-row"><br/> <div class="footer-cell bright"><br/> <div class="corset center_text"><br/> <br/> <div class="row"><br/> <div class="col-sm-4 col-sm-offset-4"><br/> <!--<a href="#" class="btn btn-success btn-block btn-lg">Sign up now</a>--><br/> <button class="btn btn-success btn-block help_arrow fakeClick" data-text="Go click me!"><br/> Click Me<br/> </button><br/> </div><br/> </div><br/> <br/> </div><br/> </div><br/> </div><br/></div><br/>
|
46
50
|
</code>
|
47
51
|
</pre>
|
48
52
|
</div>
|
49
53
|
</div>
|
50
54
|
|
51
|
-
<div class="fullpage-table" id="banner-
|
55
|
+
<div class="fullpage-table" id="banner-one">
|
56
|
+
|
52
57
|
<div class="table-row">
|
53
|
-
<div class="
|
54
|
-
<div class="
|
55
|
-
<
|
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
|
-
|
61
|
-
|
62
|
-
|
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
|
-
<
|
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
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
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>
|