kcy1 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.codeclimate.yml +4 -0
- data/.gitattributes +2 -0
- data/.github/issue_template.md +22 -0
- data/.github/pull_request_template.md +6 -0
- data/.gitignore +21 -0
- data/.rubocop.yml +100 -0
- data/.travis.yml +43 -0
- data/CONTRIBUTING.md +35 -0
- data/Gemfile +29 -0
- data/LICENSE +20 -0
- data/README.md +116 -0
- data/Rakefile +5 -0
- data/app/assets/fonts/comfy/admin/cms/lib/redactor-font.eot +0 -0
- data/app/assets/javascripts/comfy/admin/cms/application.js +39 -0
- data/app/assets/javascripts/comfy/admin/cms/base.js +46 -0
- data/app/assets/javascripts/comfy/admin/cms/categories.js +17 -0
- data/app/assets/javascripts/comfy/admin/cms/codemirror.js +31 -0
- data/app/assets/javascripts/comfy/admin/cms/custom.js +1 -0
- data/app/assets/javascripts/comfy/admin/cms/diff.js +10 -0
- data/app/assets/javascripts/comfy/admin/cms/file_link.js +67 -0
- data/app/assets/javascripts/comfy/admin/cms/file_upload.js +194 -0
- data/app/assets/javascripts/comfy/admin/cms/files_modal.js +40 -0
- data/app/assets/javascripts/comfy/admin/cms/page_fragments.js +22 -0
- data/app/assets/javascripts/comfy/admin/cms/slugify.js +34 -0
- data/app/assets/javascripts/comfy/admin/cms/sortable_list.js +40 -0
- data/app/assets/javascripts/comfy/admin/cms/timepicker.js +30 -0
- data/app/assets/javascripts/comfy/admin/cms/wysiwyg.js +65 -0
- data/app/assets/javascripts/comfy/vendor/Moxie.swf +0 -0
- data/app/assets/javascripts/comfy/vendor/Moxie.xap +0 -0
- data/app/assets/javascripts/comfy/vendor/bootstrap.bundle.min.js +7 -0
- data/app/assets/javascripts/comfy/vendor/bootstrap.bundle.min.js.map +1 -0
- data/app/assets/javascripts/comfy/vendor/codemirror.js +9653 -0
- data/app/assets/javascripts/comfy/vendor/codemirror/addon/edit/closetag.js +169 -0
- data/app/assets/javascripts/comfy/vendor/codemirror/mode/css/css.js +832 -0
- data/app/assets/javascripts/comfy/vendor/codemirror/mode/htmlmixed/htmlmixed.js +152 -0
- data/app/assets/javascripts/comfy/vendor/codemirror/mode/javascript/javascript.js +875 -0
- data/app/assets/javascripts/comfy/vendor/codemirror/mode/markdown/markdown.js +861 -0
- data/app/assets/javascripts/comfy/vendor/codemirror/mode/xml/xml.js +394 -0
- data/app/assets/javascripts/comfy/vendor/diff/diff_match_patch.min.js +49 -0
- data/app/assets/javascripts/comfy/vendor/diff/pretty_text_diff.js +76 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr.min.js +2 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/ar.js +52 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/bg.js +65 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/bn.js +65 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/ca.js +83 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/cs.js +70 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/cy.js +92 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/da.js +71 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/de.js +70 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/default.js +80 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/eo.js +73 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/es.js +69 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/et.js +73 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/fa.js +68 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/fi.js +69 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/fr.js +75 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/gr.js +74 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/he.js +57 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/hi.js +65 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/hr.js +66 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/hu.js +72 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/id.js +61 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/it.js +70 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/ja.js +57 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/ko.js +60 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/lt.js +72 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/lv.js +67 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/mk.js +69 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/mn.js +67 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/ms.js +68 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/my.js +69 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/nl.js +75 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/no.js +73 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/pa.js +65 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/pl.js +68 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/pt-BR.js +66 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/pt.js +66 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/ro.js +69 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/ru.js +66 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/si.js +65 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/sk.js +70 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/sl.js +70 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/sq.js +65 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/sr.js +69 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/sv.js +70 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/th.js +72 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/tr.js +66 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/uk.js +66 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/vn.js +66 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/zh-CN.js +61 -0
- data/app/assets/javascripts/comfy/vendor/flatpickr/i18n/zh-TW.js +61 -0
- data/app/assets/javascripts/comfy/vendor/fontawesome.js +5 -0
- data/app/assets/javascripts/comfy/vendor/moxie.min.js +16 -0
- data/app/assets/javascripts/comfy/vendor/plupload.dev.js +2497 -0
- data/app/assets/javascripts/comfy/vendor/redactor.js +9561 -0
- data/app/assets/javascripts/comfy/vendor/redactor/definedlinks.js +53 -0
- data/app/assets/javascripts/comfy/vendor/redactor/filemanager.js +64 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/ar.js +76 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/az.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/ba.js +79 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/bg.js +77 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/by.js +77 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/ca.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/cs.js +87 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/da.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/de.js +80 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/el.js +76 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/en.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/eo.js +76 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/es.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/es_AR.js +76 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/fa.js +76 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/fi.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/fr.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/ge.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/gr.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/he.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/hr.js +76 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/hu.js +77 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/id.js +76 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/it.js +78 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/ja.js +76 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/kn.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/ko.js +76 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/lt.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/lv.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/mk.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/nb.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/nl.js +80 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/pl.js +76 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/pt-BR.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/pt.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/ro.js +76 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/ru.js +76 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/sk.js +76 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/sl.js +79 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/sq.js +79 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/sr-CIR.js +79 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/sr-LAT.js +79 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/sv.js +74 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/th.js +74 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/tr.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/ua.js +77 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/uk.js +77 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/vi.js +74 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/zh-CN.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/i18n/zh-TW.js +75 -0
- data/app/assets/javascripts/comfy/vendor/redactor/imagemanager.js +57 -0
- data/app/assets/javascripts/comfy/vendor/redactor/table.js +337 -0
- data/app/assets/javascripts/comfy/vendor/redactor/video.js +77 -0
- data/app/assets/javascripts/comfy/vendor/sortable.min.js +5 -0
- data/app/assets/stylesheets/comfy/admin/cms/application.sass +11 -0
- data/app/assets/stylesheets/comfy/admin/cms/base.sass +256 -0
- data/app/assets/stylesheets/comfy/admin/cms/codemirror_overrides.sass +19 -0
- data/app/assets/stylesheets/comfy/admin/cms/custom.sass +1 -0
- data/app/assets/stylesheets/comfy/admin/cms/redactor_overrides.sass +22 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_alert.scss +51 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_badge.scss +54 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_breadcrumb.scss +41 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_button-group.scss +163 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_buttons.scss +137 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_card.scss +289 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_carousel.scss +197 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_close.scss +41 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_code.scss +48 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_custom-forms.scss +507 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_dropdown.scss +191 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_forms.scss +330 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_functions.scss +86 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_grid.scss +52 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_images.scss +42 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_input-group.scss +193 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_jumbotron.scss +17 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_list-group.scss +149 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_media.scss +8 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_mixins.scss +47 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_modal.scss +229 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_nav.scss +120 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_navbar.scss +294 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_pagination.scss +73 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_popover.scss +171 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_print.scss +141 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_progress.scss +43 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_reboot.scss +483 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_root.scss +19 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_spinners.scss +55 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_tables.scss +185 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_toasts.scss +44 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_tooltip.scss +115 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_transitions.scss +20 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_type.scss +125 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_utilities.scss +17 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_variables.scss +1123 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/bootstrap-grid.scss +29 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/bootstrap-reboot.scss +12 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/bootstrap.scss +44 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_alert.scss +13 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_background-variant.scss +21 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_badge.scss +17 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_border-radius.scss +63 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_box-shadow.scss +20 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_breakpoints.scss +123 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_buttons.scss +107 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_caret.scss +62 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_clearfix.scss +7 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_deprecate.scss +10 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_float.scss +14 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_forms.scss +192 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_gradients.scss +45 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_grid-framework.scss +66 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_grid.scss +51 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_hover.scss +37 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_image.scss +36 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_list-group.scss +21 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_lists.scss +7 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_nav-divider.scss +10 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_pagination.scss +22 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_reset-text.scss +17 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_resize.scss +6 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_screen-reader.scss +33 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_size.scss +7 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_table-row.scss +39 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_text-emphasis.scss +16 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_text-hide.scss +11 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_text-truncate.scss +8 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_transition.scss +16 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_visibility.scss +8 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_align.scss +8 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_background.scss +19 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_borders.scss +75 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_clearfix.scss +3 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_display.scss +26 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_embed.scss +39 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_flex.scss +51 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_float.scss +11 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_overflow.scss +5 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_position.scss +32 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_screenreaders.scss +11 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_shadows.scss +6 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_sizing.scss +20 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_spacing.scss +73 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_stretched-link.scss +19 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_text.scss +72 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_visibility.scss +13 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/vendor/_rfs.scss +204 -0
- data/app/assets/stylesheets/comfy/vendor/codemirror.css +346 -0
- data/app/assets/stylesheets/comfy/vendor/flatpickr.min.css +13 -0
- data/app/assets/stylesheets/comfy/vendor/fontawesome.css +343 -0
- data/app/assets/stylesheets/comfy/vendor/redactor.css +948 -0
- data/app/controllers/application_controller.rb +7 -0
- data/app/controllers/comfy/admin/base_controller.rb +22 -0
- data/app/controllers/comfy/admin/cms/base_controller.rb +55 -0
- data/app/controllers/comfy/admin/cms/categories_controller.rb +40 -0
- data/app/controllers/comfy/admin/cms/files_controller.rb +142 -0
- data/app/controllers/comfy/admin/cms/layouts_controller.rb +69 -0
- data/app/controllers/comfy/admin/cms/pages_controller.rb +156 -0
- data/app/controllers/comfy/admin/cms/revisions/base_controller.rb +50 -0
- data/app/controllers/comfy/admin/cms/revisions/layout_controller.rb +18 -0
- data/app/controllers/comfy/admin/cms/revisions/page_controller.rb +30 -0
- data/app/controllers/comfy/admin/cms/revisions/snippet_controller.rb +18 -0
- data/app/controllers/comfy/admin/cms/revisions/translation_controller.rb +31 -0
- data/app/controllers/comfy/admin/cms/sites_controller.rb +69 -0
- data/app/controllers/comfy/admin/cms/snippets_controller.rb +66 -0
- data/app/controllers/comfy/admin/cms/translations_controller.rb +107 -0
- data/app/controllers/comfy/cms/assets_controller.rb +40 -0
- data/app/controllers/comfy/cms/base_controller.rb +33 -0
- data/app/controllers/comfy/cms/content_controller.rb +87 -0
- data/app/controllers/concerns/comfy/paginate.rb +16 -0
- data/app/controllers/concerns/comfy/reorder_action.rb +19 -0
- data/app/helpers/comfy/admin/cms_helper.rb +49 -0
- data/app/helpers/comfy/cms_helper.rb +73 -0
- data/app/models/comfy/cms/categorization.rb +16 -0
- data/app/models/comfy/cms/category.rb +24 -0
- data/app/models/comfy/cms/file.rb +57 -0
- data/app/models/comfy/cms/fragment.rb +59 -0
- data/app/models/comfy/cms/layout.rb +113 -0
- data/app/models/comfy/cms/page.rb +169 -0
- data/app/models/comfy/cms/revision.rb +12 -0
- data/app/models/comfy/cms/site.rb +94 -0
- data/app/models/comfy/cms/snippet.rb +45 -0
- data/app/models/comfy/cms/translation.rb +43 -0
- data/app/models/concerns/comfy/cms/with_categories.rb +53 -0
- data/app/models/concerns/comfy/cms/with_fragments.rb +125 -0
- data/app/views/comfy/admin/cms/categories/_categories.html.haml +4 -0
- data/app/views/comfy/admin/cms/categories/_edit.html.haml +7 -0
- data/app/views/comfy/admin/cms/categories/_form.html.haml +5 -0
- data/app/views/comfy/admin/cms/categories/_index.html.haml +28 -0
- data/app/views/comfy/admin/cms/categories/_show.html.haml +15 -0
- data/app/views/comfy/admin/cms/categories/create.js.erb +7 -0
- data/app/views/comfy/admin/cms/categories/destroy.js.erb +8 -0
- data/app/views/comfy/admin/cms/categories/edit.js.erb +3 -0
- data/app/views/comfy/admin/cms/categories/update.js.erb +6 -0
- data/app/views/comfy/admin/cms/files/_file.html.haml +31 -0
- data/app/views/comfy/admin/cms/files/_form.html.haml +26 -0
- data/app/views/comfy/admin/cms/files/_modal.html.haml +3 -0
- data/app/views/comfy/admin/cms/files/destroy.js.erb +4 -0
- data/app/views/comfy/admin/cms/files/edit.html.haml +5 -0
- data/app/views/comfy/admin/cms/files/index.html.haml +29 -0
- data/app/views/comfy/admin/cms/files/new.html.haml +5 -0
- data/app/views/comfy/admin/cms/fragments/_form_fragment_attachments.html.haml +23 -0
- data/app/views/comfy/admin/cms/fragments/_form_fragments.html.haml +38 -0
- data/app/views/comfy/admin/cms/layouts/_form.html.haml +20 -0
- data/app/views/comfy/admin/cms/layouts/_index_branch.html.haml +26 -0
- data/app/views/comfy/admin/cms/layouts/edit.html.haml +9 -0
- data/app/views/comfy/admin/cms/layouts/index.html.haml +10 -0
- data/app/views/comfy/admin/cms/layouts/new.html.haml +5 -0
- data/app/views/comfy/admin/cms/pages/_form.html.haml +31 -0
- data/app/views/comfy/admin/cms/pages/_index_branch.html.haml +44 -0
- data/app/views/comfy/admin/cms/pages/edit.html.haml +10 -0
- data/app/views/comfy/admin/cms/pages/index.html.haml +13 -0
- data/app/views/comfy/admin/cms/pages/new.html.haml +5 -0
- data/app/views/comfy/admin/cms/pages/toggle_branch.js.erb +13 -0
- data/app/views/comfy/admin/cms/revisions/_sidebar.html.haml +2 -0
- data/app/views/comfy/admin/cms/revisions/show.html.haml +36 -0
- data/app/views/comfy/admin/cms/sites/_form.html.haml +15 -0
- data/app/views/comfy/admin/cms/sites/edit.html.haml +5 -0
- data/app/views/comfy/admin/cms/sites/index.html.haml +28 -0
- data/app/views/comfy/admin/cms/sites/new.html.haml +5 -0
- data/app/views/comfy/admin/cms/snippets/_form.html.haml +13 -0
- data/app/views/comfy/admin/cms/snippets/edit.html.haml +9 -0
- data/app/views/comfy/admin/cms/snippets/index.html.haml +33 -0
- data/app/views/comfy/admin/cms/snippets/new.html.haml +5 -0
- data/app/views/comfy/admin/cms/translations/_form.html.haml +20 -0
- data/app/views/comfy/admin/cms/translations/_sidebar.html.haml +19 -0
- data/app/views/comfy/admin/cms/translations/edit.html.haml +10 -0
- data/app/views/comfy/admin/cms/translations/new.html.haml +5 -0
- data/app/views/kaminari/comfy/_first_page.html.haml +3 -0
- data/app/views/kaminari/comfy/_gap.html.haml +2 -0
- data/app/views/kaminari/comfy/_last_page.html.haml +3 -0
- data/app/views/kaminari/comfy/_next_page.html.haml +2 -0
- data/app/views/kaminari/comfy/_page.html.haml +2 -0
- data/app/views/kaminari/comfy/_paginator.html.haml +11 -0
- data/app/views/kaminari/comfy/_prev_page.html.haml +2 -0
- data/app/views/layouts/comfy/admin/cms.html.haml +4 -0
- data/app/views/layouts/comfy/admin/cms/_body.html.haml +14 -0
- data/app/views/layouts/comfy/admin/cms/_flash.html.haml +4 -0
- data/app/views/layouts/comfy/admin/cms/_footer_js.html.haml +6 -0
- data/app/views/layouts/comfy/admin/cms/_head.html.haml +19 -0
- data/app/views/layouts/comfy/admin/cms/_left.html.haml +39 -0
- data/app/views/layouts/comfy/admin/cms/_right.html.haml +5 -0
- data/bin/bundle +3 -0
- data/bin/rails +4 -0
- data/bin/rake +4 -0
- data/bin/setup +36 -0
- data/bin/update +31 -0
- data/bin/yarn +11 -0
- data/comfortable_mexican_sofa.gemspec +33 -0
- data/config.ru +6 -0
- data/config/application.rb +39 -0
- data/config/boot.rb +7 -0
- data/config/cms_routes.rb +8 -0
- data/config/database.yml +11 -0
- data/config/environment.rb +7 -0
- data/config/environments/development.rb +64 -0
- data/config/environments/test.rb +55 -0
- data/config/initializers/comfortable_mexican_sofa.rb +122 -0
- data/config/locales/ca.yml +263 -0
- data/config/locales/cs.yml +263 -0
- data/config/locales/da.yml +263 -0
- data/config/locales/de.yml +263 -0
- data/config/locales/en.yml +263 -0
- data/config/locales/es.yml +263 -0
- data/config/locales/fi.yml +263 -0
- data/config/locales/fr.yml +263 -0
- data/config/locales/gr.yml +263 -0
- data/config/locales/hr.yml +263 -0
- data/config/locales/it.yml +263 -0
- data/config/locales/ja.yml +263 -0
- data/config/locales/nb.yml +263 -0
- data/config/locales/nl.yml +263 -0
- data/config/locales/pl.yml +263 -0
- data/config/locales/pt-BR.yml +263 -0
- data/config/locales/ru.yml +263 -0
- data/config/locales/sk.yml +263 -0
- data/config/locales/sv.yml +263 -0
- data/config/locales/tr.yml +263 -0
- data/config/locales/uk.yml +263 -0
- data/config/locales/zh-CN.yml +263 -0
- data/config/locales/zh-TW.yml +263 -0
- data/config/storage.yml +35 -0
- data/db/cms_seeds/sample-site/files/_default.jpg.yml +5 -0
- data/db/cms_seeds/sample-site/files/default.jpg +0 -0
- data/db/cms_seeds/sample-site/layouts/default/content.html +16 -0
- data/db/cms_seeds/sample-site/layouts/default/nested/content.html +14 -0
- data/db/cms_seeds/sample-site/pages/index/child_a/content.html +7 -0
- data/db/cms_seeds/sample-site/pages/index/child_b/content.html +6 -0
- data/db/cms_seeds/sample-site/pages/index/cms logo.png +0 -0
- data/db/cms_seeds/sample-site/pages/index/content.es.html +6 -0
- data/db/cms_seeds/sample-site/pages/index/content.fr.html +6 -0
- data/db/cms_seeds/sample-site/pages/index/content.html +25 -0
- data/db/cms_seeds/sample-site/pages/index/footer.png +0 -0
- data/db/cms_seeds/sample-site/pages/index/header.png +0 -0
- data/db/cms_seeds/sample-site/snippets/default.html +8 -0
- data/db/migrate/00_create_active_storage_tables.active_storage.rb +26 -0
- data/db/migrate/01_create_cms.rb +142 -0
- data/lib/comfortable_mexican_sofa.rb +60 -0
- data/lib/comfortable_mexican_sofa/access_control/admin_authentication.rb +24 -0
- data/lib/comfortable_mexican_sofa/access_control/admin_authorization.rb +12 -0
- data/lib/comfortable_mexican_sofa/access_control/public_authentication.rb +12 -0
- data/lib/comfortable_mexican_sofa/access_control/public_authorization.rb +12 -0
- data/lib/comfortable_mexican_sofa/configuration.rb +139 -0
- data/lib/comfortable_mexican_sofa/content.rb +31 -0
- data/lib/comfortable_mexican_sofa/content/block.rb +14 -0
- data/lib/comfortable_mexican_sofa/content/params_parser.rb +149 -0
- data/lib/comfortable_mexican_sofa/content/renderer.rb +149 -0
- data/lib/comfortable_mexican_sofa/content/tag.rb +50 -0
- data/lib/comfortable_mexican_sofa/content/tags/asset.rb +59 -0
- data/lib/comfortable_mexican_sofa/content/tags/checkbox.rb +29 -0
- data/lib/comfortable_mexican_sofa/content/tags/date.rb +21 -0
- data/lib/comfortable_mexican_sofa/content/tags/datetime.rb +44 -0
- data/lib/comfortable_mexican_sofa/content/tags/file.rb +72 -0
- data/lib/comfortable_mexican_sofa/content/tags/file_link.rb +63 -0
- data/lib/comfortable_mexican_sofa/content/tags/files.rb +43 -0
- data/lib/comfortable_mexican_sofa/content/tags/fragment.rb +66 -0
- data/lib/comfortable_mexican_sofa/content/tags/helper.rb +55 -0
- data/lib/comfortable_mexican_sofa/content/tags/markdown.rb +24 -0
- data/lib/comfortable_mexican_sofa/content/tags/mixins/file_content.rb +43 -0
- data/lib/comfortable_mexican_sofa/content/tags/number.rb +20 -0
- data/lib/comfortable_mexican_sofa/content/tags/page_file_link.rb +84 -0
- data/lib/comfortable_mexican_sofa/content/tags/partial.rb +49 -0
- data/lib/comfortable_mexican_sofa/content/tags/snippet.rb +34 -0
- data/lib/comfortable_mexican_sofa/content/tags/template.rb +44 -0
- data/lib/comfortable_mexican_sofa/content/tags/text.rb +20 -0
- data/lib/comfortable_mexican_sofa/content/tags/textarea.rb +20 -0
- data/lib/comfortable_mexican_sofa/content/tags/wysiwyg.rb +21 -0
- data/lib/comfortable_mexican_sofa/engine.rb +31 -0
- data/lib/comfortable_mexican_sofa/error.rb +32 -0
- data/lib/comfortable_mexican_sofa/extensions/acts_as_tree.rb +120 -0
- data/lib/comfortable_mexican_sofa/extensions/has_revisions.rb +72 -0
- data/lib/comfortable_mexican_sofa/form_builder.rb +47 -0
- data/lib/comfortable_mexican_sofa/render_methods.rb +112 -0
- data/lib/comfortable_mexican_sofa/routes/cms.rb +18 -0
- data/lib/comfortable_mexican_sofa/routes/cms_admin.rb +58 -0
- data/lib/comfortable_mexican_sofa/routing.rb +12 -0
- data/lib/comfortable_mexican_sofa/seeds.rb +114 -0
- data/lib/comfortable_mexican_sofa/seeds/file/exporter.rb +43 -0
- data/lib/comfortable_mexican_sofa/seeds/file/importer.rb +63 -0
- data/lib/comfortable_mexican_sofa/seeds/layout/exporter.rb +40 -0
- data/lib/comfortable_mexican_sofa/seeds/layout/importer.rb +62 -0
- data/lib/comfortable_mexican_sofa/seeds/page/exporter.rb +92 -0
- data/lib/comfortable_mexican_sofa/seeds/page/importer.rb +219 -0
- data/lib/comfortable_mexican_sofa/seeds/snippet/exporter.rb +34 -0
- data/lib/comfortable_mexican_sofa/seeds/snippet/importer.rb +51 -0
- data/lib/comfortable_mexican_sofa/version.rb +7 -0
- data/lib/comfortable_mexican_sofa/view_hooks.rb +35 -0
- data/lib/generators/comfy/cms/README +17 -0
- data/lib/generators/comfy/cms/assets_generator.rb +18 -0
- data/lib/generators/comfy/cms/cms_generator.rb +69 -0
- data/lib/generators/comfy/cms/controllers_generator.rb +17 -0
- data/lib/generators/comfy/cms/models_generator.rb +17 -0
- data/lib/generators/comfy/cms/views_generator.rb +17 -0
- data/lib/generators/comfy/scaffold/scaffold_generator.rb +80 -0
- data/lib/generators/comfy/scaffold/templates/controller.rb.tt +62 -0
- data/lib/generators/comfy/scaffold/templates/migration.rb.tt +11 -0
- data/lib/generators/comfy/scaffold/templates/model.rb.tt +21 -0
- data/lib/generators/comfy/scaffold/templates/tests/controller.rb.tt +115 -0
- data/lib/generators/comfy/scaffold/templates/tests/fixture.yml.tt +4 -0
- data/lib/generators/comfy/scaffold/templates/tests/model.rb.tt +26 -0
- data/lib/generators/comfy/scaffold/templates/views/_form.haml.tt +7 -0
- data/lib/generators/comfy/scaffold/templates/views/edit.haml.tt +5 -0
- data/lib/generators/comfy/scaffold/templates/views/index.haml.tt +21 -0
- data/lib/generators/comfy/scaffold/templates/views/new.haml.tt +5 -0
- data/lib/generators/comfy/scaffold/templates/views/show.haml.tt +4 -0
- data/lib/tasks/cms_seeds.rake +40 -0
- data/public/favicon.ico +0 -0
- metadata +648 -0
@@ -0,0 +1,948 @@
|
|
1
|
+
/*
|
2
|
+
Icon font
|
3
|
+
*/
|
4
|
+
@font-face {
|
5
|
+
font-family: 'RedactorFont';
|
6
|
+
src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggi/NUAAAC8AAAAYGNtYXAaVcx2AAABHAAAAExnYXNwAAAAEAAAAWgAAAAIZ2x5Zm8dIFkAAAFwAAATSGhlYWQACVb9AAAUuAAAADZoaGVhA+ECBQAAFPAAAAAkaG10eEEBA94AABUUAAAAkGxvY2FVlFE8AAAVpAAAAEptYXhwAC8AkgAAFfAAAAAgbmFtZRHEcG0AABYQAAABZnBvc3QAAwAAAAAXeAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADmHwHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEADgAAAAKAAgAAgACAAEAIOYf//3//wAAAAAAIOYA//3//wAB/+MaBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAwAAACUCAAGSAAQACQANAAA3EQURBQEFEQURATUXBwACAP4AAdv+SgG2/tySkiUBbgH+lAEBSgH+3AEBJv7/3G9sAAAGAAAASQIAAW4ABAAJAA4AEwAYAB0AABMhFSE1FSEVITUVIRUhNSczFSM1FTMVIzUVMxUjNZIBbv6SAW7+kgFu/pKSSUlJSUlJAW5JSW5JSW5JSdxJSW5JSW5JSQAAAAACAAAAJQH3AZIAFgAuAAAlLgMnBzIuAic+AyMXNh4CByUnMg4CBx4DIxcnHgMXNi4CBwH3Dik/XUABAR04Vjg+WDUYAQFNeEcZEv7MAQENHDMlHzIfEQEBASZUTDYHCSBIZj4lGCQaEARqFi5HLzJFKhJqDC1RZSzVPQoWIxkbJBQID0wCCQ4VDxo4KA8PAAAC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AyYDuARGBFQEcASUBLwFFgVuBY4GLgbUB4IHrAfaCFwIgAj2CRIJLglKCWoJpAAAAAEAAAAkAJAACgAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAYAAAAAQAAAAAAAgAOAGoAAQAAAAAAAwAYAC4AAQAAAAAABAAYAHgAAQAAAAAABQAWABgAAQAAAAAABgAMAEYAAQAAAAAACgAoAJAAAwABBAkAAQAYAAAAAwABBAkAAgAOAGoAAwABBAkAAwAYAC4AAwABBAkABAAYAHgAAwABBAkABQAWABgAAwABBAkABgAYAFIAAwABBAkACgAoAJAAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHQAVgBlAHIAcwBpAG8AbgAgADEALgAwAFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0UmVkYWN0b3JGb250AFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0AFIAZQBnAHUAbABhAHIAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHQARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('truetype'), url(data:application/font-woff;charset=utf-8;base64,d09GRk9UVE8AABIoAAoAAAAAEeAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAADgEAAA4Bg0Rie09TLzIAAA74AAAAYAAAAGAIIvzVY21hcAAAD1gAAABMAAAATBpVzHZnYXNwAAAPpAAAAAgAAAAIAAAAEGhlYWQAAA+sAAAANgAAADYACVb9aGhlYQAAD+QAAAAkAAAAJAPhAgVobXR4AAAQCAAAAJAAAACQQQED3m1heHAAABCYAAAABgAAAAYAJFAAbmFtZQAAEKAAAAFmAAABZhHEcG1wb3N0AAASCAAAACAAAAAgAAMAAAEABAQAAQEBDVJlZGFjdG9yRm9udAABAgABADr4HAL4GwP4GAQeCgAZU/+Lix4KABlT/4uLDAeKZviU+HQFHQAAAT8PHQAAAUQ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gAAQAAAAAABgAMAEYAAQAAAAAACgAoAJAAAwABBAkAAQAYAAAAAwABBAkAAgAOAGoAAwABBAkAAwAYAC4AAwABBAkABAAYAHgAAwABBAkABQAWABgAAwABBAkABgAYAFIAAwABBAkACgAoAJAAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHQAVgBlAHIAcwBpAG8AbgAgADEALgAwAFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0UmVkYWN0b3JGb250AFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0AFIAZQBnAHUAbABhAHIAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHQARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('woff');
|
7
|
+
font-weight: normal;
|
8
|
+
font-style: normal;
|
9
|
+
}
|
10
|
+
/*
|
11
|
+
Box
|
12
|
+
*/
|
13
|
+
.redactor-box {
|
14
|
+
position: relative;
|
15
|
+
overflow: visible;
|
16
|
+
margin-bottom: 24px;
|
17
|
+
}
|
18
|
+
.redactor-box textarea {
|
19
|
+
display: block;
|
20
|
+
position: relative;
|
21
|
+
margin: 0;
|
22
|
+
padding: 0;
|
23
|
+
width: 100%;
|
24
|
+
overflow: auto;
|
25
|
+
outline: none;
|
26
|
+
border: none;
|
27
|
+
background-color: #111;
|
28
|
+
box-shadow: none;
|
29
|
+
color: #ccc;
|
30
|
+
font-size: 13px;
|
31
|
+
font-family: Menlo, Monaco, monospace, sans-serif !important;
|
32
|
+
resize: none;
|
33
|
+
}
|
34
|
+
.redactor-box textarea:focus {
|
35
|
+
outline: none;
|
36
|
+
}
|
37
|
+
.redactor-editor,
|
38
|
+
.redactor-box {
|
39
|
+
background: #fff;
|
40
|
+
}
|
41
|
+
/*
|
42
|
+
Z-index setup
|
43
|
+
*/
|
44
|
+
.redactor-editor,
|
45
|
+
.redactor-box,
|
46
|
+
.redactor-box textarea {
|
47
|
+
z-index: auto;
|
48
|
+
}
|
49
|
+
.redactor-box-fullscreen {
|
50
|
+
z-index: 1051;
|
51
|
+
}
|
52
|
+
.redactor-toolbar {
|
53
|
+
z-index: 100;
|
54
|
+
}
|
55
|
+
.redactor-dropdown {
|
56
|
+
z-index: 1052;
|
57
|
+
}
|
58
|
+
#redactor-modal-overlay,
|
59
|
+
#redactor-modal-box,
|
60
|
+
#redactor-modal {
|
61
|
+
z-index: 1053;
|
62
|
+
}
|
63
|
+
/*
|
64
|
+
Fullscreen
|
65
|
+
*/
|
66
|
+
body .redactor-box-fullscreen {
|
67
|
+
position: fixed;
|
68
|
+
top: 0;
|
69
|
+
left: 0;
|
70
|
+
width: 100%;
|
71
|
+
}
|
72
|
+
/*
|
73
|
+
Utils
|
74
|
+
*/
|
75
|
+
.redactor-scrollbar-measure {
|
76
|
+
position: absolute;
|
77
|
+
top: -9999px;
|
78
|
+
width: 50px;
|
79
|
+
height: 50px;
|
80
|
+
overflow: scroll;
|
81
|
+
}
|
82
|
+
/*
|
83
|
+
Editor
|
84
|
+
*/
|
85
|
+
.redactor-editor {
|
86
|
+
position: relative;
|
87
|
+
overflow: auto;
|
88
|
+
margin: 0 !important;
|
89
|
+
padding: 20px;
|
90
|
+
min-height: 80px;
|
91
|
+
outline: none;
|
92
|
+
white-space: normal;
|
93
|
+
border: 1px solid #eee;
|
94
|
+
font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
|
95
|
+
font-size: 14px;
|
96
|
+
line-height: 1.6em;
|
97
|
+
}
|
98
|
+
.redactor-editor:focus {
|
99
|
+
outline: none;
|
100
|
+
}
|
101
|
+
.toolbar-fixed-box + .redactor-editor {
|
102
|
+
padding-top: 32px !important;
|
103
|
+
}
|
104
|
+
/*
|
105
|
+
Placeholder
|
106
|
+
*/
|
107
|
+
.redactor-placeholder:after {
|
108
|
+
position: absolute;
|
109
|
+
top: 20px;
|
110
|
+
left: 20px;
|
111
|
+
content: attr(placeholder);
|
112
|
+
display: block;
|
113
|
+
/* For Firefox */
|
114
|
+
color: #999 !important;
|
115
|
+
font-weight: normal !important;
|
116
|
+
}
|
117
|
+
/*
|
118
|
+
Toolbar
|
119
|
+
*/
|
120
|
+
.redactor-toolbar {
|
121
|
+
position: relative;
|
122
|
+
top: 0;
|
123
|
+
left: 0;
|
124
|
+
margin: 0 !important;
|
125
|
+
padding: 0 !important;
|
126
|
+
list-style: none !important;
|
127
|
+
font-size: 14px !important;
|
128
|
+
line-height: 1 !important;
|
129
|
+
background: #fff;
|
130
|
+
border: none;
|
131
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
132
|
+
}
|
133
|
+
.redactor-toolbar:after {
|
134
|
+
content: "";
|
135
|
+
display: table;
|
136
|
+
clear: both;
|
137
|
+
}
|
138
|
+
.redactor-toolbar.redactor-toolbar-overflow {
|
139
|
+
overflow-y: auto;
|
140
|
+
height: 29px;
|
141
|
+
white-space: nowrap;
|
142
|
+
}
|
143
|
+
.redactor-toolbar.redactor-toolbar-external {
|
144
|
+
z-index: 999;
|
145
|
+
box-shadow: none;
|
146
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
147
|
+
}
|
148
|
+
.redactor-toolbar li {
|
149
|
+
vertical-align: top;
|
150
|
+
display: inline-block;
|
151
|
+
margin: 0 !important;
|
152
|
+
padding: 0 !important;
|
153
|
+
outline: none;
|
154
|
+
list-style: none !important;
|
155
|
+
-webkit-box-sizing: content-box;
|
156
|
+
-moz-box-sizing: content-box;
|
157
|
+
box-sizing: content-box;
|
158
|
+
}
|
159
|
+
.redactor-toolbar li a {
|
160
|
+
display: block;
|
161
|
+
color: #333;
|
162
|
+
text-align: center;
|
163
|
+
padding: 9px 10px;
|
164
|
+
outline: none;
|
165
|
+
border: none;
|
166
|
+
text-decoration: none;
|
167
|
+
cursor: pointer;
|
168
|
+
zoom: 1;
|
169
|
+
-webkit-box-sizing: content-box;
|
170
|
+
-moz-box-sizing: content-box;
|
171
|
+
box-sizing: content-box;
|
172
|
+
}
|
173
|
+
.redactor-toolbar li a:hover {
|
174
|
+
outline: none;
|
175
|
+
background-color: #1f78d8;
|
176
|
+
color: #fff;
|
177
|
+
}
|
178
|
+
.redactor-toolbar li a:hover i:before {
|
179
|
+
color: #fff;
|
180
|
+
}
|
181
|
+
.redactor-toolbar li a:active,
|
182
|
+
.redactor-toolbar li a.redactor-act {
|
183
|
+
outline: none;
|
184
|
+
background-color: #ccc;
|
185
|
+
color: #444;
|
186
|
+
}
|
187
|
+
.redactor-toolbar li a.redactor-btn-image {
|
188
|
+
width: 14px;
|
189
|
+
height: 14px;
|
190
|
+
background-position: center center;
|
191
|
+
background-repeat: no-repeat;
|
192
|
+
}
|
193
|
+
.redactor-toolbar li a.fa-redactor-btn {
|
194
|
+
display: inline-block;
|
195
|
+
padding: 9px 10px 8px 10px;
|
196
|
+
line-height: 1;
|
197
|
+
}
|
198
|
+
.redactor-toolbar li a.redactor-button-disabled {
|
199
|
+
filter: alpha(opacity=30);
|
200
|
+
-moz-opacity: 0.3;
|
201
|
+
opacity: 0.3;
|
202
|
+
}
|
203
|
+
.redactor-toolbar li a.redactor-button-disabled:hover {
|
204
|
+
color: #333;
|
205
|
+
outline: none;
|
206
|
+
background-color: transparent !important;
|
207
|
+
cursor: default;
|
208
|
+
}
|
209
|
+
.redactor-toolbar li a.redactor-button-focus {
|
210
|
+
color: #fff;
|
211
|
+
background: #000;
|
212
|
+
}
|
213
|
+
/*
|
214
|
+
CodeMirror
|
215
|
+
*/
|
216
|
+
.redactor-box .CodeMirror {
|
217
|
+
display: none;
|
218
|
+
}
|
219
|
+
/*
|
220
|
+
Icons
|
221
|
+
*/
|
222
|
+
.re-icon {
|
223
|
+
font-family: 'RedactorFont';
|
224
|
+
speak: none;
|
225
|
+
font-style: normal;
|
226
|
+
font-weight: normal;
|
227
|
+
font-variant: normal;
|
228
|
+
text-transform: none;
|
229
|
+
line-height: 1;
|
230
|
+
-webkit-font-smoothing: antialiased;
|
231
|
+
-moz-osx-font-smoothing: grayscale;
|
232
|
+
}
|
233
|
+
.re-icon i:before {
|
234
|
+
position: relative;
|
235
|
+
font-size: 14px;
|
236
|
+
}
|
237
|
+
.re-video:before {
|
238
|
+
content: "\e600";
|
239
|
+
}
|
240
|
+
.re-unorderedlist:before {
|
241
|
+
content: "\e601";
|
242
|
+
}
|
243
|
+
.re-undo:before {
|
244
|
+
content: "\e602";
|
245
|
+
}
|
246
|
+
.re-underline:before {
|
247
|
+
content: "\e603";
|
248
|
+
}
|
249
|
+
.re-textdirection:before {
|
250
|
+
content: "\e604";
|
251
|
+
}
|
252
|
+
.re-fontcolor:before {
|
253
|
+
content: "\e605";
|
254
|
+
}
|
255
|
+
.re-table:before {
|
256
|
+
content: "\e606";
|
257
|
+
}
|
258
|
+
.re-redo:before {
|
259
|
+
content: "\e607";
|
260
|
+
}
|
261
|
+
.re-quote:before {
|
262
|
+
content: "\e608";
|
263
|
+
}
|
264
|
+
.re-outdent:before {
|
265
|
+
content: "\e609";
|
266
|
+
}
|
267
|
+
.re-orderedlist:before {
|
268
|
+
content: "\e60a";
|
269
|
+
}
|
270
|
+
.re-link:before {
|
271
|
+
content: "\e60b";
|
272
|
+
}
|
273
|
+
.re-horizontalrule:before {
|
274
|
+
content: "\e60c";
|
275
|
+
}
|
276
|
+
.re-italic:before {
|
277
|
+
content: "\e60d";
|
278
|
+
}
|
279
|
+
.re-indent:before {
|
280
|
+
content: "\e60e";
|
281
|
+
}
|
282
|
+
.re-image:before {
|
283
|
+
content: "\e60f";
|
284
|
+
}
|
285
|
+
.re-fullscreen:before {
|
286
|
+
content: "\e610";
|
287
|
+
}
|
288
|
+
.re-normalscreen:before {
|
289
|
+
content: "\e611";
|
290
|
+
}
|
291
|
+
.re-formatting:before {
|
292
|
+
content: "\e612";
|
293
|
+
}
|
294
|
+
.re-fontsize:before {
|
295
|
+
content: "\e613";
|
296
|
+
}
|
297
|
+
.re-fontfamily:before {
|
298
|
+
content: "\e614";
|
299
|
+
}
|
300
|
+
.re-deleted:before {
|
301
|
+
content: "\e615";
|
302
|
+
}
|
303
|
+
.re-html:before {
|
304
|
+
content: "\e616";
|
305
|
+
}
|
306
|
+
.re-clips:before {
|
307
|
+
content: "\e617";
|
308
|
+
}
|
309
|
+
.re-bold:before {
|
310
|
+
content: "\e618";
|
311
|
+
}
|
312
|
+
.re-backcolor:before {
|
313
|
+
content: "\e619";
|
314
|
+
}
|
315
|
+
.re-file:before {
|
316
|
+
content: "\e61a";
|
317
|
+
}
|
318
|
+
.re-alignright:before {
|
319
|
+
content: "\e61b";
|
320
|
+
}
|
321
|
+
.re-alignment:before,
|
322
|
+
.re-alignleft:before {
|
323
|
+
content: "\e61c";
|
324
|
+
}
|
325
|
+
.re-alignjustify:before {
|
326
|
+
content: "\e61d";
|
327
|
+
}
|
328
|
+
.re-aligncenter:before {
|
329
|
+
content: "\e61e";
|
330
|
+
}
|
331
|
+
.re-gallery:before {
|
332
|
+
content: "\e61f";
|
333
|
+
}
|
334
|
+
/*
|
335
|
+
Toolbar tooltip
|
336
|
+
*/
|
337
|
+
.redactor-toolbar-tooltip {
|
338
|
+
position: absolute;
|
339
|
+
z-index: 1054;
|
340
|
+
text-align: center;
|
341
|
+
top: 0;
|
342
|
+
left: 0;
|
343
|
+
background: #000;
|
344
|
+
color: #fff;
|
345
|
+
padding: 5px 8px;
|
346
|
+
line-height: 1;
|
347
|
+
font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
|
348
|
+
font-size: 12px;
|
349
|
+
border-radius: 2px;
|
350
|
+
}
|
351
|
+
/*
|
352
|
+
Dropdown
|
353
|
+
*/
|
354
|
+
.redactor-dropdown {
|
355
|
+
position: absolute;
|
356
|
+
top: 28px;
|
357
|
+
left: 0;
|
358
|
+
padding: 0;
|
359
|
+
min-width: 220px;
|
360
|
+
max-height: 254px;
|
361
|
+
overflow: auto;
|
362
|
+
background-color: #fff;
|
363
|
+
box-shadow: 0 1px 7px rgba(0, 0, 0, 0.25);
|
364
|
+
font-size: 14px;
|
365
|
+
font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
|
366
|
+
line-height: 1.6em;
|
367
|
+
}
|
368
|
+
.redactor-dropdown a {
|
369
|
+
display: block;
|
370
|
+
padding: 10px 15px;
|
371
|
+
color: #000;
|
372
|
+
text-decoration: none;
|
373
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.07);
|
374
|
+
}
|
375
|
+
.redactor-dropdown a:last-child {
|
376
|
+
border-bottom: none;
|
377
|
+
}
|
378
|
+
.redactor-dropdown a:hover {
|
379
|
+
background-color: #1f78d8;
|
380
|
+
color: #fff !important;
|
381
|
+
text-decoration: none;
|
382
|
+
}
|
383
|
+
.redactor-dropdown a.selected {
|
384
|
+
background-color: #000;
|
385
|
+
color: #fff;
|
386
|
+
}
|
387
|
+
.redactor-dropdown a.redactor-dropdown-link-inactive,
|
388
|
+
.redactor-dropdown a.redactor-dropdown-link-inactive:hover {
|
389
|
+
background: none;
|
390
|
+
cursor: default;
|
391
|
+
color: #000 !important;
|
392
|
+
filter: alpha(opacity=40);
|
393
|
+
-moz-opacity: 0.4;
|
394
|
+
opacity: 0.4;
|
395
|
+
}
|
396
|
+
.redactor-dropdown a.redactor-dropdown-link-selected {
|
397
|
+
color: #fff;
|
398
|
+
background: #000;
|
399
|
+
}
|
400
|
+
/*
|
401
|
+
IMAGE BOX
|
402
|
+
*/
|
403
|
+
#redactor-image-box {
|
404
|
+
position: relative;
|
405
|
+
max-width: 100%;
|
406
|
+
display: inline-block;
|
407
|
+
line-height: 0;
|
408
|
+
outline: 1px dashed rgba(0, 0, 0, 0.6);
|
409
|
+
}
|
410
|
+
#redactor-image-editter {
|
411
|
+
position: absolute;
|
412
|
+
z-index: 5;
|
413
|
+
top: 50%;
|
414
|
+
left: 50%;
|
415
|
+
margin-top: -11px;
|
416
|
+
margin-left: -18px;
|
417
|
+
line-height: 1;
|
418
|
+
background-color: #000;
|
419
|
+
color: #fff;
|
420
|
+
font-size: 11px;
|
421
|
+
padding: 7px 10px;
|
422
|
+
cursor: pointer;
|
423
|
+
}
|
424
|
+
#redactor-image-resizer {
|
425
|
+
position: absolute;
|
426
|
+
z-index: 2;
|
427
|
+
line-height: 1;
|
428
|
+
cursor: nw-resize;
|
429
|
+
bottom: -4px;
|
430
|
+
right: -5px;
|
431
|
+
border: 1px solid #fff;
|
432
|
+
background-color: #000;
|
433
|
+
width: 8px;
|
434
|
+
height: 8px;
|
435
|
+
}
|
436
|
+
/*
|
437
|
+
LINK TOOLTIP
|
438
|
+
*/
|
439
|
+
.redactor-link-tooltip {
|
440
|
+
position: absolute;
|
441
|
+
z-index: 99;
|
442
|
+
padding: 10px;
|
443
|
+
line-height: 1;
|
444
|
+
display: inline-block;
|
445
|
+
background-color: #000;
|
446
|
+
color: #555 !important;
|
447
|
+
}
|
448
|
+
.redactor-link-tooltip,
|
449
|
+
.redactor-link-tooltip a {
|
450
|
+
font-size: 12px;
|
451
|
+
font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
|
452
|
+
}
|
453
|
+
.redactor-link-tooltip a {
|
454
|
+
color: #ccc;
|
455
|
+
margin: 0 5px;
|
456
|
+
text-decoration: none;
|
457
|
+
}
|
458
|
+
.redactor-link-tooltip a:hover {
|
459
|
+
color: #fff;
|
460
|
+
}
|
461
|
+
/*
|
462
|
+
DROPAREA
|
463
|
+
*/
|
464
|
+
#redactor-droparea {
|
465
|
+
position: relative;
|
466
|
+
overflow: hidden;
|
467
|
+
padding: 140px 20px;
|
468
|
+
border: 3px dashed rgba(0, 0, 0, 0.1);
|
469
|
+
}
|
470
|
+
#redactor-droparea.drag-hover {
|
471
|
+
background: rgba(200, 222, 250, 0.75);
|
472
|
+
}
|
473
|
+
#redactor-droparea.drag-drop {
|
474
|
+
background: rgba(250, 248, 200, 0.5);
|
475
|
+
}
|
476
|
+
#redactor-droparea-placeholder {
|
477
|
+
text-align: center;
|
478
|
+
font-size: 12px;
|
479
|
+
color: rgba(0, 0, 0, 0.7);
|
480
|
+
}
|
481
|
+
/*
|
482
|
+
PROGRESS
|
483
|
+
*/
|
484
|
+
#redactor-progress {
|
485
|
+
position: fixed;
|
486
|
+
top: 0;
|
487
|
+
left: 0;
|
488
|
+
width: 100%;
|
489
|
+
z-index: 1000000;
|
490
|
+
height: 10px;
|
491
|
+
}
|
492
|
+
#redactor-progress span {
|
493
|
+
display: block;
|
494
|
+
width: 100%;
|
495
|
+
height: 100%;
|
496
|
+
background-color: #3d58a8;
|
497
|
+
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
|
498
|
+
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
|
499
|
+
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
|
500
|
+
-webkit-animation: progress-bar-stripes 2s linear infinite;
|
501
|
+
-o-animation: progress-bar-stripes 2s linear infinite;
|
502
|
+
animation: progress-bar-stripes 2s linear infinite;
|
503
|
+
background-size: 40px 40px;
|
504
|
+
}
|
505
|
+
@-webkit-keyframes progress-bar-stripes {
|
506
|
+
from {
|
507
|
+
background-position: 40px 0;
|
508
|
+
}
|
509
|
+
to {
|
510
|
+
background-position: 0 0;
|
511
|
+
}
|
512
|
+
}
|
513
|
+
@-o-keyframes progress-bar-stripes {
|
514
|
+
from {
|
515
|
+
background-position: 40px 0;
|
516
|
+
}
|
517
|
+
to {
|
518
|
+
background-position: 0 0;
|
519
|
+
}
|
520
|
+
}
|
521
|
+
@keyframes progress-bar-stripes {
|
522
|
+
from {
|
523
|
+
background-position: 40px 0;
|
524
|
+
}
|
525
|
+
to {
|
526
|
+
background-position: 0 0;
|
527
|
+
}
|
528
|
+
}
|
529
|
+
/*
|
530
|
+
MODAL
|
531
|
+
*/
|
532
|
+
#redactor-modal-overlay {
|
533
|
+
position: fixed;
|
534
|
+
top: 0;
|
535
|
+
left: 0;
|
536
|
+
margin: auto;
|
537
|
+
overflow: auto;
|
538
|
+
width: 100%;
|
539
|
+
height: 100%;
|
540
|
+
background-color: #000 !important;
|
541
|
+
filter: alpha(opacity=30);
|
542
|
+
-moz-opacity: 0.3;
|
543
|
+
opacity: 0.3;
|
544
|
+
}
|
545
|
+
#redactor-modal-box {
|
546
|
+
position: fixed;
|
547
|
+
top: 0;
|
548
|
+
left: 0;
|
549
|
+
bottom: 0;
|
550
|
+
right: 0;
|
551
|
+
overflow-x: hidden;
|
552
|
+
overflow-y: auto;
|
553
|
+
}
|
554
|
+
#redactor-modal {
|
555
|
+
outline: 0;
|
556
|
+
position: relative;
|
557
|
+
margin: auto;
|
558
|
+
margin-bottom: 20px;
|
559
|
+
padding: 0;
|
560
|
+
background: #fff;
|
561
|
+
color: #000;
|
562
|
+
font-size: 14px !important;
|
563
|
+
font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
|
564
|
+
box-shadow: 0 1px 70px rgba(0, 0, 0, 0.5);
|
565
|
+
}
|
566
|
+
#redactor-modal header {
|
567
|
+
padding: 30px 40px 5px 40px;
|
568
|
+
font-size: 18px;
|
569
|
+
font-weight: bold;
|
570
|
+
}
|
571
|
+
#redactor-modal section {
|
572
|
+
padding: 30px 40px 50px 40px;
|
573
|
+
}
|
574
|
+
#redactor-modal label {
|
575
|
+
display: block;
|
576
|
+
float: none !important;
|
577
|
+
margin: 15px 0 3px 0 !important;
|
578
|
+
padding: 0;
|
579
|
+
}
|
580
|
+
#redactor-modal input[type="radio"],
|
581
|
+
#redactor-modal input[type="checkbox"] {
|
582
|
+
position: relative;
|
583
|
+
top: -1px;
|
584
|
+
}
|
585
|
+
#redactor-modal select {
|
586
|
+
width: 100%;
|
587
|
+
}
|
588
|
+
#redactor-modal input[type="text"],
|
589
|
+
#redactor-modal input[type="password"],
|
590
|
+
#redactor-modal input[type="email"],
|
591
|
+
#redactor-modal input[type="url"],
|
592
|
+
#redactor-modal textarea {
|
593
|
+
position: relative;
|
594
|
+
z-index: 2;
|
595
|
+
margin: 0;
|
596
|
+
padding: 5px 4px;
|
597
|
+
height: 28px;
|
598
|
+
border: 1px solid #ccc;
|
599
|
+
border-radius: 1px;
|
600
|
+
background-color: white;
|
601
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
|
602
|
+
color: #333;
|
603
|
+
width: 100%;
|
604
|
+
font-size: 14px;
|
605
|
+
font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
|
606
|
+
-moz-transition: border 0.3s ease-in;
|
607
|
+
transition: border 0.3s ease-in;
|
608
|
+
}
|
609
|
+
#redactor-modal input[type="text"]:focus,
|
610
|
+
#redactor-modal input[type="password"]:focus,
|
611
|
+
#redactor-modal input[type="email"]:focus,
|
612
|
+
#redactor-modal input[type="url"]:focus,
|
613
|
+
#redactor-modal textarea:focus {
|
614
|
+
outline: none;
|
615
|
+
border-color: #5ca9e4;
|
616
|
+
box-shadow: 0 0 0 2px rgba(70, 161, 231, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset;
|
617
|
+
}
|
618
|
+
#redactor-modal input[type="text"].redactor-input-error,
|
619
|
+
#redactor-modal input[type="password"].redactor-input-error,
|
620
|
+
#redactor-modal input[type="email"].redactor-input-error,
|
621
|
+
#redactor-modal input[type="url"].redactor-input-error,
|
622
|
+
#redactor-modal textarea.redactor-input-error {
|
623
|
+
border-color: #e82f2f;
|
624
|
+
box-shadow: 0 0 0 2px rgba(232, 47, 47, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset;
|
625
|
+
}
|
626
|
+
#redactor-modal textarea {
|
627
|
+
display: block;
|
628
|
+
margin-top: 4px;
|
629
|
+
line-height: 1.4em;
|
630
|
+
}
|
631
|
+
/*
|
632
|
+
Tabs in Modal
|
633
|
+
*/
|
634
|
+
#redactor-modal-tabber {
|
635
|
+
margin-bottom: 15px;
|
636
|
+
font-size: 12px;
|
637
|
+
}
|
638
|
+
#redactor-modal-tabber a {
|
639
|
+
border: 1px solid #ddd;
|
640
|
+
line-height: 1;
|
641
|
+
padding: 8px 15px;
|
642
|
+
margin-right: -1px;
|
643
|
+
text-decoration: none;
|
644
|
+
color: #000;
|
645
|
+
}
|
646
|
+
#redactor-modal-tabber a:hover {
|
647
|
+
background-color: #1f78d8;
|
648
|
+
border-color: #1f78d8;
|
649
|
+
color: #fff;
|
650
|
+
}
|
651
|
+
#redactor-modal-tabber a.active {
|
652
|
+
cursor: default;
|
653
|
+
background-color: #ddd;
|
654
|
+
border-color: #ddd;
|
655
|
+
color: rgba(0, 0, 0, 0.6);
|
656
|
+
}
|
657
|
+
/*
|
658
|
+
List in Modal
|
659
|
+
*/
|
660
|
+
#redactor-modal #redactor-modal-list {
|
661
|
+
margin-left: 0;
|
662
|
+
padding-left: 0;
|
663
|
+
list-style: none;
|
664
|
+
max-height: 250px;
|
665
|
+
overflow-x: auto;
|
666
|
+
}
|
667
|
+
#redactor-modal #redactor-modal-list li {
|
668
|
+
border-bottom: 1px solid #ddd;
|
669
|
+
}
|
670
|
+
#redactor-modal #redactor-modal-list li:last-child {
|
671
|
+
border-bottom: none;
|
672
|
+
}
|
673
|
+
#redactor-modal #redactor-modal-list a {
|
674
|
+
padding: 10px 5px;
|
675
|
+
color: #000;
|
676
|
+
text-decoration: none;
|
677
|
+
font-size: 13px;
|
678
|
+
display: block;
|
679
|
+
position: relative;
|
680
|
+
}
|
681
|
+
#redactor-modal #redactor-modal-list a:hover {
|
682
|
+
background-color: #eee;
|
683
|
+
}
|
684
|
+
#redactor-modal-close {
|
685
|
+
position: absolute;
|
686
|
+
top: 10px;
|
687
|
+
right: 10px;
|
688
|
+
width: 30px;
|
689
|
+
height: 30px;
|
690
|
+
text-align: right;
|
691
|
+
color: #bbb;
|
692
|
+
font-size: 30px;
|
693
|
+
font-weight: 300;
|
694
|
+
cursor: pointer;
|
695
|
+
-webkit-appearance: none;
|
696
|
+
padding: 0;
|
697
|
+
border: 0;
|
698
|
+
background: 0;
|
699
|
+
outline: none;
|
700
|
+
}
|
701
|
+
#redactor-modal-close:hover {
|
702
|
+
color: #000;
|
703
|
+
}
|
704
|
+
#redactor-modal footer button {
|
705
|
+
position: relative;
|
706
|
+
width: 100%;
|
707
|
+
padding: 14px 16px;
|
708
|
+
margin: 0;
|
709
|
+
outline: none;
|
710
|
+
border: none;
|
711
|
+
background-color: #ddd;
|
712
|
+
color: #000;
|
713
|
+
text-align: center;
|
714
|
+
text-decoration: none;
|
715
|
+
font-weight: normal;
|
716
|
+
font-size: 12px;
|
717
|
+
font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
|
718
|
+
line-height: 1;
|
719
|
+
cursor: pointer;
|
720
|
+
}
|
721
|
+
#redactor-modal footer button:hover {
|
722
|
+
color: #777;
|
723
|
+
background: none;
|
724
|
+
background: #bbb;
|
725
|
+
text-decoration: none;
|
726
|
+
}
|
727
|
+
#redactor-modal footer button.redactor-modal-delete-btn {
|
728
|
+
background: none;
|
729
|
+
color: #fff;
|
730
|
+
background-color: #b52525;
|
731
|
+
}
|
732
|
+
#redactor-modal footer button.redactor-modal-delete-btn:hover {
|
733
|
+
color: rgba(255, 255, 255, 0.6);
|
734
|
+
background-color: #881b1b;
|
735
|
+
}
|
736
|
+
#redactor-modal footer button.redactor-modal-action-btn {
|
737
|
+
background: none;
|
738
|
+
color: #fff;
|
739
|
+
background-color: #2461b5;
|
740
|
+
}
|
741
|
+
#redactor-modal footer button.redactor-modal-action-btn:hover {
|
742
|
+
color: rgba(255, 255, 255, 0.6);
|
743
|
+
background-color: #1a4580;
|
744
|
+
}
|
745
|
+
/*
|
746
|
+
##############################################
|
747
|
+
|
748
|
+
DROPDOWN FORMATTING
|
749
|
+
|
750
|
+
##############################################
|
751
|
+
*/
|
752
|
+
.redactor-dropdown .redactor-formatting-blockquote {
|
753
|
+
color: rgba(0, 0, 0, 0.4);
|
754
|
+
font-style: italic;
|
755
|
+
}
|
756
|
+
.redactor-dropdown .redactor-formatting-pre {
|
757
|
+
font-family: monospace, sans-serif;
|
758
|
+
}
|
759
|
+
.redactor-dropdown .redactor-formatting-h1 {
|
760
|
+
font-size: 36px;
|
761
|
+
line-height: 36px;
|
762
|
+
font-weight: bold;
|
763
|
+
}
|
764
|
+
.redactor-dropdown .redactor-formatting-h2 {
|
765
|
+
font-size: 24px;
|
766
|
+
line-height: 36px;
|
767
|
+
font-weight: bold;
|
768
|
+
}
|
769
|
+
.redactor-dropdown .redactor-formatting-h3 {
|
770
|
+
font-size: 21px;
|
771
|
+
line-height: 30px;
|
772
|
+
font-weight: bold;
|
773
|
+
}
|
774
|
+
.redactor-dropdown .redactor-formatting-h4 {
|
775
|
+
font-size: 18px;
|
776
|
+
line-height: 26px;
|
777
|
+
font-weight: bold;
|
778
|
+
}
|
779
|
+
.redactor-dropdown .redactor-formatting-h5 {
|
780
|
+
font-size: 16px;
|
781
|
+
line-height: 23px;
|
782
|
+
font-weight: bold;
|
783
|
+
}
|
784
|
+
/*
|
785
|
+
##############################################
|
786
|
+
|
787
|
+
CONTENT STYLES
|
788
|
+
|
789
|
+
##############################################
|
790
|
+
*/
|
791
|
+
.redactor-editor code,
|
792
|
+
.redactor-editor pre {
|
793
|
+
font-family: Menlo, Monaco, monospace, sans-serif !important;
|
794
|
+
cursor: text;
|
795
|
+
}
|
796
|
+
.redactor-editor div,
|
797
|
+
.redactor-editor p,
|
798
|
+
.redactor-editor ul,
|
799
|
+
.redactor-editor ol,
|
800
|
+
.redactor-editor table,
|
801
|
+
.redactor-editor dl,
|
802
|
+
.redactor-editor blockquote,
|
803
|
+
.redactor-editor pre {
|
804
|
+
font-size: 14px;
|
805
|
+
line-height: 1.6em;
|
806
|
+
}
|
807
|
+
.redactor-editor a {
|
808
|
+
color: #15c;
|
809
|
+
text-decoration: underline;
|
810
|
+
}
|
811
|
+
.redactor-editor object,
|
812
|
+
.redactor-editor embed,
|
813
|
+
.redactor-editor video,
|
814
|
+
.redactor-editor img {
|
815
|
+
max-width: 100%;
|
816
|
+
width: auto;
|
817
|
+
}
|
818
|
+
.redactor-editor video,
|
819
|
+
.redactor-editor img {
|
820
|
+
height: auto;
|
821
|
+
}
|
822
|
+
.redactor-editor div,
|
823
|
+
.redactor-editor p,
|
824
|
+
.redactor-editor ul,
|
825
|
+
.redactor-editor ol,
|
826
|
+
.redactor-editor table,
|
827
|
+
.redactor-editor dl,
|
828
|
+
.redactor-editor figure,
|
829
|
+
.redactor-editor blockquote,
|
830
|
+
.redactor-editor pre {
|
831
|
+
margin: 0;
|
832
|
+
margin-bottom: 15px;
|
833
|
+
border: none;
|
834
|
+
background: none;
|
835
|
+
box-shadow: none;
|
836
|
+
}
|
837
|
+
.redactor-editor iframe,
|
838
|
+
.redactor-editor object,
|
839
|
+
.redactor-editor hr {
|
840
|
+
margin-bottom: 15px;
|
841
|
+
}
|
842
|
+
.redactor-editor blockquote {
|
843
|
+
margin-left: 1.6em !important;
|
844
|
+
padding: 0;
|
845
|
+
text-align: left;
|
846
|
+
color: #777;
|
847
|
+
font-style: italic;
|
848
|
+
}
|
849
|
+
.redactor-editor blockquote:before,
|
850
|
+
.redactor-editor blockquote:after {
|
851
|
+
content: '';
|
852
|
+
}
|
853
|
+
.redactor-editor ul,
|
854
|
+
.redactor-editor ol {
|
855
|
+
padding-left: 2em;
|
856
|
+
}
|
857
|
+
.redactor-editor ul ul,
|
858
|
+
.redactor-editor ol ol,
|
859
|
+
.redactor-editor ul ol,
|
860
|
+
.redactor-editor ol ul {
|
861
|
+
margin: 2px;
|
862
|
+
padding: 0;
|
863
|
+
padding-left: 2em;
|
864
|
+
border: none;
|
865
|
+
}
|
866
|
+
.redactor-editor ol ol li {
|
867
|
+
list-style-type: lower-alpha;
|
868
|
+
}
|
869
|
+
.redactor-editor ol ol ol li {
|
870
|
+
list-style-type: lower-roman;
|
871
|
+
}
|
872
|
+
.redactor-editor dl dt {
|
873
|
+
font-weight: bold;
|
874
|
+
}
|
875
|
+
.redactor-editor dd {
|
876
|
+
margin-left: 1em;
|
877
|
+
}
|
878
|
+
.redactor-editor table {
|
879
|
+
border-collapse: collapse;
|
880
|
+
font-size: 1em;
|
881
|
+
width: 100%;
|
882
|
+
}
|
883
|
+
.redactor-editor table td,
|
884
|
+
.redactor-editor table th {
|
885
|
+
padding: 5px;
|
886
|
+
border: 1px solid #ddd;
|
887
|
+
vertical-align: top;
|
888
|
+
}
|
889
|
+
.redactor-editor table thead td,
|
890
|
+
.redactor-editor table th {
|
891
|
+
font-weight: bold;
|
892
|
+
border-bottom-color: #888;
|
893
|
+
}
|
894
|
+
.redactor-editor code {
|
895
|
+
background-color: #d8d7d7;
|
896
|
+
}
|
897
|
+
.redactor-editor pre {
|
898
|
+
padding: 1em;
|
899
|
+
border: 1px solid #ddd;
|
900
|
+
border-radius: 3px;
|
901
|
+
background: #f8f8f8;
|
902
|
+
font-size: 90%;
|
903
|
+
}
|
904
|
+
.redactor-editor hr {
|
905
|
+
display: block;
|
906
|
+
height: 1px;
|
907
|
+
border: 0;
|
908
|
+
border-top: 1px solid #ccc;
|
909
|
+
}
|
910
|
+
.redactor-editor h1,
|
911
|
+
.redactor-editor h2,
|
912
|
+
.redactor-editor h3,
|
913
|
+
.redactor-editor h4,
|
914
|
+
.redactor-editor h5,
|
915
|
+
.redactor-editor h6 {
|
916
|
+
font-weight: bold;
|
917
|
+
color: #000;
|
918
|
+
padding: 0;
|
919
|
+
background: none;
|
920
|
+
text-rendering: optimizeLegibility;
|
921
|
+
margin: 0 0 .5em 0;
|
922
|
+
}
|
923
|
+
.redactor-editor h1,
|
924
|
+
.redactor-editor h2,
|
925
|
+
.redactor-editor h3,
|
926
|
+
.redactor-editor h4 {
|
927
|
+
line-height: 1.3;
|
928
|
+
}
|
929
|
+
.redactor-editor h1 {
|
930
|
+
font-size: 36px;
|
931
|
+
}
|
932
|
+
.redactor-editor h2 {
|
933
|
+
font-size: 24px;
|
934
|
+
margin-bottom: .7em;
|
935
|
+
}
|
936
|
+
.redactor-editor h3 {
|
937
|
+
font-size: 21px;
|
938
|
+
}
|
939
|
+
.redactor-editor h4 {
|
940
|
+
font-size: 18px;
|
941
|
+
}
|
942
|
+
.redactor-editor h5 {
|
943
|
+
font-size: 16px;
|
944
|
+
}
|
945
|
+
.redactor-editor h6 {
|
946
|
+
font-size: 12px;
|
947
|
+
text-transform: uppercase;
|
948
|
+
}
|