bookshout-theme 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +20 -0
- data/Gemfile.lock +207 -0
- data/README.md +46 -0
- data/Rakefile +31 -0
- data/VERSION +1 -0
- data/app/helpers/bookshout_theme_helper.rb +28 -0
- data/app/helpers/static_helper.rb +18 -0
- data/app/views/bookshout-theme/_footer.html.haml +4 -0
- data/app/views/bookshout-theme/_header.html.haml +37 -0
- data/app/views/bookshout-theme/_main.html.haml +14 -0
- data/app/views/shared/_global_nav.html.erb +0 -0
- data/app/views/shared/_tracking.html.erb +0 -0
- data/bookshout-theme.gemspec +67 -0
- data/lib/bookshout-theme.rb +12 -0
- data/lib/generators/bookshout_theme_generator.rb +15 -0
- data/vendor/assets/javascripts/bookshout-theme.js +19 -0
- data/vendor/assets/javascripts/spin.js +2 -0
- data/vendor/assets/stylesheets/books.scss +87 -0
- data/vendor/assets/stylesheets/bookshout-theme.scss +20 -0
- data/vendor/assets/stylesheets/footer.scss +49 -0
- data/vendor/assets/stylesheets/foundation_and_overrides.scss +1022 -0
- data/vendor/assets/stylesheets/home.scss +43 -0
- data/vendor/assets/stylesheets/partials/icon_bar.scss +162 -0
- data/vendor/assets/stylesheets/partials/images.scss +20 -0
- data/vendor/assets/stylesheets/partials/nav.scss +78 -0
- metadata +99 -0
@@ -0,0 +1,43 @@
|
|
1
|
+
// Place all the styles related to the home controller here.
|
2
|
+
// They will automatically be included in application.css.
|
3
|
+
// You can use Sass (SCSS) here: http://sass-lang.com/
|
4
|
+
.signup-panel {
|
5
|
+
border-radius: 5px;
|
6
|
+
padding: 15px;
|
7
|
+
margin-top: 30px;
|
8
|
+
margin-bottom: 30px;
|
9
|
+
background: #fff;
|
10
|
+
}
|
11
|
+
|
12
|
+
.signup-panel a{
|
13
|
+
color: #fff;
|
14
|
+
}
|
15
|
+
|
16
|
+
.signup-panel i {
|
17
|
+
font-size: 30px;
|
18
|
+
line-height: 50px;
|
19
|
+
color: #999;
|
20
|
+
}
|
21
|
+
.signup-panel form input, .signup-panel form span {
|
22
|
+
height: 50px;
|
23
|
+
}
|
24
|
+
.signup-panel .welcome {
|
25
|
+
font-size: 26px;
|
26
|
+
text-align: center;
|
27
|
+
margin-left: 0;
|
28
|
+
}
|
29
|
+
.signup-panel p {
|
30
|
+
font-size: 13px;
|
31
|
+
font-weight: 200;
|
32
|
+
text-align: center;
|
33
|
+
}
|
34
|
+
.signup-panel .button {
|
35
|
+
margin-left: 35%;
|
36
|
+
}
|
37
|
+
|
38
|
+
.newusers {
|
39
|
+
background: #fff;
|
40
|
+
}
|
41
|
+
.home-signup{
|
42
|
+
}
|
43
|
+
|
@@ -0,0 +1,162 @@
|
|
1
|
+
.icon-bar {
|
2
|
+
width: 100%;
|
3
|
+
font-size: 0;
|
4
|
+
display: inline-block;
|
5
|
+
background: white; }
|
6
|
+
.icon-bar > * {
|
7
|
+
text-align: center;
|
8
|
+
font-size: 1rem;
|
9
|
+
width: 25%;
|
10
|
+
margin: 0 auto;
|
11
|
+
display: block;
|
12
|
+
padding: 1.25rem;
|
13
|
+
float: left; }
|
14
|
+
.icon-bar > * i, .icon-bar > * img {
|
15
|
+
display: block;
|
16
|
+
margin: 0 auto; }
|
17
|
+
.icon-bar > * i + label, .icon-bar > * img + label {
|
18
|
+
margin-top: .0625rem; }
|
19
|
+
.icon-bar > * i {
|
20
|
+
font-size: 1.5rem;
|
21
|
+
vertical-align: middle; }
|
22
|
+
.icon-bar > * img {
|
23
|
+
width: 1.5rem;
|
24
|
+
height: 1.5rem; }
|
25
|
+
.icon-bar.label-right > * i, .icon-bar.label-right > * img {
|
26
|
+
margin: 0 .0625rem 0 0;
|
27
|
+
display: inline-block; }
|
28
|
+
.icon-bar.label-right > * i + label, .icon-bar.label-right > * img + label {
|
29
|
+
margin-top: 0; }
|
30
|
+
.icon-bar.label-right > * label {
|
31
|
+
display: inline-block; }
|
32
|
+
.icon-bar.vertical.label-right > * {
|
33
|
+
text-align: left; }
|
34
|
+
.icon-bar.vertical, .icon-bar.small-vertical {
|
35
|
+
height: 100%;
|
36
|
+
width: auto; }
|
37
|
+
.icon-bar.vertical .item, .icon-bar.small-vertical .item {
|
38
|
+
width: auto;
|
39
|
+
margin: auto;
|
40
|
+
float: none; }
|
41
|
+
@media only screen and (min-width: 40.063em) {
|
42
|
+
.icon-bar.medium-vertical {
|
43
|
+
height: 100%;
|
44
|
+
width: auto; }
|
45
|
+
.icon-bar.medium-vertical .item {
|
46
|
+
width: auto;
|
47
|
+
margin: auto;
|
48
|
+
float: none; } }
|
49
|
+
@media only screen and (min-width: 64.063em) {
|
50
|
+
.icon-bar.large-vertical {
|
51
|
+
height: 100%;
|
52
|
+
width: auto; }
|
53
|
+
.icon-bar.large-vertical .item {
|
54
|
+
width: auto;
|
55
|
+
margin: auto;
|
56
|
+
float: none; } }
|
57
|
+
.icon-bar > * {
|
58
|
+
font-size: 1rem;
|
59
|
+
padding: 1.25rem; }
|
60
|
+
.icon-bar > * i + label, .icon-bar > * img + label {
|
61
|
+
margin-top: .0625rem; }
|
62
|
+
.icon-bar > * i {
|
63
|
+
font-size: 1.5rem; }
|
64
|
+
.icon-bar > * img {
|
65
|
+
width: 1.5rem;
|
66
|
+
height: 1.5rem; }
|
67
|
+
.icon-bar > * label {
|
68
|
+
color: #FFFFFF; }
|
69
|
+
.icon-bar > * i {
|
70
|
+
color: rgba(0,0,0,.5); }
|
71
|
+
.icon-bar > a:hover {
|
72
|
+
background: white; }
|
73
|
+
.icon-bar > a:hover label {
|
74
|
+
color: rgba(255,255,255,.2); }
|
75
|
+
.icon-bar > a:hover i {
|
76
|
+
color: rgba(0,0,0,.75); }
|
77
|
+
.icon-bar > a.active {
|
78
|
+
background: #008CBA; }
|
79
|
+
.icon-bar > a.active label {
|
80
|
+
color: #FFFFFF; }
|
81
|
+
.icon-bar > a.active i {
|
82
|
+
color: #FFFFFF; }
|
83
|
+
.icon-bar .item.disabled {
|
84
|
+
opacity: 0.7;
|
85
|
+
cursor: not-allowed;
|
86
|
+
pointer-events: none; }
|
87
|
+
.icon-bar .item.disabled > * {
|
88
|
+
opacity: 0.7;
|
89
|
+
cursor: not-allowed; }
|
90
|
+
|
91
|
+
.icon-bar.two-up .item {
|
92
|
+
width: 50%; }
|
93
|
+
.icon-bar.two-up.vertical .item, .icon-bar.two-up.small-vertical .item {
|
94
|
+
width: auto; }
|
95
|
+
@media only screen and (min-width: 40.063em) {
|
96
|
+
.icon-bar.two-up.medium-vertical .item {
|
97
|
+
width: auto; } }
|
98
|
+
@media only screen and (min-width: 64.063em) {
|
99
|
+
.icon-bar.two-up.large-vertical .item {
|
100
|
+
width: auto; } }
|
101
|
+
.icon-bar.three-up .item {
|
102
|
+
width: 33.3333%; }
|
103
|
+
.icon-bar.three-up.vertical .item, .icon-bar.three-up.small-vertical .item {
|
104
|
+
width: auto; }
|
105
|
+
@media only screen and (min-width: 40.063em) {
|
106
|
+
.icon-bar.three-up.medium-vertical .item {
|
107
|
+
width: auto; } }
|
108
|
+
@media only screen and (min-width: 64.063em) {
|
109
|
+
.icon-bar.three-up.large-vertical .item {
|
110
|
+
width: auto; } }
|
111
|
+
.icon-bar.four-up .item {
|
112
|
+
width: 25%; }
|
113
|
+
.icon-bar.four-up.vertical .item, .icon-bar.four-up.small-vertical .item {
|
114
|
+
width: auto; }
|
115
|
+
@media only screen and (min-width: 40.063em) {
|
116
|
+
.icon-bar.four-up.medium-vertical .item {
|
117
|
+
width: auto; } }
|
118
|
+
@media only screen and (min-width: 64.063em) {
|
119
|
+
.icon-bar.four-up.large-vertical .item {
|
120
|
+
width: auto; } }
|
121
|
+
.icon-bar.five-up .item {
|
122
|
+
width: 20%; }
|
123
|
+
.icon-bar.five-up.vertical .item, .icon-bar.five-up.small-vertical .item {
|
124
|
+
width: auto; }
|
125
|
+
@media only screen and (min-width: 40.063em) {
|
126
|
+
.icon-bar.five-up.medium-vertical .item {
|
127
|
+
width: auto; } }
|
128
|
+
@media only screen and (min-width: 64.063em) {
|
129
|
+
.icon-bar.five-up.large-vertical .item {
|
130
|
+
width: auto; } }
|
131
|
+
.icon-bar.six-up .item {
|
132
|
+
width: 16.66667%; }
|
133
|
+
.icon-bar.six-up.vertical .item, .icon-bar.six-up.small-vertical .item {
|
134
|
+
width: auto; }
|
135
|
+
@media only screen and (min-width: 40.063em) {
|
136
|
+
.icon-bar.six-up.medium-vertical .item {
|
137
|
+
width: auto; } }
|
138
|
+
@media only screen and (min-width: 64.063em) {
|
139
|
+
.icon-bar.six-up.large-vertical .item {
|
140
|
+
width: auto; } }
|
141
|
+
.icon-bar.seven-up .item {
|
142
|
+
width: 14.28571%; }
|
143
|
+
.icon-bar.seven-up.vertical .item, .icon-bar.seven-up.small-vertical .item {
|
144
|
+
width: auto; }
|
145
|
+
@media only screen and (min-width: 40.063em) {
|
146
|
+
.icon-bar.seven-up.medium-vertical .item {
|
147
|
+
width: auto; } }
|
148
|
+
@media only screen and (min-width: 64.063em) {
|
149
|
+
.icon-bar.seven-up.large-vertical .item {
|
150
|
+
width: auto; } }
|
151
|
+
.icon-bar.eight-up .item {
|
152
|
+
width: 12.5%; }
|
153
|
+
.icon-bar.eight-up.vertical .item, .icon-bar.eight-up.small-vertical .item {
|
154
|
+
width: auto; }
|
155
|
+
@media only screen and (min-width: 40.063em) {
|
156
|
+
.icon-bar.eight-up.medium-vertical .item {
|
157
|
+
width: auto; } }
|
158
|
+
@media only screen and (min-width: 64.063em) {
|
159
|
+
.icon-bar.eight-up.large-vertical .item {
|
160
|
+
width: auto; } }
|
161
|
+
|
162
|
+
|
@@ -0,0 +1,78 @@
|
|
1
|
+
nav.tab-bar .menu-icon span::after {
|
2
|
+
box-shadow: 0 0px 0 2px #545454,0 8px 0 2px #545454,0 16px 0 2px #545454;
|
3
|
+
width: 1.4rem;
|
4
|
+
}
|
5
|
+
|
6
|
+
.left-off-canvas-menu {
|
7
|
+
height:2044px;
|
8
|
+
}
|
9
|
+
|
10
|
+
ul.off-canvas-list {
|
11
|
+
i {
|
12
|
+
font-size:1.8em;
|
13
|
+
vertical-align:middle;
|
14
|
+
margin-right:0.8rem;
|
15
|
+
|
16
|
+
img {
|
17
|
+
width: 18px;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
ul.off-canvas-list a {
|
23
|
+
color:#737373;
|
24
|
+
}
|
25
|
+
|
26
|
+
.fixed-nav-main-container {
|
27
|
+
margin-top:6rem;
|
28
|
+
}
|
29
|
+
|
30
|
+
.move-right>.off-canvas-fixed {
|
31
|
+
height: 100%;
|
32
|
+
-webkit-transform: translate3d(15.625rem, 0, 0);
|
33
|
+
transform: translate3d(15.625rem, 0, 0);
|
34
|
+
}
|
35
|
+
|
36
|
+
.off-canvas-fixed {
|
37
|
+
-webkit-transition: -webkit-transform 500ms ease;
|
38
|
+
transition: transform 500ms ease;
|
39
|
+
}
|
40
|
+
|
41
|
+
.tab-bar {
|
42
|
+
background: rgba(255, 255, 255, .75);
|
43
|
+
height:77px;
|
44
|
+
z-index:3000;
|
45
|
+
.menu-icon span:after {
|
46
|
+
box-shadow: 0 0px 0 1px black, 0 7px 0 1px black, 0 14px 0 1px black
|
47
|
+
}
|
48
|
+
|
49
|
+
.left-small {
|
50
|
+
border-right:none;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
.off-canvas-list li {
|
55
|
+
padding: 0.4rem 1rem;
|
56
|
+
}
|
57
|
+
|
58
|
+
ul.off-canvas-list li a {
|
59
|
+
border-bottom: none;
|
60
|
+
color:#737373;
|
61
|
+
font-weight:bold;
|
62
|
+
font-size:1rem;
|
63
|
+
display: block;
|
64
|
+
padding: 0.55557rem;
|
65
|
+
}
|
66
|
+
|
67
|
+
ul.off-canvas-list li a:hover {
|
68
|
+
background-color:transparent;
|
69
|
+
color: white;
|
70
|
+
font-weight:bold;
|
71
|
+
}
|
72
|
+
|
73
|
+
/*
|
74
|
+
.left-off-canvas-menu {
|
75
|
+
background-color: #bfbfbf;
|
76
|
+
}
|
77
|
+
*/
|
78
|
+
|
metadata
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bookshout-theme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Arturo Contreras
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-04-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.2.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.2.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jeweler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.0.1
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.0.1
|
41
|
+
description: View helpers 'header' and 'footer', along with an assets generator to
|
42
|
+
make any site look like http://bookshout.com
|
43
|
+
email:
|
44
|
+
- arturo@bookshout.com
|
45
|
+
executables: []
|
46
|
+
extensions: []
|
47
|
+
extra_rdoc_files:
|
48
|
+
- README.md
|
49
|
+
files:
|
50
|
+
- Gemfile
|
51
|
+
- Gemfile.lock
|
52
|
+
- README.md
|
53
|
+
- Rakefile
|
54
|
+
- VERSION
|
55
|
+
- app/helpers/bookshout_theme_helper.rb
|
56
|
+
- app/helpers/static_helper.rb
|
57
|
+
- app/views/bookshout-theme/_footer.html.haml
|
58
|
+
- app/views/bookshout-theme/_header.html.haml
|
59
|
+
- app/views/bookshout-theme/_main.html.haml
|
60
|
+
- app/views/shared/_global_nav.html.erb
|
61
|
+
- app/views/shared/_tracking.html.erb
|
62
|
+
- bookshout-theme.gemspec
|
63
|
+
- lib/bookshout-theme.rb
|
64
|
+
- lib/generators/bookshout_theme_generator.rb
|
65
|
+
- vendor/assets/javascripts/bookshout-theme.js
|
66
|
+
- vendor/assets/javascripts/spin.js
|
67
|
+
- vendor/assets/stylesheets/books.scss
|
68
|
+
- vendor/assets/stylesheets/bookshout-theme.scss
|
69
|
+
- vendor/assets/stylesheets/footer.scss
|
70
|
+
- vendor/assets/stylesheets/foundation_and_overrides.scss
|
71
|
+
- vendor/assets/stylesheets/home.scss
|
72
|
+
- vendor/assets/stylesheets/partials/icon_bar.scss
|
73
|
+
- vendor/assets/stylesheets/partials/images.scss
|
74
|
+
- vendor/assets/stylesheets/partials/nav.scss
|
75
|
+
homepage: https://github.com/rethinkbooks/bookshout-theme
|
76
|
+
licenses:
|
77
|
+
- MIT
|
78
|
+
metadata: {}
|
79
|
+
post_install_message:
|
80
|
+
rdoc_options: []
|
81
|
+
require_paths:
|
82
|
+
- lib
|
83
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '0'
|
93
|
+
requirements: []
|
94
|
+
rubyforge_project:
|
95
|
+
rubygems_version: 2.2.2
|
96
|
+
signing_key:
|
97
|
+
specification_version: 4
|
98
|
+
summary: A gem providing helper methods and assets to make any site look like http://bookshout.com
|
99
|
+
test_files: []
|