push_type_admin 0.1.0.beta3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.md +20 -0
- data/README.md +3 -0
- data/app/assets/images/push_type/icon-file-audio.png +0 -0
- data/app/assets/images/push_type/icon-file-document.png +0 -0
- data/app/assets/images/push_type/icon-file-video.png +0 -0
- data/app/assets/images/push_type/pushtype-logo.png +0 -0
- data/app/assets/javascripts/push_type/admin.js.coffee +74 -0
- data/app/assets/javascripts/push_type/asset_pipeline.js.coffee.erb +17 -0
- data/app/assets/javascripts/push_type/assets.js.coffee +61 -0
- data/app/assets/javascripts/push_type/nodes.js.coffee +60 -0
- data/app/assets/stylesheets/push_type/admin.scss +515 -0
- data/app/assets/stylesheets/push_type/foundation_and_overrides.scss +1443 -0
- data/app/assets/stylesheets/push_type/froala_theme.scss +373 -0
- data/app/controllers/push_type/admin_controller.rb +14 -0
- data/app/controllers/push_type/assets_controller.rb +68 -0
- data/app/controllers/push_type/nodes_controller.rb +93 -0
- data/app/controllers/push_type/users_controller.rb +73 -0
- data/app/helpers/push_type/admin_helper.rb +15 -0
- data/app/helpers/push_type/assets_helper.rb +15 -0
- data/app/helpers/push_type/users_helper.rb +13 -0
- data/app/views/kaminari/_first_page.html.haml +2 -0
- data/app/views/kaminari/_gap.html.haml +2 -0
- data/app/views/kaminari/_last_page.html.haml +2 -0
- data/app/views/kaminari/_next_page.html.haml +2 -0
- data/app/views/kaminari/_page.html.haml +2 -0
- data/app/views/kaminari/_paginator.html.haml +11 -0
- data/app/views/kaminari/_prev_page.html.haml +2 -0
- data/app/views/layouts/push_type/admin.html.erb +55 -0
- data/app/views/push_type/assets/_form.html.haml +50 -0
- data/app/views/push_type/assets/edit.html.haml +4 -0
- data/app/views/push_type/assets/index.html.haml +34 -0
- data/app/views/push_type/assets/new.html.haml +4 -0
- data/app/views/push_type/fields/_default.html.haml +2 -0
- data/app/views/push_type/nodes/_form_fields.html.haml +61 -0
- data/app/views/push_type/nodes/_meta_table.html.haml +8 -0
- data/app/views/push_type/nodes/_new_node_button.html.haml +17 -0
- data/app/views/push_type/nodes/edit.html.haml +7 -0
- data/app/views/push_type/nodes/index.html.haml +56 -0
- data/app/views/push_type/nodes/new.html.haml +11 -0
- data/app/views/push_type/users/_form.html.haml +30 -0
- data/app/views/push_type/users/_meta_table.html.haml +0 -0
- data/app/views/push_type/users/_user.html.haml +7 -0
- data/app/views/push_type/users/edit.html.haml +4 -0
- data/app/views/push_type/users/index.html.haml +24 -0
- data/app/views/push_type/users/new.html.haml +4 -0
- data/config/initializers/inline_error_messages.rb +7 -0
- data/config/initializers/kaminari_config.rb +10 -0
- data/config/routes.rb +16 -0
- data/lib/push_type/admin/engine.rb +16 -0
- data/lib/push_type/admin.rb +27 -0
- data/lib/push_type/breadcrumbs/foundation.rb +11 -0
- data/lib/push_type/rails/form_builder.rb +13 -0
- data/lib/push_type_admin.rb +1 -0
- data/lib/tasks/push_type_tasks.rake +4 -0
- data/test/controllers/push_type/assets_controller_test.rb +67 -0
- data/test/controllers/push_type/nodes_controller_test.rb +101 -0
- data/test/controllers/push_type/users_controller_test.rb +72 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +16 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/page.rb +10 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/nodes/page.html.erb +3 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config/application.rb +14 -0
- data/test/dummy/config/boot.rb +4 -0
- data/test/dummy/config/database.yml +85 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +78 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/assets.rb +8 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/push_type.rb +5 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +59 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/migrate/20141205213506_create_push_type_users.push_type.rb +13 -0
- data/test/dummy/db/migrate/20141205213507_create_push_type_nodes.push_type.rb +25 -0
- data/test/dummy/db/migrate/20141205213508_create_push_type_node_hierarchies.push_type.rb +17 -0
- data/test/dummy/db/migrate/20141205213509_create_push_type_assets.push_type.rb +19 -0
- data/test/dummy/db/schema.rb +67 -0
- data/test/dummy/db/seeds.rb +7 -0
- data/test/dummy/log/test.log +2322 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/robots.txt +5 -0
- data/test/dummy/tmp/cache/assets/test/sass/53cc07db53069364c4116d03ae9493d85566d502/_functions.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_accordion.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_alert-boxes.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_block-grid.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_breadcrumbs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_button-groups.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_clearing.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_dropdown-buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_dropdown.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_flex-video.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_global.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_grid.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_icon-bar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_inline-lists.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_joyride.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_keystrokes.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_labels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_magellan.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_offcanvas.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_orbit.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_pagination.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_panels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_pricing-tables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_progress-bars.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_range-slider.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_reveal.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_side-nav.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_split-buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_sub-nav.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_switches.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_tables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_tabs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_thumbs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_tooltips.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_top-bar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_type.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_visibility.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/68968d876746de0885a03aacd18ec354e154ffed/foundation-icons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/805c0b657f4b79d174c13bc42a4759a57d5a5484/foundation.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/806626419a476c98acb0fcf38feea6623fb99ce0/admin.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/806626419a476c98acb0fcf38feea6623fb99ce0/foundation_and_overrides.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/806626419a476c98acb0fcf38feea6623fb99ce0/froala_theme.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/00ae61e049df7e5570b8c57835868cfe +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/042e6dec69dbf88f86f5e8c360b52bcb +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0448802b256c25a379824969bf01241e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/05f11ba90b1f59f6a65002fef96de531 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/090f2c9bc57f8e73105a98a800051354 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/09fd8b22d7c059ed78b065ffa44138a4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0a01f1c3288f982772ed595695292767 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0b83e9e8467b82a0991df336697846e0 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/10a718d020e26634ffd3071d63270dd1 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/12375f1bf3d91db0a06c3fc436918949 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/12a4fbfdcb2f1ed98ebd869761bce11e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/1505f3ddd93d7be2405c81d84a45cbfb +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/161b66dc0b76d65e577b5465f86cb767 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/18ee507bade4f16ba4f6a5c93f3aac22 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/1c63cb75109171c505bf1b6b3f26513b +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/1da46bb361bbd7b80dc66e5737dbf2a7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2479bd5cbccdeac3ab4df62c2c12e8d3 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2599cde7c63354f12928a204c42fe68b +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/25b238c2ec907a80d53955a0bb81073c +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2821176477eee8de7b9581f0564d0947 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2a00ce050c10f75691b820576ec3aefd +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2a854446f76c1902defbfa436b1e7df8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2c745da65bdbc8ebb88b6bce026972b9 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2d1bc2b9dc5ee0ed5635abc31fb1bc88 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/31c57ad31a65f9a951c6d7268cdedae5 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/337d12a0890572dfec336aa11e864651 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/3a2e7d8d06318496bd7e5c6bac44adf8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/3d4f40cd6363f1841fa7c17dcbd281ce +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/47dcfb84d9a092ad939f512e1d3db43c +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/48582f4afd1c515e7eb10a8fc2195deb +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/4c6b223eba19a3d4009cbda20ed1ae2d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/4fc498f23125a9811434c6d5d5b43b64 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/505162da4e90217e5f52f5e8f1922a0d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/557b45e924759b342404ddfb736f95a2 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/55d58e1add1ca367e262464e83ad82cf +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/55d7985953b175268932d2f7e50f64e0 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/59992ed1702654aa166f8572af80a301 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/600202d00479f08d2e69019e34d12e65 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/62462f7d0da5dfe3ae7923c7c21325c0 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/666e486cb09d9612ba03d995085ea02d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/67d67f783372c9b99e2ff84c12d38dfb +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6d21cd96abbcb6506d99fb93e8a11196 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6e714e8b8ac03d2e562e8a71c40e00f8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6f2f2b2fbb1097278be40facf7aa8447 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/72e0f0b80593c7ccfaf939c504f8127f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/7326e3e660754d56c46671c7347c5e97 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/75c5663a92b2003b794d5f5d184fde44 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/7b63c613f1053bde6004342003178a0e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/7d07558d12b9bd9b9dfa778344bab4ac +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/7ea9d575b03f8effb678d4dcedf3d079 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/7f0b91f5fa71c52d3cbe1f108fb7c942 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/805c63977d339feb2ea7b61e1141a32f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/81ba6a364949bd4ffe2732ae5745012d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/81e2498e0e1457dd93b47780ae28fc03 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/897553ff72f546645e24e94feec75255 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8a34d99aaa243ebb4e60f483a5b5a817 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8e20677e2b4bd3f063a63fcf9e673971 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8feb3d758b7824f15b301f9dc024c3f6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/932f699ead87a4b9910d47334ed14d60 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/959fa77a7302a3002d5fb1394575117b +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/969e05674f51d3b5b500e605e0292573 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/972e71e7d6b360ef56c88716f3191aaf +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/98228623f6175426b2d7964b4a921cbb +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/987bf17b1a3915d5c6d95ebda01e8f49 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/9aef3ae1f0c62b895d86ab60901dd450 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/9f65b180bd79d7b67e5fb1fe8ded1383 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a4ee671663a58ce1f1860b1e9a9d17fb +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a55e988592ebc0d8e4e4ef1244ae4da7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a590260912e62280bb115dd52a953b18 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a6453a78eb0c813a0b69a12cb7c4ab2c +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a721a930039ed66bd3f092ab1e9c8de6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a748bad0d4f5d6e6bbdf1b340905795b +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a96494099d559bfd8cb5257e21cb196c +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a970f64c67051f35069f45d8dad113a5 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/aaa6dc2bd59e21dd14b0c86a308a1d1f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/ac1b1f0c521a6acb5833209d7b18d888 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b24f2d6f62512f4cb11c6a2e44bf90e4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b28bcc6d89b692e6b74758c30e21b862 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b3b2a83d3d7d735130f0b029e58b29b8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b3d0193a1439465426a4d051a161291d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b657c356e24f45a8b92d4f4da9ff361d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b76beafa9aef0c7a18bf63fe612ecd17 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b771c2de3967bda011cf04e0979497cf +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b8a73c4d259957f05d45cb5d96d41ff1 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/ba87909b8d71ddaedd84c3f6c00dce72 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/badf6e6ab7c3d1cc2b180e5883005a40 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/bbfc8dec2c2cc07cf4c1708597316a77 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/bc732efa6ca399217b023bd1e04f0404 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/bd5b45287cfdac63ed7199b7982da02f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/bee4e1605077e29abd380b05b645cbb4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c0e7a018799e51565da4aae3cd7409b4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c190d0bdd188c43629f35b9f463b86af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c2b59fd99edc4b53754f7cb4e160452f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c42a7aac68d827f88bcc25a41cdb5591 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c5ef052e357af6829f6c522a38916fc7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c705dc7fb9e60c7d39b5c23a101cd830 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c988fd2c5c9497ccef54f79a9e444ac6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cb761fc7bfc4c192abf5c946f863ab1e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/ce523687d631719d872f2869d34803b0 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d2215e57429ecae68a054210e665d787 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d30a320df486e076298c602d428f3145 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d3921fc37cc437f0933c4dee9d089fd8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d527d40cd214f965c2751831ef138ba7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d8daf6c8e5df881485c0e1139a275f6d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d9e5382620928a6b4a8cd70bdac10aa3 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/dd803fd7a93619599c7e703c2b307411 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e05796fbbc7fcdcaefdd97534f2e4030 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e1c3eff1f3886da4c71a854d42077d10 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e568172da8ab8581f83f98dad0a73d29 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f02093872b151ddb0fd1074fe83ff846 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f100237ea34e5360da23f95cca21c340 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f25b88a46a5a3b1b179079f6c0e4039a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f31d581aaa301ef9ef6a08edc4319c35 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f5fcab9d313889bf6d14a05040aff5bc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f66bf7665e75e4d537977c71a5e39a4e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f6c61aec4cc93384f9655a7d8aba73fe +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/fa7e1f9a13f606e2603a17f8e00aa32a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/fcce52ee43ecad8cb3f18fc8f13a66b7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/fd5e59fed8301f86b74e551534fce2b2 +0 -0
- data/test/helpers/push_type/admin_helper_test.rb +25 -0
- data/test/helpers/push_type/assets_helper_test.rb +26 -0
- data/test/test_helper.rb +19 -0
- data/vendor/assets/javascripts/confirm_with_reveal.js.coffee +148 -0
- data/vendor/assets/javascripts/jquery.filedrop.js +568 -0
- data/vendor/assets/javascripts/jquery.sortable.js +81 -0
- data/vendor/assets/javascripts/jquery.sticky.js +170 -0
- metadata +724 -0
|
@@ -0,0 +1,515 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
|
3
|
+
* listed below.
|
|
4
|
+
*
|
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
|
7
|
+
*
|
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any styles
|
|
10
|
+
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
|
11
|
+
* file per style scope.
|
|
12
|
+
*
|
|
13
|
+
*= require_self
|
|
14
|
+
*= require froala_editor.min
|
|
15
|
+
*= require froala_style.min
|
|
16
|
+
*= require font-awesome
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
@import "foundation_and_overrides";
|
|
20
|
+
|
|
21
|
+
html.turbolinks-progress-bar::before {
|
|
22
|
+
background-color: $primary-color !important;
|
|
23
|
+
height: 3px !important;
|
|
24
|
+
z-index: 9;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Overrides and extensions to Foundation */
|
|
28
|
+
|
|
29
|
+
[class^="fi-"], [class~=" fi-"] {
|
|
30
|
+
&:before {
|
|
31
|
+
font-size: 1.25em;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.inline-list .active {
|
|
36
|
+
font-weight: 400;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.button i {
|
|
40
|
+
margin-right: rem-calc(5);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Custom styles */
|
|
44
|
+
|
|
45
|
+
%block-link-bg {
|
|
46
|
+
display: block;
|
|
47
|
+
@include single-transition(background-color, 200ms);
|
|
48
|
+
|
|
49
|
+
&:hover {
|
|
50
|
+
background-color: scale-color($primary-color, $lightness: 95%);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.header {
|
|
55
|
+
position: fixed;
|
|
56
|
+
top: 0;
|
|
57
|
+
left: 0;
|
|
58
|
+
z-index: 5;
|
|
59
|
+
width: 100%;
|
|
60
|
+
height: rem-calc(60);
|
|
61
|
+
padding-top: rem-calc(16);
|
|
62
|
+
background-color: $white;
|
|
63
|
+
border-bottom: 1px solid $silver;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.main {
|
|
67
|
+
padding-top: rem-calc(80);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.container {
|
|
71
|
+
position: relative;
|
|
72
|
+
margin-bottom: rem-calc(20);
|
|
73
|
+
background-color: $white;
|
|
74
|
+
border: 1px solid $crumb-border-color;
|
|
75
|
+
@include radius($global-radius);
|
|
76
|
+
|
|
77
|
+
.head {
|
|
78
|
+
position: absolute;
|
|
79
|
+
top: 0;
|
|
80
|
+
left: 0;
|
|
81
|
+
width: 100%;
|
|
82
|
+
height: rem-calc(40);
|
|
83
|
+
background-color: $white;
|
|
84
|
+
border-bottom: 1px solid $crumb-border-color;
|
|
85
|
+
@include radius($global-radius $global-radius 0 0);
|
|
86
|
+
overflow: hidden;
|
|
87
|
+
|
|
88
|
+
.btn {
|
|
89
|
+
height: 100%;
|
|
90
|
+
width: rem-calc(40);
|
|
91
|
+
line-height: rem-calc(40);
|
|
92
|
+
text-align: center;
|
|
93
|
+
border-right: 1px solid $crumb-border-color;
|
|
94
|
+
a {
|
|
95
|
+
@extend %block-link-bg;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
.title {
|
|
99
|
+
display: inline;
|
|
100
|
+
padding: rem-calc(0 15);
|
|
101
|
+
font-size: rem-calc(14);
|
|
102
|
+
line-height: rem-calc(40);
|
|
103
|
+
color: $oil;
|
|
104
|
+
}
|
|
105
|
+
.right .button {
|
|
106
|
+
margin: rem-calc(6 10 0 0)
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
.body {
|
|
110
|
+
height: calc(100% - 40px);
|
|
111
|
+
margin-top: rem-calc(40);
|
|
112
|
+
}
|
|
113
|
+
.padded {
|
|
114
|
+
padding: rem-calc(20 15);
|
|
115
|
+
}
|
|
116
|
+
.headless {
|
|
117
|
+
margin-top: 0;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.node-list {
|
|
122
|
+
@extend .no-bullet;
|
|
123
|
+
margin: 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.node-list-item {
|
|
127
|
+
position: relative;
|
|
128
|
+
padding-right: rem-calc(40);
|
|
129
|
+
border-bottom: 1px solid $crumb-border-color;
|
|
130
|
+
|
|
131
|
+
&:last-child {
|
|
132
|
+
border-bottom: none;
|
|
133
|
+
}
|
|
134
|
+
> a {
|
|
135
|
+
display: block;
|
|
136
|
+
@include single-transition(background-color, 200ms);
|
|
137
|
+
&:hover {
|
|
138
|
+
background-color: scale-color($primary-color, $lightness: 97.5%);
|
|
139
|
+
.title {
|
|
140
|
+
color: scale-color($primary-color, $lightness: -12%);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
.title {
|
|
145
|
+
height: rem-calc(40);
|
|
146
|
+
padding: rem-calc(10 15 6);
|
|
147
|
+
line-height: rem-calc(24);
|
|
148
|
+
font-size: rem-calc(18);
|
|
149
|
+
color: $tuatara;
|
|
150
|
+
overflow: hidden;
|
|
151
|
+
white-space: nowrap;
|
|
152
|
+
}
|
|
153
|
+
.meta {
|
|
154
|
+
height: rem-calc(40);
|
|
155
|
+
padding: rem-calc(0 15 0);
|
|
156
|
+
line-height: rem-calc(40);
|
|
157
|
+
font-size: rem-calc(13);
|
|
158
|
+
color: $aluminum;
|
|
159
|
+
.label {
|
|
160
|
+
margin-right: rem-calc(10);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
.buttons {
|
|
164
|
+
position: absolute;
|
|
165
|
+
top: 0;
|
|
166
|
+
right: 0;
|
|
167
|
+
width: rem-calc(40);
|
|
168
|
+
height: 100%;
|
|
169
|
+
line-height: rem-calc(40);
|
|
170
|
+
text-align: center;
|
|
171
|
+
border-left: 1px solid $crumb-border-color;
|
|
172
|
+
a {
|
|
173
|
+
@extend %block-link-bg;
|
|
174
|
+
width: 100%;
|
|
175
|
+
height: rem-calc(40);
|
|
176
|
+
&:first-child {
|
|
177
|
+
border-bottom: 1px solid $crumb-border-color;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
.handle {
|
|
182
|
+
position: absolute;
|
|
183
|
+
top: 6px;
|
|
184
|
+
left: 6px;
|
|
185
|
+
bottom: 6px;
|
|
186
|
+
width: rem-calc(19);
|
|
187
|
+
background-color: $white-smoke;
|
|
188
|
+
cursor: move;
|
|
189
|
+
@include single-transition(background-color, 200ms);
|
|
190
|
+
&:hover {
|
|
191
|
+
background-color: $gainsboro;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
.sortable & {
|
|
195
|
+
.title, .meta {
|
|
196
|
+
padding-left: rem-calc(40);
|
|
197
|
+
}
|
|
198
|
+
&.sortable-dragging {
|
|
199
|
+
background-color: $white;
|
|
200
|
+
border: 1px solid $primary-color;
|
|
201
|
+
box-shadow: 10px 10px 10px #000 !important;
|
|
202
|
+
.handle {
|
|
203
|
+
background-color: $primary-color;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.user-list-item {
|
|
210
|
+
position: relative;
|
|
211
|
+
background-color: $white;
|
|
212
|
+
border: 1px solid $crumb-border-color;
|
|
213
|
+
|
|
214
|
+
> a {
|
|
215
|
+
display: block;
|
|
216
|
+
@include single-transition(background-color, 200ms);
|
|
217
|
+
&:hover {
|
|
218
|
+
background-color: scale-color($primary-color, $lightness: 97.5%);
|
|
219
|
+
.title {
|
|
220
|
+
color: scale-color($primary-color, $lightness: -12%);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
.avatar {
|
|
225
|
+
position: absolute;
|
|
226
|
+
top: rem-calc(10);
|
|
227
|
+
left: rem-calc(10);
|
|
228
|
+
width: 48px;
|
|
229
|
+
height: 48px;
|
|
230
|
+
font-size: rem-calc(22);
|
|
231
|
+
line-height: 46px;
|
|
232
|
+
text-align: center;
|
|
233
|
+
color: $success-color;
|
|
234
|
+
background-color: $white;
|
|
235
|
+
border: 1px solid $info-color;
|
|
236
|
+
@include radius(24px);
|
|
237
|
+
}
|
|
238
|
+
.title {
|
|
239
|
+
height: rem-calc(60);
|
|
240
|
+
padding: rem-calc(20 15 0 70);
|
|
241
|
+
line-height: rem-calc(28);
|
|
242
|
+
font-size: rem-calc(18);
|
|
243
|
+
color: $tuatara;
|
|
244
|
+
overflow: hidden;
|
|
245
|
+
white-space: nowrap;
|
|
246
|
+
}
|
|
247
|
+
.meta {
|
|
248
|
+
height: rem-calc(40);
|
|
249
|
+
padding: rem-calc(0 15 0);
|
|
250
|
+
line-height: rem-calc(40);
|
|
251
|
+
font-size: rem-calc(13);
|
|
252
|
+
color: $aluminum;
|
|
253
|
+
.label {
|
|
254
|
+
margin-right: rem-calc(10);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.asset-list-item {
|
|
260
|
+
background-color: $white;
|
|
261
|
+
border: 1px solid $crumb-border-color;
|
|
262
|
+
|
|
263
|
+
> a {
|
|
264
|
+
display: block;
|
|
265
|
+
@include single-transition(background-color, 200ms);
|
|
266
|
+
&:hover {
|
|
267
|
+
background-color: scale-color($primary-color, $lightness: 97.5%);
|
|
268
|
+
.title {
|
|
269
|
+
color: scale-color($primary-color, $lightness: -12%);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
.preview img {
|
|
274
|
+
border-bottom: 1px solid $crumb-border-color;
|
|
275
|
+
}
|
|
276
|
+
.title {
|
|
277
|
+
height: rem-calc(64);
|
|
278
|
+
padding: rem-calc(8 15);
|
|
279
|
+
font-size: rem-calc(16);
|
|
280
|
+
line-height: rem-calc(24);
|
|
281
|
+
color: $tuatara;
|
|
282
|
+
overflow: hidden;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.panel {
|
|
287
|
+
@include radius($global-radius);
|
|
288
|
+
.submit, .cta {
|
|
289
|
+
.button:last-of-type {
|
|
290
|
+
margin: 0;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.side-panel {
|
|
296
|
+
background-color: $panel-bg;
|
|
297
|
+
border: 1px solid $crumb-border-color;
|
|
298
|
+
@include radius($global-radius);
|
|
299
|
+
|
|
300
|
+
.padded, .cta, .submit {
|
|
301
|
+
padding: $panel-padding;
|
|
302
|
+
}
|
|
303
|
+
.cta, .submit {
|
|
304
|
+
background-color: $white;
|
|
305
|
+
@include radius(0 0 $global-radius $global-radius);
|
|
306
|
+
.button {
|
|
307
|
+
margin: 0;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
.delete-link {
|
|
311
|
+
text-align: center;
|
|
312
|
+
margin-top: rem-calc(20);
|
|
313
|
+
a {
|
|
314
|
+
color: $alert-color;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
.asset-upload {
|
|
318
|
+
margin-top: rem-calc(20);
|
|
319
|
+
.dropzone {
|
|
320
|
+
height: 300px;
|
|
321
|
+
.icon {
|
|
322
|
+
margin-top: rem-calc(48);
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.meta-table {
|
|
329
|
+
display: table;
|
|
330
|
+
width: 100%;
|
|
331
|
+
font-size: rem-calc(14);
|
|
332
|
+
border-spacing: 0 3px;
|
|
333
|
+
color: $oil;
|
|
334
|
+
|
|
335
|
+
.meta-row {
|
|
336
|
+
display: table-row;
|
|
337
|
+
}
|
|
338
|
+
.key, .value {
|
|
339
|
+
display: table-cell;
|
|
340
|
+
}
|
|
341
|
+
.key {
|
|
342
|
+
width: 22%;
|
|
343
|
+
padding-right: rem-calc(10);
|
|
344
|
+
}
|
|
345
|
+
.value {
|
|
346
|
+
padding: rem-calc(3 9);
|
|
347
|
+
background: $vapor;
|
|
348
|
+
color: $jumbo;
|
|
349
|
+
border: 1px dotted $gainsboro;
|
|
350
|
+
@include radius($global-radius);
|
|
351
|
+
.button {
|
|
352
|
+
margin: 0;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
.editable {
|
|
356
|
+
color: $oil;
|
|
357
|
+
cursor: pointer;
|
|
358
|
+
&:hover {
|
|
359
|
+
color: $primary-color;
|
|
360
|
+
background: $ghost;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.pagination-stats {
|
|
366
|
+
margin-bottom: rem-calc(9);
|
|
367
|
+
font-size: rem-calc(12);
|
|
368
|
+
text-transform: uppercase;
|
|
369
|
+
color: $oil;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.dashboard {
|
|
373
|
+
margin-top: rem-calc(40);
|
|
374
|
+
padding: rem-calc(80 0);
|
|
375
|
+
border: 6px dashed $gainsboro;
|
|
376
|
+
|
|
377
|
+
h1 {
|
|
378
|
+
font-family: $code-font-family;
|
|
379
|
+
text-align: center;
|
|
380
|
+
color: $gainsboro;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.empty-default {
|
|
385
|
+
padding: rem-calc(38 50);
|
|
386
|
+
border: 1px solid $crumb-border-color;
|
|
387
|
+
color: $oil;
|
|
388
|
+
background-color: $white;
|
|
389
|
+
|
|
390
|
+
.container & {
|
|
391
|
+
padding: rem-calc(14 50 10);
|
|
392
|
+
border: none;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/* Form stuff */
|
|
397
|
+
|
|
398
|
+
input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="color"], textarea {
|
|
399
|
+
font-weight: 300;
|
|
400
|
+
line-height: 1.5em;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
textarea {
|
|
404
|
+
min-height: 7.5em;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
form .title {
|
|
408
|
+
input[type="text"] {
|
|
409
|
+
margin-bottom: rem-calc(8);
|
|
410
|
+
font-size: rem-calc(23);
|
|
411
|
+
font-weight: 700;
|
|
412
|
+
}
|
|
413
|
+
.error input[type="text"] {
|
|
414
|
+
margin-bottom: 0;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
form .permalink {
|
|
419
|
+
.columns {
|
|
420
|
+
opacity: 0;
|
|
421
|
+
}
|
|
422
|
+
.visible {
|
|
423
|
+
opacity: 1 !important;
|
|
424
|
+
@include single-transition(opacity, 500ms);
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.key, .value {
|
|
428
|
+
margin-right: 8px;
|
|
429
|
+
color: $form-label-font-color;
|
|
430
|
+
}
|
|
431
|
+
.key {
|
|
432
|
+
font-size: $form-label-font-size;
|
|
433
|
+
line-height: rem-calc(30);
|
|
434
|
+
font-weight: $font-weight-bold;
|
|
435
|
+
}
|
|
436
|
+
.value {
|
|
437
|
+
display: inline-block;
|
|
438
|
+
min-width: 50%;
|
|
439
|
+
padding: rem-calc(0 8);
|
|
440
|
+
font-size: 0;
|
|
441
|
+
line-height: 0;
|
|
442
|
+
background-color: $ghost;
|
|
443
|
+
border: 1px dashed $silver;
|
|
444
|
+
@include radius($global-radius);
|
|
445
|
+
span {
|
|
446
|
+
font-size: rem-calc(14);
|
|
447
|
+
line-height: rem-calc(30);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.error-icon {
|
|
453
|
+
display: inline;
|
|
454
|
+
font-size: $form-label-font-size;
|
|
455
|
+
color: $alert-color;
|
|
456
|
+
i {
|
|
457
|
+
font-size: rem-calc(18);
|
|
458
|
+
vertical-align: middle;
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
#publish-date-fields {
|
|
463
|
+
max-width: 360px;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
form .publish-date {
|
|
467
|
+
font-size: rem-calc(12);
|
|
468
|
+
select {
|
|
469
|
+
display: inline;
|
|
470
|
+
width: auto;
|
|
471
|
+
padding-right: rem-calc(20);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
form .asset-upload {
|
|
476
|
+
margin-bottom: rem-calc(20) !important;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.asset-upload {
|
|
480
|
+
.dropzone {
|
|
481
|
+
height: 175px;
|
|
482
|
+
padding: $panel-padding;
|
|
483
|
+
border: 4px dashed $crumb-border-color;
|
|
484
|
+
@include single-transition(border-color, 200ms);
|
|
485
|
+
|
|
486
|
+
.prompt, .icon {
|
|
487
|
+
text-align: center;
|
|
488
|
+
}
|
|
489
|
+
.prompt {
|
|
490
|
+
color: $aluminum;
|
|
491
|
+
font-style: italic;
|
|
492
|
+
}
|
|
493
|
+
.icon {
|
|
494
|
+
margin-top: rem-calc(24px);
|
|
495
|
+
font-size: rem-calc(48px);
|
|
496
|
+
color: $gainsboro;
|
|
497
|
+
@include single-transition(color, 200ms);
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
&.hover {
|
|
501
|
+
background-color: scale-color($primary-color, $lightness: 97.5%);
|
|
502
|
+
border-color: $primary-color;
|
|
503
|
+
.icon {
|
|
504
|
+
color: $primary-color;
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
.preview {
|
|
509
|
+
border: 1px solid $table-border-color;
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
@import "foundation-icons";
|
|
515
|
+
@import "froala_theme";
|