pwb 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +40 -25
- data/app/assets/fonts/fonts/FontAwesome.otf +0 -0
- data/app/assets/fonts/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fonts/fontawesome-webfont.svg +2668 -637
- data/app/assets/fonts/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/fonts/fonts/fontawesome-webfont.woff2 +0 -0
- data/app/assets/javascripts/pwb/shared/page-content.js +24 -0
- data/app/assets/javascripts/pwb/shared/squares-container.js +58 -0
- data/app/assets/javascripts/pwb/shared/vue-main.js +1 -1
- data/app/assets/javascripts/pwb/shared/vue-squares.js.erb +74 -0
- data/app/assets/javascripts/pwb/squares/tabable-section.js +47 -0
- data/app/assets/javascripts/pwb/themes/squares.js.erb +45 -0
- data/app/assets/javascripts/pwb/themes/vic.js.erb +152 -0
- data/app/assets/javascripts/pwb_admin_panel/application_legacy_1.js +5 -0
- data/app/assets/stylesheets/pwb/themes/berlin.scss +4 -0
- data/app/assets/stylesheets/pwb/themes/berlin/main.scss +1 -1
- data/app/assets/stylesheets/pwb/themes/default.scss +1 -0
- data/app/assets/stylesheets/pwb/themes/default/carousel.scss +2 -1
- data/app/assets/stylesheets/pwb/themes/default/landing_content_areas.scss +13 -13
- data/app/assets/stylesheets/pwb/themes/default/shame.scss +0 -16
- data/app/assets/stylesheets/pwb/themes/matt.scss +18 -0
- data/app/assets/stylesheets/pwb/themes/shared/liquid_templates.scss +37 -0
- data/app/assets/stylesheets/pwb/themes/shared/shame.scss +7 -0
- data/app/assets/stylesheets/pwb/themes/squares.scss +22 -0
- data/app/assets/stylesheets/pwb/themes/squares/vue-material-docs.scss +200 -0
- data/app/assets/stylesheets/pwb/themes/squares/vue-material-vars.scss +141 -0
- data/app/assets/stylesheets/pwb/themes/vic.scss +104 -0
- data/app/assets/stylesheets/pwb/themes/vic/general.scss +15 -0
- data/app/assets/stylesheets/pwb/themes/vic/landing.scss +189 -0
- data/app/assets/stylesheets/pwb/themes/vic/slider.scss +127 -0
- data/app/assets/stylesheets/pwb_admin_panel/application_legacy_1.scss +6 -0
- data/app/controllers/pwb/admin_panel_controller.rb +7 -1
- data/app/controllers/pwb/api/v1/clients_controller.rb +35 -0
- data/app/controllers/pwb/api/v1/contacts_controller.rb +41 -0
- data/app/controllers/pwb/api/v1/links_controller.rb +47 -0
- data/app/controllers/pwb/api/v1/page_controller.rb +117 -0
- data/app/controllers/pwb/api/v1/page_fragments_controller.rb +74 -0
- data/app/controllers/pwb/api/v1/properties_controller.rb +30 -9
- data/app/controllers/pwb/api/v1/sections_controller.rb +27 -26
- data/app/controllers/pwb/api/v1/website_controller.rb +11 -11
- data/app/controllers/pwb/application_controller.rb +22 -11
- data/app/controllers/pwb/{sections_controller.rb → contact_us_controller.rb} +24 -45
- data/app/controllers/pwb/css_controller.rb +5 -2
- data/app/controllers/pwb/pages_controller.rb +36 -0
- data/app/controllers/pwb/search_controller.rb +33 -11
- data/app/controllers/pwb/squares_controller.rb +48 -0
- data/app/controllers/pwb/welcome_controller.rb +30 -5
- data/app/helpers/pwb/application_helper.rb +50 -49
- data/app/helpers/pwb/css_helper.rb +14 -0
- data/app/helpers/pwb/navigation_helper.rb +82 -0
- data/app/models/pwb/contact.rb +25 -0
- data/app/models/pwb/content.rb +26 -8
- data/app/models/pwb/content_photo.rb +18 -0
- data/app/models/pwb/link.rb +41 -0
- data/app/models/pwb/message.rb +1 -1
- data/app/models/pwb/page.rb +227 -0
- data/app/models/pwb/page_content.rb +33 -0
- data/app/models/pwb/page_part.rb +17 -0
- data/app/models/pwb/preset_style.rb +37 -0
- data/app/models/pwb/prop.rb +4 -0
- data/app/models/pwb/website.rb +64 -9
- data/app/resources/pwb/api/v1/{section_resource.rb → client_resource.rb} +3 -4
- data/app/resources/pwb/api/v1/property_resource.rb +23 -4
- data/app/resources/pwb/api/v1/web_content_resource.rb +1 -1
- data/app/resources/pwb/api_public/v1/prop_resource.rb +9 -2
- data/{db/cms_fixtures/cms/layouts/about-us/content.html → app/themes/airbnb/views/layouts/pwb/_generic_modal.html.erb} +0 -0
- data/{db/cms_fixtures/cms/layouts/about-us/javascript.js → app/themes/airbnb/views/layouts/pwb/_login_modal.html.erb} +0 -0
- data/app/themes/airbnb/views/layouts/pwb/application.html.erb +82 -0
- data/app/themes/airbnb/views/pwb/_footer.html.erb +25 -0
- data/app/themes/airbnb/views/pwb/props/_images_section_carousel.html.erb +43 -0
- data/app/themes/airbnb/views/pwb/props/show.html.erb +69 -0
- data/app/themes/airbnb/views/pwb/search/_search_form_for_rent.html.erb +183 -0
- data/app/themes/airbnb/views/pwb/search/_search_results.html.erb +34 -0
- data/app/themes/airbnb/views/pwb/search/buy.html.erb +65 -0
- data/app/themes/airbnb/views/pwb/search/rent.html.erb +87 -0
- data/app/themes/airbnb/views/pwb/sections/_contact_us_form.html.erb +49 -0
- data/app/themes/airbnb/views/pwb/sections/contact_us.html.erb +56 -0
- data/app/themes/airbnb/views/pwb/welcome/_content_area_cols.html.erb +12 -0
- data/app/themes/airbnb/views/pwb/welcome/_single_property_row.html.erb +51 -0
- data/app/themes/airbnb/views/pwb/welcome/index.html.erb +66 -0
- data/app/themes/berlin/views/pwb/_footer.html.erb +15 -20
- data/app/themes/berlin/views/pwb/_header.html.erb +7 -9
- data/app/themes/berlin/views/pwb/pages/show.html.erb +50 -0
- data/app/themes/berlin/views/pwb/search/buy.html.erb +1 -1
- data/app/themes/berlin/views/pwb/search/rent.html.erb +1 -2
- data/app/themes/berlin/views/pwb/sections/contact_us.html.erb +1 -1
- data/app/themes/berlin/views/pwb/welcome/index.html.erb +51 -7
- data/app/themes/config.json +14 -0
- data/app/themes/default/views/pwb/{sections/cms.html.erb → pages/show.html.erb} +9 -8
- data/app/themes/default/views/pwb/search/buy.html.erb +1 -1
- data/app/themes/default/views/pwb/search/rent.html.erb +1 -1
- data/app/themes/default/views/pwb/sections/about_us.html.erb +8 -7
- data/app/themes/default/views/pwb/sections/contact_us.html.erb +40 -30
- data/app/themes/default/views/pwb/sections/static.html.erb +3 -20
- data/app/themes/default/views/pwb/welcome/_single_property_row.html.erb +1 -1
- data/app/themes/default/views/pwb/welcome/index.html.erb +7 -38
- data/app/themes/matt/views/layouts/pwb/application.html.erb +45 -0
- data/app/themes/matt/views/pwb/_footer.html.erb +60 -0
- data/app/themes/matt/views/pwb/_header.html.erb +105 -0
- data/app/themes/matt/views/pwb/search/buy.html.erb +65 -0
- data/app/themes/matt/views/pwb/welcome/index.html.erb +132 -0
- data/app/themes/vic/views/layouts/pwb/application.html.erb +94 -0
- data/app/themes/vic/views/pwb/_header.html.erb +100 -0
- data/app/themes/vic/views/pwb/props/_images_section_carousel.html.erb +43 -0
- data/app/themes/vic/views/pwb/props/show.html.erb +69 -0
- data/app/themes/vic/views/pwb/search/buy.html.erb +65 -0
- data/app/themes/vic/views/pwb/search/rent.html.erb +65 -0
- data/app/themes/vic/views/pwb/sections/_contact_us_form.html.erb +49 -0
- data/app/themes/vic/views/pwb/sections/contact_us.html.erb +56 -0
- data/app/themes/vic/views/pwb/welcome/_content_area_cols.html.erb +12 -0
- data/app/themes/vic/views/pwb/welcome/_single_property_row.html.erb +51 -0
- data/app/themes/vic/views/pwb/welcome/index.html.erb +27 -0
- data/app/views/devise/shared/_links.html.erb +1 -1
- data/app/views/layouts/pwb/admin_panel_error.html.erb +19 -0
- data/app/views/layouts/pwb/admin_panel_legacy_1.html.erb +21 -0
- data/app/views/layouts/pwb/squares.html.erb +72 -0
- data/app/views/pwb/_footer.html.erb +2 -6
- data/app/views/pwb/_header.html.erb +23 -25
- data/app/views/pwb/admin_panel/show_legacy_1.html.erb +3 -0
- data/app/views/pwb/custom_css/_berlin.css.erb +0 -67
- data/app/views/pwb/custom_css/_default.css.erb +0 -22
- data/app/views/pwb/custom_css/_shared.css.erb +4 -3
- data/app/views/pwb/custom_css/_vic.css.erb +10 -0
- data/app/views/pwb/props/_images_section_carousel.html.erb +1 -1
- data/app/views/pwb/search/_search_result_item.html.erb +1 -1
- data/app/views/pwb/squares/show_client.html.erb +26 -0
- data/app/views/pwb/squares/show_prop.html.erb +26 -0
- data/app/views/pwb/squares/vue.html.erb +1 -0
- data/config/client_setups/default.json +28 -27
- data/config/initializers/i18n_globalise.rb +4 -0
- data/config/locales/admin.en.yml +38 -7
- data/config/locales/admin.es.yml +60 -6
- data/config/locales/admin.pt.yml +474 -0
- data/config/locales/admin.ru.yml +49 -6
- data/config/locales/devise.it.yml +137 -0
- data/config/locales/en.yml +7 -7
- data/config/locales/it.yml +160 -0
- data/config/locales/pt.yml +2 -0
- data/config/locales/rails.it.yml +213 -0
- data/config/locales/tr.yml +36 -36
- data/config/locales/vi.yml +5 -5
- data/config/preset_styles/green_amber.json +23 -0
- data/config/preset_styles/purple_teal.json +23 -0
- data/config/preset_styles/red_light.json +18 -0
- data/config/routes.rb +35 -23
- data/db/example_images/carousel_villa_with_pool.jpg +0 -0
- data/db/example_images/flat_luxury_dining_area.jpg +0 -0
- data/db/example_images/flat_luxury_living_area.jpg +0 -0
- data/db/migrate/20161120103546_create_pwb_props.rb +3 -3
- data/db/migrate/20161122174847_create_pwb_sections.rb +9 -8
- data/db/migrate/20161128221919_create_pwb_clients.rb +1 -0
- data/db/migrate/20170315195413_add_extra_cols_to_pwb_sections.rb +7 -6
- data/db/migrate/20170716075456_create_pwb_pages.rb +23 -0
- data/db/migrate/20170716110121_translate_pages.rb +17 -0
- data/db/migrate/20170720183443_create_pwb_links.rb +29 -0
- data/db/migrate/20170720201601_translate_links.rb +13 -0
- data/db/migrate/20170915094326_create_pwb_page_contents.rb +17 -0
- data/db/migrate/20170917215533_add_page_part_key_to_pwb_contents.rb +7 -0
- data/db/migrate/20170919134945_add_block_key_to_pwb_content_photos.rb +5 -0
- data/db/migrate/20170923195321_create_pwb_contacts.rb +33 -0
- data/db/migrate/20171011212930_create_pwb_page_parts.rb +30 -0
- data/db/seeds/translations_es.rb +1 -87
- data/db/seeds/translations_it.rb +92 -0
- data/db/yml_seeds/agency_address.yml +8 -8
- data/db/yml_seeds/contacts.yml +13 -0
- data/db/yml_seeds/content_translations/en.yml +73 -0
- data/db/yml_seeds/content_translations/es.yml +74 -0
- data/db/yml_seeds/content_translations/it.yml +73 -0
- data/db/yml_seeds/content_translations/pt.yml +73 -0
- data/db/yml_seeds/{content/footer.yml → footer.yml} +0 -0
- data/db/yml_seeds/links.yml +389 -0
- data/db/yml_seeds/page_parts/ABOUT_PAGE_PARTS.md +5 -0
- data/db/yml_seeds/page_parts/about-us__content_html.yml +24 -0
- data/db/yml_seeds/page_parts/about-us__our_agency.yml +51 -0
- data/db/yml_seeds/page_parts/contact-us__content_html.yml +24 -0
- data/db/yml_seeds/page_parts/contact-us__form_and_map.yml +17 -0
- data/db/yml_seeds/page_parts/home__about_us_services.yml +85 -0
- data/db/yml_seeds/page_parts/home__content_html.yml +24 -0
- data/db/yml_seeds/page_parts/home__landing_hero.yml +51 -0
- data/db/yml_seeds/page_parts/legal__content_html.yml +24 -0
- data/db/yml_seeds/page_parts/privacy__content_html.yml +24 -0
- data/db/yml_seeds/page_parts/sell__content_html.yml +24 -0
- data/db/yml_seeds/pages/about.yml +11 -0
- data/db/yml_seeds/pages/buy.yml +23 -0
- data/db/yml_seeds/pages/contact.yml +12 -0
- data/db/yml_seeds/pages/home.yml +15 -0
- data/db/yml_seeds/pages/legal_notice.yml +11 -0
- data/db/yml_seeds/pages/privacy_policy.yml +11 -0
- data/db/yml_seeds/pages/rent.yml +15 -0
- data/db/yml_seeds/pages/sell.yml +13 -0
- data/db/yml_seeds/prop/flat_for_rent.yml +11 -11
- data/db/yml_seeds/prop/flat_for_rent_2.yml +57 -0
- data/db/yml_seeds/prop/flat_for_sale.yml +11 -12
- data/db/yml_seeds/prop/flat_for_sale_2.yml +56 -0
- data/db/yml_seeds/prop/villa_for_rent.yml +14 -14
- data/db/yml_seeds/prop/villa_for_sale.yml +15 -15
- data/db/yml_seeds/prop_spain/flat_for_rent.yml +58 -0
- data/db/yml_seeds/prop_spain/flat_for_sale.yml +58 -0
- data/db/yml_seeds/prop_spain/villa_for_rent.yml +58 -0
- data/db/yml_seeds/prop_spain/villa_for_sale.yml +59 -0
- data/db/yml_seeds/sections.yml +119 -119
- data/db/yml_seeds/{content → to_delete}/about_us.yml +0 -0
- data/db/yml_seeds/{content → to_delete}/carousel.yml +0 -0
- data/db/yml_seeds/{content → to_delete}/content_columns.yml +0 -0
- data/db/yml_seeds/to_delete/footer.yml +15 -0
- data/db/yml_seeds/{content → to_delete}/sell.yml +0 -0
- data/db/yml_seeds/{content → to_delete}/static.yml +0 -0
- data/db/yml_seeds/website.yml +2 -1
- data/lib/pwb/engine.rb +16 -2
- data/lib/pwb/pages_seeder.rb +190 -0
- data/lib/pwb/seeder.rb +56 -14
- data/lib/pwb/version.rb +1 -1
- data/lib/tasks/pwb_tasks.rake +19 -2
- data/spec/controllers/pwb/api/v1/propeties_controller_spec.rb +2 -2
- data/spec/controllers/pwb/welcome_controller_spec.rb +18 -5
- data/spec/dummy/config/initializers/assets.rb +9 -0
- data/spec/dummy/config/routes.rb +2 -0
- data/spec/dummy/config/secrets.yml +3 -0
- data/spec/dummy/db/migrate/20171201161323_create_property_web_scraper_import_hosts.property_web_scraper.rb +22 -0
- data/spec/dummy/db/migrate/20171201161324_create_property_web_scraper_listings.property_web_scraper.rb +84 -0
- data/spec/dummy/db/schema.rb +475 -398
- data/spec/factories/pwb_contacts.rb +5 -0
- data/spec/factories/pwb_contents.rb +3 -0
- data/spec/factories/pwb_links.rb +5 -0
- data/spec/factories/pwb_page_contents.rb +5 -0
- data/spec/factories/pwb_page_parts.rb +8 -0
- data/spec/factories/pwb_pages.rb +29 -0
- data/spec/factories/pwb_prop_photos.rb +11 -2
- data/spec/fixtures/mls/properties_interealty.json +1 -496
- data/spec/fixtures/params/bulk_create.json +3 -3
- data/spec/libraries/pwb/pages_seeder_spec.rb +56 -0
- data/spec/libraries/pwb/seeder_spec.rb +14 -10
- data/spec/models/pwb/contact_spec.rb +7 -0
- data/spec/models/pwb/link_spec.rb +7 -0
- data/spec/models/pwb/page_content_spec.rb +7 -0
- data/spec/models/pwb/page_part_spec.rb +7 -0
- data/spec/models/pwb/page_spec.rb +28 -0
- data/spec/models/pwb/website_spec.rb +10 -0
- data/spec/rails_helper.rb +1 -1
- data/spec/requests/pwb/themes_spec.rb +15 -10
- data/spec/views/pwb/application_layout.html.erb_spec.rb +28 -21
- data/spec/views/pwb/contact_us.html.erb_spec.rb +11 -0
- data/spec/views/pwb/welcome.html.erb_spec.rb +13 -9
- metadata +230 -244
- data/app/controllers/pwb/api/v1/cms_pages_controller.rb +0 -102
- data/app/controllers/pwb/comfy_controller.rb +0 -106
- data/app/models/pwb/cms_page_container.rb +0 -9
- data/app/models/pwb/section.rb +0 -35
- data/app/models/pwb/welcome.rb +0 -4
- data/app/resources/pwb/api/v1/cms_block_resource.rb +0 -11
- data/app/resources/pwb/api/v1/cms_page_resource.rb +0 -27
- data/app/themes/berlin/views/pwb/sections/about_us.html.erb +0 -59
- data/app/themes/berlin/views/pwb/sections/cms.html.erb +0 -34
- data/app/themes/berlin/views/pwb/sections/static.html.erb +0 -58
- data/app/views/pwb/search/_search_result_item_to_del.html.erb +0 -56
- data/config/cms_page_containers/about-us.json +0 -18
- data/config/cms_page_containers/about.json +0 -107
- data/config/cms_page_containers/landing.json +0 -19
- data/config/cms_page_containers/legal.json +0 -17
- data/config/cms_page_containers/sell.json +0 -96
- data/config/initializers/comfortable_mexican_sofa.rb +0 -142
- data/config/initializers/i18n.rb +0 -1
- data/db/cms_fixtures/cms/categories/pages.yml +0 -3
- data/db/cms_fixtures/cms/files/_rerenting-landing_framed.png.yml +0 -6
- data/db/cms_fixtures/cms/files/rerenting-landing_framed.png +0 -0
- data/db/cms_fixtures/cms/layouts/about-us/attributes.yml +0 -4
- data/db/cms_fixtures/cms/layouts/about-us/people/attributes.yml +0 -4
- data/db/cms_fixtures/cms/layouts/about-us/people/content.html +0 -55
- data/db/cms_fixtures/cms/layouts/about-us/services/attributes.yml +0 -4
- data/db/cms_fixtures/cms/layouts/about-us/services/content.html +0 -32
- data/db/cms_fixtures/cms/layouts/about-us/services/javascript.js +0 -0
- data/db/cms_fixtures/cms/layouts/about-us/services/stylesheet.css +0 -0
- data/db/cms_fixtures/cms/layouts/about-us/stylesheet.css +0 -0
- data/db/cms_fixtures/cms/layouts/default-layout/attributes.yml +0 -4
- data/db/cms_fixtures/cms/layouts/default-layout/content.html +0 -51
- data/db/cms_fixtures/cms/layouts/default-layout/javascript.js +0 -0
- data/db/cms_fixtures/cms/layouts/default-layout/stylesheet.css +0 -0
- data/db/cms_fixtures/cms/pages/index/about-us/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/people/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_details_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_img_url_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_name_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/de/person_title_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_details_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_img_url_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_name_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/en/person_title_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_details_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_img_url_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_name_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/es/person_title_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_details_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_name_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/pt/person_title_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_details_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_img_url_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_name_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/people/ru/person_title_d.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/services/content_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/content_b.html +0 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/content_c.html +0 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/content_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/content_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/content_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/de/title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/content_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/content_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/content_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/en/title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/content_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/content_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/content_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/title_b.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/es/title_c.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/title_a.html +0 -1
- data/db/cms_fixtures/cms/pages/index/about-us/services/title_b.html +0 -0
- data/db/cms_fixtures/cms/pages/index/about-us/services/title_c.html +0 -0
- data/db/cms_fixtures/cms/pages/index/attributes.yml +0 -8
- data/db/cms_fixtures/cms/pages/index/content.html +0 -1
- data/db/cms_fixtures/cms/pages/index/title.html +0 -0
- data/db/cms_fixtures/cms/snippets/snippet1/attributes.yml +0 -3
- data/db/cms_fixtures/cms/snippets/snippet1/content.html +0 -1
- data/db/cms_fixtures/sample-site/categories/files.yml +0 -1
- data/db/cms_fixtures/sample-site/categories/pages.yml +0 -1
- data/db/cms_fixtures/sample-site/categories/snippets.yml +0 -1
- data/db/cms_fixtures/sample-site/files/_sample.jpg.yml +0 -5
- data/db/cms_fixtures/sample-site/files/sample.jpg +0 -0
- data/db/cms_fixtures/sample-site/layouts/default/attributes.yml +0 -1
- data/db/cms_fixtures/sample-site/layouts/default/content.html +0 -5
- data/db/cms_fixtures/sample-site/layouts/default/javascript.js +0 -1
- data/db/cms_fixtures/sample-site/layouts/default/nested/attributes.yml +0 -2
- data/db/cms_fixtures/sample-site/layouts/default/nested/content.haml +0 -3
- data/db/cms_fixtures/sample-site/layouts/default/nested/javascript.js +0 -1
- data/db/cms_fixtures/sample-site/layouts/default/nested/stylesheet.css +0 -1
- data/db/cms_fixtures/sample-site/layouts/default/stylesheet.css +0 -1
- data/db/cms_fixtures/sample-site/pages/index/attributes.yml +0 -6
- data/db/cms_fixtures/sample-site/pages/index/child/attributes.yml +0 -3
- data/db/cms_fixtures/sample-site/pages/index/child/left.haml +0 -1
- data/db/cms_fixtures/sample-site/pages/index/child/right.html +0 -1
- data/db/cms_fixtures/sample-site/pages/index/child/thumbnail.png +0 -0
- data/db/cms_fixtures/sample-site/pages/index/content.html +0 -2
- data/db/cms_fixtures/sample-site/snippets/default/attributes.yml +0 -4
- data/db/cms_fixtures/sample-site/snippets/default/content.html +0 -1
- data/db/migrate/20170315212222_translate_sections.rb +0 -15
- data/db/migrate/20170513221300_create_cms.rb +0 -133
- data/lib/pwb/cms_data_loader.rb +0 -38
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/test.log +0 -0
- data/spec/dummy/public/uploads/pwb/content_photo/image/1/carousel_windows.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/content_photo/image/2/carousel_deck_chair.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/content_photo/image/3/carousel_grass.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/content_photo/image/4/carousel_grass.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/1/flat_balcony.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/1/gdaje3atcct1gx2ngv9u.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/1/new_villa.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/2/flat_balcony.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/2/kitchen_modern.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/2/rxo23syongfydjpoizrd.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/3/mansion_front.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/3/vzlptgtccsk2d2ewp4id.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/4/mansion_bedroom.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/4/xwayprwnmmmhrzrgwvch.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/5/flat_window.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/5/ilxn2u37bak0v60u6f8q.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/6/kitchen_classic.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/7/flat_balcony.jpg +0 -0
- data/spec/dummy/public/uploads/pwb/prop_photo/image/8/lounge_cosy.jpg +0 -0
- data/spec/factories/pwb_sections.rb +0 -4
- data/spec/models/pwb/section_spec.rb +0 -11
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
.carousel-1 {
|
5
5
|
overflow: hidden;
|
6
|
-
margin-bottom: 20px
|
6
|
+
/*margin-bottom: 20px*/
|
7
7
|
}
|
8
8
|
|
9
9
|
.carousel-1.carousel-fixed-height .carousel-inner {
|
@@ -127,6 +127,7 @@
|
|
127
127
|
}
|
128
128
|
.carousel-content {
|
129
129
|
padding: 50px 40px;
|
130
|
+
font-size: xx-large;
|
130
131
|
}
|
131
132
|
.shade {
|
132
133
|
background: gray;
|
@@ -10,14 +10,14 @@
|
|
10
10
|
background: #fcfcfc;
|
11
11
|
}
|
12
12
|
|
13
|
-
.services-section .container .services-wrapper {
|
13
|
+
.services-section .bst-container .services-wrapper {
|
14
14
|
margin-top: 45px;
|
15
15
|
/* float: left;
|
16
16
|
width: 100%;
|
17
17
|
*/
|
18
18
|
}
|
19
19
|
|
20
|
-
.services-section .container .services-wrapper .single-service {
|
20
|
+
.services-section .bst-container .services-wrapper .single-service {
|
21
21
|
width: 100% !important;
|
22
22
|
/* having to use above to override col-md-4 which I foolishly
|
23
23
|
include in db content - impossible to add margin between cols the
|
@@ -38,7 +38,7 @@
|
|
38
38
|
-webkit-transition: all 300ms ease-in-out;
|
39
39
|
}
|
40
40
|
|
41
|
-
.services-section .container .services-wrapper .single-service h4 {
|
41
|
+
.services-section .bst-container .services-wrapper .single-service h4 {
|
42
42
|
font-size: 20px;
|
43
43
|
font-weight: 500;
|
44
44
|
margin-top: 30px;
|
@@ -48,14 +48,14 @@
|
|
48
48
|
-webkit-transition: all 300ms ease-in-out;
|
49
49
|
}
|
50
50
|
|
51
|
-
.services-section .container .services-wrapper .single-service p {
|
51
|
+
.services-section .bst-container .services-wrapper .single-service p {
|
52
52
|
font-size: 15px;
|
53
53
|
font-weight: 400;
|
54
54
|
/* color:#bababa;
|
55
55
|
*/
|
56
56
|
}
|
57
57
|
|
58
|
-
.services-section .container .services-wrapper .single-service .icon-service {
|
58
|
+
.services-section .bst-container .services-wrapper .single-service .icon-service {
|
59
59
|
color: #B2B2B2;
|
60
60
|
font-size: 45px;
|
61
61
|
border: 1px solid #B2B2B2;
|
@@ -70,7 +70,7 @@
|
|
70
70
|
-webkit-transition: all 300ms ease-in-out;
|
71
71
|
}
|
72
72
|
|
73
|
-
.services-section .container .services-wrapper .single-service .bordered {
|
73
|
+
.services-section .bst-container .services-wrapper .single-service .bordered {
|
74
74
|
/*border: 2px solid #0095e6;*/
|
75
75
|
width: 25%;
|
76
76
|
margin: 13px auto -4px;
|
@@ -80,7 +80,7 @@
|
|
80
80
|
-webkit-transition: all 300ms ease-in-out;
|
81
81
|
}
|
82
82
|
|
83
|
-
.services-section .container .services-wrapper .single-service .top-bordered {
|
83
|
+
.services-section .bst-container .services-wrapper .single-service .top-bordered {
|
84
84
|
margin: 0 auto;
|
85
85
|
opacity: 0;
|
86
86
|
transition: all 300ms ease-in-out;
|
@@ -90,32 +90,32 @@
|
|
90
90
|
}
|
91
91
|
|
92
92
|
|
93
|
-
/*.services-section .container .services-wrapper .single-service .icon-service {
|
93
|
+
/*.services-section .bst-container .services-wrapper .single-service .icon-service {
|
94
94
|
color: #0095e6;
|
95
95
|
border-color: #0095e6;
|
96
96
|
}
|
97
97
|
*/
|
98
98
|
|
99
99
|
|
100
|
-
/*.services-section .container .services-wrapper .single-service:hover h4 {
|
100
|
+
/*.services-section .bst-container .services-wrapper .single-service:hover h4 {
|
101
101
|
color: #0095e6;
|
102
102
|
}
|
103
103
|
*/
|
104
104
|
|
105
|
-
.services-section .container .services-wrapper .single-service:hover .top-bordered {
|
105
|
+
.services-section .bst-container .services-wrapper .single-service:hover .top-bordered {
|
106
106
|
opacity: 1;
|
107
107
|
}
|
108
108
|
|
109
|
-
.services-section .container .services-wrapper .single-service p {
|
109
|
+
.services-section .bst-container .services-wrapper .single-service p {
|
110
110
|
text-align: left;
|
111
111
|
padding: 2%;
|
112
112
|
}
|
113
113
|
|
114
|
-
.services-section .container .services-wrapper .single-service h4 {
|
114
|
+
.services-section .bst-container .services-wrapper .single-service h4 {
|
115
115
|
text-align: center;
|
116
116
|
}
|
117
117
|
|
118
|
-
.services-section .container .services-wrapper .single-service .icon-service {
|
118
|
+
.services-section .bst-container .services-wrapper .single-service .icon-service {
|
119
119
|
text-align: center;
|
120
120
|
-webkit-border-radius: 100px;
|
121
121
|
-moz-border-radius: 100px;
|
@@ -1,16 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
/*
|
4
|
-
.table {
|
5
|
-
display: table
|
6
|
-
}
|
7
|
-
table {
|
8
|
-
border-collapse: collapse;
|
9
|
-
border-spacing: 0
|
10
|
-
}
|
11
|
-
*/
|
12
|
-
|
13
|
-
|
14
1
|
/*below needed for property details table*/
|
15
2
|
|
16
3
|
.no-border {
|
@@ -426,9 +413,6 @@ a:hover {
|
|
426
413
|
border-right: 1px solid $base-border-color;
|
427
414
|
}
|
428
415
|
|
429
|
-
.about-us-img {
|
430
|
-
width: 100%;
|
431
|
-
}
|
432
416
|
|
433
417
|
.full-screen-container {
|
434
418
|
/* /app/views/devise/registrations/avatar.html.erb*/
|
@@ -0,0 +1,18 @@
|
|
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 any plugin's vendor/assets/stylesheets directory 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 other CSS/SCSS
|
10
|
+
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
+
* It is generally better to create a new file per style scope.
|
12
|
+
*
|
13
|
+
*/
|
14
|
+
|
15
|
+
@import "default/language_switcher";
|
16
|
+
|
17
|
+
|
18
|
+
/*@import '../../src/core/stylesheets/variables.scss';*/
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/*reapply .container styles for bootstrap to .bst-container
|
2
|
+
- renamed because .container can cause conflicts with other themes */
|
3
|
+
.bst-container {
|
4
|
+
padding-right: 15px;
|
5
|
+
padding-left: 15px;
|
6
|
+
margin-right: auto;
|
7
|
+
margin-left: auto;
|
8
|
+
}
|
9
|
+
@media (min-width: 768px) {
|
10
|
+
.bst-container {
|
11
|
+
width: 750px;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
@media (min-width: 992px) {
|
15
|
+
.bst-container {
|
16
|
+
width: 970px;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
@media (min-width: 1200px) {
|
20
|
+
.bst-container {
|
21
|
+
width: 1170px;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
|
26
|
+
/*for section defined in liquid template*/
|
27
|
+
.content-html-section {
|
28
|
+
padding-top: 40px;
|
29
|
+
padding-bottom: 40px;
|
30
|
+
}
|
31
|
+
.about-us-img {
|
32
|
+
width: 100%;
|
33
|
+
}
|
34
|
+
.our-agency-section {
|
35
|
+
padding-bottom: 100px;
|
36
|
+
padding-top: 40px;
|
37
|
+
}
|
@@ -0,0 +1,22 @@
|
|
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 any plugin's vendor/assets/stylesheets directory 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 other CSS/SCSS
|
10
|
+
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
+
* It is generally better to create a new file per style scope.
|
12
|
+
*
|
13
|
+
*/
|
14
|
+
|
15
|
+
@import "vue-material-0.7.4";
|
16
|
+
|
17
|
+
|
18
|
+
@import "squares/vue-material-vars";
|
19
|
+
@import "squares/vue-material-docs";
|
20
|
+
|
21
|
+
|
22
|
+
/*@import '../../src/core/stylesheets/variables.scss';*/
|
@@ -0,0 +1,200 @@
|
|
1
|
+
/*https://github.com/vuematerial/vue-material/blob/master/docs/src/App.vue*/
|
2
|
+
$sizebar-size: 280px;
|
3
|
+
[v-cloak] {
|
4
|
+
display: none;
|
5
|
+
}
|
6
|
+
|
7
|
+
html,
|
8
|
+
body {
|
9
|
+
height: 100%;
|
10
|
+
overflow: hidden;
|
11
|
+
}
|
12
|
+
|
13
|
+
body {
|
14
|
+
display: flex;
|
15
|
+
}
|
16
|
+
|
17
|
+
.container {
|
18
|
+
min-height: 100%;
|
19
|
+
display: flex;
|
20
|
+
flex-flow: column nowrap;
|
21
|
+
flex: 1;
|
22
|
+
transition: $swift-ease-out;
|
23
|
+
@media (min-width: 1281px) {
|
24
|
+
padding-left: $sizebar-size;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.main-sidebar.md-sidenav {
|
29
|
+
.md-sidenav-content {
|
30
|
+
width: $sizebar-size;
|
31
|
+
display: flex;
|
32
|
+
flex-flow: column;
|
33
|
+
overflow: hidden;
|
34
|
+
@media (min-width: 1281px) {
|
35
|
+
top: 0;
|
36
|
+
pointer-events: auto;
|
37
|
+
transform: translate3d(0, 0, 0) !important;
|
38
|
+
box-shadow: $material-shadow-2dp;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
.md-backdrop {
|
42
|
+
@media (min-width: 1281px) {
|
43
|
+
opacity: 0;
|
44
|
+
pointer-events: none;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
.md-toolbar {
|
48
|
+
min-height: 172px;
|
49
|
+
border-bottom: 1px solid rgba(#000, .12);
|
50
|
+
}
|
51
|
+
.vue-material-logo {
|
52
|
+
font-size: 24px;
|
53
|
+
a {
|
54
|
+
width: 100%;
|
55
|
+
display: flex;
|
56
|
+
flex-flow: column;
|
57
|
+
justify-content: center;
|
58
|
+
align-items: center;
|
59
|
+
color: inherit;
|
60
|
+
text-decoration: none;
|
61
|
+
&:hover {
|
62
|
+
color: inherit;
|
63
|
+
text-decoration: none;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
img {
|
67
|
+
width: 160px;
|
68
|
+
margin-bottom: 16px;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
.main-sidebar-links {
|
72
|
+
overflow: auto;
|
73
|
+
flex: 1;
|
74
|
+
.md-inset .md-list-item-container {
|
75
|
+
padding-left: 36px;
|
76
|
+
}
|
77
|
+
.md-list-item-container {
|
78
|
+
font-size: 14px;
|
79
|
+
font-weight: 500;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
.release-version {
|
83
|
+
padding: 8px 8px 8px 16px;
|
84
|
+
border-top: 1px solid rgba(#000, .12);
|
85
|
+
display: none;
|
86
|
+
@media (max-width: 480px) {
|
87
|
+
display: block;
|
88
|
+
}
|
89
|
+
>div {
|
90
|
+
justify-content: center;
|
91
|
+
}
|
92
|
+
.md-select:after {
|
93
|
+
color: rgba(#000, .87);
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
.main-content {
|
99
|
+
padding: 16px;
|
100
|
+
flex: 1;
|
101
|
+
overflow: auto;
|
102
|
+
background-color: #fff;
|
103
|
+
transform: translate3D(0, 0, 0);
|
104
|
+
transition: $swift-ease-out;
|
105
|
+
transition-delay: .2s;
|
106
|
+
}
|
107
|
+
|
108
|
+
.md-router-enter,
|
109
|
+
.md-router-leave {
|
110
|
+
position: absolute;
|
111
|
+
top: 0;
|
112
|
+
right: 0;
|
113
|
+
left: 0;
|
114
|
+
@media (min-width: 1281px) {
|
115
|
+
left: $sizebar-size;
|
116
|
+
}
|
117
|
+
.main-content {
|
118
|
+
opacity: 0;
|
119
|
+
overflow: hidden;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
.md-router-leave {
|
124
|
+
z-index: 1;
|
125
|
+
transition: $swift-ease-in;
|
126
|
+
transition-duration: .25s;
|
127
|
+
}
|
128
|
+
|
129
|
+
.md-router-enter {
|
130
|
+
z-index: 2;
|
131
|
+
transition: $swift-ease-out;
|
132
|
+
.main-content {
|
133
|
+
transform: translate3D(0, 10%, 0);
|
134
|
+
}
|
135
|
+
}
|
136
|
+
|
137
|
+
code {
|
138
|
+
&:not(.hljs) {
|
139
|
+
margin-left: 1px;
|
140
|
+
margin-right: 1px;
|
141
|
+
padding: 0 4px;
|
142
|
+
display: inline-block;
|
143
|
+
border-radius: 2px;
|
144
|
+
font-family: "Operator Mono", "Fira Code", Menlo, Hack, "Roboto Mono", "Liberation Mono", Monaco, monospace;
|
145
|
+
pre {
|
146
|
+
margin: 8px 0;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
.phone-viewport {
|
152
|
+
width: 360px;
|
153
|
+
height: 540px;
|
154
|
+
margin-right: 16px;
|
155
|
+
display: inline-block;
|
156
|
+
position: relative;
|
157
|
+
overflow: hidden;
|
158
|
+
background-color: #fff;
|
159
|
+
border: 1px solid rgba(#000, .12);
|
160
|
+
}
|
161
|
+
|
162
|
+
.api-table tr>td:first-child {
|
163
|
+
white-space: nowrap;
|
164
|
+
}
|
165
|
+
|
166
|
+
|
167
|
+
/*for page-content component */
|
168
|
+
|
169
|
+
.page-content {
|
170
|
+
min-height: 100%;
|
171
|
+
max-height: 100%;
|
172
|
+
flex: 1;
|
173
|
+
display: flex;
|
174
|
+
flex-flow: column
|
175
|
+
}
|
176
|
+
|
177
|
+
.main-header {
|
178
|
+
z-index: 2;
|
179
|
+
color: #fff !important;
|
180
|
+
}
|
181
|
+
|
182
|
+
.nav-trigger {
|
183
|
+
@media (min-width: 1281px) {
|
184
|
+
display: none;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
|
188
|
+
.md-title {
|
189
|
+
flex: 1;
|
190
|
+
|
191
|
+
@media (min-width: 1281px) {
|
192
|
+
margin-left: 8px;
|
193
|
+
}
|
194
|
+
}
|
195
|
+
|
196
|
+
.github {
|
197
|
+
@media (max-width: 480px) {
|
198
|
+
display: none;
|
199
|
+
}
|
200
|
+
}
|
@@ -0,0 +1,141 @@
|
|
1
|
+
/* Common */
|
2
|
+
|
3
|
+
$font-roboto: Roboto, 'Noto Sans', Noto, sans-serif;
|
4
|
+
|
5
|
+
|
6
|
+
/* Responsive Breakpoints */
|
7
|
+
|
8
|
+
$breakpoint-xsmall: 600px !default;
|
9
|
+
$breakpoint-small: 960px !default;
|
10
|
+
$breakpoint-medium: 1280px !default;
|
11
|
+
$breakpoint-large: 1920px !default;
|
12
|
+
|
13
|
+
|
14
|
+
/* Transitions - Based on Angular Material */
|
15
|
+
|
16
|
+
$swift-ease-out-duration: .4s !default;
|
17
|
+
$swift-ease-out-timing-function: cubic-bezier(.25, .8, .25, 1) !default;
|
18
|
+
$swift-ease-out: all $swift-ease-out-duration $swift-ease-out-timing-function !default;
|
19
|
+
|
20
|
+
$swift-ease-in-duration: .3s !default;
|
21
|
+
$swift-ease-in-timing-function: cubic-bezier(.55, 0, .55, .2) !default;
|
22
|
+
$swift-ease-in: all $swift-ease-in-duration $swift-ease-in-timing-function !default;
|
23
|
+
|
24
|
+
$swift-ease-in-out-duration: .5s !default;
|
25
|
+
$swift-ease-in-out-timing-function: cubic-bezier(.35, 0, .25, 1) !default;
|
26
|
+
$swift-ease-in-out: all $swift-ease-in-out-duration $swift-ease-in-out-timing-function !default;
|
27
|
+
|
28
|
+
$swift-linear-duration: .15s !default;
|
29
|
+
$swift-linear-timing-function: linear !default;
|
30
|
+
$swift-linear: all $swift-linear-duration $swift-linear-timing-function !default;
|
31
|
+
|
32
|
+
$material-enter-duration: .3s;
|
33
|
+
$material-enter-timing-function: cubic-bezier(.0, .0, .2, 1);
|
34
|
+
$material-enter: all $material-enter-duration $material-enter-timing-function;
|
35
|
+
|
36
|
+
$material-leave-duration: .3s;
|
37
|
+
$material-leave-timing-function: cubic-bezier(.4, .0, 1, 1);
|
38
|
+
$material-leave: all $material-leave-duration $material-leave-timing-function;
|
39
|
+
|
40
|
+
|
41
|
+
/* Elevation - Based on Angular Material */
|
42
|
+
|
43
|
+
$shadow-key-umbra-opacity: .2 !default;
|
44
|
+
$shadow-key-penumbra-opacity: .14 !default;
|
45
|
+
$shadow-ambient-shadow-opacity: .12 !default;
|
46
|
+
|
47
|
+
$material-shadow-1dp: 0 1px 3px rgba(#000, $shadow-key-umbra-opacity),
|
48
|
+
0 1px 1px rgba(#000, $shadow-key-penumbra-opacity),
|
49
|
+
0 2px 1px -1px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
50
|
+
|
51
|
+
$material-shadow-2dp: 0 1px 5px rgba(#000, $shadow-key-umbra-opacity),
|
52
|
+
0 2px 2px rgba(#000, $shadow-key-penumbra-opacity),
|
53
|
+
0 3px 1px -2px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
54
|
+
|
55
|
+
$material-shadow-3dp: 0 1px 8px rgba(#000, $shadow-key-umbra-opacity),
|
56
|
+
0 3px 4px rgba(#000, $shadow-key-penumbra-opacity),
|
57
|
+
0 3px 3px -2px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
58
|
+
|
59
|
+
$material-shadow-4dp: 0 2px 4px -1px rgba(#000, $shadow-key-umbra-opacity),
|
60
|
+
0 4px 5px rgba(#000, $shadow-key-penumbra-opacity),
|
61
|
+
0 1px 10px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
62
|
+
|
63
|
+
$material-shadow-5dp: 0 3px 5px -1px rgba(#000, $shadow-key-umbra-opacity),
|
64
|
+
0 5px 8px rgba(#000, $shadow-key-penumbra-opacity),
|
65
|
+
0 1px 14px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
66
|
+
|
67
|
+
$material-shadow-6dp: 0 3px 5px -1px rgba(#000, $shadow-key-umbra-opacity),
|
68
|
+
0 6px 10px rgba(#000, $shadow-key-penumbra-opacity),
|
69
|
+
0 1px 18px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
70
|
+
|
71
|
+
$material-shadow-7dp: 0 4px 5px -2px rgba(#000, $shadow-key-umbra-opacity),
|
72
|
+
0 7px 10px 1px rgba(#000, $shadow-key-penumbra-opacity),
|
73
|
+
0 2px 16px 1px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
74
|
+
|
75
|
+
$material-shadow-8dp: 0 5px 5px -3px rgba(#000, $shadow-key-umbra-opacity),
|
76
|
+
0 8px 10px 1px rgba(#000, $shadow-key-penumbra-opacity),
|
77
|
+
0 3px 14px 2px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
78
|
+
|
79
|
+
$material-shadow-9dp: 0 5px 6px -3px rgba(#000, $shadow-key-umbra-opacity),
|
80
|
+
0 9px 12px 1px rgba(#000, $shadow-key-penumbra-opacity),
|
81
|
+
0 3px 16px 2px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
82
|
+
|
83
|
+
$material-shadow-10dp: 0 6px 6px -3px rgba(#000, $shadow-key-umbra-opacity),
|
84
|
+
0 10px 14px 1px rgba(#000, $shadow-key-penumbra-opacity),
|
85
|
+
0 4px 18px 3px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
86
|
+
|
87
|
+
$material-shadow-11dp: 0 6px 7px -4px rgba(#000, $shadow-key-umbra-opacity),
|
88
|
+
0 11px 15px 1px rgba(#000, $shadow-key-penumbra-opacity),
|
89
|
+
0 4px 20px 3px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
90
|
+
|
91
|
+
$material-shadow-12dp: 0 7px 8px -4px rgba(#000, $shadow-key-umbra-opacity),
|
92
|
+
0 12px 17px 2px rgba(#000, $shadow-key-penumbra-opacity),
|
93
|
+
0 5px 22px 4px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
94
|
+
|
95
|
+
$material-shadow-13dp: 0 7px 8px -4px rgba(#000, $shadow-key-umbra-opacity),
|
96
|
+
0 13px 19px 2px rgba(#000, $shadow-key-penumbra-opacity),
|
97
|
+
0 5px 24px 4px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
98
|
+
|
99
|
+
$material-shadow-14dp: 0 7px 9px -4px rgba(#000, $shadow-key-umbra-opacity),
|
100
|
+
0 14px 21px 2px rgba(#000, $shadow-key-penumbra-opacity),
|
101
|
+
0 5px 26px 4px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
102
|
+
|
103
|
+
$material-shadow-15dp: 0 8px 9px -5px rgba(#000, $shadow-key-umbra-opacity),
|
104
|
+
0 15px 22px 2px rgba(#000, $shadow-key-penumbra-opacity),
|
105
|
+
0 6px 28px 5px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
106
|
+
|
107
|
+
$material-shadow-16dp: 0 8px 10px -5px rgba(#000, $shadow-key-umbra-opacity),
|
108
|
+
0 16px 24px 2px rgba(#000, $shadow-key-penumbra-opacity),
|
109
|
+
0 6px 30px 5px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
110
|
+
|
111
|
+
$material-shadow-17dp: 0 8px 11px -5px rgba(#000, $shadow-key-umbra-opacity),
|
112
|
+
0 17px 26px 2px rgba(#000, $shadow-key-penumbra-opacity),
|
113
|
+
0 6px 32px 5px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
114
|
+
|
115
|
+
$material-shadow-18dp: 0 9px 11px -5px rgba(#000, $shadow-key-umbra-opacity),
|
116
|
+
0 18px 28px 2px rgba(#000, $shadow-key-penumbra-opacity),
|
117
|
+
0 7px 34px 6px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
118
|
+
|
119
|
+
$material-shadow-19dp: 0 9px 12px -6px rgba(#000, $shadow-key-umbra-opacity),
|
120
|
+
0 19px 29px 2px rgba(#000, $shadow-key-penumbra-opacity),
|
121
|
+
0 7px 36px 6px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
122
|
+
|
123
|
+
$material-shadow-20dp: 0 10px 13px -6px rgba(#000, $shadow-key-umbra-opacity),
|
124
|
+
0 20px 31px 3px rgba(#000, $shadow-key-penumbra-opacity),
|
125
|
+
0 8px 38px 7px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
126
|
+
|
127
|
+
$material-shadow-21dp: 0 10px 13px -6px rgba(#000, $shadow-key-umbra-opacity),
|
128
|
+
0 21px 33px 3px rgba(#000, $shadow-key-penumbra-opacity),
|
129
|
+
0 8px 40px 7px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
130
|
+
|
131
|
+
$material-shadow-22dp: 0 10px 14px -6px rgba(#000, $shadow-key-umbra-opacity),
|
132
|
+
0 22px 35px 3px rgba(#000, $shadow-key-penumbra-opacity),
|
133
|
+
0 8px 42px 7px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
134
|
+
|
135
|
+
$material-shadow-23dp: 0 11px 14px -7px rgba(#000, $shadow-key-umbra-opacity),
|
136
|
+
0 23px 36px 3px rgba(#000, $shadow-key-penumbra-opacity),
|
137
|
+
0 9px 44px 8px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|
138
|
+
|
139
|
+
$material-shadow-24dp: 0 11px 15px -7px rgba(#000, $shadow-key-umbra-opacity),
|
140
|
+
0 24px 38px 3px rgba(#000, $shadow-key-penumbra-opacity),
|
141
|
+
0 9px 46px 8px rgba(#000, $shadow-ambient-shadow-opacity) !default;
|