powertip-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,88 @@
1
+ /* PowerTip Plugin */
2
+ #powerTip {
3
+ cursor: default;
4
+ background-color: #f2f2f2;
5
+ -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #dcdcdc inset;
6
+ -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #dcdcdc inset;
7
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #dcdcdc inset;
8
+ border: 1px solid #acacac;
9
+ border-radius: 6px;
10
+ color: #000000;
11
+ display: none;
12
+ padding: 10px;
13
+ position: absolute;
14
+ white-space: nowrap;
15
+ z-index: 2147483647;
16
+ }
17
+ #powerTip:before {
18
+ content: "";
19
+ position: absolute;
20
+ }
21
+ #powerTip.n:before, #powerTip.s:before {
22
+ border-right: 5px solid transparent;
23
+ border-left: 5px solid transparent;
24
+ left: 50%;
25
+ margin-left: -5px;
26
+ }
27
+ #powerTip.e:before, #powerTip.w:before {
28
+ border-bottom: 5px solid transparent;
29
+ border-top: 5px solid transparent;
30
+ margin-top: -5px;
31
+ top: 50%;
32
+ }
33
+ #powerTip.n:before {
34
+ border-top: 10px solid rgba(172, 172, 172, 0.8);
35
+ bottom: -10px;
36
+ }
37
+ #powerTip.e:before {
38
+ border-right: 10px solid rgba(172, 172, 172, 0.8);
39
+ left: -10px;
40
+ }
41
+ #powerTip.s:before {
42
+ border-bottom: 10px solid rgba(172, 172, 172, 0.8);
43
+ top: -10px;
44
+ }
45
+ #powerTip.w:before {
46
+ border-left: 10px solid rgba(172, 172, 172, 0.8);
47
+ right: -10px;
48
+ }
49
+ #powerTip.ne:before, #powerTip.se:before {
50
+ border-right: 10px solid transparent;
51
+ border-left: 0;
52
+ left: 10px;
53
+ }
54
+ #powerTip.nw:before, #powerTip.sw:before {
55
+ border-left: 10px solid transparent;
56
+ border-right: 0;
57
+ right: 10px;
58
+ }
59
+ #powerTip.ne:before, #powerTip.nw:before {
60
+ border-top: 10px solid rgba(172, 172, 172, 0.8);
61
+ bottom: -10px;
62
+ }
63
+ #powerTip.se:before, #powerTip.sw:before {
64
+ border-bottom: 10px solid rgba(172, 172, 172, 0.8);
65
+ top: -10px;
66
+ }
67
+ #powerTip.nw-alt:before, #powerTip.ne-alt:before,
68
+ #powerTip.sw-alt:before, #powerTip.se-alt:before {
69
+ border-top: 10px solid rgba(172, 172, 172, 0.8);
70
+ bottom: -10px;
71
+ border-left: 5px solid transparent;
72
+ border-right: 5px solid transparent;
73
+ left: 10px;
74
+ }
75
+ #powerTip.ne-alt:before {
76
+ left: auto;
77
+ right: 10px;
78
+ }
79
+ #powerTip.sw-alt:before, #powerTip.se-alt:before {
80
+ border-top: none;
81
+ border-bottom: 10px solid rgba(172, 172, 172, 0.8);
82
+ bottom: auto;
83
+ top: -10px;
84
+ }
85
+ #powerTip.se-alt:before {
86
+ left: auto;
87
+ right: 10px;
88
+ }
@@ -0,0 +1,88 @@
1
+ /* PowerTip Plugin */
2
+ #powerTip {
3
+ cursor: default;
4
+ background-color: #ffcdaf;
5
+ -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #fab482 inset;
6
+ -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #fab482 inset;
7
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #fab482 inset;
8
+ border: 1px solid #f5a550;
9
+ border-radius: 6px;
10
+ color: #000000;
11
+ display: none;
12
+ padding: 10px;
13
+ position: absolute;
14
+ white-space: nowrap;
15
+ z-index: 2147483647;
16
+ }
17
+ #powerTip:before {
18
+ content: "";
19
+ position: absolute;
20
+ }
21
+ #powerTip.n:before, #powerTip.s:before {
22
+ border-right: 5px solid transparent;
23
+ border-left: 5px solid transparent;
24
+ left: 50%;
25
+ margin-left: -5px;
26
+ }
27
+ #powerTip.e:before, #powerTip.w:before {
28
+ border-bottom: 5px solid transparent;
29
+ border-top: 5px solid transparent;
30
+ margin-top: -5px;
31
+ top: 50%;
32
+ }
33
+ #powerTip.n:before {
34
+ border-top: 10px solid rgba(245, 165, 80, 0.8);
35
+ bottom: -10px;
36
+ }
37
+ #powerTip.e:before {
38
+ border-right: 10px solid rgba(245, 165, 80, 0.8);
39
+ left: -10px;
40
+ }
41
+ #powerTip.s:before {
42
+ border-bottom: 10px solid rgba(245, 165, 80, 0.8);
43
+ top: -10px;
44
+ }
45
+ #powerTip.w:before {
46
+ border-left: 10px solid rgba(245, 165, 80, 0.8);
47
+ right: -10px;
48
+ }
49
+ #powerTip.ne:before, #powerTip.se:before {
50
+ border-right: 10px solid transparent;
51
+ border-left: 0;
52
+ left: 10px;
53
+ }
54
+ #powerTip.nw:before, #powerTip.sw:before {
55
+ border-left: 10px solid transparent;
56
+ border-right: 0;
57
+ right: 10px;
58
+ }
59
+ #powerTip.ne:before, #powerTip.nw:before {
60
+ border-top: 10px solid rgba(245, 165, 80, 0.8);
61
+ bottom: -10px;
62
+ }
63
+ #powerTip.se:before, #powerTip.sw:before {
64
+ border-bottom: 10px solid rgba(245, 165, 80, 0.8);
65
+ top: -10px;
66
+ }
67
+ #powerTip.nw-alt:before, #powerTip.ne-alt:before,
68
+ #powerTip.sw-alt:before, #powerTip.se-alt:before {
69
+ border-top: 10px solid rgba(245, 165, 80, 0.8);
70
+ bottom: -10px;
71
+ border-left: 5px solid transparent;
72
+ border-right: 5px solid transparent;
73
+ left: 10px;
74
+ }
75
+ #powerTip.ne-alt:before {
76
+ left: auto;
77
+ right: 10px;
78
+ }
79
+ #powerTip.sw-alt:before, #powerTip.se-alt:before {
80
+ border-top: none;
81
+ border-bottom: 10px solid rgba(245, 165, 80, 0.8);
82
+ bottom: auto;
83
+ top: -10px;
84
+ }
85
+ #powerTip.se-alt:before {
86
+ left: auto;
87
+ right: 10px;
88
+ }
@@ -0,0 +1,88 @@
1
+ /* PowerTip Plugin */
2
+ #powerTip {
3
+ cursor: default;
4
+ background-color: #ebd2fa;
5
+ -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #d796ff inset;
6
+ -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #d796ff inset;
7
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #d796ff inset;
8
+ border: 1px solid #914bd2;
9
+ border-radius: 6px;
10
+ color: #000000;
11
+ display: none;
12
+ padding: 10px;
13
+ position: absolute;
14
+ white-space: nowrap;
15
+ z-index: 2147483647;
16
+ }
17
+ #powerTip:before {
18
+ content: "";
19
+ position: absolute;
20
+ }
21
+ #powerTip.n:before, #powerTip.s:before {
22
+ border-right: 5px solid transparent;
23
+ border-left: 5px solid transparent;
24
+ left: 50%;
25
+ margin-left: -5px;
26
+ }
27
+ #powerTip.e:before, #powerTip.w:before {
28
+ border-bottom: 5px solid transparent;
29
+ border-top: 5px solid transparent;
30
+ margin-top: -5px;
31
+ top: 50%;
32
+ }
33
+ #powerTip.n:before {
34
+ border-top: 10px solid rgba(145, 75, 210, 0.8);
35
+ bottom: -10px;
36
+ }
37
+ #powerTip.e:before {
38
+ border-right: 10px solid rgba(145, 75, 210, 0.8);
39
+ left: -10px;
40
+ }
41
+ #powerTip.s:before {
42
+ border-bottom: 10px solid rgba(145, 75, 210, 0.8);
43
+ top: -10px;
44
+ }
45
+ #powerTip.w:before {
46
+ border-left: 10px solid rgba(145, 75, 210, 0.8);
47
+ right: -10px;
48
+ }
49
+ #powerTip.ne:before, #powerTip.se:before {
50
+ border-right: 10px solid transparent;
51
+ border-left: 0;
52
+ left: 10px;
53
+ }
54
+ #powerTip.nw:before, #powerTip.sw:before {
55
+ border-left: 10px solid transparent;
56
+ border-right: 0;
57
+ right: 10px;
58
+ }
59
+ #powerTip.ne:before, #powerTip.nw:before {
60
+ border-top: 10px solid rgba(145, 75, 210, 0.8);
61
+ bottom: -10px;
62
+ }
63
+ #powerTip.se:before, #powerTip.sw:before {
64
+ border-bottom: 10px solid rgba(145, 75, 210, 0.8);
65
+ top: -10px;
66
+ }
67
+ #powerTip.nw-alt:before, #powerTip.ne-alt:before,
68
+ #powerTip.sw-alt:before, #powerTip.se-alt:before {
69
+ border-top: 10px solid rgba(145, 75, 210, 0.8);
70
+ bottom: -10px;
71
+ border-left: 5px solid transparent;
72
+ border-right: 5px solid transparent;
73
+ left: 10px;
74
+ }
75
+ #powerTip.ne-alt:before {
76
+ left: auto;
77
+ right: 10px;
78
+ }
79
+ #powerTip.sw-alt:before, #powerTip.se-alt:before {
80
+ border-top: none;
81
+ border-bottom: 10px solid rgba(145, 75, 210, 0.8);
82
+ bottom: auto;
83
+ top: -10px;
84
+ }
85
+ #powerTip.se-alt:before {
86
+ left: auto;
87
+ right: 10px;
88
+ }
@@ -0,0 +1,88 @@
1
+ /* PowerTip Plugin */
2
+ #powerTip {
3
+ cursor: default;
4
+ background-color: #ffc8c3;
5
+ -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #f5aa9b inset;
6
+ -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #f5aa9b inset;
7
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #f5aa9b inset;
8
+ border: 1px solid #eb5037;
9
+ border-radius: 6px;
10
+ color: #000000;
11
+ display: none;
12
+ padding: 10px;
13
+ position: absolute;
14
+ white-space: nowrap;
15
+ z-index: 2147483647;
16
+ }
17
+ #powerTip:before {
18
+ content: "";
19
+ position: absolute;
20
+ }
21
+ #powerTip.n:before, #powerTip.s:before {
22
+ border-right: 5px solid transparent;
23
+ border-left: 5px solid transparent;
24
+ left: 50%;
25
+ margin-left: -5px;
26
+ }
27
+ #powerTip.e:before, #powerTip.w:before {
28
+ border-bottom: 5px solid transparent;
29
+ border-top: 5px solid transparent;
30
+ margin-top: -5px;
31
+ top: 50%;
32
+ }
33
+ #powerTip.n:before {
34
+ border-top: 10px solid rgba(235, 80, 55, 0.8);
35
+ bottom: -10px;
36
+ }
37
+ #powerTip.e:before {
38
+ border-right: 10px solid rgba(235, 80, 55, 0.8);
39
+ left: -10px;
40
+ }
41
+ #powerTip.s:before {
42
+ border-bottom: 10px solid rgba(235, 80, 55, 0.8);
43
+ top: -10px;
44
+ }
45
+ #powerTip.w:before {
46
+ border-left: 10px solid rgba(235, 80, 55, 0.8);
47
+ right: -10px;
48
+ }
49
+ #powerTip.ne:before, #powerTip.se:before {
50
+ border-right: 10px solid transparent;
51
+ border-left: 0;
52
+ left: 10px;
53
+ }
54
+ #powerTip.nw:before, #powerTip.sw:before {
55
+ border-left: 10px solid transparent;
56
+ border-right: 0;
57
+ right: 10px;
58
+ }
59
+ #powerTip.ne:before, #powerTip.nw:before {
60
+ border-top: 10px solid rgba(235, 80, 55, 0.8);
61
+ bottom: -10px;
62
+ }
63
+ #powerTip.se:before, #powerTip.sw:before {
64
+ border-bottom: 10px solid rgba(235, 80, 55, 0.8);
65
+ top: -10px;
66
+ }
67
+ #powerTip.nw-alt:before, #powerTip.ne-alt:before,
68
+ #powerTip.sw-alt:before, #powerTip.se-alt:before {
69
+ border-top: 10px solid rgba(235, 80, 55, 0.8);
70
+ bottom: -10px;
71
+ border-left: 5px solid transparent;
72
+ border-right: 5px solid transparent;
73
+ left: 10px;
74
+ }
75
+ #powerTip.ne-alt:before {
76
+ left: auto;
77
+ right: 10px;
78
+ }
79
+ #powerTip.sw-alt:before, #powerTip.se-alt:before {
80
+ border-top: none;
81
+ border-bottom: 10px solid rgba(235, 80, 55, 0.8);
82
+ bottom: auto;
83
+ top: -10px;
84
+ }
85
+ #powerTip.se-alt:before {
86
+ left: auto;
87
+ right: 10px;
88
+ }
@@ -0,0 +1,88 @@
1
+ /* PowerTip Plugin */
2
+ #powerTip {
3
+ cursor: default;
4
+ background-color: #ffffb4;
5
+ -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.8) inset, 0 -2px 2px #fafa6e inset;
6
+ -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.8) inset, 0 -2px 2px #fafa6e inset;
7
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.8) inset, 0 -2px 2px #fafa6e inset;
8
+ border: 1px solid #fafa50;
9
+ border-radius: 6px;
10
+ color: #000000;
11
+ display: none;
12
+ padding: 10px;
13
+ position: absolute;
14
+ white-space: nowrap;
15
+ z-index: 2147483647;
16
+ }
17
+ #powerTip:before {
18
+ content: "";
19
+ position: absolute;
20
+ }
21
+ #powerTip.n:before, #powerTip.s:before {
22
+ border-right: 5px solid transparent;
23
+ border-left: 5px solid transparent;
24
+ left: 50%;
25
+ margin-left: -5px;
26
+ }
27
+ #powerTip.e:before, #powerTip.w:before {
28
+ border-bottom: 5px solid transparent;
29
+ border-top: 5px solid transparent;
30
+ margin-top: -5px;
31
+ top: 50%;
32
+ }
33
+ #powerTip.n:before {
34
+ border-top: 10px solid rgba(250, 250, 80, 0.8);
35
+ bottom: -10px;
36
+ }
37
+ #powerTip.e:before {
38
+ border-right: 10px solid rgba(250, 250, 80, 0.8);
39
+ left: -10px;
40
+ }
41
+ #powerTip.s:before {
42
+ border-bottom: 10px solid rgba(250, 250, 80, 0.8);
43
+ top: -10px;
44
+ }
45
+ #powerTip.w:before {
46
+ border-left: 10px solid rgba(250, 250, 80, 0.8);
47
+ right: -10px;
48
+ }
49
+ #powerTip.ne:before, #powerTip.se:before {
50
+ border-right: 10px solid transparent;
51
+ border-left: 0;
52
+ left: 10px;
53
+ }
54
+ #powerTip.nw:before, #powerTip.sw:before {
55
+ border-left: 10px solid transparent;
56
+ border-right: 0;
57
+ right: 10px;
58
+ }
59
+ #powerTip.ne:before, #powerTip.nw:before {
60
+ border-top: 10px solid rgba(250, 250, 80, 0.8);
61
+ bottom: -10px;
62
+ }
63
+ #powerTip.se:before, #powerTip.sw:before {
64
+ border-bottom: 10px solid rgba(250, 250, 80, 0.8);
65
+ top: -10px;
66
+ }
67
+ #powerTip.nw-alt:before, #powerTip.ne-alt:before,
68
+ #powerTip.sw-alt:before, #powerTip.se-alt:before {
69
+ border-top: 10px solid rgba(250, 250, 80, 0.8);
70
+ bottom: -10px;
71
+ border-left: 5px solid transparent;
72
+ border-right: 5px solid transparent;
73
+ left: 10px;
74
+ }
75
+ #powerTip.ne-alt:before {
76
+ left: auto;
77
+ right: 10px;
78
+ }
79
+ #powerTip.sw-alt:before, #powerTip.se-alt:before {
80
+ border-top: none;
81
+ border-bottom: 10px solid rgba(250, 250, 80, 0.8);
82
+ bottom: auto;
83
+ top: -10px;
84
+ }
85
+ #powerTip.se-alt:before {
86
+ left: auto;
87
+ right: 10px;
88
+ }
metadata ADDED
@@ -0,0 +1,84 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: powertip-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - machida
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-12-16 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: Powertip(A jQuery plugin that creates hover tooltips.) for rails.
31
+ email:
32
+ - machida@fjord.jp
33
+ executables: []
34
+ extensions: []
35
+ extra_rdoc_files: []
36
+ files:
37
+ - lib/powertip-rails/version.rb
38
+ - lib/powertip-rails.rb
39
+ - vendor/assets/javascripts/core.js
40
+ - vendor/assets/javascripts/csscoordinates.js
41
+ - vendor/assets/javascripts/displaycontroller.js
42
+ - vendor/assets/javascripts/grunt.js
43
+ - vendor/assets/javascripts/intro.js
44
+ - vendor/assets/javascripts/outro.js
45
+ - vendor/assets/javascripts/placementcalculator.js
46
+ - vendor/assets/javascripts/tooltipcontroller.js
47
+ - vendor/assets/javascripts/utility.js
48
+ - vendor/assets/stylesheets/jquery.powertip.blue.css
49
+ - vendor/assets/stylesheets/jquery.powertip.css
50
+ - vendor/assets/stylesheets/jquery.powertip.dark.css
51
+ - vendor/assets/stylesheets/jquery.powertip.green.css
52
+ - vendor/assets/stylesheets/jquery.powertip.light.css
53
+ - vendor/assets/stylesheets/jquery.powertip.orange.css
54
+ - vendor/assets/stylesheets/jquery.powertip.purple.css
55
+ - vendor/assets/stylesheets/jquery.powertip.red.css
56
+ - vendor/assets/stylesheets/jquery.powertip.yellow.css
57
+ - MIT-LICENSE
58
+ - README.md
59
+ homepage: http://fjord.jp
60
+ licenses: []
61
+ post_install_message:
62
+ rdoc_options: []
63
+ require_paths:
64
+ - lib
65
+ required_ruby_version: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ requirements: []
78
+ rubyforge_project:
79
+ rubygems_version: 1.8.24
80
+ signing_key:
81
+ specification_version: 3
82
+ summary: Powertip for rails
83
+ test_files: []
84
+ has_rdoc: