kickstart_rails 3.0.52 → 3.0.53
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 +4 -4
- data/app/assets/stylesheets/core/_base.sass +2 -2
- data/app/assets/stylesheets/themes/default/theme.sass +0 -6
- data/app/assets/stylesheets/vendor/_index.sass +0 -4
- data/lib/kickstart_rails/version.rb +1 -1
- metadata +2 -8
- data/app/assets/stylesheets/vendor/switch/README.md +0 -34
- data/app/assets/stylesheets/vendor/switch/example.sass +0 -14
- data/app/assets/stylesheets/vendor/switch/gulpfile.js +0 -16
- data/app/assets/stylesheets/vendor/switch/index.html +0 -18
- data/app/assets/stylesheets/vendor/switch/package.json +0 -24
- data/app/assets/stylesheets/vendor/switch/switch.sass +0 -53
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b36565f1c202fd0c2e2e14608f3a97cc76aa2139
|
4
|
+
data.tar.gz: a9f2711c3ef16ada2202426b497d4f9545ab3671
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd18c1bf6d84f8a1a7e7ba59895e1f2297698991754e72929a48f9d263c742aa34efc316dd0cef91228ea26df63e7c468e648d219c2cf03d25f4ed45eb359a0c
|
7
|
+
data.tar.gz: f8968f0829beef5d06982100a6edf59bbdbe5bd78a6f42ae2ff88626e9cded09241bf474204abb78a88fc677382c0ccfd3a9f1ca35bdbb61f3354fb96314a212
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kickstart_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.53
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Kochanowicz
|
@@ -123,12 +123,6 @@ files:
|
|
123
123
|
- app/assets/stylesheets/kickstart_rails.scss
|
124
124
|
- app/assets/stylesheets/themes/default/theme.sass
|
125
125
|
- app/assets/stylesheets/vendor/_index.sass
|
126
|
-
- app/assets/stylesheets/vendor/switch/README.md
|
127
|
-
- app/assets/stylesheets/vendor/switch/example.sass
|
128
|
-
- app/assets/stylesheets/vendor/switch/gulpfile.js
|
129
|
-
- app/assets/stylesheets/vendor/switch/index.html
|
130
|
-
- app/assets/stylesheets/vendor/switch/package.json
|
131
|
-
- app/assets/stylesheets/vendor/switch/switch.sass
|
132
126
|
- lib/kickstart_rails.rb
|
133
127
|
- lib/kickstart_rails/version.rb
|
134
128
|
homepage: http://getkickstart.com
|
@@ -151,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
145
|
version: '0'
|
152
146
|
requirements: []
|
153
147
|
rubyforge_project:
|
154
|
-
rubygems_version: 2.
|
148
|
+
rubygems_version: 2.4.1
|
155
149
|
signing_key:
|
156
150
|
specification_version: 4
|
157
151
|
summary: The front-end framework for clean HTML and fast websites.
|
@@ -1,34 +0,0 @@
|
|
1
|
-
# Kickstart Switches
|
2
|
-
|
3
|
-
## Install in your project
|
4
|
-
|
5
|
-
### Gulp/Node.js
|
6
|
-
|
7
|
-
Let's install this as a git submodule.
|
8
|
-
|
9
|
-
In your project, `cd` to `lib/sass/vendor`
|
10
|
-
|
11
|
-
git submodule add git://github.com/ajkochanowicz/switch.git
|
12
|
-
|
13
|
-
As a submodule, this won't grow in your repository but it will allow you to
|
14
|
-
keep it up to date. [Read more about submodules](http://git-scm.com/book/en/Git-Tools-Submodules)
|
15
|
-
In `lib/sass/vendor/_index.sass`, add
|
16
|
-
|
17
|
-
@import switch/switch
|
18
|
-
|
19
|
-
In the very bottom of your theme file, instantiate the `switch()` mixin
|
20
|
-
|
21
|
-
=switch($color: $primary-color)
|
22
|
-
+switch-default($color)
|
23
|
-
|
24
|
-
To add a switch, use the following markup
|
25
|
-
|
26
|
-
<p>
|
27
|
-
<div class="switch">
|
28
|
-
<input id="switch-2" type="checkbox" />
|
29
|
-
<label for="switch-2"></label>
|
30
|
-
</div>
|
31
|
-
<span>Let me know about future updates!</span>
|
32
|
-
</p>
|
33
|
-
|
34
|
-
Note, the `switch-2` id is optional. Use whatever id you like.
|
@@ -1,14 +0,0 @@
|
|
1
|
-
@import switch
|
2
|
-
|
3
|
-
// These variables will be available inside of Kickstart,
|
4
|
-
// but putting them here so the example works without it.
|
5
|
-
|
6
|
-
$primary-color: blue
|
7
|
-
$colors: (green: #8ce196)
|
8
|
-
$white: (darker: #DDD)
|
9
|
-
|
10
|
-
=switch
|
11
|
-
+switch-default
|
12
|
-
|
13
|
-
.switch
|
14
|
-
+switch
|
@@ -1,16 +0,0 @@
|
|
1
|
-
var gulp = require('gulp'),
|
2
|
-
sass = require('gulp-ruby-sass'),
|
3
|
-
connect = require('gulp-connect');
|
4
|
-
|
5
|
-
gulp.task('default', ['connect'], function() {
|
6
|
-
gulp.src(['example.sass'])
|
7
|
-
.pipe(sass())
|
8
|
-
.pipe(gulp.dest('./'))
|
9
|
-
});
|
10
|
-
|
11
|
-
gulp.task('connect', function() {
|
12
|
-
connect.server({
|
13
|
-
root: './',
|
14
|
-
livereload: true
|
15
|
-
})
|
16
|
-
})
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<link rel="stylesheet" href="http://cdn.getkickstart.com/css/kickstart.min.css" />
|
5
|
-
<link rel="stylesheet" href="example.css" />
|
6
|
-
</head>
|
7
|
-
<body>
|
8
|
-
<h1>Example</h1>
|
9
|
-
|
10
|
-
<p>
|
11
|
-
<div class="switch">
|
12
|
-
<input id="switch-2" type="checkbox" />
|
13
|
-
<label for="switch-2"></label>
|
14
|
-
</div>
|
15
|
-
<span>Let me know about future updates!</span>
|
16
|
-
</p>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,24 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "Kickstart-Switch",
|
3
|
-
"version": "1.0.0",
|
4
|
-
"description": "",
|
5
|
-
"main": "gulpfile.js",
|
6
|
-
"scripts": {
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
8
|
-
},
|
9
|
-
"repository": {
|
10
|
-
"type": "git",
|
11
|
-
"url": "https://github.com/ajkochanowicz/Kickstart-Switch.git"
|
12
|
-
},
|
13
|
-
"author": "",
|
14
|
-
"license": "ISC",
|
15
|
-
"bugs": {
|
16
|
-
"url": "https://github.com/ajkochanowicz/Kickstart-Switch/issues"
|
17
|
-
},
|
18
|
-
"homepage": "https://github.com/ajkochanowicz/Kickstart-Switch",
|
19
|
-
"devDependencies": {
|
20
|
-
"gulp": "^3.8.8",
|
21
|
-
"gulp-connect": "^2.0.6",
|
22
|
-
"gulp-ruby-sass": "^0.7.1"
|
23
|
-
}
|
24
|
-
}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
=switch-default($color: $primary-color)
|
2
|
-
display: inline-block
|
3
|
-
vertical-align: middle
|
4
|
-
|
5
|
-
input[type="checkbox"]
|
6
|
-
position: absolute
|
7
|
-
margin-left: -9999px
|
8
|
-
visibility: hidden
|
9
|
-
|
10
|
-
+ label
|
11
|
-
display: block
|
12
|
-
position: relative
|
13
|
-
cursor: pointer
|
14
|
-
user-select: none
|
15
|
-
padding: 2px
|
16
|
-
width: 40px
|
17
|
-
height: 20px
|
18
|
-
background: map-get($white, darker)
|
19
|
-
border-radius: 60px
|
20
|
-
transition: background 0.4s
|
21
|
-
|
22
|
-
&:before, &:after
|
23
|
-
display: block
|
24
|
-
position: absolute
|
25
|
-
content: " "
|
26
|
-
|
27
|
-
&:before
|
28
|
-
top: 2px
|
29
|
-
left: 2px
|
30
|
-
bottom: 2px
|
31
|
-
right: 2px
|
32
|
-
background-color: white
|
33
|
-
border-radius: 60px
|
34
|
-
transition: background 0.4s
|
35
|
-
|
36
|
-
&:after
|
37
|
-
top: 4px
|
38
|
-
left: 4px
|
39
|
-
bottom: 4px
|
40
|
-
width: 12px
|
41
|
-
background-color: map-get($white, darker)
|
42
|
-
border-radius: 52px
|
43
|
-
transition: margin 0.4s, background 0.4s
|
44
|
-
|
45
|
-
&:checked + label
|
46
|
-
background-color: map-get($colors, green)
|
47
|
-
|
48
|
-
&:after
|
49
|
-
margin-left: 20px
|
50
|
-
background-color: map-get($colors, green)
|
51
|
-
|
52
|
-
|
53
|
-
|