gridster-rails 0.1.0
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.
- data/LICENSE +44 -0
- data/README.md +90 -0
- data/lib/gridster-rails.rb +8 -0
- data/lib/gridster-rails/version.rb +5 -0
- data/vendor/assets/javascripts/jquery.gridster.js +3232 -0
- data/vendor/assets/stylesheets/jquery.gridster.css +64 -0
- metadata +68 -0
@@ -0,0 +1,64 @@
|
|
1
|
+
/*! gridster.js - v0.1.0 - 2012-10-20
|
2
|
+
* http://gridster.net/
|
3
|
+
* Copyright (c) 2012 ducksboard; Licensed MIT */
|
4
|
+
|
5
|
+
.gridster {
|
6
|
+
position:relative;
|
7
|
+
}
|
8
|
+
|
9
|
+
.gridster > * {
|
10
|
+
margin: 0 auto;
|
11
|
+
-webkit-transition: height .4s;
|
12
|
+
-moz-transition: height .4s;
|
13
|
+
-o-transition: height .4s;
|
14
|
+
-ms-transition: height .4s;
|
15
|
+
transition: height .4s;
|
16
|
+
}
|
17
|
+
|
18
|
+
.gridster .gs_w{
|
19
|
+
z-index: 2;
|
20
|
+
position: absolute;
|
21
|
+
}
|
22
|
+
|
23
|
+
.ready .gs_w:not(.preview-holder) {
|
24
|
+
-webkit-transition: opacity .3s, left .3s, top .3s;
|
25
|
+
-moz-transition: opacity .3s, left .3s, top .3s;
|
26
|
+
-o-transition: opacity .3s, left .3s, top .3s;
|
27
|
+
transition: opacity .3s, left .3s, top .3s;
|
28
|
+
}
|
29
|
+
|
30
|
+
.ready .gs_w:not(.preview-holder) {
|
31
|
+
-webkit-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
32
|
+
-moz-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
33
|
+
-o-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
34
|
+
transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
35
|
+
}
|
36
|
+
|
37
|
+
.gridster .preview-holder {
|
38
|
+
z-index: 1;
|
39
|
+
position: absolute;
|
40
|
+
background-color: #fff;
|
41
|
+
border-color: #fff;
|
42
|
+
opacity: 0.3;
|
43
|
+
}
|
44
|
+
|
45
|
+
.gridster .player-revert {
|
46
|
+
z-index: 10!important;
|
47
|
+
-webkit-transition: left .3s, top .3s!important;
|
48
|
+
-moz-transition: left .3s, top .3s!important;
|
49
|
+
-o-transition: left .3s, top .3s!important;
|
50
|
+
transition: left .3s, top .3s!important;
|
51
|
+
}
|
52
|
+
|
53
|
+
.gridster .dragging {
|
54
|
+
z-index: 10!important;
|
55
|
+
-webkit-transition: all 0s !important;
|
56
|
+
-moz-transition: all 0s !important;
|
57
|
+
-o-transition: all 0s !important;
|
58
|
+
transition: all 0s !important;
|
59
|
+
}
|
60
|
+
|
61
|
+
/* Uncomment this if you set helper : "clone" in draggable options */
|
62
|
+
/*.gridster .player {
|
63
|
+
opacity:0;
|
64
|
+
}*/
|
metadata
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: gridster-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- William Van Etten
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-01-17 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: railties
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.1'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.1'
|
30
|
+
description: This gem provides jquery.gridster.js and jquery.gridster.css for your
|
31
|
+
Rails 3 application.
|
32
|
+
email:
|
33
|
+
- bill@bioteam.net
|
34
|
+
executables: []
|
35
|
+
extensions: []
|
36
|
+
extra_rdoc_files: []
|
37
|
+
files:
|
38
|
+
- lib/gridster-rails/version.rb
|
39
|
+
- lib/gridster-rails.rb
|
40
|
+
- vendor/assets/javascripts/jquery.gridster.js
|
41
|
+
- vendor/assets/stylesheets/jquery.gridster.css
|
42
|
+
- LICENSE
|
43
|
+
- README.md
|
44
|
+
homepage: http://rubygems.org/gems/gridster-rails
|
45
|
+
licenses: []
|
46
|
+
post_install_message:
|
47
|
+
rdoc_options: []
|
48
|
+
require_paths:
|
49
|
+
- lib
|
50
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
requirements: []
|
63
|
+
rubyforge_project:
|
64
|
+
rubygems_version: 1.8.24
|
65
|
+
signing_key:
|
66
|
+
specification_version: 3
|
67
|
+
summary: Use gridster with Rails 3
|
68
|
+
test_files: []
|