tag_it 0.0.1

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.
@@ -0,0 +1,58 @@
1
+ /*
2
+ *= require_tree .
3
+ */
4
+
5
+ ul.tagit {
6
+ padding: 1px 5px;
7
+ overflow: auto;
8
+ margin-left: inherit; /* usually we don't want the regular ul margins. */
9
+ margin-right: inherit;
10
+ }
11
+ ul.tagit li {
12
+ display: block;
13
+ float: left;
14
+ margin: 2px 5px 2px 0;
15
+ }
16
+ ul.tagit li.tagit-choice {
17
+ padding: .2em 18px .2em .5em;
18
+ position: relative;
19
+ line-height: inherit;
20
+ }
21
+ ul.tagit li.tagit-new {
22
+ padding: .25em 4px .25em 0;
23
+ }
24
+
25
+ ul.tagit li.tagit-choice a.tagit-label {
26
+ cursor: pointer;
27
+ text-decoration: none;
28
+ }
29
+ ul.tagit li.tagit-choice .close {
30
+ cursor: pointer;
31
+ position: absolute;
32
+ right: .1em;
33
+ top: 50%;
34
+ margin-top: -8px;
35
+ }
36
+
37
+ /* used for some custom themes that don't need image icons */
38
+ ul.tagit li.tagit-choice .close .text-icon {
39
+ display: none;
40
+ }
41
+
42
+ ul.tagit li.tagit-choice input {
43
+ display: block;
44
+ float: left;
45
+ margin: 2px 5px 2px 0;
46
+ }
47
+ ul.tagit input[type="text"] {
48
+ -moz-box-sizing: border-box;
49
+ -webkit-box-sizing: border-box;
50
+ box-sizing: border-box;
51
+
52
+ border: none;
53
+ margin: 0;
54
+ padding: 0;
55
+ width: inherit;
56
+ background-color: inherit;
57
+ outline: none;
58
+ }
@@ -0,0 +1,186 @@
1
+ @charset "UTF-8";
2
+
3
+ html, body {
4
+ color:#333;
5
+ background:#002F2F/*#232f2e*/;
6
+ line-height:1.3;
7
+ margin:0;
8
+ padding:0;
9
+ font-family: 'Lucida Grande', arial, sans-serif;
10
+ }
11
+ a {
12
+ color:#636363;
13
+ /*color:#1155bd;*/
14
+ }
15
+ a:hover {
16
+ text-decoration:none;
17
+ }
18
+ hr {
19
+ border: none;
20
+ background-color: #ccc;
21
+ height: 6px;
22
+ margin: 1em 0;
23
+ }
24
+ em {
25
+ font-style:italic;
26
+ }
27
+ h1,h2,h3 {
28
+ /*color:#4f6f6c;*/
29
+ color:#046380;
30
+ font-family: 'Brawler', arial, sans-serif;
31
+ font-weight: normal;
32
+ }
33
+ h1,h2,h3,h4 {
34
+ margin:1.5em 0 .5em 0;
35
+ }
36
+ h1 {
37
+ font-size:2.6em;
38
+ }
39
+ h2 {
40
+ font-size:1.8em;
41
+ }
42
+ h3 {
43
+ font-size:1.5em;
44
+ }
45
+ h4 {
46
+ font-size:129%;
47
+ }
48
+ p {
49
+ margin: 1.5em 0 1em 0;
50
+ }
51
+ pre {
52
+ background:#eee;
53
+ border:1px solid #ccc;
54
+ font-size:100%;
55
+ overflow:auto;
56
+ margin:0 0 20px;
57
+ padding:20px;
58
+ }
59
+ code {
60
+ font-size:100%;
61
+ margin:0;
62
+ padding:0;
63
+ }
64
+ #wrapper ul, #wrapper li {
65
+ list-style:disc;
66
+ }
67
+ div#wrapper {
68
+ background:#fff;
69
+ width:560px;
70
+ border:10px solid #0f1616;
71
+ border-width:0 10px 10px;
72
+ margin:0 auto;
73
+ padding:15px 20px;
74
+ }
75
+ div#header {
76
+ position:relative;
77
+ border-bottom:1px dotted;
78
+ margin:0 0 10px;
79
+ padding:0 0 4px;
80
+ }
81
+ ul#nav {
82
+ position:absolute;
83
+ top:.6em;
84
+ right:0;
85
+ list-style:none;
86
+ margin:0;
87
+ padding:0;
88
+ }
89
+ ul#nav li {
90
+ display:inline;
91
+ padding:0 0 0 2px;
92
+ font-size: 1.2em;
93
+ font-weight: bold;
94
+ }
95
+ ul#nav a, .highlighted {
96
+ background-color:#FFFBD0;
97
+ padding: .3em .4em;
98
+ }
99
+ ul#nav a {
100
+ padding: .4em .5em;
101
+ }
102
+ #footer {
103
+ border-top:1px dotted;
104
+ margin:40px 0 0;
105
+ padding:10px 0 0;
106
+ font-size: .8em;
107
+ }
108
+ .left {
109
+ float:left;
110
+ }
111
+ .right {
112
+ float:right;
113
+ }
114
+ .clear {
115
+ clear:both;
116
+ }
117
+ .multiselect {
118
+ width:460px;
119
+ height:200px;
120
+ }
121
+ #switcher {
122
+ margin-top:20px;
123
+ }
124
+ strong,h1,h4,h5,h6 {
125
+ font-weight:bold;
126
+ }
127
+ #header p,#header h1,form {
128
+ margin:0;
129
+ padding:0;
130
+ }
131
+ #header h1 {
132
+ margin-bottom: .2em;
133
+ }
134
+ .weak, .weak a, .weak a:visited {
135
+ color: gray;
136
+ }
137
+
138
+ hr + h2, hr + h3 {
139
+ margin-top: .5em;
140
+ }
141
+ form + hr, p + hr {
142
+ margin-top: 2em;
143
+ }
144
+
145
+ label {
146
+ float: left;
147
+ width: 38px;
148
+ margin-right: 1em;
149
+ font-size: 1.2em;
150
+ line-height: 2em;
151
+ }
152
+ ul.tagit {
153
+ width: 495px;
154
+ }
155
+
156
+ #tag-icon {
157
+ float: left;
158
+ margin-right: 1.4em;
159
+ position: relative;
160
+ top: .1em;
161
+ }
162
+ #title-jquery, #title-tag-it {
163
+ display: block;
164
+ }
165
+ #title-tag-it {
166
+ font-size: 1.2em;
167
+ }
168
+ #title-jquery {
169
+ font-size: .75em;
170
+ font-weight: normal;
171
+ position: relative;
172
+ left: .2em;
173
+ top: .1em;
174
+ }
175
+ #feature-list {
176
+ margin-top:2.5em;
177
+ }
178
+
179
+ #disqus-container {
180
+ margin-top: 2em;
181
+ }
182
+ #disqus-container h3 {
183
+ font-size: 1em;
184
+ font-family: inherit;
185
+ }
186
+
@@ -0,0 +1,54 @@
1
+ html, body, div, span, applet, object, iframe,
2
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
3
+ a, abbr, acronym, address, big, cite, code,
4
+ del, dfn, em, font, img, ins, kbd, q, s, samp,
5
+ small, strike, strong, sub, sup, tt, var,
6
+ b, u, i, center,
7
+ dl, dt, dd, ol, ul, li,
8
+ fieldset, form, label, legend,
9
+ table, caption, tbody, tfoot, thead, tr, th, td {
10
+ margin: 0;
11
+ padding: 0;
12
+ border: 0;
13
+ outline: 0;
14
+ font-size: 100%;
15
+ vertical-align: baseline;
16
+ background: transparent;
17
+ }
18
+ body {
19
+ line-height: 1;
20
+ }
21
+ ol, ul, li {
22
+ list-style: none;
23
+ }
24
+ blockquote, q {
25
+ quotes: none;
26
+ }
27
+ blockquote:before, blockquote:after,
28
+ q:before, q:after {
29
+ content: '';
30
+ content: none;
31
+ }
32
+
33
+ /* remember to define focus styles! */
34
+ :focus {
35
+ outline: 0;
36
+ }
37
+
38
+ /* remember to highlight inserts somehow! */
39
+ ins {
40
+ text-decoration: none;
41
+ }
42
+ del {
43
+ text-decoration: line-through;
44
+ }
45
+
46
+ /* tables still need 'cellspacing="0"' in the markup */
47
+ table {
48
+ border-collapse: collapse;
49
+ border-spacing: 0;
50
+ }
51
+ img, fieldset {
52
+ display:block;
53
+ border:none;
54
+ }
@@ -0,0 +1,52 @@
1
+
2
+ /* Optional scoped theme for tag-it which mimics the zendesk widget. */
3
+
4
+
5
+ ul.tagit {
6
+ border-style: solid;
7
+ border-width: 1px;
8
+ border-color: #C6C6C6;
9
+ background: inherit;
10
+ }
11
+ ul.tagit li.tagit-choice {
12
+ -moz-border-radius: 6px;
13
+ border-radius: 6px;
14
+ -webkit-border-radius: 6px;
15
+ border: 1px solid #CAD8F3;
16
+
17
+ background: none;
18
+ background-color: #DEE7F8;
19
+
20
+ color: #555;
21
+ font-weight: normal;
22
+ }
23
+ ul.tagit li.tagit-choice a.close {
24
+ text-decoration: none;
25
+ }
26
+ ul.tagit li.tagit-choice .close {
27
+ right: .4em;
28
+ }
29
+ ul.tagit li.tagit-choice .ui-icon {
30
+ display: none;
31
+ }
32
+ ul.tagit li.tagit-choice .close .text-icon {
33
+ display: inline;
34
+ font-family: arial, sans-serif;
35
+ font-size: 16px;
36
+ line-height: 16px;
37
+ color: #777;
38
+ }
39
+ ul.tagit li.tagit-choice:hover, ul.tagit li.tagit-choice.remove {
40
+ background-color: #bbcef1;
41
+ border-color: #6d95e0;
42
+ }
43
+ ul.tagit li.tagit-choice a.tagLabel:hover,
44
+ ul.tagit li.tagit-choice a.close .text-icon:hover {
45
+ color: #222;
46
+ }
47
+ ul.tagit input[type="text"] {
48
+ color: #333333;
49
+ background: none;
50
+ }
51
+
52
+
metadata ADDED
@@ -0,0 +1,63 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tag_it
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Arun Kumar Arjunan
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-08-25 00:00:00.000000000 +05:30
13
+ default_executable:
14
+ dependencies: []
15
+ description: Rails 3.1 version of tag-it
16
+ email:
17
+ - arun.immanuel1608@gmail.com
18
+ executables: []
19
+ extensions: []
20
+ extra_rdoc_files: []
21
+ files:
22
+ - Gemfile
23
+ - LICENSE
24
+ - README.markdown
25
+ - Rakefile
26
+ - TODO
27
+ - examples.html
28
+ - lib/tag_it.rb
29
+ - lib/tag_it/version.rb
30
+ - screenshot.png
31
+ - tag_it.gemspec
32
+ - vendor/assets/javascripts/tag_it.js
33
+ - vendor/assets/stylesheets/examples.css
34
+ - vendor/assets/stylesheets/jquery.tagit.scss
35
+ - vendor/assets/stylesheets/master.css
36
+ - vendor/assets/stylesheets/reset.css
37
+ - vendor/assets/stylesheets/tagit.ui-zendesk.css
38
+ has_rdoc: true
39
+ homepage: ''
40
+ licenses: []
41
+ post_install_message:
42
+ rdoc_options: []
43
+ require_paths:
44
+ - lib
45
+ required_ruby_version: !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ! '>='
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ required_rubygems_version: !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ! '>='
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ requirements: []
58
+ rubyforge_project: tag_it
59
+ rubygems_version: 1.6.2
60
+ signing_key:
61
+ specification_version: 3
62
+ summary: Rails 3.1 version of tag-it
63
+ test_files: []