awesome-bootstrap-checkbox 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/.gitignore +9 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +48 -0
- data/Rakefile +2 -0
- data/awesome-bootstrap-checkbox.gemspec +27 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/awesome/bootstrap/checkbox.rb +10 -0
- data/lib/awesome/bootstrap/checkbox/version.rb +7 -0
- data/vendor/assets/stylesheets/awesome-bootstrap-checkbox.css +260 -0
- metadata +98 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8a28e672efba5fea6a58b53c7b64ff6de5dd6d17
|
4
|
+
data.tar.gz: 0591694b9c236e6d70f40395fd81bb44fa6710de
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7464fe3c22865797b9c50701af82537c67f8304e8140d580657a68617b928260abf96166932deb2675e7ea00948246b64eadab87dd90ea09eac6c745f1d48a8f
|
7
|
+
data.tar.gz: 2d502092c1b48995a7025af82731afb08c41b8139a7bad5f84c6d17199fdbc50f1ccea077ec66ac56e473f117b7916e9c2688fbe4d433604da29b8fbb6853889
|
data/.gitignore
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
7
|
+
|
8
|
+
We are committed to making participation in this project a harassment-free
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
12
|
+
|
13
|
+
Examples of unacceptable behavior by participants include:
|
14
|
+
|
15
|
+
* The use of sexualized language or imagery
|
16
|
+
* Personal attacks
|
17
|
+
* Trolling or insulting/derogatory comments
|
18
|
+
* Public or private harassment
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
20
|
+
addresses, without explicit permission
|
21
|
+
* Other unethical or unprofessional conduct
|
22
|
+
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
+
threatening, offensive, or harmful.
|
28
|
+
|
29
|
+
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
+
fairly and consistently applying these principles to every aspect of managing
|
31
|
+
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
+
Conduct may be permanently removed from the project team.
|
33
|
+
|
34
|
+
This code of conduct applies both within project spaces and in public spaces
|
35
|
+
when an individual is representing the project or its community.
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
+
reported by contacting a project maintainer at tylerhoran@gmail.com. All
|
39
|
+
complaints will be reviewed and investigated and will result in a response that
|
40
|
+
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
+
incident.
|
43
|
+
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
+
version 1.3.0, available at
|
46
|
+
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
+
|
48
|
+
[homepage]: http://contributor-covenant.org
|
49
|
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Tyler Horan
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
# Awesome::Bootstrap::Checkbox
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/awesome/bootstrap/checkbox`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'awesome-bootstrap-checkbox'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install awesome-bootstrap-checkbox
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
|
26
|
+
Import styles in `app/assets/stylesheets/application.scss`:
|
27
|
+
|
28
|
+
```scss
|
29
|
+
@import "bootstrap-sprockets";
|
30
|
+
@import "bootstrap";
|
31
|
+
@import "awesome-bootstrap-checkbox";
|
32
|
+
```
|
33
|
+
|
34
|
+
## Development
|
35
|
+
|
36
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
37
|
+
|
38
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
39
|
+
|
40
|
+
## Contributing
|
41
|
+
|
42
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/awesome-bootstrap-checkbox. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
43
|
+
|
44
|
+
|
45
|
+
## License
|
46
|
+
|
47
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
48
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'awesome/bootstrap/checkbox/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "awesome-bootstrap-checkbox"
|
8
|
+
spec.version = Awesome::Bootstrap::Checkbox::VERSION
|
9
|
+
spec.authors = ["Tyler Horan"]
|
10
|
+
spec.email = ["tylerhoran@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = "Awesome bootstrap cehckbox for the rails asset pipeline"
|
13
|
+
spec.description = "Awesome bootstrap cehckbox for the rails asset pipeline"
|
14
|
+
spec.homepage = "http://github.com/tylerhoran/awesome-bootstrap-checkbox"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
20
|
+
spec.bindir = "exe"
|
21
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
|
+
spec.require_paths = ["lib"]
|
23
|
+
|
24
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
25
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
26
|
+
spec.add_dependency "bootstrap-sass"
|
27
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "awesome/bootstrap/checkbox"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,260 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
.abc-checkbox {
|
3
|
+
padding-left: 20px; }
|
4
|
+
.abc-checkbox label {
|
5
|
+
display: inline-block;
|
6
|
+
vertical-align: middle;
|
7
|
+
position: relative;
|
8
|
+
padding-left: 5px; }
|
9
|
+
.abc-checkbox label::before {
|
10
|
+
content: "";
|
11
|
+
display: inline-block;
|
12
|
+
position: absolute;
|
13
|
+
width: 17px;
|
14
|
+
height: 17px;
|
15
|
+
left: 0;
|
16
|
+
margin-left: -20px;
|
17
|
+
border: 1px solid #ccc;
|
18
|
+
border-radius: 3px;
|
19
|
+
background-color: #fff; }
|
20
|
+
.abc-checkbox label::after {
|
21
|
+
display: inline-block;
|
22
|
+
position: absolute;
|
23
|
+
width: 16px;
|
24
|
+
height: 16px;
|
25
|
+
left: 0;
|
26
|
+
top: 0;
|
27
|
+
margin-left: -20px;
|
28
|
+
padding-left: 3px;
|
29
|
+
padding-top: 1px;
|
30
|
+
font-size: 11px;
|
31
|
+
color: #55595c; }
|
32
|
+
.abc-checkbox input[type="checkbox"],
|
33
|
+
.abc-checkbox input[type="radio"] {
|
34
|
+
opacity: 0;
|
35
|
+
z-index: 1; }
|
36
|
+
.abc-checkbox input[type="checkbox"]:focus + label::before,
|
37
|
+
.abc-checkbox input[type="radio"]:focus + label::before {
|
38
|
+
outline: thin dotted;
|
39
|
+
outline: 5px auto -webkit-focus-ring-color;
|
40
|
+
outline-offset: -2px; }
|
41
|
+
.abc-checkbox input[type="checkbox"]:checked + label::after,
|
42
|
+
.abc-checkbox input[type="radio"]:checked + label::after {
|
43
|
+
font-family: "FontAwesome";
|
44
|
+
content: ""; }
|
45
|
+
.abc-checkbox input[type="checkbox"]:indeterminate + label::after,
|
46
|
+
.abc-checkbox input[type="radio"]:indeterminate + label::after {
|
47
|
+
display: block;
|
48
|
+
content: "";
|
49
|
+
width: 10px;
|
50
|
+
height: 3px;
|
51
|
+
background-color: #555555;
|
52
|
+
border-radius: 2px;
|
53
|
+
margin-left: -16.5px;
|
54
|
+
margin-top: 7px; }
|
55
|
+
.abc-checkbox input[type="checkbox"]:disabled + label,
|
56
|
+
.abc-checkbox input[type="radio"]:disabled + label {
|
57
|
+
opacity: 0.65; }
|
58
|
+
.abc-checkbox input[type="checkbox"]:disabled + label::before,
|
59
|
+
.abc-checkbox input[type="radio"]:disabled + label::before {
|
60
|
+
background-color: #eceeef;
|
61
|
+
cursor: not-allowed; }
|
62
|
+
.abc-checkbox.abc-checkbox-circle label::before {
|
63
|
+
border-radius: 50%; }
|
64
|
+
.abc-checkbox.checkbox-inline {
|
65
|
+
margin-top: 0; }
|
66
|
+
|
67
|
+
.abc-checkbox-primary input[type="checkbox"]:checked + label::before,
|
68
|
+
.abc-checkbox-primary input[type="radio"]:checked + label::before {
|
69
|
+
background-color: #0275d8;
|
70
|
+
border-color: #0275d8; }
|
71
|
+
|
72
|
+
.abc-checkbox-primary input[type="checkbox"]:checked + label::after,
|
73
|
+
.abc-checkbox-primary input[type="radio"]:checked + label::after {
|
74
|
+
color: #fff; }
|
75
|
+
|
76
|
+
.abc-checkbox-danger input[type="checkbox"]:checked + label::before,
|
77
|
+
.abc-checkbox-danger input[type="radio"]:checked + label::before {
|
78
|
+
background-color: #d9534f;
|
79
|
+
border-color: #d9534f; }
|
80
|
+
|
81
|
+
.abc-checkbox-danger input[type="checkbox"]:checked + label::after,
|
82
|
+
.abc-checkbox-danger input[type="radio"]:checked + label::after {
|
83
|
+
color: #fff; }
|
84
|
+
|
85
|
+
.abc-checkbox-info input[type="checkbox"]:checked + label::before,
|
86
|
+
.abc-checkbox-info input[type="radio"]:checked + label::before {
|
87
|
+
background-color: #5bc0de;
|
88
|
+
border-color: #5bc0de; }
|
89
|
+
|
90
|
+
.abc-checkbox-info input[type="checkbox"]:checked + label::after,
|
91
|
+
.abc-checkbox-info input[type="radio"]:checked + label::after {
|
92
|
+
color: #fff; }
|
93
|
+
|
94
|
+
.abc-checkbox-warning input[type="checkbox"]:checked + label::before,
|
95
|
+
.abc-checkbox-warning input[type="radio"]:checked + label::before {
|
96
|
+
background-color: #f0ad4e;
|
97
|
+
border-color: #f0ad4e; }
|
98
|
+
|
99
|
+
.abc-checkbox-warning input[type="checkbox"]:checked + label::after,
|
100
|
+
.abc-checkbox-warning input[type="radio"]:checked + label::after {
|
101
|
+
color: #fff; }
|
102
|
+
|
103
|
+
.abc-checkbox-success input[type="checkbox"]:checked + label::before,
|
104
|
+
.abc-checkbox-success input[type="radio"]:checked + label::before {
|
105
|
+
background-color: #5cb85c;
|
106
|
+
border-color: #5cb85c; }
|
107
|
+
|
108
|
+
.abc-checkbox-success input[type="checkbox"]:checked + label::after,
|
109
|
+
.abc-checkbox-success input[type="radio"]:checked + label::after {
|
110
|
+
color: #fff; }
|
111
|
+
|
112
|
+
.abc-checkbox-primary input[type="checkbox"]:indeterminate + label::before,
|
113
|
+
.abc-checkbox-primary input[type="radio"]:indeterminate + label::before {
|
114
|
+
background-color: #0275d8;
|
115
|
+
border-color: #0275d8; }
|
116
|
+
|
117
|
+
.abc-checkbox-primary input[type="checkbox"]:indeterminate + label::after,
|
118
|
+
.abc-checkbox-primary input[type="radio"]:indeterminate + label::after {
|
119
|
+
background-color: #fff; }
|
120
|
+
|
121
|
+
.abc-checkbox-danger input[type="checkbox"]:indeterminate + label::before,
|
122
|
+
.abc-checkbox-danger input[type="radio"]:indeterminate + label::before {
|
123
|
+
background-color: #d9534f;
|
124
|
+
border-color: #d9534f; }
|
125
|
+
|
126
|
+
.abc-checkbox-danger input[type="checkbox"]:indeterminate + label::after,
|
127
|
+
.abc-checkbox-danger input[type="radio"]:indeterminate + label::after {
|
128
|
+
background-color: #fff; }
|
129
|
+
|
130
|
+
.abc-checkbox-info input[type="checkbox"]:indeterminate + label::before,
|
131
|
+
.abc-checkbox-info input[type="radio"]:indeterminate + label::before {
|
132
|
+
background-color: #5bc0de;
|
133
|
+
border-color: #5bc0de; }
|
134
|
+
|
135
|
+
.abc-checkbox-info input[type="checkbox"]:indeterminate + label::after,
|
136
|
+
.abc-checkbox-info input[type="radio"]:indeterminate + label::after {
|
137
|
+
background-color: #fff; }
|
138
|
+
|
139
|
+
.abc-checkbox-warning input[type="checkbox"]:indeterminate + label::before,
|
140
|
+
.abc-checkbox-warning input[type="radio"]:indeterminate + label::before {
|
141
|
+
background-color: #f0ad4e;
|
142
|
+
border-color: #f0ad4e; }
|
143
|
+
|
144
|
+
.abc-checkbox-warning input[type="checkbox"]:indeterminate + label::after,
|
145
|
+
.abc-checkbox-warning input[type="radio"]:indeterminate + label::after {
|
146
|
+
background-color: #fff; }
|
147
|
+
|
148
|
+
.abc-checkbox-success input[type="checkbox"]:indeterminate + label::before,
|
149
|
+
.abc-checkbox-success input[type="radio"]:indeterminate + label::before {
|
150
|
+
background-color: #5cb85c;
|
151
|
+
border-color: #5cb85c; }
|
152
|
+
|
153
|
+
.abc-checkbox-success input[type="checkbox"]:indeterminate + label::after,
|
154
|
+
.abc-checkbox-success input[type="radio"]:indeterminate + label::after {
|
155
|
+
background-color: #fff; }
|
156
|
+
|
157
|
+
.abc-radio {
|
158
|
+
padding-left: 20px; }
|
159
|
+
.abc-radio label {
|
160
|
+
display: inline-block;
|
161
|
+
vertical-align: middle;
|
162
|
+
position: relative;
|
163
|
+
padding-left: 5px; }
|
164
|
+
.abc-radio label::before {
|
165
|
+
content: "";
|
166
|
+
display: inline-block;
|
167
|
+
position: absolute;
|
168
|
+
width: 17px;
|
169
|
+
height: 17px;
|
170
|
+
left: 0;
|
171
|
+
margin-left: -20px;
|
172
|
+
border: 1px solid #ccc;
|
173
|
+
border-radius: 50%;
|
174
|
+
background-color: #fff; }
|
175
|
+
.abc-radio label::after {
|
176
|
+
display: inline-block;
|
177
|
+
position: absolute;
|
178
|
+
content: " ";
|
179
|
+
width: 11px;
|
180
|
+
height: 11px;
|
181
|
+
left: 3px;
|
182
|
+
top: 3px;
|
183
|
+
margin-left: -20px;
|
184
|
+
border-radius: 50%;
|
185
|
+
background-color: #55595c;
|
186
|
+
transform: scale(0, 0);
|
187
|
+
transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); }
|
188
|
+
.abc-radio input[type="radio"] {
|
189
|
+
opacity: 0;
|
190
|
+
z-index: 1; }
|
191
|
+
.abc-radio input[type="radio"]:focus + label::before {
|
192
|
+
outline: thin dotted;
|
193
|
+
outline: 5px auto -webkit-focus-ring-color;
|
194
|
+
outline-offset: -2px; }
|
195
|
+
.abc-radio input[type="radio"]:checked + label::after {
|
196
|
+
transform: scale(1, 1); }
|
197
|
+
.abc-radio input[type="radio"]:disabled + label {
|
198
|
+
opacity: 0.65; }
|
199
|
+
.abc-radio input[type="radio"]:disabled + label::before {
|
200
|
+
cursor: not-allowed; }
|
201
|
+
.abc-radio.radio-inline {
|
202
|
+
margin-top: 0; }
|
203
|
+
|
204
|
+
.abc-radio-primary input[type="radio"] + label::after {
|
205
|
+
background-color: #0275d8; }
|
206
|
+
|
207
|
+
.abc-radio-primary input[type="radio"]:checked + label::before {
|
208
|
+
border-color: #0275d8; }
|
209
|
+
|
210
|
+
.abc-radio-primary input[type="radio"]:checked + label::after {
|
211
|
+
background-color: #0275d8; }
|
212
|
+
|
213
|
+
.abc-radio-danger input[type="radio"] + label::after {
|
214
|
+
background-color: #d9534f; }
|
215
|
+
|
216
|
+
.abc-radio-danger input[type="radio"]:checked + label::before {
|
217
|
+
border-color: #d9534f; }
|
218
|
+
|
219
|
+
.abc-radio-danger input[type="radio"]:checked + label::after {
|
220
|
+
background-color: #d9534f; }
|
221
|
+
|
222
|
+
.abc-radio-info input[type="radio"] + label::after {
|
223
|
+
background-color: #5bc0de; }
|
224
|
+
|
225
|
+
.abc-radio-info input[type="radio"]:checked + label::before {
|
226
|
+
border-color: #5bc0de; }
|
227
|
+
|
228
|
+
.abc-radio-info input[type="radio"]:checked + label::after {
|
229
|
+
background-color: #5bc0de; }
|
230
|
+
|
231
|
+
.abc-radio-warning input[type="radio"] + label::after {
|
232
|
+
background-color: #f0ad4e; }
|
233
|
+
|
234
|
+
.abc-radio-warning input[type="radio"]:checked + label::before {
|
235
|
+
border-color: #f0ad4e; }
|
236
|
+
|
237
|
+
.abc-radio-warning input[type="radio"]:checked + label::after {
|
238
|
+
background-color: #f0ad4e; }
|
239
|
+
|
240
|
+
.abc-radio-success input[type="radio"] + label::after {
|
241
|
+
background-color: #5cb85c; }
|
242
|
+
|
243
|
+
.abc-radio-success input[type="radio"]:checked + label::before {
|
244
|
+
border-color: #5cb85c; }
|
245
|
+
|
246
|
+
.abc-radio-success input[type="radio"]:checked + label::after {
|
247
|
+
background-color: #5cb85c; }
|
248
|
+
|
249
|
+
input[type="checkbox"].styled:checked + label:after,
|
250
|
+
input[type="radio"].styled:checked + label:after {
|
251
|
+
font-family: "FontAwesome";
|
252
|
+
content: ""; }
|
253
|
+
|
254
|
+
input[type="checkbox"] .styled:checked + label::before,
|
255
|
+
input[type="radio"] .styled:checked + label::before {
|
256
|
+
color: #fff; }
|
257
|
+
|
258
|
+
input[type="checkbox"] .styled:checked + label::after,
|
259
|
+
input[type="radio"] .styled:checked + label::after {
|
260
|
+
color: #fff; }
|
metadata
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: awesome-bootstrap-checkbox
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tyler Horan
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-05-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.12'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.12'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bootstrap-sass
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: Awesome bootstrap cehckbox for the rails asset pipeline
|
56
|
+
email:
|
57
|
+
- tylerhoran@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- CODE_OF_CONDUCT.md
|
64
|
+
- Gemfile
|
65
|
+
- LICENSE.txt
|
66
|
+
- README.md
|
67
|
+
- Rakefile
|
68
|
+
- awesome-bootstrap-checkbox.gemspec
|
69
|
+
- bin/console
|
70
|
+
- bin/setup
|
71
|
+
- lib/awesome/bootstrap/checkbox.rb
|
72
|
+
- lib/awesome/bootstrap/checkbox/version.rb
|
73
|
+
- vendor/assets/stylesheets/awesome-bootstrap-checkbox.css
|
74
|
+
homepage: http://github.com/tylerhoran/awesome-bootstrap-checkbox
|
75
|
+
licenses:
|
76
|
+
- MIT
|
77
|
+
metadata: {}
|
78
|
+
post_install_message:
|
79
|
+
rdoc_options: []
|
80
|
+
require_paths:
|
81
|
+
- lib
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
requirements: []
|
93
|
+
rubyforge_project:
|
94
|
+
rubygems_version: 2.6.4
|
95
|
+
signing_key:
|
96
|
+
specification_version: 4
|
97
|
+
summary: Awesome bootstrap cehckbox for the rails asset pipeline
|
98
|
+
test_files: []
|