diff --git a/theme_autofly/README.rst b/theme_autofly/README.rst new file mode 100644 index 000000000..74e993974 --- /dev/null +++ b/theme_autofly/README.rst @@ -0,0 +1,48 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Theme Autofly +============= +* Theme Autofly module provide attractive and unique front end theme mainly suitable for eCommerce website. + +Installation +============ +- www.odoo.com/documentation/16.0/setup/install.html +- Install our Theme + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + + +Credits +------- +* Developer: (V17) Fouzan M, Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com. + +Further information +=================== +HTML Description: ``__ \ No newline at end of file diff --git a/theme_autofly/__init__.py b/theme_autofly/__init__.py new file mode 100644 index 000000000..50349d36a --- /dev/null +++ b/theme_autofly/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import controllers +from . import models diff --git a/theme_autofly/__manifest__.py b/theme_autofly/__manifest__.py new file mode 100644 index 000000000..e9caa98b3 --- /dev/null +++ b/theme_autofly/__manifest__.py @@ -0,0 +1,88 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': 'Theme Autofly', + 'version': '17.0.1.0.0', + 'category': 'Theme/Corporate', + 'summary': 'Design eCommerce Website with Theme AutoFly', + 'description': 'Theme Autofly module provide attractive and unique ' + 'front end theme mainly suitable for eCommerce website', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['website', 'website_blog', 'website_sale_wishlist'], + 'data': [ + 'security/ir.model.access.csv', + 'data/theme_autofly_sequence.xml', + 'views/car_type_views.xml', + 'views/car_brand_views.xml', + 'views/car_garage_views.xml', + 'views/blog_page_templates.xml', + 'views/portfolio_templates.xml', + 'views/about_us_templates.xml', + 'views/footer_templates.xml', + 'views/header_templates.xml', + 'views/contact_us_templates.xml', + 'views/team_templates.xml', + 'views/service_templates.xml', + 'views/snippets/snippet_templates.xml', + 'views/snippets/popular_model_templates.xml', + 'views/snippets/blog_templates.xml', + 'views/snippets/find_car_templates.xml', + 'views/snippets/partners_templates.xml', + 'views/snippets/testimonial_templates.xml', + 'views/snippets/choose_us_templates.xml', + 'views/snippets/banner_templates.xml', + 'views/snippets/search_templates.xml', + 'views/service_booking_views.xml', + 'views/product_template_views.xml', + 'views/testimonial_views.xml', + ], + 'assets': { + 'web.assets_frontend': [ + '/theme_autofly/static/src/xml/blog_snippet_templates.xml', + '/theme_autofly/static/src/xml/testimonial_snippet_templates.xml', + '/theme_autofly/static/src/js/service_products.js', + '/theme_autofly/static/src/js/car_garage.js', + 'theme_autofly/static/src/css/style.css', + '/theme_autofly/static/src/js/owl.carousel.js', + '/theme_autofly/static/src/js/owl.carousel.min.js', + 'theme_autofly/static/src/css/owl.theme.default.min.css', + '/theme_autofly/static/src/js/owl.carousel.js', + '/theme_autofly/static/src/js/product_tab.js', + '/theme_autofly/static/src/js/find_car.js', + '/theme_autofly/static/src/js/search.js', + '/theme_autofly/static/src/js/blog.js', + '/theme_autofly/static/src/js/testimonial.js', + '/theme_autofly/static/src/js/all_type.js', + ], + }, + 'images': [ + 'static/description/banner.jpg', + 'static/description/theme_screenshot.jpg', + ], + 'license': 'LGPL-3', + 'installable': True, + 'application': False, + 'auto_install': False, +} diff --git a/theme_autofly/controllers/__init__.py b/theme_autofly/controllers/__init__.py new file mode 100644 index 000000000..713e28783 --- /dev/null +++ b/theme_autofly/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import website_autofly diff --git a/theme_autofly/controllers/website_autofly.py b/theme_autofly/controllers/website_autofly.py new file mode 100644 index 000000000..d616f30dd --- /dev/null +++ b/theme_autofly/controllers/website_autofly.py @@ -0,0 +1,165 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import http +from odoo.http import request + + +class WebsiteAutoFly(http.Controller): + """Controller used to fetch product related data and also for about page, + portfolio page, team page, service page.""" + + @http.route('/about', website=True, type='http', auth='public', + csrf=False) + def about_page(self): + """Render the about page.""" + return request.render('theme_autofly.about_page') + + @http.route('/portfolio', website=True, type='http', auth='public', + csrf=False) + def portfolio_page(self): + """Render the portfolio page.""" + return request.render('theme_autofly.portfolio_page') + + @http.route('/team', website=True, type='http', auth='public', + csrf=False) + def team_page(self): + """Render the team page.""" + return request.render('theme_autofly.team_page') + + @http.route('/service', website=True, type='http', auth='public', + csrf=False) + def service_page(self): + """Render the service page.""" + return request.render('theme_autofly.service_page') + + @http.route('/blog_snippet', auth="public", type='json') + def latest_blog(self): + """Return the data for dynamic blog snippet.""" + return request.env['blog.post'].sudo().search_read( + [], ['name', 'blog_id', 'subtitle', 'published_date'], + order='id desc', limit=3) + + @http.route('/get_testimonial', auth="public", type='json') + def get_testimonial(self): + """Return the data for testimonial snippet.""" + testimonial = request.env['autofly.testimonial'].sudo().search( + [], order='id desc', limit=12) + values = { + f'slide{i + 1}': [{'id': record.id, + 'name': record.display_name, + 'partner_id': record.partner_id.id, + 'rating': record.rating, + 'review': record.review, + } for record in testimonial[i * 3:(i + 1) * 3]] + for i in range((len(testimonial) + 2) // 3) + } + return values + + @http.route('/autofly/service', type='http', website=True, auth='public', + csrf=False) + def service_booking(self, **kwargs): + """Render the service page.""" + request.env['service.booking'].sudo().create({ + 'name': kwargs.get('usr1'), + 'email': kwargs.get('email'), + 'description': kwargs.get('text') + }) + return request.render('theme_autofly.service_page') + + @http.route('/cars-search', website=True, type='http', auth='public', + csrf=False) + def car_search(self, **kwargs): + """Used for searching particular cars.""" + domain = [] + if kwargs.get('car-selection'): + domain.append( + ('car_brand_id', '=', int(kwargs.get('car-selection')))) + if kwargs.get('car-type-selection'): + domain.append(('car_type_id', '=', int(kwargs.get( + 'car-type-selection')))) + if kwargs.get('car-price'): + domain.append(('list_price', '=', float(kwargs.get('car-price')))) + if kwargs.get('car-model'): + domain.append( + ('car_model', '=', int(float(kwargs.get('car-model'))))) + if kwargs.get('car-location'): + domain.append(('location', 'ilike', kwargs.get('car-location'))) + result = request.env['product.template'].sudo().search(domain) + return request.render('theme_autofly.specific_car', + qcontext={'hot_deals': result}) + + @http.route('/get_product_tab', auth="public", type='json') + def get_product_tab(self): + """Controller used to Fetch popular products.""" + hot_deals = request.env['product.template'].sudo().search([ + ('website_published', '=', True), + ('popular_product', '=', True)]) + response = http.Response(template='theme_autofly.popular_modal', + qcontext={'hot_deals': hot_deals}) + return response.render() + + @http.route('/find_car', auth="public", type='json') + def get_find_car(self): + """Controller used to fetch car types.""" + hot_deals = request.env['car.types'].sudo().search([], + order='id desc', + limit=6) + response = http.Response(template='theme_autofly.autofly_find_car', + qcontext={'hot_deals': hot_deals}) + return response.render() + + @http.route('/get_searched_car', auth="public", type='json') + def get_search_car(self): + """Controller used to fetch car brands.""" + brands = request.env['car.brand'].sudo().search([]) + types = request.env['car.types'].sudo().search([]) + brand = [{'id': record.id, 'name': record.name} for record in brands] + car_type = [{'id': record.id, 'name': record.name} for record in types] + return {'type': car_type, 'brand': brand} + + @http.route('/get_service_product', auth="public", type='json') + def get_service_product(self): + """Controller used to fetch service products.""" + hot_deals = request.env['product.template'].sudo().search([ + ('website_published', '=', True), + ('detailed_type', '=', 'service')]) + response = http.Response(template='theme_autofly.service_products', + qcontext={'hot_deals': hot_deals}) + return response.render() + + @http.route('/get_garage_car', auth="public", type='json') + def get_garage_car(self): + """Controller used to fetch garages.""" + hot_deals = request.env['car.garage'].sudo().search([]) + car_types = request.env['car.types'].sudo().search([]) + values = {'hot_deals': hot_deals, 'car_types': car_types} + response = http.Response(template='theme_autofly.portfolio_garage_page', + qcontext=values) + return response.render() + + @http.route('/get_all_type', auth="public", type='json') + def get_all_type(self): + """Controller used to fetch car types.""" + hot_deals = request.env['car.types'].sudo().search([]) + response = http.Response(template='theme_autofly.portfolio_type_page', + qcontext={'hot_deals': hot_deals}) + return response.render() diff --git a/theme_autofly/data/theme_autofly_sequence.xml b/theme_autofly/data/theme_autofly_sequence.xml new file mode 100644 index 000000000..75273bafe --- /dev/null +++ b/theme_autofly/data/theme_autofly_sequence.xml @@ -0,0 +1,13 @@ + + + + + + Service Booking + reference.sequence + SB + 3 + + + + \ No newline at end of file diff --git a/theme_autofly/doc/RELEASE_NOTES.md b/theme_autofly/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..ec27d3dfb --- /dev/null +++ b/theme_autofly/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 20.06.2024 +#### Version 17.0.1.0.0 +#### ADD +- Initial Commit for Theme Autofly diff --git a/theme_autofly/models/__init__.py b/theme_autofly/models/__init__.py new file mode 100644 index 000000000..2c1180a84 --- /dev/null +++ b/theme_autofly/models/__init__.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import car_brand +from . import car_garage +from . import car_types +from . import product_template +from . import service_booking +from . import testimonial diff --git a/theme_autofly/models/car_brand.py b/theme_autofly/models/car_brand.py new file mode 100644 index 000000000..a20edded4 --- /dev/null +++ b/theme_autofly/models/car_brand.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +class CarBrand(models.Model): + """This model is used define Brand Model fields and functionalities.""" + _name = "car.brand" + _description = "Website Car Brand" + + name = fields.Char(help="Add your brand name.") + image = fields.Image(help="Add your brand image.") diff --git a/theme_autofly/models/car_garage.py b/theme_autofly/models/car_garage.py new file mode 100644 index 000000000..bc7f20fac --- /dev/null +++ b/theme_autofly/models/car_garage.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +class CarGarage(models.Model): + """This model is used define car garage details.""" + _name = "car.garage" + _description = "Website Car Garage" + + name = fields.Char(help="Add your garage name.") + image = fields.Image(help="Add your garage image.") diff --git a/theme_autofly/models/car_types.py b/theme_autofly/models/car_types.py new file mode 100644 index 000000000..2729e1669 --- /dev/null +++ b/theme_autofly/models/car_types.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +class CarTypes(models.Model): + """This model is used define car type fields and it's functionalities.""" + _name = "car.types" + _description = "Website Car Type" + + name = fields.Char(help="Add your car type name.") + image = fields.Image(help="Add your car type image.") + product_count = fields.Integer(string='Products Count', + compute='_compute_product_count', + help="Used to show product in smart button.") + + def _compute_product_count(self): + """Product count fetching based on car type.""" + for record in self: + record.product_count = self.env['product.template'].search_count( + [('car_type_id', '=', record.id)]) + + def action_view_products(self): + """Action to view corresponding products""" + return { + 'type': 'ir.actions.act_window', + 'name': 'Products', + 'view_mode': 'tree', + 'res_model': 'product.template', + 'domain': [('car_type_id', '=', self.id)], + 'context': "{'create': False}" + } diff --git a/theme_autofly/models/product_template.py b/theme_autofly/models/product_template.py new file mode 100644 index 000000000..db7fe493f --- /dev/null +++ b/theme_autofly/models/product_template.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +class ProductTemplate(models.Model): + """Inheriting product_product model to add new fields.""" + _inherit = "product.template" + + popular_product = fields.Boolean(string="Popular Product", + help="Please enable this field to make the" + "product as popular product.") + car_type_id = fields.Many2one('car.types', string="Car Type", + help="Add your car type.") + car_brand_id = fields.Many2one('car.brand', string="Car Brand", + help="Add your car brand.") + car_model = fields.Integer(string="Model", help="Add your car model.") + location = fields.Char(help="Add your car location.") diff --git a/theme_autofly/models/service_booking.py b/theme_autofly/models/service_booking.py new file mode 100644 index 000000000..1c3d4b47f --- /dev/null +++ b/theme_autofly/models/service_booking.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import _, api, fields, models + + +class ServiceBooking(models.Model): + """This model is used managing service booking details.""" + _name = "service.booking" + _description = "Website Car Service Booking" + + name = fields.Char(required=True, help="Name of the service") + reference = fields.Char(readonly=True, help="Booking sequence") + state = fields.Selection([('draft', 'Draft'), ('running', 'Running'), + ('cancel', 'Cancel'), ('done', 'Done')]) + email = fields.Char(help="Email address") + description = fields.Char(help="Add if you have any description") + + @api.model_create_multi + def create(self, vals_list): + """Supering create function for generating sequence.""" + for vals in vals_list: + if vals.get('reference', _('New')) == _('New'): + vals['reference'] = self.env['ir.sequence'].next_by_code( + 'reference.sequence') or _('New') + return super().create(vals) diff --git a/theme_autofly/models/testimonial.py b/theme_autofly/models/testimonial.py new file mode 100644 index 000000000..536eedcbc --- /dev/null +++ b/theme_autofly/models/testimonial.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +class Testimonial(models.Model): + """model to manage testimonials""" + _name = 'autofly.testimonial' + _description = 'Testimonials' + _rec_name = 'partner_id' + + partner_id = fields.Many2one('res.partner', string='Customer', + required=True) + rating = fields.Selection(selection=[('1', '1'), ('2', '2'), ('3', '3'), + ('4', '4'), ('5', '5')]) + review = fields.Text(help='Add your review here') diff --git a/theme_autofly/security/ir.model.access.csv b/theme_autofly/security/ir.model.access.csv new file mode 100644 index 000000000..6ea6a3c84 --- /dev/null +++ b/theme_autofly/security/ir.model.access.csv @@ -0,0 +1,6 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_car_type_user,access.car.type.user,model_car_types,base.group_user,1,1,1,1 +access_car_brand_user,access.car.brand.user,model_car_brand,base.group_user,1,1,1,1 +access_service_booking_user,access.service.booking.user,model_service_booking,base.group_user,1,1,1,1 +access_car_garage_user,access.car.garage.user,model_car_garage,base.group_user,1,1,1,1 +access_testimonial_user,access.autofly.testimonial,model_autofly_testimonial,base.group_user,1,1,1,1 \ No newline at end of file diff --git a/theme_autofly/static/description/Images/BLOG-4.png b/theme_autofly/static/description/Images/BLOG-4.png new file mode 100644 index 000000000..9b6d5922d Binary files /dev/null and b/theme_autofly/static/description/Images/BLOG-4.png differ diff --git a/theme_autofly/static/description/Images/Edu.png b/theme_autofly/static/description/Images/Edu.png new file mode 100644 index 000000000..158b36a16 Binary files /dev/null and b/theme_autofly/static/description/Images/Edu.png differ diff --git a/theme_autofly/static/description/Images/Hero-banner.png b/theme_autofly/static/description/Images/Hero-banner.png new file mode 100644 index 000000000..9fa1be12f Binary files /dev/null and b/theme_autofly/static/description/Images/Hero-banner.png differ diff --git a/theme_autofly/static/description/Images/Home-1.png b/theme_autofly/static/description/Images/Home-1.png new file mode 100644 index 000000000..12e48fcae Binary files /dev/null and b/theme_autofly/static/description/Images/Home-1.png differ diff --git a/theme_autofly/static/description/Images/Home-2.png b/theme_autofly/static/description/Images/Home-2.png new file mode 100644 index 000000000..cd8015225 Binary files /dev/null and b/theme_autofly/static/description/Images/Home-2.png differ diff --git a/theme_autofly/static/description/Images/Home-3.png b/theme_autofly/static/description/Images/Home-3.png new file mode 100644 index 000000000..eba6e45b6 Binary files /dev/null and b/theme_autofly/static/description/Images/Home-3.png differ diff --git a/theme_autofly/static/description/Images/Home-4.png b/theme_autofly/static/description/Images/Home-4.png new file mode 100644 index 000000000..0a306c562 Binary files /dev/null and b/theme_autofly/static/description/Images/Home-4.png differ diff --git a/theme_autofly/static/description/Images/Home-5.png b/theme_autofly/static/description/Images/Home-5.png new file mode 100644 index 000000000..693136fc2 Binary files /dev/null and b/theme_autofly/static/description/Images/Home-5.png differ diff --git a/theme_autofly/static/description/Images/Home-6.png b/theme_autofly/static/description/Images/Home-6.png new file mode 100644 index 000000000..dddb36c5f Binary files /dev/null and b/theme_autofly/static/description/Images/Home-6.png differ diff --git a/theme_autofly/static/description/Images/Home-7.png b/theme_autofly/static/description/Images/Home-7.png new file mode 100644 index 000000000..4a29984c5 Binary files /dev/null and b/theme_autofly/static/description/Images/Home-7.png differ diff --git a/theme_autofly/static/description/Images/POS.png b/theme_autofly/static/description/Images/POS.png new file mode 100644 index 000000000..3c7f1cfe9 Binary files /dev/null and b/theme_autofly/static/description/Images/POS.png differ diff --git a/theme_autofly/static/description/Images/Production.png b/theme_autofly/static/description/Images/Production.png new file mode 100644 index 000000000..e88dcd0d6 Binary files /dev/null and b/theme_autofly/static/description/Images/Production.png differ diff --git a/theme_autofly/static/description/Images/about-1.png b/theme_autofly/static/description/Images/about-1.png new file mode 100644 index 000000000..e69de29bb diff --git a/theme_autofly/static/description/Images/about-2.png b/theme_autofly/static/description/Images/about-2.png new file mode 100644 index 000000000..baec0305b Binary files /dev/null and b/theme_autofly/static/description/Images/about-2.png differ diff --git a/theme_autofly/static/description/Images/about-3.png b/theme_autofly/static/description/Images/about-3.png new file mode 100644 index 000000000..a3eeb169b Binary files /dev/null and b/theme_autofly/static/description/Images/about-3.png differ diff --git a/theme_autofly/static/description/Images/arrow-black.png b/theme_autofly/static/description/Images/arrow-black.png new file mode 100644 index 000000000..3fd6da801 Binary files /dev/null and b/theme_autofly/static/description/Images/arrow-black.png differ diff --git a/theme_autofly/static/description/Images/banner-thumb.png b/theme_autofly/static/description/Images/banner-thumb.png new file mode 100644 index 000000000..214f3414e Binary files /dev/null and b/theme_autofly/static/description/Images/banner-thumb.png differ diff --git a/theme_autofly/static/description/Images/contact-1.png b/theme_autofly/static/description/Images/contact-1.png new file mode 100644 index 000000000..afe87953c Binary files /dev/null and b/theme_autofly/static/description/Images/contact-1.png differ diff --git a/theme_autofly/static/description/Images/contact-2.png b/theme_autofly/static/description/Images/contact-2.png new file mode 100644 index 000000000..c596d1b67 Binary files /dev/null and b/theme_autofly/static/description/Images/contact-2.png differ diff --git a/theme_autofly/static/description/Images/icon-Compatibility-with-plugins.png b/theme_autofly/static/description/Images/icon-Compatibility-with-plugins.png new file mode 100644 index 000000000..2c0c4015e Binary files /dev/null and b/theme_autofly/static/description/Images/icon-Compatibility-with-plugins.png differ diff --git a/theme_autofly/static/description/Images/icon-Fast-loading-times.png b/theme_autofly/static/description/Images/icon-Fast-loading-times.png new file mode 100644 index 000000000..d758dea65 Binary files /dev/null and b/theme_autofly/static/description/Images/icon-Fast-loading-times.png differ diff --git a/theme_autofly/static/description/Images/icon-One-Click-Installation.png b/theme_autofly/static/description/Images/icon-One-Click-Installation.png new file mode 100644 index 000000000..189cc7cbb Binary files /dev/null and b/theme_autofly/static/description/Images/icon-One-Click-Installation.png differ diff --git a/theme_autofly/static/description/Images/icon-Responsive-design.png b/theme_autofly/static/description/Images/icon-Responsive-design.png new file mode 100644 index 000000000..963329a0a Binary files /dev/null and b/theme_autofly/static/description/Images/icon-Responsive-design.png differ diff --git a/theme_autofly/static/description/Images/icon-Up-to-date-development.png b/theme_autofly/static/description/Images/icon-Up-to-date-development.png new file mode 100644 index 000000000..892a490e8 Binary files /dev/null and b/theme_autofly/static/description/Images/icon-Up-to-date-development.png differ diff --git a/theme_autofly/static/description/Images/icon-design.png b/theme_autofly/static/description/Images/icon-design.png new file mode 100644 index 000000000..bd578f6d1 Binary files /dev/null and b/theme_autofly/static/description/Images/icon-design.png differ diff --git a/theme_autofly/static/description/Images/icons8-search-32.png b/theme_autofly/static/description/Images/icons8-search-32.png new file mode 100644 index 000000000..e61cf7250 Binary files /dev/null and b/theme_autofly/static/description/Images/icons8-search-32.png differ diff --git a/theme_autofly/static/description/Images/icons8-search-64.png b/theme_autofly/static/description/Images/icons8-search-64.png new file mode 100644 index 000000000..ec9035517 Binary files /dev/null and b/theme_autofly/static/description/Images/icons8-search-64.png differ diff --git a/theme_autofly/static/description/Images/logo-cybro.png b/theme_autofly/static/description/Images/logo-cybro.png new file mode 100644 index 000000000..ecf9b0134 Binary files /dev/null and b/theme_autofly/static/description/Images/logo-cybro.png differ diff --git a/theme_autofly/static/description/Images/odoo-consultency.png b/theme_autofly/static/description/Images/odoo-consultency.png new file mode 100644 index 000000000..bf2d21531 Binary files /dev/null and b/theme_autofly/static/description/Images/odoo-consultency.png differ diff --git a/theme_autofly/static/description/Images/odoo-customization.png b/theme_autofly/static/description/Images/odoo-customization.png new file mode 100644 index 000000000..a51a84de4 Binary files /dev/null and b/theme_autofly/static/description/Images/odoo-customization.png differ diff --git a/theme_autofly/static/description/Images/odoo-developer.png b/theme_autofly/static/description/Images/odoo-developer.png new file mode 100644 index 000000000..b2272be9e Binary files /dev/null and b/theme_autofly/static/description/Images/odoo-developer.png differ diff --git a/theme_autofly/static/description/Images/odoo-implement.png b/theme_autofly/static/description/Images/odoo-implement.png new file mode 100644 index 000000000..ab975c139 Binary files /dev/null and b/theme_autofly/static/description/Images/odoo-implement.png differ diff --git a/theme_autofly/static/description/Images/odoo-intergration.png b/theme_autofly/static/description/Images/odoo-intergration.png new file mode 100644 index 000000000..82b73a193 Binary files /dev/null and b/theme_autofly/static/description/Images/odoo-intergration.png differ diff --git a/theme_autofly/static/description/Images/odoo-licencing.png b/theme_autofly/static/description/Images/odoo-licencing.png new file mode 100644 index 000000000..fe24f14c4 Binary files /dev/null and b/theme_autofly/static/description/Images/odoo-licencing.png differ diff --git a/theme_autofly/static/description/Images/odoo-logo.png b/theme_autofly/static/description/Images/odoo-logo.png new file mode 100644 index 000000000..d3eae23f2 Binary files /dev/null and b/theme_autofly/static/description/Images/odoo-logo.png differ diff --git a/theme_autofly/static/description/Images/odoo-migration.png b/theme_autofly/static/description/Images/odoo-migration.png new file mode 100644 index 000000000..03ac43d05 Binary files /dev/null and b/theme_autofly/static/description/Images/odoo-migration.png differ diff --git a/theme_autofly/static/description/Images/odoo-support.png b/theme_autofly/static/description/Images/odoo-support.png new file mode 100644 index 000000000..6d481032c Binary files /dev/null and b/theme_autofly/static/description/Images/odoo-support.png differ diff --git a/theme_autofly/static/description/Images/portfolio-1.png b/theme_autofly/static/description/Images/portfolio-1.png new file mode 100644 index 000000000..0098ee626 Binary files /dev/null and b/theme_autofly/static/description/Images/portfolio-1.png differ diff --git a/theme_autofly/static/description/Images/portfolio-2.png b/theme_autofly/static/description/Images/portfolio-2.png new file mode 100644 index 000000000..633f4002b Binary files /dev/null and b/theme_autofly/static/description/Images/portfolio-2.png differ diff --git a/theme_autofly/static/description/Images/portfolio-3.png b/theme_autofly/static/description/Images/portfolio-3.png new file mode 100644 index 000000000..f9b577815 Binary files /dev/null and b/theme_autofly/static/description/Images/portfolio-3.png differ diff --git a/theme_autofly/static/description/Images/portfolio-4.png b/theme_autofly/static/description/Images/portfolio-4.png new file mode 100644 index 000000000..a16ca66dd Binary files /dev/null and b/theme_autofly/static/description/Images/portfolio-4.png differ diff --git a/theme_autofly/static/description/Images/services-1.png b/theme_autofly/static/description/Images/services-1.png new file mode 100644 index 000000000..7f5335ca6 Binary files /dev/null and b/theme_autofly/static/description/Images/services-1.png differ diff --git a/theme_autofly/static/description/Images/services-2.png b/theme_autofly/static/description/Images/services-2.png new file mode 100644 index 000000000..93b4334a9 Binary files /dev/null and b/theme_autofly/static/description/Images/services-2.png differ diff --git a/theme_autofly/static/description/Images/services-3.png b/theme_autofly/static/description/Images/services-3.png new file mode 100644 index 000000000..a488cfcd9 Binary files /dev/null and b/theme_autofly/static/description/Images/services-3.png differ diff --git a/theme_autofly/static/description/Images/services-4.png b/theme_autofly/static/description/Images/services-4.png new file mode 100644 index 000000000..a488cfcd9 Binary files /dev/null and b/theme_autofly/static/description/Images/services-4.png differ diff --git a/theme_autofly/static/description/Images/services-5.png b/theme_autofly/static/description/Images/services-5.png new file mode 100644 index 000000000..78817e826 Binary files /dev/null and b/theme_autofly/static/description/Images/services-5.png differ diff --git a/theme_autofly/static/description/Images/services-6.png b/theme_autofly/static/description/Images/services-6.png new file mode 100644 index 000000000..6b794b513 Binary files /dev/null and b/theme_autofly/static/description/Images/services-6.png differ diff --git a/theme_autofly/static/description/Images/services-7.png b/theme_autofly/static/description/Images/services-7.png new file mode 100644 index 000000000..0eaa8d290 Binary files /dev/null and b/theme_autofly/static/description/Images/services-7.png differ diff --git a/theme_autofly/static/description/Images/services.png b/theme_autofly/static/description/Images/services.png new file mode 100644 index 000000000..0210e5ca3 Binary files /dev/null and b/theme_autofly/static/description/Images/services.png differ diff --git a/theme_autofly/static/description/Images/team-1.png b/theme_autofly/static/description/Images/team-1.png new file mode 100644 index 000000000..419345e0e Binary files /dev/null and b/theme_autofly/static/description/Images/team-1.png differ diff --git a/theme_autofly/static/description/Images/team-2.png b/theme_autofly/static/description/Images/team-2.png new file mode 100644 index 000000000..5ba09d5fc Binary files /dev/null and b/theme_autofly/static/description/Images/team-2.png differ diff --git a/theme_autofly/static/description/Images/team-3.png b/theme_autofly/static/description/Images/team-3.png new file mode 100644 index 000000000..295e673b3 Binary files /dev/null and b/theme_autofly/static/description/Images/team-3.png differ diff --git a/theme_autofly/static/description/Images/tittle.png b/theme_autofly/static/description/Images/tittle.png new file mode 100644 index 000000000..930218b3a Binary files /dev/null and b/theme_autofly/static/description/Images/tittle.png differ diff --git a/theme_autofly/static/description/Images/trading.png b/theme_autofly/static/description/Images/trading.png new file mode 100644 index 000000000..9d99bc55b Binary files /dev/null and b/theme_autofly/static/description/Images/trading.png differ diff --git a/theme_autofly/static/description/banner.jpg b/theme_autofly/static/description/banner.jpg new file mode 100644 index 000000000..e084af06b Binary files /dev/null and b/theme_autofly/static/description/banner.jpg differ diff --git a/theme_autofly/static/description/icon.png b/theme_autofly/static/description/icon.png new file mode 100644 index 000000000..5edbb3966 Binary files /dev/null and b/theme_autofly/static/description/icon.png differ diff --git a/theme_autofly/static/description/index.html b/theme_autofly/static/description/index.html new file mode 100644 index 000000000..58eb53193 --- /dev/null +++ b/theme_autofly/static/description/index.html @@ -0,0 +1,1388 @@ + + + + odoo + + + + + + + + + + + +
+ +
+ +
+ + +
+ +
+ +
+ +
+ + +
+ + + + + + + + +
+ + +
+ + +
+ +
+ + + +
+ + +
+ + +
+ + +
+ + +
+ + + + +
+ +
+ + + +
+ +
+ + + +
+ + +
+ + + + +
+ + +
+ +
+ +
+ +

Autofly

+
+
+ +
+ +
+ +
    +
  • Website + Design +
  • +
  • UI/UX
  • +
  • + Developing +
  • + +
+ + +
+ + +
+ + +
+ + +
+ + + + +
+ +
+ +
+ +
+ +

+ Key features

+
+ +
+ + +
+ +
+ +
+ + + Design + +
+

The most + recent website creation for an autofly. flexible and + simple to use.

+ +
+ + +
+
+ + +
+ +
+ + + + Compatibility with plugins + +
+

Along with + this theme , it permits users to use third-party + plugins also.

+ +
+ + +
+ + +
+ +
+ +
+ + + + Fast loading times + +
+

This theme + loads all of its features more quickly than other + designs.

+ +
+ + +
+
+ + +
+ +
+ + + + Up-to-date Development + +
+

The most + up-to-date approaches, concepts, and innovations are + being used.

+ +
+ + +
+ + +
+ +
+ +
+ + + + Responsive Design + +
+

Different + resolution devices can be used by users to watch + websites.

+ +
+ + +
+
+ + +
+ +
+ + + + One Click Installation + +
+

This mode + is significantly easier than others because Odoo + makes One Click Installation feasible.

+ +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+ +

Main page

+
+
+ +
+
+ +
    +
  • Home
  • +
  • About us +
  • +
  • Services +
  • +
  • Portfolio +
  • +
  • Team
  • +
  • Blog
  • + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ + +
+ +
+ + + + +
+ + +
+ + +
+ +
+ + + + +
+ + +
+ + +
+ +
+ + + + +
+ + +
+ + +
+ +
+ + + + +
+ + +
+ + +
+ +
+ + + + +
+ + +
+ + +
+ +
+ + + + +
+ + +
+ + +
+ +
+ +
+ + +
+ + +
+ +
+ +
+ +

About page

+
+
+ +
+
+ +
    +
  • Banner
  • +
  • Other + Information +
  • + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ + + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ + + + +
+ + +
+ + +
+ +
+ + + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+ +

+ Portfolio

+
+
+ +
+
+ +
    +
  • Banner
  • +
  • Other + Feauters +
  • + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+ +
+ + + + +
+ + +
+ + +
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + +
+ + +
+ +
+ +
+ + + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+ +

+ Contact Page

+
+
+ +
+ +
+ +
    +
  • Banner
  • + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+ +
+ + + + +
+ + +
+ + +
+ +
+ + + + +
+ + +
+ + +
+ + +
+ + +
+ +
+ + +
+ +
+ +
+ +

+ Blog

+
+
+ +
+ +
+ +
    + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+ +
+ + +
+ + + + +
+ + +
+ + +
+ + +
+ +
+ +
+ + +
+ +
+ +
+ +

+ Services

+
+
+ +
+ +
+ +
    +
  • Banner
  • +
  • Other + Feauters +
  • + +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+ +
+ +
+ + +
+ + + + +
+ + +
+ + +
+ + +
+ + + + +
+ + +
+ + +
+ + +
+ + + + +
+ + +
+ + +
+ + +
+ + + + +
+ + +
+ +
+ + +
+ + + + +
+ + +
+ +
+ + +
+ + + + +
+ + +
+ +
+ + +
+ + + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+ +

+ Team

+
+
+ +
+ +
+ +
    +
  • Banner
  • + +
+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + +
+ + + + +
+ + +
+ + +
+ + +
+ + + + +
+ + +
+ + +
+ + +
+ + + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+

+ Our Services


+
View + services offered by us +
+ + +
+ + +
+ +
+ + +

+ Odoo
Customization

+ +
+ + +
+ + +
+ +
+ + +

+ Odoo
Implementation

+ +
+ + +
+ +
+ +
+ + +

+ Odoo
Support

+ +
+ + +
+ +
+ +
+ + +

+ Hire
Odoo Developer

+ +
+ + +
+ + +
+ +
+ + +

+ Odoo
Integration

+ +
+ + +
+ +
+ +
+ + +

+ Odoo
Migration

+ +
+ + +
+
+ +
+ + +

+ Odoo
Consultancy

+ +
+ + +
+ + +
+ +
+ + +

+ Odoo
Implementation

+ +
+ + +
+ +
+ +
+ + +

+ Odoo
Licensing Consultancy

+ +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+

+ Our Industries


+
Get + Insight in our odoo knowledge and our marked footprint + in industries +
+ + +
+ + +
+ +
+ + +

+ Trading

+

Easily procure and sell + your products

+
+ + +
+ + +
+ +
+ + +

+ E-commerce & Website

+

Mobile friendly, + awe-inspiring product pages

+ +
+ + +
+ +
+ +
+ + +

+ POS

+

Easy configuration and + convivial experience

+ +
+ + +
+ +
+ +
+ + +

+ Education

+

A platform for educational + management

+ +
+ + +
+ + +
+ +
+ + +

+ Manufacturing

+

Plan, track and schedule + your operations

+
+ + +
+ +
+ +
+ + +

+ Manufacturing

+

Plan, track and schedule + your operations

+
+ + +
+
+ +
+ + +

+ Service Management

+

Keep track of services + and invoice

+
+ + +
+ + +
+ +
+ + +

+ Resturant

+

Run your bar or restaurant + methodically

+
+ + +
+ +
+ +
+ + +

+ Hotel management

+

An all-inclusive hotel + management application

+
+ + +
+ + +
+ + +
+ + +
+ + +
+ + + + + + diff --git a/theme_autofly/static/description/theme_screenshot.jpg b/theme_autofly/static/description/theme_screenshot.jpg new file mode 100644 index 000000000..42b1d94dc Binary files /dev/null and b/theme_autofly/static/description/theme_screenshot.jpg differ diff --git a/theme_autofly/static/src/assets/Rectangle 5.png b/theme_autofly/static/src/assets/Rectangle 5.png new file mode 100644 index 000000000..15191c4d1 Binary files /dev/null and b/theme_autofly/static/src/assets/Rectangle 5.png differ diff --git a/theme_autofly/static/src/assets/Rectangle 5@2x.png b/theme_autofly/static/src/assets/Rectangle 5@2x.png new file mode 100644 index 000000000..988f4198f Binary files /dev/null and b/theme_autofly/static/src/assets/Rectangle 5@2x.png differ diff --git a/theme_autofly/static/src/assets/about_page/about.jpg b/theme_autofly/static/src/assets/about_page/about.jpg new file mode 100644 index 000000000..2c65204a7 Binary files /dev/null and b/theme_autofly/static/src/assets/about_page/about.jpg differ diff --git a/theme_autofly/static/src/assets/about_page/city.jpg b/theme_autofly/static/src/assets/about_page/city.jpg new file mode 100644 index 000000000..f052ac0cb Binary files /dev/null and b/theme_autofly/static/src/assets/about_page/city.jpg differ diff --git a/theme_autofly/static/src/assets/about_page/deals/buy.jpg b/theme_autofly/static/src/assets/about_page/deals/buy.jpg new file mode 100644 index 000000000..ffaae906c Binary files /dev/null and b/theme_autofly/static/src/assets/about_page/deals/buy.jpg differ diff --git a/theme_autofly/static/src/assets/about_page/deals/hand.jpg b/theme_autofly/static/src/assets/about_page/deals/hand.jpg new file mode 100644 index 000000000..4559e58fb Binary files /dev/null and b/theme_autofly/static/src/assets/about_page/deals/hand.jpg differ diff --git a/theme_autofly/static/src/assets/about_page/deals/owner.jpg b/theme_autofly/static/src/assets/about_page/deals/owner.jpg new file mode 100644 index 000000000..87dc9d9a7 Binary files /dev/null and b/theme_autofly/static/src/assets/about_page/deals/owner.jpg differ diff --git a/theme_autofly/static/src/assets/about_page/deals/plan.jpg b/theme_autofly/static/src/assets/about_page/deals/plan.jpg new file mode 100644 index 000000000..a1e1dd3fe Binary files /dev/null and b/theme_autofly/static/src/assets/about_page/deals/plan.jpg differ diff --git a/theme_autofly/static/src/assets/about_page/tech/tech (1).jpg b/theme_autofly/static/src/assets/about_page/tech/tech (1).jpg new file mode 100644 index 000000000..89b2f63fa Binary files /dev/null and b/theme_autofly/static/src/assets/about_page/tech/tech (1).jpg differ diff --git a/theme_autofly/static/src/assets/about_page/tech/tech (2).jpg b/theme_autofly/static/src/assets/about_page/tech/tech (2).jpg new file mode 100644 index 000000000..4ccc11075 Binary files /dev/null and b/theme_autofly/static/src/assets/about_page/tech/tech (2).jpg differ diff --git a/theme_autofly/static/src/assets/about_page/tech/tech (3).jpg b/theme_autofly/static/src/assets/about_page/tech/tech (3).jpg new file mode 100644 index 000000000..da4febcc7 Binary files /dev/null and b/theme_autofly/static/src/assets/about_page/tech/tech (3).jpg differ diff --git a/theme_autofly/static/src/assets/about_page/tech/tech (4).jpg b/theme_autofly/static/src/assets/about_page/tech/tech (4).jpg new file mode 100644 index 000000000..1b5e04086 Binary files /dev/null and b/theme_autofly/static/src/assets/about_page/tech/tech (4).jpg differ diff --git a/theme_autofly/static/src/assets/banner/banner.png b/theme_autofly/static/src/assets/banner/banner.png new file mode 100644 index 000000000..307c39758 Binary files /dev/null and b/theme_autofly/static/src/assets/banner/banner.png differ diff --git a/theme_autofly/static/src/assets/banner/blog.jpg b/theme_autofly/static/src/assets/banner/blog.jpg new file mode 100644 index 000000000..99fc143ea Binary files /dev/null and b/theme_autofly/static/src/assets/banner/blog.jpg differ diff --git a/theme_autofly/static/src/assets/banner/contact.jpg b/theme_autofly/static/src/assets/banner/contact.jpg new file mode 100644 index 000000000..6bfa7d538 Binary files /dev/null and b/theme_autofly/static/src/assets/banner/contact.jpg differ diff --git a/theme_autofly/static/src/assets/banner/image8.png b/theme_autofly/static/src/assets/banner/image8.png new file mode 100644 index 000000000..b6fa263b2 Binary files /dev/null and b/theme_autofly/static/src/assets/banner/image8.png differ diff --git a/theme_autofly/static/src/assets/banner/man-polish-salon-car-garage 1.png b/theme_autofly/static/src/assets/banner/man-polish-salon-car-garage 1.png new file mode 100644 index 000000000..90dd8bf40 Binary files /dev/null and b/theme_autofly/static/src/assets/banner/man-polish-salon-car-garage 1.png differ diff --git a/theme_autofly/static/src/assets/banner/service.jpg b/theme_autofly/static/src/assets/banner/service.jpg new file mode 100644 index 000000000..ab4f2ecc7 Binary files /dev/null and b/theme_autofly/static/src/assets/banner/service.jpg differ diff --git a/theme_autofly/static/src/assets/banner/team.jpg b/theme_autofly/static/src/assets/banner/team.jpg new file mode 100644 index 000000000..621ef1d39 Binary files /dev/null and b/theme_autofly/static/src/assets/banner/team.jpg differ diff --git a/theme_autofly/static/src/assets/blog/2021-Audi-S1-Hoonitron-Concept-002-1600 1.png b/theme_autofly/static/src/assets/blog/2021-Audi-S1-Hoonitron-Concept-002-1600 1.png new file mode 100644 index 000000000..ed4c091a9 Binary files /dev/null and b/theme_autofly/static/src/assets/blog/2021-Audi-S1-Hoonitron-Concept-002-1600 1.png differ diff --git a/theme_autofly/static/src/assets/blog/Rectangle 50.png b/theme_autofly/static/src/assets/blog/Rectangle 50.png new file mode 100644 index 000000000..0bfba8bbe Binary files /dev/null and b/theme_autofly/static/src/assets/blog/Rectangle 50.png differ diff --git a/theme_autofly/static/src/assets/blog/image 2.png b/theme_autofly/static/src/assets/blog/image 2.png new file mode 100644 index 000000000..a7a12a2a2 Binary files /dev/null and b/theme_autofly/static/src/assets/blog/image 2.png differ diff --git a/theme_autofly/static/src/assets/brand icon/barnd_icon.png b/theme_autofly/static/src/assets/brand icon/barnd_icon.png new file mode 100644 index 000000000..c690823b2 Binary files /dev/null and b/theme_autofly/static/src/assets/brand icon/barnd_icon.png differ diff --git a/theme_autofly/static/src/assets/card_icon/c1.svg b/theme_autofly/static/src/assets/card_icon/c1.svg new file mode 100644 index 000000000..315867388 --- /dev/null +++ b/theme_autofly/static/src/assets/card_icon/c1.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/theme_autofly/static/src/assets/card_icon/engine (1) 1.png b/theme_autofly/static/src/assets/card_icon/engine (1) 1.png new file mode 100644 index 000000000..f775cad97 Binary files /dev/null and b/theme_autofly/static/src/assets/card_icon/engine (1) 1.png differ diff --git a/theme_autofly/static/src/assets/card_icon/fuel-station 1.png b/theme_autofly/static/src/assets/card_icon/fuel-station 1.png new file mode 100644 index 000000000..608a0d3c0 Binary files /dev/null and b/theme_autofly/static/src/assets/card_icon/fuel-station 1.png differ diff --git a/theme_autofly/static/src/assets/card_icon/speedometer 1.png b/theme_autofly/static/src/assets/card_icon/speedometer 1.png new file mode 100644 index 000000000..e2a751426 Binary files /dev/null and b/theme_autofly/static/src/assets/card_icon/speedometer 1.png differ diff --git a/theme_autofly/static/src/assets/choose/2024-Mercedes-AMG-CLA45-S-001-2800p 1.png b/theme_autofly/static/src/assets/choose/2024-Mercedes-AMG-CLA45-S-001-2800p 1.png new file mode 100644 index 000000000..360aa0344 Binary files /dev/null and b/theme_autofly/static/src/assets/choose/2024-Mercedes-AMG-CLA45-S-001-2800p 1.png differ diff --git a/theme_autofly/static/src/assets/choose/schedule.png b/theme_autofly/static/src/assets/choose/schedule.png new file mode 100644 index 000000000..ccab6de5b Binary files /dev/null and b/theme_autofly/static/src/assets/choose/schedule.png differ diff --git a/theme_autofly/static/src/assets/find_car/12269 1.png b/theme_autofly/static/src/assets/find_car/12269 1.png new file mode 100644 index 000000000..a62c5d3c9 Binary files /dev/null and b/theme_autofly/static/src/assets/find_car/12269 1.png differ diff --git a/theme_autofly/static/src/assets/find_car/66815 1.png b/theme_autofly/static/src/assets/find_car/66815 1.png new file mode 100644 index 000000000..447583c88 Binary files /dev/null and b/theme_autofly/static/src/assets/find_car/66815 1.png differ diff --git a/theme_autofly/static/src/assets/find_car/compact-sports-car-family-sedan-3d-illustration 1.png b/theme_autofly/static/src/assets/find_car/compact-sports-car-family-sedan-3d-illustration 1.png new file mode 100644 index 000000000..55574eae8 Binary files /dev/null and b/theme_autofly/static/src/assets/find_car/compact-sports-car-family-sedan-3d-illustration 1.png differ diff --git a/theme_autofly/static/src/assets/find_car/image 1.png b/theme_autofly/static/src/assets/find_car/image 1.png new file mode 100644 index 000000000..ccc69a2a5 Binary files /dev/null and b/theme_autofly/static/src/assets/find_car/image 1.png differ diff --git a/theme_autofly/static/src/assets/find_car/premium-electric-sports-sedan-car-isolated-white-background-3d-rendering 1.png b/theme_autofly/static/src/assets/find_car/premium-electric-sports-sedan-car-isolated-white-background-3d-rendering 1.png new file mode 100644 index 000000000..a836d4003 Binary files /dev/null and b/theme_autofly/static/src/assets/find_car/premium-electric-sports-sedan-car-isolated-white-background-3d-rendering 1.png differ diff --git a/theme_autofly/static/src/assets/find_car/white-mid-size-city-suv-family-white-background-3d-rendering 1.png b/theme_autofly/static/src/assets/find_car/white-mid-size-city-suv-family-white-background-3d-rendering 1.png new file mode 100644 index 000000000..e5698da9b Binary files /dev/null and b/theme_autofly/static/src/assets/find_car/white-mid-size-city-suv-family-white-background-3d-rendering 1.png differ diff --git a/theme_autofly/static/src/assets/icons/Arrow 4.jpg b/theme_autofly/static/src/assets/icons/Arrow 4.jpg new file mode 100644 index 000000000..df1be98d9 Binary files /dev/null and b/theme_autofly/static/src/assets/icons/Arrow 4.jpg differ diff --git a/theme_autofly/static/src/assets/icons/Arrow 4.svg b/theme_autofly/static/src/assets/icons/Arrow 4.svg new file mode 100644 index 000000000..1b54ba1da --- /dev/null +++ b/theme_autofly/static/src/assets/icons/Arrow 4.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_autofly/static/src/assets/icons/Arrow 6.svg b/theme_autofly/static/src/assets/icons/Arrow 6.svg new file mode 100644 index 000000000..f2ff538d7 --- /dev/null +++ b/theme_autofly/static/src/assets/icons/Arrow 6.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_autofly/static/src/assets/icons/Group 6.svg b/theme_autofly/static/src/assets/icons/Group 6.svg new file mode 100644 index 000000000..f52943637 --- /dev/null +++ b/theme_autofly/static/src/assets/icons/Group 6.svg @@ -0,0 +1,4 @@ + + + + diff --git a/theme_autofly/static/src/assets/icons/Group.svg b/theme_autofly/static/src/assets/icons/Group.svg new file mode 100644 index 000000000..bd09e6ed1 --- /dev/null +++ b/theme_autofly/static/src/assets/icons/Group.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_autofly/static/src/assets/icons/Star.svg b/theme_autofly/static/src/assets/icons/Star.svg new file mode 100644 index 000000000..f2117aa60 --- /dev/null +++ b/theme_autofly/static/src/assets/icons/Star.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_autofly/static/src/assets/icons/aroow_orange.svg b/theme_autofly/static/src/assets/icons/aroow_orange.svg new file mode 100644 index 000000000..a5f28ef73 --- /dev/null +++ b/theme_autofly/static/src/assets/icons/aroow_orange.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_autofly/static/src/assets/icons/bar.svg b/theme_autofly/static/src/assets/icons/bar.svg new file mode 100644 index 000000000..1061220a3 --- /dev/null +++ b/theme_autofly/static/src/assets/icons/bar.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/theme_autofly/static/src/assets/icons/search.svg b/theme_autofly/static/src/assets/icons/search.svg new file mode 100644 index 000000000..f8db36b99 --- /dev/null +++ b/theme_autofly/static/src/assets/icons/search.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_autofly/static/src/assets/partners/Vector (1).png b/theme_autofly/static/src/assets/partners/Vector (1).png new file mode 100644 index 000000000..68489ff31 Binary files /dev/null and b/theme_autofly/static/src/assets/partners/Vector (1).png differ diff --git a/theme_autofly/static/src/assets/partners/Vector (11).png b/theme_autofly/static/src/assets/partners/Vector (11).png new file mode 100644 index 000000000..1f97faac0 Binary files /dev/null and b/theme_autofly/static/src/assets/partners/Vector (11).png differ diff --git a/theme_autofly/static/src/assets/partners/Vector (12).png b/theme_autofly/static/src/assets/partners/Vector (12).png new file mode 100644 index 000000000..b28f75543 Binary files /dev/null and b/theme_autofly/static/src/assets/partners/Vector (12).png differ diff --git a/theme_autofly/static/src/assets/partners/Vector (13).png b/theme_autofly/static/src/assets/partners/Vector (13).png new file mode 100644 index 000000000..b9a83ebab Binary files /dev/null and b/theme_autofly/static/src/assets/partners/Vector (13).png differ diff --git a/theme_autofly/static/src/assets/partners/Vector (2).png b/theme_autofly/static/src/assets/partners/Vector (2).png new file mode 100644 index 000000000..b3a0dabe2 Binary files /dev/null and b/theme_autofly/static/src/assets/partners/Vector (2).png differ diff --git a/theme_autofly/static/src/assets/partners/Vector (3).png b/theme_autofly/static/src/assets/partners/Vector (3).png new file mode 100644 index 000000000..211629235 Binary files /dev/null and b/theme_autofly/static/src/assets/partners/Vector (3).png differ diff --git a/theme_autofly/static/src/assets/partners/Vector (4).png b/theme_autofly/static/src/assets/partners/Vector (4).png new file mode 100644 index 000000000..1e6e9e056 Binary files /dev/null and b/theme_autofly/static/src/assets/partners/Vector (4).png differ diff --git a/theme_autofly/static/src/assets/partners/Vector (5).png b/theme_autofly/static/src/assets/partners/Vector (5).png new file mode 100644 index 000000000..e873084e7 Binary files /dev/null and b/theme_autofly/static/src/assets/partners/Vector (5).png differ diff --git a/theme_autofly/static/src/assets/partners/Vector (6).png b/theme_autofly/static/src/assets/partners/Vector (6).png new file mode 100644 index 000000000..13fa54ade Binary files /dev/null and b/theme_autofly/static/src/assets/partners/Vector (6).png differ diff --git a/theme_autofly/static/src/assets/partners/Vector (7).png b/theme_autofly/static/src/assets/partners/Vector (7).png new file mode 100644 index 000000000..3fcb6d21e Binary files /dev/null and b/theme_autofly/static/src/assets/partners/Vector (7).png differ diff --git a/theme_autofly/static/src/assets/popular/poplar-1 (1).jpg b/theme_autofly/static/src/assets/popular/poplar-1 (1).jpg new file mode 100644 index 000000000..61eccfc12 Binary files /dev/null and b/theme_autofly/static/src/assets/popular/poplar-1 (1).jpg differ diff --git a/theme_autofly/static/src/assets/popular/poplar-1 (1).png b/theme_autofly/static/src/assets/popular/poplar-1 (1).png new file mode 100644 index 000000000..f5ca25b09 Binary files /dev/null and b/theme_autofly/static/src/assets/popular/poplar-1 (1).png differ diff --git a/theme_autofly/static/src/assets/popular/poplar-1 (2).jpg b/theme_autofly/static/src/assets/popular/poplar-1 (2).jpg new file mode 100644 index 000000000..7ac2bd6c4 Binary files /dev/null and b/theme_autofly/static/src/assets/popular/poplar-1 (2).jpg differ diff --git a/theme_autofly/static/src/assets/popular/poplar-1 (2).png b/theme_autofly/static/src/assets/popular/poplar-1 (2).png new file mode 100644 index 000000000..7b8afbb3b Binary files /dev/null and b/theme_autofly/static/src/assets/popular/poplar-1 (2).png differ diff --git a/theme_autofly/static/src/assets/popular/poplar-1 (3).png b/theme_autofly/static/src/assets/popular/poplar-1 (3).png new file mode 100644 index 000000000..c734beb06 Binary files /dev/null and b/theme_autofly/static/src/assets/popular/poplar-1 (3).png differ diff --git a/theme_autofly/static/src/assets/popular/poplar-1 (4).png b/theme_autofly/static/src/assets/popular/poplar-1 (4).png new file mode 100644 index 000000000..c59ce410c Binary files /dev/null and b/theme_autofly/static/src/assets/popular/poplar-1 (4).png differ diff --git a/theme_autofly/static/src/assets/popular/poplar-1 (5).png b/theme_autofly/static/src/assets/popular/poplar-1 (5).png new file mode 100644 index 000000000..48baab744 Binary files /dev/null and b/theme_autofly/static/src/assets/popular/poplar-1 (5).png differ diff --git a/theme_autofly/static/src/assets/popular/poplar-1 (6).png b/theme_autofly/static/src/assets/popular/poplar-1 (6).png new file mode 100644 index 000000000..c14899df0 Binary files /dev/null and b/theme_autofly/static/src/assets/popular/poplar-1 (6).png differ diff --git a/theme_autofly/static/src/assets/portfolio/Mask group.png b/theme_autofly/static/src/assets/portfolio/Mask group.png new file mode 100644 index 000000000..48b4e8353 Binary files /dev/null and b/theme_autofly/static/src/assets/portfolio/Mask group.png differ diff --git a/theme_autofly/static/src/assets/portfolio/Rectangle 50.png b/theme_autofly/static/src/assets/portfolio/Rectangle 50.png new file mode 100644 index 000000000..e9aa0d24b Binary files /dev/null and b/theme_autofly/static/src/assets/portfolio/Rectangle 50.png differ diff --git a/theme_autofly/static/src/assets/portfolio/XMLID_1_.png b/theme_autofly/static/src/assets/portfolio/XMLID_1_.png new file mode 100644 index 000000000..aeee7f096 Binary files /dev/null and b/theme_autofly/static/src/assets/portfolio/XMLID_1_.png differ diff --git a/theme_autofly/static/src/assets/portfolio/image 11.png b/theme_autofly/static/src/assets/portfolio/image 11.png new file mode 100644 index 000000000..a28d362bd Binary files /dev/null and b/theme_autofly/static/src/assets/portfolio/image 11.png differ diff --git a/theme_autofly/static/src/assets/portfolio/image 12.png b/theme_autofly/static/src/assets/portfolio/image 12.png new file mode 100644 index 000000000..6784fcedd Binary files /dev/null and b/theme_autofly/static/src/assets/portfolio/image 12.png differ diff --git a/theme_autofly/static/src/assets/portfolio/image 13.png b/theme_autofly/static/src/assets/portfolio/image 13.png new file mode 100644 index 000000000..b8d874f0d Binary files /dev/null and b/theme_autofly/static/src/assets/portfolio/image 13.png differ diff --git a/theme_autofly/static/src/assets/portfolio/image 14.png b/theme_autofly/static/src/assets/portfolio/image 14.png new file mode 100644 index 000000000..de01b63ca Binary files /dev/null and b/theme_autofly/static/src/assets/portfolio/image 14.png differ diff --git a/theme_autofly/static/src/assets/portfolio/image 15.png b/theme_autofly/static/src/assets/portfolio/image 15.png new file mode 100644 index 000000000..4350c6220 Binary files /dev/null and b/theme_autofly/static/src/assets/portfolio/image 15.png differ diff --git a/theme_autofly/static/src/assets/portfolio/image 17.png b/theme_autofly/static/src/assets/portfolio/image 17.png new file mode 100644 index 000000000..52089538f Binary files /dev/null and b/theme_autofly/static/src/assets/portfolio/image 17.png differ diff --git a/theme_autofly/static/src/assets/portfolio/image 18.png b/theme_autofly/static/src/assets/portfolio/image 18.png new file mode 100644 index 000000000..0ad4e7d6c Binary files /dev/null and b/theme_autofly/static/src/assets/portfolio/image 18.png differ diff --git a/theme_autofly/static/src/assets/portfolio/image 19.png b/theme_autofly/static/src/assets/portfolio/image 19.png new file mode 100644 index 000000000..2cd4b0fe0 Binary files /dev/null and b/theme_autofly/static/src/assets/portfolio/image 19.png differ diff --git a/theme_autofly/static/src/assets/portfolio/pbg.png b/theme_autofly/static/src/assets/portfolio/pbg.png new file mode 100644 index 000000000..2a828dd0a Binary files /dev/null and b/theme_autofly/static/src/assets/portfolio/pbg.png differ diff --git a/theme_autofly/static/src/assets/portfolio/pbg2.png b/theme_autofly/static/src/assets/portfolio/pbg2.png new file mode 100644 index 000000000..4f440e447 Binary files /dev/null and b/theme_autofly/static/src/assets/portfolio/pbg2.png differ diff --git a/theme_autofly/static/src/assets/portfolio/pbg4.png b/theme_autofly/static/src/assets/portfolio/pbg4.png new file mode 100644 index 000000000..3ef16a56c Binary files /dev/null and b/theme_autofly/static/src/assets/portfolio/pbg4.png differ diff --git a/theme_autofly/static/src/assets/product/3d-rendering-black-leather-car-seat-isolated-white 1.png b/theme_autofly/static/src/assets/product/3d-rendering-black-leather-car-seat-isolated-white 1.png new file mode 100644 index 000000000..73f42cd07 Binary files /dev/null and b/theme_autofly/static/src/assets/product/3d-rendering-black-leather-car-seat-isolated-white 1.png differ diff --git a/theme_autofly/static/src/assets/product/black-wheel-white 1.png b/theme_autofly/static/src/assets/product/black-wheel-white 1.png new file mode 100644 index 000000000..2e31b1be9 Binary files /dev/null and b/theme_autofly/static/src/assets/product/black-wheel-white 1.png differ diff --git a/theme_autofly/static/src/assets/product/image 3.png b/theme_autofly/static/src/assets/product/image 3.png new file mode 100644 index 000000000..f22de4c7b Binary files /dev/null and b/theme_autofly/static/src/assets/product/image 3.png differ diff --git a/theme_autofly/static/src/assets/product/racing-performance-aluminum-wheel-rim-cutout-3d-rendering-illustration 1.png b/theme_autofly/static/src/assets/product/racing-performance-aluminum-wheel-rim-cutout-3d-rendering-illustration 1.png new file mode 100644 index 000000000..5f73f1b1f Binary files /dev/null and b/theme_autofly/static/src/assets/product/racing-performance-aluminum-wheel-rim-cutout-3d-rendering-illustration 1.png differ diff --git a/theme_autofly/static/src/assets/team/Manager.jpg b/theme_autofly/static/src/assets/team/Manager.jpg new file mode 100644 index 000000000..38ff2051b Binary files /dev/null and b/theme_autofly/static/src/assets/team/Manager.jpg differ diff --git a/theme_autofly/static/src/assets/team/a_manager.jpg b/theme_autofly/static/src/assets/team/a_manager.jpg new file mode 100644 index 000000000..eda007e0d Binary files /dev/null and b/theme_autofly/static/src/assets/team/a_manager.jpg differ diff --git a/theme_autofly/static/src/assets/team/customer_s.jpg b/theme_autofly/static/src/assets/team/customer_s.jpg new file mode 100644 index 000000000..bcb8f24da Binary files /dev/null and b/theme_autofly/static/src/assets/team/customer_s.jpg differ diff --git a/theme_autofly/static/src/assets/team/image 4.png b/theme_autofly/static/src/assets/team/image 4.png new file mode 100644 index 000000000..ec65bafa9 Binary files /dev/null and b/theme_autofly/static/src/assets/team/image 4.png differ diff --git a/theme_autofly/static/src/assets/team/image 5.png b/theme_autofly/static/src/assets/team/image 5.png new file mode 100644 index 000000000..04d67c8ce Binary files /dev/null and b/theme_autofly/static/src/assets/team/image 5.png differ diff --git a/theme_autofly/static/src/assets/team/marketing.jpg b/theme_autofly/static/src/assets/team/marketing.jpg new file mode 100644 index 000000000..269683d12 Binary files /dev/null and b/theme_autofly/static/src/assets/team/marketing.jpg differ diff --git a/theme_autofly/static/src/assets/team/sales.jpg b/theme_autofly/static/src/assets/team/sales.jpg new file mode 100644 index 000000000..211cda966 Binary files /dev/null and b/theme_autofly/static/src/assets/team/sales.jpg differ diff --git a/theme_autofly/static/src/assets/team/technician.jpg b/theme_autofly/static/src/assets/team/technician.jpg new file mode 100644 index 000000000..7abc7fad6 Binary files /dev/null and b/theme_autofly/static/src/assets/team/technician.jpg differ diff --git a/theme_autofly/static/src/assets/testimonial/arrow11.svg b/theme_autofly/static/src/assets/testimonial/arrow11.svg new file mode 100644 index 000000000..e599d1cf9 --- /dev/null +++ b/theme_autofly/static/src/assets/testimonial/arrow11.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_autofly/static/src/assets/testimonial/arrow_3.svg b/theme_autofly/static/src/assets/testimonial/arrow_3.svg new file mode 100644 index 000000000..286859647 --- /dev/null +++ b/theme_autofly/static/src/assets/testimonial/arrow_3.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_autofly/static/src/assets/testimonial/arrow_4.svg b/theme_autofly/static/src/assets/testimonial/arrow_4.svg new file mode 100644 index 000000000..1b54ba1da --- /dev/null +++ b/theme_autofly/static/src/assets/testimonial/arrow_4.svg @@ -0,0 +1,3 @@ + + + diff --git a/theme_autofly/static/src/assets/testimonial/ellipse_ 4.png b/theme_autofly/static/src/assets/testimonial/ellipse_ 4.png new file mode 100644 index 000000000..f9921156a Binary files /dev/null and b/theme_autofly/static/src/assets/testimonial/ellipse_ 4.png differ diff --git a/theme_autofly/static/src/assets/testimonial/ellipse_3.png b/theme_autofly/static/src/assets/testimonial/ellipse_3.png new file mode 100644 index 000000000..bcce8f206 Binary files /dev/null and b/theme_autofly/static/src/assets/testimonial/ellipse_3.png differ diff --git a/theme_autofly/static/src/assets/testimonial/ellipse_5.png b/theme_autofly/static/src/assets/testimonial/ellipse_5.png new file mode 100644 index 000000000..56501ee73 Binary files /dev/null and b/theme_autofly/static/src/assets/testimonial/ellipse_5.png differ diff --git a/theme_autofly/static/src/css/owl.carousel.min.css b/theme_autofly/static/src/css/owl.carousel.min.css new file mode 100644 index 000000000..a71df11c0 --- /dev/null +++ b/theme_autofly/static/src/css/owl.carousel.min.css @@ -0,0 +1,6 @@ +/** + * Owl Carousel v2.3.4 + * Copyright 2013-2018 David Deutsch + * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE + */ +.owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y;touch-action:manipulation;-moz-backface-visibility:hidden}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.no-js .owl-carousel,.owl-carousel.owl-loaded{display:block}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-nav button.owl-next,.owl-carousel .owl-nav button.owl-prev,.owl-carousel button.owl-dot{background:0 0;color:inherit;border:none;padding:0!important;font:inherit}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{-ms-touch-action:pan-y;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{animation-duration:1s;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{animation-name:fadeOut}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item .owl-lazy:not([src]),.owl-carousel .owl-item .owl-lazy[src^=""]{max-height:0}.owl-carousel .owl-item img.owl-lazy{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{-ms-transform:scale(1.3,1.3);transform:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%} \ No newline at end of file diff --git a/theme_autofly/static/src/css/owl.theme.default.min.css b/theme_autofly/static/src/css/owl.theme.default.min.css new file mode 100644 index 000000000..487088d2e --- /dev/null +++ b/theme_autofly/static/src/css/owl.theme.default.min.css @@ -0,0 +1,6 @@ +/** + * Owl Carousel v2.3.4 + * Copyright 2013-2018 David Deutsch + * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE + */ +.owl-theme .owl-dots,.owl-theme .owl-nav{text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-nav{margin-top:10px}.owl-theme .owl-nav [class*=owl-]{color:#FFF;font-size:14px;margin:5px;padding:4px 7px;background:#D6D6D6;display:inline-block;cursor:pointer;border-radius:3px}.owl-theme .owl-nav [class*=owl-]:hover{background:#869791;color:#FFF;text-decoration:none}.owl-theme .owl-nav .disabled{opacity:.5;cursor:default}.owl-theme .owl-nav.disabled+.owl-dots{margin-top:10px}.owl-theme .owl-dots .owl-dot{display:inline-block;zoom:1}.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#D6D6D6;display:block;-webkit-backface-visibility:visible;transition:opacity .2s ease;border-radius:30px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#869791} \ No newline at end of file diff --git a/theme_autofly/static/src/css/style.css b/theme_autofly/static/src/css/style.css new file mode 100644 index 000000000..8955513c2 --- /dev/null +++ b/theme_autofly/static/src/css/style.css @@ -0,0 +1,3081 @@ +:root { + --white-color: #ffff; + --off-white:#F8F8F8; + --black-color: #000000; + --autofly-red: #D10202; + --autofly-text-red: #D10205; + --autofly-orange:#EB583D; + --grey-1:#8b8b8b; + --grey-2:#606060; + --grey-3:#747474; + --border-color:#E3E2DF; + --border-color-2:#D7D4D4; + --button-s-bg: #eb583d1a; + --heading-color:#282828; + --section-bg:#252525; +} + +*:focus { + outline: 0 !important; +} + +*:hover { + transition: 0.2s; +} + +*:focus { + outline: 0 !important; + box-shadow: none !important; +} + +*button:focus { + border: none; + outline: none; + box-shadow: none; +} + +* { + list-style-type: none; + font-family: "Inter", sans-serif !important; +} + +*:focus, *:active { + outline: none !important; +} + +html.sr .load-hidden { + visibility: hidden; +} + +*::selection { + color: #f3ebee; + background-color: black; +} + +*a, +a:visited { + color: #990000; + text-decoration: none; +} + +.oi { + font-family: 'odoo_ui_icons' !important; +} + +body { + position: relative; + font-family: font-default !important; + background-color: #F5F5F5; +} + +.affix { + top: 0; + width: 100%; + z-index: 9999 !important; +} + +html { + scroll-behavior: smooth !important; +} + +body { + scroll-behavior: smooth !important; +} + +@media screen and (max-width: 1920px) { + .container { + max-width: 1300px; + width: 100%; + width: calc(100% - 1rem); + margin: auto; + } +} + +@media screen and (max-width: 1200px) { + .container { + max-width: 1140px; + width: 100%; + width: calc(100% - 1rem); + margin: auto; + } +} + +@media screen and (max-width: 992px) { + .container { + max-width: 960px; + width: 100%; + width: calc(100% - 1rem); + margin: auto; + } +} + +@media screen and (max-width: 768px) { + .container { + max-width: 720px; + width: 100%; + width: calc(100% - 1rem); + margin: auto; + } +.s_carousel .carousel-control-prev, .s_carousel .carousel-control-next, .s_quotes_carousel .carousel-control-prev, .s_quotes_carousel .carousel-control-next { + display: block !important; +} +} + +@media screen and (max-width: 576px) { + .container { + max-width: 540px; + width: 100%; + width: calc(100% - 1rem); + margin: auto; + } +} + +.common_heading { + font-size: 32px; + font-weight: 800; + color: var(--heading-color); + text-transform: uppercase; + letter-spacing: 0.1em; + margin-bottom: 15px; +} + +.white_heading { + color: var(--white-color) !important; +} + +.common_p { + color: var(--autofly-orange); + font-size: 20px; + text-transform: uppercase; + font-weight: 700; + margin-bottom: 10px; +} + +.common_text { + font-weight: 400; + font-size: 22px; + line-height: 35px; + color: var(--grey-3); +} + +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ +/* Document + ========================================================================== */ +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ +html { + line-height: 1.15; + /* 1 */ + -webkit-text-size-adjust: 100%; + /* 2 */ +} + +/* Sections + ========================================================================== */ +/** + * Remove the margin in all browsers. + */ +body { + margin: 0; +} + +/** + * Render the `main` element consistently in IE. + */ +main { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ +hr { + box-sizing: content-box; + /* 1 */ + height: 0; + /* 1 */ + overflow: visible; + /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +pre { + font-family: monospace, monospace; + /* 1 */ + font-size: 1em; + /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ +/** + * Remove the gray background on active links in IE 10. + */ +a { + background-color: transparent; +} + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ +abbr[title] { + border-bottom: none; + /* 1 */ + text-decoration: underline; + /* 2 */ + text-decoration: underline dotted; + /* 2 */ +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +code, +kbd, +samp { + font-family: monospace, monospace; + /* 1 */ + font-size: 1em; + /* 2 */ +} + +/** + * Add the correct font size in all browsers. + */ +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ +/** + * Remove the border on images inside links in IE 10. + */ +img { + border-style: none; +} + +/* Forms + ========================================================================== */ +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ +button, +input, +optgroup, +select, +textarea { + font-family: inherit; + /* 1 */ + font-size: 100%; + /* 1 */ + line-height: 1.15; + /* 1 */ + margin: 0; + /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ +button, +input { + /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ +button, +select { + /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +/** + * Remove the inner border and padding in Firefox. + */ +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ +legend { + box-sizing: border-box; + /* 1 */ + color: inherit; + /* 2 */ + display: table; + /* 1 */ + max-width: 100%; + /* 1 */ + padding: 0; + /* 3 */ + white-space: normal; + /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ +[type="search"] { + -webkit-appearance: textfield; + /* 1 */ + outline-offset: -2px; + /* 2 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ +::-webkit-file-upload-button { + -webkit-appearance: button; + /* 1 */ + font: inherit; + /* 2 */ +} + +/* Interactive + ========================================================================== */ +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ +summary { + display: list-item; +} + +/* Misc + ========================================================================== */ +/** + * Add the correct display in IE 10+. + */ +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ +[hidden] { + display: none; +} + +.btn { + border: none !important; + outline: 0 !important; + transition: 0.5s; +} + +.btn-primary { + border-radius: 4px; + font-size: 18px; + font-weight: 500; + text-decoration: none; + padding: 10px 25px; + position: relative; + background-color: var(--white-color) !important; + color: var(--autofly-text-red) !important; + transition: all 0.3s; +} + +.btn-primary: hover { + color: var(--white-color) !important; + background-color: var(--autofly-text-red) !important; +} + +.btn-cart { + color: var(--grey-1) !important; +} + +.btn-cart:hover { + color: var(--autofly-text-red) !important; +} +.btn-secondary { + border-radius: 4px; + font-size: 18px; + font-weight: 500; + text-decoration: none; + padding: 10px 25px; + position: relative; + background-color: var(--button-s-bg) !important; + color: var(--autofly-text-red) !important; + transition: all 0.3s; +} + +.btn-secondary:hover { + color: var(--white-color) !important; + background-color: var(--autofly-text-red) !important; +} + +.btn-card { + border-radius: 4px; + font-size: 18px; + font-weight: 500; + text-decoration: none; + padding: 10px 25px; + position: relative; + background-color: var(--autofly-orange); + color: var(--white-color) !important; + transition: all 0.3s; + font-size: 16px; +} + +.banner { + background-image: url(./../assets/banner/banner.png); + background-position: center; + background-size: cover; + height: 50vw; +} + +@media screen and (max-width: 992px) { + .banner { + height: 50vh; + } +} + +@media screen and (max-width: 576px) { + .banner { + height: 85vh; + } +} + +.banner .banner_content { + padding: 100px 0px; +} + +@media screen and (max-width: 992px) { + .banner .banner_content { + padding-top: 0; + margin-top: 100px; + } +} + +.banner .banner_content .details { + margin-bottom: 50px; +} + +.banner .banner_content .details .banner_heading { + color: var(--white-color); + font-size: 60px; + font-weight: 900; +} + +@media screen and (max-width: 992px) { + .banner .banner_content .details .banner_heading { + margin-top: 100px; + font-size: 40px; + } +} + +.banner .banner_content .details p { + color: var(--white-color); + font-size: 18px; +} + +.banner_sub { + background-position: center; + background-size: cover; + height: 50vh; + position: relative; +} + +@media screen and (max-width: 768px) { + .banner_sub { + height: 30vh !important; + } +} + +.banner_sub::after { + content: ''; + background-color: rgba(37, 12, 4, 0.379); + height: 100%; + width: 100%; + position: absolute; + left: 0; + top: 0; +} + +.banner_sub .banner_content { + height: 100%; + display: flex; + align-items: center; + position: relative; + z-index: 1024; +} + +.banner_sub .banner_content .breadcrumb { + background: transparent; +} + +.banner_sub .banner_content .breadcrumb .breadcrumb-item { + color: var(--autofly-orange); +} + +.banner_sub .banner_content .breadcrumb .breadcrumb-item:first-child::before { + display: none; +} + +.banner_sub .banner_content .breadcrumb .breadcrumb-item::before { + display: inline-block; + padding-right: 1.5rem; + color: #fff; + content: "/"; +} + +.banner_sub .banner_content .breadcrumb .breadcrumb-item a { + color: var(--white-color); + text-decoration: none; +} + +.banner_sub .banner_content .breadcrumb .breadcrumb-item a:hover { + color: var(--autofly-orange); +} + +.banner_contact { + background-image: url(./../assets/banner/contact.jpg) !important; +} + +.banner_blog { + background-image: url(./../assets/banner/blog.jpg) !important; +} + +.banner_team { + background-image: url(./../assets/banner/team.jpg) !important; + position: relative; + background-position-y: -240px !important; + background-repeat: no-repeat !important; +} + +@media screen and (max-width: 768px) { + .banner_team { + background-position-y: 0 !important; + } +} + +.banner_service { + background-image: url(./../assets/banner/service.jpg) !important; + position: relative; + background-repeat: no-repeat !important; + padding-top: 50px; + padding-bottom: 50px; + height: auto !important; +} + +.banner_service .details { + margin-bottom: 50px; +} + +.banner_service .details .banner_heading { + color: var(--white-color); + font-size: 60px; + font-weight: 900; + text-transform: uppercase; +} + +@media screen and (max-width: 992px) { + .banner_service .details .banner_heading { + margin-top: 100px; + font-size: 40px; + } +} + +.banner_service .details p { + color: var(--white-color); + font-size: 18px; +} + +@media screen and (max-width: 768px) { + .banner_service { + background-position-y: 0 !important; + } +} + +.banner_portfolio { + background-image: url(./../assets/banner/image8.png) !important; +} + + + +/*@media screen and (max-width: 768px) { + .header_modern_light { + margin-bottom: 150px; + } +}*/ + +.header_modern_light .top_bar { + border: 1px solid transparent; + border-bottom-color: var(--border-color); + padding: 15px 0; +} + +.header_modern_light .top_bar ul { + display: flex; + padding-left: 0; + margin-bottom: 0px !important; +} + +@media screen and (max-width: 768px) { + .header_modern_light .top_bar .top_bar_left ul { + margin-bottom: 6px; + justify-content: center; + flex-wrap: wrap; + } +} + +.header_modern_light .top_bar .top_bar_left ul li a:hover { + text-decoration: none; +} + +.header_modern_light .top_bar .top_bar_left ul li a:hover svg path { + fill: var(--autofly-orange); + transition: all ease 0.3s; +} + +.header_modern_light .top_bar .top_bar_left ul li a svg { + margin-top: -3px; +} + +.header_modern_light .top_bar .top_bar_left ul li a span { + color: var(--grey-2); + font-weight: 400; +} + +.header_modern_light .top_bar .top_bar_left ul li a span:hover { + color: var(--grey-3); +} + +.header_modern_light .top_bar .top_bar_left ul li:last-child { + padding-left: 15px; +} + +.header_modern_light .top_bar .top_bar_right ul { + justify-content: end; + display: flex; + padding-left: 0; +} + +@media screen and (max-width: 768px) { + .header_modern_light .top_bar .top_bar_right ul { + margin-bottom: 10px; + justify-content: center; + } +} + +.header_modern_light .top_bar .top_bar_right ul li a { + color: var(--grey-2); + font-weight: 400; +} + +.header_modern_light .top_bar .top_bar_right ul li a:hover { + text-decoration: none; + color: var(--grey-3); +} + +.header_modern_light .top_bar .top_bar_right ul li:last-child { + margin-left: 8px; + padding-left: 8px; + border: 1px solid; + border-color: transparent; + border-left-color: var(--grey-2) !important; +} + +.header_modern_light .navigation { + transition: background-color 0.4s ease-out; + background-color: var(--white-color); +} + +@media screen and (max-width: 1200px) { + .header_modern_light .navigation .navbar { + margin: 0px; + padding: 15px 0px; + padding-bottom: 15px; + } +} + +.header_modern_light .navigation .navbar .navbar-nav { + flex-direction: row; +} + +.header_modern_light .navigation .navbar .navbar-icons { + width: fit-content !important; + flex-direction: row !important; + padding-top: 5px !important; +} + +@media screen and (max-width: 1200px) { + .header_modern_light .navigation .navbar .navbar-nav { + flex-direction: column; + } +} +@media screen and (max-width: 1200px) { + .header_modern_light .navigation .navbar .navbar-brand { + margin-right: auto; + padding-left: 15px; + + } +} + +.header_modern_light .navigation .navbar .navbar-brand span { + max-width: 150px; + display: inline-block; +} + +.header_modern_light .navigation .navbar .navbar-brand span img { + width: 100%; +} + +@media screen and (max-width: 1200px) { + .header_modern_light .navigation .navbar .navbar-collapse { + background-color: var(--white-color); + padding: 15px 15px; + } + .header_modern_light .navigation .navbar .navbar-brand span img { + width: 95px; + } +} + +.header_modern_light .navigation .navbar .navbar-nav { + margin: auto; +} + +.navigation .navbar .navbar-toggler { + color: black !important; + border-color: black !important; + border-radius: 0; + border-width: 2px; + max-width: 41px; + padding: 3px 6px; +} + +.navigation .navbar .navbar-toggler img { + width: 100%; +} +@media screen and (max-width: 1200px) { + .header_modern_light .navigation .navbar .navbar-nav .nav-item { + padding: 5px 0; + align-items: center; + } +} + +.header_modern_light .navigation .navbar .navbar-nav .nav-item .nav-link { + color: var(--grey-1) !important; + font-size: 14px; + margin: 0px 15px; + font-weight: 400; + text-transform: uppercase; +} +@media screen and (max-width: 1200px) { + .header_modern_light .navigation .navbar .navbar-nav .nav-item .nav-link { + display: flex; + justify-content: center; + } +} +.header_modern_light .navigation .navbar .navbar-nav .nav-item .nav-link:hover { + color: var(--autofly-red) !important; +} + +.header_modern_light .navigation .navbar .navbar-nav .nav-item .active { + color: var(--autofly-orange) !important; +} + +.header_modern_light .navigation .navbar form { + margin-left: 15px; + padding-right: 15px; + margin-right: 15px; +} + +.header_modern_light .navigation .navbar form span { + padding-right: 15px; +} + +.header_modern_light .navigation .navbar form span a { + color: var(--white-color); + margin-right: 15px; +} + +.header_modern_light .navigation .navbar form span a:hover svg path { + fill: var(--autofly-red); + transition: all ease 0.3s; +} + +.header_modern_light .navigation .navbar form span a:hover svg line { + stroke: var(--autofly-red); + transition: all ease 0.3s; +} + +.header_modern_light .navigation .navbar form :last-child { + padding-right: 0px !important; +} + +.header_modern_light .navigation .navbar form :last-child a { + margin-right: 0; +} + +.bg_white { + background-color: rgba(0, 0, 0, 0.57); + transition: background-color 0.4s ease-out; +} + +.fadeInDown { + animation-name: fadeInDown; + animation-duration: 1s; + animation-fill-mode: both; +} + +@keyframes fadeInDown { + 0% { + opacity: 0; + transform: translate3d(0, -100%, 0); + } + 100% { + opacity: 1; + transform: none; + } +} + +.fadeInup { + animation-name: fadeInup; + animation-duration: 1s; + animation-fill-mode: both; + animation-direction: reverse; +} + +@keyframes fadeInup { + 100% { + opacity: 0; + transform: translate3d(0, -100%, 0); + } + 0% { + opacity: 1; + transform: none; + } +} + +.b_shadow { + box-shadow: 0px 3px 6px 1px rgba(200, 187, 201, 0.48); +} + +/* top line needs a little padding */ +.navbar-toggler span:nth-child(1) { + margin-top: 0.3em; +} + +/** + * Animate collapse into X. + */ +/* top line rotates 45 degrees clockwise and moves up and in a bit to close the center of the X in the center of the button */ +.navbar-toggler:not(.collapsed) span:nth-child(1) { + transform: translate(15%, -33%) rotate(45deg); +} + +/* center line goes transparent */ +.navbar-toggler:not(.collapsed) span:nth-child(2) { + opacity: 0; +} + +/* bottom line rotates 45 degrees counter clockwise, in, and down a bit to close the center of the X in the center of the button */ +.navbar-toggler:not(.collapsed) span:nth-child(3) { + transform: translate(15%, 33%) rotate(-45deg); +} + +/** + * Animate collapse open into hamburger menu + */ +/* top line moves back to initial position and rotates back to 0 degrees */ +.navbar-toggler span:nth-child(1) { + transform: translate(0%, 0%) rotate(0deg); +} + +/* middle line goes back to regular color and opacity */ +.navbar-toggler span:nth-child(2) { + opacity: 1; +} + +/* bottom line goes back to initial position and rotates back to 0 degrees */ +.navbar-toggler span:nth-child(3) { + transform: translate(0%, 0%) rotate(0deg); +} + +.navbar-toggler span { + display: block; + background-color: var(--autofly-orange); + height: 3px; + width: 25px; + margin-top: 5px; + margin-bottom: 5px; + position: relative; + border-radius: 2px; + left: 0; + opacity: 1; + transition: all 0.35s ease-out; + transform-origin: center left; +} + +@media screen and (max-width: 992px) { + .navbar-toggler { + margin-right: 25px; + } +} + +.footer { + background-color: var(--section-bg); + margin-top: 120px; + padding: 80px 0; + padding-top:0; +} + +.o_footer{ + background-color: var(--section-bg) !important; +} + +.o_footer .o_footer_copyright { + background-color: transparent; + border: 1px solid transparent; + border-top-color: transparent; + border-top-color: var(--border-color); +} + +@media screen and (max-width: 768px) { + .footer { + margin-top: 60px; + } +} + +.footer .wrapper { + margin-top: 40px; +} + +.footer .wrapper .footer_content .footer_heading { + color: var(--white-color); + font-size: 20px; + font-weight: 600; + margin-bottom: 20px; + text-transform: uppercase; +} + +.footer .wrapper .footer_content .footer_brand { + letter-spacing: 0.3rem; +} + +.footer .wrapper .footer_content .footer_text { + color: var(--white-color); + font-size: 16px; + line-height: 35px; +} + +.footer .wrapper .footer_content .footer_link { + padding-left: 0; +} + +.footer .wrapper .footer_content .footer_link li { + padding-bottom: 15px; +} + +.footer .wrapper .footer_content .footer_link li a { + color: var(--white-color); + font-size: 16px; +} + +.footer .wrapper .footer_content .footer_link li a:hover { + color: var(--autofly-orange); + text-decoration: none; +} + +.search { + margin-bottom: 50px; +} + +.search .search_bar { + margin-top: 20px; + padding: 30px 20px; + border-radius: 5px; + background-color: var(--white-color); + box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08); +} + +@media screen and (max-width: 768px) { + .search .search_bar .brand { + padding-left: 9px; + } +} + +.search .search_bar .brand p { + margin-bottom: 5px; + padding-left: 6px; + color: var(--grey-3); +} + +.search .search_bar .brand .b_name { + font-size: 16px; + color: var(--autofly-text-red); +} + +.search .search_bar .spec_c { + border: 1px solid; + border-color: transparent; + border-left-color: var(--border-color-2); +} + +.search .search_bar .spec_c .spec { + font-size: 10px; + color: var(--grey-3); +} + +.search .search_bar label { + margin-bottom: 5px; + font-size: 12px; + color: var(--grey-3); +} + +.no_search { + padding-top: 20px; + text-align: center; + color: red; +} + +@media screen and (max-width: 500px) { + .search .search_bar select { + font-size: 13px !important; + } +} + +.search .search_bar input { + font-size: 14px; +} + +.search .search_bar select { + font-size: 14px; +} + +.search .search_bar .search-submit { + display: flex; + align-items: center; + justify-content: center; +} + +@media screen and (max-width: 768px) { + .search .search_bar .bd_none_md { + border-left-color: transparent; + } +} + +@media screen and (max-width: 576px) { + .search .search_bar .bd_none_md { + border-left-color: var(--border-color-2) !important; + } +} + +@media screen and (max-width: 576px) { + .search .search_bar .bd_none_sm { + border-left-color: transparent; + } +} + +.find_car { + padding-top: 80px; + margin-bottom: 50px; +} + +@media screen and (max-width: 768px) { + .find_car { + padding-top: 40px; + } +} + +.find_car .wrapper .f_c_info { + text-align: center; + background-color: var(--white-color); + padding: 30px 0; + border-radius: 5px; + margin: 0px 15px; + display: block; +} + +.find_car .wrapper .f_c_info:hover { + box-shadow: -1px 4px 7px 0px rgba(204, 202, 204, 0.7); +} + +.find_car .wrapper .f_c_info .img_wrapper { + max-width: 200px; + margin: auto; + margin-bottom: 15px; +} + +.find_car .wrapper .f_c_info .img_wrapper img { + width: 100%; +} + +.find_car .wrapper .f_c_info .car_name { + font-size: 18px; + font-weight: 700; + color: var(--grey-2); + margin-bottom: 5px; +} + +.find_car .wrapper .f_c_info .count { + font-size: 16px; + color: var(--grey-1); +} + +.find_car .wrapper .f_c_info:hover { + text-decoration: none !important; +} + +.find_car .wrapper .f_c_info:hover .car_name { + color: var(--autofly-orange); +} + +.find_car .wrapper .f_c_info:hover .count { + color: var(--autofly-orange); +} + +.partners { + background-color: var(--heading-color); + padding: 50px 0; + margin-bottom: 50px; + margin-top: 80px; +} + +.partners .wrapper .p_alighn { + display: flex; + justify-content: center; + align-items: center; +} + +.partners .wrapper .p_img_wrapper { + max-width: 65px; +} + +.partners .wrapper .p_img_wrapper img { + width: 100%; + transition: transform .7s ease-in-out; + cursor: grab; +} + +.partners .wrapper .p_img_wrapper img:hover { + transform: rotate(360deg); +} + +.Popular { + padding-top: 80px; + margin-bottom: 100px; + padding-bottom: 40px; + +} + +@media screen and (max-width: 992px) { + .Popular { + margin-bottom: 0; + padding-bottom: 0; + } +} + +.p_b_wrapper{ + text-align: center !important; +} + +.Popular .wrapper .product_card { + background-color: var(--white-color); + padding: 5px 25px; + transition: 0.5s; + margin-bottom: 30px; +} + +@media screen and (max-width: 768px) { + .Popular .wrapper .product_card { + padding: 10px 25px 15px 25px; + } +} + +.Popular .wrapper .product_card:hover { + transition: 0.5s; + box-shadow: 0 0 11px rgba(33, 33, 33, 0.081) !important; +} + +.Popular .wrapper .product_card a { + text-decoration: none; + display: block; + margin-top: 15px; +} + +.Popular .wrapper .product_card a .p_card_heading { + font-size: 18px; + font-weight: 500; + color: var(--heading-color); + padding-bottom: 15px; +} + +.Popular .wrapper .product_card a .p_card_heading span { + font-size: 11px; + font-weight: 400; +} + +.Popular .wrapper .product_card a .img_wrapper { + max-width: 440px; + margin: auto; +} + +.Popular .wrapper .product_card a .img_wrapper img { + width: 100%; + border-radius: 5px; +} + +.Popular .wrapper .product_card a .card_bottom { + display: grid; + grid-template-columns: 1fr 1fr 1fr; + margin-top: 15px; + border: 1px solid; + border-color: transparent; + border-bottom-color: var(--border-color-2); + padding-bottom: 15px; +} + +.Popular .wrapper .product_card a .card_bottom .c_b_wrapper { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + +.Popular .wrapper .product_card a .card_bottom .c_b_wrapper img { + width: 20px; +} + +.Popular .wrapper .product_card a .card_bottom .c_b_wrapper span { + font-size: 14px; + color: var(--grey-2); +} + +.Popular .wrapper .product_card .p_c_bottom { + display: flex; + justify-content: space-between; + align-items: center; + padding: 12px 0px; +} + +.Popular .wrapper .product_card .p_c_bottom .price { + font-size: 20px; + color: var(--heading-color); + font-weight: 700; +} + +.choose { + padding-top: 80px; +} + +@media screen and (max-width: 768px) { + .choose { + padding-top: 0px; + } +} + +.choose .wrapper .choose_left { + margin-right: 110px; +} + +@media screen and (max-width: 768px) { + .choose .wrapper .choose_left { + margin-right: 0; + } +} + +.choose .wrapper .choose_left .c_details { + padding-top: 10px; +} + +.choose .wrapper .choose_left .c_details p { + font-weight: 400; + font-size: 22px; + line-height: 35px; + color: var(--grey-3); + margin-bottom: 20px; +} + +.choose .wrapper .choose_left .c_details h6 { + color: var(--autofly-orange); + font-size: 22px; + text-transform: capitalize; + font-weight: 700; + margin-bottom: 15px; +} + +.choose .wrapper .choose_right { + max-width: 650px; +} + +@media screen and (max-width: 768px) { + .choose .wrapper .choose_right { + max-width: 100%; + } +} + +.choose .wrapper .choose_right img { + width: 100%; + border-radius: 5px; +} + +.testimonial { + background-color: var(--section-bg); + padding: 80px 0px; +} + +.testimonial .s_quotes_carousel .wrapper .slider_wrapper { + padding-top: 40px; + padding-bottom: 40px; +} + +.testimonial .s_quotes_carousel .wrapper .slider_wrapper .owl-carousel { + display: flex; + gap: 15px; + align-items: center; + justify-content: center; +} + +.testimonial .s_quotes_carousel .wrapper .slider_wrapper .owl-carousel .item .item_wrapper { + background-color: var(--autofly-orange); + border-radius: 8px; + padding: 25px; +} + +.testimonial .s_quotes_carousel .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .media { + display: flex; + align-items: center; + gap: 15px; +} + +.testimonial .s_quotes_carousel .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .media img { + max-width: 65px !important; + border-radius: 50% !important; +} + +.testimonial .s_quotes_carousel .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .media .media-body { + color: var(--white-color); + font-size: 14px; + font-weight: 300; + font-style: normal; + line-height: normal; + margin-top: 8px; +} + +.testimonial .s_quotes_carousel .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .media .media-body h5 { + color: var(--white-color); + font-weight: 700; + font-size: 20px !important; + letter-spacing: 0.1em; +} + +.testimonial .s_quotes_carousel .wrapper .slider_wrapper .owl-carousel .item .item_wrapper p { + padding-top: 15px; + color: var(--off-white); + font-size: 16px; + font-weight: 400; + line-height: 29px; + text-align: center; +} + +.testimonial .s_quotes_carousel .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .rating { + display: flex; + align-items: center; + justify-content: center; +} + +.testimonial .s_quotes_carousel .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .rating span { + color: var(--white-color); + font-size: 14px; + font-weight: 300; +} + +.testimonial .s_quotes_carousel .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .rating ul { + padding-left: 11px; + display: flex; + margin-bottom: 3px; +} + +.testimonial .s_quotes_carousel .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .rating ul li { + padding-right: 3px; +} + +.testimonial .s_quotes_carousel .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .rating ul li a { + display: block; +} + +.testimonial .s_quotes_carousel .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .rating ul li a img { + width: 18px; +} + +.media { + display: flex; + align-items: flex-start; +} + +.owl-carousel .owl-nav.disabled { + display: flex !important; + width: 100%; + justify-content: space-between; + margin-top: 40px; +} + +.owl-carousel .owl-nav.disabled button { + background-color: white; + border-radius: 50%; +} + +.owl-carousel .owl-nav.disabled button.owl-prev { + background-color: transparent; + border: 2px solid var(--white-color); + position: relative; + height: 37px; + width: 37px; +} + +.owl-carousel .owl-nav.disabled button.owl-prev span { + position: absolute; + color: var(--white-color); + font-size: 37px; + display: block; + top: -8px; + left: 4px; +} + +.owl-carousel .owl-nav.disabled button.owl-prev span::before { + content: " "; + height: 3px; + width: 15px; + background-color: var(--white-color); + display: block; + top: 22px; + position: absolute; + left: 6px; +} + +.owl-carousel .owl-nav.disabled button.owl-next { + background-color: transparent; + border: 2px solid var(--white-color); + position: relative; + height: 37px; + width: 37px; +} + +.owl-carousel .owl-nav.disabled button.owl-next span { + position: absolute; + color: var(--white-color); + font-size: 37px; + display: block; + top: -9px; + right: 4px; +} + +.owl-carousel .owl-nav.disabled button.owl-next span::before { + content: " "; + height: 3px; + width: 15px; + background-color: var(--white-color); + display: block; + top: 22px; + position: absolute; + right: 6px; +} + +.blog_index { + margin: 50px 0px; +} + +@media screen and (max-width: 768px) { + .blog_index { + padding-top: 0px; + } +} + +.blog_index .wrapper .blog_wrapper .card { + border: none; + background-color: transparent; +} + +@media screen and (max-width: 768px) { + .blog_index .wrapper .blog_wrapper .card { + margin-bottom: 40px; + } +} + +.blog_index .wrapper .blog_wrapper .card .b_img { + position: relative; +} + +.blog_index .wrapper .blog_wrapper .card .b_img .tag { + color: var(--autofly-orange); + position: absolute; + border-radius: 3px; + font-weight: 400; + font-size: 14px; + bottom: 8%; + left: 20px; + background-color: var(--off-white); + padding: 4px 10px; +} + +.blog_index .wrapper .blog_wrapper .card .card-img-top { + border-radius: 5px; + height: 260px; + max-width: 390px; +} + +.blog_index .wrapper .blog_wrapper .card .card-body { + padding-left: 5px; + margin-top: 10px; +} + +.blog_index .wrapper .blog_wrapper .card .card-body .card-title { + font-size: 20px; + color: var(--heading-color); + letter-spacing: 0.1em; + text-transform: uppercase; +} + +.blog_index .wrapper .blog_wrapper .card .card-body .card-text { + font-size: 16px; + color: var(--grey-3); +} + +.blog_index .wrapper .blog_wrapper .card .card-body .read_more { + color: var(--heading-color); + font-size: 18px; + transition: 0.3s; +} + +.blog_index .wrapper .blog_wrapper .card .card-body .read_more:hover { + color: var(--autofly-orange); + text-decoration: none; +} + +.blog_index .wrapper .blog_wrapper .card .card-body .read_more:hover svg { + margin-left: 10px; + transition: 0.3s; +} + +.blog_index .wrapper .blog_wrapper .card .card-body .read_more:hover svg path { + fill: var(--autofly-orange); + transition: all ease 0.3s; + transition: 0.3s; +} + +.contact { + margin-top: 90px; + margin-bottom: 90px; +} + +.contact .contact_left .name h3 { + font-size: 22px; + font-weight: 800; + color: var(--heading-color); + text-transform: uppercase; + letter-spacing: 0.1em; + margin-bottom: 15px; +} + +.contact .contact_left .name p { + color: var(--grey-2); +} + +.contact .contact_left .name .contact-form { + margin-top: 70px; +} + +.contact .contact_left .name .contact-form .form-control { + display: block; + width: 100%; + height: calc(2.5em + .75rem + 2px); + padding: .375rem .75rem; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #ced4da; + border-color: transparent; + border-bottom-color: var(--border-color); + border-radius: .25rem; + transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; +} + +.contact .contact_left .name .contact-form .input-block { + margin-bottom: 30px; +} + +.contact .contact_left .name .contact-form .input-block label { + color: var(--heading-color); +} + +@media screen and (max-width: 992px) { + .contact .contact_right { + margin-top: 50px; + } +} + +.contact .contact_right .c_info { + margin-bottom: 60px; +} + +.contact .contact_right h3 { + font-size: 22px; + font-weight: 800; + color: var(--heading-color); + text-transform: uppercase; + letter-spacing: 0.1em; + margin-bottom: 15px; +} + +.contact .contact_right .phone { + padding-top: 30px; +} + +.contact .contact_right .phone span { + padding-right: 20px; +} + +.contact .contact_right .phone a { + color: var(--heading-color); + text-decoration: none; +} + +.contact .contact_right .phone a:hover { + color: var(--autofly-orange) !important; +} + +.map .mapouter { + position: relative; + text-align: right; + height: 500px; + widows: 100%; +} + +.map .mapouter .mapouter { + overflow: hidden; + background: none !important; + height: 100%; + width: 100%; +} + +.blog_main { + margin-bottom: 50px; +} + +.blog_main .wrapper .blog_wrapper { + padding-top: 40px; +} + +.blog_main .wrapper .blog_wrapper .card { + border: none; + border-radius: 12px; + transition: 0.5s all ease; + background-color: transparent; +} + +@media screen and (max-width: 768px) { + .blog_main .wrapper .blog_wrapper .card { + margin-bottom: 40px; + } +} + +.blog_main .wrapper .blog_wrapper .card:hover { + transform: translate(0, -10px); + background-color: var(--white-color); + box-shadow: -1px 2px 17px 4pxrgba 226, 226, 226, 0.715 2; +} + +.blog_main .wrapper .blog_wrapper .card:hover .card-body { + margin-left: 20px; + transition: 0.5s all ease; +} + +.blog_main .wrapper .blog_wrapper .card .b_img { + position: relative; +} + +.blog_main .wrapper .blog_wrapper .card .b_img .tag { + color: var(--autofly-orange); + position: absolute; + border-radius: 3px; + font-weight: 400; + font-size: 14px; + bottom: 8%; + left: 11px; + background-color: var(--off-white); + padding: 4px 10px; +} + +.blog_main .wrapper .blog_wrapper .card .card-img-top { + border-radius: 5px; + height: 260px; + max-width: 390px; +} + +.blog_main .wrapper .blog_wrapper .card .card-body { + transition: 0.5s all ease; + padding-left: 5px; + margin-top: 10px; +} + +.blog_main .wrapper .blog_wrapper .card .card-body .card-title { + font-size: 20px; + color: var(--heading-color); + letter-spacing: 0.1em; + text-transform: uppercase; +} + +.blog_main .wrapper .blog_wrapper .card .card-body .card-text { + font-size: 16px; + color: var(--grey-3); +} + +.blog_main .wrapper .blog_wrapper .card .card-body .read_more { + color: var(--heading-color); + font-size: 18px; +} + +.blog_main .wrapper .blog_wrapper .card .card-body .read_more:hover { + color: var(--autofly-orange); + text-decoration: none; +} + +.blog_main .wrapper .blog_wrapper .card .card-body .read_more:hover svg path { + fill: var(--autofly-orange); + transition: all ease 0.3s; +} + +.blog_main .pagination-area { + text-align: center; + padding-top: 40px; +} + +.blog_main .pagination-area ul { + margin: 0; + padding: 0; +} + +.blog_main .pagination-area ul li { + list-style-type: none; + display: inline-block; + margin-right: 5px; + margin-left: 5px; +} + +.blog_main .pagination-area ul li a { + display: block; + padding: 5px 10px; + border-radius: 5px; + color: var(--autofly-orange); + font-size: 16px; +} + +.blog_main .pagination-area ul li a.active { + border: 1px solid var(--autofly-orange); +} + +.blog_main .pagination-area ul li a:hover { + color: #fff; + background-color: var(--autofly-orange); + text-decoration: none; +} + +.team { + padding-top: 80px; + margin-bottom: 50px; +} + +.team .about_main { + background: var(--section-bg); + margin-bottom: 40px; + margin-top: 40px; +} + +.team .about_main .wrapper_a { + padding: 100px; +} + +@media screen and (max-width: 768px) { + .team .about_main .wrapper_a { + padding: 20px 30px; + } +} + +.team .about_main .wrapper_a .who { + font-size: 28px; + font-weight: 700; + color: var(--autofly-orange); + letter-spacing: 1px; +} + +.team .about_main .wrapper_a .who_details { + font-size: 18px; + font-weight: 700; + line-height: 1.7em; + letter-spacing: 2px; + color: var(--off-white); +} + +@media screen and (max-width: 768px) { + .team .about_main .wrapper_a .who_details { + margin-top: 20px; + font-size: 14px; + font-weight: normal; + } +} + +.team .about_main .abt_bottom { + margin-top: 40px; + padding-top: 40px; +} + +.team .about_main .abt_bottom ul { + padding-left: 0; +} + +@media screen and (max-width: 768px) { + .team .about_main .abt_bottom ul { + padding-left: 15px; + } +} + +.team .about_main .abt_bottom ul h4 { + color: var(--autofly-orange); + font-size: 18px; + padding-bottom: 15px; +} + +.team .about_main .abt_bottom ul li::before { + content: "\2022"; + color: var(--autofly-orange); + font-weight: bold; + display: inline-block; + width: 1em; + margin-left: -1em; +} + +.team .about_main .abt_bottom li { + font-size: 11px; + letter-spacing: 3px; + padding-bottom: 15px; + color: var(--off-white); +} + +.team .team_warapper { + padding-top: 80px; +} + +@media screen and (max-width: 768px) { + .team .team_warapper { + padding: 50px 20px; + } +} + +.team .team_warapper .team_heading { + text-transform: uppercase; + margin-top: 20px; +} + +.team .team_warapper .team_heading h5 { + font-size: 16px; + font-weight: 700; + color: var(--autofly-orange); +} + +@media screen and (max-width: 768px) { + .team .team_warapper .team_heading h5 { + font-size: 15px; + } +} + +.team .team_warapper .team_heading span { + font-weight: 700; + color: var(--heading-color); + font-size: 30px; + letter-spacing: 2px; +} + +@media screen and (max-width: 768px) { + .team .team_warapper .team_heading span { + font-size: 24px; + } +} + +.team .team_warapper .img_wrapper { + margin: 20px; +} + +@media screen and (max-width: 768px) { + .team .team_warapper .img_wrapper { + margin: 20px 0; + padding-top: 20px; + } +} + +.team .team_warapper .img_wrapper .team_img { + max-width: 400px; +} + +@media screen and (max-width: 768px) { + .team .team_warapper .img_wrapper .team_img { + max-width: 100%; + } +} + +.team .team_warapper .img_wrapper .team_img img { + width: 100%; + border-radius: 8px; +} + +.team .team_warapper .img_wrapper h6 { + font-size: 18px; + font-weight: 700; + color: var(--heading-color); + padding-top: 15px; +} + +.team .team_warapper .img_wrapper p { + font-size: 12px; + letter-spacing: 3px; + color: var(--heading-color); + text-transform: capitalize; +} + +.about_main { + padding-top: 80px; + margin-bottom: 50px; +} + +.about_main .wrapper { + margin-top: 50px; +} + +.about_main .wrapper .abt_left { + padding-right: 20px; +} + +@media screen and (max-width: 992px) { + .about_main .wrapper .abt_left { + margin-bottom: 40px; + } +} + +.about_main .wrapper .abt_left .tab_area { + margin-top: 40px; +} + +.about_main .wrapper .abt_left .tab_area nav .nav-tabs { + margin-bottom: 30px; + justify-content: center; +} + +.about_main .wrapper .abt_left .tab_area nav .nav-tabs .nav-link { + background-color: transparent; + font-size: 16px; + font-weight: 500; + letter-spacing: 0.1em; + color: var(--heading-color); + text-transform: uppercase; + padding-bottom: 15px; + border: 1px solid transparent; + text-align: center; +} + +.about_main .wrapper .abt_left .tab_area nav .nav-tabs .nav-link.active { + color: var(--autofly-orange) !important; + border-bottom-color: var(--autofly-orange) !important; +} + +.about_main .wrapper .abt_left .tab_area .tab-content .tab-pane b { + font-size: 16px; +} + +.about_main .wrapper .abt_left .tab_area .tab-content .tab-pane p { + padding-top: 15px; + font-weight: 400; + font-size: 14px; + line-height: 35px; + color: var(--grey-3); + margin-bottom: 20px; +} + +.about_main .wrapper .abt_right { + position: relative; +} + +@media screen and (max-width: 992px) { + .about_main .wrapper .abt_right { + margin-bottom: 60px; + } +} + +.about_main .wrapper .abt_right .year { + position: absolute; + bottom: -50px; + background-color: var(--autofly-orange); + color: var(--white-color); + border-radius: 5px; + height: 150px; + width: 160px; + text-align: center; + left: 58px; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + +.about_main .wrapper .abt_right .year .years { + font-size: 36px; + font-weight: 800; + letter-spacing: 0.1em; +} + +.about_main .wrapper .abt_right .year p { + font-size: 18px; +} + +.about_main .wrapper .abt_right .img_wrapper { + max-width: 850px; +} + +.about_main .wrapper .abt_right .img_wrapper img { + width: 100%; +} + +.about_main .wrapper .deals { + padding-top: 50px; +} + +.about_main .wrapper .deals .media { + border: 1px solid var(--border-color); + border-radius: 5px; + padding: 15px 15px; + padding-top: 20px; + transition: 0.2s; +} + +@media screen and (max-width: 400px) { + .about_main .wrapper .deals .media { + flex-direction: column; + } +} + +.about_main .wrapper .deals .media img { + border-radius: 50%; + transition: 0.2s; +} + +.about_main .wrapper .deals .media:hover { + border-color: var(--autofly-orange); +} + +.about_main .wrapper .deals .media:hover h5 { + color: var(--autofly-orange) !important; +} + +.about_main .wrapper .deals .media:hover img { + border-radius: 5px !important; +} + +@media screen and (max-width: 400px) { + .about_main .wrapper .deals .media .media-body { + text-align: center; + padding-top: 20px; + } +} + +.about_main .wrapper .deals .media .media-body h5 { + font-size: 22px; + color: var(--heading-color); + font-size: 700; + transition: 0.2s; +} + +.about_main .wrapper .deals .media .media-body p { + font-size: 14px; + color: var(--grey-1); + line-height: 30px; +} + +.about_main .wrapper .skills { + padding-top: 50px; + margin-bottom: 40px; +} + +.about_main .wrapper .skills .skill_left p { + padding-top: 15px; + font-weight: 400; + font-size: 14px; + line-height: 35px; + color: var(--grey-3); +} + +.about_main .wrapper .skills .skill_right { + padding-top: 40px; +} + +.about_main .wrapper .skills .skill_right .progress_info { + padding: 20px 50px; + margin-bottom: 20px; +} + +@media screen and (max-width: 992px) { + .about_main .wrapper .skills .skill_right .progress_info { + padding: 20px 0px; + margin-top: 20px; + } +} + +.about_main .wrapper .skills .skill_right .progress_info .p_details { + position: relative; +} + +.about_main .wrapper .skills .skill_right .progress_info .p_details .p_heading { + position: absolute; + left: 0; + bottom: 10px; + color: var(--heading-color); + font-size: 15px; + letter-spacing: 2px; + text-transform: uppercase; +} + +.about_main .wrapper .skills .skill_right .progress_info .p_details .p_perc { + position: absolute; + bottom: 10px; + color: var(--heading-color); + font-size: 15px; + letter-spacing: 2px; + text-transform: uppercase; + right: 0; +} + +.about_main .wrapper .skills .skill_right .progress_info .progress .progress-bar { + position: unset; + top: 0; + height: 3px; + width: 0; + background-image: linear-gradient(90deg, #B8C1E5 0%, #FF2E38 100%); + z-index: 11; + transition: width .2s; + will-change: width; +} + +.about_main .wrapper .tech .wrapper_t { + display: grid; + grid-template-columns: 1fr 1fr 1fr 1fr; +} + +.about_main .wrapper .tech .wrapper_t .img_wrapper { + max-width: 100%; + position: relative; + overflow: hidden; +} + +.about_main .wrapper .tech .wrapper_t .img_wrapper .tech_info { + position: absolute; + top: 0; + left: 0; + width: 100%; + background-color: #ffffff; + height: 100%; + display: none; +} + +.about_main .wrapper .tech .wrapper_t .img_wrapper .tech_info .wrapper_t { + display: block; + padding-left: 50px; +} + +.about_main .wrapper .tech .wrapper_t .img_wrapper .tech_info .wrapper_t p { + color: var(--grey-1); + font-size: 16px; + margin-bottom: 10px !important; + text-transform: uppercase; + letter-spacing: 0.1em; + transition: 0.5s; +} + +.about_main .wrapper .tech .wrapper_t .img_wrapper .tech_info .wrapper_t h6 { + color: var(--heading-color); + font-size: 22px; + font-weight: 700; +} + +.about_main .wrapper .tech .wrapper_t .img_wrapper img { + width: 100%; +} + +.about_main .wrapper .tech .wrapper_t .img_wrapper:hover .tech_info { + display: flex; + justify-content: start; + align-items: center; +} + +.about_main .wrapper .ad { + margin-top: 80px; + background-image: url(.././assets/about_page/city.jpg); + background-position: center; + background-size: cover; + color: var(--white-color); + padding: 50px; + text-transform: uppercase; +} + +.about_main .wrapper .ad .top { + letter-spacing: 0.1em; +} + +.about_main .wrapper .ad h3 { + font-weight: 700; +} + +.scale-up-center { + animation: scale-up-center 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both; +} + +/* ---------------------------------------------- + * Generated by Animista on 2023-3-21 13:29:37 + * Licensed under FreeBSD License. + * See http://animista.net/license for more info. + * w: http://animista.net, t: @cssanimista + * ---------------------------------------------- */ +/** + * ---------------------------------------- + * animation scale-up-center + * ---------------------------------------- + */ + +@keyframes scale-up-center { + 0% { + transform: scale(0.5); + } + 100% { + transform: scale(1); + } +} + +.service { + padding-top: 80px; + margin-bottom: 50px; +} + +.service .wrapper_s { + padding-top: 50px; +} + +.service .wrapper_s .service_info { + padding-top: 40px; +} + +.service .wrapper_s .service_info .card { + border-color: transparent; + border-radius: 8px; + background-color: transparent; +} + +.service .wrapper_s .service_info .card .card-body .img_wrapper { + height: 61px; + width: 61px; + border-radius: 50%; + border: 2px solid var(--grey-1); + margin: auto; + display: flex; + align-items: center; + justify-content: center; + transition: 0.2s; + margin-bottom: 20px; +} + +.service .wrapper_s .service_info .card .card-body .img_wrapper .icon_wrapper { + background-color: var(--grey-1); + height: 51px; + border-radius: 50%; + width: 51px; + transition: 0.2s; + margin: auto; + display: flex; + justify-content: center; + align-items: center; +} + +.service .wrapper_s .service_info .card .card-body .img_wrapper .icon_wrapper svg { + margin: 4px; + height: 20px; +} + +.service .wrapper_s .service_info .card .card-body .card-title { + font-size: 20px; + text-transform: uppercase; + font-weight: 700; +} + +.service .wrapper_s .service_info .card .card-body .card-text { + font-size: 16px; + font-weight: 400; + color: var(--grey-1); + line-height: 35px; + text-align: center; +} + +.service .wrapper_s .service_info .card:hover { + background-color: var(--white-color); + border: 1px solid transparent; + border-bottom-color: var(--autofly-orange) !important; +} + +.service .wrapper_s .service_info .card:hover .img_wrapper { + border-color: var(--autofly-orange); + transition: 0.2s; +} + +.service .wrapper_s .service_info .card:hover .icon_wrapper { + background-color: var(--autofly-orange) !important; +} + +.service .wrapper_s .counter_main { + width: 100%; + background-color: var(--section-bg); + position: relative; + height: 50vh !important; + overflow: hidden; + margin-top: 70px; +} + +@media screen and (max-width: 768px) { + .service .wrapper_s .counter_main { + height: 60vh !important; + } +} + +@media screen and (max-width: 576px) { + .service .wrapper_s .counter_main { + height: 100vh !important; + } +} + +.service .wrapper_s .counter_main .overlay { + width: 100%; + height: 100%; + display: flex; + justify-content: center; + align-items: center; +} + +.service .wrapper_s .counter_main .overlay #counter-section-container { + width: 100%; + text-align: center; +} + +.service .wrapper_s .counter_main .overlay #counter-box-container { + /*border: 1px solid #999999;*/ + overflow: hidden; + display: grid; + grid-template-columns: 1fr 1fr 1fr 1fr; +} + +@media screen and (max-width: 768px) { + .service .wrapper_s .counter_main .overlay #counter-box-container { + grid-template-columns: 2fr 2fr; + } +} + +@media screen and (max-width: 576px) { + .service .wrapper_s .counter_main .overlay #counter-box-container { + grid-template-columns: 1fr; + grid-gap: 40px; + } +} + +.service .wrapper_s .counter_main .overlay #counter-box { + margin: 5px 5px 5px 5px; + padding: 5px 5px 5px 5px; + float: left; + text-align: center; + color: #cccccc; + position: relative; + border: 1px solid white; + border-color: transparent; + border-right-color: var(--white-color); +} + +.service .wrapper_s .counter_main .overlay #counter-box:last-child { + border-right-color: transparent !important; +} + +@media screen and (max-width: 768px) { + .service .wrapper_s .counter_main .overlay #counter-box:nth-child(2) { + border-right-color: transparent !important; + } +} + +@media screen and (max-width: 576px) { + .service .wrapper_s .counter_main .overlay #counter-box { + border-right-color: transparent !important; + } +} + +.service .wrapper_s .counter_main .overlay #counter-box .c_icon { + display: flex; + justify-content: center; +} + +.service .wrapper_s .counter_main .overlay #counter-box .c_icon i { + font-size: 50px; + color: var(--white-color); +} + +.service .wrapper_s .counter_main .overlay #counter-box p { + padding-left: 10px; + text-transform: uppercase; + font-size: 16px; +} + +.service .wrapper_s .counter_main .overlay .counter { + font-size: 48px; + font-weight: 700; + color: var(--autofly-orange); +} + +.service .product_service { + padding-top: 80px; + margin-bottom: 50px; +} + +.service .product_service .wrapper .product_card { + background-color: var(--white-color); + padding: 5px 25px; + transition: 0.5s; +} + +@media screen and (max-width: 768px) { + .service .product_service .wrapper .product_card { + padding: 10px 25px 15px 25px; + } +} + +.service .product_service .wrapper .product_card:hover { + transition: 0.5s; + box-shadow: 0 0 11px rgba(33, 33, 33, 0.19) !important; +} + +.service .product_service .wrapper .product_card a { + text-decoration: none; + display: block; + margin-top: 15px; +} + +.service .product_service .wrapper .product_card a .p_card_heading { + font-size: 18px; + font-weight: 500; + color: var(--heading-color); + padding-bottom: 15px; + margin-bottom: 15px; +} + +.service .product_service .wrapper .product_card a .p_card_heading span { + font-size: 11px; + font-weight: 400; +} + +.service .product_service .wrapper .product_card a .favorite svg { + float: right; +} + +.service .product_service .wrapper .product_card a .favorite svg:hover { + fill: red !important; +} + +.service .product_service .wrapper .product_card a .img_wrapper { + max-width: 240px; + margin: auto; + height: 240px; + display: flex; + justify-content: center; + align-items: center; +} + +.service .product_service .wrapper .product_card a .info { + font-size: 16px; + color: var(--grey-1); + border: 1px solid transparent; + border-bottom-color: var(--border-color); + padding-bottom: 10px; + padding-top: 15px; +} + +.service .product_service .wrapper .product_card .p_c_bottom { + display: flex; + justify-content: space-between; + align-items: center; + padding-top: 0px; + padding-bottom: 15px; +} + +.service .product_service .wrapper .product_card .p_c_bottom a { + margin-top: 0; +} + +.service .product_service .wrapper .product_card .p_c_bottom .price { + font-size: 20px; + color: var(--heading-color); + font-weight: 700; +} + +.service .schedule { + padding-top: 80px; + margin-bottom: 50px; +} + +@media screen and (max-width: 768px) { + .service .schedule { + padding-top: 0px; + } +} + +.service .schedule .wrapper .schedule_left { + margin-right: 110px; +} + +@media screen and (max-width: 992px) { + .service .schedule .wrapper .schedule_left { + margin-right: 0px; + } +} + +@media screen and (max-width: 768px) { + .service .schedule .wrapper .schedule_left form { + margin-top: 70px; + } +} + +.service .schedule .wrapper .schedule_left form .form-group { + margin-bottom: 30px; +} + +.service .schedule .wrapper .schedule_left form .form-group .form-control { + border-radius: 8px; + height: calc(3.5em + 0.95rem + 2px); + padding: 0.575rem 0.75rem; + box-shadow: none !important; +} + +.service .schedule .wrapper .schedule_left form .form-group .form-control:focus { + color: #5f5f5f; + background-color: #fff; + border-color: transparent; + outline: 0; +} + +.service .schedule .wrapper .schedule_left form textarea { + padding: 30px 20px; +} + +.service .schedule .wrapper .schedule_left form .txt { + border: 1px solid; + border-color: transparent; +} + +.service .schedule .wrapper .schedule_left form .txt:focus { + color: #5f5f5f; + background-color: #fff; + border-color: #fa3737 !important; + outline: 0; +} + +.service .schedule .wrapper .choose_right { + max-width: 650px; +} + +.service .schedule .wrapper .choose_right img { + width: 100%; + border-radius: 5px; +} + +.service .question { + padding-top: 80px; + margin-bottom: 50px; + padding-bottom: 40px; +} + +.service .question .que { + text-align: center; +} + +.service .question .que .img_wrapper { + margin-bottom: 15px; +} + +.service .question .que .img_wrapper img { + margin: auto; +} + +.service .question .que p { + color: var(--grey-1); + font-size: 20px; + margin-bottom: 5px !important; +} + +.service .question .que a { + color: var(--heading-color); + font-size: 20px; + font-weight: 800; + text-decoration: none; +} + +.portfolio { + padding-top: 60px; + margin-bottom: 50px; +} + +@media screen and (max-width: 992px) { + .portfolio { + padding-top: 20px; + } +} + +@media screen and (max-width: 768px) { + .portfolio { + padding-top: 0; + } +} + +.portfolio .wrapper_p { + padding-top: 50px; +} + +.portfolio .wrapper_p .portfolio_disc .pd_left .pd_heading, +.portfolio .wrapper_p .portfolio_disc .pd_left span { + font-weight: 700; + font-size: 60px; + line-height: 73px; + letter-spacing: 0.1em; + text-transform: capitalize; + color: var(--heading-color); + text-align: left; + text-justify: inter-word; +} + +@media screen and (max-width: 768px) { + .portfolio .wrapper_p .portfolio_disc .pd_left .pd_heading, + .portfolio .wrapper_p .portfolio_disc .pd_left span { + font-size: 40px; + line-height: 50px; + letter-spacing: 0; + } +} + +.portfolio .wrapper_p .portfolio_disc .pd_left .pd_heading span, +.portfolio .wrapper_p .portfolio_disc .pd_left span span { + color: var(--autofly-orange) !important; +} + +.portfolio .wrapper_p .portfolio_disc .pd_right { + background-image: url(../../assets/portfolio/XMLID_1_.png); + background-size: contain; + background-position: bottom; + background-repeat: no-repeat; + height: 100%; + padding-top: 100px; +} + +.portfolio .wrapper_p .portfolio_disc .pd_right .year .yr { + color: var(--autofly-orange) !important; + font-weight: 700; + font-size: 6em; + line-height: 1em; + letter-spacing: 0.1em; + text-transform: capitalize; + text-align: center; +} + +@media screen and (max-width: 768px) { + .portfolio .wrapper_p .portfolio_disc .pd_right .year .yr { + font-size: 4em; + letter-spacing: 0; + } +} + +.portfolio .wrapper_p .portfolio_disc .pd_right .year p { + text-align: center; + padding-top: 20px; + line-height: 37px; +} + +.portfolio .wrapper_p .future { + padding-top: 50px; +} + +.portfolio .wrapper_p .future .future_content { + padding-top: 20px; +} + +.portfolio .wrapper_p .future .future_content .future_card { + padding-top: 20px; +} + +.portfolio .wrapper_p .future .future_content .future_card a .img_wrapper { + max-width: 400px; + position: relative; +} + +@media screen and (max-width: 768px) { + .portfolio .wrapper_p .future .future_content .future_card a .img_wrapper { + max-width: 100%; + } +} + +.portfolio .wrapper_p .future .future_content .future_card a .img_wrapper img { + width: 100%; + border-radius: 8px; +} + +.portfolio .wrapper_p .future .future_content .future_card a .img_caption { + font-weight: 500; + font-size: 20px; + line-height: 30px; + letter-spacing: 0.1em; + text-transform: uppercase; + color: var(--heading-color); + text-align: center; + padding-top: 15px; +} + +.portfolio .wrapper_p .future .future_content .future_card a .img_caption:hover { + color: var(--autofly-orange); +} + +.portfolio .wrapper_p .future .future_content .future_card a:hover { + text-decoration: none; +} + +.all_type { + padding-top: 50px; +} + +.all_type .all_type_card { + width: 100%; + height: 400px; + background-repeat: no-repeat; + background-position: center; + background-size: cover; + position: relative; + border-radius: 8px; + display: flex; + align-items: center; + + +} +.all_type .all_type_card::after { + content: ''; + background-color: rgba(13, 13, 13, 0.18); + height: 100%; + width: 100%; + position: absolute; + left: 0; + top: 0; + } + +.type-name { + z-index:1024; +} + +.all_type .all_type_card span { + font-weight: 700; + font-size: 48px; + letter-spacing: 0.1em; + text-transform: uppercase; + color: var(--white-color); + word-wrap: break-word; +} + +@media screen and (max-width: 768px) { + .all_type .all_type_card span { + text-align: end; + width: 100%; + display: block; + } +} + +.owl-item { + float:left; +} + +.carousel-control-next-icon { + background-image: url("/theme_autofly/static/src/assets/testimonial/arrow11.svg") !important; +} + +.carousel-control-next-icon::before { + background-color: rgba(0, 0, 0, 0); + color: transparent !important; + text-shadow: none !important; +} + +.carousel-control-prev-icon { + background-image: url("/theme_autofly/static/src/assets/testimonial/arrow_4.svg") !important; + +} + +.carousel-control-prev-icon::before { + background-color: rgba(0, 0, 0, 0); + color: transparent !important; + text-shadow: none !important; +} + +.carousel-control-prev-icon, .carousel-control-next-icon { + display: inline-block; +width: 1.8rem !important; +height: 1.8rem !important; +background-repeat: no-repeat; +background-position: 50%; +background-position-x: 50%; +background-position-y: center; +background-size: 64% 84%; +border: 2px solid; + border-top-color: currentcolor; + border-right-color: currentcolor; + border-bottom-color: currentcolor; + border-left-color: currentcolor; +border-color: white; +border-radius: 50%; +} + +.carousel-indicators{ + display: none; +} + +.carousel-control-prev, .carousel-control-next{ + top: auto; +bottom: 0 !important; +} + +.blog_index .wrapper .blog_wrapper .card .b_img .tag { + color: var(--autofly-orange); + position: absolute; + border-radius: 3px; + font-weight: 400; + font-size: 14px; + bottom: 8%; + left: 20px; + background-color: var(--off-white); + padding: 4px 10px; +} + +.carousel-control-prev{ +justify-content:end !important; +left:10% !important; +} + +.carousel-control-next{ +justify-content:start !important; +right:10% !important; +} + +#wrapwrap > main { + margin-top: 140px; +} + +.main_heading-contact h3 { + font-size: 22px; + font-weight: 800; + color: var(--heading-color); + text-transform: uppercase; + letter-spacing: 0.1em; + margin-bottom: 15px; +} + +#contactus_form .form-control { + display: block; + width: 100%; + height: calc(2.5em + 0.75rem + 2px); + padding: 0.375rem 0.75rem; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #ced4da; + border-color: transparent; + border-bottom-color: var(--border-color); + border-radius: 0.25rem; + transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; +} + +form label { + font-weight: normal !important; + color: var(--heading-color); + text-transform:capitalize; +} + +.o_wsale_products_page { + padding-top: 30px; +} + +.form-check-input:checked { + background-color: var(--autofly-text-red); + border-color: var(--autofly-text-red); +} + +.css_attribute_color.active { + border: 5px solid var(--autofly-text-red); +} + +.btn-link { + color: var(--autofly-text-red); +} + +.text-primary, .btn-outline-primary { + color: var(--autofly-text-red) !important; +} + +.text-bg-primary { + background-color: var(--autofly-text-red) !important; +} + +.o_cart_product a, .page-link { + color: var(--autofly-text-red) !important; +} +.page-item.active .page-link { + background-color: var(--button-s-bg) !important; + border-color: var(--button-s-bg) !important; +} +.rating-testimonial { + color: #ffc107 !important; +} diff --git a/theme_autofly/static/src/css/theme.css b/theme_autofly/static/src/css/theme.css new file mode 100644 index 000000000..a192561d4 --- /dev/null +++ b/theme_autofly/static/src/css/theme.css @@ -0,0 +1,2117 @@ +:root { + --white-color: #ffff; + --off-white:#F8F8F8; + --black-color: #000000; + --autofly-red: #D10202; + --autofly-text-red: #D10205; + --autofly-orange:#EB583D; + --grey-1:#8b8b8b; + --grey-2:#606060; + --grey-3:#747474; + --border-color:#E3E2DF; + --border-color-2:#D7D4D4; + --button-s-bg: #eb583d1a; + --heading-color:#282828; + --section-bg:#252525; +} + +*:focus { + outline: 0 !important; +} + +*:hover { + transition: 0.2s; +} + +*:focus { + outline: 0 !important; + box-shadow: none !important; +} + +*button:focus { + border: none; + outline: none; + box-shadow: none; +} + +* { + list-style-type: none; + font-family: "Inter", sans-serif !important; + font-size: 18px; +} + +*:focus, *:active { + outline: none !important; +} + +html.sr .load-hidden { + visibility: hidden; +} + +*::selection { + color: #f3ebee; + background-color: black; +} + +*a, +a:visited { + color: #990000; + text-decoration: none; +} + +body { + position: relative; + font-family: font-default !important; + background-color: #F5F5F5; +} + +.affix { + top: 0; + width: 100%; + z-index: 9999 !important; +} + +html { + scroll-behavior: smooth !important; +} + +body { + scroll-behavior: smooth !important; +} + +@media screen and (max-width: 1920px) { + .container { + max-width: 1300px; + width: 100%; + width: calc(100% - 1rem); + margin: auto; + } +} + +@media screen and (max-width: 1200px) { + .container { + max-width: 1140px; + width: 100%; + width: calc(100% - 1rem); + margin: auto; + } +} + +@media screen and (max-width: 992px) { + .container { + max-width: 960px; + width: 100%; + width: calc(100% - 1rem); + margin: auto; + } +} + +@media screen and (max-width: 768px) { + .container { + max-width: 720px; + width: 100%; + width: calc(100% - 1rem); + margin: auto; + } +} + +@media screen and (max-width: 576px) { + .container { + max-width: 540px; + width: 100%; + width: calc(100% - 1rem); + margin: auto; + } +} + +.common_heading { + font-size: 32px; + font-weight: 800; + color: var(--heading-color); + text-transform: uppercase; + letter-spacing: 0.1em; + margin-bottom: 15px; +} + +.white_heading { + color: var(--white-color) !important; +} + +.common_p { + color: var(--autofly-orange); + font-size: 20px; + text-transform: uppercase; + font-weight: 700; + margin-bottom: 10px; +} + +.common_text { + font-weight: 400; + font-size: 22px; + line-height: 35px; + color: var(--grey-3); +} + +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ +/* Document + ========================================================================== */ +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ +html { + line-height: 1.15; + /* 1 */ + -webkit-text-size-adjust: 100%; + /* 2 */ +} + +/* Sections + ========================================================================== */ +/** + * Remove the margin in all browsers. + */ +body { + margin: 0; +} + +/** + * Render the `main` element consistently in IE. + */ +main { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ +hr { + box-sizing: content-box; + /* 1 */ + height: 0; + /* 1 */ + overflow: visible; + /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +pre { + font-family: monospace, monospace; + /* 1 */ + font-size: 1em; + /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ +/** + * Remove the gray background on active links in IE 10. + */ +a { + background-color: transparent; +} + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ +abbr[title] { + border-bottom: none; + /* 1 */ + text-decoration: underline; + /* 2 */ + text-decoration: underline dotted; + /* 2 */ +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +code, +kbd, +samp { + font-family: monospace, monospace; + /* 1 */ + font-size: 1em; + /* 2 */ +} + +/** + * Add the correct font size in all browsers. + */ +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ +/** + * Remove the border on images inside links in IE 10. + */ +img { + border-style: none; +} + +/* Forms + ========================================================================== */ +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ +button, +input, +optgroup, +select, +textarea { + font-family: inherit; + /* 1 */ + font-size: 100%; + /* 1 */ + line-height: 1.15; + /* 1 */ + margin: 0; + /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ +button, +input { + /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ +button, +select { + /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +/** + * Remove the inner border and padding in Firefox. + */ +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ +legend { + box-sizing: border-box; + /* 1 */ + color: inherit; + /* 2 */ + display: table; + /* 1 */ + max-width: 100%; + /* 1 */ + padding: 0; + /* 3 */ + white-space: normal; + /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ +[type="search"] { + -webkit-appearance: textfield; + /* 1 */ + outline-offset: -2px; + /* 2 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ +::-webkit-file-upload-button { + -webkit-appearance: button; + /* 1 */ + font: inherit; + /* 2 */ +} + +/* Interactive + ========================================================================== */ +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ +summary { + display: list-item; +} + +/* Misc + ========================================================================== */ +/** + * Add the correct display in IE 10+. + */ +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ +[hidden] { + display: none; +} + +.btn { + border: none !important; + outline: 0 !important; + transition: 0.5s; +} + +.btn-primary { + border-radius: 4px; + font-size: 18px; + font-weight: 500; + text-decoration: none; + padding: 10px 25px; + position: relative; + background-color: var(--white-color); + color: var(--autofly-text-red) !important; + transition: all 0.3s; +} + +.btn-secondary { + border-radius: 4px; + font-size: 18px; + font-weight: 500; + text-decoration: none; + padding: 10px 25px; + position: relative; + background-color: var(--button-s-bg); + color: var(--autofly-text-red) !important; + transition: all 0.3s; +} + +.btn-card { + border-radius: 4px; + font-size: 18px; + font-weight: 500; + text-decoration: none; + padding: 10px 25px; + position: relative; + background-color: var(--autofly-orange); + color: var(--white-color) !important; + transition: all 0.3s; + font-size: 16px; +} + +.banner { + background-image: url(../../assets/banner/banner.jpg); + background-position: center; + background-size: cover; + height: 50vw; +} + +@media screen and (max-width: 992px) { + .banner { + height: 70vh; + } +} + +.banner .banner_content { + padding: 100px 0px; +} + +.banner .banner_content .details { + margin-bottom: 50px; +} + +.banner .banner_content .details .banner_heading { + color: var(--white-color); + font-size: 60px; + font-weight: 900; +} + +@media screen and (max-width: 992px) { + .banner .banner_content .details .banner_heading { + margin-top: 100px; + font-size: 40px; + } +} + +.banner .banner_content .details p { + color: var(--white-color); + font-size: 18px; +} + +.banner_sub { + background-position: center; + background-size: cover; + height: 50vh; + position: relative; +} + +@media screen and (max-width: 768px) { + .banner_sub { + height: 30vh; + } +} + +.banner_sub::after { + content: ''; + background-color: rgba(37, 12, 4, 0.379); + height: 100%; + width: 100%; + position: absolute; + left: 0; + top: 0; +} + +.banner_sub .banner_content { + height: 100%; + display: flex; + align-items: center; + position: relative; + z-index: 1024; +} + +.banner_sub .banner_content .breadcrumb { + background: transparent; +} + +.banner_sub .banner_content .breadcrumb .breadcrumb-item { + color: var(--autofly-orange); +} + +.banner_sub .banner_content .breadcrumb .breadcrumb-item:first-child::before { + display: none; +} + +.banner_sub .banner_content .breadcrumb .breadcrumb-item::before { + display: inline-block; + padding-right: 1.5rem; + color: #fff; + content: "/"; +} + +.banner_sub .banner_content .breadcrumb .breadcrumb-item a { + color: var(--white-color); + text-decoration: none; +} + +.banner_sub .banner_content .breadcrumb .breadcrumb-item a:hover { + color: var(--autofly-orange); +} + +.banner_contact { + background-image: url(.././assets/banner/contact.jpg) !important; +} + +.banner_blog { + background-image: url(.././assets/banner/blog.jpg) !important; +} + +.banner_team { + background-image: url(../../assets/banner/team.jpg) !important; + position: relative; + background-position-y: -240px !important; + background-repeat: no-repeat !important; +} + +@media screen and (max-width: 768px) { + .banner_team { + background-position-y: 0 !important; + } +} + +.header_modern_light { + margin-bottom: 137px; +} + +@media screen and (max-width: 768px) { + .header_modern_light { + margin-bottom: 150px; + } +} + +.header_modern_light .top_bar { + border: 1px solid transparent; + border-bottom-color: var(--border-color); + padding-top: 15px; +} + +.header_modern_light .top_bar .top_bar_left ul { + display: flex; + padding-left: 0; +} + +@media screen and (max-width: 768px) { + .header_modern_light .top_bar .top_bar_left ul { + margin-bottom: 6px; + justify-content: center; + } +} + +.header_modern_light .top_bar .top_bar_left ul li a:hover { + text-decoration: none; +} + +.header_modern_light .top_bar .top_bar_left ul li a:hover svg path { + fill: var(--autofly-orange); + transition: all ease 0.3s; +} + +.header_modern_light .top_bar .top_bar_left ul li a svg { + margin-top: -3px; +} + +.header_modern_light .top_bar .top_bar_left ul li a span { + color: var(--grey-2); + font-weight: 400; +} + +.header_modern_light .top_bar .top_bar_left ul li a span:hover { + color: var(--grey-3); +} + +.header_modern_light .top_bar .top_bar_left ul li:last-child { + padding-left: 15px; +} + +.header_modern_light .top_bar .top_bar_right ul { + justify-content: end; + display: flex; + padding-left: 0; +} + +@media screen and (max-width: 768px) { + .header_modern_light .top_bar .top_bar_right ul { + margin-bottom: 10px; + justify-content: center; + } +} + +.header_modern_light .top_bar .top_bar_right ul li a { + color: var(--grey-2); + font-weight: 400; +} + +.header_modern_light .top_bar .top_bar_right ul li a:hover { + text-decoration: none; + color: var(--grey-3); +} + +.header_modern_light .top_bar .top_bar_right ul li:last-child { + margin-left: 8px; + padding-left: 8px; + border: 1px solid; + border-color: transparent; + border-left-color: var(--grey-2) !important; +} + +.header_modern_light .navigation { + transition: background-color 0.4s ease-out; + background-color: var(--white-color); +} + +.header_modern_light .navigation .navbar { + padding: 15px 0px; +} + +@media screen and (max-width: 1200px) { + .header_modern_light .navigation .navbar { + margin: 0px; + padding: 15px 0px; + padding-bottom: 0; + } +} + +@media screen and (max-width: 1200px) { + .header_modern_light .navigation .navbar .navbar-brand { + margin-right: auto; + padding-left: 15px; + } +} + +.header_modern_light .navigation .navbar .navbar-brand span { + max-width: 150px; + display: inline-block; +} + +.header_modern_light .navigation .navbar .navbar-brand span img { + width: 100%; +} + +@media screen and (max-width: 1200px) { + .header_modern_light .navigation .navbar .navbar-collapse { + background-color: var(--white-color); + padding: 15px 15px; + } +} + +.header_modern_light .navigation .navbar .navbar-nav { + margin: auto; +} + +@media screen and (max-width: 1200px) { + .header_modern_light .navigation .navbar .navbar-nav .nav-item { + padding: 5px 0; + } +} + +.header_modern_light .navigation .navbar .navbar-nav .nav-item .nav-link { + color: var(--grey-1); + font-size: 14px; + margin: 0px 15px; + font-weight: 400; + text-transform: uppercase; +} + +.header_modern_light .navigation .navbar .navbar-nav .nav-item .nav-link:hover { + color: var(--autofly-red); +} + +.header_modern_light .navigation .navbar form { + margin-left: 15px; + padding-right: 15px; + margin-right: 15px; +} + +.header_modern_light .navigation .navbar form span { + padding-right: 15px; +} + +.header_modern_light .navigation .navbar form span a { + color: var(--white-color); + margin-right: 15px; +} + +.header_modern_light .navigation .navbar form span a:hover svg path { + fill: var(--autofly-red); + transition: all ease 0.3s; +} + +.header_modern_light .navigation .navbar form span a:hover svg line { + stroke: var(--autofly-red); + transition: all ease 0.3s; +} + +.header_modern_light .navigation .navbar form :last-child { + padding-right: 0px !important; +} + +.header_modern_light .navigation .navbar form :last-child a { + margin-right: 0; +} + +.bg_white { + background-color: rgba(0, 0, 0, 0.57); + transition: background-color 0.4s ease-out; +} + +.fadeInDown { + animation-name: fadeInDown; + animation-duration: 1s; + animation-fill-mode: both; +} + +@keyframes fadeInDown { + 0% { + opacity: 0; + transform: translate3d(0, -100%, 0); + } + 100% { + opacity: 1; + transform: none; + } +} + +.fadeInup { + animation-name: fadeInup; + animation-duration: 1s; + animation-fill-mode: both; + animation-direction: reverse; +} + +@keyframes fadeInup { + 100% { + opacity: 0; + transform: translate3d(0, -100%, 0); + } + 0% { + opacity: 1; + transform: none; + } +} + +.b_shadow { + box-shadow: 0px 3px 6px 1px rgba(200, 187, 201, 0.48); +} + +/* top line needs a little padding */ +.navbar-toggler span:nth-child(1) { + margin-top: 0.3em; +} + +/** + * Animate collapse into X. + */ +/* top line rotates 45 degrees clockwise and moves up and in a bit to close the center of the X in the center of the button */ +.navbar-toggler:not(.collapsed) span:nth-child(1) { + transform: translate(15%, -33%) rotate(45deg); +} + +/* center line goes transparent */ +.navbar-toggler:not(.collapsed) span:nth-child(2) { + opacity: 0; +} + +/* bottom line rotates 45 degrees counter clockwise, in, and down a bit to close the center of the X in the center of the button */ +.navbar-toggler:not(.collapsed) span:nth-child(3) { + transform: translate(15%, 33%) rotate(-45deg); +} + +/** + * Animate collapse open into hamburger menu + */ +/* top line moves back to initial position and rotates back to 0 degrees */ +.navbar-toggler span:nth-child(1) { + transform: translate(0%, 0%) rotate(0deg); +} + +/* middle line goes back to regular color and opacity */ +.navbar-toggler span:nth-child(2) { + opacity: 1; +} + +/* bottom line goes back to initial position and rotates back to 0 degrees */ +.navbar-toggler span:nth-child(3) { + transform: translate(0%, 0%) rotate(0deg); +} + +.navbar-toggler span { + display: block; + background-color: var(--autofly-orange); + height: 3px; + width: 25px; + margin-top: 5px; + margin-bottom: 5px; + position: relative; + border-radius: 2px; + left: 0; + opacity: 1; + transition: all 0.35s ease-out; + transform-origin: center left; +} + +@media screen and (max-width: 992px) { + .navbar-toggler { + margin-right: 25px; + } +} + +.footer { + background-color: var(--section-bg); + margin-top: 120px; + padding: 80px 0; +} + +@media screen and (max-width: 768px) { + .footer { + margin-top: 60px; + } +} + +.footer .wrapper { + margin-top: 40px; +} + +.footer .wrapper .footer_content .footer_heading { + color: var(--white-color); + font-size: 20px; + font-weight: 600; + margin-bottom: 20px; + text-transform: uppercase; +} + +.footer .wrapper .footer_content .footer_brand { + letter-spacing: 0.3rem; +} + +.footer .wrapper .footer_content .footer_text { + color: var(--white-color); + font-size: 16px; + line-height: 35px; +} + +.footer .wrapper .footer_content .footer_link { + padding-left: 0; +} + +.footer .wrapper .footer_content .footer_link li { + padding-bottom: 15px; +} + +.footer .wrapper .footer_content .footer_link li a { + color: var(--white-color); + font-size: 16px; +} + +.footer .wrapper .footer_content .footer_link li a:hover { + color: var(--autofly-orange); + text-decoration: none; +} + +.search { + margin-bottom: 50px; +} + +.search .search_bar { + margin-top: -50px; + padding: 30px 20px; + border-radius: 5px; + background-color: var(--white-color); + box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08); +} + +.search .search_bar .brand { + text-align: center; +} + +.search .search_bar .brand p { + margin-bottom: 5px; + font-size: 10px; + color: var(--grey-3); +} + +.search .search_bar .brand .b_name { + font-size: 16px; + color: var(--autofly-text-red); +} + +.search .search_bar .spec_c { + display: flex; + justify-content: center; + align-items: center; + border: 1px solid; + border-color: transparent; + border-left-color: var(--border-color-2); +} + +.search .search_bar .spec_c .spec { + font-size: 10px; + color: var(--grey-3); +} + +@media screen and (max-width: 768px) { + .search .search_bar .bd_none_md { + border-left-color: transparent; + } +} + +@media screen and (max-width: 576px) { + .search .search_bar .bd_none_md { + border-left-color: var(--border-color-2) !important; + } +} + +@media screen and (max-width: 576px) { + .search .search_bar .bd_none_sm { + border-left-color: transparent; + } +} + +.find_car { + padding-top: 80px; + margin-bottom: 50px; +} + +.find_car .wrapper .f_c_info { + text-align: center; + background-color: var(--white-color); + padding: 30px 0; + border-radius: 5px; + margin: 0px 15px; + display: block; +} + +.find_car .wrapper .f_c_info:hover { + box-shadow: -1px 4px 7px 0px rgba(204, 202, 204, 0.7); +} + +.find_car .wrapper .f_c_info .img_wrapper { + max-width: 200px; + margin: auto; + margin-bottom: 15px; +} + +.find_car .wrapper .f_c_info .img_wrapper img { + width: 100%; +} + +.find_car .wrapper .f_c_info .car_name { + font-size: 18px; + font-weight: 700; + color: var(--grey-2); + margin-bottom: 5px; +} + +.find_car .wrapper .f_c_info .count { + font-size: 16px; + color: var(--grey-1); +} + +.find_car .wrapper .f_c_info:hover { + text-decoration: none !important; +} + +.find_car .wrapper .f_c_info:hover .car_name { + color: var(--autofly-orange); +} + +.find_car .wrapper .f_c_info:hover .count { + color: var(--autofly-orange); +} + +.partners { + background-color: var(--heading-color); + padding: 50px 0; + margin-bottom: 50px; + margin-top: 80px; +} + +.partners .wrapper .p_alighn { + display: flex; + justify-content: center; + align-items: center; +} + +.partners .wrapper .p_img_wrapper { + max-width: 65px; +} + +.partners .wrapper .p_img_wrapper img { + width: 100%; +} + +.Popular { + padding-top: 80px; + margin-bottom: 50px; +} + +.Popular .wrapper .product_card { + background-color: var(--white-color); + padding: 5px 25px; + transition: 0.5s; +} + +@media screen and (max-width: 768px) { + .Popular .wrapper .product_card { + padding: 10px 25px 15px 25px; + } +} + +.Popular .wrapper .product_card:hover { + transition: 0.5s; + box-shadow: 0 0 11px rgba(33, 33, 33, 0.081) !important; +} + +.Popular .wrapper .product_card a { + text-decoration: none; + display: block; + margin-top: 15px; +} + +.Popular .wrapper .product_card a .p_card_heading { + font-size: 18px; + font-weight: 500; + color: var(--heading-color); + padding-bottom: 15px; +} + +.Popular .wrapper .product_card a .p_card_heading span { + font-size: 11px; + font-weight: 400; +} + +.Popular .wrapper .product_card a .img_wrapper { + max-width: 440px; + margin: auto; +} + +.Popular .wrapper .product_card a .img_wrapper img { + width: 100%; + border-radius: 5px; +} + +.Popular .wrapper .product_card a .card_bottom { + display: grid; + grid-template-columns: 1fr 1fr 1fr; + margin-top: 15px; + border: 1px solid; + border-color: transparent; + border-bottom-color: var(--border-color-2); + padding-bottom: 15px; +} + +.Popular .wrapper .product_card a .card_bottom .c_b_wrapper { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + +.Popular .wrapper .product_card a .card_bottom .c_b_wrapper img { + width: 20px; +} + +.Popular .wrapper .product_card a .card_bottom .c_b_wrapper span { + font-size: 14px; + color: var(--grey-2); +} + +.Popular .wrapper .product_card .p_c_bottom { + display: flex; + justify-content: space-between; + align-items: center; + padding: 12px 0px; +} + +.Popular .wrapper .product_card .p_c_bottom .price { + font-size: 20px; + color: var(--heading-color); + font-weight: 700; +} + +.choose { + padding-top: 80px; + margin-bottom: 50px; +} + +@media screen and (max-width: 768px) { + .choose { + padding-top: 0px; + } +} + +.choose .wrapper .choose_left { + margin-right: 110px; +} + +.choose .wrapper .choose_left .c_details { + padding-top: 10px; +} + +.choose .wrapper .choose_left .c_details p { + font-weight: 400; + font-size: 22px; + line-height: 35px; + color: var(--grey-3); + margin-bottom: 20px; +} + +.choose .wrapper .choose_left .c_details h6 { + color: var(--autofly-orange); + font-size: 22px; + text-transform: capitalize; + font-weight: 700; + margin-bottom: 15px; +} + +.choose .wrapper .choose_right { + max-width: 650px; +} + +.choose .wrapper .choose_right img { + width: 100%; + border-radius: 5px; +} + +.testimonial { + background-color: var(--section-bg); + padding-top: 80px; + padding-bottom: 60px; + margin-bottom: 50px; +} + +.testimonial .wrapper .slider_wrapper { + padding-top: 40px; + padding-bottom: 40px; +} + +.testimonial .wrapper .slider_wrapper .owl-carousel .item .item_wrapper { + background-color: var(--autofly-orange); + border-radius: 8px; + padding: 30px 25px 25px 25px; +} + +.testimonial .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .media img { + max-width: 65px !important; +} + +.testimonial .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .media .media-body { + color: var(--white-color); + font-size: 14px; + font-weight: 300; +} + +.testimonial .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .media .media-body h5 { + color: var(--white-color); + font-weight: 700; + font-size: 20px !important; + letter-spacing: 0.1em; +} + +.testimonial .wrapper .slider_wrapper .owl-carousel .item .item_wrapper p { + padding-top: 15px; + color: var(--off-white); + font-size: 16px; + font-weight: 400; + line-height: 29px; +} + +.testimonial .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .rating { + display: flex; +} + +.testimonial .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .rating span { + color: var(--white-color); + font-size: 14px; + font-weight: 300; +} + +.testimonial .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .rating ul { + padding-left: 5px; + display: flex; +} + +.testimonial .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .rating ul li { + padding-right: 3px; +} + +.testimonial .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .rating ul li a { + display: block; +} + +.testimonial .wrapper .slider_wrapper .owl-carousel .item .item_wrapper .rating ul li a img { + width: 18px; +} + +.owl-carousel .owl-nav.disabled { + display: flex !important; + width: 100%; + justify-content: space-between; + margin-top: 40px; +} + +.owl-carousel .owl-nav.disabled button { + background-color: white; + border-radius: 50%; +} + +.owl-carousel .owl-nav.disabled button.owl-prev { + background-color: transparent; + border: 2px solid var(--white-color); + position: relative; + height: 37px; + width: 37px; +} + +.owl-carousel .owl-nav.disabled button.owl-prev span { + position: absolute; + color: var(--white-color); + font-size: 37px; + display: block; + top: -8px; + left: 4px; +} + +.owl-carousel .owl-nav.disabled button.owl-prev span::before { + content: " "; + height: 3px; + width: 15px; + background-color: var(--white-color); + display: block; + top: 22px; + position: absolute; + left: 6px; +} + +.owl-carousel .owl-nav.disabled button.owl-next { + background-color: transparent; + border: 2px solid var(--white-color); + position: relative; + height: 37px; + width: 37px; +} + +.owl-carousel .owl-nav.disabled button.owl-next span { + position: absolute; + color: var(--white-color); + font-size: 37px; + display: block; + top: -13px; + right: 4px; +} + +.owl-carousel .owl-nav.disabled button.owl-next span::before { + content: " "; + height: 3px; + width: 15px; + background-color: var(--white-color); + display: block; + top: 28px; + position: absolute; + right: 6px; +} + +.blog_index { + padding-top: 80px; + margin-bottom: 50px; +} + +@media screen and (max-width: 768px) { + .blog_index { + padding-top: 40px; + } +} + +.blog_index .wrapper .blog_wrapper { + padding-top: 40px; +} + +.blog_index .wrapper .blog_wrapper .card { + border: none; + background-color: transparent; +} + +.blog_index .wrapper .blog_wrapper .card .tag { + color: var(--autofly-orange); + position: absolute; + border-radius: 3px; + font-weight: 400; + font-size: 14px; + top: 46%; + left: 11px; + background-color: var(--off-white); + padding: 4px 10px; +} + +.blog_index .wrapper .blog_wrapper .card .card-img-top { + border-radius: 5px; +} + +.blog_index .wrapper .blog_wrapper .card .card-body { + padding-left: 0; + margin-top: 10px; +} + +.blog_index .wrapper .blog_wrapper .card .card-body .card-title { + font-size: 20px; + color: var(--heading-color); + letter-spacing: 0.1em; + text-transform: uppercase; +} + +.blog_index .wrapper .blog_wrapper .card .card-body .card-text { + font-size: 18px; + color: var(--grey-3); +} + +.blog_index .wrapper .blog_wrapper .card .card-body .read_more { + color: var(--heading-color); + font-size: 18px; +} + +.blog_index .wrapper .blog_wrapper .card .card-body .read_more:hover { + color: var(--autofly-orange); + text-decoration: none; +} + +.blog_index .wrapper .blog_wrapper .card .card-body .read_more:hover svg path { + fill: var(--autofly-orange); + transition: all ease 0.3s; +} + +.contact { + margin-top: 90px; + margin-bottom: 90px; +} + +.contact .contact_left .name h3 { + font-size: 22px; + font-weight: 800; + color: var(--heading-color); + text-transform: uppercase; + letter-spacing: 0.1em; + margin-bottom: 15px; +} + +.contact .contact_left .name p { + color: var(--grey-2); +} + +.contact .contact_left .name .contact-form { + margin-top: 70px; +} + +.contact .contact_left .name .contact-form .form-control { + display: block; + width: 100%; + height: calc(2.5em + .75rem + 2px); + padding: .375rem .75rem; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #ced4da; + border-color: transparent; + border-bottom-color: var(--border-color); + border-radius: .25rem; + transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; +} + +.contact .contact_left .name .contact-form .input-block { + margin-bottom: 30px; +} + +.contact .contact_left .name .contact-form .input-block label { + color: var(--heading-color); +} + +@media screen and (max-width: 992px) { + .contact .contact_right { + margin-top: 50px; + } +} + +.contact .contact_right .c_info { + margin-bottom: 60px; +} + +.contact .contact_right h3 { + font-size: 22px; + font-weight: 800; + color: var(--heading-color); + text-transform: uppercase; + letter-spacing: 0.1em; + margin-bottom: 15px; +} + +.contact .contact_right .phone { + padding-top: 30px; +} + +.contact .contact_right .phone span { + padding-right: 20px; +} + +.contact .contact_right .phone a { + color: var(--heading-color); + text-decoration: none; +} + +.contact .contact_right .phone a:hover { + color: var(--autofly-orange) !important; +} + +.map .mapouter { + position: relative; + text-align: right; + height: 500px; + widows: 100%; +} + +.map .mapouter .mapouter { + overflow: hidden; + background: none !important; + height: 100%; + width: 100%; +} + +.blog_main { + padding-top: 80px; + margin-bottom: 50px; +} + +.blog_main .wrapper .blog_wrapper { + padding-top: 40px; +} + +.blog_main .wrapper .blog_wrapper .card { + border: none; + border-radius: 12px; + transition: 0.5s all ease; + background-color: transparent; +} + +.blog_main .wrapper .blog_wrapper .card:hover { + transform: translate(0, -10px); + background-color: var(--white-color); + box-shadow: -1px 2px 17px 4pxrgba 226, 226, 226, 0.715 2; +} + +.blog_main .wrapper .blog_wrapper .card:hover .card-body { + margin-left: 20px; + transition: 0.5s all ease; +} + +.blog_main .wrapper .blog_wrapper .card .tag { + color: var(--autofly-orange); + position: absolute; + border-radius: 3px; + font-weight: 400; + font-size: 14px; + top: 46%; + left: 11px; + background-color: var(--off-white); + padding: 4px 10px; +} + +.blog_main .wrapper .blog_wrapper .card .card-img-top { + border-radius: 5px; +} + +.blog_main .wrapper .blog_wrapper .card .card-body { + transition: 0.5s all ease; + padding-left: 0; + margin-top: 10px; +} + +.blog_main .wrapper .blog_wrapper .card .card-body .card-title { + font-size: 20px; + color: var(--heading-color); + letter-spacing: 0.1em; + text-transform: uppercase; +} + +.blog_main .wrapper .blog_wrapper .card .card-body .card-text { + font-size: 18px; + color: var(--grey-3); +} + +.blog_main .wrapper .blog_wrapper .card .card-body .read_more { + color: var(--heading-color); + font-size: 18px; +} + +.blog_main .wrapper .blog_wrapper .card .card-body .read_more:hover { + color: var(--autofly-orange); + text-decoration: none; +} + +.blog_main .wrapper .blog_wrapper .card .card-body .read_more:hover svg path { + fill: var(--autofly-orange); + transition: all ease 0.3s; +} + +.blog_main .pagination-area { + text-align: center; + padding-top: 40px; +} + +.blog_main .pagination-area ul { + margin: 0; + padding: 0; +} + +.blog_main .pagination-area ul li { + list-style-type: none; + display: inline-block; + margin-right: 5px; + margin-left: 5px; +} + +.blog_main .pagination-area ul li a { + display: block; + padding: 5px 10px; + border-radius: 5px; + color: var(--autofly-orange); + font-size: 16px; +} + +.blog_main .pagination-area ul li a.active { + border: 1px solid var(--autofly-orange); +} + +.blog_main .pagination-area ul li a:hover { + color: #fff; + background-color: var(--autofly-orange); + text-decoration: none; +} + +.team { + padding-top: 80px; + margin-bottom: 50px; +} + +.team .about_main { + background: var(--section-bg); + margin-bottom: 40px; + margin-top: 40px; +} + +.team .about_main .wrapper_a { + padding: 100px; +} + +@media screen and (max-width: 768px) { + .team .about_main .wrapper_a { + padding: 20px 30px; + } +} + +.team .about_main .wrapper_a .who { + font-size: 28px; + font-weight: 700; + color: var(--autofly-orange); + letter-spacing: 1px; +} + +.team .about_main .wrapper_a .who_details { + font-size: 18px; + font-weight: 700; + line-height: 1.7em; + letter-spacing: 2px; + color: var(--off-white); +} + +@media screen and (max-width: 768px) { + .team .about_main .wrapper_a .who_details { + margin-top: 20px; + font-size: 14px; + font-weight: normal; + } +} + +.team .about_main .abt_bottom { + margin-top: 40px; + padding-top: 40px; +} + +.team .about_main .abt_bottom ul { + padding-left: 0; +} + +@media screen and (max-width: 768px) { + .team .about_main .abt_bottom ul { + padding-left: 15px; + } +} + +.team .about_main .abt_bottom ul h4 { + color: var(--autofly-orange); + font-size: 18px; + padding-bottom: 15px; +} + +.team .about_main .abt_bottom ul li::before { + content: "\2022"; + color: var(--autofly-orange); + font-weight: bold; + display: inline-block; + width: 1em; + margin-left: -1em; +} + +.team .about_main .abt_bottom li { + font-size: 11px; + letter-spacing: 3px; + padding-bottom: 15px; + color: var(--off-white); +} + +.team .team_warapper { + padding-top: 80px; +} + +@media screen and (max-width: 768px) { + .team .team_warapper { + padding: 50px 20px; + } +} + +.team .team_warapper .team_heading { + text-transform: uppercase; + margin-top: 20px; +} + +.team .team_warapper .team_heading h5 { + font-size: 16px; + font-weight: 700; + color: var(--autofly-orange); +} + +@media screen and (max-width: 768px) { + .team .team_warapper .team_heading h5 { + font-size: 15px; + } +} + +.team .team_warapper .team_heading span { + font-weight: 700; + color: var(--heading-color); + font-size: 30px; + letter-spacing: 2px; +} + +@media screen and (max-width: 768px) { + .team .team_warapper .team_heading span { + font-size: 24px; + } +} + +.team .team_warapper .img_wrapper { + margin: 20px; +} + +@media screen and (max-width: 768px) { + .team .team_warapper .img_wrapper { + margin: 20px 0; + padding-top: 20px; + } +} + +.team .team_warapper .img_wrapper .team_img { + max-width: 400px; +} + +@media screen and (max-width: 768px) { + .team .team_warapper .img_wrapper .team_img { + max-width: 100%; + } +} + +.team .team_warapper .img_wrapper .team_img img { + width: 100%; + border-radius: 8px; +} + +.team .team_warapper .img_wrapper h6 { + font-size: 18px; + font-weight: 700; + color: var(--heading-color); + padding-top: 15px; +} + +.team .team_warapper .img_wrapper p { + font-size: 12px; + letter-spacing: 3px; + color: var(--heading-color); + text-transform: capitalize; +} + +.about_main { + padding-top: 80px; + margin-bottom: 50px; +} + +.about_main .wrapper { + margin-top: 50px; +} + +.about_main .wrapper .abt_left { + padding-right: 20px; +} + +.about_main .wrapper .abt_left .tab_area { + margin-top: 40px; +} + +.about_main .wrapper .abt_left .tab_area nav .nav-tabs { + margin-bottom: 30px; + justify-content: center; +} + +.about_main .wrapper .abt_left .tab_area nav .nav-tabs .nav-link { + background-color: transparent; + font-size: 16px; + font-weight: 500; + letter-spacing: 0.1em; + color: var(--heading-color); + text-transform: uppercase; + padding-bottom: 15px; + border: 1px solid transparent; + text-align: center; +} + +.about_main .wrapper .abt_left .tab_area nav .nav-tabs .nav-link.active { + color: var(--autofly-orange) !important; + border-bottom-color: var(--autofly-orange) !important; +} + +.about_main .wrapper .abt_left .tab_area .tab-content .tab-pane b { + font-size: 16px; +} + +.about_main .wrapper .abt_left .tab_area .tab-content .tab-pane p { + padding-top: 15px; + font-weight: 400; + font-size: 14px; + line-height: 35px; + color: var(--grey-3); + margin-bottom: 20px; +} + +.about_main .wrapper .abt_right { + position: relative; +} + +.about_main .wrapper .abt_right .year { + position: absolute; + bottom: -50px; + background-color: var(--autofly-orange); + color: var(--white-color); + border-radius: 5px; + height: 150px; + width: 160px; + text-align: center; + left: 58px; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + +.about_main .wrapper .abt_right .year .years { + font-size: 36px; + font-weight: 800; + letter-spacing: 0.1em; +} + +.about_main .wrapper .abt_right .year p { + font-size: 18px; +} + +.about_main .wrapper .abt_right .img_wrapper { + max-width: 750px; +} + +.about_main .wrapper .abt_right .img_wrapper img { + width: 100%; +} + +.about_main .wrapper .deals { + padding-top: 50px; +} + +.about_main .wrapper .deals .media { + border: 1px solid var(--border-color); + border-radius: 5px; + padding: 15px 15px; + padding-top: 20px; + transition: 0.2s; +} + +.about_main .wrapper .deals .media img { + border-radius: 50%; + transition: 0.2s; +} + +.about_main .wrapper .deals .media:hover { + border-color: var(--autofly-orange); +} + +.about_main .wrapper .deals .media:hover h5 { + color: var(--autofly-orange) !important; +} + +.about_main .wrapper .deals .media:hover img { + border-radius: 5px !important; +} + +.about_main .wrapper .deals .media .media-body h5 { + font-size: 22px; + color: var(--heading-color); + font-size: 700; + transition: 0.2s; +} + +.about_main .wrapper .deals .media .media-body p { + font-size: 14px; + color: var(--grey-1); + line-height: 30px; +} + +.about_main .wrapper .skills { + padding-top: 50px; +} + +.about_main .wrapper .skills .skill_left p { + padding-top: 15px; + font-weight: 400; + font-size: 14px; + line-height: 35px; + color: var(--grey-3); +} + +.about_main .wrapper .skills .skill_right { + padding-top: 40px; +} + +.about_main .wrapper .skills .skill_right .progress_info { + padding: 20px 50px; + margin-bottom: 20px; +} + +.about_main .wrapper .skills .skill_right .progress_info .p_details { + position: relative; +} + +.about_main .wrapper .skills .skill_right .progress_info .p_details .p_heading { + position: absolute; + left: 0; + bottom: 10px; + color: var(--heading-color); + font-size: 15px; + letter-spacing: 2px; + text-transform: uppercase; +} + +.about_main .wrapper .skills .skill_right .progress_info .p_details .p_perc { + position: absolute; + bottom: 10px; + color: var(--heading-color); + font-size: 15px; + letter-spacing: 2px; + text-transform: uppercase; + right: 0; +} + +.about_main .wrapper .skills .skill_right .progress_info .progress .progress-bar { + position: unset; + top: 0; + height: 3px; + width: 0; + background-image: linear-gradient(90deg, #B8C1E5 0%, #FF2E38 100%); + z-index: 11; + transition: width .2s; + will-change: width; +} + +.about_main .wrapper .tech .wrapper { + display: grid; + grid-template-columns: 1fr 1fr 1fr 1fr; +} + +.about_main .wrapper .tech .wrapper .img_wrapper { + max-width: 100%; + position: relative; + overflow: hidden; +} + +.about_main .wrapper .tech .wrapper .img_wrapper .tech_info { + position: absolute; + top: 0; + left: 0; + width: 100%; + background-color: #ffffff; + height: 100%; + display: none; +} + +.about_main .wrapper .tech .wrapper .img_wrapper .tech_info .wrapper_t { + display: block; + padding-left: 50px; +} + +.about_main .wrapper .tech .wrapper .img_wrapper .tech_info .wrapper_t p { + color: var(--grey-1); + font-size: 16px; + margin-bottom: 10px !important; + text-transform: uppercase; + letter-spacing: 0.1em; + transition: 0.5s; +} + +.about_main .wrapper .tech .wrapper .img_wrapper .tech_info .wrapper_t h6 { + color: var(--heading-color); + font-size: 22px; + font-weight: 700; +} + +.about_main .wrapper .tech .wrapper .img_wrapper img { + width: 100%; +} + +.about_main .wrapper .tech .wrapper .img_wrapper:hover .tech_info { + display: flex; + justify-content: start; + align-items: center; +} + +.about_main .wrapper .ad { + margin-top: 80px; + background-image: url(../../assets/about_page/city.jpg); + background-position: center; + background-size: cover; + height: 15vw; + color: var(--white-color); + padding: 50px; + margin-left: 50px; + text-transform: uppercase; +} + +.about_main .wrapper .ad .top { + letter-spacing: 0.1em; +} + +.about_main .wrapper .ad h3 { + font-weight: 700; +} + +.scale-up-center { + animation: scale-up-center 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both; +} + +/* ---------------------------------------------- + * Generated by Animista on 2023-3-21 13:29:37 + * Licensed under FreeBSD License. + * See http://animista.net/license for more info. + * w: http://animista.net, t: @cssanimista + * ---------------------------------------------- */ +/** + * ---------------------------------------- + * animation scale-up-center + * ---------------------------------------- + */ + +@keyframes scale-up-center { + 0% { + transform: scale(0.5); + } + 100% { + transform: scale(1); + } +} \ No newline at end of file diff --git a/theme_autofly/static/src/js/all_type.js b/theme_autofly/static/src/js/all_type.js new file mode 100644 index 000000000..cbf0d546a --- /dev/null +++ b/theme_autofly/static/src/js/all_type.js @@ -0,0 +1,13 @@ +/** @odoo-module **/ + +import publicWidget from '@web/legacy/js/public/public_widget'; + +publicWidget.registry.all_type = publicWidget.Widget.extend({ + selector : '.all_type', + async start() { + const data = await ajax.jsonRpc('/get_all_type', {}) + if(data){ + this.$target.empty().append(data); + } + } +}); \ No newline at end of file diff --git a/theme_autofly/static/src/js/blog.js b/theme_autofly/static/src/js/blog.js new file mode 100644 index 000000000..7cc9633b6 --- /dev/null +++ b/theme_autofly/static/src/js/blog.js @@ -0,0 +1,22 @@ +/** @odoo-module **/ + +import { jsonrpc } from "@web/core/network/rpc_service"; +import publicWidget from "@web/legacy/js/public/public_widget"; +import animations from "@website/js/content/snippets.animation"; +import { renderToElement } from "@web/core/utils/render"; + +publicWidget.registry.latestBlog = animations.Animation.extend({ + selector: '.blog_wrapper', + async start () { + const data = await jsonrpc('/blog_snippet') + if(data) { + this.$target.empty().append(renderToElement('theme_autofly.blog_snippet', { + blog_data: data, + slug: this.slug + })) + } + }, + slug(rec) { + return rec[1].split(' ').join('-') + '-' + rec[0] + }, +}) \ No newline at end of file diff --git a/theme_autofly/static/src/js/car_garage.js b/theme_autofly/static/src/js/car_garage.js new file mode 100644 index 000000000..9a258c131 --- /dev/null +++ b/theme_autofly/static/src/js/car_garage.js @@ -0,0 +1,16 @@ +/** @odoo-module **/ +import publicWidget from '@web/legacy/js/public/public_widget'; + +publicWidget.registry.car_garage = publicWidget.Widget.extend({ + selector : '.car_garage', + init() { + this._super(...arguments); + this.rpc = this.bindService("rpc"); + }, + async start() { + const data = await this.rpc('/get_garage_car',{}) + if(data){ + this.$target.empty().append(data); + } + } +}); \ No newline at end of file diff --git a/theme_autofly/static/src/js/dynamic_blog_snippet.js b/theme_autofly/static/src/js/dynamic_blog_snippet.js new file mode 100644 index 000000000..6a517a1ff --- /dev/null +++ b/theme_autofly/static/src/js/dynamic_blog_snippet.js @@ -0,0 +1,15 @@ +/** @odoo-module **/ + +import { jsonrpc } from "@web/core/network/rpc_service"; +import publicWidget from "@web/legacy/js/public/public_widget"; +import animations from "@website/js/content/snippets.animation"; + +animations.registry.blogSnippet = animations.Animation.extend({ + selector : '.blog_index', + async start() { + const data = await jsonrpc('/dynamic_blog') + if(data){ + this.$target.empty().append(data); + } + } +}); \ No newline at end of file diff --git a/theme_autofly/static/src/js/find_car.js b/theme_autofly/static/src/js/find_car.js new file mode 100644 index 000000000..6525520a8 --- /dev/null +++ b/theme_autofly/static/src/js/find_car.js @@ -0,0 +1,15 @@ +/** @odoo-module **/ + +import { jsonrpc } from "@web/core/network/rpc_service"; +import publicWidget from "@web/legacy/js/public/public_widget"; +import animations from "@website/js/content/snippets.animation"; + +publicWidget.registry.findCar = animations.Animation.extend({ + selector : '.find_car_class', + async start() { + const data = await jsonrpc('/find_car') + if(data){ + this.$target.empty().append(data); + } + } +}); \ No newline at end of file diff --git a/theme_autofly/static/src/js/owl.carousel.js b/theme_autofly/static/src/js/owl.carousel.js new file mode 100644 index 000000000..66c67ebe0 --- /dev/null +++ b/theme_autofly/static/src/js/owl.carousel.js @@ -0,0 +1,3448 @@ +/** + * Owl Carousel v2.3.4 + * Copyright 2013-2018 David Deutsch + * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE + */ +/** + * Owl carousel + * @version 2.3.4 + * @author Bartosz Wojciechowski + * @author David Deutsch + * @license The MIT License (MIT) + * @todo Lazy Load Icon + * @todo prevent animationend bubling + * @todo itemsScaleUp + * @todo Test Zepto + * @todo stagePadding calculate wrong active classes + */ +;(function($, window, document, undefined) { + + /** + * Creates a carousel. + * @class The Owl Carousel. + * @public + * @param {HTMLElement|jQuery} element - The element to create the carousel for. + * @param {Object} [options] - The options + */ + function Owl(element, options) { + + /** + * Current settings for the carousel. + * @public + */ + this.settings = null; + + /** + * Current options set by the caller including defaults. + * @public + */ + this.options = $.extend({}, Owl.Defaults, options); + + /** + * Plugin element. + * @public + */ + this.$element = $(element); + + /** + * Proxied event handlers. + * @protected + */ + this._handlers = {}; + + /** + * References to the running plugins of this carousel. + * @protected + */ + this._plugins = {}; + + /** + * Currently suppressed events to prevent them from being retriggered. + * @protected + */ + this._supress = {}; + + /** + * Absolute current position. + * @protected + */ + this._current = null; + + /** + * Animation speed in milliseconds. + * @protected + */ + this._speed = null; + + /** + * Coordinates of all items in pixel. + * @todo The name of this member is missleading. + * @protected + */ + this._coordinates = []; + + /** + * Current breakpoint. + * @todo Real media queries would be nice. + * @protected + */ + this._breakpoint = null; + + /** + * Current width of the plugin element. + */ + this._width = null; + + /** + * All real items. + * @protected + */ + this._items = []; + + /** + * All cloned items. + * @protected + */ + this._clones = []; + + /** + * Merge values of all items. + * @todo Maybe this could be part of a plugin. + * @protected + */ + this._mergers = []; + + /** + * Widths of all items. + */ + this._widths = []; + + /** + * Invalidated parts within the update process. + * @protected + */ + this._invalidated = {}; + + /** + * Ordered list of workers for the update process. + * @protected + */ + this._pipe = []; + + /** + * Current state information for the drag operation. + * @todo #261 + * @protected + */ + this._drag = { + time: null, + target: null, + pointer: null, + stage: { + start: null, + current: null + }, + direction: null + }; + + /** + * Current state information and their tags. + * @type {Object} + * @protected + */ + this._states = { + current: {}, + tags: { + 'initializing': [ 'busy' ], + 'animating': [ 'busy' ], + 'dragging': [ 'interacting' ] + } + }; + + $.each([ 'onResize', 'onThrottledResize' ], $.proxy(function(i, handler) { + this._handlers[handler] = $.proxy(this[handler], this); + }, this)); + + $.each(Owl.Plugins, $.proxy(function(key, plugin) { + this._plugins[key.charAt(0).toLowerCase() + key.slice(1)] + = new plugin(this); + }, this)); + + $.each(Owl.Workers, $.proxy(function(priority, worker) { + this._pipe.push({ + 'filter': worker.filter, + 'run': $.proxy(worker.run, this) + }); + }, this)); + + this.setup(); + this.initialize(); + } + + /** + * Default options for the carousel. + * @public + */ + Owl.Defaults = { + items: 3, + loop: false, + center: false, + rewind: false, + checkVisibility: true, + + mouseDrag: true, + touchDrag: true, + pullDrag: true, + freeDrag: false, + + margin: 0, + stagePadding: 0, + + merge: false, + mergeFit: true, + autoWidth: false, + + startPosition: 0, + rtl: false, + + smartSpeed: 250, + fluidSpeed: false, + dragEndSpeed: false, + + responsive: {}, + responsiveRefreshRate: 200, + responsiveBaseElement: window, + + fallbackEasing: 'swing', + slideTransition: '', + + info: false, + + nestedItemSelector: false, + itemElement: 'div', + stageElement: 'div', + + refreshClass: 'owl-refresh', + loadedClass: 'owl-loaded', + loadingClass: 'owl-loading', + rtlClass: 'owl-rtl', + responsiveClass: 'owl-responsive', + dragClass: 'owl-drag', + itemClass: 'owl-item', + stageClass: 'owl-stage', + stageOuterClass: 'owl-stage-outer', + grabClass: 'owl-grab' + }; + + /** + * Enumeration for width. + * @public + * @readonly + * @enum {String} + */ + Owl.Width = { + Default: 'default', + Inner: 'inner', + Outer: 'outer' + }; + + /** + * Enumeration for types. + * @public + * @readonly + * @enum {String} + */ + Owl.Type = { + Event: 'event', + State: 'state' + }; + + /** + * Contains all registered plugins. + * @public + */ + Owl.Plugins = {}; + + /** + * List of workers involved in the update process. + */ + Owl.Workers = [ { + filter: [ 'width', 'settings' ], + run: function() { + this._width = this.$element.width(); + } + }, { + filter: [ 'width', 'items', 'settings' ], + run: function(cache) { + cache.current = this._items && this._items[this.relative(this._current)]; + } + }, { + filter: [ 'items', 'settings' ], + run: function() { + this.$stage.children('.cloned').remove(); + } + }, { + filter: [ 'width', 'items', 'settings' ], + run: function(cache) { + var margin = this.settings.margin || '', + grid = !this.settings.autoWidth, + rtl = this.settings.rtl, + css = { + 'width': 'auto', + 'margin-left': rtl ? margin : '', + 'margin-right': rtl ? '' : margin + }; + + !grid && this.$stage.children().css(css); + + cache.css = css; + } + }, { + filter: [ 'width', 'items', 'settings' ], + run: function(cache) { + var width = (this.width() / this.settings.items).toFixed(3) - this.settings.margin, + merge = null, + iterator = this._items.length, + grid = !this.settings.autoWidth, + widths = []; + + cache.items = { + merge: false, + width: width + }; + + while (iterator--) { + merge = this._mergers[iterator]; + merge = this.settings.mergeFit && Math.min(merge, this.settings.items) || merge; + + cache.items.merge = merge > 1 || cache.items.merge; + + widths[iterator] = !grid ? this._items[iterator].width() : width * merge; + } + + this._widths = widths; + } + }, { + filter: [ 'items', 'settings' ], + run: function() { + var clones = [], + items = this._items, + settings = this.settings, + // TODO: Should be computed from number of min width items in stage + view = Math.max(settings.items * 2, 4), + size = Math.ceil(items.length / 2) * 2, + repeat = settings.loop && items.length ? settings.rewind ? view : Math.max(view, size) : 0, + append = '', + prepend = ''; + + repeat /= 2; + + while (repeat > 0) { + // Switch to only using appended clones + clones.push(this.normalize(clones.length / 2, true)); + append = append + items[clones[clones.length - 1]][0].outerHTML; + clones.push(this.normalize(items.length - 1 - (clones.length - 1) / 2, true)); + prepend = items[clones[clones.length - 1]][0].outerHTML + prepend; + repeat -= 1; + } + + this._clones = clones; + + $(append).addClass('cloned').appendTo(this.$stage); + $(prepend).addClass('cloned').prependTo(this.$stage); + } + }, { + filter: [ 'width', 'items', 'settings' ], + run: function() { + var rtl = this.settings.rtl ? 1 : -1, + size = this._clones.length + this._items.length, + iterator = -1, + previous = 0, + current = 0, + coordinates = []; + + while (++iterator < size) { + previous = coordinates[iterator - 1] || 0; + current = this._widths[this.relative(iterator)] + this.settings.margin; + coordinates.push(previous + current * rtl); + } + + this._coordinates = coordinates; + } + }, { + filter: [ 'width', 'items', 'settings' ], + run: function() { + var padding = this.settings.stagePadding, + coordinates = this._coordinates, + css = { + 'width': Math.ceil(Math.abs(coordinates[coordinates.length - 1])) + padding * 2, + 'padding-left': padding || '', + 'padding-right': padding || '' + }; + + this.$stage.css(css); + } + }, { + filter: [ 'width', 'items', 'settings' ], + run: function(cache) { + var iterator = this._coordinates.length, + grid = !this.settings.autoWidth, + items = this.$stage.children(); + + if (grid && cache.items.merge) { + while (iterator--) { + cache.css.width = this._widths[this.relative(iterator)]; + items.eq(iterator).css(cache.css); + } + } else if (grid) { + cache.css.width = cache.items.width; + items.css(cache.css); + } + } + }, { + filter: [ 'items' ], + run: function() { + this._coordinates.length < 1 && this.$stage.removeAttr('style'); + } + }, { + filter: [ 'width', 'items', 'settings' ], + run: function(cache) { + cache.current = cache.current ? this.$stage.children().index(cache.current) : 0; + cache.current = Math.max(this.minimum(), Math.min(this.maximum(), cache.current)); + this.reset(cache.current); + } + }, { + filter: [ 'position' ], + run: function() { + this.animate(this.coordinates(this._current)); + } + }, { + filter: [ 'width', 'position', 'items', 'settings' ], + run: function() { + var rtl = this.settings.rtl ? 1 : -1, + padding = this.settings.stagePadding * 2, + begin = this.coordinates(this.current()) + padding, + end = begin + this.width() * rtl, + inner, outer, matches = [], i, n; + + for (i = 0, n = this._coordinates.length; i < n; i++) { + inner = this._coordinates[i - 1] || 0; + outer = Math.abs(this._coordinates[i]) + padding * rtl; + + if ((this.op(inner, '<=', begin) && (this.op(inner, '>', end))) + || (this.op(outer, '<', begin) && this.op(outer, '>', end))) { + matches.push(i); + } + } + + this.$stage.children('.active').removeClass('active'); + this.$stage.children(':eq(' + matches.join('), :eq(') + ')').addClass('active'); + + this.$stage.children('.center').removeClass('center'); + if (this.settings.center) { + this.$stage.children().eq(this.current()).addClass('center'); + } + } + } ]; + + /** + * Create the stage DOM element + */ + Owl.prototype.initializeStage = function() { + this.$stage = this.$element.find('.' + this.settings.stageClass); + + // if the stage is already in the DOM, grab it and skip stage initialization + if (this.$stage.length) { + return; + } + + this.$element.addClass(this.options.loadingClass); + + // create stage + this.$stage = $('<' + this.settings.stageElement + '>', { + "class": this.settings.stageClass + }).wrap( $( '
', { + "class": this.settings.stageOuterClass + })); + + // append stage + this.$element.append(this.$stage.parent()); + }; + + /** + * Create item DOM elements + */ + Owl.prototype.initializeItems = function() { + var $items = this.$element.find('.owl-item'); + + // if the items are already in the DOM, grab them and skip item initialization + if ($items.length) { + this._items = $items.get().map(function(item) { + return $(item); + }); + + this._mergers = this._items.map(function() { + return 1; + }); + + this.refresh(); + + return; + } + + // append content + this.replace(this.$element.children().not(this.$stage.parent())); + + // check visibility + if (this.isVisible()) { + // update view + this.refresh(); + } else { + // invalidate width + this.invalidate('width'); + } + + this.$element + .removeClass(this.options.loadingClass) + .addClass(this.options.loadedClass); + }; + + /** + * Initializes the carousel. + * @protected + */ + Owl.prototype.initialize = function() { + this.enter('initializing'); + this.trigger('initialize'); + + this.$element.toggleClass(this.settings.rtlClass, this.settings.rtl); + + if (this.settings.autoWidth && !this.is('pre-loading')) { + var imgs, nestedSelector, width; + imgs = this.$element.find('img'); + nestedSelector = this.settings.nestedItemSelector ? '.' + this.settings.nestedItemSelector : undefined; + width = this.$element.children(nestedSelector).width(); + + if (imgs.length && width <= 0) { + this.preloadAutoWidthImages(imgs); + } + } + + this.initializeStage(); + this.initializeItems(); + + // register event handlers + this.registerEventHandlers(); + + this.leave('initializing'); + this.trigger('initialized'); + }; + + /** + * @returns {Boolean} visibility of $element + * if you know the carousel will always be visible you can set `checkVisibility` to `false` to + * prevent the expensive browser layout forced reflow the $element.is(':visible') does + */ + Owl.prototype.isVisible = function() { + return this.settings.checkVisibility + ? this.$element.is(':visible') + : true; + }; + + /** + * Setups the current settings. + * @todo Remove responsive classes. Why should adaptive designs be brought into IE8? + * @todo Support for media queries by using `matchMedia` would be nice. + * @public + */ + Owl.prototype.setup = function() { + var viewport = this.viewport(), + overwrites = this.options.responsive, + match = -1, + settings = null; + + if (!overwrites) { + settings = $.extend({}, this.options); + } else { + $.each(overwrites, function(breakpoint) { + if (breakpoint <= viewport && breakpoint > match) { + match = Number(breakpoint); + } + }); + + settings = $.extend({}, this.options, overwrites[match]); + if (typeof settings.stagePadding === 'function') { + settings.stagePadding = settings.stagePadding(); + } + delete settings.responsive; + + // responsive class + if (settings.responsiveClass) { + this.$element.attr('class', + this.$element.attr('class').replace(new RegExp('(' + this.options.responsiveClass + '-)\\S+\\s', 'g'), '$1' + match) + ); + } + } + + this.trigger('change', { property: { name: 'settings', value: settings } }); + this._breakpoint = match; + this.settings = settings; + this.invalidate('settings'); + this.trigger('changed', { property: { name: 'settings', value: this.settings } }); + }; + + /** + * Updates option logic if necessery. + * @protected + */ + Owl.prototype.optionsLogic = function() { + if (this.settings.autoWidth) { + this.settings.stagePadding = false; + this.settings.merge = false; + } + }; + + /** + * Prepares an item before add. + * @todo Rename event parameter `content` to `item`. + * @protected + * @returns {jQuery|HTMLElement} - The item container. + */ + Owl.prototype.prepare = function(item) { + var event = this.trigger('prepare', { content: item }); + + if (!event.data) { + event.data = $('<' + this.settings.itemElement + '/>') + .addClass(this.options.itemClass).append(item) + } + + this.trigger('prepared', { content: event.data }); + + return event.data; + }; + + /** + * Updates the view. + * @public + */ + Owl.prototype.update = function() { + var i = 0, + n = this._pipe.length, + filter = $.proxy(function(p) { return this[p] }, this._invalidated), + cache = {}; + + while (i < n) { + if (this._invalidated.all || $.grep(this._pipe[i].filter, filter).length > 0) { + this._pipe[i].run(cache); + } + i++; + } + + this._invalidated = {}; + + !this.is('valid') && this.enter('valid'); + }; + + /** + * Gets the width of the view. + * @public + * @param {Owl.Width} [dimension=Owl.Width.Default] - The dimension to return. + * @returns {Number} - The width of the view in pixel. + */ + Owl.prototype.width = function(dimension) { + dimension = dimension || Owl.Width.Default; + switch (dimension) { + case Owl.Width.Inner: + case Owl.Width.Outer: + return this._width; + default: + return this._width - this.settings.stagePadding * 2 + this.settings.margin; + } + }; + + /** + * Refreshes the carousel primarily for adaptive purposes. + * @public + */ + Owl.prototype.refresh = function() { + this.enter('refreshing'); + this.trigger('refresh'); + + this.setup(); + + this.optionsLogic(); + + this.$element.addClass(this.options.refreshClass); + + this.update(); + + this.$element.removeClass(this.options.refreshClass); + + this.leave('refreshing'); + this.trigger('refreshed'); + }; + + /** + * Checks window `resize` event. + * @protected + */ + Owl.prototype.onThrottledResize = function() { + window.clearTimeout(this.resizeTimer); + this.resizeTimer = window.setTimeout(this._handlers.onResize, this.settings.responsiveRefreshRate); + }; + + /** + * Checks window `resize` event. + * @protected + */ + Owl.prototype.onResize = function() { + if (!this._items.length) { + return false; + } + + if (this._width === this.$element.width()) { + return false; + } + + if (!this.isVisible()) { + return false; + } + + this.enter('resizing'); + + if (this.trigger('resize').isDefaultPrevented()) { + this.leave('resizing'); + return false; + } + + this.invalidate('width'); + + this.refresh(); + + this.leave('resizing'); + this.trigger('resized'); + }; + + /** + * Registers event handlers. + * @todo Check `msPointerEnabled` + * @todo #261 + * @protected + */ + Owl.prototype.registerEventHandlers = function() { + if ($.support.transition) { + this.$stage.on($.support.transition.end + '.owl.core', $.proxy(this.onTransitionEnd, this)); + } + + if (this.settings.responsive !== false) { + this.on(window, 'resize', this._handlers.onThrottledResize); + } + + if (this.settings.mouseDrag) { + this.$element.addClass(this.options.dragClass); + this.$stage.on('mousedown.owl.core', $.proxy(this.onDragStart, this)); + this.$stage.on('dragstart.owl.core selectstart.owl.core', function() { return false }); + } + + if (this.settings.touchDrag){ + this.$stage.on('touchstart.owl.core', $.proxy(this.onDragStart, this)); + this.$stage.on('touchcancel.owl.core', $.proxy(this.onDragEnd, this)); + } + }; + + /** + * Handles `touchstart` and `mousedown` events. + * @todo Horizontal swipe threshold as option + * @todo #261 + * @protected + * @param {Event} event - The event arguments. + */ + Owl.prototype.onDragStart = function(event) { + var stage = null; + + if (event.which === 3) { + return; + } + + if ($.support.transform) { + stage = this.$stage.css('transform').replace(/.*\(|\)| /g, '').split(','); + stage = { + x: stage[stage.length === 16 ? 12 : 4], + y: stage[stage.length === 16 ? 13 : 5] + }; + } else { + stage = this.$stage.position(); + stage = { + x: this.settings.rtl ? + stage.left + this.$stage.width() - this.width() + this.settings.margin : + stage.left, + y: stage.top + }; + } + + if (this.is('animating')) { + $.support.transform ? this.animate(stage.x) : this.$stage.stop() + this.invalidate('position'); + } + + this.$element.toggleClass(this.options.grabClass, event.type === 'mousedown'); + + this.speed(0); + + this._drag.time = new Date().getTime(); + this._drag.target = $(event.target); + this._drag.stage.start = stage; + this._drag.stage.current = stage; + this._drag.pointer = this.pointer(event); + + $(document).on('mouseup.owl.core touchend.owl.core', $.proxy(this.onDragEnd, this)); + + $(document).one('mousemove.owl.core touchmove.owl.core', $.proxy(function(event) { + var delta = this.difference(this._drag.pointer, this.pointer(event)); + + $(document).on('mousemove.owl.core touchmove.owl.core', $.proxy(this.onDragMove, this)); + + if (Math.abs(delta.x) < Math.abs(delta.y) && this.is('valid')) { + return; + } + + event.preventDefault(); + + this.enter('dragging'); + this.trigger('drag'); + }, this)); + }; + + /** + * Handles the `touchmove` and `mousemove` events. + * @todo #261 + * @protected + * @param {Event} event - The event arguments. + */ + Owl.prototype.onDragMove = function(event) { + var minimum = null, + maximum = null, + pull = null, + delta = this.difference(this._drag.pointer, this.pointer(event)), + stage = this.difference(this._drag.stage.start, delta); + + if (!this.is('dragging')) { + return; + } + + event.preventDefault(); + + if (this.settings.loop) { + minimum = this.coordinates(this.minimum()); + maximum = this.coordinates(this.maximum() + 1) - minimum; + stage.x = (((stage.x - minimum) % maximum + maximum) % maximum) + minimum; + } else { + minimum = this.settings.rtl ? this.coordinates(this.maximum()) : this.coordinates(this.minimum()); + maximum = this.settings.rtl ? this.coordinates(this.minimum()) : this.coordinates(this.maximum()); + pull = this.settings.pullDrag ? -1 * delta.x / 5 : 0; + stage.x = Math.max(Math.min(stage.x, minimum + pull), maximum + pull); + } + + this._drag.stage.current = stage; + + this.animate(stage.x); + }; + + /** + * Handles the `touchend` and `mouseup` events. + * @todo #261 + * @todo Threshold for click event + * @protected + * @param {Event} event - The event arguments. + */ + Owl.prototype.onDragEnd = function(event) { + var delta = this.difference(this._drag.pointer, this.pointer(event)), + stage = this._drag.stage.current, + direction = delta.x > 0 ^ this.settings.rtl ? 'left' : 'right'; + + $(document).off('.owl.core'); + + this.$element.removeClass(this.options.grabClass); + + if (delta.x !== 0 && this.is('dragging') || !this.is('valid')) { + this.speed(this.settings.dragEndSpeed || this.settings.smartSpeed); + this.current(this.closest(stage.x, delta.x !== 0 ? direction : this._drag.direction)); + this.invalidate('position'); + this.update(); + + this._drag.direction = direction; + + if (Math.abs(delta.x) > 3 || new Date().getTime() - this._drag.time > 300) { + this._drag.target.one('click.owl.core', function() { return false; }); + } + } + + if (!this.is('dragging')) { + return; + } + + this.leave('dragging'); + this.trigger('dragged'); + }; + + /** + * Gets absolute position of the closest item for a coordinate. + * @todo Setting `freeDrag` makes `closest` not reusable. See #165. + * @protected + * @param {Number} coordinate - The coordinate in pixel. + * @param {String} direction - The direction to check for the closest item. Ether `left` or `right`. + * @return {Number} - The absolute position of the closest item. + */ + Owl.prototype.closest = function(coordinate, direction) { + var position = -1, + pull = 30, + width = this.width(), + coordinates = this.coordinates(); + + if (!this.settings.freeDrag) { + // check closest item + $.each(coordinates, $.proxy(function(index, value) { + // on a left pull, check on current index + if (direction === 'left' && coordinate > value - pull && coordinate < value + pull) { + position = index; + // on a right pull, check on previous index + // to do so, subtract width from value and set position = index + 1 + } else if (direction === 'right' && coordinate > value - width - pull && coordinate < value - width + pull) { + position = index + 1; + } else if (this.op(coordinate, '<', value) + && this.op(coordinate, '>', coordinates[index + 1] !== undefined ? coordinates[index + 1] : value - width)) { + position = direction === 'left' ? index + 1 : index; + } + return position === -1; + }, this)); + } + + if (!this.settings.loop) { + // non loop boundries + if (this.op(coordinate, '>', coordinates[this.minimum()])) { + position = coordinate = this.minimum(); + } else if (this.op(coordinate, '<', coordinates[this.maximum()])) { + position = coordinate = this.maximum(); + } + } + + return position; + }; + + /** + * Animates the stage. + * @todo #270 + * @public + * @param {Number} coordinate - The coordinate in pixels. + */ + Owl.prototype.animate = function(coordinate) { + var animate = this.speed() > 0; + + this.is('animating') && this.onTransitionEnd(); + + if (animate) { + this.enter('animating'); + this.trigger('translate'); + } + + if ($.support.transform3d && $.support.transition) { + this.$stage.css({ + transform: 'translate3d(' + coordinate + 'px,0px,0px)', + transition: (this.speed() / 1000) + 's' + ( + this.settings.slideTransition ? ' ' + this.settings.slideTransition : '' + ) + }); + } else if (animate) { + this.$stage.animate({ + left: coordinate + 'px' + }, this.speed(), this.settings.fallbackEasing, $.proxy(this.onTransitionEnd, this)); + } else { + this.$stage.css({ + left: coordinate + 'px' + }); + } + }; + + /** + * Checks whether the carousel is in a specific state or not. + * @param {String} state - The state to check. + * @returns {Boolean} - The flag which indicates if the carousel is busy. + */ + Owl.prototype.is = function(state) { + return this._states.current[state] && this._states.current[state] > 0; + }; + + /** + * Sets the absolute position of the current item. + * @public + * @param {Number} [position] - The new absolute position or nothing to leave it unchanged. + * @returns {Number} - The absolute position of the current item. + */ + Owl.prototype.current = function(position) { + if (position === undefined) { + return this._current; + } + + if (this._items.length === 0) { + return undefined; + } + + position = this.normalize(position); + + if (this._current !== position) { + var event = this.trigger('change', { property: { name: 'position', value: position } }); + + if (event.data !== undefined) { + position = this.normalize(event.data); + } + + this._current = position; + + this.invalidate('position'); + + this.trigger('changed', { property: { name: 'position', value: this._current } }); + } + + return this._current; + }; + + /** + * Invalidates the given part of the update routine. + * @param {String} [part] - The part to invalidate. + * @returns {Array.} - The invalidated parts. + */ + Owl.prototype.invalidate = function(part) { + if ($.type(part) === 'string') { + this._invalidated[part] = true; + this.is('valid') && this.leave('valid'); + } + return $.map(this._invalidated, function(v, i) { return i }); + }; + + /** + * Resets the absolute position of the current item. + * @public + * @param {Number} position - The absolute position of the new item. + */ + Owl.prototype.reset = function(position) { + position = this.normalize(position); + + if (position === undefined) { + return; + } + + this._speed = 0; + this._current = position; + + this.suppress([ 'translate', 'translated' ]); + + this.animate(this.coordinates(position)); + + this.release([ 'translate', 'translated' ]); + }; + + /** + * Normalizes an absolute or a relative position of an item. + * @public + * @param {Number} position - The absolute or relative position to normalize. + * @param {Boolean} [relative=false] - Whether the given position is relative or not. + * @returns {Number} - The normalized position. + */ + Owl.prototype.normalize = function(position, relative) { + var n = this._items.length, + m = relative ? 0 : this._clones.length; + + if (!this.isNumeric(position) || n < 1) { + position = undefined; + } else if (position < 0 || position >= n + m) { + position = ((position - m / 2) % n + n) % n + m / 2; + } + + return position; + }; + + /** + * Converts an absolute position of an item into a relative one. + * @public + * @param {Number} position - The absolute position to convert. + * @returns {Number} - The converted position. + */ + Owl.prototype.relative = function(position) { + position -= this._clones.length / 2; + return this.normalize(position, true); + }; + + /** + * Gets the maximum position for the current item. + * @public + * @param {Boolean} [relative=false] - Whether to return an absolute position or a relative position. + * @returns {Number} + */ + Owl.prototype.maximum = function(relative) { + var settings = this.settings, + maximum = this._coordinates.length, + iterator, + reciprocalItemsWidth, + elementWidth; + + if (settings.loop) { + maximum = this._clones.length / 2 + this._items.length - 1; + } else if (settings.autoWidth || settings.merge) { + iterator = this._items.length; + if (iterator) { + reciprocalItemsWidth = this._items[--iterator].width(); + elementWidth = this.$element.width(); + while (iterator--) { + reciprocalItemsWidth += this._items[iterator].width() + this.settings.margin; + if (reciprocalItemsWidth > elementWidth) { + break; + } + } + } + maximum = iterator + 1; + } else if (settings.center) { + maximum = this._items.length - 1; + } else { + maximum = this._items.length - settings.items; + } + + if (relative) { + maximum -= this._clones.length / 2; + } + + return Math.max(maximum, 0); + }; + + /** + * Gets the minimum position for the current item. + * @public + * @param {Boolean} [relative=false] - Whether to return an absolute position or a relative position. + * @returns {Number} + */ + Owl.prototype.minimum = function(relative) { + return relative ? 0 : this._clones.length / 2; + }; + + /** + * Gets an item at the specified relative position. + * @public + * @param {Number} [position] - The relative position of the item. + * @return {jQuery|Array.} - The item at the given position or all items if no position was given. + */ + Owl.prototype.items = function(position) { + if (position === undefined) { + return this._items.slice(); + } + + position = this.normalize(position, true); + return this._items[position]; + }; + + /** + * Gets an item at the specified relative position. + * @public + * @param {Number} [position] - The relative position of the item. + * @return {jQuery|Array.} - The item at the given position or all items if no position was given. + */ + Owl.prototype.mergers = function(position) { + if (position === undefined) { + return this._mergers.slice(); + } + + position = this.normalize(position, true); + return this._mergers[position]; + }; + + /** + * Gets the absolute positions of clones for an item. + * @public + * @param {Number} [position] - The relative position of the item. + * @returns {Array.} - The absolute positions of clones for the item or all if no position was given. + */ + Owl.prototype.clones = function(position) { + var odd = this._clones.length / 2, + even = odd + this._items.length, + map = function(index) { return index % 2 === 0 ? even + index / 2 : odd - (index + 1) / 2 }; + + if (position === undefined) { + return $.map(this._clones, function(v, i) { return map(i) }); + } + + return $.map(this._clones, function(v, i) { return v === position ? map(i) : null }); + }; + + /** + * Sets the current animation speed. + * @public + * @param {Number} [speed] - The animation speed in milliseconds or nothing to leave it unchanged. + * @returns {Number} - The current animation speed in milliseconds. + */ + Owl.prototype.speed = function(speed) { + if (speed !== undefined) { + this._speed = speed; + } + + return this._speed; + }; + + /** + * Gets the coordinate of an item. + * @todo The name of this method is missleanding. + * @public + * @param {Number} position - The absolute position of the item within `minimum()` and `maximum()`. + * @returns {Number|Array.} - The coordinate of the item in pixel or all coordinates. + */ + Owl.prototype.coordinates = function(position) { + var multiplier = 1, + newPosition = position - 1, + coordinate; + + if (position === undefined) { + return $.map(this._coordinates, $.proxy(function(coordinate, index) { + return this.coordinates(index); + }, this)); + } + + if (this.settings.center) { + if (this.settings.rtl) { + multiplier = -1; + newPosition = position + 1; + } + + coordinate = this._coordinates[position]; + coordinate += (this.width() - coordinate + (this._coordinates[newPosition] || 0)) / 2 * multiplier; + } else { + coordinate = this._coordinates[newPosition] || 0; + } + + coordinate = Math.ceil(coordinate); + + return coordinate; + }; + + /** + * Calculates the speed for a translation. + * @protected + * @param {Number} from - The absolute position of the start item. + * @param {Number} to - The absolute position of the target item. + * @param {Number} [factor=undefined] - The time factor in milliseconds. + * @returns {Number} - The time in milliseconds for the translation. + */ + Owl.prototype.duration = function(from, to, factor) { + if (factor === 0) { + return 0; + } + + return Math.min(Math.max(Math.abs(to - from), 1), 6) * Math.abs((factor || this.settings.smartSpeed)); + }; + + /** + * Slides to the specified item. + * @public + * @param {Number} position - The position of the item. + * @param {Number} [speed] - The time in milliseconds for the transition. + */ + Owl.prototype.to = function(position, speed) { + var current = this.current(), + revert = null, + distance = position - this.relative(current), + direction = (distance > 0) - (distance < 0), + items = this._items.length, + minimum = this.minimum(), + maximum = this.maximum(); + + if (this.settings.loop) { + if (!this.settings.rewind && Math.abs(distance) > items / 2) { + distance += direction * -1 * items; + } + + position = current + distance; + revert = ((position - minimum) % items + items) % items + minimum; + + if (revert !== position && revert - distance <= maximum && revert - distance > 0) { + current = revert - distance; + position = revert; + this.reset(current); + } + } else if (this.settings.rewind) { + maximum += 1; + position = (position % maximum + maximum) % maximum; + } else { + position = Math.max(minimum, Math.min(maximum, position)); + } + + this.speed(this.duration(current, position, speed)); + this.current(position); + + if (this.isVisible()) { + this.update(); + } + }; + + /** + * Slides to the next item. + * @public + * @param {Number} [speed] - The time in milliseconds for the transition. + */ + Owl.prototype.next = function(speed) { + speed = speed || false; + this.to(this.relative(this.current()) + 1, speed); + }; + + /** + * Slides to the previous item. + * @public + * @param {Number} [speed] - The time in milliseconds for the transition. + */ + Owl.prototype.prev = function(speed) { + speed = speed || false; + this.to(this.relative(this.current()) - 1, speed); + }; + + /** + * Handles the end of an animation. + * @protected + * @param {Event} event - The event arguments. + */ + Owl.prototype.onTransitionEnd = function(event) { + + // if css2 animation then event object is undefined + if (event !== undefined) { + event.stopPropagation(); + + // Catch only owl-stage transitionEnd event + if ((event.target || event.srcElement || event.originalTarget) !== this.$stage.get(0)) { + return false; + } + } + + this.leave('animating'); + this.trigger('translated'); + }; + + /** + * Gets viewport width. + * @protected + * @return {Number} - The width in pixel. + */ + Owl.prototype.viewport = function() { + var width; + if (this.options.responsiveBaseElement !== window) { + width = $(this.options.responsiveBaseElement).width(); + } else if (window.innerWidth) { + width = window.innerWidth; + } else if (document.documentElement && document.documentElement.clientWidth) { + width = document.documentElement.clientWidth; + } else { + console.warn('Can not detect viewport width.'); + } + return width; + }; + + /** + * Replaces the current content. + * @public + * @param {HTMLElement|jQuery|String} content - The new content. + */ + Owl.prototype.replace = function(content) { + this.$stage.empty(); + this._items = []; + + if (content) { + content = (content instanceof jQuery) ? content : $(content); + } + + if (this.settings.nestedItemSelector) { + content = content.find('.' + this.settings.nestedItemSelector); + } + + content.filter(function() { + return this.nodeType === 1; + }).each($.proxy(function(index, item) { + item = this.prepare(item); + this.$stage.append(item); + this._items.push(item); + this._mergers.push(item.find('[data-merge]').addBack('[data-merge]').attr('data-merge') * 1 || 1); + }, this)); + + this.reset(this.isNumeric(this.settings.startPosition) ? this.settings.startPosition : 0); + + this.invalidate('items'); + }; + + /** + * Adds an item. + * @todo Use `item` instead of `content` for the event arguments. + * @public + * @param {HTMLElement|jQuery|String} content - The item content to add. + * @param {Number} [position] - The relative position at which to insert the item otherwise the item will be added to the end. + */ + Owl.prototype.add = function(content, position) { + var current = this.relative(this._current); + + position = position === undefined ? this._items.length : this.normalize(position, true); + content = content instanceof jQuery ? content : $(content); + + this.trigger('add', { content: content, position: position }); + + content = this.prepare(content); + + if (this._items.length === 0 || position === this._items.length) { + this._items.length === 0 && this.$stage.append(content); + this._items.length !== 0 && this._items[position - 1].after(content); + this._items.push(content); + this._mergers.push(content.find('[data-merge]').addBack('[data-merge]').attr('data-merge') * 1 || 1); + } else { + this._items[position].before(content); + this._items.splice(position, 0, content); + this._mergers.splice(position, 0, content.find('[data-merge]').addBack('[data-merge]').attr('data-merge') * 1 || 1); + } + + this._items[current] && this.reset(this._items[current].index()); + + this.invalidate('items'); + + this.trigger('added', { content: content, position: position }); + }; + + /** + * Removes an item by its position. + * @todo Use `item` instead of `content` for the event arguments. + * @public + * @param {Number} position - The relative position of the item to remove. + */ + Owl.prototype.remove = function(position) { + position = this.normalize(position, true); + + if (position === undefined) { + return; + } + + this.trigger('remove', { content: this._items[position], position: position }); + + this._items[position].remove(); + this._items.splice(position, 1); + this._mergers.splice(position, 1); + + this.invalidate('items'); + + this.trigger('removed', { content: null, position: position }); + }; + + /** + * Preloads images with auto width. + * @todo Replace by a more generic approach + * @protected + */ + Owl.prototype.preloadAutoWidthImages = function(images) { + images.each($.proxy(function(i, element) { + this.enter('pre-loading'); + element = $(element); + $(new Image()).one('load', $.proxy(function(e) { + element.attr('src', e.target.src); + element.css('opacity', 1); + this.leave('pre-loading'); + !this.is('pre-loading') && !this.is('initializing') && this.refresh(); + }, this)).attr('src', element.attr('src') || element.attr('data-src') || element.attr('data-src-retina')); + }, this)); + }; + + /** + * Destroys the carousel. + * @public + */ + Owl.prototype.destroy = function() { + + this.$element.off('.owl.core'); + this.$stage.off('.owl.core'); + $(document).off('.owl.core'); + + if (this.settings.responsive !== false) { + window.clearTimeout(this.resizeTimer); + this.off(window, 'resize', this._handlers.onThrottledResize); + } + + for (var i in this._plugins) { + this._plugins[i].destroy(); + } + + this.$stage.children('.cloned').remove(); + + this.$stage.unwrap(); + this.$stage.children().contents().unwrap(); + this.$stage.children().unwrap(); + this.$stage.remove(); + this.$element + .removeClass(this.options.refreshClass) + .removeClass(this.options.loadingClass) + .removeClass(this.options.loadedClass) + .removeClass(this.options.rtlClass) + .removeClass(this.options.dragClass) + .removeClass(this.options.grabClass) + .attr('class', this.$element.attr('class').replace(new RegExp(this.options.responsiveClass + '-\\S+\\s', 'g'), '')) + .removeData('owl.carousel'); + }; + + /** + * Operators to calculate right-to-left and left-to-right. + * @protected + * @param {Number} [a] - The left side operand. + * @param {String} [o] - The operator. + * @param {Number} [b] - The right side operand. + */ + Owl.prototype.op = function(a, o, b) { + var rtl = this.settings.rtl; + switch (o) { + case '<': + return rtl ? a > b : a < b; + case '>': + return rtl ? a < b : a > b; + case '>=': + return rtl ? a <= b : a >= b; + case '<=': + return rtl ? a >= b : a <= b; + default: + break; + } + }; + + /** + * Attaches to an internal event. + * @protected + * @param {HTMLElement} element - The event source. + * @param {String} event - The event name. + * @param {Function} listener - The event handler to attach. + * @param {Boolean} capture - Wether the event should be handled at the capturing phase or not. + */ + Owl.prototype.on = function(element, event, listener, capture) { + if (element.addEventListener) { + element.addEventListener(event, listener, capture); + } else if (element.attachEvent) { + element.attachEvent('on' + event, listener); + } + }; + + /** + * Detaches from an internal event. + * @protected + * @param {HTMLElement} element - The event source. + * @param {String} event - The event name. + * @param {Function} listener - The attached event handler to detach. + * @param {Boolean} capture - Wether the attached event handler was registered as a capturing listener or not. + */ + Owl.prototype.off = function(element, event, listener, capture) { + if (element.removeEventListener) { + element.removeEventListener(event, listener, capture); + } else if (element.detachEvent) { + element.detachEvent('on' + event, listener); + } + }; + + /** + * Triggers a public event. + * @todo Remove `status`, `relatedTarget` should be used instead. + * @protected + * @param {String} name - The event name. + * @param {*} [data=null] - The event data. + * @param {String} [namespace=carousel] - The event namespace. + * @param {String} [state] - The state which is associated with the event. + * @param {Boolean} [enter=false] - Indicates if the call enters the specified state or not. + * @returns {Event} - The event arguments. + */ + Owl.prototype.trigger = function(name, data, namespace, state, enter) { + var status = { + item: { count: this._items.length, index: this.current() } + }, handler = $.camelCase( + $.grep([ 'on', name, namespace ], function(v) { return v }) + .join('-').toLowerCase() + ), event = $.Event( + [ name, 'owl', namespace || 'carousel' ].join('.').toLowerCase(), + $.extend({ relatedTarget: this }, status, data) + ); + + if (!this._supress[name]) { + $.each(this._plugins, function(name, plugin) { + if (plugin.onTrigger) { + plugin.onTrigger(event); + } + }); + + this.register({ type: Owl.Type.Event, name: name }); + this.$element.trigger(event); + + if (this.settings && typeof this.settings[handler] === 'function') { + this.settings[handler].call(this, event); + } + } + + return event; + }; + + /** + * Enters a state. + * @param name - The state name. + */ + Owl.prototype.enter = function(name) { + $.each([ name ].concat(this._states.tags[name] || []), $.proxy(function(i, name) { + if (this._states.current[name] === undefined) { + this._states.current[name] = 0; + } + + this._states.current[name]++; + }, this)); + }; + + /** + * Leaves a state. + * @param name - The state name. + */ + Owl.prototype.leave = function(name) { + $.each([ name ].concat(this._states.tags[name] || []), $.proxy(function(i, name) { + this._states.current[name]--; + }, this)); + }; + + /** + * Registers an event or state. + * @public + * @param {Object} object - The event or state to register. + */ + Owl.prototype.register = function(object) { + if (object.type === Owl.Type.Event) { + if (!$.event.special[object.name]) { + $.event.special[object.name] = {}; + } + + if (!$.event.special[object.name].owl) { + var _default = $.event.special[object.name]._default; + $.event.special[object.name]._default = function(e) { + if (_default && _default.apply && (!e.namespace || e.namespace.indexOf('owl') === -1)) { + return _default.apply(this, arguments); + } + return e.namespace && e.namespace.indexOf('owl') > -1; + }; + $.event.special[object.name].owl = true; + } + } else if (object.type === Owl.Type.State) { + if (!this._states.tags[object.name]) { + this._states.tags[object.name] = object.tags; + } else { + this._states.tags[object.name] = this._states.tags[object.name].concat(object.tags); + } + + this._states.tags[object.name] = $.grep(this._states.tags[object.name], $.proxy(function(tag, i) { + return $.inArray(tag, this._states.tags[object.name]) === i; + }, this)); + } + }; + + /** + * Suppresses events. + * @protected + * @param {Array.} events - The events to suppress. + */ + Owl.prototype.suppress = function(events) { + $.each(events, $.proxy(function(index, event) { + this._supress[event] = true; + }, this)); + }; + + /** + * Releases suppressed events. + * @protected + * @param {Array.} events - The events to release. + */ + Owl.prototype.release = function(events) { + $.each(events, $.proxy(function(index, event) { + delete this._supress[event]; + }, this)); + }; + + /** + * Gets unified pointer coordinates from event. + * @todo #261 + * @protected + * @param {Event} - The `mousedown` or `touchstart` event. + * @returns {Object} - Contains `x` and `y` coordinates of current pointer position. + */ + Owl.prototype.pointer = function(event) { + var result = { x: null, y: null }; + + event = event.originalEvent || event || window.event; + + event = event.touches && event.touches.length ? + event.touches[0] : event.changedTouches && event.changedTouches.length ? + event.changedTouches[0] : event; + + if (event.pageX) { + result.x = event.pageX; + result.y = event.pageY; + } else { + result.x = event.clientX; + result.y = event.clientY; + } + + return result; + }; + + /** + * Determines if the input is a Number or something that can be coerced to a Number + * @protected + * @param {Number|String|Object|Array|Boolean|RegExp|Function|Symbol} - The input to be tested + * @returns {Boolean} - An indication if the input is a Number or can be coerced to a Number + */ + Owl.prototype.isNumeric = function(number) { + return !isNaN(parseFloat(number)); + }; + + /** + * Gets the difference of two vectors. + * @todo #261 + * @protected + * @param {Object} - The first vector. + * @param {Object} - The second vector. + * @returns {Object} - The difference. + */ + Owl.prototype.difference = function(first, second) { + return { + x: first.x - second.x, + y: first.y - second.y + }; + }; + + /** + * The jQuery Plugin for the Owl Carousel + * @todo Navigation plugin `next` and `prev` + * @public + */ + $.fn.owlCarousel = function(option) { + var args = Array.prototype.slice.call(arguments, 1); + + return this.each(function() { + var $this = $(this), + data = $this.data('owl.carousel'); + + if (!data) { + data = new Owl(this, typeof option == 'object' && option); + $this.data('owl.carousel', data); + + $.each([ + 'next', 'prev', 'to', 'destroy', 'refresh', 'replace', 'add', 'remove' + ], function(i, event) { + data.register({ type: Owl.Type.Event, name: event }); + data.$element.on(event + '.owl.carousel.core', $.proxy(function(e) { + if (e.namespace && e.relatedTarget !== this) { + this.suppress([ event ]); + data[event].apply(this, [].slice.call(arguments, 1)); + this.release([ event ]); + } + }, data)); + }); + } + + if (typeof option == 'string' && option.charAt(0) !== '_') { + data[option].apply(data, args); + } + }); + }; + + /** + * The constructor for the jQuery Plugin + * @public + */ + $.fn.owlCarousel.Constructor = Owl; + +})(window.Zepto || window.jQuery, window, document); + +/** + * AutoRefresh Plugin + * @version 2.3.4 + * @author Artus Kolanowski + * @author David Deutsch + * @license The MIT License (MIT) + */ +;(function($, window, document, undefined) { + + /** + * Creates the auto refresh plugin. + * @class The Auto Refresh Plugin + * @param {Owl} carousel - The Owl Carousel + */ + var AutoRefresh = function(carousel) { + /** + * Reference to the core. + * @protected + * @type {Owl} + */ + this._core = carousel; + + /** + * Refresh interval. + * @protected + * @type {number} + */ + this._interval = null; + + /** + * Whether the element is currently visible or not. + * @protected + * @type {Boolean} + */ + this._visible = null; + + /** + * All event handlers. + * @protected + * @type {Object} + */ + this._handlers = { + 'initialized.owl.carousel': $.proxy(function(e) { + if (e.namespace && this._core.settings.autoRefresh) { + this.watch(); + } + }, this) + }; + + // set default options + this._core.options = $.extend({}, AutoRefresh.Defaults, this._core.options); + + // register event handlers + this._core.$element.on(this._handlers); + }; + + /** + * Default options. + * @public + */ + AutoRefresh.Defaults = { + autoRefresh: true, + autoRefreshInterval: 500 + }; + + /** + * Watches the element. + */ + AutoRefresh.prototype.watch = function() { + if (this._interval) { + return; + } + + this._visible = this._core.isVisible(); + this._interval = window.setInterval($.proxy(this.refresh, this), this._core.settings.autoRefreshInterval); + }; + + /** + * Refreshes the element. + */ + AutoRefresh.prototype.refresh = function() { + if (this._core.isVisible() === this._visible) { + return; + } + + this._visible = !this._visible; + + this._core.$element.toggleClass('owl-hidden', !this._visible); + + this._visible && (this._core.invalidate('width') && this._core.refresh()); + }; + + /** + * Destroys the plugin. + */ + AutoRefresh.prototype.destroy = function() { + var handler, property; + + window.clearInterval(this._interval); + + for (handler in this._handlers) { + this._core.$element.off(handler, this._handlers[handler]); + } + for (property in Object.getOwnPropertyNames(this)) { + typeof this[property] != 'function' && (this[property] = null); + } + }; + + $.fn.owlCarousel.Constructor.Plugins.AutoRefresh = AutoRefresh; + +})(window.Zepto || window.jQuery, window, document); + +/** + * Lazy Plugin + * @version 2.3.4 + * @author Bartosz Wojciechowski + * @author David Deutsch + * @license The MIT License (MIT) + */ +;(function($, window, document, undefined) { + + /** + * Creates the lazy plugin. + * @class The Lazy Plugin + * @param {Owl} carousel - The Owl Carousel + */ + var Lazy = function(carousel) { + + /** + * Reference to the core. + * @protected + * @type {Owl} + */ + this._core = carousel; + + /** + * Already loaded items. + * @protected + * @type {Array.} + */ + this._loaded = []; + + /** + * Event handlers. + * @protected + * @type {Object} + */ + this._handlers = { + 'initialized.owl.carousel change.owl.carousel resized.owl.carousel': $.proxy(function(e) { + if (!e.namespace) { + return; + } + + if (!this._core.settings || !this._core.settings.lazyLoad) { + return; + } + + if ((e.property && e.property.name == 'position') || e.type == 'initialized') { + var settings = this._core.settings, + n = (settings.center && Math.ceil(settings.items / 2) || settings.items), + i = ((settings.center && n * -1) || 0), + position = (e.property && e.property.value !== undefined ? e.property.value : this._core.current()) + i, + clones = this._core.clones().length, + load = $.proxy(function(i, v) { this.load(v) }, this); + //TODO: Need documentation for this new option + if (settings.lazyLoadEager > 0) { + n += settings.lazyLoadEager; + // If the carousel is looping also preload images that are to the "left" + if (settings.loop) { + position -= settings.lazyLoadEager; + n++; + } + } + + while (i++ < n) { + this.load(clones / 2 + this._core.relative(position)); + clones && $.each(this._core.clones(this._core.relative(position)), load); + position++; + } + } + }, this) + }; + + // set the default options + this._core.options = $.extend({}, Lazy.Defaults, this._core.options); + + // register event handler + this._core.$element.on(this._handlers); + }; + + /** + * Default options. + * @public + */ + Lazy.Defaults = { + lazyLoad: false, + lazyLoadEager: 0 + }; + + /** + * Loads all resources of an item at the specified position. + * @param {Number} position - The absolute position of the item. + * @protected + */ + Lazy.prototype.load = function(position) { + var $item = this._core.$stage.children().eq(position), + $elements = $item && $item.find('.owl-lazy'); + + if (!$elements || $.inArray($item.get(0), this._loaded) > -1) { + return; + } + + $elements.each($.proxy(function(index, element) { + var $element = $(element), image, + url = (window.devicePixelRatio > 1 && $element.attr('data-src-retina')) || $element.attr('data-src') || $element.attr('data-srcset'); + + this._core.trigger('load', { element: $element, url: url }, 'lazy'); + + if ($element.is('img')) { + $element.one('load.owl.lazy', $.proxy(function() { + $element.css('opacity', 1); + this._core.trigger('loaded', { element: $element, url: url }, 'lazy'); + }, this)).attr('src', url); + } else if ($element.is('source')) { + $element.one('load.owl.lazy', $.proxy(function() { + this._core.trigger('loaded', { element: $element, url: url }, 'lazy'); + }, this)).attr('srcset', url); + } else { + image = new Image(); + image.onload = $.proxy(function() { + $element.css({ + 'background-image': 'url("' + url + '")', + 'opacity': '1' + }); + this._core.trigger('loaded', { element: $element, url: url }, 'lazy'); + }, this); + image.src = url; + } + }, this)); + + this._loaded.push($item.get(0)); + }; + + /** + * Destroys the plugin. + * @public + */ + Lazy.prototype.destroy = function() { + var handler, property; + + for (handler in this.handlers) { + this._core.$element.off(handler, this.handlers[handler]); + } + for (property in Object.getOwnPropertyNames(this)) { + typeof this[property] != 'function' && (this[property] = null); + } + }; + + $.fn.owlCarousel.Constructor.Plugins.Lazy = Lazy; + +})(window.Zepto || window.jQuery, window, document); + +/** + * AutoHeight Plugin + * @version 2.3.4 + * @author Bartosz Wojciechowski + * @author David Deutsch + * @license The MIT License (MIT) + */ +;(function($, window, document, undefined) { + + /** + * Creates the auto height plugin. + * @class The Auto Height Plugin + * @param {Owl} carousel - The Owl Carousel + */ + var AutoHeight = function(carousel) { + /** + * Reference to the core. + * @protected + * @type {Owl} + */ + this._core = carousel; + + this._previousHeight = null; + + /** + * All event handlers. + * @protected + * @type {Object} + */ + this._handlers = { + 'initialized.owl.carousel refreshed.owl.carousel': $.proxy(function(e) { + if (e.namespace && this._core.settings.autoHeight) { + this.update(); + } + }, this), + 'changed.owl.carousel': $.proxy(function(e) { + if (e.namespace && this._core.settings.autoHeight && e.property.name === 'position'){ + this.update(); + } + }, this), + 'loaded.owl.lazy': $.proxy(function(e) { + if (e.namespace && this._core.settings.autoHeight + && e.element.closest('.' + this._core.settings.itemClass).index() === this._core.current()) { + this.update(); + } + }, this) + }; + + // set default options + this._core.options = $.extend({}, AutoHeight.Defaults, this._core.options); + + // register event handlers + this._core.$element.on(this._handlers); + this._intervalId = null; + var refThis = this; + + // These changes have been taken from a PR by gavrochelegnou proposed in #1575 + // and have been made compatible with the latest jQuery version + $(window).on('load', function() { + if (refThis._core.settings.autoHeight) { + refThis.update(); + } + }); + + // Autoresize the height of the carousel when window is resized + // When carousel has images, the height is dependent on the width + // and should also change on resize + $(window).resize(function() { + if (refThis._core.settings.autoHeight) { + if (refThis._intervalId != null) { + clearTimeout(refThis._intervalId); + } + + refThis._intervalId = setTimeout(function() { + refThis.update(); + }, 250); + } + }); + + }; + + /** + * Default options. + * @public + */ + AutoHeight.Defaults = { + autoHeight: false, + autoHeightClass: 'owl-height' + }; + + /** + * Updates the view. + */ + AutoHeight.prototype.update = function() { + var start = this._core._current, + end = start + this._core.settings.items, + lazyLoadEnabled = this._core.settings.lazyLoad, + visible = this._core.$stage.children().toArray().slice(start, end), + heights = [], + maxheight = 0; + + $.each(visible, function(index, item) { + heights.push($(item).height()); + }); + + maxheight = Math.max.apply(null, heights); + + if (maxheight <= 1 && lazyLoadEnabled && this._previousHeight) { + maxheight = this._previousHeight; + } + + this._previousHeight = maxheight; + + this._core.$stage.parent() + .height(maxheight) + .addClass(this._core.settings.autoHeightClass); + }; + + AutoHeight.prototype.destroy = function() { + var handler, property; + + for (handler in this._handlers) { + this._core.$element.off(handler, this._handlers[handler]); + } + for (property in Object.getOwnPropertyNames(this)) { + typeof this[property] !== 'function' && (this[property] = null); + } + }; + + $.fn.owlCarousel.Constructor.Plugins.AutoHeight = AutoHeight; + +})(window.Zepto || window.jQuery, window, document); + +/** + * Video Plugin + * @version 2.3.4 + * @author Bartosz Wojciechowski + * @author David Deutsch + * @license The MIT License (MIT) + */ +;(function($, window, document, undefined) { + + /** + * Creates the video plugin. + * @class The Video Plugin + * @param {Owl} carousel - The Owl Carousel + */ + var Video = function(carousel) { + /** + * Reference to the core. + * @protected + * @type {Owl} + */ + this._core = carousel; + + /** + * Cache all video URLs. + * @protected + * @type {Object} + */ + this._videos = {}; + + /** + * Current playing item. + * @protected + * @type {jQuery} + */ + this._playing = null; + + /** + * All event handlers. + * @todo The cloned content removale is too late + * @protected + * @type {Object} + */ + this._handlers = { + 'initialized.owl.carousel': $.proxy(function(e) { + if (e.namespace) { + this._core.register({ type: 'state', name: 'playing', tags: [ 'interacting' ] }); + } + }, this), + 'resize.owl.carousel': $.proxy(function(e) { + if (e.namespace && this._core.settings.video && this.isInFullScreen()) { + e.preventDefault(); + } + }, this), + 'refreshed.owl.carousel': $.proxy(function(e) { + if (e.namespace && this._core.is('resizing')) { + this._core.$stage.find('.cloned .owl-video-frame').remove(); + } + }, this), + 'changed.owl.carousel': $.proxy(function(e) { + if (e.namespace && e.property.name === 'position' && this._playing) { + this.stop(); + } + }, this), + 'prepared.owl.carousel': $.proxy(function(e) { + if (!e.namespace) { + return; + } + + var $element = $(e.content).find('.owl-video'); + + if ($element.length) { + $element.css('display', 'none'); + this.fetch($element, $(e.content)); + } + }, this) + }; + + // set default options + this._core.options = $.extend({}, Video.Defaults, this._core.options); + + // register event handlers + this._core.$element.on(this._handlers); + + this._core.$element.on('click.owl.video', '.owl-video-play-icon', $.proxy(function(e) { + this.play(e); + }, this)); + }; + + /** + * Default options. + * @public + */ + Video.Defaults = { + video: false, + videoHeight: false, + videoWidth: false + }; + + /** + * Gets the video ID and the type (YouTube/Vimeo/vzaar only). + * @protected + * @param {jQuery} target - The target containing the video data. + * @param {jQuery} item - The item containing the video. + */ + Video.prototype.fetch = function(target, item) { + var type = (function() { + if (target.attr('data-vimeo-id')) { + return 'vimeo'; + } else if (target.attr('data-vzaar-id')) { + return 'vzaar' + } else { + return 'youtube'; + } + })(), + id = target.attr('data-vimeo-id') || target.attr('data-youtube-id') || target.attr('data-vzaar-id'), + width = target.attr('data-width') || this._core.settings.videoWidth, + height = target.attr('data-height') || this._core.settings.videoHeight, + url = target.attr('href'); + + if (url) { + + /* + Parses the id's out of the following urls (and probably more): + https://www.youtube.com/watch?v=:id + https://youtu.be/:id + https://vimeo.com/:id + https://vimeo.com/channels/:channel/:id + https://vimeo.com/groups/:group/videos/:id + https://app.vzaar.com/videos/:id + + Visual example: https://regexper.com/#(http%3A%7Chttps%3A%7C)%5C%2F%5C%2F(player.%7Cwww.%7Capp.)%3F(vimeo%5C.com%7Cyoutu(be%5C.com%7C%5C.be%7Cbe%5C.googleapis%5C.com)%7Cvzaar%5C.com)%5C%2F(video%5C%2F%7Cvideos%5C%2F%7Cembed%5C%2F%7Cchannels%5C%2F.%2B%5C%2F%7Cgroups%5C%2F.%2B%5C%2F%7Cwatch%5C%3Fv%3D%7Cv%5C%2F)%3F(%5BA-Za-z0-9._%25-%5D*)(%5C%26%5CS%2B)%3F + */ + + id = url.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/); + + if (id[3].indexOf('youtu') > -1) { + type = 'youtube'; + } else if (id[3].indexOf('vimeo') > -1) { + type = 'vimeo'; + } else if (id[3].indexOf('vzaar') > -1) { + type = 'vzaar'; + } else { + throw new Error('Video URL not supported.'); + } + id = id[6]; + } else { + throw new Error('Missing video URL.'); + } + + this._videos[url] = { + type: type, + id: id, + width: width, + height: height + }; + + item.attr('data-video', url); + + this.thumbnail(target, this._videos[url]); + }; + + /** + * Creates video thumbnail. + * @protected + * @param {jQuery} target - The target containing the video data. + * @param {Object} info - The video info object. + * @see `fetch` + */ + Video.prototype.thumbnail = function(target, video) { + var tnLink, + icon, + path, + dimensions = video.width && video.height ? 'width:' + video.width + 'px;height:' + video.height + 'px;' : '', + customTn = target.find('img'), + srcType = 'src', + lazyClass = '', + settings = this._core.settings, + create = function(path) { + icon = '
'; + + if (settings.lazyLoad) { + tnLink = $('
',{ + "class": 'owl-video-tn ' + lazyClass, + "srcType": path + }); + } else { + tnLink = $( '
', { + "class": "owl-video-tn", + "style": 'opacity:1;background-image:url(' + path + ')' + }); + } + target.after(tnLink); + target.after(icon); + }; + + // wrap video content into owl-video-wrapper div + target.wrap( $( '
', { + "class": "owl-video-wrapper", + "style": dimensions + })); + + if (this._core.settings.lazyLoad) { + srcType = 'data-src'; + lazyClass = 'owl-lazy'; + } + + // custom thumbnail + if (customTn.length) { + create(customTn.attr(srcType)); + customTn.remove(); + return false; + } + + if (video.type === 'youtube') { + path = "//img.youtube.com/vi/" + video.id + "/hqdefault.jpg"; + create(path); + } else if (video.type === 'vimeo') { + $.ajax({ + type: 'GET', + url: '//vimeo.com/api/v2/video/' + video.id + '.json', + jsonp: 'callback', + dataType: 'jsonp', + success: function(data) { + path = data[0].thumbnail_large; + create(path); + } + }); + } else if (video.type === 'vzaar') { + $.ajax({ + type: 'GET', + url: '//vzaar.com/api/videos/' + video.id + '.json', + jsonp: 'callback', + dataType: 'jsonp', + success: function(data) { + path = data.framegrab_url; + create(path); + } + }); + } + }; + + /** + * Stops the current video. + * @public + */ + Video.prototype.stop = function() { + this._core.trigger('stop', null, 'video'); + this._playing.find('.owl-video-frame').remove(); + this._playing.removeClass('owl-video-playing'); + this._playing = null; + this._core.leave('playing'); + this._core.trigger('stopped', null, 'video'); + }; + + /** + * Starts the current video. + * @public + * @param {Event} event - The event arguments. + */ + Video.prototype.play = function(event) { + var target = $(event.target), + item = target.closest('.' + this._core.settings.itemClass), + video = this._videos[item.attr('data-video')], + width = video.width || '100%', + height = video.height || this._core.$stage.height(), + html, + iframe; + + if (this._playing) { + return; + } + + this._core.enter('playing'); + this._core.trigger('play', null, 'video'); + + item = this._core.items(this._core.relative(item.index())); + + this._core.reset(item.index()); + + html = $( '' ); + html.attr( 'height', height ); + html.attr( 'width', width ); + if (video.type === 'youtube') { + html.attr( 'src', '//www.youtube.com/embed/' + video.id + '?autoplay=1&rel=0&v=' + video.id ); + } else if (video.type === 'vimeo') { + html.attr( 'src', '//player.vimeo.com/video/' + video.id + '?autoplay=1' ); + } else if (video.type === 'vzaar') { + html.attr( 'src', '//view.vzaar.com/' + video.id + '/player?autoplay=true' ); + } + + iframe = $(html).wrap( '
' ).insertAfter(item.find('.owl-video')); + + this._playing = item.addClass('owl-video-playing'); + }; + + /** + * Checks whether an video is currently in full screen mode or not. + * @todo Bad style because looks like a readonly method but changes members. + * @protected + * @returns {Boolean} + */ + Video.prototype.isInFullScreen = function() { + var element = document.fullscreenElement || document.mozFullScreenElement || + document.webkitFullscreenElement; + + return element && $(element).parent().hasClass('owl-video-frame'); + }; + + /** + * Destroys the plugin. + */ + Video.prototype.destroy = function() { + var handler, property; + + this._core.$element.off('click.owl.video'); + + for (handler in this._handlers) { + this._core.$element.off(handler, this._handlers[handler]); + } + for (property in Object.getOwnPropertyNames(this)) { + typeof this[property] != 'function' && (this[property] = null); + } + }; + + $.fn.owlCarousel.Constructor.Plugins.Video = Video; + +})(window.Zepto || window.jQuery, window, document); + +/** + * Animate Plugin + * @version 2.3.4 + * @author Bartosz Wojciechowski + * @author David Deutsch + * @license The MIT License (MIT) + */ +;(function($, window, document, undefined) { + + /** + * Creates the animate plugin. + * @class The Navigation Plugin + * @param {Owl} scope - The Owl Carousel + */ + var Animate = function(scope) { + this.core = scope; + this.core.options = $.extend({}, Animate.Defaults, this.core.options); + this.swapping = true; + this.previous = undefined; + this.next = undefined; + + this.handlers = { + 'change.owl.carousel': $.proxy(function(e) { + if (e.namespace && e.property.name == 'position') { + this.previous = this.core.current(); + this.next = e.property.value; + } + }, this), + 'drag.owl.carousel dragged.owl.carousel translated.owl.carousel': $.proxy(function(e) { + if (e.namespace) { + this.swapping = e.type == 'translated'; + } + }, this), + 'translate.owl.carousel': $.proxy(function(e) { + if (e.namespace && this.swapping && (this.core.options.animateOut || this.core.options.animateIn)) { + this.swap(); + } + }, this) + }; + + this.core.$element.on(this.handlers); + }; + + /** + * Default options. + * @public + */ + Animate.Defaults = { + animateOut: false, + animateIn: false + }; + + /** + * Toggles the animation classes whenever an translations starts. + * @protected + * @returns {Boolean|undefined} + */ + Animate.prototype.swap = function() { + + if (this.core.settings.items !== 1) { + return; + } + + if (!$.support.animation || !$.support.transition) { + return; + } + + this.core.speed(0); + + var left, + clear = $.proxy(this.clear, this), + previous = this.core.$stage.children().eq(this.previous), + next = this.core.$stage.children().eq(this.next), + incoming = this.core.settings.animateIn, + outgoing = this.core.settings.animateOut; + + if (this.core.current() === this.previous) { + return; + } + + if (outgoing) { + left = this.core.coordinates(this.previous) - this.core.coordinates(this.next); + previous.one($.support.animation.end, clear) + .css( { 'left': left + 'px' } ) + .addClass('animated owl-animated-out') + .addClass(outgoing); + } + + if (incoming) { + next.one($.support.animation.end, clear) + .addClass('animated owl-animated-in') + .addClass(incoming); + } + }; + + Animate.prototype.clear = function(e) { + $(e.target).css( { 'left': '' } ) + .removeClass('animated owl-animated-out owl-animated-in') + .removeClass(this.core.settings.animateIn) + .removeClass(this.core.settings.animateOut); + this.core.onTransitionEnd(); + }; + + /** + * Destroys the plugin. + * @public + */ + Animate.prototype.destroy = function() { + var handler, property; + + for (handler in this.handlers) { + this.core.$element.off(handler, this.handlers[handler]); + } + for (property in Object.getOwnPropertyNames(this)) { + typeof this[property] != 'function' && (this[property] = null); + } + }; + + $.fn.owlCarousel.Constructor.Plugins.Animate = Animate; + +})(window.Zepto || window.jQuery, window, document); + +/** + * Autoplay Plugin + * @version 2.3.4 + * @author Bartosz Wojciechowski + * @author Artus Kolanowski + * @author David Deutsch + * @author Tom De Caluwé + * @license The MIT License (MIT) + */ +;(function($, window, document, undefined) { + + /** + * Creates the autoplay plugin. + * @class The Autoplay Plugin + * @param {Owl} scope - The Owl Carousel + */ + var Autoplay = function(carousel) { + /** + * Reference to the core. + * @protected + * @type {Owl} + */ + this._core = carousel; + + /** + * The autoplay timeout id. + * @type {Number} + */ + this._call = null; + + /** + * Depending on the state of the plugin, this variable contains either + * the start time of the timer or the current timer value if it's + * paused. Since we start in a paused state we initialize the timer + * value. + * @type {Number} + */ + this._time = 0; + + /** + * Stores the timeout currently used. + * @type {Number} + */ + this._timeout = 0; + + /** + * Indicates whenever the autoplay is paused. + * @type {Boolean} + */ + this._paused = true; + + /** + * All event handlers. + * @protected + * @type {Object} + */ + this._handlers = { + 'changed.owl.carousel': $.proxy(function(e) { + if (e.namespace && e.property.name === 'settings') { + if (this._core.settings.autoplay) { + this.play(); + } else { + this.stop(); + } + } else if (e.namespace && e.property.name === 'position' && this._paused) { + // Reset the timer. This code is triggered when the position + // of the carousel was changed through user interaction. + this._time = 0; + } + }, this), + 'initialized.owl.carousel': $.proxy(function(e) { + if (e.namespace && this._core.settings.autoplay) { + this.play(); + } + }, this), + 'play.owl.autoplay': $.proxy(function(e, t, s) { + if (e.namespace) { + this.play(t, s); + } + }, this), + 'stop.owl.autoplay': $.proxy(function(e) { + if (e.namespace) { + this.stop(); + } + }, this), + 'mouseover.owl.autoplay': $.proxy(function() { + if (this._core.settings.autoplayHoverPause && this._core.is('rotating')) { + this.pause(); + } + }, this), + 'mouseleave.owl.autoplay': $.proxy(function() { + if (this._core.settings.autoplayHoverPause && this._core.is('rotating')) { + this.play(); + } + }, this), + 'touchstart.owl.core': $.proxy(function() { + if (this._core.settings.autoplayHoverPause && this._core.is('rotating')) { + this.pause(); + } + }, this), + 'touchend.owl.core': $.proxy(function() { + if (this._core.settings.autoplayHoverPause) { + this.play(); + } + }, this) + }; + + // register event handlers + this._core.$element.on(this._handlers); + + // set default options + this._core.options = $.extend({}, Autoplay.Defaults, this._core.options); + }; + + /** + * Default options. + * @public + */ + Autoplay.Defaults = { + autoplay: false, + autoplayTimeout: 5000, + autoplayHoverPause: false, + autoplaySpeed: false + }; + + /** + * Transition to the next slide and set a timeout for the next transition. + * @private + * @param {Number} [speed] - The animation speed for the animations. + */ + Autoplay.prototype._next = function(speed) { + this._call = window.setTimeout( + $.proxy(this._next, this, speed), + this._timeout * (Math.round(this.read() / this._timeout) + 1) - this.read() + ); + + if (this._core.is('interacting') || document.hidden) { + return; + } + this._core.next(speed || this._core.settings.autoplaySpeed); + } + + /** + * Reads the current timer value when the timer is playing. + * @public + */ + Autoplay.prototype.read = function() { + return new Date().getTime() - this._time; + }; + + /** + * Starts the autoplay. + * @public + * @param {Number} [timeout] - The interval before the next animation starts. + * @param {Number} [speed] - The animation speed for the animations. + */ + Autoplay.prototype.play = function(timeout, speed) { + var elapsed; + + if (!this._core.is('rotating')) { + this._core.enter('rotating'); + } + + timeout = timeout || this._core.settings.autoplayTimeout; + + // Calculate the elapsed time since the last transition. If the carousel + // wasn't playing this calculation will yield zero. + elapsed = Math.min(this._time % (this._timeout || timeout), timeout); + + if (this._paused) { + // Start the clock. + this._time = this.read(); + this._paused = false; + } else { + // Clear the active timeout to allow replacement. + window.clearTimeout(this._call); + } + + // Adjust the origin of the timer to match the new timeout value. + this._time += this.read() % timeout - elapsed; + + this._timeout = timeout; + this._call = window.setTimeout($.proxy(this._next, this, speed), timeout - elapsed); + }; + + /** + * Stops the autoplay. + * @public + */ + Autoplay.prototype.stop = function() { + if (this._core.is('rotating')) { + // Reset the clock. + this._time = 0; + this._paused = true; + + window.clearTimeout(this._call); + this._core.leave('rotating'); + } + }; + + /** + * Pauses the autoplay. + * @public + */ + Autoplay.prototype.pause = function() { + if (this._core.is('rotating') && !this._paused) { + // Pause the clock. + this._time = this.read(); + this._paused = true; + + window.clearTimeout(this._call); + } + }; + + /** + * Destroys the plugin. + */ + Autoplay.prototype.destroy = function() { + var handler, property; + + this.stop(); + + for (handler in this._handlers) { + this._core.$element.off(handler, this._handlers[handler]); + } + for (property in Object.getOwnPropertyNames(this)) { + typeof this[property] != 'function' && (this[property] = null); + } + }; + + $.fn.owlCarousel.Constructor.Plugins.autoplay = Autoplay; + +})(window.Zepto || window.jQuery, window, document); + +/** + * Navigation Plugin + * @version 2.3.4 + * @author Artus Kolanowski + * @author David Deutsch + * @license The MIT License (MIT) + */ +;(function($, window, document, undefined) { + 'use strict'; + + /** + * Creates the navigation plugin. + * @class The Navigation Plugin + * @param {Owl} carousel - The Owl Carousel. + */ + var Navigation = function(carousel) { + /** + * Reference to the core. + * @protected + * @type {Owl} + */ + this._core = carousel; + + /** + * Indicates whether the plugin is initialized or not. + * @protected + * @type {Boolean} + */ + this._initialized = false; + + /** + * The current paging indexes. + * @protected + * @type {Array} + */ + this._pages = []; + + /** + * All DOM elements of the user interface. + * @protected + * @type {Object} + */ + this._controls = {}; + + /** + * Markup for an indicator. + * @protected + * @type {Array.} + */ + this._templates = []; + + /** + * The carousel element. + * @type {jQuery} + */ + this.$element = this._core.$element; + + /** + * Overridden methods of the carousel. + * @protected + * @type {Object} + */ + this._overrides = { + next: this._core.next, + prev: this._core.prev, + to: this._core.to + }; + + /** + * All event handlers. + * @protected + * @type {Object} + */ + this._handlers = { + 'prepared.owl.carousel': $.proxy(function(e) { + if (e.namespace && this._core.settings.dotsData) { + this._templates.push('
' + + $(e.content).find('[data-dot]').addBack('[data-dot]').attr('data-dot') + '
'); + } + }, this), + 'added.owl.carousel': $.proxy(function(e) { + if (e.namespace && this._core.settings.dotsData) { + this._templates.splice(e.position, 0, this._templates.pop()); + } + }, this), + 'remove.owl.carousel': $.proxy(function(e) { + if (e.namespace && this._core.settings.dotsData) { + this._templates.splice(e.position, 1); + } + }, this), + 'changed.owl.carousel': $.proxy(function(e) { + if (e.namespace && e.property.name == 'position') { + this.draw(); + } + }, this), + 'initialized.owl.carousel': $.proxy(function(e) { + if (e.namespace && !this._initialized) { + this._core.trigger('initialize', null, 'navigation'); + this.initialize(); + this.update(); + this.draw(); + this._initialized = true; + this._core.trigger('initialized', null, 'navigation'); + } + }, this), + 'refreshed.owl.carousel': $.proxy(function(e) { + if (e.namespace && this._initialized) { + this._core.trigger('refresh', null, 'navigation'); + this.update(); + this.draw(); + this._core.trigger('refreshed', null, 'navigation'); + } + }, this) + }; + + // set default options + this._core.options = $.extend({}, Navigation.Defaults, this._core.options); + + // register event handlers + this.$element.on(this._handlers); + }; + + /** + * Default options. + * @public + * @todo Rename `slideBy` to `navBy` + */ + Navigation.Defaults = { + nav: false, + navText: [ + '', + '' + ], + navSpeed: false, + navElement: 'button type="button" role="presentation"', + navContainer: false, + navContainerClass: 'owl-nav', + navClass: [ + 'owl-prev', + 'owl-next' + ], + slideBy: 1, + dotClass: 'owl-dot', + dotsClass: 'owl-dots', + dots: true, + dotsEach: false, + dotsData: false, + dotsSpeed: false, + dotsContainer: false + }; + + /** + * Initializes the layout of the plugin and extends the carousel. + * @protected + */ + Navigation.prototype.initialize = function() { + var override, + settings = this._core.settings; + + // create DOM structure for relative navigation + this._controls.$relative = (settings.navContainer ? $(settings.navContainer) + : $('
').addClass(settings.navContainerClass).appendTo(this.$element)).addClass('disabled'); + + this._controls.$previous = $('<' + settings.navElement + '>') + .addClass(settings.navClass[0]) + .html(settings.navText[0]) + .prependTo(this._controls.$relative) + .on('click', $.proxy(function(e) { + this.prev(settings.navSpeed); + }, this)); + this._controls.$next = $('<' + settings.navElement + '>') + .addClass(settings.navClass[1]) + .html(settings.navText[1]) + .appendTo(this._controls.$relative) + .on('click', $.proxy(function(e) { + this.next(settings.navSpeed); + }, this)); + + // create DOM structure for absolute navigation + if (!settings.dotsData) { + this._templates = [ $(' +
+ + + + + + + + + + + + + + + Car Types + ir.actions.act_window + car.types + tree,kanban,form + +

+ Create! +

+
+
+ + + \ No newline at end of file diff --git a/theme_autofly/views/contact_us_templates.xml b/theme_autofly/views/contact_us_templates.xml new file mode 100644 index 000000000..8623de452 --- /dev/null +++ b/theme_autofly/views/contact_us_templates.xml @@ -0,0 +1,256 @@ + + + + + + \ No newline at end of file diff --git a/theme_autofly/views/snippets/banner_templates.xml b/theme_autofly/views/snippets/banner_templates.xml new file mode 100644 index 000000000..3facc76ac --- /dev/null +++ b/theme_autofly/views/snippets/banner_templates.xml @@ -0,0 +1,53 @@ + + + + + + + \ No newline at end of file diff --git a/theme_autofly/views/snippets/blog_templates.xml b/theme_autofly/views/snippets/blog_templates.xml new file mode 100644 index 000000000..2363f0ce2 --- /dev/null +++ b/theme_autofly/views/snippets/blog_templates.xml @@ -0,0 +1,17 @@ + + + + + \ No newline at end of file diff --git a/theme_autofly/views/snippets/choose_us_templates.xml b/theme_autofly/views/snippets/choose_us_templates.xml new file mode 100644 index 000000000..fab8351ef --- /dev/null +++ b/theme_autofly/views/snippets/choose_us_templates.xml @@ -0,0 +1,57 @@ + + + + + \ No newline at end of file diff --git a/theme_autofly/views/snippets/find_car_templates.xml b/theme_autofly/views/snippets/find_car_templates.xml new file mode 100644 index 000000000..d9c1f3394 --- /dev/null +++ b/theme_autofly/views/snippets/find_car_templates.xml @@ -0,0 +1,56 @@ + + + + + + + \ No newline at end of file diff --git a/theme_autofly/views/snippets/partners_templates.xml b/theme_autofly/views/snippets/partners_templates.xml new file mode 100644 index 000000000..587b891c2 --- /dev/null +++ b/theme_autofly/views/snippets/partners_templates.xml @@ -0,0 +1,54 @@ + + + + + \ No newline at end of file diff --git a/theme_autofly/views/snippets/popular_model_templates.xml b/theme_autofly/views/snippets/popular_model_templates.xml new file mode 100644 index 000000000..6fceb5622 --- /dev/null +++ b/theme_autofly/views/snippets/popular_model_templates.xml @@ -0,0 +1,93 @@ + + + + + + + \ No newline at end of file diff --git a/theme_autofly/views/snippets/search_templates.xml b/theme_autofly/views/snippets/search_templates.xml new file mode 100644 index 000000000..74dc60810 --- /dev/null +++ b/theme_autofly/views/snippets/search_templates.xml @@ -0,0 +1,93 @@ + + + + + + + \ No newline at end of file diff --git a/theme_autofly/views/snippets/snippet_templates.xml b/theme_autofly/views/snippets/snippet_templates.xml new file mode 100644 index 000000000..1ee0ec0f5 --- /dev/null +++ b/theme_autofly/views/snippets/snippet_templates.xml @@ -0,0 +1,28 @@ + + + + \ No newline at end of file diff --git a/theme_autofly/views/snippets/testimonial_templates.xml b/theme_autofly/views/snippets/testimonial_templates.xml new file mode 100644 index 000000000..801efc3ac --- /dev/null +++ b/theme_autofly/views/snippets/testimonial_templates.xml @@ -0,0 +1,21 @@ + + + + + \ No newline at end of file diff --git a/theme_autofly/views/team_templates.xml b/theme_autofly/views/team_templates.xml new file mode 100644 index 000000000..b1a3e448d --- /dev/null +++ b/theme_autofly/views/team_templates.xml @@ -0,0 +1,190 @@ + + + + + Team + /team + + 31 + + + + \ No newline at end of file diff --git a/theme_autofly/views/testimonial_views.xml b/theme_autofly/views/testimonial_views.xml new file mode 100644 index 000000000..06e26bfc4 --- /dev/null +++ b/theme_autofly/views/testimonial_views.xml @@ -0,0 +1,38 @@ + + + + + autofly.testimonial + + + + + + + + + + autofly.testimonial + +
+ + + + + + + +
+
+
+ + + Testimonials + autofly.testimonial + tree,form + ir.actions.act_window + + + +
\ No newline at end of file