cd2_catton_cms 1.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +37 -0
- data/app/assets/config/c_manifest.js +2 -0
- data/app/assets/images/c/drag_handle.gif +0 -0
- data/app/assets/images/c/login_background.jpg +0 -0
- data/app/assets/images/c/main_application/hero.jpg +0 -0
- data/app/assets/images/c/main_application/search.png +0 -0
- data/app/assets/images/c/placeholder_product_image.png +0 -0
- data/app/assets/images/c/select_arrow_down_blk.png +0 -0
- data/app/assets/images/c/small_icon.png +0 -0
- data/app/assets/images/c/vendor/chosen-sprite.png +0 -0
- data/app/assets/javascripts/c/application.js +59 -0
- data/app/assets/javascripts/c/change_tag.js +49 -0
- data/app/assets/javascripts/c/chosen.js +2 -0
- data/app/assets/javascripts/c/confirm_delete.js +55 -0
- data/app/assets/javascripts/c/draggable_tree.js +223 -0
- data/app/assets/javascripts/c/dropzone_init.js +98 -0
- data/app/assets/javascripts/c/fake_table.js +87 -0
- data/app/assets/javascripts/c/master_form2/collection.js +180 -0
- data/app/assets/javascripts/c/master_form2/eu_cookie.js +1 -0
- data/app/assets/javascripts/c/master_form2/jrecord.js +116 -0
- data/app/assets/javascripts/c/master_form2/master_form.coffee +4 -0
- data/app/assets/javascripts/c/split_buttons.js.erb +15 -0
- data/app/assets/javascripts/c/things_to_be_done.js +138 -0
- data/app/assets/javascripts/c/unloadevent.js +35 -0
- data/app/assets/stylesheets/c/_core.sass +237 -0
- data/app/assets/stylesheets/c/_engine.sass +4 -0
- data/app/assets/stylesheets/c/_variables.sass +32 -0
- data/app/assets/stylesheets/c/_vendor.sass +6 -0
- data/app/assets/stylesheets/c/application/checkout/_cart.sass +85 -0
- data/app/assets/stylesheets/c/application/checkout/_checkout.sass +87 -0
- data/app/assets/stylesheets/c/application/elements/buttons.sass +34 -0
- data/app/assets/stylesheets/c/application/elements/forms.sass +135 -0
- data/app/assets/stylesheets/c/application/elements/shadows.sass +23 -0
- data/app/assets/stylesheets/c/application/partials/_breadcrumbs.sass +10 -0
- data/app/assets/stylesheets/c/application/partials/_categories_sidebars/_1.sass +53 -0
- data/app/assets/stylesheets/c/application/partials/_categories_sidebars/_2.sass +77 -0
- data/app/assets/stylesheets/c/application/partials/_footer.sass +43 -0
- data/app/assets/stylesheets/c/application/partials/_header.sass +317 -0
- data/app/assets/stylesheets/c/engine/_draggable_trees.sass +68 -0
- data/app/assets/stylesheets/c/engine/_form_pages.sass +153 -0
- data/app/assets/stylesheets/c/engine/_header_bar.sass +29 -0
- data/app/assets/stylesheets/c/engine/_index_header.sass +17 -0
- data/app/assets/stylesheets/c/engine/_layout.sass +15 -0
- data/app/assets/stylesheets/c/engine/_login.sass +38 -0
- data/app/assets/stylesheets/c/engine/_navbar.sass +19 -0
- data/app/assets/stylesheets/c/engine/_pagination.sass +16 -0
- data/app/assets/stylesheets/c/engine/_settings.sass +5 -0
- data/app/assets/stylesheets/c/engine/_sidebar.sass +20 -0
- data/app/assets/stylesheets/c/engine/_tables.sass +76 -0
- data/app/assets/stylesheets/c/engine/flash_messages.sass +2 -0
- data/app/assets/stylesheets/c/print_application.sass +167 -0
- data/app/assets/stylesheets/c/vendor/_flex_mixins.scss +394 -0
- data/app/assets/stylesheets/c/vendor/_normalize.sass +340 -0
- data/app/controllers/c/admin/blogs_controller.rb +57 -0
- data/app/controllers/c/admin/devise/passwords_controller.rb +5 -0
- data/app/controllers/c/admin/devise/sessions_controller.rb +5 -0
- data/app/controllers/c/admin/documents_controller.rb +50 -0
- data/app/controllers/c/admin/enquiries_controller.rb +22 -0
- data/app/controllers/c/admin/images_controller.rb +21 -0
- data/app/controllers/c/admin/locations_controller.rb +63 -0
- data/app/controllers/c/admin/menu_items_controller.rb +49 -0
- data/app/controllers/c/admin/pages_controller.rb +94 -0
- data/app/controllers/c/admin/projects_controller.rb +55 -0
- data/app/controllers/c/admin/redirects_controller.rb +55 -0
- data/app/controllers/c/admin/roles_controller.rb +49 -0
- data/app/controllers/c/admin/slides_controller.rb +50 -0
- data/app/controllers/c/admin/slideshows_controller.rb +34 -0
- data/app/controllers/c/admin/team_members_controller.rb +61 -0
- data/app/controllers/c/admin/testimonials_controller.rb +43 -0
- data/app/controllers/c/admin/users_controller.rb +51 -0
- data/app/controllers/c/admin_controller.rb +43 -0
- data/app/controllers/c/application_controller.rb +15 -0
- data/app/controllers/c/errors_controller.rb +12 -0
- data/app/controllers/c/front/devise/passwords_controller.rb +6 -0
- data/app/controllers/c/front/devise/registrations_controller.rb +32 -0
- data/app/controllers/c/front/devise/sessions_controller.rb +27 -0
- data/app/controllers/c/front/mailchimp_controller.rb +32 -0
- data/app/controllers/c/front_controller.rb +7 -0
- data/app/controllers/c/front_end/blogs_controller.rb +21 -0
- data/app/controllers/c/front_end/enquiries_controller.rb +32 -0
- data/app/controllers/c/front_end/pages_controller.rb +19 -0
- data/app/controllers/c/main_application_controller.rb +22 -0
- data/app/helpers/c/application_helper.rb +51 -0
- data/app/helpers/c/blogs_helper.rb +113 -0
- data/app/helpers/c/c_form_builder.rb +43 -0
- data/app/helpers/c/link_to_helper.rb +25 -0
- data/app/helpers/c/navigation_helper.rb +28 -0
- data/app/helpers/c/pages_helper.rb +27 -0
- data/app/helpers/c/storefront_helper.rb +63 -0
- data/app/mailers/c/application_mailer.rb +7 -0
- data/app/mailers/c/enquiries_mailer.rb +10 -0
- data/app/models/c/ability.rb +21 -0
- data/app/models/c/application_record.rb +6 -0
- data/app/models/c/author_record.rb +13 -0
- data/app/models/c/blog.rb +43 -0
- data/app/models/c/document.rb +17 -0
- data/app/models/c/enquiry.rb +95 -0
- data/app/models/c/image.rb +11 -0
- data/app/models/c/location.rb +18 -0
- data/app/models/c/menu_item.rb +35 -0
- data/app/models/c/non_delete.rb +10 -0
- data/app/models/c/page.rb +48 -0
- data/app/models/c/page_info.rb +16 -0
- data/app/models/c/permission.rb +9 -0
- data/app/models/c/permission_subject.rb +12 -0
- data/app/models/c/project.rb +20 -0
- data/app/models/c/redirect.rb +33 -0
- data/app/models/c/role.rb +18 -0
- data/app/models/c/slide.rb +16 -0
- data/app/models/c/slideshow.rb +23 -0
- data/app/models/c/team_member.rb +33 -0
- data/app/models/c/testimonial.rb +42 -0
- data/app/models/c/user.rb +42 -0
- data/app/models/c/user_role.rb +7 -0
- data/app/models/c/weight.rb +10 -0
- data/app/models/concerns/c/authorable.rb +18 -0
- data/app/models/concerns/c/documentable.rb +18 -0
- data/app/models/concerns/c/imageable.rb +49 -0
- data/app/models/concerns/c/non_deletable.rb +30 -0
- data/app/models/concerns/c/orderable.rb +30 -0
- data/app/models/concerns/c/previewable.rb +20 -0
- data/app/models/concerns/c/site_page.rb +89 -0
- data/app/uploaders/c/file_uploader.rb +9 -0
- data/app/uploaders/c/image_uploader.rb +39 -0
- data/app/views/c/admin/_background_jobs_dropdown.html.haml +18 -0
- data/app/views/c/admin/_bread_crumbs.html.haml +7 -0
- data/app/views/c/admin/_ebay_categories.html.haml +20 -0
- data/app/views/c/admin/_flash_messages.html.haml +5 -0
- data/app/views/c/admin/_header_bar.html.haml +18 -0
- data/app/views/c/admin/_index_table.html.haml +113 -0
- data/app/views/c/admin/_index_table_data.html.haml +17 -0
- data/app/views/c/admin/_navigation_bar.html.haml +1 -0
- data/app/views/c/admin/_preview_image.html.haml +2 -0
- data/app/views/c/admin/_preview_upload.html.haml +18 -0
- data/app/views/c/admin/_seo.html.haml +11 -0
- data/app/views/c/admin/_side_menu.html.haml +26 -0
- data/app/views/c/admin/_uploaded_images_new.html.haml +13 -0
- data/app/views/c/admin/blogs/_form.html.haml +58 -0
- data/app/views/c/admin/blogs/index.html.haml +9 -0
- data/app/views/c/admin/confirm_destroy.html.haml +6 -0
- data/app/views/c/admin/confirm_mass_destroy.html.haml +10 -0
- data/app/views/c/admin/documents/_form.html.haml +8 -0
- data/app/views/c/admin/documents/index.html.haml +9 -0
- data/app/views/c/admin/edit.html.haml +15 -0
- data/app/views/c/admin/enquiries/index.html.haml +14 -0
- data/app/views/c/admin/locations/_form.html.haml +58 -0
- data/app/views/c/admin/locations/index.html.haml +9 -0
- data/app/views/c/admin/menu_items/_form.html.haml +44 -0
- data/app/views/c/admin/menu_items/_menu_item_list_item.html.haml +10 -0
- data/app/views/c/admin/menu_items/index.html.haml +10 -0
- data/app/views/c/admin/new.html.haml +8 -0
- data/app/views/c/admin/pages/_form.html.haml +93 -0
- data/app/views/c/admin/pages/_page_list_item.html.haml +10 -0
- data/app/views/c/admin/pages/dashboard.html.erb +0 -0
- data/app/views/c/admin/pages/index.html.haml +11 -0
- data/app/views/c/admin/projects/_form.html.haml +46 -0
- data/app/views/c/admin/projects/index.html.haml +9 -0
- data/app/views/c/admin/quick_edit.js.erb +6 -0
- data/app/views/c/admin/redirects/_form.html.haml +14 -0
- data/app/views/c/admin/redirects/index.html.haml +9 -0
- data/app/views/c/admin/reload_images.js.erb +2 -0
- data/app/views/c/admin/roles/_form.html.haml +42 -0
- data/app/views/c/admin/roles/index.html.haml +17 -0
- data/app/views/c/admin/set_preview_image.js.erb +1 -0
- data/app/views/c/admin/show.html.haml +1 -0
- data/app/views/c/admin/slides/_form.html.haml +19 -0
- data/app/views/c/admin/slideshows/_form.html.haml +25 -0
- data/app/views/c/admin/slideshows/index.html.haml +8 -0
- data/app/views/c/admin/team_members/_form.html.haml +20 -0
- data/app/views/c/admin/team_members/index.html.haml +10 -0
- data/app/views/c/admin/testimonials/_form.html.haml +13 -0
- data/app/views/c/admin/testimonials/index.html.haml +8 -0
- data/app/views/c/admin/users/_form.html.haml +17 -0
- data/app/views/c/admin/users/index.html.haml +12 -0
- data/app/views/c/enquiries_mailer/new_enquiry.html.haml +14 -0
- data/app/views/c/enquiries_mailer/new_enquiry.text.haml +9 -0
- data/app/views/c/errors/404.html.haml +5 -0
- data/app/views/c/errors/500.html.haml +5 -0
- data/app/views/c/front/application/_category_item.html.haml +2 -0
- data/app/views/c/front/application/_menu_item.html.haml +4 -0
- data/app/views/c/front/application/_sales_highlight.html.haml +1 -0
- data/app/views/c/front/application/_slide.html.haml +6 -0
- data/app/views/c/front/blogs/_archive_filter_month.html.haml +2 -0
- data/app/views/c/front/blogs/_archive_filter_year.html.haml +1 -0
- data/app/views/c/front/blogs/_menu_item.html.haml +2 -0
- data/app/views/c/front_end/enquiries/new.html.haml +23 -0
- data/app/views/c/front_end/enquiries/thanks.html.haml +5 -0
- data/app/views/c/front_end/pages/_sales_highlight.html.haml +7 -0
- data/app/views/c/front_end/pages/about.html.haml +8 -0
- data/app/views/c/front_end/pages/home.html.haml +19 -0
- data/app/views/c/front_end/pages/search.html.haml +16 -0
- data/app/views/c/front_end/pages/show.html.haml +7 -0
- data/app/views/c/front_end/pages/sitemap.xml.builder +25 -0
- data/app/views/c/mailchimp/_signup_newsletter.html.haml +4 -0
- data/app/views/c/main_application/_application_bar.html.haml +22 -0
- data/app/views/c/main_application/_breadcrumbs.html.haml +7 -0
- data/app/views/c/main_application/_contact_info.html.haml +5 -0
- data/app/views/c/main_application/_footer.html.haml +49 -0
- data/app/views/c/main_application/_front_head_tags.html.haml +3 -0
- data/app/views/c/main_application/_header.html.haml +55 -0
- data/app/views/c/main_application/_site_search.html.haml +3 -0
- data/app/views/c/main_application/_yield.html.haml +5 -0
- data/app/views/devise/confirmations/new.html.erb +16 -0
- data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/app/views/devise/mailer/password_change.html.erb +3 -0
- data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/app/views/devise/passwords/edit.html.haml +26 -0
- data/app/views/devise/passwords/new.html.haml +14 -0
- data/app/views/devise/registrations/edit.html.haml +40 -0
- data/app/views/devise/registrations/new.html.haml +24 -0
- data/app/views/devise/sessions/new.html.haml +20 -0
- data/app/views/devise/shared/_links.html.erb +25 -0
- data/app/views/devise/unlocks/new.html.erb +16 -0
- data/app/views/layouts/c/application.html.haml +18 -0
- data/app/views/layouts/c/cms_login_layout.html.haml +18 -0
- data/app/views/layouts/c/mailer.html.erb +245 -0
- data/app/views/layouts/c/mailer.text.erb +3 -0
- data/app/views/layouts/c/main_application.html.haml +13 -0
- data/config/environment.rb +0 -0
- data/config/initializers/carrierwave.rb +18 -0
- data/config/initializers/devise.rb +283 -0
- data/config/initializers/rack_profiler.rb +8 -0
- data/config/locales/devise.en.yml +62 -0
- data/config/locales/en.yml +17 -0
- data/config/routes.rb +150 -0
- data/db/migrate/20160819000000_migrate_schema.rb +273 -0
- data/db/seed_data/countries.txt +227 -0
- data/lib/c/engine.rb +38 -0
- data/lib/c/version.rb +4 -0
- data/lib/cd2_catton_cms.rb +51 -0
- data/lib/tasks/c_tasks.rake +28 -0
- data/spec/dummy/Gemfile +4 -0
- data/spec/dummy/Gemfile.lock +20 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +5 -0
- data/spec/dummy/app/assets/images/placeholder.png +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +26 -0
- data/spec/dummy/app/assets/javascripts/cable.js +13 -0
- data/spec/dummy/app/assets/javascripts/pages.coffee +3 -0
- data/spec/dummy/app/assets/stylesheets/application.sass +13 -0
- data/spec/dummy/app/assets/stylesheets/c/application.sass +2 -0
- data/spec/dummy/app/controllers/application_controller.rb +10 -0
- data/spec/dummy/app/controllers/blogs_controller.rb +11 -0
- data/spec/dummy/app/controllers/pages_controller.rb +13 -0
- data/spec/dummy/app/models/application_record.rb +4 -0
- data/spec/dummy/app/models/page.rb +3 -0
- data/spec/dummy/bin/bundle +4 -0
- data/spec/dummy/bin/rails +5 -0
- data/spec/dummy/bin/rake +5 -0
- data/spec/dummy/bin/setup +35 -0
- data/spec/dummy/bin/update +30 -0
- data/spec/dummy/config/application.rb +17 -0
- data/spec/dummy/config/boot.rb +6 -0
- data/spec/dummy/config/cable.yml +9 -0
- data/spec/dummy/config/database.travis.yml +3 -0
- data/spec/dummy/config/database.yml +85 -0
- data/spec/dummy/config/environment.rb +6 -0
- data/spec/dummy/config/environments/development.rb +61 -0
- data/spec/dummy/config/environments/production.rb +87 -0
- data/spec/dummy/config/environments/test.rb +43 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +7 -0
- data/spec/dummy/config/initializers/assets.rb +21 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +8 -0
- data/spec/dummy/config/initializers/carrierwave.rb +15 -0
- data/spec/dummy/config/initializers/commercity.rb +4 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +6 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +5 -0
- data/spec/dummy/config/initializers/inflections.rb +17 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/new_framework_defaults.rb +25 -0
- data/spec/dummy/config/initializers/session_store.rb +4 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +15 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/puma.rb +48 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config/sidekiq.yml +6 -0
- data/spec/dummy/config/spring.rb +7 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/db/schema.rb +1110 -0
- data/spec/dummy/lib/tasks/reprocess_images.rake +12 -0
- data/spec/dummy/lib/tasks/reset_all.rake +44 -0
- data/spec/dummy/lib/tasks/seeds/seed_blogs.rake +8 -0
- data/spec/dummy/lib/tasks/seeds/seed_pages.rake +24 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/seed/highlight1.png +0 -0
- data/spec/dummy/seed/highlight2.png +0 -0
- data/spec/dummy/seed/images/1/main.jpg +0 -0
- data/spec/dummy/seed/images/1/thumb.JPG +0 -0
- data/spec/dummy/seed/images/1/thumb2.jpg +0 -0
- data/spec/dummy/seed/images/2/main.jpeg +0 -0
- data/spec/dummy/seed/images/2/thumb.JPG +0 -0
- data/spec/dummy/seed/images/2/thumb2.JPG +0 -0
- data/spec/dummy/spec/models/redirect_spec.rb +57 -0
- data/spec/dummy/spec/support/factory_girl.rb +8 -0
- data/spec/dummy/spec/support/seed/images/product_image.png +0 -0
- data/spec/rails_helper.rb +49 -0
- data/spec/spec_helper.rb +52 -0
- metadata +734 -0
@@ -0,0 +1,38 @@
|
|
1
|
+
.cms-signin
|
2
|
+
min-height: 100vh
|
3
|
+
&__decor-overlay
|
4
|
+
background-color: rgba($primary_color, 0.8)
|
5
|
+
position: relative
|
6
|
+
width: 100%
|
7
|
+
height: 100vh
|
8
|
+
&__decor
|
9
|
+
background-image: image_url('c/login_background.jpg')
|
10
|
+
background-size: cover
|
11
|
+
background-position: 50%
|
12
|
+
position: relative
|
13
|
+
&__header
|
14
|
+
padding-top: 100px
|
15
|
+
&__form-panel
|
16
|
+
min-width: 300px
|
17
|
+
position: relative
|
18
|
+
&__messages
|
19
|
+
padding: 14px
|
20
|
+
margin-bottom: 10px
|
21
|
+
border-radius: 3px
|
22
|
+
&__powered-by
|
23
|
+
@media (min-height: 760px)
|
24
|
+
bottom: 30px
|
25
|
+
position: absolute
|
26
|
+
height: 50px
|
27
|
+
width: 100%
|
28
|
+
margin: 40px auto 30px
|
29
|
+
background-image: image_url('c/powered_by_logo.svg')
|
30
|
+
background-size: contain
|
31
|
+
background-repeat: no-repeat
|
32
|
+
background-position: 50%
|
33
|
+
|
34
|
+
.flash
|
35
|
+
margin: 10px
|
36
|
+
|
37
|
+
.devise-form-page
|
38
|
+
padding-top: 20px
|
@@ -0,0 +1,19 @@
|
|
1
|
+
.nav-bar
|
2
|
+
height: 36px
|
3
|
+
line-height: 36px
|
4
|
+
padding: 0 20px
|
5
|
+
background-color: $light_primary_color
|
6
|
+
a
|
7
|
+
display: inline-block
|
8
|
+
padding: 0 5px
|
9
|
+
color: white
|
10
|
+
font-weight: bold
|
11
|
+
|
12
|
+
.nav-bar__section
|
13
|
+
display: inline-block
|
14
|
+
padding-right: 10px
|
15
|
+
margin-right: 10px
|
16
|
+
&:last-child
|
17
|
+
border-right: none
|
18
|
+
padding-right: 0
|
19
|
+
margin-right: 0
|
@@ -0,0 +1,16 @@
|
|
1
|
+
.pagination
|
2
|
+
padding: 20px 20px 0
|
3
|
+
*
|
4
|
+
color: rgba(white, 0.7)
|
5
|
+
a
|
6
|
+
color: white
|
7
|
+
> *
|
8
|
+
display: inline-block
|
9
|
+
padding: 8px
|
10
|
+
border-radius: 2px
|
11
|
+
background-color: $primary_color
|
12
|
+
em
|
13
|
+
font-weight: 800
|
14
|
+
color: white
|
15
|
+
font-style: normal
|
16
|
+
background-color: $dark_primary_color
|
@@ -0,0 +1,20 @@
|
|
1
|
+
.sidebar
|
2
|
+
+flex(0 0 180px)
|
3
|
+
background-color: $dark_primary_color
|
4
|
+
min-height: 100vh
|
5
|
+
padding: 50px 0 100px
|
6
|
+
|
7
|
+
.sidebar__group
|
8
|
+
margin-bottom: 32px
|
9
|
+
> *
|
10
|
+
color: white
|
11
|
+
padding: 0 20px
|
12
|
+
p
|
13
|
+
margin: 0 0 5px
|
14
|
+
text-transform: uppercase
|
15
|
+
font-size: 11px
|
16
|
+
font-weight: 700
|
17
|
+
opacity: 0.5
|
18
|
+
a
|
19
|
+
display: block
|
20
|
+
line-height: 32px
|
@@ -0,0 +1,76 @@
|
|
1
|
+
.index-table
|
2
|
+
padding: 20px
|
3
|
+
margin-bottom: 50px
|
4
|
+
&__content
|
5
|
+
border-radius: 3px
|
6
|
+
overflow: hidden
|
7
|
+
table
|
8
|
+
width: 100%
|
9
|
+
background-color: white
|
10
|
+
thead
|
11
|
+
tr
|
12
|
+
height: 50px
|
13
|
+
font-size: 11px
|
14
|
+
color: #666666
|
15
|
+
background-color: #f5f5f5
|
16
|
+
&:hover
|
17
|
+
background-color: #f5f5f5
|
18
|
+
|
19
|
+
th
|
20
|
+
font-size: 12px
|
21
|
+
color: #838D94
|
22
|
+
font-weight: 600
|
23
|
+
text-transform: uppercase
|
24
|
+
letter-spacing: .5px
|
25
|
+
|
26
|
+
tr
|
27
|
+
height: 40px
|
28
|
+
border-bottom: 1px solid #ddd
|
29
|
+
&:last-child
|
30
|
+
border-bottom: none
|
31
|
+
&.discontinued
|
32
|
+
background-color: rgba(214, 0, 0, 0.16)
|
33
|
+
&:hover
|
34
|
+
background-color: rgba(80,131,219,.05)
|
35
|
+
td, th
|
36
|
+
padding: 5px
|
37
|
+
text-align: left
|
38
|
+
&:first-child
|
39
|
+
padding-left: 15px
|
40
|
+
&:last-child
|
41
|
+
padding-right: 15px
|
42
|
+
text-align: right
|
43
|
+
&.narrow
|
44
|
+
width: 1px
|
45
|
+
.table_image
|
46
|
+
min-width: 80px
|
47
|
+
|
48
|
+
// Garish colours, just to make sure it's not forgotten!
|
49
|
+
.error_data
|
50
|
+
color: rgba(213, 23, 23, 0.66)
|
51
|
+
|
52
|
+
.success_data
|
53
|
+
color: rgba(10, 150, 10, 0.6)
|
54
|
+
|
55
|
+
.nil_data
|
56
|
+
color: #ccc
|
57
|
+
|
58
|
+
.bulk_actions_panel
|
59
|
+
opacity: 0
|
60
|
+
|
61
|
+
.bulk_actions_show .bulk_actions_panel
|
62
|
+
display: block
|
63
|
+
background-color: white
|
64
|
+
margin: 14px
|
65
|
+
position: fixed
|
66
|
+
bottom: 0
|
67
|
+
right: 0
|
68
|
+
padding: 20px
|
69
|
+
border-radius: 3px
|
70
|
+
opacity: 1
|
71
|
+
transition: opacity 0.4s
|
72
|
+
z-index: 999
|
73
|
+
width: 50%
|
74
|
+
max-width: 450px
|
75
|
+
h4
|
76
|
+
margin-top: 0
|
@@ -0,0 +1,167 @@
|
|
1
|
+
//@import tables
|
2
|
+
|
3
|
+
body
|
4
|
+
font-family: "Proxima Nova", "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif
|
5
|
+
-webkit-font-smoothing: antialiased
|
6
|
+
font-size: 80%
|
7
|
+
|
8
|
+
#print_page:not(:first-child)
|
9
|
+
page-break-before: always
|
10
|
+
|
11
|
+
|
12
|
+
a
|
13
|
+
color: black
|
14
|
+
text-decoration: none
|
15
|
+
a:hover
|
16
|
+
text-decoration: underline
|
17
|
+
img
|
18
|
+
max-width: 100%
|
19
|
+
|
20
|
+
.hidden
|
21
|
+
display: none
|
22
|
+
|
23
|
+
h1, h2, h3, h4, h5, h6, p, li
|
24
|
+
color: #333
|
25
|
+
|
26
|
+
p
|
27
|
+
line-height: 1.5rem
|
28
|
+
|
29
|
+
fieldset
|
30
|
+
border: 1px solid #eee
|
31
|
+
padding: 12px
|
32
|
+
margin-bottom: 4px
|
33
|
+
|
34
|
+
legend
|
35
|
+
font-size: 1.1rem
|
36
|
+
color: #aaa
|
37
|
+
|
38
|
+
#invoice
|
39
|
+
box-sizing: border-box
|
40
|
+
max-width: 80rem
|
41
|
+
|
42
|
+
.logo
|
43
|
+
max-width: 150px
|
44
|
+
|
45
|
+
.row
|
46
|
+
display: flex
|
47
|
+
.collapse
|
48
|
+
flex: 1
|
49
|
+
vertical-align: bottom
|
50
|
+
|
51
|
+
.label
|
52
|
+
font-weight: bold
|
53
|
+
|
54
|
+
.value
|
55
|
+
margin-bottom: 1rem
|
56
|
+
|
57
|
+
#order_items
|
58
|
+
|
59
|
+
.total_row
|
60
|
+
background-color: rgba(170, 180, 200, 0.1)
|
61
|
+
font-weight: bold
|
62
|
+
height: inherit
|
63
|
+
|
64
|
+
tbody tr
|
65
|
+
height: 4.5rem
|
66
|
+
#invoice
|
67
|
+
|
68
|
+
.print_header
|
69
|
+
display: block
|
70
|
+
margin-bottom: 0.5cm
|
71
|
+
width: 100%
|
72
|
+
|
73
|
+
div
|
74
|
+
display: inline-block
|
75
|
+
height: 2cm
|
76
|
+
|
77
|
+
.logo img
|
78
|
+
width: 120px
|
79
|
+
|
80
|
+
.order_number
|
81
|
+
float: right
|
82
|
+
font-size: 1.2rem
|
83
|
+
text-align: right
|
84
|
+
|
85
|
+
table
|
86
|
+
padding-top: 30px
|
87
|
+
table-layout: fixed
|
88
|
+
|
89
|
+
th
|
90
|
+
border: none
|
91
|
+
height: 10px
|
92
|
+
font-weight: 600
|
93
|
+
|
94
|
+
legend
|
95
|
+
display: none
|
96
|
+
|
97
|
+
thead, th, .total_row
|
98
|
+
background: transparent
|
99
|
+
|
100
|
+
.total_row
|
101
|
+
font-weight: bold
|
102
|
+
height: inherit
|
103
|
+
|
104
|
+
tbody tr
|
105
|
+
height: 4.5rem
|
106
|
+
|
107
|
+
.small_image_thumbnail
|
108
|
+
margin: auto
|
109
|
+
width: 100px
|
110
|
+
img
|
111
|
+
width: 100px
|
112
|
+
|
113
|
+
.total_row
|
114
|
+
display: none
|
115
|
+
|
116
|
+
.non_printing
|
117
|
+
display: none
|
118
|
+
|
119
|
+
div#delivery_address
|
120
|
+
font-size: 1.1rem
|
121
|
+
font-weight: 600
|
122
|
+
.label
|
123
|
+
display: none
|
124
|
+
.value
|
125
|
+
margin-bottom: 0
|
126
|
+
a
|
127
|
+
display: none
|
128
|
+
|
129
|
+
.inline_invoice_fields > div
|
130
|
+
display: table-cell
|
131
|
+
line-height: 20px
|
132
|
+
width: 180px
|
133
|
+
|
134
|
+
#payment_details
|
135
|
+
a
|
136
|
+
display: none
|
137
|
+
|
138
|
+
table
|
139
|
+
width: 100%
|
140
|
+
background-color: white
|
141
|
+
thead
|
142
|
+
tr
|
143
|
+
height: 30px
|
144
|
+
font-size: 11px
|
145
|
+
color: #666666
|
146
|
+
th
|
147
|
+
font-weight: 200
|
148
|
+
letter-spacing: 1px
|
149
|
+
text-transform: uppercase
|
150
|
+
border-bottom: 1px solid #bbb
|
151
|
+
border-top: 1px solid #bbb
|
152
|
+
|
153
|
+
tr
|
154
|
+
height: 40px
|
155
|
+
border-bottom: 1px solid #ddd
|
156
|
+
td, th
|
157
|
+
padding: 5px
|
158
|
+
text-align: left
|
159
|
+
&:first-child
|
160
|
+
padding-left: 15px
|
161
|
+
&:last-child
|
162
|
+
padding-right: 15px
|
163
|
+
text-align: right
|
164
|
+
&.narrow
|
165
|
+
width: 1px
|
166
|
+
.table_image
|
167
|
+
min-width: 80px
|