bulma-rails 0.0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/README.md +44 -0
- data/app/assets/stylesheets/bulma.sass +9 -0
- data/app/assets/stylesheets/bulma/base/base.sass +6 -0
- data/app/assets/stylesheets/bulma/base/content.sass +51 -0
- data/app/assets/stylesheets/bulma/base/generic.sass +101 -0
- data/app/assets/stylesheets/bulma/base/helpers.sass +27 -0
- data/app/assets/stylesheets/bulma/base/highlight.sass +123 -0
- data/app/assets/stylesheets/bulma/components/card.sass +39 -0
- data/app/assets/stylesheets/bulma/components/components.sass +11 -0
- data/app/assets/stylesheets/bulma/components/grid.sass +48 -0
- data/app/assets/stylesheets/bulma/components/media.sass +69 -0
- data/app/assets/stylesheets/bulma/components/menu.sass +25 -0
- data/app/assets/stylesheets/bulma/components/navbar.sass +45 -0
- data/app/assets/stylesheets/bulma/components/table.sass +73 -0
- data/app/assets/stylesheets/bulma/components/tabs.sass +101 -0
- data/app/assets/stylesheets/bulma/config/generated-variables.sass +74 -0
- data/app/assets/stylesheets/bulma/config/variables.sass +41 -0
- data/app/assets/stylesheets/bulma/elements/buttons.sass +100 -0
- data/app/assets/stylesheets/bulma/elements/controls.sass +224 -0
- data/app/assets/stylesheets/bulma/elements/elements.sass +172 -0
- data/app/assets/stylesheets/bulma/elements/messages.sass +41 -0
- data/app/assets/stylesheets/bulma/elements/notifications.sass +20 -0
- data/app/assets/stylesheets/bulma/elements/titles.sass +57 -0
- data/app/assets/stylesheets/bulma/layout/footer.sass +11 -0
- data/app/assets/stylesheets/bulma/layout/header.sass +145 -0
- data/app/assets/stylesheets/bulma/layout/hero.sass +147 -0
- data/app/assets/stylesheets/bulma/layout/layout.sass +6 -0
- data/app/assets/stylesheets/bulma/layout/section.sass +11 -0
- data/app/assets/stylesheets/bulma/utilities/animations.sass +5 -0
- data/app/assets/stylesheets/bulma/utilities/functions.sass +34 -0
- data/app/assets/stylesheets/bulma/utilities/mixins.sass +83 -0
- data/app/assets/stylesheets/bulma/utilities/reset.sass +174 -0
- data/app/assets/stylesheets/bulma/utilities/utilities.sass +6 -0
- data/bulma-rails.gemspec +18 -0
- data/lib/bulma-rails.rb +4 -0
- metadata +95 -0
@@ -0,0 +1,174 @@
|
|
1
|
+
//
|
2
|
+
// HTML5 Reset :: style.css
|
3
|
+
// ----------------------------------------------------------
|
4
|
+
// We have learned much from/been inspired by/taken code where offered from:
|
5
|
+
//
|
6
|
+
// Eric Meyer :: http://meyerweb.com
|
7
|
+
// HTML5 Doctor :: http://html5doctor.com
|
8
|
+
// and the HTML5 Boilerplate :: http://html5boilerplate.com
|
9
|
+
//
|
10
|
+
//-------------------------------------------------------------------------------
|
11
|
+
|
12
|
+
// Let's default this puppy out
|
13
|
+
|
14
|
+
html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary
|
15
|
+
margin: 0
|
16
|
+
padding: 0
|
17
|
+
border: 0
|
18
|
+
font-size: 100%
|
19
|
+
font-weight: normal
|
20
|
+
vertical-align: baseline
|
21
|
+
background: transparent
|
22
|
+
|
23
|
+
article, aside, figure, footer, header, nav, section, details, summary
|
24
|
+
display: block
|
25
|
+
|
26
|
+
// Handle box-sizing while better addressing child elements:
|
27
|
+
// http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
|
28
|
+
html
|
29
|
+
box-sizing: border-box
|
30
|
+
|
31
|
+
*,
|
32
|
+
*:before,
|
33
|
+
*:after
|
34
|
+
box-sizing: inherit
|
35
|
+
|
36
|
+
// consider resetting the default cursor: https://gist.github.com/murtaugh/5247154
|
37
|
+
|
38
|
+
// Responsive images and other embedded objects
|
39
|
+
img,
|
40
|
+
object,
|
41
|
+
embed
|
42
|
+
max-width: 100%
|
43
|
+
|
44
|
+
//
|
45
|
+
// Note: keeping IMG here will cause problems if you're using foreground images as sprites.
|
46
|
+
// In fact, it *will* cause problems with Google Maps' controls at small size.
|
47
|
+
// If this is the case for you, try uncommenting the following:
|
48
|
+
//
|
49
|
+
//#map img {
|
50
|
+
// max-width: none;
|
51
|
+
//}
|
52
|
+
|
53
|
+
// force a vertical scrollbar to prevent a jumpy page
|
54
|
+
html
|
55
|
+
overflow-y: scroll
|
56
|
+
|
57
|
+
// we use a lot of ULs that aren't bulleted.
|
58
|
+
// don't forget to restore the bullets within content.
|
59
|
+
ul
|
60
|
+
list-style: none
|
61
|
+
|
62
|
+
blockquote, q
|
63
|
+
quotes: none
|
64
|
+
|
65
|
+
blockquote:before,
|
66
|
+
blockquote:after,
|
67
|
+
q:before,
|
68
|
+
q:after
|
69
|
+
content: ''
|
70
|
+
content: none
|
71
|
+
|
72
|
+
a
|
73
|
+
margin: 0
|
74
|
+
padding: 0
|
75
|
+
font-size: 100%
|
76
|
+
vertical-align: baseline
|
77
|
+
background: transparent
|
78
|
+
|
79
|
+
del
|
80
|
+
text-decoration: line-through
|
81
|
+
|
82
|
+
abbr[title], dfn[title]
|
83
|
+
border-bottom: 1px dotted #000
|
84
|
+
cursor: help
|
85
|
+
|
86
|
+
// tables still need cellspacing="0" in the markup
|
87
|
+
table
|
88
|
+
border-collapse: collapse
|
89
|
+
border-spacing: 0
|
90
|
+
|
91
|
+
th
|
92
|
+
font-weight: bold
|
93
|
+
vertical-align: bottom
|
94
|
+
|
95
|
+
td
|
96
|
+
font-weight: normal
|
97
|
+
vertical-align: top
|
98
|
+
|
99
|
+
hr
|
100
|
+
display: block
|
101
|
+
height: 1px
|
102
|
+
border: 0
|
103
|
+
border-top: 1px solid #ccc
|
104
|
+
margin: 1em 0
|
105
|
+
padding: 0
|
106
|
+
|
107
|
+
input, select
|
108
|
+
vertical-align: middle
|
109
|
+
|
110
|
+
pre
|
111
|
+
white-space: pre
|
112
|
+
// CSS2
|
113
|
+
white-space: pre-wrap
|
114
|
+
// CSS 2.1
|
115
|
+
white-space: pre-line
|
116
|
+
// CSS 3 (and 2.1 as well, actually)
|
117
|
+
word-wrap: break-word
|
118
|
+
// IE
|
119
|
+
|
120
|
+
input[type="radio"]
|
121
|
+
vertical-align: text-bottom
|
122
|
+
|
123
|
+
input[type="checkbox"]
|
124
|
+
vertical-align: bottom
|
125
|
+
|
126
|
+
select, input, textarea
|
127
|
+
font: 99% sans-serif
|
128
|
+
|
129
|
+
table
|
130
|
+
font-size: inherit
|
131
|
+
font: 100%
|
132
|
+
|
133
|
+
small
|
134
|
+
font-size: 85%
|
135
|
+
|
136
|
+
strong
|
137
|
+
font-weight: bold
|
138
|
+
|
139
|
+
td, td img
|
140
|
+
vertical-align: top
|
141
|
+
|
142
|
+
// Make sure sup and sub don't mess with your line-heights http://gist.github.com/413930
|
143
|
+
sub, sup
|
144
|
+
font-size: 75%
|
145
|
+
line-height: 0
|
146
|
+
position: relative
|
147
|
+
|
148
|
+
sup
|
149
|
+
top: -0.5em
|
150
|
+
|
151
|
+
sub
|
152
|
+
bottom: -0.25em
|
153
|
+
|
154
|
+
// standardize any monospaced elements
|
155
|
+
pre, code, kbd, samp
|
156
|
+
font-family: monospace, sans-serif
|
157
|
+
|
158
|
+
// hand cursor on clickable elements
|
159
|
+
label,
|
160
|
+
input[type=button],
|
161
|
+
input[type=submit],
|
162
|
+
input[type=file],
|
163
|
+
button
|
164
|
+
cursor: pointer
|
165
|
+
|
166
|
+
// Webkit browsers add a 2px margin outside the chrome of form elements
|
167
|
+
button, input, select, textarea
|
168
|
+
margin: 0
|
169
|
+
|
170
|
+
// make buttons play nice in IE
|
171
|
+
button,
|
172
|
+
input[type=button]
|
173
|
+
width: auto
|
174
|
+
overflow: visible
|
data/bulma-rails.gemspec
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |gem|
|
4
|
+
gem.name = 'bulma-rails'
|
5
|
+
gem.version = '0.0.4.1'
|
6
|
+
gem.date = '2016-01-29'
|
7
|
+
gem.authors = ["Joshua Jansen"]
|
8
|
+
gem.email = ["joshuajansen88@gmail.com"]
|
9
|
+
gem.description = %q{A modern CSS framework based on Flexbox}
|
10
|
+
gem.summary = %q{This gem adds the bulma.io assets to your asset pipeline so you can import them in your Rails project.}
|
11
|
+
gem.homepage = "https://github.com/joshuajansen/bulma-rails"
|
12
|
+
|
13
|
+
gem.files = `git ls-files`.split($\)
|
14
|
+
gem.require_paths = ["lib"]
|
15
|
+
gem.license = 'MIT'
|
16
|
+
|
17
|
+
gem.add_runtime_dependency 'sass', '~> 3.2'
|
18
|
+
end
|
data/lib/bulma-rails.rb
ADDED
metadata
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bulma-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.4.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Joshua Jansen
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-01-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: sass
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.2'
|
27
|
+
description: A modern CSS framework based on Flexbox
|
28
|
+
email:
|
29
|
+
- joshuajansen88@gmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".gitignore"
|
35
|
+
- README.md
|
36
|
+
- app/assets/stylesheets/bulma.sass
|
37
|
+
- app/assets/stylesheets/bulma/base/base.sass
|
38
|
+
- app/assets/stylesheets/bulma/base/content.sass
|
39
|
+
- app/assets/stylesheets/bulma/base/generic.sass
|
40
|
+
- app/assets/stylesheets/bulma/base/helpers.sass
|
41
|
+
- app/assets/stylesheets/bulma/base/highlight.sass
|
42
|
+
- app/assets/stylesheets/bulma/components/card.sass
|
43
|
+
- app/assets/stylesheets/bulma/components/components.sass
|
44
|
+
- app/assets/stylesheets/bulma/components/grid.sass
|
45
|
+
- app/assets/stylesheets/bulma/components/media.sass
|
46
|
+
- app/assets/stylesheets/bulma/components/menu.sass
|
47
|
+
- app/assets/stylesheets/bulma/components/navbar.sass
|
48
|
+
- app/assets/stylesheets/bulma/components/table.sass
|
49
|
+
- app/assets/stylesheets/bulma/components/tabs.sass
|
50
|
+
- app/assets/stylesheets/bulma/config/generated-variables.sass
|
51
|
+
- app/assets/stylesheets/bulma/config/variables.sass
|
52
|
+
- app/assets/stylesheets/bulma/elements/buttons.sass
|
53
|
+
- app/assets/stylesheets/bulma/elements/controls.sass
|
54
|
+
- app/assets/stylesheets/bulma/elements/elements.sass
|
55
|
+
- app/assets/stylesheets/bulma/elements/messages.sass
|
56
|
+
- app/assets/stylesheets/bulma/elements/notifications.sass
|
57
|
+
- app/assets/stylesheets/bulma/elements/titles.sass
|
58
|
+
- app/assets/stylesheets/bulma/layout/footer.sass
|
59
|
+
- app/assets/stylesheets/bulma/layout/header.sass
|
60
|
+
- app/assets/stylesheets/bulma/layout/hero.sass
|
61
|
+
- app/assets/stylesheets/bulma/layout/layout.sass
|
62
|
+
- app/assets/stylesheets/bulma/layout/section.sass
|
63
|
+
- app/assets/stylesheets/bulma/utilities/animations.sass
|
64
|
+
- app/assets/stylesheets/bulma/utilities/functions.sass
|
65
|
+
- app/assets/stylesheets/bulma/utilities/mixins.sass
|
66
|
+
- app/assets/stylesheets/bulma/utilities/reset.sass
|
67
|
+
- app/assets/stylesheets/bulma/utilities/utilities.sass
|
68
|
+
- bulma-rails.gemspec
|
69
|
+
- lib/bulma-rails.rb
|
70
|
+
homepage: https://github.com/joshuajansen/bulma-rails
|
71
|
+
licenses:
|
72
|
+
- MIT
|
73
|
+
metadata: {}
|
74
|
+
post_install_message:
|
75
|
+
rdoc_options: []
|
76
|
+
require_paths:
|
77
|
+
- lib
|
78
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
requirements: []
|
89
|
+
rubyforge_project:
|
90
|
+
rubygems_version: 2.4.5.1
|
91
|
+
signing_key:
|
92
|
+
specification_version: 4
|
93
|
+
summary: This gem adds the bulma.io assets to your asset pipeline so you can import
|
94
|
+
them in your Rails project.
|
95
|
+
test_files: []
|