coalla-cms 0.4.4.3 → 0.5.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/Gemfile.lock +91 -84
- data/Rakefile +2 -2
- data/app/assets/javascripts/admin/admin.js +45 -117
- data/app/assets/javascripts/admin/photo_uploader.js +1 -10
- data/app/assets/javascripts/admin/vendor/jquery-ui-timepicker-addon-ru.js +39 -37
- data/app/assets/stylesheets/admin/admin.scss +5 -1
- data/app/controllers/admin/image_upload_controller.rb +1 -1
- data/app/controllers/admin/lookups_controller.rb +9 -4
- data/app/controllers/admin/notifier_controller.rb +7 -0
- data/app/controllers/admin/site_meta_tags_controller.rb +43 -0
- data/app/controllers/concerns/page_meta_tags.rb +71 -0
- data/app/helpers/admin/lookup_helper.rb +23 -0
- data/app/helpers/common_helper.rb +6 -0
- data/app/helpers/lookup_helper.rb +41 -14
- data/app/helpers/twitter_builder_helper.rb +7 -7
- data/app/helpers/twitter_form_builder.rb +9 -3
- data/app/models/lookup.rb +22 -0
- data/app/models/site_meta_tags.rb +16 -0
- data/app/uploaders/meta_tags_image_uploader.rb +5 -0
- data/app/utils/admin_structure.rb +17 -2
- data/app/views/admin/base/_sort.haml +3 -3
- data/app/views/admin/common/_file_upload_template.haml +8 -4
- data/app/views/admin/common/_header.html.haml +5 -4
- data/app/views/admin/common/_image_upload_template.html.haml +1 -1
- data/app/views/admin/common/_slides.html.haml +1 -1
- data/app/views/admin/home/dashboard.html.haml +1 -1
- data/app/views/admin/lookups/_form.html.haml +2 -8
- data/app/views/admin/lookups/edit.html.haml +1 -1
- data/app/views/admin/lookups/index.html.haml +2 -2
- data/app/views/admin/lookups/types/_boolean.haml +1 -0
- data/app/views/admin/lookups/types/_enum.haml +1 -0
- data/app/views/admin/lookups/types/_file.haml +3 -0
- data/app/views/admin/lookups/types/_float.haml +1 -0
- data/app/views/admin/lookups/types/_integer.haml +1 -0
- data/app/views/admin/lookups/types/_memo.haml +1 -0
- data/app/views/admin/lookups/types/_string.haml +1 -0
- data/app/views/admin/lookups/types/_wysiwyg.haml +1 -0
- data/app/views/admin/site_meta_tags/_form.html.haml +22 -0
- data/app/views/admin/site_meta_tags/edit.html.haml +5 -0
- data/app/views/admin/site_meta_tags/index.html.haml +5 -0
- data/app/views/layouts/admin.html.haml +10 -4
- data/app/views/structure/_section.haml +2 -1
- data/coalla-cms.gemspec +2 -0
- data/lib/coalla/cms/version.rb +1 -1
- data/lib/coalla/orm/page_slider.rb +3 -1
- data/lib/coalla/orm/relation.rb +7 -4
- data/lib/generators/coalla/cms/create_admin_administrators_generator.rb +29 -0
- data/lib/generators/coalla/cms/create_markup_generator.rb +30 -0
- data/lib/generators/coalla/cms/init_generator.rb +33 -37
- data/lib/generators/coalla/cms/lookups/install_generator.rb +17 -6
- data/lib/generators/coalla/cms/lookups/templates/migration.rb +4 -0
- data/lib/generators/coalla/cms/market/templates/controllers/products_controller.rb +1 -1
- data/lib/generators/coalla/cms/market/templates/controllers/properties_controller.rb +1 -1
- data/lib/generators/coalla/cms/meta_tags/install_generator.rb +58 -0
- data/lib/generators/coalla/cms/meta_tags/templates/migration.rb +23 -0
- data/lib/generators/coalla/cms/news/templates/views/new.haml.erb +1 -1
- data/lib/generators/coalla/cms/setup_admin_generator.rb +10 -7
- data/lib/generators/coalla/cms/setup_routes_generator.rb +1 -0
- data/lib/generators/coalla/cms/templates/assets.rb +2 -4
- data/lib/generators/coalla/cms/templates/controllers/admin/administrators_controller.rb +55 -0
- data/lib/generators/coalla/cms/templates/controllers/admin/base_controller.rb.erb +2 -2
- data/lib/generators/coalla/cms/templates/controllers/markup_controller.rb.erb +2 -0
- data/lib/generators/coalla/cms/templates/initializers/carrierwave.rb +47 -0
- data/lib/generators/coalla/cms/templates/locales/activerecord.en.yml +16 -0
- data/lib/generators/coalla/cms/templates/locales/activerecord.ru.yml +29 -0
- data/lib/generators/coalla/cms/templates/locales/admin.en.yml +27 -0
- data/lib/generators/coalla/cms/templates/locales/admin.ru.yml +27 -0
- data/lib/generators/coalla/cms/templates/views/admin/administrators/_form.html.haml +9 -0
- data/lib/generators/coalla/cms/templates/views/admin/administrators/edit.html.haml +5 -0
- data/lib/generators/coalla/cms/templates/views/admin/administrators/index.html.haml +15 -0
- data/lib/generators/coalla/cms/templates/views/admin/administrators/new.html.haml +4 -0
- data/lib/generators/coalla/cms/templates/views/admin/scaffold_template/edit.html.haml.erb +1 -1
- data/lib/generators/coalla/cms/templates/views/admin/scaffold_template/new.html.haml.erb +1 -1
- data/lib/generators/coalla/cms/templates/views/administrators/sessions/new.html.haml +3 -3
- metadata +102 -87
- data/lib/generators/coalla/cms/templates/activerecord.ru.yml +0 -13
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/iframe/default/lbl-blockquote.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/iframe/default/lbl-h1.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/iframe/default/lbl-h2.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/iframe/default/lbl-h3.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/iframe/default/lbl-h4.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/iframe/default/lbl-h5.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/iframe/default/lbl-h6.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/iframe/default/lbl-p.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/iframe/default/lbl-pre.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/iframe/default/wymiframe.css +0 -276
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/iframe/default/wymiframe.html +0 -26
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/jquery.wymeditor.js +0 -4819
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/lang/en.js +0 -45
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/lang/ru.js +0 -55
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/plugins/imageupload/icons.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/plugins/imageupload/jquery.wymeditor.imageupload.js +0 -150
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/plugins/resizable/jquery.wymeditor.resizable.js +0 -91
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/plugins/resizable/readme.txt +0 -124
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/compact/icons.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/compact/skin.css +0 -134
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/compact/skin.js +0 -35
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/default/icons.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/default/skin.css +0 -341
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/default/skin.js +0 -40
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/minimal/images/bg.header.gif +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/minimal/images/bg.selector.silver.gif +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/minimal/images/bg.wymeditor.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/minimal/images/icons.silver.gif +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/minimal/skin.css +0 -131
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/minimal/skin.js +0 -30
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/silver/COPYING +0 -674
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/silver/README +0 -27
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/silver/images/bg.header.gif +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/silver/images/bg.selector.silver.gif +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/silver/images/bg.wymeditor.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/silver/images/icons.silver.gif +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/silver/skin.css +0 -297
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/silver/skin.js +0 -61
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/twopanels/icons.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/twopanels/skin.css +0 -134
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/twopanels/skin.js +0 -39
- data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/wymeditor_icon.png +0 -0
- data/lib/generators/coalla/cms/wysiwyg/wymeditor_generator.rb +0 -17
- /data/lib/generators/coalla/cms/templates/{devise.ru.yml → locales/devise.ru.yml} +0 -0
@@ -1,341 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* WYMeditor : what you see is What You Mean web-based editor
|
3
|
-
* Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/
|
4
|
-
* Dual licensed under the MIT (MIT-license.txt)
|
5
|
-
* and GPL (GPL-license.txt) licenses.
|
6
|
-
*
|
7
|
-
* For further information visit:
|
8
|
-
* http://www.wymeditor.org/
|
9
|
-
*
|
10
|
-
* File Name:
|
11
|
-
* skin.css
|
12
|
-
* main stylesheet for the default WYMeditor skin
|
13
|
-
* See the documentation for more info.
|
14
|
-
*
|
15
|
-
* File Authors:
|
16
|
-
* Daniel Reszka (d.reszka a-t wymeditor dotorg)
|
17
|
-
*/
|
18
|
-
|
19
|
-
/*TRYING TO RESET STYLES THAT MAY INTERFERE WITH WYMEDITOR*/
|
20
|
-
.wym_skin_default p, .wym_skin_default h2, .wym_skin_default h3,
|
21
|
-
.wym_skin_default ul, .wym_skin_default li {
|
22
|
-
background: transparent url();
|
23
|
-
border-width: 0;
|
24
|
-
list-style: none;
|
25
|
-
margin: 0;
|
26
|
-
padding: 0;
|
27
|
-
}
|
28
|
-
|
29
|
-
/*HIDDEN BY DEFAULT*/
|
30
|
-
.wym_skin_default .wym_area_left {
|
31
|
-
display: none;
|
32
|
-
}
|
33
|
-
|
34
|
-
.wym_skin_default .wym_area_right {
|
35
|
-
display: block;
|
36
|
-
}
|
37
|
-
|
38
|
-
/*TYPO*/
|
39
|
-
.wym_skin_default {
|
40
|
-
font-size: 62.5%;
|
41
|
-
font-family: Verdana, Arial, sans-serif;
|
42
|
-
width: 798px;
|
43
|
-
}
|
44
|
-
|
45
|
-
.wym_skin_default h2 {
|
46
|
-
font-size: 110%; /* = 11px */
|
47
|
-
}
|
48
|
-
|
49
|
-
.wym_skin_default h3 {
|
50
|
-
font-size: 100%; /* = 10px */
|
51
|
-
}
|
52
|
-
|
53
|
-
.wym_skin_default li {
|
54
|
-
font-size: 100%; /* = 10px */
|
55
|
-
}
|
56
|
-
|
57
|
-
/*WYM_BOX*/
|
58
|
-
.wym_skin_default {
|
59
|
-
}
|
60
|
-
|
61
|
-
/*auto-clear the wym_box*/
|
62
|
-
.wym_skin_default:after {
|
63
|
-
content: ".";
|
64
|
-
display: block;
|
65
|
-
height: 0;
|
66
|
-
clear: both;
|
67
|
-
visibility: hidden;
|
68
|
-
}
|
69
|
-
|
70
|
-
* html .wym_skin_default {
|
71
|
-
height: 1%;
|
72
|
-
}
|
73
|
-
|
74
|
-
/*WYM_HTML*/
|
75
|
-
.wym_skin_default .wym_html {
|
76
|
-
width: 98%;
|
77
|
-
}
|
78
|
-
|
79
|
-
.wym_skin_default .wym_html textarea {
|
80
|
-
width: 100%;
|
81
|
-
height: 200px;
|
82
|
-
border: 1px solid gray;
|
83
|
-
background: white;
|
84
|
-
}
|
85
|
-
|
86
|
-
/*WYM_IFRAME*/
|
87
|
-
.wym_skin_default .wym_iframe {
|
88
|
-
width: 808px;
|
89
|
-
}
|
90
|
-
|
91
|
-
.wym_skin_default .wym_iframe iframe {
|
92
|
-
width: 100%;
|
93
|
-
height: 300px;
|
94
|
-
border: 1px solid #CCC;
|
95
|
-
-webkit-border-radius: 3px;
|
96
|
-
-moz-border-radius: 3px;
|
97
|
-
border-radius: 3px;
|
98
|
-
background: white
|
99
|
-
}
|
100
|
-
|
101
|
-
/*AREAS*/
|
102
|
-
.wym_skin_default .wym_area_left {
|
103
|
-
width: 150px;
|
104
|
-
float: left;
|
105
|
-
}
|
106
|
-
|
107
|
-
.wym_skin_default .wym_area_right {
|
108
|
-
width: 150px;
|
109
|
-
float: right;
|
110
|
-
}
|
111
|
-
|
112
|
-
.wym_skin_default .wym_area_bottom {
|
113
|
-
height: 1%;
|
114
|
-
clear: both;
|
115
|
-
}
|
116
|
-
|
117
|
-
* html .wym_skin_default .wym_area_main {
|
118
|
-
height: 1%;
|
119
|
-
}
|
120
|
-
|
121
|
-
* html .wym_skin_default .wym_area_top {
|
122
|
-
height: 1%;
|
123
|
-
}
|
124
|
-
|
125
|
-
*+html .wym_skin_default .wym_area_top {
|
126
|
-
height: 1%;
|
127
|
-
}
|
128
|
-
|
129
|
-
/*SECTIONS SYSTEM*/
|
130
|
-
|
131
|
-
/*common defaults for all sections*/
|
132
|
-
.wym_skin_default .wym_section {
|
133
|
-
/*margin-bottom: 5px;*/
|
134
|
-
}
|
135
|
-
|
136
|
-
.wym_skin_default .wym_section h2,
|
137
|
-
.wym_skin_default .wym_section h3 {
|
138
|
-
padding: 1px 3px;
|
139
|
-
margin: 0;
|
140
|
-
}
|
141
|
-
|
142
|
-
.wym_skin_default .wym_section a {
|
143
|
-
padding: 0 3px;
|
144
|
-
display: block;
|
145
|
-
text-decoration: none;
|
146
|
-
color: black;
|
147
|
-
}
|
148
|
-
|
149
|
-
/*.wym_skin_default .wym_section a:hover {*/
|
150
|
-
/*background-color: yellow;*/
|
151
|
-
/*}*/
|
152
|
-
|
153
|
-
/*hide section titles by default*/
|
154
|
-
.wym_skin_default .wym_section h2 {
|
155
|
-
display: none;
|
156
|
-
}
|
157
|
-
|
158
|
-
/*disable any margin-collapse*/
|
159
|
-
.wym_skin_default .wym_section {
|
160
|
-
padding-top: 1px;
|
161
|
-
padding-bottom: 1px;
|
162
|
-
}
|
163
|
-
|
164
|
-
/*auto-clear sections*/
|
165
|
-
.wym_skin_default .wym_section ul:after {
|
166
|
-
content: ".";
|
167
|
-
display: block;
|
168
|
-
height: 0;
|
169
|
-
clear: both;
|
170
|
-
visibility: hidden;
|
171
|
-
}
|
172
|
-
|
173
|
-
* html .wym_skin_default .wym_section ul {
|
174
|
-
height: 1%;
|
175
|
-
}
|
176
|
-
|
177
|
-
/*option: add this class to a section to make it render as a panel*/
|
178
|
-
.wym_skin_default .wym_panel {
|
179
|
-
}
|
180
|
-
|
181
|
-
.wym_skin_default .wym_panel h2 {
|
182
|
-
display: block;
|
183
|
-
}
|
184
|
-
|
185
|
-
/*option: add this class to a section to make it render as a dropdown menu*/
|
186
|
-
.wym_skin_default .wym_dropdown h2 {
|
187
|
-
display: block;
|
188
|
-
}
|
189
|
-
|
190
|
-
.wym_skin_default .wym_dropdown ul {
|
191
|
-
display: none;
|
192
|
-
position: absolute;
|
193
|
-
background: white;
|
194
|
-
}
|
195
|
-
|
196
|
-
.wym_skin_default .wym_dropdown:hover ul,
|
197
|
-
.wym_skin_default .wym_dropdown.hover ul {
|
198
|
-
display: block;
|
199
|
-
}
|
200
|
-
|
201
|
-
/*option: add this class to a section to make its elements render buttons (icons are only available for the wym_tools section for now)*/
|
202
|
-
.wym_skin_default .wym_buttons {
|
203
|
-
margin-bottom: 5px;
|
204
|
-
}
|
205
|
-
|
206
|
-
.wym_skin_default .wym_buttons li {
|
207
|
-
float: left;
|
208
|
-
}
|
209
|
-
|
210
|
-
.wym_skin_default .wym_buttons a {
|
211
|
-
height: 20px;
|
212
|
-
/*margin: 0 5px 4px;*/
|
213
|
-
/*overflow: hidden;*/
|
214
|
-
padding: 2px;
|
215
|
-
width: 20px;
|
216
|
-
}
|
217
|
-
|
218
|
-
/*image replacements*/
|
219
|
-
.wym_skin_default .wym_buttons li a {
|
220
|
-
background: url(icons.png) no-repeat;
|
221
|
-
text-indent: -9999px;
|
222
|
-
}
|
223
|
-
|
224
|
-
.wym_skin_default .wym_buttons li.wym_tools_paragraph a { background-position: 0 0; }
|
225
|
-
.wym_skin_default .wym_buttons li.wym_tools_heading1 a { background-position: 0 -24px; }
|
226
|
-
.wym_skin_default .wym_buttons li.wym_tools_heading2 a { background-position: 0 -48px; }
|
227
|
-
.wym_skin_default .wym_buttons li.wym_tools_heading3 a { background-position: 0 -72px; }
|
228
|
-
.wym_skin_default .wym_buttons li.wym_tools_heading4 a { background-position: 0 -96px; }
|
229
|
-
.wym_skin_default .wym_buttons li.wym_tools_heading5 a { background-position: 0 -120px; }
|
230
|
-
.wym_skin_default .wym_buttons li.wym_tools_heading6 a { background-position: 0 -144px; }
|
231
|
-
.wym_skin_default .wym_buttons li.wym_tools_strong a { background-position: 0 -168px; }
|
232
|
-
.wym_skin_default .wym_buttons li.wym_tools_emphasis a { background-position: 0 -192px; }
|
233
|
-
.wym_skin_default .wym_buttons li.wym_tools_superscript a { background-position: 0 -216px; }
|
234
|
-
.wym_skin_default .wym_buttons li.wym_tools_subscript a { background-position: 0 -240px; }
|
235
|
-
.wym_skin_default .wym_buttons li.wym_tools_ordered_list a { background-position: 0 -264px; }
|
236
|
-
.wym_skin_default .wym_buttons li.wym_tools_unordered_list a { background-position: 0 -288px; }
|
237
|
-
.wym_skin_default .wym_buttons li.wym_tools_indent a { background-position: 0 -312px; }
|
238
|
-
.wym_skin_default .wym_buttons li.wym_tools_outdent a { background-position: 0 -336px; }
|
239
|
-
.wym_skin_default .wym_buttons li.wym_tools_link a { background-position: 0 -360px; }
|
240
|
-
.wym_skin_default .wym_buttons li.wym_tools_paste a { background-position: 0 -384px; }
|
241
|
-
.wym_skin_default .wym_buttons li.wym_tools_preview a { background-position: 0 -408px; }
|
242
|
-
.wym_skin_default .wym_buttons li.wym_tools_imageupload a { background-position: 0 -432px; }
|
243
|
-
.wym_skin_default .wym_buttons li.wym_tools_blockquote a { background-position: 0 -456px; }
|
244
|
-
.wym_skin_default .wym_buttons li.wym_tools_html a { background-position: 0 -505px; }
|
245
|
-
.wym_skin_default .wym_buttons li.wym_tools_undo a { background-position: 0 -528px; }
|
246
|
-
.wym_skin_default .wym_buttons li.wym_tools_redo a { background-position: 0 -554px; }
|
247
|
-
|
248
|
-
.wym_skin_default .wym_buttons li.wym_tools_table a { background-position: 0 -480px; }
|
249
|
-
.wym_skin_default .wym_buttons li.wym_tools_th a { background-position: 0 -504px; }
|
250
|
-
|
251
|
-
/*DECORATION*/
|
252
|
-
.wym_skin_default .wym_section h2 {
|
253
|
-
background: #ddd;
|
254
|
-
border: solid gray;
|
255
|
-
border-width: 0 0 1px;
|
256
|
-
}
|
257
|
-
|
258
|
-
.wym_skin_default .wym_section h2 span {
|
259
|
-
color: gray;
|
260
|
-
}
|
261
|
-
|
262
|
-
.wym_skin_default .wym_panel {
|
263
|
-
padding: 0;
|
264
|
-
border: solid gray;
|
265
|
-
border-width: 1px;
|
266
|
-
background: white;
|
267
|
-
}
|
268
|
-
|
269
|
-
.wym_skin_default .wym_panel ul {
|
270
|
-
margin: 2px 0 5px;
|
271
|
-
}
|
272
|
-
|
273
|
-
.wym_skin_default .wym_dropdown {
|
274
|
-
padding: 0;
|
275
|
-
border: solid gray;
|
276
|
-
border-width: 1px 1px 0 1px;
|
277
|
-
}
|
278
|
-
|
279
|
-
.wym_skin_default .wym_dropdown ul {
|
280
|
-
border: solid gray;
|
281
|
-
border-width: 0 1px 1px 1px;
|
282
|
-
margin-left: -1px;
|
283
|
-
padding: 5px 10px 5px 3px;
|
284
|
-
}
|
285
|
-
|
286
|
-
/*DIALOGS*/
|
287
|
-
.wym_dialog div.row {
|
288
|
-
margin-bottom: 5px;
|
289
|
-
}
|
290
|
-
|
291
|
-
.wym_dialog div.row input {
|
292
|
-
margin-right: 5px;
|
293
|
-
}
|
294
|
-
|
295
|
-
.wym_dialog div.row label {
|
296
|
-
float: left;
|
297
|
-
width: 150px;
|
298
|
-
display: block;
|
299
|
-
text-align: right;
|
300
|
-
margin-right: 10px;
|
301
|
-
}
|
302
|
-
|
303
|
-
.wym_dialog div.row-indent {
|
304
|
-
padding-left: 160px;
|
305
|
-
}
|
306
|
-
|
307
|
-
/*autoclearing*/
|
308
|
-
.wym_dialog div.row:after {
|
309
|
-
content: ".";
|
310
|
-
display: block;
|
311
|
-
height: 0;
|
312
|
-
clear: both;
|
313
|
-
visibility: hidden;
|
314
|
-
}
|
315
|
-
|
316
|
-
.wym_dialog div.row {
|
317
|
-
display: inline-block;
|
318
|
-
}
|
319
|
-
|
320
|
-
/* Hides from IE-mac \*/
|
321
|
-
* html .wym_dialog div.row {
|
322
|
-
height: 1%;
|
323
|
-
}
|
324
|
-
|
325
|
-
.wym_dialog div.row {
|
326
|
-
display: block;
|
327
|
-
}
|
328
|
-
|
329
|
-
/* End hide from IE-mac */
|
330
|
-
|
331
|
-
/*WYMEDITOR_LINK*/
|
332
|
-
a.wym_wymeditor_link {
|
333
|
-
text-indent: -9999px;
|
334
|
-
float: right;
|
335
|
-
display: block;
|
336
|
-
width: 50px;
|
337
|
-
height: 15px;
|
338
|
-
background: url(../wymeditor_icon.png);
|
339
|
-
overflow: hidden;
|
340
|
-
text-decoration: none;
|
341
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
WYMeditor.SKINS['default'] = {
|
2
|
-
|
3
|
-
init: function(wym) {
|
4
|
-
|
5
|
-
//render following sections as panels
|
6
|
-
jQuery(wym._box).find(wym._options.classesSelector)
|
7
|
-
.addClass("wym_panel");
|
8
|
-
|
9
|
-
//render following sections as buttons
|
10
|
-
jQuery(wym._box).find(wym._options.toolsSelector)
|
11
|
-
.addClass("wym_buttons");
|
12
|
-
|
13
|
-
//render following sections as dropdown menus
|
14
|
-
jQuery(wym._box).find(wym._options.containersSelector)
|
15
|
-
.addClass("wym_dropdown")
|
16
|
-
.find(WYMeditor.H2)
|
17
|
-
.append("<span> ></span>");
|
18
|
-
|
19
|
-
// auto add some margin to the main area sides if left area
|
20
|
-
// or right area are not empty (if they contain sections)
|
21
|
-
jQuery(wym._box).find("div.wym_area_right ul")
|
22
|
-
.parents("div.wym_area_right").show()
|
23
|
-
.parents(wym._options.boxSelector)
|
24
|
-
.find("div.wym_area_main")
|
25
|
-
.css({"margin-right": "155px"});
|
26
|
-
|
27
|
-
jQuery(wym._box).find("div.wym_area_left ul")
|
28
|
-
.parents("div.wym_area_left").show()
|
29
|
-
.parents(wym._options.boxSelector)
|
30
|
-
.find("div.wym_area_main")
|
31
|
-
.css({"margin-left": "155px"});
|
32
|
-
|
33
|
-
//make hover work under IE < 7
|
34
|
-
jQuery(wym._box).find(".wym_section").hover(function(){
|
35
|
-
jQuery(this).addClass("hover");
|
36
|
-
},function(){
|
37
|
-
jQuery(this).removeClass("hover");
|
38
|
-
});
|
39
|
-
}
|
40
|
-
};
|
data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/minimal/images/bg.header.gif
DELETED
Binary file
|
Binary file
|
data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/minimal/images/bg.wymeditor.png
DELETED
Binary file
|
data/lib/generators/coalla/cms/wysiwyg/templates/wymeditor/skins/minimal/images/icons.silver.gif
DELETED
Binary file
|
@@ -1,131 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* WYMeditor : what you see is What You Mean web-based editor
|
3
|
-
* Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/
|
4
|
-
* Dual licensed under the MIT (MIT-license.txt)
|
5
|
-
* and GPL (GPL-license.txt) licenses.
|
6
|
-
*
|
7
|
-
* For further information visit:
|
8
|
-
* http://www.wymeditor.org/
|
9
|
-
*
|
10
|
-
* File Name:
|
11
|
-
* skin.css
|
12
|
-
* main stylesheet for the minimal WYMeditor skin
|
13
|
-
* See the documentation for more info.
|
14
|
-
*
|
15
|
-
* File Authors:
|
16
|
-
* Jean-Francois Hovinne
|
17
|
-
* Scott Lewis (see Silver skin)
|
18
|
-
*/
|
19
|
-
|
20
|
-
/* Set iframe */
|
21
|
-
.wym_skin_minimal div.wym_iframe iframe {
|
22
|
-
width: 90%;
|
23
|
-
height: 200px;
|
24
|
-
}
|
25
|
-
|
26
|
-
/* Hide h2 by default */
|
27
|
-
.wym_skin_minimal h2 {
|
28
|
-
display: none;
|
29
|
-
}
|
30
|
-
|
31
|
-
/* Show specific h2 */
|
32
|
-
.wym_skin_minimal div.wym_tools h2,
|
33
|
-
.wym_skin_minimal div.wym_containers h2,
|
34
|
-
.wym_skin_minimal div.wym_classes h2 {
|
35
|
-
display: block;
|
36
|
-
}
|
37
|
-
|
38
|
-
.wym_skin_minimal div.wym_section ul {
|
39
|
-
margin: 0;
|
40
|
-
}
|
41
|
-
|
42
|
-
.wym_skin_minimal div.wym_section ul li {
|
43
|
-
float: left;
|
44
|
-
list-style-type: none;
|
45
|
-
margin-right: 5px;
|
46
|
-
}
|
47
|
-
|
48
|
-
.wym_skin_minimal div.wym_area_top,
|
49
|
-
.wym_skin_minimal div.wym_area_right,
|
50
|
-
.wym_skin_minimal div.wym_containers,
|
51
|
-
.wym_skin_minimal div.wym_classes {
|
52
|
-
float: left;
|
53
|
-
}
|
54
|
-
|
55
|
-
.wym_skin_minimal div.wym_area_main {
|
56
|
-
clear: both;
|
57
|
-
}
|
58
|
-
|
59
|
-
.wym_skin_minimal div.wym_html {
|
60
|
-
width: 90%;
|
61
|
-
}
|
62
|
-
|
63
|
-
.wym_skin_minimal textarea.wym_html_val {
|
64
|
-
width: 100%;
|
65
|
-
height: 100px;
|
66
|
-
}
|
67
|
-
|
68
|
-
/* DROPDOWNS (see Silver skin) */
|
69
|
-
.wym_skin_minimal div.wym_dropdown {
|
70
|
-
cursor: pointer;
|
71
|
-
margin: 0px 4px 10px 0px;
|
72
|
-
padding: 0px;
|
73
|
-
z-index: 1001;
|
74
|
-
display: block;
|
75
|
-
}
|
76
|
-
|
77
|
-
.wym_skin_minimal div.wym_dropdown ul {
|
78
|
-
display: none;
|
79
|
-
width: 124px;
|
80
|
-
padding: 0px;
|
81
|
-
margin: 0px;
|
82
|
-
list-style-type: none;
|
83
|
-
list-style-image: none;
|
84
|
-
z-index: 1002;
|
85
|
-
position: absolute;
|
86
|
-
border-top: 1px solid #AAA;
|
87
|
-
}
|
88
|
-
|
89
|
-
.wym_skin_minimal div.wym_dropdown ul li {
|
90
|
-
width: 146px;
|
91
|
-
height: 20px;
|
92
|
-
padding: 0px;
|
93
|
-
margin: 0px;
|
94
|
-
border: 1px solid #777;
|
95
|
-
border-top: none;
|
96
|
-
background: #EEE;
|
97
|
-
list-style-image: none;
|
98
|
-
}
|
99
|
-
|
100
|
-
.wym_skin_minimal div.wym_dropdown h2 {
|
101
|
-
width: 138px;
|
102
|
-
height: 16px;
|
103
|
-
color: #000;
|
104
|
-
background-image: url(images/bg.selector.silver.gif);
|
105
|
-
background-position: 0px -18px;
|
106
|
-
background-repeat: no-repeat;
|
107
|
-
border: none;
|
108
|
-
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, Sanserif;
|
109
|
-
font-size: 12px;
|
110
|
-
font-weight: bold;
|
111
|
-
padding: 2px 0px 0px 10px;
|
112
|
-
margin: 0px;
|
113
|
-
}
|
114
|
-
|
115
|
-
.wym_skin_minimal div.wym_dropdown a {
|
116
|
-
text-decoration: none;
|
117
|
-
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, Sanserif;
|
118
|
-
font-size: 12px;
|
119
|
-
padding: 5px 0px 0px 10px;
|
120
|
-
display: block;
|
121
|
-
width: 136px;
|
122
|
-
height: 15px;
|
123
|
-
color: #000;
|
124
|
-
text-align: left;
|
125
|
-
margin-left: 0px;
|
126
|
-
}
|
127
|
-
|
128
|
-
.wym_skin_minimal div.wym_dropdown a:hover {
|
129
|
-
background: #BBB;
|
130
|
-
border-bottom: none;
|
131
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
jQuery.fn.selectify = function() {
|
2
|
-
return this.each(function() {
|
3
|
-
jQuery(this).hover(
|
4
|
-
function() {
|
5
|
-
jQuery("h2", this).css("background-position", "0px -18px");
|
6
|
-
jQuery("ul", this).fadeIn("fast");
|
7
|
-
},
|
8
|
-
function() {
|
9
|
-
jQuery("h2", this).css("background-position", "");
|
10
|
-
jQuery("ul", this).fadeOut("fast");
|
11
|
-
}
|
12
|
-
);
|
13
|
-
});
|
14
|
-
};
|
15
|
-
|
16
|
-
WYMeditor.SKINS['minimal'] = {
|
17
|
-
//placeholder for the skin JS, if needed
|
18
|
-
|
19
|
-
//init the skin
|
20
|
-
//wym is the WYMeditor.editor instance
|
21
|
-
init: function(wym) {
|
22
|
-
|
23
|
-
//render following sections as dropdown menus
|
24
|
-
jQuery(wym._box).find(wym._options.toolsSelector + ', ' + wym._options.containersSelector + ', ' + wym._options.classesSelector)
|
25
|
-
.addClass("wym_dropdown")
|
26
|
-
.selectify();
|
27
|
-
|
28
|
-
|
29
|
-
}
|
30
|
-
};
|