yellow-text-rails 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/yellow-text-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/{yellow-text.css → yellow-text.css.scss} +1 -21
- metadata +21 -13
- data/.gitignore +0 -17
- data/Gemfile +0 -4
- data/LICENSE.txt +0 -22
- data/README.md +0 -50
- data/Rakefile +0 -1
- data/yellow-text-rails.gemspec +0 -21
@@ -62,7 +62,7 @@
|
|
62
62
|
}
|
63
63
|
|
64
64
|
.icon-sprite, .JustifyLeft, .JustifyCenter, .JustifyRight, .InsertUnorderedList, .InsertOrderedList, .image, .link {
|
65
|
-
background: url(
|
65
|
+
background: image-url("icon-s634930a1a1.png") no-repeat;
|
66
66
|
}
|
67
67
|
|
68
68
|
.JustifyLeft,
|
@@ -122,24 +122,4 @@
|
|
122
122
|
|
123
123
|
.js-editor-iframe {
|
124
124
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
|
125
|
-
}
|
126
|
-
|
127
|
-
input[type="submit"] {
|
128
|
-
float: right;
|
129
|
-
margin-top: 10px;
|
130
|
-
padding: 7px 10px;
|
131
|
-
cursor: pointer;
|
132
|
-
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
|
133
|
-
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
|
134
|
-
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
|
135
|
-
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e8e8e8), color-stop(100%, #d2d1d1));
|
136
|
-
background-image: -webkit-linear-gradient(top, #e8e8e8, #d2d1d1);
|
137
|
-
background-image: -moz-linear-gradient(top, #e8e8e8, #d2d1d1);
|
138
|
-
background-image: -o-linear-gradient(top, #e8e8e8, #d2d1d1);
|
139
|
-
background-image: linear-gradient(top, #e8e8e8, #d2d1d1);
|
140
|
-
border: 1px solid #a6a6a6;
|
141
|
-
border-radius: 3px;
|
142
|
-
font-size: 0.875em;
|
143
|
-
color: #666 !important;
|
144
|
-
text-shadow: 1px 1px #fff;
|
145
125
|
}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yellow-text-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Stefan Vermaas
|
@@ -16,8 +16,22 @@ bindir: bin
|
|
16
16
|
cert_chain: []
|
17
17
|
|
18
18
|
date: 2013-02-09 00:00:00 Z
|
19
|
-
dependencies:
|
20
|
-
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: railties
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ~>
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 5
|
29
|
+
segments:
|
30
|
+
- 3
|
31
|
+
- 1
|
32
|
+
version: "3.1"
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
21
35
|
description:
|
22
36
|
email:
|
23
37
|
- stefan@yellowduckwebdesign.nl
|
@@ -28,17 +42,11 @@ extensions: []
|
|
28
42
|
extra_rdoc_files: []
|
29
43
|
|
30
44
|
files:
|
31
|
-
- .gitignore
|
32
|
-
- Gemfile
|
33
|
-
- LICENSE.txt
|
34
|
-
- README.md
|
35
|
-
- Rakefile
|
36
|
-
- lib/yellow-text-rails.rb
|
37
45
|
- lib/yellow-text-rails/version.rb
|
46
|
+
- lib/yellow-text-rails.rb
|
38
47
|
- vendor/assets/images/icon-s634930a1a1.png
|
39
48
|
- vendor/assets/javascripts/yellow-text.js
|
40
|
-
- vendor/assets/stylesheets/yellow-text.css
|
41
|
-
- yellow-text-rails.gemspec
|
49
|
+
- vendor/assets/stylesheets/yellow-text.css.scss
|
42
50
|
homepage: http://www.stefanvermaas.nl/yellow-text/
|
43
51
|
licenses: []
|
44
52
|
|
data/.gitignore
DELETED
data/Gemfile
DELETED
data/LICENSE.txt
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
Copyright (c) 2013 Stefan Vermaas
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
![image](http://f.cl.ly/items/3A1s071l1H0M1c34210k/Schermafbeelding%202013-01-16%20om%2019.02.11.png)
|
2
|
-
|
3
|
-
# YellowText - Rails
|
4
|
-
|
5
|
-
Editing text shouldn't be a pain. It should be simple. It should be pretty. With Yellow Text it is.
|
6
|
-
|
7
|
-
This lightweight jQuery plugin can be used to make your text editing proces a lot easier and more fun. The text editor only contains the most basic functions you need for editing text.
|
8
|
-
|
9
|
-
For more information about the plugin, you should check [the official repo](https://github.com/stefanvermaas/yellow-text).
|
10
|
-
|
11
|
-
## Installation
|
12
|
-
|
13
|
-
Add this line to your application's Gemfile:
|
14
|
-
|
15
|
-
gem 'yellow-text-rails'
|
16
|
-
|
17
|
-
And then execute:
|
18
|
-
|
19
|
-
$ bundle
|
20
|
-
|
21
|
-
Or install it yourself as:
|
22
|
-
|
23
|
-
$ gem install yellow-text-rails
|
24
|
-
|
25
|
-
## Usage
|
26
|
-
|
27
|
-
**Step 1:**
|
28
|
-
Make sure you call the plugin by it's name
|
29
|
-
|
30
|
-
```javascript
|
31
|
-
$("#js-your-html-element").texteditor();
|
32
|
-
```
|
33
|
-
|
34
|
-
**Step 2:** Annnnnnnnnnd... finished! Wasn't that hard huh?!
|
35
|
-
|
36
|
-
## Beer-ware license
|
37
|
-
As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.
|
38
|
-
|
39
|
-
## Changelog
|
40
|
-
- v0.0.1: Very raw first version of the plugin
|
41
|
-
- v0.0.2: Fixed a typo in the description
|
42
|
-
- v0.0.3 t/m v0.0.5: Updates of the jQuery plugin
|
43
|
-
|
44
|
-
## Contributing
|
45
|
-
|
46
|
-
1. Fork it
|
47
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
48
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
49
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
50
|
-
5. Create new Pull Request
|
data/Rakefile
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
data/yellow-text-rails.gemspec
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
$:.push File.expand_path("../lib", __FILE__)
|
3
|
-
require "yellow-text-rails/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |gem|
|
6
|
-
# Gem information
|
7
|
-
gem.name = "yellow-text-rails"
|
8
|
-
gem.version = YellowText::Rails::VERSION
|
9
|
-
gem.authors = ["Stefan Vermaas"]
|
10
|
-
gem.email = ["stefan@yellowduckwebdesign.nl"]
|
11
|
-
gem.homepage = "http://www.stefanvermaas.nl/yellow-text/"
|
12
|
-
gem.summary = "Yellow Text makes text editing fun again with a beautiful interface and a few very clean options"
|
13
|
-
|
14
|
-
# Project name
|
15
|
-
gem.rubyforge_project = "yellow-text-rails"
|
16
|
-
|
17
|
-
gem.files = `git ls-files`.split("\n")
|
18
|
-
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
-
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
-
gem.require_paths = ["lib"]
|
21
|
-
end
|