tether-rails 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,134 @@
1
+ .tether-element, .tether-element:after, .tether-element:before, .tether-element *, .tether-element *:after, .tether-element *:before {
2
+ box-sizing: border-box; }
3
+
4
+ .tether-element {
5
+ position: absolute;
6
+ display: none; }
7
+ .tether-element.tether-open {
8
+ display: block; }
9
+
10
+ .tether-element.tether-theme-arrows-dark {
11
+ max-width: 100%;
12
+ max-height: 100%; }
13
+ .tether-element.tether-theme-arrows-dark .tether-content {
14
+ border-radius: 5px;
15
+ position: relative;
16
+ font-family: inherit;
17
+ background: #000;
18
+ color: #fff;
19
+ padding: 1em;
20
+ font-size: 1.1em;
21
+ line-height: 1.5em; }
22
+ .tether-element.tether-theme-arrows-dark .tether-content:before {
23
+ content: "";
24
+ display: block;
25
+ position: absolute;
26
+ width: 0;
27
+ height: 0;
28
+ border-color: transparent;
29
+ border-width: 16px;
30
+ border-style: solid; }
31
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-center .tether-content {
32
+ margin-bottom: 16px; }
33
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-center .tether-content:before {
34
+ top: 100%;
35
+ left: 50%;
36
+ margin-left: -16px;
37
+ border-top-color: #000; }
38
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-center .tether-content {
39
+ margin-top: 16px; }
40
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-center .tether-content:before {
41
+ bottom: 100%;
42
+ left: 50%;
43
+ margin-left: -16px;
44
+ border-bottom-color: #000; }
45
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-right.tether-element-attached-middle .tether-content {
46
+ margin-right: 16px; }
47
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-right.tether-element-attached-middle .tether-content:before {
48
+ left: 100%;
49
+ top: 50%;
50
+ margin-top: -16px;
51
+ border-left-color: #000; }
52
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-left.tether-element-attached-middle .tether-content {
53
+ margin-left: 16px; }
54
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-left.tether-element-attached-middle .tether-content:before {
55
+ right: 100%;
56
+ top: 50%;
57
+ margin-top: -16px;
58
+ border-right-color: #000; }
59
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-left.tether-target-attached-center .tether-content {
60
+ left: -32px; }
61
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-right.tether-target-attached-center .tether-content {
62
+ left: 32px; }
63
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-left.tether-target-attached-middle .tether-content {
64
+ margin-top: 16px; }
65
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-left.tether-target-attached-middle .tether-content:before {
66
+ bottom: 100%;
67
+ left: 16px;
68
+ border-bottom-color: #000; }
69
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-right.tether-target-attached-middle .tether-content {
70
+ margin-top: 16px; }
71
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-right.tether-target-attached-middle .tether-content:before {
72
+ bottom: 100%;
73
+ right: 16px;
74
+ border-bottom-color: #000; }
75
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-middle .tether-content {
76
+ margin-bottom: 16px; }
77
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-middle .tether-content:before {
78
+ top: 100%;
79
+ left: 16px;
80
+ border-top-color: #000; }
81
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-middle .tether-content {
82
+ margin-bottom: 16px; }
83
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-middle .tether-content:before {
84
+ top: 100%;
85
+ right: 16px;
86
+ border-top-color: #000; }
87
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-left.tether-target-attached-bottom .tether-content {
88
+ margin-top: 16px; }
89
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-left.tether-target-attached-bottom .tether-content:before {
90
+ bottom: 100%;
91
+ left: 16px;
92
+ border-bottom-color: #000; }
93
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-right.tether-target-attached-bottom .tether-content {
94
+ margin-top: 16px; }
95
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-right.tether-target-attached-bottom .tether-content:before {
96
+ bottom: 100%;
97
+ right: 16px;
98
+ border-bottom-color: #000; }
99
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-top .tether-content {
100
+ margin-bottom: 16px; }
101
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-top .tether-content:before {
102
+ top: 100%;
103
+ left: 16px;
104
+ border-top-color: #000; }
105
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-top .tether-content {
106
+ margin-bottom: 16px; }
107
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-top .tether-content:before {
108
+ top: 100%;
109
+ right: 16px;
110
+ border-top-color: #000; }
111
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-right.tether-target-attached-left .tether-content {
112
+ margin-right: 16px; }
113
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-right.tether-target-attached-left .tether-content:before {
114
+ top: 16px;
115
+ left: 100%;
116
+ border-left-color: #000; }
117
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-left.tether-target-attached-right .tether-content {
118
+ margin-left: 16px; }
119
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-left.tether-target-attached-right .tether-content:before {
120
+ top: 16px;
121
+ right: 100%;
122
+ border-right-color: #000; }
123
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-left .tether-content {
124
+ margin-right: 16px; }
125
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-left .tether-content:before {
126
+ bottom: 16px;
127
+ left: 100%;
128
+ border-left-color: #000; }
129
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-right .tether-content {
130
+ margin-left: 16px; }
131
+ .tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-right .tether-content:before {
132
+ bottom: 16px;
133
+ right: 100%;
134
+ border-right-color: #000; }
@@ -0,0 +1,138 @@
1
+ .tether-element, .tether-element:after, .tether-element:before, .tether-element *, .tether-element *:after, .tether-element *:before {
2
+ box-sizing: border-box; }
3
+
4
+ .tether-element {
5
+ position: absolute;
6
+ display: none; }
7
+ .tether-element.tether-open {
8
+ display: block; }
9
+
10
+ .tether-element.tether-theme-arrows {
11
+ max-width: 100%;
12
+ max-height: 100%; }
13
+ .tether-element.tether-theme-arrows .tether-content {
14
+ border-radius: 5px;
15
+ position: relative;
16
+ font-family: inherit;
17
+ background: #fff;
18
+ color: inherit;
19
+ padding: 1em;
20
+ font-size: 1.1em;
21
+ line-height: 1.5em;
22
+ -webkit-transform: translateZ(0);
23
+ transform: translateZ(0);
24
+ -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
25
+ filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2)); }
26
+ .tether-element.tether-theme-arrows .tether-content:before {
27
+ content: "";
28
+ display: block;
29
+ position: absolute;
30
+ width: 0;
31
+ height: 0;
32
+ border-color: transparent;
33
+ border-width: 16px;
34
+ border-style: solid; }
35
+ .tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-center .tether-content {
36
+ margin-bottom: 16px; }
37
+ .tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-center .tether-content:before {
38
+ top: 100%;
39
+ left: 50%;
40
+ margin-left: -16px;
41
+ border-top-color: #fff; }
42
+ .tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-center .tether-content {
43
+ margin-top: 16px; }
44
+ .tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-center .tether-content:before {
45
+ bottom: 100%;
46
+ left: 50%;
47
+ margin-left: -16px;
48
+ border-bottom-color: #fff; }
49
+ .tether-element.tether-theme-arrows.tether-element-attached-right.tether-element-attached-middle .tether-content {
50
+ margin-right: 16px; }
51
+ .tether-element.tether-theme-arrows.tether-element-attached-right.tether-element-attached-middle .tether-content:before {
52
+ left: 100%;
53
+ top: 50%;
54
+ margin-top: -16px;
55
+ border-left-color: #fff; }
56
+ .tether-element.tether-theme-arrows.tether-element-attached-left.tether-element-attached-middle .tether-content {
57
+ margin-left: 16px; }
58
+ .tether-element.tether-theme-arrows.tether-element-attached-left.tether-element-attached-middle .tether-content:before {
59
+ right: 100%;
60
+ top: 50%;
61
+ margin-top: -16px;
62
+ border-right-color: #fff; }
63
+ .tether-element.tether-theme-arrows.tether-element-attached-left.tether-target-attached-center .tether-content {
64
+ left: -32px; }
65
+ .tether-element.tether-theme-arrows.tether-element-attached-right.tether-target-attached-center .tether-content {
66
+ left: 32px; }
67
+ .tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-left.tether-target-attached-middle .tether-content {
68
+ margin-top: 16px; }
69
+ .tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-left.tether-target-attached-middle .tether-content:before {
70
+ bottom: 100%;
71
+ left: 16px;
72
+ border-bottom-color: #fff; }
73
+ .tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-right.tether-target-attached-middle .tether-content {
74
+ margin-top: 16px; }
75
+ .tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-right.tether-target-attached-middle .tether-content:before {
76
+ bottom: 100%;
77
+ right: 16px;
78
+ border-bottom-color: #fff; }
79
+ .tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-middle .tether-content {
80
+ margin-bottom: 16px; }
81
+ .tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-middle .tether-content:before {
82
+ top: 100%;
83
+ left: 16px;
84
+ border-top-color: #fff; }
85
+ .tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-middle .tether-content {
86
+ margin-bottom: 16px; }
87
+ .tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-middle .tether-content:before {
88
+ top: 100%;
89
+ right: 16px;
90
+ border-top-color: #fff; }
91
+ .tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-left.tether-target-attached-bottom .tether-content {
92
+ margin-top: 16px; }
93
+ .tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-left.tether-target-attached-bottom .tether-content:before {
94
+ bottom: 100%;
95
+ left: 16px;
96
+ border-bottom-color: #fff; }
97
+ .tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-right.tether-target-attached-bottom .tether-content {
98
+ margin-top: 16px; }
99
+ .tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-right.tether-target-attached-bottom .tether-content:before {
100
+ bottom: 100%;
101
+ right: 16px;
102
+ border-bottom-color: #fff; }
103
+ .tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-top .tether-content {
104
+ margin-bottom: 16px; }
105
+ .tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-top .tether-content:before {
106
+ top: 100%;
107
+ left: 16px;
108
+ border-top-color: #fff; }
109
+ .tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-top .tether-content {
110
+ margin-bottom: 16px; }
111
+ .tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-top .tether-content:before {
112
+ top: 100%;
113
+ right: 16px;
114
+ border-top-color: #fff; }
115
+ .tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-right.tether-target-attached-left .tether-content {
116
+ margin-right: 16px; }
117
+ .tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-right.tether-target-attached-left .tether-content:before {
118
+ top: 16px;
119
+ left: 100%;
120
+ border-left-color: #fff; }
121
+ .tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-left.tether-target-attached-right .tether-content {
122
+ margin-left: 16px; }
123
+ .tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-left.tether-target-attached-right .tether-content:before {
124
+ top: 16px;
125
+ right: 100%;
126
+ border-right-color: #fff; }
127
+ .tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-left .tether-content {
128
+ margin-right: 16px; }
129
+ .tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-left .tether-content:before {
130
+ bottom: 16px;
131
+ left: 100%;
132
+ border-left-color: #fff; }
133
+ .tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-right .tether-content {
134
+ margin-left: 16px; }
135
+ .tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-right .tether-content:before {
136
+ bottom: 16px;
137
+ right: 100%;
138
+ border-right-color: #fff; }
@@ -0,0 +1,21 @@
1
+ .tether-element, .tether-element:after, .tether-element:before, .tether-element *, .tether-element *:after, .tether-element *:before {
2
+ box-sizing: border-box; }
3
+
4
+ .tether-element {
5
+ position: absolute;
6
+ display: none; }
7
+ .tether-element.tether-open {
8
+ display: block; }
9
+
10
+ .tether-element.tether-theme-basic {
11
+ max-width: 100%;
12
+ max-height: 100%; }
13
+ .tether-element.tether-theme-basic .tether-content {
14
+ border-radius: 5px;
15
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
16
+ font-family: inherit;
17
+ background: #fff;
18
+ color: inherit;
19
+ padding: 1em;
20
+ font-size: 1.1em;
21
+ line-height: 1.5em; }
@@ -0,0 +1,8 @@
1
+ .tether-element, .tether-element:after, .tether-element:before, .tether-element *, .tether-element *:after, .tether-element *:before {
2
+ box-sizing: border-box; }
3
+
4
+ .tether-element {
5
+ position: absolute;
6
+ display: none; }
7
+ .tether-element.tether-open {
8
+ display: block; }
metadata ADDED
@@ -0,0 +1,98 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tether-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Jake Gavin
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-03-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '3.1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.11'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.11'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ description:
56
+ email:
57
+ - jakegavin@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - README.md
64
+ - lib/tether-rails.rb
65
+ - lib/tether-rails/engine.rb
66
+ - lib/tether-rails/version.rb
67
+ - vendor/assets/javascripts/tether.js
68
+ - vendor/assets/stylesheets/tether-theme-arrows-dark.css
69
+ - vendor/assets/stylesheets/tether-theme-arrows.css
70
+ - vendor/assets/stylesheets/tether-theme-basic.css
71
+ - vendor/assets/stylesheets/tether.css
72
+ homepage: https://github.com/jakegavin/tether-rails
73
+ licenses:
74
+ - MIT
75
+ metadata: {}
76
+ post_install_message:
77
+ rdoc_options: []
78
+ require_paths:
79
+ - lib
80
+ required_ruby_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ requirements: []
91
+ rubyforge_project:
92
+ rubygems_version: 2.5.1
93
+ signing_key:
94
+ specification_version: 4
95
+ summary: tether-rails wraps the Tether JavaScript library so that it can easily be
96
+ included in Rails.
97
+ test_files: []
98
+ has_rdoc: