textext-rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,29 @@
1
+ .text-core {
2
+ position: relative;
3
+ background: #fff;
4
+ }
5
+ .text-core .text-wrap {
6
+ position: absolute;
7
+ }
8
+ .text-core .text-wrap textarea,
9
+ .text-core .text-wrap input {
10
+ -webkit-box-sizing: border-box;
11
+ -moz-box-sizing: border-box;
12
+ box-sizing: border-box;
13
+ -webkit-border-radius: 0px;
14
+ -moz-border-radius: 0px;
15
+ border-radius: 0px;
16
+ border: 1px solid #9daccc;
17
+ outline: none;
18
+ resize: none;
19
+ position: absolute;
20
+ z-index: 1;
21
+ background: none;
22
+ overflow: hidden;
23
+ margin: 0;
24
+ padding: 3px 5px 4px 5px;
25
+ white-space: nowrap;
26
+ font: 11px "lucida grande", tahoma, verdana, arial, sans-serif;
27
+ line-height: 13px;
28
+ height: auto;
29
+ }
@@ -0,0 +1,13 @@
1
+ .text-core .text-wrap .text-arrow {
2
+ -webkit-box-sizing: border-box;
3
+ -moz-box-sizing: border-box;
4
+ box-sizing: border-box;
5
+ position: absolute;
6
+ top: 0;
7
+ right: 0;
8
+ width: 22px;
9
+ height: 22px;
10
+ background: url("arrow.png") 50% 50% no-repeat;
11
+ cursor: pointer;
12
+ z-index: 2;
13
+ }
@@ -0,0 +1,35 @@
1
+ .text-core .text-wrap .text-dropdown {
2
+ -webkit-box-sizing: border-box;
3
+ -moz-box-sizing: border-box;
4
+ box-sizing: border-box;
5
+ padding: 0;
6
+ position: absolute;
7
+ z-index: 3;
8
+ background: #fff;
9
+ border: 1px solid #9daccc;
10
+ width: 100%;
11
+ max-height: 100px;
12
+ padding: 1px;
13
+ font: 11px "lucida grande", tahoma, verdana, arial, sans-serif;
14
+ display: none;
15
+ overflow-x: hidden;
16
+ overflow-y: auto;
17
+ }
18
+ .text-core .text-wrap .text-dropdown.text-position-below {
19
+ margin-top: 1px;
20
+ }
21
+ .text-core .text-wrap .text-dropdown.text-position-above {
22
+ margin-bottom: 1px;
23
+ }
24
+ .text-core .text-wrap .text-dropdown .text-list .text-suggestion {
25
+ padding: 3px 5px;
26
+ cursor: pointer;
27
+ }
28
+ .text-core .text-wrap .text-dropdown .text-list .text-suggestion em {
29
+ font-style: normal;
30
+ text-decoration: underline;
31
+ }
32
+ .text-core .text-wrap .text-dropdown .text-list .text-suggestion.text-selected {
33
+ color: #fff;
34
+ background: #6d84b4;
35
+ }
@@ -0,0 +1,12 @@
1
+ .text-core .text-wrap .text-focus {
2
+ -webkit-box-shadow: 0px 0px 6px #6d84b4;
3
+ -moz-box-shadow: 0px 0px 6px #6d84b4;
4
+ box-shadow: 0px 0px 6px #6d84b4;
5
+ position: absolute;
6
+ width: 100%;
7
+ height: 100%;
8
+ display: none;
9
+ }
10
+ .text-core .text-wrap .text-focus.text-show-focus {
11
+ display: block;
12
+ }
@@ -0,0 +1,16 @@
1
+ .text-core .text-wrap .text-prompt {
2
+ -webkit-box-sizing: border-box;
3
+ -moz-box-sizing: border-box;
4
+ box-sizing: border-box;
5
+ position: absolute;
6
+ width: 100%;
7
+ height: 100%;
8
+ margin: 1px 0 0 2px;
9
+ font: 11px "lucida grande", tahoma, verdana, arial, sans-serif;
10
+ color: #c0c0c0;
11
+ overflow: hidden;
12
+ white-space: pre;
13
+ }
14
+ .text-core .text-wrap .text-prompt.text-hide-prompt {
15
+ display: none;
16
+ }
@@ -0,0 +1,49 @@
1
+ .text-core .text-wrap .text-tags {
2
+ -webkit-box-sizing: border-box;
3
+ -moz-box-sizing: border-box;
4
+ box-sizing: border-box;
5
+ position: absolute;
6
+ width: 100%;
7
+ height: 100%;
8
+ padding: 3px 35px 3px 3px;
9
+ cursor: text;
10
+ }
11
+ .text-core .text-wrap .text-tags.text-tags-on-top {
12
+ z-index: 2;
13
+ }
14
+ .text-core .text-wrap .text-tags .text-tag {
15
+ float: left;
16
+ }
17
+ .text-core .text-wrap .text-tags .text-tag .text-button {
18
+ -webkit-border-radius: 2px;
19
+ -moz-border-radius: 2px;
20
+ border-radius: 2px;
21
+ -webkit-box-sizing: border-box;
22
+ -moz-box-sizing: border-box;
23
+ box-sizing: border-box;
24
+ position: relative;
25
+ float: left;
26
+ border: 1px solid #9daccc;
27
+ background: #e2e6f0;
28
+ color: #000;
29
+ padding: 0px 17px 0px 3px;
30
+ margin: 0 2px 2px 0;
31
+ cursor: pointer;
32
+ height: 16px;
33
+ font: 11px "lucida grande", tahoma, verdana, arial, sans-serif;
34
+ }
35
+ .text-core .text-wrap .text-tags .text-tag .text-button a.text-remove {
36
+ position: absolute;
37
+ right: 3px;
38
+ top: 2px;
39
+ display: block;
40
+ width: 11px;
41
+ height: 11px;
42
+ background: url("close.png") 0 0 no-repeat;
43
+ }
44
+ .text-core .text-wrap .text-tags .text-tag .text-button a.text-remove:hover {
45
+ background-position: 0 -11px;
46
+ }
47
+ .text-core .text-wrap .text-tags .text-tag .text-button a.text-remove:active {
48
+ background-position: 0 -22px;
49
+ }
metadata ADDED
@@ -0,0 +1,73 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: textext-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Jeff Pollard
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-02-05 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: Adds the jQuery TextExt plugin to the Rails 3.1 asset pipeline
15
+ email:
16
+ - jeff.pollard@gmail.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - .gitignore
22
+ - Gemfile
23
+ - LICENSE
24
+ - README.md
25
+ - Rakefile
26
+ - latest.tar.gz
27
+ - lib/textext-rails.rb
28
+ - lib/textext/rails.rb
29
+ - lib/textext/rails/engine.rb
30
+ - lib/textext/rails/version.rb
31
+ - textext-rails.gemspec
32
+ - vendor/assets/javascripts/textext.core.js
33
+ - vendor/assets/javascripts/textext.plugin.ajax.js
34
+ - vendor/assets/javascripts/textext.plugin.arrow.js
35
+ - vendor/assets/javascripts/textext.plugin.autocomplete.js
36
+ - vendor/assets/javascripts/textext.plugin.filter.js
37
+ - vendor/assets/javascripts/textext.plugin.focus.js
38
+ - vendor/assets/javascripts/textext.plugin.prompt.js
39
+ - vendor/assets/javascripts/textext.plugin.suggestions.js
40
+ - vendor/assets/javascripts/textext.plugin.tags.js
41
+ - vendor/assets/stylesheets/arrow.png
42
+ - vendor/assets/stylesheets/close.png
43
+ - vendor/assets/stylesheets/textext.core.css
44
+ - vendor/assets/stylesheets/textext.plugin.arrow.css
45
+ - vendor/assets/stylesheets/textext.plugin.autocomplete.css
46
+ - vendor/assets/stylesheets/textext.plugin.focus.css
47
+ - vendor/assets/stylesheets/textext.plugin.prompt.css
48
+ - vendor/assets/stylesheets/textext.plugin.tags.css
49
+ homepage: ''
50
+ licenses: []
51
+ post_install_message:
52
+ rdoc_options: []
53
+ require_paths:
54
+ - lib
55
+ required_ruby_version: !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ! '>='
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ requirements: []
68
+ rubyforge_project: textext-rails
69
+ rubygems_version: 1.8.11
70
+ signing_key:
71
+ specification_version: 3
72
+ summary: Adds the jQuery TextExt plugin to the Rails 3.1 asset pipeline
73
+ test_files: []