geri 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +26 -0
- data/app/assets/javascripts/geri/admin.js +33 -0
- data/app/assets/javascripts/geri/admin/app.js +758 -0
- data/app/assets/javascripts/geri/admin/editor.js +56 -0
- data/app/assets/javascripts/geri/admin/password_resets.js +2 -0
- data/app/assets/stylesheets/geri/admin.css.less +60 -0
- data/app/assets/stylesheets/geri/admin/app.css +4915 -0
- data/app/assets/stylesheets/geri/admin/ckeditor/contents.css +135 -0
- data/app/assets/stylesheets/geri/admin/editor.css.less +38 -0
- data/app/assets/stylesheets/geri/admin/password_resets.css +4 -0
- data/app/assets/stylesheets/geri/admin/skin-blue.less +142 -0
- data/app/assets/vendor/ckeditor/CHANGES.md +1065 -0
- data/app/assets/vendor/ckeditor/LICENSE.md +1420 -0
- data/app/assets/vendor/ckeditor/README.md +39 -0
- data/app/assets/vendor/ckeditor/adapters/jquery.js +10 -0
- data/app/assets/vendor/ckeditor/build-config.js +69 -0
- data/app/assets/vendor/ckeditor/ckeditor.js +775 -0
- data/app/assets/vendor/ckeditor/config.js +34 -0
- data/app/assets/vendor/ckeditor/contents.css +135 -0
- data/app/assets/vendor/ckeditor/lang/en.js +5 -0
- data/app/assets/vendor/ckeditor/plugins/about/dialogs/about.js +7 -0
- data/app/assets/vendor/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
- data/app/assets/vendor/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/app/assets/vendor/ckeditor/plugins/clipboard/dialogs/paste.js +12 -0
- data/app/assets/vendor/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/app/assets/vendor/ckeditor/plugins/icons.png +0 -0
- data/app/assets/vendor/ckeditor/plugins/icons_hidpi.png +0 -0
- data/app/assets/vendor/ckeditor/plugins/link/dialogs/anchor.js +7 -0
- data/app/assets/vendor/ckeditor/plugins/link/dialogs/link.js +26 -0
- data/app/assets/vendor/ckeditor/plugins/link/images/anchor.png +0 -0
- data/app/assets/vendor/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
- data/app/assets/vendor/ckeditor/samples/css/samples.css +1640 -0
- data/app/assets/vendor/ckeditor/samples/img/github-top.png +0 -0
- data/app/assets/vendor/ckeditor/samples/img/header-bg.png +0 -0
- data/app/assets/vendor/ckeditor/samples/img/header-separator.png +0 -0
- data/app/assets/vendor/ckeditor/samples/img/logo.png +0 -0
- data/app/assets/vendor/ckeditor/samples/img/navigation-tip.png +0 -0
- data/app/assets/vendor/ckeditor/samples/index.html +128 -0
- data/app/assets/vendor/ckeditor/samples/js/sample.js +53 -0
- data/app/assets/vendor/ckeditor/samples/js/sf.js +17 -0
- data/app/assets/vendor/ckeditor/samples/old/ajax.html +85 -0
- data/app/assets/vendor/ckeditor/samples/old/api.html +210 -0
- data/app/assets/vendor/ckeditor/samples/old/appendto.html +59 -0
- data/app/assets/vendor/ckeditor/samples/old/assets/inlineall/logo.png +0 -0
- data/app/assets/vendor/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css +204 -0
- data/app/assets/vendor/ckeditor/samples/old/assets/posteddata.php +59 -0
- data/app/assets/vendor/ckeditor/samples/old/assets/sample.jpg +0 -0
- data/app/assets/vendor/ckeditor/samples/old/assets/uilanguages/languages.js +7 -0
- data/app/assets/vendor/ckeditor/samples/old/datafiltering.html +508 -0
- data/app/assets/vendor/ckeditor/samples/old/dialog/assets/my_dialog.js +48 -0
- data/app/assets/vendor/ckeditor/samples/old/dialog/dialog.html +190 -0
- data/app/assets/vendor/ckeditor/samples/old/divreplace.html +144 -0
- data/app/assets/vendor/ckeditor/samples/old/enterkey/enterkey.html +106 -0
- data/app/assets/vendor/ckeditor/samples/old/index.html +122 -0
- data/app/assets/vendor/ckeditor/samples/old/inlineall.html +314 -0
- data/app/assets/vendor/ckeditor/samples/old/inlinebycode.html +124 -0
- data/app/assets/vendor/ckeditor/samples/old/inlinetextarea.html +113 -0
- data/app/assets/vendor/ckeditor/samples/old/jquery.html +103 -0
- data/app/assets/vendor/ckeditor/samples/old/readonly.html +76 -0
- data/app/assets/vendor/ckeditor/samples/old/replacebyclass.html +60 -0
- data/app/assets/vendor/ckeditor/samples/old/replacebycode.html +59 -0
- data/app/assets/vendor/ckeditor/samples/old/sample.css +357 -0
- data/app/assets/vendor/ckeditor/samples/old/sample.js +50 -0
- data/app/assets/vendor/ckeditor/samples/old/sample_posteddata.php +16 -0
- data/app/assets/vendor/ckeditor/samples/old/tabindex.html +78 -0
- data/app/assets/vendor/ckeditor/samples/old/toolbar/toolbar.html +235 -0
- data/app/assets/vendor/ckeditor/samples/old/uicolor.html +72 -0
- data/app/assets/vendor/ckeditor/samples/old/uilanguages.html +122 -0
- data/app/assets/vendor/ckeditor/samples/old/wysiwygarea/fullpage.html +80 -0
- data/app/assets/vendor/ckeditor/samples/old/xhtmlstyle.html +234 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/css/fontello.css +55 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt +10 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/font/config.json +28 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/font/fontello.eot +0 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/font/fontello.svg +14 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/font/fontello.ttf +0 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/font/fontello.woff +0 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/index.html +446 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js +13 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +9 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js +33 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/js/toolbartextmodifier.js +14 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/lib/codemirror/LICENSE +19 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.css +325 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.js +288 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/lib/codemirror/javascript.js +25 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css +36 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css +38 -0
- data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.js +16 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/dialog.css +1 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/dialog_ie.css +1 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/dialog_ie7.css +1 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/dialog_ie8.css +1 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/dialog_iequirks.css +1 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/dialog_opera.css +1 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/editor.css +1 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/editor_gecko.css +1 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/editor_ie.css +1 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/editor_ie7.css +1 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/editor_ie8.css +1 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/editor_iequirks.css +1 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/icons.png +0 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/icons_hidpi.png +0 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/images/arrow.png +0 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/images/close.png +0 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/images/hidpi/close.png +0 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/images/hidpi/lock-open.png +0 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/images/hidpi/lock.png +0 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/images/hidpi/refresh.png +0 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/images/lock-open.png +0 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/images/lock.png +0 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/images/refresh.png +0 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/readme.md +35 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/sample/bootstrapck-sample.html +127 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/sample/css/bootstrapck-sample.css +1 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/sample/js/analytics.js +4 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/sample/js/jquery-1.11.0.min.js +189 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/gecko/editor_gecko.scss +25 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/ie/dialog_ie.scss +62 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/ie/editor_ie.scss +71 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/ie7/dialog_ie7.scss +68 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/ie7/editor_ie7.scss +213 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/ie8/dialog_ie8.scss +24 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/ie8/editor_ie8.scss +27 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/iequirks/dialog_iequirks.scss +21 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/iequirks/editor_iequirks.scss +79 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/opera/dialog_opera.scss +31 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_colorpanel.scss +119 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_elementspath.scss +66 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_mainui.scss +189 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_menu.scss +182 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_panel.scss +199 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_presets.scss +32 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_reset.scss +107 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_richcombo.scss +174 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_toolbar.scss +317 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/editor.scss +66 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/config/_colors.scss +61 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/config/_config.scss +9 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/config/_defaults.scss +37 -0
- data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/dialog/dialog.scss +822 -0
- data/app/assets/vendor/ckeditor/styles.js +111 -0
- data/app/controllers/geri/admin/admin_users_controller.rb +56 -0
- data/app/controllers/geri/admin/dashboard_controller.rb +8 -0
- data/app/controllers/geri/admin/editor_controller.rb +33 -0
- data/app/controllers/geri/admin/password_resets_controller.rb +21 -0
- data/app/controllers/geri/admin/sessions_controller.rb +24 -0
- data/app/controllers/geri/admin_controller.rb +19 -0
- data/app/controllers/geri/application_controller.rb +5 -0
- data/app/controllers/geri/pages_controller.rb +34 -0
- data/app/helpers/geri/admin/dashboard_helper.rb +4 -0
- data/app/helpers/geri/admin/editor_helper.rb +4 -0
- data/app/helpers/geri/admin/pages_helper.rb +45 -0
- data/app/helpers/geri/admin/partials_helper.rb +4 -0
- data/app/helpers/geri/admin/password_resets_helper.rb +4 -0
- data/app/helpers/geri/admin/sessions_helper.rb +4 -0
- data/app/helpers/geri/admin_helper.rb +24 -0
- data/app/helpers/geri/admin_users_helper.rb +4 -0
- data/app/helpers/geri/application_helper.rb +26 -0
- data/app/helpers/geri/meta_helper.rb +32 -0
- data/app/mailers/application_mailer.rb +4 -0
- data/app/mailers/geri/admin_user_mailer.rb +11 -0
- data/app/models/geri/admin_user.rb +14 -0
- data/app/models/geri/content.rb +6 -0
- data/app/models/geri/password_reset.rb +17 -0
- data/app/models/geri/session.rb +20 -0
- data/app/views/geri/admin/admin_users/_form.html.erb +5 -0
- data/app/views/geri/admin/admin_users/edit.html.erb +27 -0
- data/app/views/geri/admin/admin_users/index.html.erb +45 -0
- data/app/views/geri/admin/admin_users/new.html.erb +17 -0
- data/app/views/geri/admin/dashboard/index.html.erb +1 -0
- data/app/views/geri/admin/editor/template.html.erb +17 -0
- data/app/views/geri/admin/password_resets/new.html.erb +17 -0
- data/app/views/geri/admin/sessions/new.html.erb +23 -0
- data/app/views/geri/admin/shared/_aside.html.erb +16 -0
- data/app/views/geri/admin/shared/_header.html.erb +31 -0
- data/app/views/geri/admin/shared/_menu_item.html.erb +17 -0
- data/app/views/geri/admin_user_mailer/reset_password_email.text.erb +7 -0
- data/app/views/layouts/geri/admin.html.erb +24 -0
- data/app/views/layouts/geri/admin/sessions.html.erb +21 -0
- data/app/views/layouts/mailer.html.erb +5 -0
- data/app/views/layouts/mailer.text.erb +1 -0
- data/config/initializers/geri.rb +7 -0
- data/config/initializers/sorcery.rb +463 -0
- data/config/locales/devise.en.yml +62 -0
- data/config/locales/en.yml +13 -0
- data/config/routes.rb +23 -0
- data/db/migrate/20160409151523_create_geri_contents.rb +8 -0
- data/db/migrate/20160411205412_sorcery_core.rb +20 -0
- data/lib/generators/geri/install/USAGE +8 -0
- data/lib/generators/geri/install/install_generator.rb +54 -0
- data/lib/generators/geri/install/templates/bower.json +8 -0
- data/lib/generators/geri/install/templates/index.html.erb +46 -0
- data/lib/generators/geri/install/templates/initializer.rb +12 -0
- data/lib/generators/geri/install/templates/layout.html.erb +11 -0
- data/lib/generators/geri/install/templates/site.css.less +1 -0
- data/lib/generators/geri/install/templates/site.js +1 -0
- data/lib/geri.rb +7 -0
- data/lib/geri/cli.rb +6 -0
- data/lib/geri/cli/base.rb +23 -0
- data/lib/geri/cli/extension.rb +18 -0
- data/lib/geri/config.rb +29 -0
- data/lib/geri/config/menu_item.rb +35 -0
- data/lib/geri/engine.rb +34 -0
- data/lib/geri/tasks.rb +3 -0
- data/lib/geri/tasks/create_admin_user.rb +40 -0
- data/lib/geri/version.rb +3 -0
- data/lib/tasks/geri_tasks.rake +15 -0
- metadata +449 -0
data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/gecko/editor_gecko.scss
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
/*
|
7
|
+
editor_gecko.css
|
8
|
+
==================
|
9
|
+
|
10
|
+
This file contains styles to used by all Gecko based browsers (Firefox) only.
|
11
|
+
*/
|
12
|
+
|
13
|
+
/* Base it on editor.css, overriding it with styles defined in this file. */
|
14
|
+
@import "../../components/editor";
|
15
|
+
|
16
|
+
.cke_bottom
|
17
|
+
{
|
18
|
+
padding-bottom: 3px;
|
19
|
+
}
|
20
|
+
|
21
|
+
.cke_combo_text
|
22
|
+
{
|
23
|
+
margin-bottom: -1px;
|
24
|
+
margin-top: 1px;
|
25
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
/*
|
7
|
+
dialog_ie.css
|
8
|
+
===============
|
9
|
+
|
10
|
+
This file contains styles to used by all versions of Internet Explorer only.
|
11
|
+
*/
|
12
|
+
|
13
|
+
/* Base it on dialog.css, overriding it with styles defined in this file. */
|
14
|
+
@import "../../dialog/dialog";
|
15
|
+
|
16
|
+
/* IE doesn't leave enough padding in text input for cursor to blink in RTL. (#6087) */
|
17
|
+
.cke_rtl input.cke_dialog_ui_input_text,
|
18
|
+
.cke_rtl input.cke_dialog_ui_input_password
|
19
|
+
{
|
20
|
+
padding-right: 2px;
|
21
|
+
}
|
22
|
+
/* Compensate the padding added above on container. */
|
23
|
+
.cke_rtl div.cke_dialog_ui_input_text,
|
24
|
+
.cke_rtl div.cke_dialog_ui_input_password
|
25
|
+
{
|
26
|
+
padding-left: 2px;
|
27
|
+
}
|
28
|
+
.cke_rtl div.cke_dialog_ui_input_text {
|
29
|
+
padding-right: 1px;
|
30
|
+
}
|
31
|
+
|
32
|
+
.cke_rtl .cke_dialog_ui_vbox_child,
|
33
|
+
.cke_rtl .cke_dialog_ui_hbox_child,
|
34
|
+
.cke_rtl .cke_dialog_ui_hbox_first,
|
35
|
+
.cke_rtl .cke_dialog_ui_hbox_last
|
36
|
+
{
|
37
|
+
padding-right: 2px !important;
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
/* Disable filters for HC mode. */
|
42
|
+
.cke_hc .cke_dialog_title,
|
43
|
+
.cke_hc .cke_dialog_footer,
|
44
|
+
.cke_hc a.cke_dialog_tab,
|
45
|
+
.cke_hc a.cke_dialog_ui_button,
|
46
|
+
.cke_hc a.cke_dialog_ui_button:hover,
|
47
|
+
.cke_hc a.cke_dialog_ui_button_ok,
|
48
|
+
.cke_hc a.cke_dialog_ui_button_ok:hover
|
49
|
+
{
|
50
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
51
|
+
}
|
52
|
+
|
53
|
+
/* Remove border from dialog field wrappers in HC
|
54
|
+
to avoid double borders. */
|
55
|
+
.cke_hc div.cke_dialog_ui_input_text,
|
56
|
+
.cke_hc div.cke_dialog_ui_input_password,
|
57
|
+
.cke_hc div.cke_dialog_ui_input_textarea,
|
58
|
+
.cke_hc div.cke_dialog_ui_input_select,
|
59
|
+
.cke_hc div.cke_dialog_ui_input_file
|
60
|
+
{
|
61
|
+
border: 0;
|
62
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
/*
|
7
|
+
editor_ie.css
|
8
|
+
===============
|
9
|
+
|
10
|
+
This file contains styles to used by all versions of Internet Explorer only.
|
11
|
+
*/
|
12
|
+
|
13
|
+
/* Base it on editor.css, overriding it with styles defined in this file. */
|
14
|
+
@import "../../components/editor";
|
15
|
+
|
16
|
+
a.cke_button_disabled,
|
17
|
+
|
18
|
+
/* Those two are to overwrite the gradient filter since we cannot have both of them. */
|
19
|
+
a.cke_button_disabled:hover,
|
20
|
+
a.cke_button_disabled:focus,
|
21
|
+
a.cke_button_disabled:active
|
22
|
+
{
|
23
|
+
filter: alpha(opacity = 30);
|
24
|
+
}
|
25
|
+
|
26
|
+
/* PNG Alpha Transparency Fix For IE<9 */
|
27
|
+
.cke_button_disabled .cke_button_icon
|
28
|
+
{
|
29
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff, endColorstr=#00ffffff);
|
30
|
+
}
|
31
|
+
|
32
|
+
.cke_button_off:hover,
|
33
|
+
.cke_button_off:focus,
|
34
|
+
.cke_button_off:active
|
35
|
+
{
|
36
|
+
filter: alpha(opacity = 100);
|
37
|
+
}
|
38
|
+
|
39
|
+
.cke_combo_disabled .cke_combo_inlinelabel,
|
40
|
+
.cke_combo_disabled .cke_combo_open
|
41
|
+
{
|
42
|
+
filter: alpha(opacity = 30);
|
43
|
+
}
|
44
|
+
|
45
|
+
.cke_toolbox_collapser
|
46
|
+
{
|
47
|
+
border: 1px solid #a6a6a6;
|
48
|
+
}
|
49
|
+
|
50
|
+
.cke_toolbox_collapser .cke_arrow
|
51
|
+
{
|
52
|
+
margin-top: 1px;
|
53
|
+
}
|
54
|
+
|
55
|
+
/* Gradient filters must be removed for HC mode to reveal the background. */
|
56
|
+
.cke_hc .cke_top,
|
57
|
+
.cke_hc .cke_bottom,
|
58
|
+
.cke_hc .cke_combo_button,
|
59
|
+
.cke_hc a.cke_combo_button:hover,
|
60
|
+
.cke_hc a.cke_combo_button:focus,
|
61
|
+
.cke_hc .cke_toolgroup,
|
62
|
+
.cke_hc .cke_button_on,
|
63
|
+
.cke_hc a.cke_button_off:hover,
|
64
|
+
.cke_hc a.cke_button_off:focus,
|
65
|
+
.cke_hc a.cke_button_off:active,
|
66
|
+
.cke_hc .cke_toolbox_collapser,
|
67
|
+
.cke_hc .cke_toolbox_collapser:hover,
|
68
|
+
.cke_hc .cke_panel_grouptitle
|
69
|
+
{
|
70
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
71
|
+
}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
/*
|
7
|
+
dialog_ie7.css
|
8
|
+
===============
|
9
|
+
|
10
|
+
This file contains styles to used by Internet Explorer 7 only.
|
11
|
+
*/
|
12
|
+
|
13
|
+
/* Base it on dialog_ie.css, overriding it with styles defined in this file. */
|
14
|
+
@import "../../dialog/dialog";
|
15
|
+
|
16
|
+
.cke_dialog_title
|
17
|
+
{
|
18
|
+
/* gradient fix */
|
19
|
+
zoom: 1;
|
20
|
+
}
|
21
|
+
|
22
|
+
.cke_dialog_footer
|
23
|
+
{
|
24
|
+
/* IE7 ignores footer's outline. Use border instead. */
|
25
|
+
border-top: 1px solid #bfbfbf;
|
26
|
+
}
|
27
|
+
|
28
|
+
/* IE7 needs position static #6806 */
|
29
|
+
.cke_dialog_footer_buttons
|
30
|
+
{
|
31
|
+
position: static;
|
32
|
+
}
|
33
|
+
|
34
|
+
/* IE7 crops the bottom pixels of footer buttons (#9491) */
|
35
|
+
.cke_dialog_footer_buttons a.cke_dialog_ui_button
|
36
|
+
{
|
37
|
+
vertical-align: top;
|
38
|
+
}
|
39
|
+
|
40
|
+
/* IE7 margin loose on float. */
|
41
|
+
.cke_dialog .cke_resizer_ltr
|
42
|
+
{
|
43
|
+
padding-left: 4px;
|
44
|
+
}
|
45
|
+
.cke_dialog .cke_resizer_rtl
|
46
|
+
{
|
47
|
+
padding-right: 4px;
|
48
|
+
}
|
49
|
+
|
50
|
+
/* IE7 doesn't support box-sizing and therefore we cannot
|
51
|
+
have sexy inputs which go well with the layout. */
|
52
|
+
.cke_dialog_ui_input_text,
|
53
|
+
.cke_dialog_ui_input_password,
|
54
|
+
.cke_dialog_ui_input_textarea,
|
55
|
+
.cke_dialog_ui_input_select
|
56
|
+
{
|
57
|
+
padding: 0 !important;
|
58
|
+
}
|
59
|
+
|
60
|
+
/* Predefined border to avoid visual size change impact. */
|
61
|
+
.cke_dialog_ui_checkbox_input,
|
62
|
+
.cke_dialog_ui_ratio_input,
|
63
|
+
.cke_btn_reset,
|
64
|
+
.cke_btn_locked,
|
65
|
+
.cke_btn_unlocked
|
66
|
+
{
|
67
|
+
border: 1px solid transparent !important;
|
68
|
+
}
|
@@ -0,0 +1,213 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
/*
|
7
|
+
editor_ie7.css
|
8
|
+
===============
|
9
|
+
|
10
|
+
This file contains styles to used by Internet Explorer 7 only.
|
11
|
+
*/
|
12
|
+
|
13
|
+
/* Base it on editor_ie.css, overriding it with styles defined in this file. */
|
14
|
+
@import "../../components/editor";
|
15
|
+
|
16
|
+
.cke_rtl .cke_toolgroup,
|
17
|
+
.cke_rtl .cke_toolbar_separator,
|
18
|
+
.cke_rtl .cke_button,
|
19
|
+
.cke_rtl .cke_button *,
|
20
|
+
.cke_rtl .cke_combo,
|
21
|
+
.cke_rtl .cke_combo *,
|
22
|
+
.cke_rtl .cke_path_item,
|
23
|
+
.cke_rtl .cke_path_item *,
|
24
|
+
.cke_rtl .cke_path_empty
|
25
|
+
{
|
26
|
+
float: none;
|
27
|
+
}
|
28
|
+
|
29
|
+
.cke_rtl .cke_toolgroup,
|
30
|
+
.cke_rtl .cke_toolbar_separator,
|
31
|
+
.cke_rtl .cke_combo_button,
|
32
|
+
.cke_rtl .cke_combo_button *,
|
33
|
+
.cke_rtl .cke_button,
|
34
|
+
.cke_rtl .cke_button_icon,
|
35
|
+
{
|
36
|
+
display: inline-block;
|
37
|
+
vertical-align: top;
|
38
|
+
}
|
39
|
+
|
40
|
+
.cke_toolbox
|
41
|
+
{
|
42
|
+
display:inline-block;
|
43
|
+
padding-bottom: 5px;
|
44
|
+
height: 100%;
|
45
|
+
}
|
46
|
+
.cke_rtl .cke_toolbox
|
47
|
+
{
|
48
|
+
padding-bottom: 0;
|
49
|
+
}
|
50
|
+
|
51
|
+
.cke_toolbar
|
52
|
+
{
|
53
|
+
margin-bottom: 5px;
|
54
|
+
}
|
55
|
+
.cke_rtl .cke_toolbar
|
56
|
+
{
|
57
|
+
margin-bottom: 0;
|
58
|
+
}
|
59
|
+
|
60
|
+
/* IE7: toolgroup must be adapted to toolbar items height. */
|
61
|
+
.cke_toolgroup
|
62
|
+
{
|
63
|
+
height: 26px;
|
64
|
+
}
|
65
|
+
|
66
|
+
/* Avoid breaking elements that use background gradient when page zoom > 1 (#9548) */
|
67
|
+
.cke_toolgroup,
|
68
|
+
.cke_combo
|
69
|
+
{
|
70
|
+
position: relative;
|
71
|
+
}
|
72
|
+
|
73
|
+
a.cke_button
|
74
|
+
{
|
75
|
+
/* IE7: buttons must not float to wrap the toolbar in a whole. */
|
76
|
+
float:none;
|
77
|
+
|
78
|
+
/* IE7: buttons have to be aligned to top. Otherwise, some buttons like
|
79
|
+
* source and scayt are displayed a few pixels below the base line.
|
80
|
+
*/
|
81
|
+
vertical-align:top;
|
82
|
+
}
|
83
|
+
|
84
|
+
.cke_toolbar_separator
|
85
|
+
{
|
86
|
+
display: inline-block;
|
87
|
+
float: none;
|
88
|
+
vertical-align: top;
|
89
|
+
background-color: #c0c0c0;
|
90
|
+
}
|
91
|
+
|
92
|
+
.cke_toolbox_collapser .cke_arrow
|
93
|
+
{
|
94
|
+
margin-top: 0;
|
95
|
+
}
|
96
|
+
.cke_toolbox_collapser .cke_arrow
|
97
|
+
{
|
98
|
+
border-width:4px;
|
99
|
+
}
|
100
|
+
.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow
|
101
|
+
{
|
102
|
+
border-width:3px;
|
103
|
+
}
|
104
|
+
|
105
|
+
.cke_rtl .cke_button_arrow
|
106
|
+
{
|
107
|
+
padding-top: 8px;
|
108
|
+
margin-right: 2px;
|
109
|
+
}
|
110
|
+
|
111
|
+
.cke_rtl .cke_combo_inlinelabel
|
112
|
+
{
|
113
|
+
display: table-cell;
|
114
|
+
vertical-align: middle;
|
115
|
+
}
|
116
|
+
|
117
|
+
/*
|
118
|
+
* Editor menus are display:table-driven. IE7 doesn't support this approach,
|
119
|
+
* hence this position&float hybrid fall-back.
|
120
|
+
*/
|
121
|
+
.cke_menubutton
|
122
|
+
{
|
123
|
+
display: block;
|
124
|
+
height: 24px;
|
125
|
+
}
|
126
|
+
|
127
|
+
.cke_menubutton_inner
|
128
|
+
{
|
129
|
+
display: block;
|
130
|
+
position: relative;
|
131
|
+
}
|
132
|
+
|
133
|
+
.cke_menubutton_icon
|
134
|
+
{
|
135
|
+
height: 16px;
|
136
|
+
width: 16px;
|
137
|
+
}
|
138
|
+
|
139
|
+
.cke_menubutton_icon,
|
140
|
+
.cke_menubutton_label,
|
141
|
+
.cke_menuarrow
|
142
|
+
{
|
143
|
+
display: inline-block;
|
144
|
+
}
|
145
|
+
|
146
|
+
.cke_menubutton_label
|
147
|
+
{
|
148
|
+
width: auto;
|
149
|
+
vertical-align: top;
|
150
|
+
line-height: 24px;
|
151
|
+
height: 24px;
|
152
|
+
margin: 0 10px 0 0;
|
153
|
+
}
|
154
|
+
|
155
|
+
.cke_menuarrow
|
156
|
+
{
|
157
|
+
width: 5px;
|
158
|
+
height: 6px;
|
159
|
+
padding: 0;
|
160
|
+
position: absolute;
|
161
|
+
right: 8px;
|
162
|
+
top: 10px;
|
163
|
+
|
164
|
+
background-position: 0 0;
|
165
|
+
}
|
166
|
+
|
167
|
+
/* Menus in RTL mode. */
|
168
|
+
.cke_rtl .cke_menubutton_icon
|
169
|
+
{
|
170
|
+
position: absolute;
|
171
|
+
right: 0px;
|
172
|
+
top: 0px;
|
173
|
+
}
|
174
|
+
|
175
|
+
.cke_rtl .cke_menubutton_label
|
176
|
+
{
|
177
|
+
float: right;
|
178
|
+
clear: both;
|
179
|
+
margin: 0 24px 0 10px;
|
180
|
+
}
|
181
|
+
|
182
|
+
.cke_hc .cke_rtl .cke_menubutton_label
|
183
|
+
{
|
184
|
+
margin-right: 0;
|
185
|
+
}
|
186
|
+
|
187
|
+
|
188
|
+
.cke_rtl .cke_menuarrow
|
189
|
+
{
|
190
|
+
left: 8px;
|
191
|
+
right: auto;
|
192
|
+
background-position: 0 -24px;
|
193
|
+
}
|
194
|
+
|
195
|
+
.cke_hc .cke_menuarrow
|
196
|
+
{
|
197
|
+
top: 5px;
|
198
|
+
padding: 0 5px;
|
199
|
+
}
|
200
|
+
|
201
|
+
.cke_rtl input.cke_dialog_ui_input_text,
|
202
|
+
.cke_rtl input.cke_dialog_ui_input_password
|
203
|
+
{
|
204
|
+
/* Positioning is required for IE7 on text inputs not to stretch dialog horizontally. (#8971)*/
|
205
|
+
position: relative;
|
206
|
+
}
|
207
|
+
|
208
|
+
/* Reset vertical paddings which put editing area under bottom UI space. (#9721) */
|
209
|
+
.cke_wysiwyg_div
|
210
|
+
{
|
211
|
+
padding-top: 0 !important;
|
212
|
+
padding-bottom: 0 !important;
|
213
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
/*
|
7
|
+
dialog_ie8.css
|
8
|
+
===============
|
9
|
+
|
10
|
+
This file contains styles to used by Internet Explorer 8 only.
|
11
|
+
*/
|
12
|
+
|
13
|
+
/* Base it on dialog_ie.css, overriding it with styles defined in this file. */
|
14
|
+
@import "../../dialog/dialog";
|
15
|
+
|
16
|
+
/* Without the following, IE8 cannot compensate footer button thick borders
|
17
|
+
on :focus/:active. */
|
18
|
+
a.cke_dialog_ui_button_ok:focus span,
|
19
|
+
a.cke_dialog_ui_button_ok:active span,
|
20
|
+
a.cke_dialog_ui_button_cancel:focus span,
|
21
|
+
a.cke_dialog_ui_button_cancel:active span
|
22
|
+
{
|
23
|
+
display: block;
|
24
|
+
}
|