summernote-rails 0.2.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,200 @@
1
+ /*---------------------------------------------------
2
+ LESS Elements 0.9
3
+ ---------------------------------------------------
4
+ A set of useful LESS mixins
5
+ More info at: http://lesselements.com
6
+ ---------------------------------------------------*/
7
+ .note-editor {
8
+ border: 1px solid #a9a9a9;
9
+ }
10
+ .note-editor .note-toolbar {
11
+ background-color: #f5f5f5;
12
+ margin: 0px;
13
+ padding: 5px;
14
+ border-bottom: 1px solid #a9a9a9;
15
+ }
16
+ .note-editor .note-toolbar .note-table .dropdown-menu {
17
+ min-width: 0;
18
+ padding: 5px;
19
+ }
20
+ .note-editor .note-toolbar .note-table .dropdown-menu .note-dimension-picker {
21
+ font-size: 18px;
22
+ }
23
+ .note-editor .note-toolbar .note-table .dropdown-menu .note-dimension-picker .note-dimension-picker-mousecatcher {
24
+ z-index: 3;
25
+ position: absolute !important;
26
+ width: 20em;
27
+ height: 20em;
28
+ cursor: pointer;
29
+ }
30
+ .note-editor .note-toolbar .note-table .dropdown-menu .note-dimension-picker .note-dimension-picker-unhighlighted {
31
+ z-index: 1;
32
+ position: relative !important;
33
+ width: 5em;
34
+ height: 5em;
35
+ background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC') repeat;
36
+ }
37
+ .note-editor .note-toolbar .note-table .dropdown-menu .note-dimension-picker .note-dimension-picker-highlighted {
38
+ z-index: 2;
39
+ position: absolute !important;
40
+ width: 1em;
41
+ height: 1em;
42
+ background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIjd6vvD2f9LKLW+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKwNDEVT0AAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC') repeat;
43
+ }
44
+ .note-editor .note-toolbar .note-style h1,
45
+ .note-editor .note-toolbar .note-style h2,
46
+ .note-editor .note-toolbar .note-style h3,
47
+ .note-editor .note-toolbar .note-style h4,
48
+ .note-editor .note-toolbar .note-style blockquote {
49
+ margin: 0px;
50
+ }
51
+ .note-editor .note-toolbar .note-fontsize button {
52
+ height: 26px;
53
+ }
54
+ .note-editor .note-toolbar .note-color .dropdown-toggle {
55
+ width: 20px;
56
+ padding: 2px 5px;
57
+ }
58
+ .note-editor .note-toolbar .note-color .dropdown-menu {
59
+ padding: 5px;
60
+ }
61
+ .note-editor .note-toolbar .note-color .dropdown-menu .note-palette-title {
62
+ font-size: 12px;
63
+ }
64
+ .note-editor .note-toolbar .note-para .dropdown-menu {
65
+ min-width: 140px;
66
+ padding: 5px;
67
+ }
68
+ .note-editor .note-toolbar .note-para li:first-child {
69
+ margin-bottom: 5px;
70
+ }
71
+ .note-editor .note-popover .popover {
72
+ max-width: none;
73
+ }
74
+ .note-editor .note-popover .popover .popover-content {
75
+ padding: 5px;
76
+ }
77
+ .note-editor .note-popover .popover .popover-content a {
78
+ display: inline-block;
79
+ max-width: 200px;
80
+ overflow: hidden;
81
+ text-overflow: ellipsis;
82
+ white-space: nowrap;
83
+ /* for FF */
84
+ vertical-align: middle;
85
+ /* for FF */
86
+
87
+ }
88
+ .note-editor .note-popover .popover.bottom .arrow {
89
+ left: 20px;
90
+ }
91
+ .note-editor .note-handle .note-control-selection {
92
+ position: absolute;
93
+ display: none;
94
+ border: 1px solid black;
95
+ }
96
+ .note-editor .note-handle .note-control-selection > div {
97
+ position: absolute;
98
+ }
99
+ .note-editor .note-handle .note-control-selection .note-control-selection-bg {
100
+ width: 100%;
101
+ height: 100%;
102
+ background-color: black;
103
+ -moz-opacity: 0.3;
104
+ -khtml-opacity: 0.3;
105
+ -webkit-opacity: 0.3;
106
+ opacity: 0.3;
107
+ -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=30);
108
+ filter: alpha(opacity=30);
109
+ }
110
+ .note-editor .note-handle .note-control-selection .note-control-handle {
111
+ border: 1px solid black;
112
+ width: 7px;
113
+ height: 7px;
114
+ }
115
+ .note-editor .note-handle .note-control-selection .note-control-holder {
116
+ border: 1px solid black;
117
+ width: 7px;
118
+ height: 7px;
119
+ }
120
+ .note-editor .note-handle .note-control-selection .note-control-sizing {
121
+ border: 1px solid black;
122
+ width: 7px;
123
+ height: 7px;
124
+ background-color: white;
125
+ }
126
+ .note-editor .note-handle .note-control-selection .note-control-nw {
127
+ left: -5px;
128
+ top: -5px;
129
+ border-bottom: none;
130
+ border-right: none;
131
+ }
132
+ .note-editor .note-handle .note-control-selection .note-control-ne {
133
+ right: -5px;
134
+ top: -5px;
135
+ border-bottom: none;
136
+ border-left: none;
137
+ }
138
+ .note-editor .note-handle .note-control-selection .note-control-sw {
139
+ left: -5px;
140
+ bottom: -5px;
141
+ border-top: none;
142
+ border-right: none;
143
+ }
144
+ .note-editor .note-handle .note-control-selection .note-control-se {
145
+ cursor: se-resize;
146
+ right: -5px;
147
+ bottom: -5px;
148
+ }
149
+ .note-editor .note-dialog .note-image-dialog .note-dropzone {
150
+ color: lightgray;
151
+ min-height: 200px;
152
+ border: 4px dashed lightgray;
153
+ font-size: 30px;
154
+ line-height: 6;
155
+ text-align: center;
156
+ }
157
+ .note-editor .note-editable {
158
+ outline: none;
159
+ overflow: scroll;
160
+ padding: 10px;
161
+ }
162
+ .note-editor .dropdown-menu {
163
+ min-width: 90px;
164
+ }
165
+ .note-editor .dropdown-menu.right {
166
+ left: auto;
167
+ right: 0;
168
+ }
169
+ .note-editor .dropdown-menu.right::before {
170
+ left: auto !important;
171
+ right: 9px;
172
+ }
173
+ .note-editor .dropdown-menu.right::after {
174
+ left: auto !important;
175
+ right: 10px;
176
+ }
177
+ .note-editor .dropdown-menu li a i {
178
+ visibility: hidden;
179
+ color: deepskyblue;
180
+ }
181
+ .note-editor .dropdown-menu li a.checked i {
182
+ visibility: visible;
183
+ }
184
+ .note-editor .btn-small {
185
+ font-size: 14px;
186
+ min-height: 26px;
187
+ }
188
+ .note-editor .note-color-palette {
189
+ line-height: 1;
190
+ }
191
+ .note-editor .note-color-palette div .note-color-btn {
192
+ width: 17px;
193
+ height: 17px;
194
+ border: 1px solid #fff;
195
+ margin: 0;
196
+ padding: 0;
197
+ }
198
+ .note-editor .note-color-palette div .note-color-btn:hover {
199
+ border: 1px solid #000;
200
+ }
metadata ADDED
@@ -0,0 +1,93 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: summernote-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Hyo Seong Choi
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-08-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: railties
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.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: Super Simple WYSIWYG Editor on Bootstrap
56
+ email:
57
+ - rorlab@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - lib/summernote/rails/version.rb
63
+ - lib/summernote/rails.rb
64
+ - vendor/assets/javascripts/summernote.min.js
65
+ - vendor/assets/stylesheets/summernote-bootstrap.css
66
+ - vendor/assets/stylesheets/summernote.css
67
+ - LICENSE.txt
68
+ - README.md
69
+ homepage: http://gihub.com/rorlab/summernote-rails
70
+ licenses:
71
+ - MIT
72
+ metadata: {}
73
+ post_install_message:
74
+ rdoc_options: []
75
+ require_paths:
76
+ - lib
77
+ required_ruby_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - '>='
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ requirements: []
88
+ rubyforge_project:
89
+ rubygems_version: 2.0.0
90
+ signing_key:
91
+ specification_version: 4
92
+ summary: Gemify Summernote for Ruby on Rails
93
+ test_files: []