diff --git a/.gitignore b/.gitignore index 894a44c..c184ef1 100644 --- a/.gitignore +++ b/.gitignore @@ -102,3 +102,6 @@ venv.bak/ # mypy .mypy_cache/ + +/config +manage.py \ No newline at end of file diff --git a/.pypirc b/.pypirc new file mode 100644 index 0000000..1809b2c --- /dev/null +++ b/.pypirc @@ -0,0 +1,11 @@ +[distutils] +index-servers= + pypi + testpypi + +[testpypi] +repository: https://test.pypi.org/legacy/ +username: dainiusp + +[pypi] +username: dainiusp \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..766d159 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License + +Copyright (c) 2010-2019 Google, Inc. http://angularjs.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..febb4bf --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,8 @@ +include LICENSE +include requirements.txt +include README.md +recursive-include scrapyd_dash/static * +recursive-include scrapyd_dash/templates * +recursive-include scrapyd_dash/operations * + +recursive-exclude config * \ No newline at end of file diff --git a/README.md b/README.md index f42b233..aa97a62 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,63 @@ -# scrapyd-dash -Scrapyd Dashboard +# Scrapyd Dashboard + +A dashboard specifically used for scrapyd servers to manipulate scrapy spiders (start, stop, check status). + +### Features + +- [x] Scrapyd server status +- [x] Tasks (add, remove, list) +- [x] Authentification (Using the Django authentication system) +- [ ] Scheduled tasks (add, remove, list) +- [ ] Multi user support +- [ ] Task performance details + +### Demo + +[Demo website](https://scrapyddash.herokuapp.com/) + +Username: **demo** + +Password: **demo** + +### Installing + +1. Install the package + +``` +pip install scrapyd_dash +``` + +2. Add urls to your projects urls.py + +``` +from django.urls import include + +urlpatterns = [ + ... + path('scrapyd_dash/', include('scrapyd_dash.urls')), +] + +``` + + +### Built With + +* [Django](https://www.djangoproject.com/) - The web framework used +* [ScrapyD](https://github.com/scrapy/scrapyd) - A service daemon to run Scrapy spiders + +### Authors + +* **Dainius Preimantas** - *Initial work* - [Dainius-P](https://github.com/Dainius-P) + +### Contributing + +1. Fork it +2. Create your feature branch (```git checkout -b feature/fooBar```) +3. Commit your changes (```git commit -am 'Add some fooBar'```) +4. Push to the branch (```git push origin feature/fooBar```) +5. Create a new Pull Request + + +### License + +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..4751e00 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +APScheduler==3.6.0 +Django==2.2.2 +djangorestframework==3.9.4 +requests==2.22.0 \ No newline at end of file diff --git a/scrapyd_dash/__init__.py b/scrapyd_dash/__init__.py new file mode 100644 index 0000000..047a252 --- /dev/null +++ b/scrapyd_dash/__init__.py @@ -0,0 +1,3 @@ +from django.apps import apps as django_apps + +default_app_config = 'scrapyd_dash.apps.ScrapydDashConfig' \ No newline at end of file diff --git a/scrapyd_dash/admin.py b/scrapyd_dash/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/scrapyd_dash/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/scrapyd_dash/apps.py b/scrapyd_dash/apps.py new file mode 100644 index 0000000..bc0fd1b --- /dev/null +++ b/scrapyd_dash/apps.py @@ -0,0 +1,10 @@ +from django.apps import AppConfig + + +class ScrapydDashConfig(AppConfig): + name = 'scrapyd_dash' + verbose_name = "Scrapyd Dashboard" + + def ready(self): + from .utils import updater + updater.start_updater() \ No newline at end of file diff --git a/scrapyd_dash/migrations/0001_initial.py b/scrapyd_dash/migrations/0001_initial.py new file mode 100644 index 0000000..2a7619e --- /dev/null +++ b/scrapyd_dash/migrations/0001_initial.py @@ -0,0 +1,110 @@ +# Generated by Django 2.2.2 on 2019-07-24 11:25 + +import django.core.validators +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='ScheduledTasks', + fields=[ + ('id', models.PositiveIntegerField(primary_key=True, serialize=False)), + ('name', models.CharField(max_length=256, null=True)), + ('create_datetime', models.DateTimeField(auto_now_add=True)), + ('update_datetime', models.DateTimeField(auto_now=True)), + ('project', models.CharField(max_length=256)), + ('spider', models.CharField(max_length=256)), + ('year', models.PositiveIntegerField()), + ('month', models.PositiveIntegerField(validators=[django.core.validators.MaxValueValidator(12)])), + ('day', models.PositiveIntegerField(validators=[django.core.validators.MaxValueValidator(32)])), + ('week', models.PositiveIntegerField()), + ('day_of_week', models.PositiveIntegerField(validators=[django.core.validators.MaxValueValidator(7)])), + ('hour', models.PositiveIntegerField(validators=[django.core.validators.MaxValueValidator(24)])), + ('minute', models.PositiveIntegerField(validators=[django.core.validators.MaxValueValidator(60)])), + ('second', models.PositiveIntegerField(validators=[django.core.validators.MaxValueValidator(60)])), + ('deleted', models.BooleanField(default=False)), + ], + options={ + 'db_table': 'scrapyd_dash_scheduled_tasks', + }, + ), + migrations.CreateModel( + name='ScrapydProject', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(max_length=256)), + ], + options={ + 'db_table': 'scrapyd_dash_projects', + }, + ), + migrations.CreateModel( + name='ScrapydServer', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('ip', models.CharField(max_length=128)), + ('port', models.CharField(max_length=32)), + ('node_name', models.CharField(max_length=256)), + ('status', models.CharField(max_length=64)), + ('status_message', models.CharField(max_length=512, null=True)), + ('pending_tasks', models.PositiveIntegerField(default=0)), + ('finished_tasks', models.PositiveIntegerField(default=0)), + ('running_tasks', models.PositiveIntegerField(default=0)), + ], + options={ + 'db_table': 'scrapyd_dash_servers', + 'ordering': ['-status'], + 'unique_together': {('ip', 'port')}, + }, + ), + migrations.CreateModel( + name='Task', + fields=[ + ('id', models.CharField(max_length=64, primary_key=True, serialize=False)), + ('name', models.CharField(max_length=256)), + ('spider', models.CharField(max_length=256)), + ('status', models.CharField(max_length=64)), + ('pages', models.PositiveIntegerField(null=True)), + ('items', models.PositiveIntegerField(null=True)), + ('pid', models.PositiveIntegerField(null=True)), + ('runtime', models.CharField(blank=True, max_length=64, null=True)), + ('start_datetime', models.DateTimeField(blank=True, null=True)), + ('finished_datetime', models.DateTimeField(blank=True, null=True)), + ('log_href', models.CharField(max_length=1024, null=True)), + ('items_href', models.CharField(max_length=1024, null=True)), + ('create_datetime', models.DateTimeField(auto_now_add=True)), + ('update_datetime', models.DateTimeField(auto_now=True)), + ('deleted', models.BooleanField(default=False)), + ('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='scrapyd_dash.ScrapydProject')), + ('server', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='scrapyd_dash.ScrapydServer')), + ], + options={ + 'db_table': 'scrapyd_dash_tasks', + 'ordering': ['-create_datetime'], + }, + ), + migrations.CreateModel( + name='ScrapydProjectVersion', + fields=[ + ('version', models.CharField(max_length=125, primary_key=True, serialize=False)), + ('project', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='scrapyd_dash.ScrapydProject')), + ], + ), + migrations.AddField( + model_name='scrapydproject', + name='server', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='scrapyd_dash.ScrapydServer'), + ), + migrations.AlterUniqueTogether( + name='scrapydproject', + unique_together={('server', 'name')}, + ), + ] diff --git a/scrapyd_dash/migrations/__init__.py b/scrapyd_dash/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/scrapyd_dash/models.py b/scrapyd_dash/models.py new file mode 100644 index 0000000..3cd4957 --- /dev/null +++ b/scrapyd_dash/models.py @@ -0,0 +1,122 @@ +from django.db import models +from django.core.validators import MaxValueValidator + + +class ScrapydServer(models.Model): + ip = models.CharField(max_length=128, null=False, blank=False) + port = models.CharField(max_length=32, null=False, blank=False) + node_name = models.CharField(max_length=256) + status = models.CharField(max_length=64) + status_message = models.CharField(max_length=512, null=True) + pending_tasks = models.PositiveIntegerField(default=0) + finished_tasks = models.PositiveIntegerField(default=0) + running_tasks = models.PositiveIntegerField(default=0) + + def __str__(self): + return "%s%s" % (self.ip.replace('.', ''), + self.port.replace('.', '')) + + class Meta: + unique_together = (("ip", "port"),) + ordering = ['-status'] + db_table = 'scrapyd_dash_servers' + +class ScrapydProject(models.Model): + server = models.ForeignKey(ScrapydServer, + on_delete=models.CASCADE, + null=False, + blank=False) + name = models.CharField(max_length=256, null=False) + + def __str__(self): + return self.name + + class Meta: + unique_together = (("server", "name"),) + db_table = 'scrapyd_dash_projects' + +class ScrapydProjectVersion(models.Model): + version = models.CharField(primary_key=True, max_length=125) + project = models.ForeignKey(ScrapydProject, + on_delete=models.DO_NOTHING) + + def __str__(self): + return self.version + + +class Task(models.Model): + id = models.CharField(max_length=64, primary_key=True) + name = models.CharField(max_length=256, null=False, blank=False) + + project = models.ForeignKey(ScrapydProject, + on_delete=models.CASCADE, + null=False, + blank=False) + spider = models.CharField(max_length=256, null=False) + status = models.CharField(max_length=64, null=False) + + server = models.ForeignKey(ScrapydServer, + on_delete=models.CASCADE, + null=False, + blank=False) + + pages = models.PositiveIntegerField(null=True) + items = models.PositiveIntegerField(null=True) + pid = models.PositiveIntegerField(null=True) + runtime = models.CharField(max_length=64, null=True, blank=True) + start_datetime = models.DateTimeField(null=True, blank=True) + finished_datetime = models.DateTimeField(null=True, blank=True) + + log_href = models.CharField(max_length=1024, null=True) + items_href = models.CharField(max_length=1024, null=True) + + create_datetime = models.DateTimeField(auto_now_add=True) + update_datetime = models.DateTimeField(auto_now=True) + + deleted = models.BooleanField(null=False, default=False) + stopping = models.BooleanField(null=False, default=False) + + """ + Prints out start datetime in a custom format + """ + def print_start(self): + return self.start_datetime.strftime('%Y-%m-%d %H:%M') + + """ + Prints out finished datetime in a custom format + """ + def print_finish(self): + return self.finished_datetime.strftime('%Y-%m-%d %H:%M') + + class Meta: + ordering = ['-create_datetime'] + db_table = 'scrapyd_dash_tasks' + +class ScheduledTasks(models.Model): + id = models.PositiveIntegerField(primary_key=True) + name = models.CharField(max_length=256, null=True) + create_datetime = models.DateTimeField(auto_now_add=True) + update_datetime = models.DateTimeField(auto_now=True) + + project = models.CharField(max_length=256, null=False) + spider = models.CharField(max_length=256, null=False) + + year = models.PositiveIntegerField(null=False) + month = models.PositiveIntegerField(null=False, + validators=[MaxValueValidator(12)]) + day = models.PositiveIntegerField(null=False, + validators=[MaxValueValidator(32)]) + week = models.PositiveIntegerField(null=False) + day_of_week = models.PositiveIntegerField(null=False, + validators=[MaxValueValidator(7)]) + hour = models.PositiveIntegerField(null=False, + validators=[MaxValueValidator(24)]) + minute = models.PositiveIntegerField(null=False, + validators=[MaxValueValidator(60)]) + second = models.PositiveIntegerField(null=False, + validators=[MaxValueValidator(60)]) + + deleted = models.BooleanField(null=False, default=False) + + class Meta: + db_table = 'scrapyd_dash_scheduled_tasks' \ No newline at end of file diff --git a/scrapyd_dash/operations/check_servers.py b/scrapyd_dash/operations/check_servers.py new file mode 100644 index 0000000..4070bee --- /dev/null +++ b/scrapyd_dash/operations/check_servers.py @@ -0,0 +1,62 @@ +from ..models import ScrapydServer +from concurrent.futures import ThreadPoolExecutor +import json +import requests +import asyncio + +""" +Check scrapyd servers status, tasks running/pending/finished etc. +and saves the data to the database +""" +def update_servers(): + """ + Gets server list from the database + """ + servers = ScrapydServer.objects.all() + + """ + Creates events for each server + """ + loop = asyncio.new_event_loop(); + asyncio.set_event_loop(loop) + future = asyncio.ensure_future(check_servers(servers)) + loop.run_until_complete(future) + +def check_server(session, server): + url = "http://{}:{}/daemonstatus.json".format(server.ip, server.port) + + try: + with session.get(url, timeout=2) as response: + data = response.json() + + server.node_name = data.get("node_name") + server.status = data.get("status") + server.pending_tasks = data.get("pending") + server.running_tasks = data.get("running") + server.finished_tasks = data.get("finished") + + server.save() + + except Exception as e: + server.status = "error" + server.status_message = e + + server.save() + +async def check_servers(servers): + with ThreadPoolExecutor(max_workers=10) as executor: + with requests.Session() as session: + # Initialize the event loop + loop = asyncio.get_event_loop() + + tasks = [ + loop.run_in_executor( + executor, + check_server, #function + *(session, server) # arguments + ) + for server in servers + ] + + for response in await asyncio.gather(*tasks): + pass \ No newline at end of file diff --git a/scrapyd_dash/operations/get_log.py b/scrapyd_dash/operations/get_log.py new file mode 100644 index 0000000..313aa5b --- /dev/null +++ b/scrapyd_dash/operations/get_log.py @@ -0,0 +1,13 @@ +import requests +import json + +""" +Gets more detailed logs +""" +def get_log(href): + timeout = 5 + try: + with requests.get(href, timeout=timeout) as r: + return r.json() + except: + raise Exception("LogParser server does not respond") \ No newline at end of file diff --git a/scrapyd_dash/operations/projects_delete.py b/scrapyd_dash/operations/projects_delete.py new file mode 100644 index 0000000..1588653 --- /dev/null +++ b/scrapyd_dash/operations/projects_delete.py @@ -0,0 +1,19 @@ +import requests + +""" +Delete a project and all its uploaded versions. +""" +def delete_project(server, project): + url = "http://{}/delproject.json".format(server) + + data = { + "project": project + } + + with requests.Session() as session: + try: + r = session.post(url, data=data) + except: + return None + + return r.json() diff --git a/scrapyd_dash/operations/projects_list.py b/scrapyd_dash/operations/projects_list.py new file mode 100644 index 0000000..d17be9b --- /dev/null +++ b/scrapyd_dash/operations/projects_list.py @@ -0,0 +1,68 @@ +from concurrent.futures import ThreadPoolExecutor +from ..models import (ScrapydServer, + ScrapydProject, + ScrapydProjectVersion) + +from .versions_list import versions_list +import json +import requests +import asyncio + +""" +Gets list of projects inside a specific scrapyd server + +-server = ip:port +""" +def projects_list(session, server): + full_url = "http://{}:{}/listprojects.json".format(server.ip, + server.port) + timeout = 5 + + try: + with session.get(full_url, timeout=timeout) as response: + data = json.loads(response.text) + + for project in data.get("projects", []): + proj = ScrapydProject.objects.update_or_create( + server=server, + name=project + ) + + versions = versions_list(server, project) + for ver in versions: + ScrapydProjectVersion.objects.create( + version=ver, + project=proj + ) + + except Exception as e: + print(e) + +async def check_projects(servers): + with ThreadPoolExecutor(max_workers=10) as executor: + with requests.Session() as session: + # Initialize the event loop + loop = asyncio.get_event_loop() + + tasks = [ + loop.run_in_executor( + executor, + projects_list, #function + *(session, server) # arguments + ) + for server in servers + ] + + for response in await asyncio.gather(*tasks): + pass + +def update_projects(): + servers = ScrapydServer.objects.filter(status="ok") + + """ + Creates events for each server + """ + loop = asyncio.new_event_loop(); + asyncio.set_event_loop(loop) + future = asyncio.ensure_future(check_projects(servers)) + loop.run_until_complete(future) \ No newline at end of file diff --git a/scrapyd_dash/operations/spiders_list.py b/scrapyd_dash/operations/spiders_list.py new file mode 100644 index 0000000..c2493a0 --- /dev/null +++ b/scrapyd_dash/operations/spiders_list.py @@ -0,0 +1,24 @@ +import requests +import json + +""" +Gets spiders list from specific scrapyd server and specific project + +-server = ip:port +-project = project name +""" +def spiders_list(server, project="default"): + full_url = "http://{}:{}/listspiders.json?project={}".format(server.ip, + server.port, + project) + timeout = 5 + + with requests.Session() as session: + try: + r = session.get(full_url, timeout=timeout) + except: + return None + + data = json.loads(r.text) + + return data.get("spiders", []) \ No newline at end of file diff --git a/scrapyd_dash/operations/tasks_add.py b/scrapyd_dash/operations/tasks_add.py new file mode 100644 index 0000000..6c6894b --- /dev/null +++ b/scrapyd_dash/operations/tasks_add.py @@ -0,0 +1,25 @@ +import requests + +""" +Scheduls a task to run +""" +def add_task(project, spider, server, version=None, **kwargs): + url = "http://{}:{}/schedule.json".format(server.ip, server.port) + + data = { + "project": project.name, + "spider": spider + } + + if version: + data['_version'] = version.version + + data_merged = {**data, **kwargs} + + with requests.Session() as session: + try: + r = session.post(url, data=data_merged) + except: + return None + + return r.json() \ No newline at end of file diff --git a/scrapyd_dash/operations/tasks_cancel.py b/scrapyd_dash/operations/tasks_cancel.py new file mode 100644 index 0000000..1e35f87 --- /dev/null +++ b/scrapyd_dash/operations/tasks_cancel.py @@ -0,0 +1,23 @@ +import requests + +""" +Cancel a spider run (aka. task). +If the task is pending, it will be removed. +If the task is running, it will be terminated. +""" +def cancel_task(server, project, task_id): + url = "http://{}:{}/cancel.json".format(server.ip, + server.port) + + data = { + "project": project.name, + "job": task_id + } + + with requests.Session() as session: + try: + r = session.post(url, data=data) + except: + return None + + return r.json() \ No newline at end of file diff --git a/scrapyd_dash/operations/tasks_list.py b/scrapyd_dash/operations/tasks_list.py new file mode 100644 index 0000000..cd842d5 --- /dev/null +++ b/scrapyd_dash/operations/tasks_list.py @@ -0,0 +1,114 @@ +from concurrent.futures import ThreadPoolExecutor +import requests +import json +import asyncio +import datetime +from datetime import datetime +import time + +from ..models import Task, ScrapydServer, ScrapydProject +from .projects_list import projects_list + +""" +Gets list of tasks that are running/pending/finished +from a specific scrapyd server and project + +-server = ip:port +-project = project name +""" +def tasks_list(session, server, project): + full_url = "http://{}:{}/listjobs.json?project={}".format(server.ip, + server.port, + project.name) + + timeout = 5 + tasks = [] + status = ["finished", "pending", "running"] + + try: + with session.get(full_url, timeout=timeout) as response: + data = json.loads(response.text) + + for s in status: + tasks.append( + { + "status": s, + "tasks": data.get(s, []), + "project": project, + "server": server + } + ) + + save_tasks(tasks) + except Exception as e: + print(e) + +def save_tasks(tasks): + for task in tasks: + for j in task["tasks"]: + start_time = j.get("start_time", datetime.now()) + end_time = j.get("end_time") + start_date = datetime.strptime(start_time, '%Y-%m-%d %H:%M:%S.%f') + if j.get("end_time"): + end_date = datetime.strptime(end_time,'%Y-%m-%d %H:%M:%S.%f') + runtime = end_date - start_date + else: + runtime = datetime.now() - start_date + + log_href = "http://{}:{}/logs/{}/{}/{}.json".format( + task.get("server").ip, + task.get("server").port, + task.get("project").name, + j.get("spider"), + j.get("id") + ) + + Task.objects.update_or_create( + id=j.get("id"), + defaults={ + "name": j.get("name", "default"), + "status": task.get("status"), + "server": task.get("server"), + "project": task.get("project"), + "spider": j.get("spider"), + "start_datetime": start_time, + "finished_datetime": end_time, + "runtime": str(runtime).split('.')[0], + "log_href": log_href + } + ) + +async def iterate_projects(server): + projects = ScrapydProject.objects.filter(server=server) + + with ThreadPoolExecutor(max_workers=10) as executor: + with requests.Session() as session: + loop = asyncio.get_event_loop() + + tasks = [ + loop.run_in_executor( + executor, + tasks_list, #function + *(session, server, project) # arguments + ) + for project in projects + ] + + for response in await asyncio.gather(*tasks): + pass + +async def check_servers(servers): + with ThreadPoolExecutor(max_workers=10) as executor: + loop = asyncio.get_event_loop() + + for server in servers: + d = await iterate_projects(server) + +def update_tasks(): + servers = ScrapydServer.objects.filter(status="ok") + + loop = asyncio.new_event_loop(); + asyncio.set_event_loop(loop) + future = asyncio.ensure_future(check_servers(servers)) + loop.run_until_complete(future) + diff --git a/scrapyd_dash/operations/versions_add.py b/scrapyd_dash/operations/versions_add.py new file mode 100644 index 0000000..5652f9a --- /dev/null +++ b/scrapyd_dash/operations/versions_add.py @@ -0,0 +1,26 @@ +import requests + +""" +Add a version to a specific scrapyd server + +-server = ip:port +-project = project name +-version = version name +-egg = egg name +""" +def add_version(server, project, version, egg): + url = "http://{}/addversion.json".format(server) + + data = { + "project": project, + "version": version, + "egg": egg + } + + with requests.Session() as session: + try: + r = session.post(url, data=data) + except: + return None + + return r.json() diff --git a/scrapyd_dash/operations/versions_delete.py b/scrapyd_dash/operations/versions_delete.py new file mode 100644 index 0000000..4453668 --- /dev/null +++ b/scrapyd_dash/operations/versions_delete.py @@ -0,0 +1,21 @@ +import requests + +""" +Delete a project version. +If there are no more versions available for a given project, that project will be deleted too. +""" +def delete_version(server, project, version): + url = "http://{}/delversion.json".format(server) + + data = { + "project": project, + "version": version + } + + with requests.Session() as session: + try: + r = session.post(url, data=data) + except: + return None + + return r.json() diff --git a/scrapyd_dash/operations/versions_list.py b/scrapyd_dash/operations/versions_list.py new file mode 100644 index 0000000..ba2aa5d --- /dev/null +++ b/scrapyd_dash/operations/versions_list.py @@ -0,0 +1,25 @@ +import requests +import json + +""" +Gets list of versions from a specific scrapyd server +and specific project + +-server = ip:port +-project = project name +""" +def versions_list(server, project="default"): + full_url = "http://{}:{}/listversions.json?project={}".format(server.ip, + server.port, + project) + timeout = 5 + + with requests.Session() as session: + try: + r = session.get(full_url, timeout=timeout) + except: + return None + + data = json.loads(r.text) + + return data.get("versions", []) diff --git a/scrapyd_dash/serializers.py b/scrapyd_dash/serializers.py new file mode 100644 index 0000000..43a7480 --- /dev/null +++ b/scrapyd_dash/serializers.py @@ -0,0 +1,12 @@ +from rest_framework import serializers +from .models import ScrapydProject, ScrapydProjectVersion + +class ScrapyProjectSerializer(serializers.ModelSerializer): + class Meta: + model = ScrapydProject + fields = ('name','server','pk') + +class ScrapyProjectVersionSerializer(serializers.ModelSerializer): + class Meta: + model = ScrapydProjectVersion + fiels = ('version',) \ No newline at end of file diff --git a/scrapyd_dash/static/css/style.css b/scrapyd_dash/static/css/style.css new file mode 100755 index 0000000..21fc349 --- /dev/null +++ b/scrapyd_dash/static/css/style.css @@ -0,0 +1,2461 @@ +/* This css file is to over write bootstrap css +--------------------------------------------------------- / +* Theme Name: Sufee-Admin Admin Template +* Theme URI: http://demos.jeweltheme.com/Sufee-Admin/ +* Author: jewel_theme +* Author URI: http://themeforest.net/user/jewel_theme/portfolio +* Description: +* Version: 1.0.0 +* License: GNU General Public License v2 or later +* License URI: http://www.gnu.org/licenses/gpl-2.0.html +* Tags: html, themplate, Sufee-Admin +--------------------------------------------------------- */ +/* Bootstrap */ +@charset "UTF-8"; + +/*! + * animate.css -http://daneden.me/animate + * Version - 3.7.0 + * Licensed under the MIT license - http://opensource.org/licenses/MIT + * + * Copyright (c) 2018 Daniel Eden + */ + +@-webkit-keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}@keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}.bounce{-webkit-animation-name:bounce;-webkit-transform-origin:center bottom;animation-name:bounce;-ms-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,to{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}25%,75%{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}}@keyframes flash{0%,50%,to{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}25%,75%{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shake{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shake{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.shake{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes headShake{0%{-webkit-transform:translateX(0);transform:translateX(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translateX(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translateX(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translateX(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translateX(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes headShake{0%{-webkit-transform:translateX(0);transform:translateX(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translateX(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translateX(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translateX(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translateX(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translateX(0)}}.headShake{-webkit-animation-name:headShake;-webkit-animation-timing-function:ease-in-out;animation-name:headShake;animation-timing-function:ease-in-out}@-webkit-keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}.swing{-webkit-animation-name:swing;-webkit-transform-origin:top center;animation-name:swing;-ms-transform-origin:top center;transform-origin:top center}@-webkit-keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skewX(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skewX(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skewX(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skewX(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skewX(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skewX(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skewX(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skewX(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skewX(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skewX(-.1953125deg) skewY(-.1953125deg)}}.jello{-webkit-animation-name:jello;-webkit-transform-origin:center;animation-name:jello;-ms-transform-origin:center;transform-origin:center}@-webkit-keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}.heartBeat{-webkit-animation-duration:1.3s;-webkit-animation-name:heartBeat;-webkit-animation-timing-function:ease-in-out;animation-duration:1.3s;animation-name:heartBeat;animation-timing-function:ease-in-out}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.3,.3,.3);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{-webkit-transform:scale3d(1.03,1.03,1.03);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{-webkit-transform:scaleX(1);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scaleX(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.3,.3,.3);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{-webkit-transform:scale3d(1.03,1.03,1.03);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{-webkit-transform:scaleX(1);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scaleX(1)}}.bounceIn{-webkit-animation-duration:.75s;-webkit-animation-name:bounceIn;animation-duration:.75s;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:translate3d(0,-3000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,-3000px,0)}60%{-webkit-transform:translate3d(0,25px,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:translate3d(0,-3000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,-3000px,0)}60%{-webkit-transform:translate3d(0,25px,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:translate3d(-3000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(-3000px,0,0)}60%{-webkit-transform:translate3d(25px,0,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:translate3d(-3000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(-3000px,0,0)}60%{-webkit-transform:translate3d(25px,0,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:translate3d(3000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(3000px,0,0)}60%{-webkit-transform:translate3d(-25px,0,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:translate3d(3000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(3000px,0,0)}60%{-webkit-transform:translate3d(-25px,0,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:translate3d(0,3000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,3000px,0)}60%{-webkit-transform:translate3d(0,-20px,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:translate3d(0,3000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,3000px,0)}60%{-webkit-transform:translate3d(0,-20px,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{-webkit-transform:scale3d(1.1,1.1,1.1);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(1.1,1.1,1.1)}to{-webkit-transform:scale3d(.3,.3,.3);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{-webkit-transform:scale3d(1.1,1.1,1.1);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(1.1,1.1,1.1)}to{-webkit-transform:scale3d(.3,.3,.3);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.3,.3,.3)}}.bounceOut{-webkit-animation-duration:.75s;-webkit-animation-name:bounceOut;animation-duration:.75s;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{-webkit-transform:translate3d(0,-20px,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(0,-20px,0)}to{-webkit-transform:translate3d(0,2000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,2000px,0)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{-webkit-transform:translate3d(0,-20px,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(0,-20px,0)}to{-webkit-transform:translate3d(0,2000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,2000px,0)}}.bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{-webkit-transform:translate3d(20px,0,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(20px,0,0)}to{-webkit-transform:translate3d(-2000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(-2000px,0,0)}}@keyframes bounceOutLeft{20%{-webkit-transform:translate3d(20px,0,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(20px,0,0)}to{-webkit-transform:translate3d(-2000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(-2000px,0,0)}}.bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{-webkit-transform:translate3d(-20px,0,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(-20px,0,0)}to{-webkit-transform:translate3d(2000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(2000px,0,0)}}@keyframes bounceOutRight{20%{-webkit-transform:translate3d(-20px,0,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(-20px,0,0)}to{-webkit-transform:translate3d(2000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(2000px,0,0)}}.bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{-webkit-transform:translate3d(0,20px,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(0,20px,0)}to{-webkit-transform:translate3d(0,-2000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,-2000px,0)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{-webkit-transform:translate3d(0,20px,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translate3d(0,20px,0)}to{-webkit-transform:translate3d(0,-2000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,-2000px,0)}}.bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}to{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}}@keyframes fadeIn{0%{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}to{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{-webkit-transform:translate3d(0,-100%,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,-100%,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}@keyframes fadeInDown{0%{-webkit-transform:translate3d(0,-100%,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,-100%,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{-webkit-transform:translate3d(0,-2000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,-2000px,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}@keyframes fadeInDownBig{0%{-webkit-transform:translate3d(0,-2000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,-2000px,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}.fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{-webkit-transform:translate3d(-100%,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(-100%,0,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}@keyframes fadeInLeft{0%{-webkit-transform:translate3d(-100%,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(-100%,0,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{-webkit-transform:translate3d(-2000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(-2000px,0,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{-webkit-transform:translate3d(-2000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(-2000px,0,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}.fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{-webkit-transform:translate3d(100%,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(100%,0,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}@keyframes fadeInRight{0%{-webkit-transform:translate3d(100%,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(100%,0,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{-webkit-transform:translate3d(2000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(2000px,0,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}@keyframes fadeInRightBig{0%{-webkit-transform:translate3d(2000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(2000px,0,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}.fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{-webkit-transform:translate3d(0,100%,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,100%,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}@keyframes fadeInUp{0%{-webkit-transform:translate3d(0,100%,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,100%,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{-webkit-transform:translate3d(0,2000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,2000px,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}@keyframes fadeInUpBig{0%{-webkit-transform:translate3d(0,2000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,2000px,0)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeOut{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}}@keyframes fadeOut{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}}.fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(0,100%,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(0,100%,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,100%,0)}}.fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(0,2000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(0,2000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,2000px,0)}}.fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(-100%,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(-100%,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(-100%,0,0)}}.fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(-2000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(-2000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(-2000px,0,0)}}.fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(100%,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(100%,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(100%,0,0)}}.fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(2000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(2000px,0,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(2000px,0,0)}}.fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(0,-100%,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(0,-100%,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,-100%,0)}}.fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(0,-2000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(0,-2000px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,-2000px,0)}}.fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes flip{0%{-webkit-animation-timing-function:ease-out;-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);animation-timing-function:ease-out;transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn)}40%{-webkit-animation-timing-function:ease-out;-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out;transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg)}50%{-webkit-animation-timing-function:ease-in;-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in;transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg)}80%{-webkit-animation-timing-function:ease-in;-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);animation-timing-function:ease-in;transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg)}to{-webkit-animation-timing-function:ease-in;-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);animation-timing-function:ease-in;transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg)}}@keyframes flip{0%{-webkit-animation-timing-function:ease-out;-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);animation-timing-function:ease-out;transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn)}40%{-webkit-animation-timing-function:ease-out;-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out;transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg)}50%{-webkit-animation-timing-function:ease-in;-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in;transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg)}80%{-webkit-animation-timing-function:ease-in;-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);animation-timing-function:ease-in;transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg)}to{-webkit-animation-timing-function:ease-in;-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);animation-timing-function:ease-in;transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg)}}.animated.flip{-webkit-animation-name:flip;-webkit-backface-visibility:visible;animation-name:flip;backface-visibility:visible}@-webkit-keyframes flipInX{0%{-webkit-animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:perspective(400px) rotateX(90deg)}40%{-webkit-animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in;transform:perspective(400px) rotateX(-20deg)}60%{-webkit-transform:perspective(400px) rotateX(10deg);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:perspective(400px) rotateX(10deg)}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:perspective(400px) rotateX(90deg)}40%{-webkit-animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in;transform:perspective(400px) rotateX(-20deg)}60%{-webkit-transform:perspective(400px) rotateX(10deg);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:perspective(400px) rotateX(10deg)}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInX{-webkit-animation-name:flipInX;-webkit-backface-visibility:visible!important;animation-name:flipInX;backface-visibility:visible!important}@-webkit-keyframes flipInY{0%{-webkit-animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:perspective(400px) rotateY(90deg)}40%{-webkit-animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in;transform:perspective(400px) rotateY(-20deg)}60%{-webkit-transform:perspective(400px) rotateY(10deg);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:perspective(400px) rotateY(10deg)}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:perspective(400px) rotateY(90deg)}40%{-webkit-animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in;transform:perspective(400px) rotateY(-20deg)}60%{-webkit-transform:perspective(400px) rotateY(10deg);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:perspective(400px) rotateY(10deg)}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInY{-webkit-animation-name:flipInY;-webkit-backface-visibility:visible!important;animation-name:flipInY;backface-visibility:visible!important}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:perspective(400px) rotateX(-20deg)}to{-webkit-transform:perspective(400px) rotateX(90deg);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:perspective(400px) rotateX(90deg)}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:perspective(400px) rotateX(-20deg)}to{-webkit-transform:perspective(400px) rotateX(90deg);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:perspective(400px) rotateX(90deg)}}.flipOutX{-webkit-animation-duration:.75s;-webkit-animation-name:flipOutX;-webkit-backface-visibility:visible!important;animation-duration:.75s;animation-name:flipOutX;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:perspective(400px) rotateY(-15deg)}to{-webkit-transform:perspective(400px) rotateY(90deg);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:perspective(400px) rotateY(90deg)}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:perspective(400px) rotateY(-15deg)}to{-webkit-transform:perspective(400px) rotateY(90deg);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:perspective(400px) rotateY(90deg)}}.flipOutY{-webkit-animation-duration:.75s;-webkit-animation-name:flipOutY;-webkit-backface-visibility:visible!important;animation-duration:.75s;animation-name:flipOutY;backface-visibility:visible!important}@-webkit-keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(100%,0,0) skewX(-30deg)}60%{-webkit-transform:skewX(20deg);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:skewX(20deg)}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(100%,0,0) skewX(-30deg)}60%{-webkit-transform:skewX(20deg);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:skewX(20deg)}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.lightSpeedIn{-webkit-animation-name:lightSpeedIn;-webkit-animation-timing-function:ease-out;animation-name:lightSpeedIn;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOut{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(100%,0,0) skewX(30deg)}}@keyframes lightSpeedOut{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(100%,0,0) skewX(30deg)}}.lightSpeedOut{-webkit-animation-name:lightSpeedOut;-webkit-animation-timing-function:ease-in;animation-name:lightSpeedOut;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate(-200deg);-webkit-transform-origin:center;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(-200deg);transform-origin:center}to{-webkit-transform:translateZ(0);-webkit-transform-origin:center;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0);transform-origin:center}}@keyframes rotateIn{0%{-webkit-transform:rotate(-200deg);-webkit-transform-origin:center;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(-200deg);transform-origin:center}to{-webkit-transform:translateZ(0);-webkit-transform-origin:center;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0);transform-origin:center}}.rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate(-45deg);-webkit-transform-origin:left bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(-45deg);transform-origin:left bottom}to{-webkit-transform:translateZ(0);-webkit-transform-origin:left bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0);transform-origin:left bottom}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate(-45deg);-webkit-transform-origin:left bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(-45deg);transform-origin:left bottom}to{-webkit-transform:translateZ(0);-webkit-transform-origin:left bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0);transform-origin:left bottom}}.rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate(45deg);-webkit-transform-origin:right bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(45deg);transform-origin:right bottom}to{-webkit-transform:translateZ(0);-webkit-transform-origin:right bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0);transform-origin:right bottom}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate(45deg);-webkit-transform-origin:right bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(45deg);transform-origin:right bottom}to{-webkit-transform:translateZ(0);-webkit-transform-origin:right bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0);transform-origin:right bottom}}.rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate(45deg);-webkit-transform-origin:left bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(45deg);transform-origin:left bottom}to{-webkit-transform:translateZ(0);-webkit-transform-origin:left bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0);transform-origin:left bottom}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate(45deg);-webkit-transform-origin:left bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(45deg);transform-origin:left bottom}to{-webkit-transform:translateZ(0);-webkit-transform-origin:left bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0);transform-origin:left bottom}}.rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate(-90deg);-webkit-transform-origin:right bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(-90deg);transform-origin:right bottom}to{-webkit-transform:translateZ(0);-webkit-transform-origin:right bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0);transform-origin:right bottom}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate(-90deg);-webkit-transform-origin:right bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(-90deg);transform-origin:right bottom}to{-webkit-transform:translateZ(0);-webkit-transform-origin:right bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0);transform-origin:right bottom}}.rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight}@-webkit-keyframes rotateOut{0%{-webkit-transform-origin:center;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform-origin:center}to{-webkit-transform:rotate(200deg);-webkit-transform-origin:center;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(200deg);transform-origin:center}}@keyframes rotateOut{0%{-webkit-transform-origin:center;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform-origin:center}to{-webkit-transform:rotate(200deg);-webkit-transform-origin:center;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(200deg);transform-origin:center}}.rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut}@-webkit-keyframes rotateOutDownLeft{0%{-webkit-transform-origin:left bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform-origin:left bottom}to{-webkit-transform:rotate(45deg);-webkit-transform-origin:left bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(45deg);transform-origin:left bottom}}@keyframes rotateOutDownLeft{0%{-webkit-transform-origin:left bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform-origin:left bottom}to{-webkit-transform:rotate(45deg);-webkit-transform-origin:left bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(45deg);transform-origin:left bottom}}.rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft}@-webkit-keyframes rotateOutDownRight{0%{-webkit-transform-origin:right bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform-origin:right bottom}to{-webkit-transform:rotate(-45deg);-webkit-transform-origin:right bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(-45deg);transform-origin:right bottom}}@keyframes rotateOutDownRight{0%{-webkit-transform-origin:right bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform-origin:right bottom}to{-webkit-transform:rotate(-45deg);-webkit-transform-origin:right bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(-45deg);transform-origin:right bottom}}.rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight}@-webkit-keyframes rotateOutUpLeft{0%{-webkit-transform-origin:left bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform-origin:left bottom}to{-webkit-transform:rotate(-45deg);-webkit-transform-origin:left bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(-45deg);transform-origin:left bottom}}@keyframes rotateOutUpLeft{0%{-webkit-transform-origin:left bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform-origin:left bottom}to{-webkit-transform:rotate(-45deg);-webkit-transform-origin:left bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(-45deg);transform-origin:left bottom}}.rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft}@-webkit-keyframes rotateOutUpRight{0%{-webkit-transform-origin:right bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform-origin:right bottom}to{-webkit-transform:rotate(90deg);-webkit-transform-origin:right bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(90deg);transform-origin:right bottom}}@keyframes rotateOutUpRight{0%{-webkit-transform-origin:right bottom;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform-origin:right bottom}to{-webkit-transform:rotate(90deg);-webkit-transform-origin:right bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:rotate(90deg);transform-origin:right bottom}}.rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;-webkit-transform-origin:top left;animation-timing-function:ease-in-out;transform-origin:top left}20%,60%{-webkit-animation-timing-function:ease-in-out;-webkit-transform:rotate(80deg);-webkit-transform-origin:top left;animation-timing-function:ease-in-out;transform:rotate(80deg);transform-origin:top left}40%,80%{-webkit-animation-timing-function:ease-in-out;-webkit-transform:rotate(60deg);-webkit-transform-origin:top left;animation-timing-function:ease-in-out;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:rotate(60deg);transform-origin:top left}to{-webkit-transform:translate3d(0,700px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,700px,0)}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;-webkit-transform-origin:top left;animation-timing-function:ease-in-out;transform-origin:top left}20%,60%{-webkit-animation-timing-function:ease-in-out;-webkit-transform:rotate(80deg);-webkit-transform-origin:top left;animation-timing-function:ease-in-out;transform:rotate(80deg);transform-origin:top left}40%,80%{-webkit-animation-timing-function:ease-in-out;-webkit-transform:rotate(60deg);-webkit-transform-origin:top left;animation-timing-function:ease-in-out;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:rotate(60deg);transform-origin:top left}to{-webkit-transform:translate3d(0,700px,0);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(0,700px,0)}}.hinge{-webkit-animation-duration:2s;-webkit-animation-name:hinge;animation-duration:2s;animation-name:hinge}@-webkit-keyframes jackInTheBox{0%{-webkit-transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{-webkit-transform:scale(1);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale(1)}}@keyframes jackInTheBox{0%{-webkit-transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{-webkit-transform:scale(1);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale(1)}}.jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(-100%,0,0) rotate(-120deg)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}@keyframes rollIn{0%{-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(-100%,0,0) rotate(-120deg)}to{-webkit-transform:translateZ(0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:translateZ(0)}}.rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(100%,0,0) rotate(120deg);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(100%,0,0) rotate(120deg)}}@keyframes rollOut{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}to{-webkit-transform:translate3d(100%,0,0) rotate(120deg);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:translate3d(100%,0,0) rotate(120deg)}}.rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{-webkit-transform:scale3d(.3,.3,.3);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.3,.3,.3)}50%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}}@keyframes zoomIn{0%{-webkit-transform:scale3d(.3,.3,.3);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.3,.3,.3)}50%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(0,60px,0)}}@keyframes zoomInDown{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(0,60px,0)}}.zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(10px,0,0)}}@keyframes zoomInLeft{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(10px,0,0)}}.zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.1,.1,.1) translate3d(1000px,0,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(-10px,0,0)}}@keyframes zoomInRight{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.1,.1,.1) translate3d(1000px,0,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(-10px,0,0)}}.zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.1,.1,.1) translate3d(0,1000px,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(0,-60px,0)}}@keyframes zoomInUp{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.1,.1,.1) translate3d(0,1000px,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(0,-60px,0)}}.zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}50%{-webkit-transform:scale3d(.3,.3,.3);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.3,.3,.3)}to{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}}@keyframes zoomOut{0%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}50%{-webkit-transform:scale3d(.3,.3,.3);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.3,.3,.3)}to{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(0,-60px,0)}to{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform-origin:center bottom}}@keyframes zoomOutDown{40%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(0,-60px,0)}to{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform-origin:center bottom}}.zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown}@-webkit-keyframes zoomOutLeft{40%{-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{-webkit-transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale(.1) translate3d(-2000px,0,0);transform-origin:left center}}@keyframes zoomOutLeft{40%{-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{-webkit-transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale(.1) translate3d(-2000px,0,0);transform-origin:left center}}.zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft}@-webkit-keyframes zoomOutRight{40%{-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{-webkit-transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale(.1) translate3d(2000px,0,0);transform-origin:right center}}@keyframes zoomOutRight{40%{-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{-webkit-transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale(.1) translate3d(2000px,0,0);transform-origin:right center}}.zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight}@-webkit-keyframes zoomOutUp{40%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(0,60px,0)}to{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform-origin:center bottom}}@keyframes zoomOutUp{40%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";transform:scale3d(.475,.475,.475) translate3d(0,60px,0)}to{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform-origin:center bottom}}.zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:hidden}}@keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:hidden}}.slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:hidden}}@keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:hidden}}.slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:hidden}}@keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:hidden}}.slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:hidden}}@keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:hidden}}.slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}.animated{-webkit-animation-duration:1s;-webkit-animation-fill-mode:both;animation-duration:1s;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.delay-1s{-webkit-animation-delay:1s;animation-delay:1s}.animated.delay-2s{-webkit-animation-delay:2s;animation-delay:2s}.animated.delay-3s{-webkit-animation-delay:3s;animation-delay:3s}.animated.delay-4s{-webkit-animation-delay:4s;animation-delay:4s}.animated.delay-5s{-webkit-animation-delay:5s;animation-delay:5s}.animated.fast{-webkit-animation-duration:.8s;animation-duration:.8s}.animated.faster{-webkit-animation-duration:.5s;animation-duration:.5s}.animated.slow{-webkit-animation-duration:2s;animation-duration:2s}.animated.slower{-webkit-animation-duration:3s;animation-duration:3s}@media (prefers-reduced-motion){.animated{-webkit-animation:unset!important;-webkit-transition:none!important;animation:unset!important;transition:none!important}} +.gaugejs-wrap { + position: relative; + margin: 0 auto; } + .gaugejs-wrap canvas.gaugejs { + width: 100% !important; + height: auto !important; } + .gaugejs-wrap.sparkline .value, + .gaugejs-wrap i { + top: 50%; + display: block; + width: 100%; + text-align: center; } + .gaugejs-wrap i { + position: absolute; + left: 0; + z-index: 1000; + margin-top: -15px; + font-size: 30px; } + .gaugejs-wrap.type-2 .value { + display: block; + margin-top: -85px; } + .gaugejs-wrap.type-2 label { + display: block; + margin-top: -10px; + font-size: 10px; + font-weight: 600; + color: #9da0a8; + text-transform: uppercase; } + .gaugejs-wrap.sparkline { + position: relative; } + .gaugejs-wrap.sparkline .value { + position: absolute; + margin-top: -5px; + font-size: 10px; + line-height: 10px; } +.switch.switch-default { + position: relative; + display: inline-block; + vertical-align: top; + width: 40px; + height: 24px; + background-color: transparent; + cursor: pointer; } + .switch.switch-default .switch-input { + position: absolute; + top: 0; + left: 0; + opacity: 0; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; } + .switch.switch-default .switch-label { + position: relative; + display: block; + height: inherit; + font-size: 10px; + font-weight: 600; + text-transform: uppercase; + background-color: #fff; + border: 1px solid #e9ecef; + border-radius: 2px; + -webkit-transition:opacity background 0.15s ease-out; + transition: opacity background 0.15s ease-out; } + .switch.switch-default .switch-input:checked ~ .switch-label:before { + opacity: 0; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; } + .switch.switch-default .switch-input:checked ~ .switch-label:after { + opacity: 1; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; } + .switch.switch-default .switch-handle { + position: absolute; + top: 2px; + left: 2px; + width: 20px; + height: 20px; + background: #fff; + border: 1px solid #e9ecef; + border-radius: 1px; + -webkit-transition:left 0.15s ease-out; + transition: left 0.15s ease-out; } + .switch.switch-default .switch-input:checked ~ .switch-handle { + left: 18px; } + .switch.switch-default.switch-lg { + width: 48px; + height: 28px; } + .switch.switch-default.switch-lg .switch-label { + font-size: 12px; } + .switch.switch-default.switch-lg .switch-handle { + width: 24px; + height: 24px; } + .switch.switch-default.switch-lg .switch-input:checked ~ .switch-handle { + left: 22px; } + .switch.switch-default.switch-sm { + width: 32px; + height: 20px; } + .switch.switch-default.switch-sm .switch-label { + font-size: 8px; } + .switch.switch-default.switch-sm .switch-handle { + width: 16px; + height: 16px; } + .switch.switch-default.switch-sm .switch-input:checked ~ .switch-handle { + left: 14px; } + .switch.switch-default.switch-xs { + width: 24px; + height: 16px; } + .switch.switch-default.switch-xs .switch-label { + font-size: 7px; } + .switch.switch-default.switch-xs .switch-handle { + width: 12px; + height: 12px; } + .switch.switch-default.switch-xs .switch-input:checked ~ .switch-handle { + left: 10px; } + +.switch.switch-text { + position: relative; + display: inline-block; + vertical-align: top; + width: 48px; + height: 24px; + background-color: transparent; + cursor: pointer; } + .switch.switch-text .switch-input { + position: absolute; + top: 0; + left: 0; + opacity: 0; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; } + .switch.switch-text .switch-label { + position: relative; + display: block; + height: inherit; + font-size: 10px; + font-weight: 600; + text-transform: uppercase; + background-color: #fff; + border: 1px solid #e9ecef; + border-radius: 2px; + -webkit-transition:opacity background 0.15s ease-out; + transition: opacity background 0.15s ease-out; } + .switch.switch-text .switch-label:after, + .switch.switch-text .switch-label:before { + position: absolute; + top: 50%; + width: 50%; + margin-top: -.5em; + line-height: 1; + text-align: center; + -webkit-transition:inherit; + transition: inherit; } + .switch.switch-text .switch-label:before { + right: 1px; + color: #e9ecef; + content: attr(data-off); } + .switch.switch-text .switch-label:after { + left: 1px; + color: #fff; + content: attr(data-on); + opacity: 0; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; } + .switch.switch-text .switch-input:checked ~ .switch-label:before { + opacity: 0; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; } + .switch.switch-text .switch-input:checked ~ .switch-label:after { + opacity: 1; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; } + .switch.switch-text .switch-handle { + position: absolute; + top: 2px; + left: 2px; + width: 20px; + height: 20px; + background: #fff; + border: 1px solid #e9ecef; + border-radius: 1px; + -webkit-transition:left 0.15s ease-out; + transition: left 0.15s ease-out; } + .switch.switch-text .switch-input:checked ~ .switch-handle { + left: 26px; } + .switch.switch-text.switch-lg { + width: 56px; + height: 28px; } + .switch.switch-text.switch-lg .switch-label { + font-size: 12px; } + .switch.switch-text.switch-lg .switch-handle { + width: 24px; + height: 24px; } + .switch.switch-text.switch-lg .switch-input:checked ~ .switch-handle { + left: 30px; } + .switch.switch-text.switch-sm { + width: 40px; + height: 20px; } + .switch.switch-text.switch-sm .switch-label { + font-size: 8px; } + .switch.switch-text.switch-sm .switch-handle { + width: 16px; + height: 16px; } + .switch.switch-text.switch-sm .switch-input:checked ~ .switch-handle { + left: 22px; } + .switch.switch-text.switch-xs { + width: 32px; + height: 16px; } + .switch.switch-text.switch-xs .switch-label { + font-size: 7px; } + .switch.switch-text.switch-xs .switch-handle { + width: 12px; + height: 12px; } + .switch.switch-text.switch-xs .switch-input:checked ~ .switch-handle { + left: 18px; } + +.switch.switch-icon { + position: relative; + display: inline-block; + vertical-align: top; + width: 48px; + height: 24px; + background-color: transparent; + cursor: pointer; } + .switch.switch-icon .switch-input { + position: absolute; + top: 0; + left: 0; + opacity: 0; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; } + .switch.switch-icon .switch-label { + position: relative; + display: block; + height: inherit; + font-family: FontAwesome; + font-size: 10px; + font-weight: 600; + text-transform: uppercase; + background-color: #fff; + border: 1px solid #e9ecef; + border-radius: 2px; + -webkit-transition:opacity background 0.15s ease-out; + transition: opacity background 0.15s ease-out; } + .switch.switch-icon .switch-label:after, + .switch.switch-icon .switch-label:before { + position: absolute; + top: 50%; + width: 50%; + margin-top: -.5em; + line-height: 1; + text-align: center; + -webkit-transition:inherit; + transition: inherit; } + .switch.switch-icon .switch-label:before { + right: 1px; + color: #e9ecef; + content: attr(data-off); } + .switch.switch-icon .switch-label:after { + left: 1px; + color: #fff; + content: attr(data-on); + opacity: 0; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; } + .switch.switch-icon .switch-input:checked ~ .switch-label:before { + opacity: 0; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; } + .switch.switch-icon .switch-input:checked ~ .switch-label:after { + opacity: 1; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; } + .switch.switch-icon .switch-handle { + position: absolute; + top: 2px; + left: 2px; + width: 20px; + height: 20px; + background: #fff; + border: 1px solid #e9ecef; + border-radius: 1px; + -webkit-transition:left 0.15s ease-out; + transition: left 0.15s ease-out; } + .switch.switch-icon .switch-input:checked ~ .switch-handle { + left: 26px; } + .switch.switch-icon.switch-lg { + width: 56px; + height: 28px; } + .switch.switch-icon.switch-lg .switch-label { + font-size: 12px; } + .switch.switch-icon.switch-lg .switch-handle { + width: 24px; + height: 24px; } + .switch.switch-icon.switch-lg .switch-input:checked ~ .switch-handle { + left: 30px; } + .switch.switch-icon.switch-sm { + width: 40px; + height: 20px; } + .switch.switch-icon.switch-sm .switch-label { + font-size: 8px; } + .switch.switch-icon.switch-sm .switch-handle { + width: 16px; + height: 16px; } + .switch.switch-icon.switch-sm .switch-input:checked ~ .switch-handle { + left: 22px; } + .switch.switch-icon.switch-xs { + width: 32px; + height: 16px; } + .switch.switch-icon.switch-xs .switch-label { + font-size: 7px; } + .switch.switch-icon.switch-xs .switch-handle { + width: 12px; + height: 12px; } + .switch.switch-icon.switch-xs .switch-input:checked ~ .switch-handle { + left: 18px; } + +.switch.switch-3d { + position: relative; + display: inline-block; + vertical-align: top; + width: 40px; + height: 24px; + background-color: transparent; + cursor: pointer; } + .switch.switch-3d .switch-input { + position: absolute; + top: 0; + left: 0; + opacity: 0; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; } + .switch.switch-3d .switch-label { + position: relative; + display: block; + height: inherit; + font-size: 10px; + font-weight: 600; + text-transform: uppercase; + background-color: #f8f9fa; + border: 1px solid #e9ecef; + border-radius: 2px; + -webkit-transition:opacity background 0.15s ease-out; + transition: opacity background 0.15s ease-out; } + .switch.switch-3d .switch-input:checked ~ .switch-label:before { + opacity: 0; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; } + .switch.switch-3d .switch-input:checked ~ .switch-label:after { + opacity: 1; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; } + .switch.switch-3d .switch-handle { + position: absolute; + top: 0; + left: 0; + width: 24px; + height: 24px; + background: #fff; + border: 1px solid #e9ecef; + border-radius: 1px; + -webkit-transition:left 0.15s ease-out; + transition: left 0.15s ease-out; + border: 0; + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); } + .switch.switch-3d .switch-input:checked ~ .switch-handle { + left: 16px; } + .switch.switch-3d.switch-lg { + width: 48px; + height: 28px; } + .switch.switch-3d.switch-lg .switch-label { + font-size: 12px; } + .switch.switch-3d.switch-lg .switch-handle { + width: 28px; + height: 28px; } + .switch.switch-3d.switch-lg .switch-input:checked ~ .switch-handle { + left: 20px; } + .switch.switch-3d.switch-sm { + width: 32px; + height: 20px; } + .switch.switch-3d.switch-sm .switch-label { + font-size: 8px; } + .switch.switch-3d.switch-sm .switch-handle { + width: 20px; + height: 20px; } + .switch.switch-3d.switch-sm .switch-input:checked ~ .switch-handle { + left: 12px; } + .switch.switch-3d.switch-xs { + width: 24px; + height: 16px; } + .switch.switch-3d.switch-xs .switch-label { + font-size: 7px; } + .switch.switch-3d.switch-xs .switch-handle { + width: 16px; + height: 16px; } + .switch.switch-3d.switch-xs .switch-input:checked ~ .switch-handle { + left: 8px; } + +.switch-pill .switch-handle, .switch.switch-3d .switch-handle, +.switch-pill .switch-label, +.switch.switch-3d .switch-label { + border-radius: 50em !important; } + +.switch-pill .switch-label:before, .switch.switch-3d .switch-label:before { + right: 2px !important; } + +.switch-pill .switch-label:after, .switch.switch-3d .switch-label:after { + left: 2px !important; } + +.switch-primary > .switch-input:checked ~ .switch-label { + background: #007bff !important; + border-color: #0062cc; } + +.switch-primary > .switch-input:checked ~ .switch-handle { + border-color: #0062cc; } + +.switch-primary-outline > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #007bff; } + .switch-primary-outline > .switch-input:checked ~ .switch-label:after { + color: #007bff; } + +.switch-primary-outline > .switch-input:checked ~ .switch-handle { + border-color: #007bff; } + +.switch-primary-outline-alt > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #007bff; } + .switch-primary-outline-alt > .switch-input:checked ~ .switch-label:after { + color: #007bff; } + +.switch-primary-outline-alt > .switch-input:checked ~ .switch-handle { + background: #007bff !important; + border-color: #007bff; } + +.switch-secondary > .switch-input:checked ~ .switch-label { + background: #868e96 !important; + border-color: #6c757d; } + +.switch-secondary > .switch-input:checked ~ .switch-handle { + border-color: #6c757d; } + +.switch-secondary-outline > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #868e96; } + .switch-secondary-outline > .switch-input:checked ~ .switch-label:after { + color: #868e96; } + +.switch-secondary-outline > .switch-input:checked ~ .switch-handle { + border-color: #868e96; } + +.switch-secondary-outline-alt > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #868e96; } + .switch-secondary-outline-alt > .switch-input:checked ~ .switch-label:after { + color: #868e96; } + +.switch-secondary-outline-alt > .switch-input:checked ~ .switch-handle { + background: #868e96 !important; + border-color: #868e96; } + +.switch-success > .switch-input:checked ~ .switch-label { + background: #28a745 !important; + border-color: #1e7e34; } + +.switch-success > .switch-input:checked ~ .switch-handle { + border-color: #1e7e34; } + +.switch-success-outline > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #28a745; } + .switch-success-outline > .switch-input:checked ~ .switch-label:after { + color: #28a745; } + +.switch-success-outline > .switch-input:checked ~ .switch-handle { + border-color: #28a745; } + +.switch-success-outline-alt > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #28a745; } + .switch-success-outline-alt > .switch-input:checked ~ .switch-label:after { + color: #28a745; } + +.switch-success-outline-alt > .switch-input:checked ~ .switch-handle { + background: #28a745 !important; + border-color: #28a745; } + +.switch-info > .switch-input:checked ~ .switch-label { + background: #17a2b8 !important; + border-color: #117a8b; } + +.switch-info > .switch-input:checked ~ .switch-handle { + border-color: #117a8b; } + +.switch-info-outline > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #17a2b8; } + .switch-info-outline > .switch-input:checked ~ .switch-label:after { + color: #17a2b8; } + +.switch-info-outline > .switch-input:checked ~ .switch-handle { + border-color: #17a2b8; } + +.switch-info-outline-alt > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #17a2b8; } + .switch-info-outline-alt > .switch-input:checked ~ .switch-label:after { + color: #17a2b8; } + +.switch-info-outline-alt > .switch-input:checked ~ .switch-handle { + background: #17a2b8 !important; + border-color: #17a2b8; } + +.switch-warning > .switch-input:checked ~ .switch-label { + background: #ffc107 !important; + border-color: #d39e00; } + +.switch-warning > .switch-input:checked ~ .switch-handle { + border-color: #d39e00; } + +.switch-warning-outline > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #ffc107; } + .switch-warning-outline > .switch-input:checked ~ .switch-label:after { + color: #ffc107; } + +.switch-warning-outline > .switch-input:checked ~ .switch-handle { + border-color: #ffc107; } + +.switch-warning-outline-alt > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #ffc107; } + .switch-warning-outline-alt > .switch-input:checked ~ .switch-label:after { + color: #ffc107; } + +.switch-warning-outline-alt > .switch-input:checked ~ .switch-handle { + background: #ffc107 !important; + border-color: #ffc107; } + +.switch-danger > .switch-input:checked ~ .switch-label { + background: #dc3545 !important; + border-color: #bd2130; } + +.switch-danger > .switch-input:checked ~ .switch-handle { + border-color: #bd2130; } + +.switch-danger-outline > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #dc3545; } + .switch-danger-outline > .switch-input:checked ~ .switch-label:after { + color: #dc3545; } + +.switch-danger-outline > .switch-input:checked ~ .switch-handle { + border-color: #dc3545; } + +.switch-danger-outline-alt > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #dc3545; } + .switch-danger-outline-alt > .switch-input:checked ~ .switch-label:after { + color: #dc3545; } + +.switch-danger-outline-alt > .switch-input:checked ~ .switch-handle { + background: #dc3545 !important; + border-color: #dc3545; } + +.switch-light > .switch-input:checked ~ .switch-label { + background: #f8f9fa !important; + border-color: #dae0e5; } + +.switch-light > .switch-input:checked ~ .switch-handle { + border-color: #dae0e5; } + +.switch-light-outline > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #f8f9fa; } + .switch-light-outline > .switch-input:checked ~ .switch-label:after { + color: #f8f9fa; } + +.switch-light-outline > .switch-input:checked ~ .switch-handle { + border-color: #f8f9fa; } + +.switch-light-outline-alt > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #f8f9fa; } + .switch-light-outline-alt > .switch-input:checked ~ .switch-label:after { + color: #f8f9fa; } + +.switch-light-outline-alt > .switch-input:checked ~ .switch-handle { + background: #f8f9fa !important; + border-color: #f8f9fa; } + +.switch-dark > .switch-input:checked ~ .switch-label { + background: #343a40 !important; + border-color: #1d2124; } + +.switch-dark > .switch-input:checked ~ .switch-handle { + border-color: #1d2124; } + +.switch-dark-outline > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #343a40; } + .switch-dark-outline > .switch-input:checked ~ .switch-label:after { + color: #343a40; } + +.switch-dark-outline > .switch-input:checked ~ .switch-handle { + border-color: #343a40; } + +.switch-dark-outline-alt > .switch-input:checked ~ .switch-label { + background: #fff !important; + border-color: #343a40; } + .switch-dark-outline-alt > .switch-input:checked ~ .switch-label:after { + color: #343a40; } + +.switch-dark-outline-alt > .switch-input:checked ~ .switch-handle { + background: #343a40 !important; + border-color: #343a40; } + +.social-box { + min-height: 160px; + margin-bottom:24px; + margin-bottom: 1.5rem; + text-align: center; + background: #fff; } + .social-box i { + display: block; + margin: -1px -1px 0; + font-size: 40px; + line-height: 90px; + background: #e9ecef; } + .social-box .chart-wrapper { + height: 90px; + margin: -90px 0 0; } + .social-box .chart-wrapper canvas { + width: 100% !important; + height: 90px !important; } + .social-box ul { + padding: 10px 0; + list-style: none; } + .social-box ul li { + display: block; + float: left; + width: 50%; + padding-top: 10px; + font-size: 18px; } + .social-box ul li:first-child { + border-right: 1px solid #c2cfd6; } + .social-box ul li strong { + display: block; + font-size: 20px; } + .social-box ul li span { + font-size: 18px; + font-weight: 500; + color: #949CA0; + text-transform: uppercase; } + .social-box.facebook i { + color: #fff; + background: #3b5998; } + .social-box.twitter i { + color: #fff; + background: #00aced; } + .social-box.linkedin i { + color: #fff; + background: #4875b4; } + .social-box.google-plus i { + color: #fff; + background: #d34836; } + +.horizontal-bars { + padding: 0; + margin: 0; + list-style: none; } + .horizontal-bars li { + position: relative; + height: 40px; + line-height: 40px; + vertical-align: middle; } + .horizontal-bars li .title { + width: 100px; + font-size: 12px; + font-weight: 600; + color: #868e96; + vertical-align: middle; } + .horizontal-bars li .bars { + position: absolute; + top: 15px; + width: 100%; + padding-left: 100px; } + .horizontal-bars li .bars .progress:first-child { + margin-bottom: 2px; } + .horizontal-bars li.legend { + text-align: center; } + .horizontal-bars li.legend .badge { + display: inline-block; + width: 8px; + height: 8px; + padding: 0; } + .horizontal-bars li.divider { + height: 40px; } + .horizontal-bars li.divider i { + margin: 0 !important; } + .horizontal-bars.type-2 li { + overflow: hidden; } + .horizontal-bars.type-2 li i { + display: inline-block; + margin-right:16px; + margin-right: 1rem; + margin-left: 5px; + font-size: 18px; + line-height: 40px; } + .horizontal-bars.type-2 li .title { + display: inline-block; + width: auto; + margin-top: -9px; + font-size:16px; + font-size: 1rem; + font-weight: normal; + line-height: 40px; + color: #212529; } + .horizontal-bars.type-2 li .value { + float: right; + font-weight: 600; } + .horizontal-bars.type-2 li .bars { + position: absolute; + top: auto; + bottom: 0; + padding: 0; } + +.icons-list { + padding: 0; + margin: 0; + list-style: none; } + .icons-list li { + position: relative; + height: 40px; + vertical-align: middle; } + .icons-list li i { + display: block; + float: left; + width: 35px !important; + height: 35px !important; + margin: 2px; + line-height: 35px !important; + text-align: center; } + .icons-list li .desc { + height: 40px; + margin-left: 50px; + border-bottom: 1px solid #e9ecef; } + .icons-list li .desc .title { + padding: 2px 0 0; + margin: 0; } + .icons-list li .desc small { + display: block; + margin-top: -4px; + color: #868e96; } + .icons-list li .value { + position: absolute; + top: 2px; + right: 45px; + text-align: right; } + .icons-list li .value strong { + display: block; + margin-top: -3px; } + .icons-list li .actions { + position: absolute; + top: -4px; + right: 10px; + width: 40px; + height: 40px; + line-height: 40px; + text-align: center; } + .icons-list li .actions i { + float: none; + width: auto; + height: auto; + padding: 0; + margin: 0; + line-height: normal; } + .icons-list li.divider { + height: 40px; } + .icons-list li.divider i { + width: auto; + height: auto; + margin: 2px 0 0; + font-size: 18px; } + +.social { + color: #fff; } + .social.btn-sm { + padding: 0 10px 0 0; + font-size:14px; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0; } + .social.btn-lg { + border-radius: 0; } + .social.btn { + border-radius: 0; } + .social i { + width:29px; + width: 1.8125rem; + line-height: 2; } + .social.facebook { + background: #3b5998; } + .social.facebook:hover { + background: #344e86; } + .social.twitter { + background: #00aced; } + .social.twitter:hover { + background: #0099d4; } + .social.linkedin { + background: #4875b4; } + .social.linkedin:hover { + background: #4169a2; } + .social.flickr { + background: #ff0084; } + .social.flickr:hover { + background: #e60077; } + .social.tumblr { + background: #32506d; } + .social.tumblr:hover { + background: #2a435c; } + .social.xing { + background: #026466; } + .social.xing:hover { + background: #024b4d; } + .social.github { + background: #4183c4; } + .social.github:hover { + background: #3876b4; } + .social.html5 { + background: #e34f26; } + .social.html5:hover { + background: #d4431b; } + .social.openid { + background: #f78c40; } + .social.openid:hover { + background: #f67d28; } + .social.stack-overflow { + background: #fe7a15; } + .social.stack-overflow:hover { + background: #f86c01; } + .social.css3 { + background: #0170ba; } + .social.css3:hover { + background: #0161a1; } + .social.youtube { + background: #b00; } + .social.youtube:hover { + background: #a20000; } + .social.dribbble { + background: #ea4c89; } + .social.dribbble:hover { + background: #e7357a; } + .social.dropbox { + background: #007ee5; } + .social.dropbox:hover { + background: #0070cc; } + .social.google-plus { + background: #d34836; } + .social.google-plus:hover { + background: #c43d2b; } + .social.instagram { + background: #517fa4; } + .social.instagram:hover { + background: #497293; } + .social.pinterest { + background: #cb2027; } + .social.pinterest:hover { + background: #b51d23; } + .social.vk { + background: #45668e; } + .social.vk:hover { + background: #3d5a7d; } + .social.yahoo { + background: #400191; } + .social.yahoo:hover { + background: #350178; } + .social.behance { + background: #1769ff; } + .social.behance:hover { + background: #0059fd; } + .social.reddit { + background: #ff4500; } + .social.reddit:hover { + background: #e63e00; } + .social.spotify { + background: #7ab800; } + .social.spotify:hover { + background: #699f00; } + .social.vine { + background: #00bf8f; } + .social.vine:hover { + background: #00a67c; } + .social.foursquare { + background: #1073af; } + .social.foursquare:hover { + background: #0e6498; } + .social.vimeo { + background: #aad450; } + .social.vimeo:hover { + background: #a0cf3c; } + +.bg-flat-color-1 { + background: #20a8d8; } + +.bg-flat-color-2 { + background: #63c2de; } + +.bg-flat-color-3 { + background: #ffc107; } + +.bg-flat-color-4 { + background: #f86c6b; } + +.bg-flat-color-5 { + background: #4dbd74; } + +.transition { + -webkit-transition: all 0.3s ease; + transition: all 0.3s ease; } + +body { + background: #f1f2f7; + display: table; + font-family: 'Open Sans' sans-serif !important; + font-size: 16px; + width: 100%; } + +div[class*="col-"] { + float: left; } + +p { + font-size: 16px; + font-family: 'Open Sans' sans-serif; + font-weight: 400; + line-height: 24px; + color: #878787; } + +p:focus { + border: none; + outline: 0; } + +a, +button { + text-decoration: none; + outline: none !important; + color: #878787; + -webkit-transition: all 0.25s ease; + transition: all 0.25s ease; } + +a:focus, +a:hover { + text-decoration: none; + color: #000; } + +h1, +h2, +h3, +h4, +h5, +h6 { + margin: 0; } + +ol, +ul { + padding-left: 0; } + +.btn:focus, +button:focus { + box-shadow: none !important; + outline: 0; } + +img { + max-width: 100%; } + +.btn, +button, +input, +textarea { + box-shadow: none; + outline: 0 !important; } + +.no-padding { + padding: 0 !important; } + +/* Global Styles */ +/* Main Styles */ +.basix-container { + display: table; + min-height: 100vh; + position: relative; + width: 100%; } + +aside.left-panel { + background: #272c33; + display: table-cell; + height: 100vh; + min-height: 100%; + padding: 0 25px; + vertical-align: top; + width: 280px; + -webkit-transition:width 0.3s ease; + transition: width 0.3s ease; } + +.navbar { + background: #272c33; + border-radius: 0; + border: none; + display: block; + margin: 0 0 100px; + padding: 0; } + .navbar .navbar-header { + float: none; + text-align: center; + width: 100%; } + .navbar .navbar-brand { + border-bottom: 1px solid #4e4e52; + color: #f1f2f7 !important; + font-family: 'Open Sans'; + font-size: 22px; + float: none; + line-height: 50px; + margin: 0; + text-align: left; + text-transform: capitalize; + display: block; + min-height: 69px; + padding: 0; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + position: relative; } + .navbar .navbar-brand span { + font-weight: 600; } + .navbar .navbar-brand img { + max-width: 160px; } + .navbar .navbar-brand.hidden { + display: none; } + .navbar .menu-title { + border-bottom: 1px solid #4e4e52; + color: #9496a1; + clear: both; + display: block; + font-family: 'Open Sans'; + font-size: 14px; + font-weight: 700; + line-height: 50px; + padding: 15px 0 0; + text-transform: uppercase; + width: 100%; } + .navbar .navbar-nav { + float: none; + position: relative; } + .navbar .navbar-nav li { + width: 100%; } + .navbar .navbar-nav li.active .menu-icon, + .navbar .navbar-nav li:hover .toggle_nav_button:before, + .navbar .navbar-nav li .toggle_nav_button.nav-open:before { + color: #fff !important; } + .navbar .navbar-nav li .dropdown-toggle:after { + display: none; } + .navbar .navbar-nav li > a { + background: none !important; + color: #c8c9ce !important; + display: inline-block; + font-family: 'Open Sans'; + font-size: 14px; + line-height: 30px; + padding: 10px 0; + position: relative; + width: 100%; } + .navbar .navbar-nav li > a:hover, + .navbar .navbar-nav li > a:hover .menu-icon { + color: #fff !important; } + .navbar .navbar-nav li > a .menu-icon { + color: #8b939b; + float: left; + margin-top: 8px; + width: 55px; + text-align: left; + z-index: 9; } + .navbar .navbar-nav li > a .menu-title-text { + font-size: 14px; } + .navbar .navbar-nav li > a .badge { + border-radius: 0; + font-family: 'Open Sans'; + font-weight: 600; + float: right; + margin: 6px 0 0; + padding: 0.4em 0.5em; } + .navbar .navbar-nav li.menu-item-has-children { + position: relative; } + .navbar .navbar-nav li.menu-item-has-children a { + line-height: 30px; } + .navbar .navbar-nav li.menu-item-has-children a:before { + content: "\f105"; + color: #c8c9ce; + font-family: 'Fontawesome'; + font-size: 16px; + position: absolute; + top: 10px; + right: 0; + text-align: right; + -webkit-transition: all 0.25s ease; + transition: all 0.25s ease; } + .navbar .navbar-nav li.menu-item-has-children a:hover:before { + color: #fff; } + .navbar .navbar-nav li.menu-item-has-children .sub-menu { + background: #272c33; + border: none; + box-shadow: none; + overflow-y: hidden; + padding: 0 0 0 35px; } + .navbar .navbar-nav li.menu-item-has-children .sub-menu li { + position: relative; } + .navbar .navbar-nav li.menu-item-has-children .sub-menu i { + color: #c8c9ce; + float: left; + padding: 0; + position: absolute; + left: 0; + font-size: 14px; + top: 9px; } + .navbar .navbar-nav li.menu-item-has-children .sub-menu a { + padding: 2px 0 2px 30px; } + .navbar .navbar-nav li.menu-item-has-children .sub-menu a:before { + content: ''; + display: none; } + .navbar .navbar-nav li.menu-item-has-children .sub-menu a .menu-icon { + top: 13px; + text-align: left; + width: 25px; } + .navbar .navbar-nav li.menu-item-has-children.show a:before { + content: "\f107"; } + .navbar .navbar-nav li.menu-item-has-children.show .sub-menu { + max-height: 1000px; + opacity: 1; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; + position: static !important; } + +.navbar .navbar-nav > .active > a, +.navbar .navbar-nav > .active > a:focus, +.navbar .navbar-nav > .active > a:hover { + color: #d7d9e3 !important; } + +.navbar-nav li span.count { + background: #a9d86e; + border-radius: 50%; + color: #fff; + font-family: 'Open Sans'; + font-size: 9px; + font-weight: 700; + float: right; + height: 20px; + width: 20px; + line-height: 20px; + margin-right: 15px; + text-align: center; } + +body.open .navbar .navbar-brand.hidden { + display: block; } + +.open aside.left-panel { + max-width: 70px; + width: 70px; } + .open aside.left-panel .navbar .navbar-brand { + display: none; } + .open aside.left-panel .navbar .navbar-brand.hidden { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-left: 0; + padding-right: 0; + text-align: center; } + .open aside.left-panel .navbar .navbar-brand.hidden img { + max-width: 30px; + margin: 0 auto; } + .open aside.left-panel .navbar .navbar-brand.d-md-none { + display: block !important; + margin: 13px 0 0; + min-height: 67px; + padding: 0; + text-align: center; } + .open aside.left-panel .navbar .navbar-nav:before { + display: none !important; } + .open aside.left-panel .navbar .navbar-nav li { + position: relative; } + .open aside.left-panel .navbar .navbar-nav li a { + font-size: 0; + z-index: 0; + -webkit-transition:none; + transition: none; } + .open aside.left-panel .navbar .navbar-nav li a .menu-icon { + font-size: 20px; + z-index: -1; + width: inherit; } + .open aside.left-panel .navbar .navbar-nav li a .menu-title-text { + font-size: 0; } + .open aside.left-panel .navbar .navbar-nav li a .badge { + display: none; } + .open aside.left-panel .navbar .navbar-nav li > a { + max-width: 60px; + padding-left: 0; } + .open aside.left-panel .navbar .navbar-nav li.menu-item-has-children { + overflow: hidden; } + .open aside.left-panel .navbar .navbar-nav li.menu-item-has-children a:before { + content: ''; + display: none; } + .open aside.left-panel .navbar .navbar-nav li.menu-item-has-children ul { + padding-left: 0; } + .open aside.left-panel .navbar .navbar-nav li.menu-item-has-children .sub-menu { + display: block; + left: inherit; + right: -180px; + top: 0; } + .open aside.left-panel .navbar .navbar-nav li.menu-item-has-children .sub-menu li a { + display: block; + font-size: 14px; + max-width: inherit; + padding: 2px 15px 2px 25px; + width: 100%; } + .open aside.left-panel .navbar .navbar-nav li.menu-item-has-children .sub-menu li a .menu-icon { + text-align: center; } + .open aside.left-panel .navbar .navbar-nav li.menu-item-has-children.show { + overflow: visible; } + .open aside.left-panel .navbar .navbar-nav li.menu-item-has-children.show .sub-menu { + position: absolute !important; } + .open aside.left-panel .navbar .navbar-nav li span.count { + display: none; + margin-right: 5px; + z-index: 1; } + .open aside.left-panel .navbar .navbar-nav li.active a:after { + content: ''; + display: none; } + .open aside.left-panel .navbar .navbar-nav .menu-title { + font-size: 0; + line-height: 0; + opacity: 0; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + padding: 0; } + +/* Right panel */ +.right-panel { + display: table-cell; + padding-left: 0 !important; + -webkit-transition: all 0.35s ease; + transition: all 0.35s ease; } + .right-panel .breadcrumbs { + background-color: #fff; + display: inline-block; + margin-top: 0; + padding: 0 5px; + width: 100%; } + .right-panel .breadcrumbs .col-lg-8 .page-header { + float: left; } + .right-panel .page-header { + min-height: 50px; + margin: 0; + padding: 0 15px; + background: #ffffff; + border-bottom: 0; } + .right-panel .page-header h1 { + font-size: 18px; + padding: 15px 0; } + .right-panel .page-header .breadcrumb { + margin: 0; + padding: 13.5px 0; + background: #fff; + text-transform: capitalize; } + .right-panel .page-header .breadcrumb > li + li:before { + padding: 0 5px; + color: #ccc; + content: "/\00a0"; } + +.right-panel header.header { + background: #fff; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15); + clear: both; + display: inline-block; + padding: 15px 20px 13px; + width: 100%; } + +.open .right-panel { + margin-left: -210px; } + +header.fixed-top { + background: #fff; + padding: 20px; } + +.header-menu .col-sm-7 { + position: inherit; } + +.menutoggle { + background: #e74c3c; + border-radius: 50%; + color: #fff !important; + cursor: pointer; + font-size: 18px; + height: 43px; + line-height: 44px; + margin: -2px 20px 0 -57px; + text-align: center; + width: 43px; } + +.open .menutoggle i:before { + content: "\f0a4"; } + +.search-trigger { + background: transparent; + border: none; + color: #272c33; + cursor: pointer; + font-size: 16px; + height: 41px; + width: 43px; + line-height: 38px; } + +header .form-inline { + background: #263238; + display: none; + height: 70px; + margin: 0; + width: 100%; + position: absolute; + left: 0; + top: 0; + z-index: 9999; } + header .form-inline .search-form { + height: 100%; + max-width: 1025px; + margin: 0 auto; + position: relative; } + header .form-inline .search-form input[type="text"] { + background: #263238; + border: none; + border-radius: 0; + box-shadow: none; + color: #d3d3d3; + font-size: 16px; + height: inherit; + margin-right: 0 !important; + padding: 10px 36px 10px 15px; + width: 100%; } + header .form-inline .search-form input[type="text"].active, + header .form-inline .search-form input[type="text"]:focus { + border-color: rgba(0, 0, 0, 0.125); + outline: 0; } + header .form-inline .search-form button { + background: transparent; + border: none; + color: #fff; + font-size: 16px; + position: absolute; + right: 15px; + top: 50%; + margin-top: -14px !important; } + header .form-inline .search-form .btn-outline-success:hover, + header .form-inline .search-form button:active, + header .form-inline .search-form button:focus, + header .form-inline .search-form button:visited { + background: transparent; + border: none !important; + box-shadow: none; + outline: 0 !important; } + header .form-inline .search-form.close { + display: none; } + +.header-left.open .form-inline { + display: block; } + +.header-left .dropdown { + display: inline-block; } + .header-left .dropdown .dropdown-toggle { + background: transparent; + border: none; + color: #272c33; + font-size: 16px; } + .header-left .dropdown .dropdown-toggle:after { + display: none; } + .header-left .dropdown .dropdown-toggle .count { + border-radius: 50%; + color: #fff; + font-size: 11px; + height: 15px; + width: 15px; + line-height: 15px; + right: 0; + top: 0; + position: absolute; } + .header-left .dropdown .dropdown-toggle:active, .header-left .dropdown .dropdown-toggle:focus, .header-left .dropdown .dropdown-toggle:visited { + background: none !important; + border-color: transparent !important; + color: #272c33 !important; } + .header-left .dropdown .dropdown-menu { + background: #fff; + border: none; + border-radius: 0; + box-shadow: none; + top: 49px !important; } + .header-left .dropdown .dropdown-menu p { + font-size: 15px; + margin: 0; + padding: 5px 15px; } + .header-left .dropdown .dropdown-menu .dropdown-item { + color: #272c33; + font-size: 13px; + padding: 10px 15px 3px; + text-overflow: ellipsis; } + .header-left .dropdown .dropdown-menu .dropdown-item .photo { + float: left; + margin-right: 15px; + width: 25px; } + .header-left .dropdown .dropdown-menu .dropdown-item .message .name { + margin-top: -5px; } + .header-left .dropdown .dropdown-menu .dropdown-item .message .time { + font-size: 11px; } + .header-left .dropdown .dropdown-menu .dropdown-item .message p { + clear: both; + font-size: 14px; + margin: 0; + padding: 0; + text-overflow: ellipsis; } + .header-left .dropdown .dropdown-menu .dropdown-item:hover { + background: transparent; } + +.dropdown-menu { + border-radius: 0; + -webkit-transform: none !important; + -ms-transform: none !important; + transform: none !important; } + +.for-notification .dropdown-menu .dropdown-item { + padding: 5px 15px !important; + text-overflow: ellipsis; } + .for-notification .dropdown-menu .dropdown-item i { + float: left; + font-size: 14px; + margin: 5px 5px 0 0; + text-align: left; + width: 20px; } + .for-notification .dropdown-menu .dropdown-item p { + padding: 0 !important; + text-overflow: ellipsis; } + +.user-area { + float: right; + padding-right: 0; + position: relative; } + .user-area .user-menu { + background: #fff; + border: none; + font-family: 'Open Sans'; + left: inherit !important; + right: 0; + top: 55px !important; + margin: 0; + max-width: 150px; + padding: 5px 10px; + position: absolute; + width: 100%; + z-index: 999; + min-width: 150px; } + .user-area .user-menu .nav-link { + color: #272c33; + display: block; + font-size: 14px; + line-height: 22px; + padding: 5px 0; } + .user-area .user-avatar { + float: right; + margin-top: 4px; + width: 32px; } + .user-area .user-info .name { + color: #8c8c8c; + font-size: 14px; + position: relative; + text-transform: uppercase; } + .user-area .count { + background: #d9534f; + border-radius: 50%; + color: #fff; + font-family: 'Open Sans'; + font-size: 9px; + font-weight: 700; + float: right; + height: 20px; + width: 20px; + line-height: 20px; + text-align: center; } + .user-area .dropdown-toggle:after { + display: none; } + +#menuToggle2 { + padding-left: 25px; } + +#language-select { + color: #f1f2f7; + float: right; + margin: 7px 20px 0 0; + max-width: 80px; } + #language-select:focus, #language-select:visited { + border: none; + outline: 0; } + #language-select .dropdown-toggle:after { + display: none; } + #language-select .dropdown-menu { + background: #fff; + border: none; + border-radius: 0; + left: -8px !important; + min-width: inherit; + padding: 0 5px; + top: 46px !important; } + #language-select .dropdown-menu .dropdown-item { + margin-right: 0; + max-width: 25px; + padding: 0; } + #language-select .dropdown-menu .dropdown-item:hover { + background: #fff; } + #language-select .dropdown-menu .dropdown-item .flag-icon { + margin-right: 0; + width: 25px; } + +.language-show + .dropdown-menu, +.message-show + .dropdown-menu, +.notification-show + .dropdown-menu { + display: block; } + +.content { + float: left; + padding: 0 20px; + width: 100%; } + +.card { + margin-bottom:24px; + margin-bottom: 1.5rem; + border-radius: 0; } + .card h4 { + font-size:17.6px; + font-size: 1.1rem; } + .card .user-header .media img { + border: 5px solid rgba(255, 255, 255, 0.3); + border-radius: 50%; + -webkit-border-radius: 50%; } + .card .card-header .card-actions button { + display: block; + float: left; + width: 50px; + padding:12px 0; + padding: 0.75rem 0; + margin: 0 !important !important; + color: #fff; + outline: 0; + text-align: center; + background: transparent; + border: 0; + border-left: 1px solid rgba(120, 130, 140, 0.4); } + .card .card-footer { + padding:10.4px 20px; + padding: 0.65rem 1.25rem; + background-color: #f0f3f5; + border-top: 1px solid #c2cfd6; } + .card .card-footer ul li { + display: table-cell; + padding:0 16px; + padding: 0 1rem; + text-align: center; } + +.breadcrumbs { + margin-top: 0; } + +/* Tabs */ +.nav-tabs a.active { + color: #555; + cursor: default; + background-color: #fff; + border: 1px solid #ddd; + border-bottom-color: transparent; } + +.nav-tabs .dropdown .dropdown-menu { + top: 100% !important; } + +.custom-tab .nav-tabs > .active > a:focus, +.custom-tab .nav-tabs > a.active, +.custom-tab .nav-tabs > li.active > a:hover { + border-color: transparent transparent; + color: #ff2e44; + position: relative; } + +.custom-tab .nav-tabs > a.active > a:after, +.custom-tab .nav-tabs > li.active > a:focus:after, +.custom-tab .nav-tabs > li.active > a:hover:after { + background: #ff2e44; + bottom: -1px; + content: ""; + height: 2px; + left: 0; + position: absolute; + right: 0; + width: 100%; + z-index: 999; } + +.card .card-header .card-actions { + float: right; } + .card .card-header .card-actions [class*="btn"] { + border-left: 1px solid rgba(120, 130, 140, 0.4); + color: #878787; + display: inline-block; + font-size: 16px; + float: left; + padding: 0 7px; + width: inherit; + text-align: center; } + +.social-buttons .card-body p button { + padding-top: 0; + padding-left: 0; + padding-bottom: 0; } + +.social-buttons .only-icon .card-body p button { + padding: 0; } + +.social-buttons .social i { + padding: 0 10px; + width: inherit !important; } + +.social-buttons .only-text p button { + padding:0 8px; + padding: 0 0.5rem; } + +.buttons button { + margin: 2px 0; } + +/* Ribons */ +.corner-ribon { + text-align: center; + width: 71px; + height: 71px; + position: absolute; + right: 0; + top: 0; + font-size: 20px; } + +.corner-ribon i { + padding: 10px 0 0 35px; + color: #fff; } + +.black-ribon { + background: url("../../images/twitter_corner_black.png") no-repeat; } + +.blue-ribon { + background: url("../../images/twitter_corner_blue.png") no-repeat; } + +.twt-feed .wtt-mark { + color: rgba(255, 255, 255, 0.15); + font-size: 160px; + position: absolute; + top: 10px; + left: 40%; } + +.twt-feed { + -webkit-border-radius: 4px 4px 0 0; + color: #FFFFFF; + padding: 40px 10px 10px; + position: relative; + min-height: 170px; } + +.weather-category { + padding: 15px 0; + color: #74829C; } + .weather-category ul li { + width: 32%; + text-align: center; + border-right: 1px solid #e6e6e6; + display: inline-block; } + +.twt-feed.blue-bg { + background: #58C9F3; } + +.twt-category { + display: inline-block; + margin-bottom: 11px; + margin-top: 10px; + width: 100%; } + .twt-category ul li { + color: #bdbdbd; + font-size: 13px; } + +.twt-footer { + padding: 12px 15px; } + +.twt-footer, +.twt-footer a { + color: #d2d2d2; } + +/* Button Reset */ +.btn, +.button { + display: inline-block; + font-weight: 400; + text-align: center; + white-space: nowrap; + vertical-align: middle; + -webkit-transition:all 0.15s ease-in-out; + transition: all 0.15s ease-in-out; + border-radius: 0; + cursor: pointer; } + +/* Icons */ +.icon-section { + margin: 0 0 3em; + clear: both; + overflow: hidden; } + +.icon-container { + width: 240px; + padding: 0.7em 0; + float: left; + position: relative; + text-align: left; } + +.icon-container [class^="ti-"], +.icon-container [class*=" ti-"] { + color: #000; + position: absolute; + margin-top: 3px; + -webkit-transition:0.3s; + transition: 0.3s; } + +.icon-container:hover [class^="ti-"], +.icon-container:hover [class*=" ti-"] { + font-size: 2.2em; + margin-top: -5px; } + +.icon-container:hover .icon-name { + color: #000; } + +.icon-name { + color: #aaa; + margin-left: 35px; + font-size: 14px; + -webkit-transition:0.3s; + transition: 0.3s; } + +.icon-container:hover .icon-name { + margin-left: 45px; } + +.fontawesome-icon-list .page-header { + border-bottom: 1px solid #C9CDD7; + padding-bottom: 9px; + margin: 30px 0 27px; } + +.fontawesome-icon-list h2 { + margin-top: 0; + font-size: 20px; + font-weight: 300; } + +.fontawesome-icon-list i { + font-style: 16px; + padding-right: 10px; } + +.social-box i { + line-height: 110px; } + +.social-box ul { + display: inline-block; + margin: 7px 0 0; + padding: 10px; + width: 100%; } + .social-box ul li { + color: #949CA0; + font-size: 14px; + font-weight: 700; + padding: 0 10px 0 0; + text-align: right; } + .social-box ul li:last-child { + padding-left: 10px; + padding-right: 0; + text-align: left; } + .social-box ul li span { + font-size: 14px; } + +.login-logo { + text-align: center; + margin-bottom: 15px; } + .login-logo span { + color: #ffffff; + font-size: 24px; } + +.login-content { + max-width: 540px; + margin: 8vh auto; } + +.login-form { + background: #ffffff; + padding: 30px 30px 20px; + border-radius: 2px; } + +.login-form h4 { + color: #878787; + text-align: center; + margin-bottom: 50px; } + +.login-form .checkbox { + color: #878787; } + +.login-form .checkbox label { + text-transform: none; } + +.login-form .btn { + width: 100%; + text-transform: uppercase; + font-size: 14px; + padding: 15px; + border: 0; } + +.login-form label { + color: #878787; + text-transform: uppercase; } + +.login-form label a { + color: #ff2e44; } + +.social-login-content { + margin: 0 -30px; + border-top: 1px solid #e7e7e7; + border-bottom: 1px solid #e7e7e7; + padding: 30px 0; + background: #fcfcfc; } + +.social-button { + padding: 0 30px; } + .social-button .facebook { + background: #3b5998; + color: #fff; } + .social-button .facebook:hover { + background: #344e86; } + .social-button .twitter { + background: #00aced; + color: #fff; } + .social-button .twitter:hover { + background: #0099d4; } + +.social-button i { + padding: 19px; } + +.register-link a { + color: #ff2e44; } + +.cpu-load { + width: 100%; + height: 272px; + font-size: 14px; + line-height: 1.2em; } + +.cpu-load-data-content { + font-size: 18px; + font-weight: 400; + line-height: 40px; } + +.cpu-load-data { + margin-bottom: 30px; } + +.cpu-load-data li { + display: inline-block; + width: 32.5%; + text-align: center; + border-right: 1px solid #e7e7e7; } + +.cpu-load-data li:last-child { + border-right: 0; } + +.nestable-cart { + overflow: hidden; } + +/* Forms */ +.input-group-addon { + background-color: transparent; + border-left: 0; } + +.input-group-addon, +.input-group-btn { + white-space: nowrap; + vertical-align: middle; } + +.input-group-addon { + padding:8px 12px; + padding: 0.5rem 0.75rem; + margin-bottom: 0; + font-size:16px; + font-size: 1rem; + font-weight: 400; + line-height: 1.25; + color: #495057; + text-align: center; + background-color: #e9ecef; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 0.25rem; } + +.flotTip { + background: #252525; + border: 1px solid #252525; + padding: 5px 15px; + color: #ffffff; } + +.flot-container { + box-sizing: border-box; + width: 100%; + height: 275px; + padding: 20px 15px 15px; + margin: 15px auto 30px; + background: transparent; } + +.flot-pie-container { + height: 275px; } + +.flotBar-container { + height: 275px; } + +.flot-line { + width: 100%; + height: 100%; + font-size: 14px; + line-height: 1.2em; } + +.legend table { + border-spacing: 5px; } + +#chart1, +#flotBar, +#flotCurve { + width: 100%; + height: 275px; } + +.morris-hover { + position: absolute; + z-index: 1; } + +.morris-hover.morris-default-style .morris-hover-row-label { + font-weight: bold; + margin: 0.25em 0; } + +.morris-hover.morris-default-style .morris-hover-point { + white-space: nowrap; + margin: 0.1em 0; } + +.morris-hover.morris-default-style { + border-radius: 2px; + padding: 10px 12px; + color: #666; + background: rgba(0, 0, 0, 0.7); + border: none; + color: #fff !important; } + +.morris-hover-point { + color: rgba(255, 255, 255, 0.8) !important; } + +#morris-bar-chart { + height: 285px; } + +.map, +.vmap { + width: 100%; + height: 400px; } + +.btn-toolbar { + float: left !important; } + .btn-toolbar .btn-outline-secondary:not([disabled]):not(.disabled).active, + .btn-toolbar .btn-outline-secondary:not([disabled]):not(.disabled):active, + .btn-toolbar .show > .btn-outline-secondary.dropdown-toggle { + background-color: #212529; + border-color: #212529; + box-shadow: none; + color: #fff; } + .btn-toolbar .btn-outline-secondary:hover { + background-color: #212529; + border-color: #212529; + color: #fff; } + +.jqvmap-zoomin, +.jqvmap-zoomout { + width: 15px; + height: 15px; } + +/* Widget One +---------------------------*/ +.dib { + display: inline-block; } + +.stat-widget-one .stat-icon { + vertical-align: top; } + +.stat-widget-one .stat-icon i { + font-size: 30px; + border-width: 3px; + border-style: solid; + border-radius: 100px; + padding: 15px; + font-weight: 900; + display: inline-block; } + +.stat-widget-one .stat-content { + margin-left: 30px; + margin-top: 7px; } + +.stat-widget-one .stat-text { + font-size: 14px; + color: #868e96; } + +.stat-widget-one .stat-digit { + font-size: 24px; + color: #373757; } + +/* Widget Two +---------------------------*/ +.stat-widget-two { + text-align: center; } + +.stat-widget-two .stat-digit { + font-size:28px; + font-size: 1.75rem; + font-weight: 500; + color: #373757; } + +.stat-widget-two .stat-digit i { + font-size: 18px; + margin-right: 5px; } + +.stat-widget-two .stat-text { + font-size: 16px; + margin-bottom: 5px; + color: #868e96; } + +.stat-widget-two .progress { + height: 8px; + margin-bottom: 0; + margin-top: 20px; + box-shadow: none; } + +.stat-widget-two .progress-bar { + box-shadow: none; } + +/* Widget Three +---------------------------*/ +.stat-widget-three .stat-icon { + display: inline-block; + padding: 33px; + position: absolute; + line-height: 21px; } + +.stat-widget-three .stat-icon i { + font-size: 30px; + color: #ffffff; } + +.stat-widget-three .stat-content { + text-align: center; + padding: 15px; + margin-left: 90px; } + +.stat-widget-three .stat-digit { + font-size: 30px; } + +.stat-widget-three .stat-text { + padding-top: 4px; } + +.home-widget-three .stat-icon { + line-height: 19px; + padding: 27px; } + +.home-widget-three .stat-digit { + font-size: 24px; + font-weight: 300; + color: #373757; } + +.home-widget-three .stat-content { + text-align: center; + margin-left: 60px; + padding: 13px; } + +.stat-widget-four { + position: relative; } + +.stat-widget-four .stat-icon { + display: inline-block; + position: absolute; + top: 5px; } + +.stat-widget-four i { + display: block; + font-size: 36px; } + +.stat-widget-four .stat-content { + margin-left: 40px; + text-align: center; } + +.stat-widget-four .stat-heading { + font-size: 20px; } + +.stat-widget-five .stat-icon { + border-radius: 100px; + display: inline-block; + position: absolute; } + +.stat-widget-five i { + border-radius: 100px; + display: block; + font-size: 36px; + padding: 30px; } + +.stat-widget-five .stat-content { + margin-left: 100px; + padding: 24px 0; + position: relative; + text-align: right; + vertical-align: middle; } + +.stat-widget-five .stat-heading { + text-align: right; + padding-left: 80px; + font-size: 20px; + font-weight: 200; } + +.stat-widget-six { + position: relative; } + +.stat-widget-six .stat-icon { + display: inline-block; + position: absolute; + top: 5px; } + +.stat-widget-six i { + display: block; + font-size: 36px; } + +.stat-widget-six .stat-content { + margin-left: 40px; + text-align: center; } + +.stat-widget-six .stat-heading { + font-size: 16px; + font-weight: 300; } + +.stat-widget-six .stat-text { + font-size: 12px; + padding-top: 4px; } + +.stat-widget-seven .stat-heading { + text-align: center; } + +.stat-widget-seven .gradient-circle { + text-align: center; + position: relative; + margin: 30px auto; + display: inline-block; + width: 100%; } + +.stat-widget-seven .gradient-circle i { + position: absolute; + left: 0; + right: 0; + text-align: center; + top: 35px; + font-size: 30px; } + +.stat-widget-seven .stat-footer { + text-align: center; + margin-top: 30px; } + +.stat-widget-seven .stat-footer .stat-count { + padding-left: 5px; } + +.stat-widget-seven .count-header { + color: #252525; + font-size: 12px; + font-weight: 400; + line-height: 30px; } + +.stat-widget-seven .stat-count { + font-size: 18px; + font-weight: 400; + color: #252525; } + +.stat-widget-seven .analytic-arrow { + position: relative; } + +.stat-widget-seven .analytic-arrow i { + font-size: 12px; } + +/* Stat widget Eight +--------------------------- */ +.stat-widget-eight { + padding: 15px; } + +.stat-widget-eight .header-title { + font-size: 20px; + font-weight: 300; } + +.stat-widget-eight .ti-more-alt { + color: #878787; + cursor: pointer; + left: -5px; + position: absolute; + -webkit-transform: rotate(90deg); + -ms-transform: rotate(90deg); + transform: rotate(90deg); } + +.stat-widget-eight .stat-content { + margin-top: 50px; } + +.stat-widget-eight .stat-content .ti-arrow-up { + font-size: 30px; + color: #28a745; } + +.stat-widget-eight .stat-content .stat-digit { + font-size: 24px; + font-weight: 300; + margin-left: 15px; } + +.stat-widget-eight .stat-content .progress-stats { + color: #aaadb2; + font-weight: 400; + position: relative; + top: 10px; } + +.stat-widget-eight .progress { + margin-bottom: 0; + margin-top: 30px; + height: 7px; + background: #EAEAEA; + box-shadow: none; } + +.stat-widget-nine .all-like { + float: right; } + +.stat-widget-nine .stat-icon i { + font-size: 22px; } + +.stat-widget-nine .stat-text { + font-size: 14px; } + +.stat-widget-nine .stat-digit { + font-size: 14px; } + +.stat-widget-nine .like-count { + font-size: 30px; } + +.horizontal { + position: relative; } + +.horizontal:before { + background: #ffffff; + bottom: 0; + content: ""; + height: 38px; + left: 0; + margin: 0 auto; + position: absolute; + right: 0; + width: 1px; } + +.widget-ten span i { + color: #ffffff; + opacity: 0.5; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; } + +.widget-ten h5 { + color: #ffffff; } + +.widget-ten p { + color: #ffffff !important; + opacity: 0.75; + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=75)"; } + +/* Mixed Styles */ +.badges h1, +.badges h2, +.badges h3, +.badges h4, +.badges h5, +.badges h6 { + margin: 5px 0; } + +.vue-lists ol, +.vue-lists ul { + padding-left: 30px; } + +.card .dropdown.float-right .dropdown-menu { + left: inherit !important; + right: 0 !important; + top: 93% !important; } + +.dataTables_paginate .pagination { + border-radius: 0; } + .dataTables_paginate .pagination li { + border-radius: 0 !important; } + .dataTables_paginate .pagination li a { + border-radius: 0 !important; + color: #272c33; } + .dataTables_paginate .pagination li.active a { + background: #272c33; + border-color: #272c33; + color: #fff; } + .dataTables_paginate .pagination li:hover a { + background: #272c33; + border-color: #272c33; + color: #fff; } + +@media (max-width: 1368px) { + .content { + padding: 0 15px; } + .twt-category { + margin-bottom: 0; } + .twt-feed { + max-height: 155px; } + .twt-feed img { + height: 75px; + width: 75px; } + .stat-widget-one .stat-content { + margin-left: 15px; } + .card-body { + padding: 15px; } + .badges button { + margin: 2px 0; } } + +@media (max-width: 1024px) { + aside.left-panel { + padding: 0 20px; + width: 200px; } + .navbar .navbar-nav li > a .menu-icon { + width: 30px; } + .navbar .navbar-nav li.menu-item-has-children .sub-menu { + padding: 0 0 0 30px; } + .navbar .navbar-nav li.menu-item-has-children .sub-menu a { + padding: 2px 0 2px 25px; } + .card .card-header { + position: relative; } + .card .card-header strong { + display: block; } + .card .card-header small { + float: left; } + .card .card-header .card-actions { + right: 0; + top: 0.75rem; + position: absolute; } } + +@media (max-width: 992px) { + [class*="col"].no-padding { + -webkit-box-flex: 0; + -ms-flex: none; + flex: none; } } + +@media (max-width: 575.99px) { + body { + display: block; } + aside.left-panel { + display: block; + height: auto; + min-height: inherit; + padding: 0 15px; + width: 100%; } + aside.left-panel .navbar { + margin-bottom: 0; } + aside.left-panel .navbar .navbar-header { + height: 50px; } + aside.left-panel .navbar .navbar-brand { + border-bottom: none; + display: inline-block; + float: left; + line-height: 1; + margin-top: 11px; + min-height: inherit; } + aside.left-panel .navbar .navbar-brand.hidden { + display: none; } + aside.left-panel .navbar .navbar-toggler { + float: right; + margin-top: 8px; } + aside.left-panel .navbar .navbar-nav li > a { + padding: 5px 0; } + aside.left-panel .navbar .navbar-nav li.menu-item-has-children a:before { + top: 5px; } + aside.left-panel .navbar .menu-title { + line-height: 30px; + padding: 0; } + .menutoggle { + display: none; } + .right-panel { + display: block; } + .right-panel header.header { + padding: 5px 10px 1px 5px; } + .right-panel header.header div[class*="col"] { + padding: 0; + width: initial; } + .right-panel header.header .col-sm-7 { + float: left; } + .right-panel header.header .col-sm-5 { + float: right; } + .right-panel .breadcrumbs { + padding: 10px 15px; } + .right-panel .breadcrumbs div[class*="col"] { + padding: 0; } + .right-panel .breadcrumbs .page-header { + min-height: inherit; + padding: 0; } + .right-panel .breadcrumbs .page-header h1 { + padding: 5px 0; } + .right-panel .breadcrumbs .page-header.float-right { + float: left; + text-align: left; + width: 100%; } + .right-panel .breadcrumbs .page-header.float-right .breadcrumb { + padding: 0; } + .right-panel .content { + padding: 0 10px; } + .right-panel .content .card .card-title { + margin-bottom: 0; } + .right-panel .content .card .card-footer { + padding: 15px 5px; } + .right-panel .content .card .card-footer ul { + margin: 0; } + .right-panel .content .card .card-footer ul li { + float: left; + margin: 5px 0; + padding: 0 10px; + width: 33.33%; } + .right-panel .content div[class*="col"] { + padding: 0; } + .right-panel .content .row div[class*="col"] { + padding: 0 10px; } + .right-panel .content .nav-pills .nav-link, + .right-panel .content .nav-tabs .nav-link { + padding: 0.5rem; } + .right-panel .content .tab-content.pl-3 { + padding-left: 0 !important; } + .right-panel .content #bootstrap-data-table_wrapper { + font-size: 14px; + padding: 0; } + .right-panel .content #bootstrap-data-table_wrapper div[class*="col"] { + padding: 0; } + .right-panel .content #bootstrap-data-table_wrapper .table td, + .right-panel .content #bootstrap-data-table_wrapper .table th { + padding: 5px; } } diff --git a/scrapyd_dash/static/css/style.css.map b/scrapyd_dash/static/css/style.css.map new file mode 100755 index 0000000..22880c7 --- /dev/null +++ b/scrapyd_dash/static/css/style.css.map @@ -0,0 +1,14 @@ +{ + "version": 3, + "file": "style.css", + "sources": [ + "../scss/style.scss", + "../scss/_variables.scss", + "../scss/_gauge.scss", + "../scss/_switches.scss", + "../scss/_widgets.scss", + "../scss/_socials.scss" + ], + "names": [], + "mappings": "AAAA;;;;;;;;;;;4DAW4D;ACF5D,eAAe;ADQf,OAAO,CAAP,8CAAO;AEjBP,AAAA,aAAa,CAAC;EACV,QAAQ,EAAE,QAAQ;EAClB,MAAM,EAAE,MAAM,GAiDjB;EAnDD,AAII,aAJS,CAIT,MAAM,AAAA,QAAQ,CAAC;IACX,KAAK,EAAE,eAAe;IACtB,MAAM,EAAE,eAAe,GAC1B;EAPL,AASI,aATS,AASR,UAAU,CAAC,MAAM;EATtB,aAAa,CAUT,CAAC,CAAC;IACE,GAAG,EAAE,GAAG;IACR,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,MAAM,GACrB;EAfL,AAiBI,aAjBS,CAiBT,CAAC,CAAC;IACE,QAAQ,EAAE,QAAQ;IAClB,IAAI,EAAE,CAAC;IACP,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE,IAAI,GAClB;EAvBL,AA0BQ,aA1BK,AAyBR,OAAO,CACJ,MAAM,CAAC;IACH,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,KAAK,GACpB;EA7BT,AA+BQ,aA/BK,AAyBR,OAAO,CAMJ,KAAK,CAAC;IACF,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,GAAG;IAChB,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,SAAS,GAC5B;EAtCT,AAyCI,aAzCS,AAyCR,UAAU,CAAC;IACR,QAAQ,EAAE,QAAQ,GAQrB;IAlDL,AA4CQ,aA5CK,AAyCR,UAAU,CAGP,MAAM,CAAC;MACH,QAAQ,EAAE,QAAQ;MAClB,UAAU,EAAE,IAAI;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AAC;UACN,OAAO,EAAE,GAAG,GACf" +} \ No newline at end of file diff --git a/scrapyd_dash/static/js/bootstrap-notify.min.js b/scrapyd_dash/static/js/bootstrap-notify.min.js new file mode 100644 index 0000000..f5ad385 --- /dev/null +++ b/scrapyd_dash/static/js/bootstrap-notify.min.js @@ -0,0 +1,2 @@ +/* Project: Bootstrap Growl = v3.1.3 | Description: Turns standard Bootstrap alerts into "Growl-like" notifications. | Author: Mouse0270 aka Robert McIntosh | License: MIT License | Website: https://github.com/mouse0270/bootstrap-growl */ +!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t){function e(e,i,n){var i={content:{message:"object"==typeof i?i.message:i,title:i.title?i.title:"",icon:i.icon?i.icon:"",url:i.url?i.url:"#",target:i.target?i.target:"-"}};n=t.extend(!0,{},i,n),this.settings=t.extend(!0,{},s,n),this._defaults=s,"-"==this.settings.content.target&&(this.settings.content.target=this.settings.url_target),this.animations={start:"webkitAnimationStart oanimationstart MSAnimationStart animationstart",end:"webkitAnimationEnd oanimationend MSAnimationEnd animationend"},"number"==typeof this.settings.offset&&(this.settings.offset={x:this.settings.offset,y:this.settings.offset}),this.init()}var s={element:"body",position:null,type:"info",allow_dismiss:!0,newest_on_top:!1,showProgressbar:!1,placement:{from:"top",align:"right"},offset:20,spacing:10,z_index:1031,delay:5e3,timer:1e3,url_target:"_blank",mouse_over:null,animate:{enter:"animated fadeInDown",exit:"animated fadeOutUp"},onShow:null,onShown:null,onClose:null,onClosed:null,icon_type:"class",template:''};String.format=function(){for(var t=arguments[0],e=1;e .progress-bar').removeClass("progress-bar-"+t.settings.type),t.settings.type=i[e],this.$ele.addClass("alert-"+i[e]).find('[data-notify="progressbar"] > .progress-bar').addClass("progress-bar-"+i[e]);break;case"icon":var n=this.$ele.find('[data-notify="icon"]');"class"==t.settings.icon_type.toLowerCase()?n.removeClass(t.settings.content.icon).addClass(i[e]):(n.is("img")||n.find("img"),n.attr("src",i[e]));break;case"progress":var a=t.settings.delay-t.settings.delay*(i[e]/100);this.$ele.data("notify-delay",a),this.$ele.find('[data-notify="progressbar"] > div').attr("aria-valuenow",i[e]).css("width",i[e]+"%");break;case"url":this.$ele.find('[data-notify="url"]').attr("href",i[e]);break;case"target":this.$ele.find('[data-notify="url"]').attr("target",i[e]);break;default:this.$ele.find('[data-notify="'+e+'"]').html(i[e])}var o=this.$ele.outerHeight()+parseInt(t.settings.spacing)+parseInt(t.settings.offset.y);t.reposition(o)},close:function(){t.close()}}},buildNotify:function(){var e=this.settings.content;this.$ele=t(String.format(this.settings.template,this.settings.type,e.title,e.message,e.url,e.target)),this.$ele.attr("data-notify-position",this.settings.placement.from+"-"+this.settings.placement.align),this.settings.allow_dismiss||this.$ele.find('[data-notify="dismiss"]').css("display","none"),(this.settings.delay<=0&&!this.settings.showProgressbar||!this.settings.showProgressbar)&&this.$ele.find('[data-notify="progressbar"]').remove()},setIcon:function(){"class"==this.settings.icon_type.toLowerCase()?this.$ele.find('[data-notify="icon"]').addClass(this.settings.content.icon):this.$ele.find('[data-notify="icon"]').is("img")?this.$ele.find('[data-notify="icon"]').attr("src",this.settings.content.icon):this.$ele.find('[data-notify="icon"]').append('Notify Icon')},styleURL:function(){this.$ele.find('[data-notify="url"]').css({backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)",height:"100%",left:"0px",position:"absolute",top:"0px",width:"100%",zIndex:this.settings.z_index+1}),this.$ele.find('[data-notify="dismiss"]').css({position:"absolute",right:"10px",top:"5px",zIndex:this.settings.z_index+2})},placement:function(){var e=this,s=this.settings.offset.y,i={display:"inline-block",margin:"0px auto",position:this.settings.position?this.settings.position:"body"===this.settings.element?"fixed":"absolute",transition:"all .5s ease-in-out",zIndex:this.settings.z_index},n=!1,a=this.settings;switch(t('[data-notify-position="'+this.settings.placement.from+"-"+this.settings.placement.align+'"]:not([data-closing="true"])').each(function(){return s=Math.max(s,parseInt(t(this).css(a.placement.from))+parseInt(t(this).outerHeight())+parseInt(a.spacing))}),1==this.settings.newest_on_top&&(s=this.settings.offset.y),i[this.settings.placement.from]=s+"px",this.settings.placement.align){case"left":case"right":i[this.settings.placement.align]=this.settings.offset.x+"px";break;case"center":i.left=0,i.right=0}this.$ele.css(i).addClass(this.settings.animate.enter),t.each(Array("webkit","moz","o","ms",""),function(t,s){e.$ele[0].style[s+"AnimationIterationCount"]=1}),t(this.settings.element).append(this.$ele),1==this.settings.newest_on_top&&(s=parseInt(s)+parseInt(this.settings.spacing)+this.$ele.outerHeight(),this.reposition(s)),t.isFunction(e.settings.onShow)&&e.settings.onShow.call(this.$ele),this.$ele.one(this.animations.start,function(){n=!0}).one(this.animations.end,function(){t.isFunction(e.settings.onShown)&&e.settings.onShown.call(this)}),setTimeout(function(){n||t.isFunction(e.settings.onShown)&&e.settings.onShown.call(this)},600)},bind:function(){var e=this;if(this.$ele.find('[data-notify="dismiss"]').on("click",function(){e.close()}),this.$ele.mouseover(function(){t(this).data("data-hover","true")}).mouseout(function(){t(this).data("data-hover","false")}),this.$ele.data("data-hover","false"),this.settings.delay>0){e.$ele.data("notify-delay",e.settings.delay);var s=setInterval(function(){var t=parseInt(e.$ele.data("notify-delay"))-e.settings.timer;if("false"===e.$ele.data("data-hover")&&"pause"==e.settings.mouse_over||"pause"!=e.settings.mouse_over){var i=(e.settings.delay-t)/e.settings.delay*100;e.$ele.data("notify-delay",t),e.$ele.find('[data-notify="progressbar"] > div').attr("aria-valuenow",i).css("width",i+"%")}t<=-e.settings.timer&&(clearInterval(s),e.close())},e.settings.timer)}},close:function(){var e=this,s=parseInt(this.$ele.css(this.settings.placement.from)),i=!1;this.$ele.data("closing","true").addClass(this.settings.animate.exit),e.reposition(s),t.isFunction(e.settings.onClose)&&e.settings.onClose.call(this.$ele),this.$ele.one(this.animations.start,function(){i=!0}).one(this.animations.end,function(){t(this).remove(),t.isFunction(e.settings.onClosed)&&e.settings.onClosed.call(this)}),setTimeout(function(){i||(e.$ele.remove(),e.settings.onClosed&&e.settings.onClosed(e.$ele))},600)},reposition:function(e){var s=this,i='[data-notify-position="'+this.settings.placement.from+"-"+this.settings.placement.align+'"]:not([data-closing="true"])',n=this.$ele.nextAll(i);1==this.settings.newest_on_top&&(n=this.$ele.prevAll(i)),n.each(function(){t(this).css(s.settings.placement.from,e),e=parseInt(e)+parseInt(s.settings.spacing)+t(this).outerHeight()})}}),t.notify=function(t,s){var i=new e(this,t,s);return i.notify},t.notifyDefaults=function(e){return s=t.extend(!0,{},s,e)},t.notifyClose=function(e){"undefined"==typeof e||"all"==e?t("[data-notify]").find('[data-notify="dismiss"]').trigger("click"):t('[data-notify-position="'+e+'"]').find('[data-notify="dismiss"]').trigger("click")}}); \ No newline at end of file diff --git a/scrapyd_dash/static/js/chained_dropdown.js b/scrapyd_dash/static/js/chained_dropdown.js new file mode 100644 index 0000000..b4703fb --- /dev/null +++ b/scrapyd_dash/static/js/chained_dropdown.js @@ -0,0 +1,78 @@ +/* CHAINED DROPDOWNS FOR ADDING TASKS */ + +$('#versionSelect').change(function (){ + var selectedProject = $('#projectSelect').val(); + var selectedVersion = $('#versionSelect').val(); + var selectedServer = $('#serverSelect').val(); + + $('#spiderSelect').empty(); + + $.ajax({ + url: "/api/v3/get_spiders/", + dataType: "json", + data: { + 'project': selectedProject, + 'server': selectedServer, + 'version': selectedVersion + }, + success : function (resp){ + $("#spiderSelect").append(''); + + $.each(resp, function( index, value ) { + var o = new Option(value, value); + $(o).html(value); + $("#spiderSelect").append(o); + }); + } + }); +}); + +$('#projectSelect').change(function (){ + var selectedProject = $('#projectSelect').val(); + + $('#versionSelect').empty(); + $('#spiderSelect').empty(); + + $.ajax({ + url: "/api/v3/get_versions/", + dataType: "json", + data: { + 'project': selectedProject + }, + success : function (resp){ + $("#versionSelect").append(''); + $("#versionSelect").append(''); + $.each(resp, function( index, value ) { + var o = new Option(value['name'], value['name']); + $(o).html(value['name']); + $("#versionSelect").append(o); + }); + } + }); +}); + + +$('#serverSelect').change(function (){ + var selectedServer = $('#serverSelect').val(); + + $('#projectSelect').empty(); + $('#versionSelect').empty(); + $('#spiderSelect').empty(); + + $.ajax({ + url: "/api/v3/get_projects/", + dataType: "json", + data: { + 'server': selectedServer + }, + success : function (resp) { + $("#projectSelect").append(''); + $.each(resp, function( index, value ) { + var o = new Option(value['pk'], value['pk']); + + $(o).html(value['name']); + $("#projectSelect").append(o); + }); + } + }); +}); \ No newline at end of file diff --git a/scrapyd_dash/static/js/main.js b/scrapyd_dash/static/js/main.js new file mode 100755 index 0000000..d47c665 --- /dev/null +++ b/scrapyd_dash/static/js/main.js @@ -0,0 +1,38 @@ +$.noConflict(); + +jQuery(document).ready(function($) { + + "use strict"; + + [].slice.call( document.querySelectorAll( 'select.cs-select' ) ).forEach( function(el) { + new SelectFx(el); + } ); + + jQuery('.selectpicker').selectpicker; + + + $('#menuToggle').on('click', function(event) { + $('body').toggleClass('open'); + }); + + $('.search-trigger').on('click', function(event) { + event.preventDefault(); + event.stopPropagation(); + $('.search-trigger').parent('.header-left').addClass('open'); + }); + + $('.search-close').on('click', function(event) { + event.preventDefault(); + event.stopPropagation(); + $('.search-trigger').parent('.header-left').removeClass('open'); + }); + + // $('.user-area> a').on('click', function(event) { + // event.preventDefault(); + // event.stopPropagation(); + // $('.user-menu').parent().removeClass('open'); + // $('.user-menu').parent().toggleClass('open'); + // }); + + +}); \ No newline at end of file diff --git a/scrapyd_dash/static/js/script.js b/scrapyd_dash/static/js/script.js new file mode 100644 index 0000000..c2be179 --- /dev/null +++ b/scrapyd_dash/static/js/script.js @@ -0,0 +1,70 @@ +//Scroll to the top button +$(document).ready(function(){ + $(window).scroll(function(){ + if ($(this).scrollTop() > 100) { + $('.scroll-to-top').fadeIn(); + } else { + $('.scroll-to-top').fadeOut(); + } + }); + $('.scroll-to-top').click(function(){ + $("html, body").animate({ scrollTop: 0 }, 600); + return false; + }); +}); + +//Ip validation for ADD_SERVER form +function ValidateIPaddress(ip) +{ + var ipFormat = /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/; + var domainFormat = /^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$/; + + if(ip.value.match(ipFormat) || ip.value.match(domainFormat)) + { + document.add_server_form.server_ip.focus(); + return true; + } + else + { + alert("You have entered an invalid IP address!"); + document.add_server_form.server_ip.focus();return false; + } +} + +function django_messages(msg, type) { + /* + This dict is needed because some of the django + message types are not the same as in bootstrap notify + */ + var types = { + "success": "success", + "error": "danger", + "info": "info" + }; + $.notify({ + // options + message: msg + },{ + type: types[type], + allow_dismiss: true, + newest_on_top: true, + placement: { + from: "top", + align: "center" + }, + offset: { + x: 20, + y: 5 + }, + delay: 5000, + timer: 1000, + animate: { + enter: 'animated fadeInDown', + exit: 'animated fadeOutUp' + } + }); +} + +function showLoader() { + document.getElementById("loader").style.display = "block"; +} \ No newline at end of file diff --git a/scrapyd_dash/static/vendors/bootstrap/.babelrc.js b/scrapyd_dash/static/vendors/bootstrap/.babelrc.js new file mode 100644 index 0000000..3dba11b --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.babelrc.js @@ -0,0 +1,20 @@ +module.exports = { + presets: [ + [ + '@babel/env', + { + loose: true, + modules: false, + exclude: ['transform-typeof-symbol'] + } + ] + ], + plugins: [ + '@babel/proposal-object-rest-spread' + ], + env: { + test: { + plugins: [ 'istanbul' ] + } + } +}; diff --git a/scrapyd_dash/static/vendors/bootstrap/.bower.json b/scrapyd_dash/static/vendors/bootstrap/.bower.json new file mode 100644 index 0000000..85ec1d3 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.bower.json @@ -0,0 +1,14 @@ +{ + "name": "bootstrap", + "homepage": "https://github.com/twbs/bootstrap", + "version": "4.1.3", + "_release": "4.1.3", + "_resolution": { + "type": "version", + "tag": "v4.1.3", + "commit": "3b558734382ce58b51e5fc676453bfd53bba9201" + }, + "_source": "https://github.com/twbs/bootstrap.git", + "_target": "^4.1.3", + "_originalSource": "bootstrap" +} \ No newline at end of file diff --git a/scrapyd_dash/static/vendors/bootstrap/.browserslistrc b/scrapyd_dash/static/vendors/bootstrap/.browserslistrc new file mode 100644 index 0000000..1bfd197 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.browserslistrc @@ -0,0 +1,13 @@ +# https://github.com/browserslist/browserslist#readme + +>= 1% +last 1 major version +not dead +Chrome >= 45 +Firefox >= 38 +Edge >= 12 +Explorer >= 10 +iOS >= 9 +Safari >= 9 +Android >= 4.4 +Opera >= 30 diff --git a/scrapyd_dash/static/vendors/bootstrap/.editorconfig b/scrapyd_dash/static/vendors/bootstrap/.editorconfig new file mode 100644 index 0000000..9d5248e --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.editorconfig @@ -0,0 +1,14 @@ +# editorconfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false diff --git a/scrapyd_dash/static/vendors/bootstrap/.eslintignore b/scrapyd_dash/static/vendors/bootstrap/.eslintignore new file mode 100644 index 0000000..e1d5490 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.eslintignore @@ -0,0 +1,5 @@ +**/*.min.js +**/dist/ +**/vendor/ +/_gh_pages/ +/package.js diff --git a/scrapyd_dash/static/vendors/bootstrap/.eslintrc.json b/scrapyd_dash/static/vendors/bootstrap/.eslintrc.json new file mode 100644 index 0000000..38ba819 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.eslintrc.json @@ -0,0 +1,233 @@ +{ + "root": true, + "parser": "babel-eslint", + "env": { + "browser": true, + "es6": true + }, + "extends": ["eslint:recommended", "plugin:compat/recommended"], + "rules": { + // Possible Errors + "no-await-in-loop": "error", + "no-extra-parens": "error", + "no-prototype-builtins": "error", + "no-template-curly-in-string": "error", + "valid-jsdoc": "error", + + // Best Practices + "accessor-pairs": "error", + "array-callback-return": "error", + "block-scoped-var": "error", + "class-methods-use-this": "off", + "complexity": "error", + "consistent-return": "error", + "curly": "error", + "default-case": "error", + "dot-location": ["error", "property"], + "dot-notation": "error", + "eqeqeq": "error", + "guard-for-in": "error", + "no-alert": "error", + "no-caller": "error", + "no-div-regex": "error", + "no-else-return": "error", + "no-empty-function": "error", + "no-eq-null": "error", + "no-eval": "error", + "no-extend-native": "error", + "no-extra-bind": "error", + "no-extra-label": "error", + "no-floating-decimal": "error", + "no-implicit-coercion": "error", + "no-implicit-globals": "error", + "no-implied-eval": "error", + "no-invalid-this": "off", + "no-iterator": "error", + "no-labels": "error", + "no-lone-blocks": "error", + "no-loop-func": "error", + "no-magic-numbers": ["error", { + "ignore": [-1, 0, 1], + "ignoreArrayIndexes": true + } + ], + "no-multi-spaces": ["error", { + "ignoreEOLComments": true, + "exceptions": { + "AssignmentExpression": true, + "ArrowFunctionExpression": true, + "CallExpression": true, + "VariableDeclarator": true + } + } + ], + "no-multi-str": "error", + "no-new": "error", + "no-new-func": "error", + "no-new-wrappers": "error", + "no-octal-escape": "error", + "no-param-reassign": "off", + "no-proto": "error", + "no-restricted-properties": "error", + "no-return-assign": "error", + "no-return-await": "error", + "no-script-url": "error", + "no-self-compare": "error", + "no-sequences": "error", + "no-throw-literal": "error", + "no-unmodified-loop-condition": "error", + "no-unused-expressions": "error", + "no-useless-call": "error", + "no-useless-concat": "error", + "no-useless-return": "error", + "no-void": "error", + "no-warning-comments": "off", + "no-with": "error", + "prefer-promise-reject-errors": "error", + "radix": "error", + "require-await": "error", + "vars-on-top": "error", + "wrap-iife": "error", + "yoda": "error", + + // Strict Mode + "strict": "error", + + // Variables + "init-declarations": "off", + "no-catch-shadow": "error", + "no-label-var": "error", + "no-restricted-globals": "error", + "no-shadow": "off", + "no-shadow-restricted-names": "error", + "no-undef-init": "error", + "no-undefined": "error", + "no-use-before-define": "off", + + // Node.js and CommonJS + "callback-return": "off", + "global-require": "error", + "handle-callback-err": "error", + "no-mixed-requires": "error", + "no-new-require": "error", + "no-path-concat": "error", + "no-process-env": "error", + "no-process-exit": "error", + "no-restricted-modules": "error", + "no-sync": "error", + + // Stylistic Issues + "array-bracket-spacing": "error", + "block-spacing": "error", + "brace-style": "error", + "camelcase": "error", + "capitalized-comments": "off", + "comma-dangle": "error", + "comma-spacing": "error", + "comma-style": "error", + "computed-property-spacing": "error", + "consistent-this": "error", + "eol-last": "error", + "func-call-spacing": "error", + "func-name-matching": "error", + "func-names": "off", + "func-style": ["error", "declaration"], + "id-blacklist": "error", + "id-length": "off", + "id-match": "error", + "indent": ["error", 2, { "SwitchCase": 1 }], + "jsx-quotes": "error", + "key-spacing": "off", + "keyword-spacing": "error", + "linebreak-style": ["error", "unix"], + "line-comment-position": "off", + "lines-around-comment": "off", + "lines-around-directive": "error", + "max-depth": ["error", 10], + "max-len": "off", + "max-lines": "off", + "max-nested-callbacks": "error", + "max-params": "off", + "max-statements": "off", + "max-statements-per-line": "error", + "multiline-ternary": "off", + "new-cap": ["error", { "capIsNewExceptionPattern": "$.*" }], + "newline-after-var": "off", + "newline-per-chained-call": ["error", { "ignoreChainWithDepth": 5 }], + "new-parens": "error", + "no-array-constructor": "error", + "no-bitwise": "error", + "no-continue": "off", + "no-inline-comments": "off", + "no-lonely-if": "error", + "no-mixed-operators": "off", + "no-multi-assign": "error", + "no-multiple-empty-lines": "error", + "nonblock-statement-body-position": "error", + "no-negated-condition": "off", + "no-nested-ternary": "error", + "no-new-object": "error", + "no-plusplus": "off", + "no-restricted-syntax": "error", + "no-tabs": "error", + "no-ternary": "off", + "no-trailing-spaces": "error", + "no-underscore-dangle": "off", + "no-unneeded-ternary": "error", + "no-whitespace-before-property": "error", + "object-curly-newline": ["error", { "minProperties": 1 }], + "object-curly-spacing": ["error", "always"], + "object-property-newline": "error", + "one-var": ["error", "never"], + "one-var-declaration-per-line": "error", + "operator-assignment": "error", + "operator-linebreak": "error", + "padded-blocks": ["error", "never"], + "padding-line-between-statements": "off", + "quote-props": ["error", "as-needed"], + "quotes": ["error", "single"], + "require-jsdoc": "off", + "semi": ["error", "never"], + "semi-spacing": "error", + "sort-keys": "off", + "sort-vars": "error", + "space-before-blocks": "error", + "space-before-function-paren": ["error", { + "anonymous": "always", + "named": "never" + }], + "space-in-parens": "error", + "space-infix-ops": "error", + "space-unary-ops": "error", + "spaced-comment": "error", + "template-tag-spacing": "error", + "unicode-bom": "error", + "wrap-regex": "off", + + // ECMAScript 6 + "arrow-body-style": ["error", "as-needed"], + "arrow-parens": "error", + "arrow-spacing": "error", + "generator-star-spacing": "error", + "no-confusing-arrow": "error", + "no-duplicate-imports": "error", + "no-restricted-imports": "error", + "no-useless-computed-key": "error", + "no-useless-constructor": "error", + "no-useless-rename": "error", + "no-var": "error", + "object-shorthand": "error", + "prefer-arrow-callback": "error", + "prefer-const": "error", + "prefer-destructuring": "off", + "prefer-numeric-literals": "error", + "prefer-rest-params": "error", + "prefer-spread": "error", + "prefer-template": "error", + "rest-spread-spacing": "error", + "sort-imports": "error", + "symbol-description": "error", + "template-curly-spacing": "error", + "yield-star-spacing": "error" + } +} diff --git a/scrapyd_dash/static/vendors/bootstrap/.gitattributes b/scrapyd_dash/static/vendors/bootstrap/.gitattributes new file mode 100644 index 0000000..39813c7 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.gitattributes @@ -0,0 +1,18 @@ +# Enforce Unix newlines +*.css text eol=lf +*.html text eol=lf +*.js text eol=lf +*.json text eol=lf +*.md text eol=lf +*.rb text eol=lf +*.scss text eol=lf +*.svg text eol=lf +*.txt text eol=lf +*.xml text eol=lf +*.yml text eol=lf + +# Don't diff or textually merge source maps +*.map binary + +bootstrap.css linguist-vendored=false +bootstrap.js linguist-vendored=false diff --git a/scrapyd_dash/static/vendors/bootstrap/.github/CONTRIBUTING.md b/scrapyd_dash/static/vendors/bootstrap/.github/CONTRIBUTING.md new file mode 100644 index 0000000..f579111 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.github/CONTRIBUTING.md @@ -0,0 +1,243 @@ +# Contributing to Bootstrap + +Looking to contribute something to Bootstrap? **Here's how you can help.** + +Please take a moment to review this document in order to make the contribution +process easy and effective for everyone involved. + +Following these guidelines helps to communicate that you respect the time of +the developers managing and developing this open source project. In return, +they should reciprocate that respect in addressing your issue or assessing +patches and features. + + +## Using the issue tracker + +The [issue tracker](https://github.com/twbs/bootstrap/issues) is +the preferred channel for [bug reports](#bug-reports), [features requests](#feature-requests) +and [submitting pull requests](#pull-requests), but please respect the following +restrictions: + +* Please **do not** use the issue tracker for personal support requests. Stack + Overflow ([`bootstrap-4`](https://stackoverflow.com/questions/tagged/bootstrap-4) tag), [Slack](https://bootstrap-slack.herokuapp.com/) or [IRC](README.md#community) are better places to get help. + +* Please **do not** derail or troll issues. Keep the discussion on topic and + respect the opinions of others. + +* Please **do not** post comments consisting solely of "+1" or ":thumbsup:". + Use [GitHub's "reactions" feature](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) + instead. We reserve the right to delete comments which violate this rule. + +* Please **do not** open issues regarding the official themes offered on . + Instead, please email any questions or feedback regarding those themes to `themes AT getbootstrap DOT com`. + + +## Issues and labels + +Our bug tracker utilizes several labels to help organize and identify issues. Here's what they represent and how we use them: + +- `browser bug` - Issues that are reported to us, but actually are the result of a browser-specific bug. These are diagnosed with reduced test cases and result in an issue opened on that browser's own bug tracker. +- `confirmed` - Issues that have been confirmed with a reduced test case and identify a bug in Bootstrap. +- `css` - Issues stemming from our compiled CSS or source Sass files. +- `docs` - Issues for improving or updating our documentation. +- `examples` - Issues involving the example templates included in our docs. +- `feature` - Issues asking for a new feature to be added, or an existing one to be extended or modified. New features require a minor version bump (e.g., `v3.0.0` to `v3.1.0`). +- `build` - Issues with our build system, which is used to run all our tests, concatenate and compile source files, and more. +- `help wanted` - Issues we need or would love help from the community to resolve. +- `js` - Issues stemming from our compiled or source JavaScript files. +- `meta` - Issues with the project itself or our GitHub repository. + +For a complete look at our labels, see the [project labels page](https://github.com/twbs/bootstrap/labels). + + +## Bug reports + +A bug is a _demonstrable problem_ that is caused by the code in the repository. +Good bug reports are extremely helpful, so thanks! + +Guidelines for bug reports: + +0. **Validate and lint your code** — [validate your HTML](https://html5.validator.nu/) + and [lint your HTML](https://github.com/twbs/bootlint) to ensure your + problem isn't caused by a simple error in your own code. + +1. **Use the GitHub issue search** — check if the issue has already been + reported. + +2. **Check if the issue has been fixed** — try to reproduce it using the + latest `master` or development branch in the repository. + +3. **Isolate the problem** — ideally create a [reduced test + case](https://css-tricks.com/reduced-test-cases/) and a live example. + [This JS Bin](https://jsbin.com/lolome/edit?html,output) is a helpful template. + + +A good bug report shouldn't leave others needing to chase you up for more +information. Please try to be as detailed as possible in your report. What is +your environment? What steps will reproduce the issue? What browser(s) and OS +experience the problem? Do other browsers show the bug differently? What +would you expect to be the outcome? All these details will help people to fix +any potential bugs. + +Example: + +> Short and descriptive example bug report title +> +> A summary of the issue and the browser/OS environment in which it occurs. If +> suitable, include the steps required to reproduce the bug. +> +> 1. This is the first step +> 2. This is the second step +> 3. Further steps, etc. +> +> `` - a link to the reduced test case +> +> Any other information you want to share that is relevant to the issue being +> reported. This might include the lines of code that you have identified as +> causing the bug, and potential solutions (and your opinions on their +> merits). + +### Reporting upstream browser bugs + +Sometimes bugs reported to us are actually caused by bugs in the browser(s) themselves, not bugs in Bootstrap per se. +When feasible, we aim to report such upstream bugs to the relevant browser vendor(s), and then list them on our [Wall of Browser Bugs](https://getbootstrap.com/browser-bugs/) and [document them in MDN](https://developer.mozilla.org/en-US/docs/Web). + +| Vendor(s) | Browser(s) | Rendering engine | Bug reporting website(s) | Notes | +| ------------- | ---------------------------- | ---------------- | ------------------------------------------------------------------------------------- | -------------------------------------------------------- | +| Mozilla | Firefox | Gecko | https://bugzilla.mozilla.org/enter_bug.cgi | "Core" is normally the right product option to choose. | +| Apple | Safari | WebKit | https://bugs.webkit.org/enter_bug.cgi?product=WebKit
https://bugreport.apple.com/ | In Apple's bug reporter, choose "Safari" as the product. | +| Google, Opera | Chrome, Chromium, Opera v15+ | Blink | https://bugs.chromium.org/p/chromium/issues/list | Click the "New issue" button. | +| Microsoft | Edge | EdgeHTML | https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/ | | + +### Issues bots + +[@twbs-lmvtfy](https://github.com/twbs-lmvtfy) is a Bootstrap bot that hangs out in our GitHub issue tracker and automatically checks for HTML validation errors in live examples (e.g. jsFiddles, JS Bins, Bootplys, Plunks, CodePens, etc.) posted in issue comments. If it finds any errors, it will post a follow-up comment on the issue and point out the errors. If this happens with an example you've posted, please fix the errors and post an updated live example. If you opened a bug report, please check whether the bug still occurs with your revised, valid live example. If the bug no longer occurs, it was probably due to your invalid HTML rather than something in Bootstrap and we'd appreciate it if you could close out the GitHub issue. + + +## Feature requests + +Feature requests are welcome. But take a moment to find out whether your idea +fits with the scope and aims of the project. It's up to *you* to make a strong +case to convince the project's developers of the merits of this feature. Please +provide as much detail and context as possible. + + +## Pull requests + +Good pull requests—patches, improvements, new features—are a fantastic +help. They should remain focused in scope and avoid containing unrelated +commits. + +**Please ask first** before embarking on any significant pull request (e.g. +implementing features, refactoring code, porting to a different language), +otherwise you risk spending a lot of time working on something that the +project's developers might not want to merge into the project. + +Please adhere to the [coding guidelines](#code-guidelines) used throughout the +project (indentation, accurate comments, etc.) and any other requirements +(such as test coverage). + +**Do not edit `bootstrap.css`, or `bootstrap.js` +directly!** Those files are automatically generated. You should edit the +source files in [`/bootstrap/scss/`](https://github.com/twbs/bootstrap/tree/master/scss) +and/or [`/bootstrap/js/`](https://github.com/twbs/bootstrap/tree/master/js) instead. + +Similarly, when contributing to Bootstrap's documentation, you should edit the +documentation source files in +[the `/bootstrap/docs/` directory of the `master` branch](https://github.com/twbs/bootstrap/tree/master/docs). +**Do not edit the `gh-pages` branch.** That branch is generated from the +documentation source files and is managed separately by the Bootstrap Core Team. + +Adhering to the following process is the best way to get your work +included in the project: + +1. [Fork](https://help.github.com/articles/fork-a-repo/) the project, clone your fork, + and configure the remotes: + + ```bash + # Clone your fork of the repo into the current directory + git clone https://github.com//bootstrap.git + # Navigate to the newly cloned directory + cd bootstrap + # Assign the original repo to a remote called "upstream" + git remote add upstream https://github.com/twbs/bootstrap.git + ``` + +2. If you cloned a while ago, get the latest changes from upstream: + + ```bash + git checkout master + git pull upstream master + ``` + +3. Create a new topic branch (off the main project development branch) to + contain your feature, change, or fix: + + ```bash + git checkout -b + ``` + +4. Commit your changes in logical chunks. Please adhere to these [git commit + message guidelines](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) + or your code is unlikely be merged into the main project. Use Git's + [interactive rebase](https://help.github.com/articles/about-git-rebase/) + feature to tidy up your commits before making them public. + +5. Locally merge (or rebase) the upstream development branch into your topic branch: + + ```bash + git pull [--rebase] upstream master + ``` + +6. Push your topic branch up to your fork: + + ```bash + git push origin + ``` + +7. [Open a Pull Request](https://help.github.com/articles/about-pull-requests/) + with a clear title and description against the `master` branch. + +**IMPORTANT**: By submitting a patch, you agree to allow the project owners to +license your work under the terms of the [MIT License](LICENSE) (if it +includes code changes) and under the terms of the +[Creative Commons Attribution 3.0 Unported License](docs/LICENSE) +(if it includes documentation changes). + + +## Code guidelines + +### HTML + +[Adhere to the Code Guide.](http://codeguide.co/#html) + +- Use tags and elements appropriate for an HTML5 doctype (e.g., self-closing tags). +- Use CDNs and HTTPS for third-party JS when possible. We don't use protocol-relative URLs in this case because they break when viewing the page locally via `file://`. +- Use [WAI-ARIA](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA) attributes in documentation examples to promote accessibility. + +### CSS + +[Adhere to the Code Guide.](http://codeguide.co/#css) + +- When feasible, default color palettes should comply with [WCAG color contrast guidelines](https://www.w3.org/TR/WCAG20/#visual-audio-contrast). +- Except in rare cases, don't remove default `:focus` styles (via e.g. `outline: none;`) without providing alternative styles. See [this A11Y Project post](https://a11yproject.com/posts/never-remove-css-outlines/) for more details. + +### JS + +- No semicolons (in client-side JS) +- 2 spaces (no tabs) +- strict mode +- "Attractive" +- Don't use [jQuery event alias convenience methods](https://github.com/jquery/jquery/blob/master/src/event/alias.js) (such as `$().focus()`). Instead, use [`$().trigger(eventType, ...)`](https://api.jquery.com/trigger/) or [`$().on(eventType, ...)`](https://api.jquery.com/on/), depending on whether you're firing an event or listening for an event. (For example, `$().trigger('focus')` or `$().on('focus', function (event) { /* handle focus event */ })`) We do this to be compatible with custom builds of jQuery where the event aliases module has been excluded. + +### Checking coding style + +Run `npm run test` before committing to ensure your changes follow our coding standards. + + +## License + +By contributing your code, you agree to license your contribution under the [MIT License](LICENSE). +By contributing to the documentation, you agree to license your contribution under the [Creative Commons Attribution 3.0 Unported License](docs/LICENSE). + +Prior to v3.1.0, Bootstrap's code was released under the Apache License v2.0. diff --git a/scrapyd_dash/static/vendors/bootstrap/.github/ISSUE_TEMPLATE/bug.md b/scrapyd_dash/static/vendors/bootstrap/.github/ISSUE_TEMPLATE/bug.md new file mode 100644 index 0000000..8e12855 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.github/ISSUE_TEMPLATE/bug.md @@ -0,0 +1,11 @@ +Before opening: + +- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue) +- [Validate](https://html5.validator.nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems +- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md) + +Bug reports must include: + +- Operating system and version (Windows, macOS, Android, iOS, Win10 Mobile) +- Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser) +- [Reduced test case](https://css-tricks.com/reduced-test-cases/) and suggested fix using [CodePen](https://codepen.io/) or [JS Bin](https://jsbin.com/) diff --git a/scrapyd_dash/static/vendors/bootstrap/.github/ISSUE_TEMPLATE/bug_report.md b/scrapyd_dash/static/vendors/bootstrap/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..ab363e0 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,17 @@ +--- +name: Bug report +about: Tell us about a bug you may have identified in Bootstrap. + +--- + +Before opening: + +- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue) +- [Validate](https://html5.validator.nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems +- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md) + +Bug reports must include: + +- Operating system and version (Windows, macOS, Android, iOS, Win10 Mobile) +- Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser) +- [Reduced test case](https://css-tricks.com/reduced-test-cases/) and suggested fix using [CodePen](https://codepen.io/) or [JS Bin](https://jsbin.com/) diff --git a/scrapyd_dash/static/vendors/bootstrap/.github/ISSUE_TEMPLATE/feature.md b/scrapyd_dash/static/vendors/bootstrap/.github/ISSUE_TEMPLATE/feature.md new file mode 100644 index 0000000..4f866e2 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.github/ISSUE_TEMPLATE/feature.md @@ -0,0 +1,9 @@ +Before opening: + +- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue) +- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md) + +Feature requests must include: + +- As much detail as possible for what we should add and why it's important to Bootstrap +- Relevant links to prior art, screenshots, or live demos whenever possible diff --git a/scrapyd_dash/static/vendors/bootstrap/.github/ISSUE_TEMPLATE/feature_request.md b/scrapyd_dash/static/vendors/bootstrap/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..389bd43 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,15 @@ +--- +name: Feature request +about: Suggest an idea for a new feature in Bootstrap. + +--- + +Before opening: + +- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue) +- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md) + +Feature requests must include: + +- As much detail as possible for what we should add and why it's important to Bootstrap +- Relevant links to prior art, screenshots, or live demos whenever possible diff --git a/scrapyd_dash/static/vendors/bootstrap/.github/SUPPORT.md b/scrapyd_dash/static/vendors/bootstrap/.github/SUPPORT.md new file mode 100644 index 0000000..de3c4b5 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.github/SUPPORT.md @@ -0,0 +1,11 @@ +### Bug reports + +See the [contributing guidelines](CONTRIBUTING.md) for sharing bug reports. + +### How-to + +For general troubleshooting or help getting started: + +- Join [the official Slack room](https://bootstrap-slack.herokuapp.com/). +- Chat with fellow Bootstrappers in IRC. On the `irc.freenode.net` server, in the `##bootstrap` channel. +- Ask and explore Stack Overflow with the [`bootstrap-4`](https://stackoverflow.com/questions/tagged/bootstrap-4) tag. diff --git a/scrapyd_dash/static/vendors/bootstrap/.gitignore b/scrapyd_dash/static/vendors/bootstrap/.gitignore new file mode 100644 index 0000000..39a9279 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.gitignore @@ -0,0 +1,48 @@ +# Ignore docs files +_gh_pages +_site +site/docs/4.1/dist/ + +# Ignore ruby files +.ruby-version +.bundle +vendor/cache +vendor/bundle + +# Numerous always-ignore extensions +*.diff +*.err +*.log +*.orig +*.rej +*.swo +*.swp +*.vi +*.zip +*~ + +# OS or Editor folders +._* +.cache +.DS_Store +.idea +.project +.settings +.tmproj +*.esproj +*.sublime-project +*.sublime-workspace +nbproject +Thumbs.db + +# Komodo +.komodotools +*.komodoproject + +# Jekyll metadata and extra config file for `github` script +docs/.jekyll-metadata +twbsconfig.yml + +# Folders to ignore +node_modules +js/coverage diff --git a/scrapyd_dash/static/vendors/bootstrap/.stylelintignore b/scrapyd_dash/static/vendors/bootstrap/.stylelintignore new file mode 100644 index 0000000..7bc488e --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.stylelintignore @@ -0,0 +1,4 @@ +**/*.min.css +**/dist/ +**/vendor/ +/_gh_pages/ diff --git a/scrapyd_dash/static/vendors/bootstrap/.stylelintrc b/scrapyd_dash/static/vendors/bootstrap/.stylelintrc new file mode 100644 index 0000000..3d86d2a --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.stylelintrc @@ -0,0 +1,274 @@ +{ + "extends": ["stylelint-config-standard", "stylelint-config-recommended-scss"], + "plugins": [ + "stylelint-order" + ], + "rules": { + "at-rule-empty-line-before": null, + "at-rule-name-space-after": "always", + "at-rule-no-vendor-prefix": true, + "at-rule-semicolon-space-before": "never", + "block-closing-brace-empty-line-before": null, + "block-closing-brace-newline-after": null, + "block-opening-brace-space-before": null, + "color-named": "never", + "declaration-block-semicolon-newline-after": "always-multi-line", + "declaration-block-semicolon-newline-before": "never-multi-line", + "declaration-block-semicolon-space-after": "always-single-line", + "declaration-empty-line-before": null, + "declaration-no-important": true, + "font-family-name-quotes": "always-where-recommended", + "font-weight-notation": "numeric", + "function-url-no-scheme-relative": true, + "function-url-quotes": "always", + "length-zero-no-unit": true, + "max-empty-lines": 2, + "max-line-length": null, + "media-feature-name-no-vendor-prefix": true, + "media-feature-parentheses-space-inside": "never", + "media-feature-range-operator-space-after": "always", + "media-feature-range-operator-space-before": "never", + "no-descending-specificity": null, + "no-duplicate-selectors": true, + "number-leading-zero": "never", + "media-feature-name-no-unknown": [true, { + "ignoreMediaFeatureNames": ["prefers-reduced-motion"] + }], + "order/properties-order": [ + "position", + "top", + "right", + "bottom", + "left", + "z-index", + "box-sizing", + "display", + "flex", + "flex-align", + "flex-basis", + "flex-direction", + "flex-wrap", + "flex-flow", + "flex-shrink", + "flex-grow", + "flex-order", + "flex-pack", + "align-content", + "align-items", + "align-self", + "justify-content", + "order", + "float", + "width", + "min-width", + "max-width", + "height", + "min-height", + "max-height", + "padding", + "padding-top", + "padding-right", + "padding-bottom", + "padding-left", + "margin", + "margin-top", + "margin-right", + "margin-bottom", + "margin-left", + "overflow", + "overflow-x", + "overflow-y", + "-webkit-overflow-scrolling", + "-ms-overflow-x", + "-ms-overflow-y", + "-ms-overflow-style", + "columns", + "column-count", + "column-fill", + "column-gap", + "column-rule", + "column-rule-width", + "column-rule-style", + "column-rule-color", + "column-span", + "column-width", + "orphans", + "widows", + "clip", + "clear", + "font", + "font-family", + "font-size", + "font-style", + "font-weight", + "font-variant", + "font-size-adjust", + "font-stretch", + "font-effect", + "font-emphasize", + "font-emphasize-position", + "font-emphasize-style", + "font-smooth", + "src", + "hyphens", + "line-height", + "color", + "text-align", + "text-align-last", + "text-emphasis", + "text-emphasis-color", + "text-emphasis-style", + "text-emphasis-position", + "text-decoration", + "text-indent", + "text-justify", + "text-outline", + "-ms-text-overflow", + "text-overflow", + "text-overflow-ellipsis", + "text-overflow-mode", + "text-shadow", + "text-transform", + "text-wrap", + "-webkit-text-size-adjust", + "-ms-text-size-adjust", + "letter-spacing", + "-ms-word-break", + "word-break", + "word-spacing", + "-ms-word-wrap", + "word-wrap", + "overflow-wrap", + "tab-size", + "white-space", + "vertical-align", + "direction", + "unicode-bidi", + "list-style", + "list-style-position", + "list-style-type", + "list-style-image", + "pointer-events", + "-ms-touch-action", + "touch-action", + "cursor", + "visibility", + "zoom", + "table-layout", + "empty-cells", + "caption-side", + "border-spacing", + "border-collapse", + "content", + "quotes", + "counter-reset", + "counter-increment", + "resize", + "user-select", + "nav-index", + "nav-up", + "nav-right", + "nav-down", + "nav-left", + "background", + "background-color", + "background-image", + "filter", + "background-repeat", + "background-attachment", + "background-position", + "background-position-x", + "background-position-y", + "background-clip", + "background-origin", + "background-size", + "border", + "border-color", + "border-style", + "border-width", + "border-top", + "border-top-color", + "border-top-style", + "border-top-width", + "border-right", + "border-right-color", + "border-right-style", + "border-right-width", + "border-bottom", + "border-bottom-color", + "border-bottom-style", + "border-bottom-width", + "border-left", + "border-left-color", + "border-left-style", + "border-left-width", + "border-radius", + "border-top-left-radius", + "border-top-right-radius", + "border-bottom-right-radius", + "border-bottom-left-radius", + "border-image", + "border-image-source", + "border-image-slice", + "border-image-width", + "border-image-outset", + "border-image-repeat", + "outline", + "outline-width", + "outline-style", + "outline-color", + "outline-offset", + "box-shadow", + "opacity", + "-ms-interpolation-mode", + "page-break-after", + "page-break-before", + "page-break-inside", + "transition", + "transition-delay", + "transition-timing-function", + "transition-duration", + "transition-property", + "transform", + "transform-origin", + "perspective", + "appearance", + "animation", + "animation-name", + "animation-duration", + "animation-play-state", + "animation-timing-function", + "animation-delay", + "animation-iteration-count", + "animation-direction", + "animation-fill-mode", + "fill", + "stroke" + ], + "property-no-vendor-prefix": true, + "rule-empty-line-before": null, + "scss/dollar-variable-default": [true, { "ignore": "local" }], + "selector-attribute-quotes": "always", + "selector-list-comma-newline-after": "always", + "selector-list-comma-newline-before": "never-multi-line", + "selector-list-comma-space-after": "always-single-line", + "selector-list-comma-space-before": "never-single-line", + "selector-max-attribute": 2, + "selector-max-class": 4, + "selector-max-combinators": 4, + "selector-max-compound-selectors": 4, + "selector-max-empty-lines": 1, + "selector-max-id": 0, + "selector-max-specificity": null, + "selector-max-type": 2, + "selector-max-universal": 1, + "selector-no-qualifying-type": true, + "selector-no-vendor-prefix": true, + "string-quotes": "double", + "value-keyword-case": "lower", + "value-list-comma-newline-after": "never-multi-line", + "value-list-comma-newline-before": "never-multi-line", + "value-list-comma-space-after": "always", + "value-no-vendor-prefix": true + } +} diff --git a/scrapyd_dash/static/vendors/bootstrap/.travis.yml b/scrapyd_dash/static/vendors/bootstrap/.travis.yml new file mode 100644 index 0000000..c3a6b02 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/.travis.yml @@ -0,0 +1,33 @@ +sudo: required +dist: trusty +addons: + chrome: stable +language: node_js +git: + depth: 3 +node_js: + - "6" + - "8" +before_install: + - if [[ `npm -v` != 5* ]]; then npm install -g npm@5; fi +install: + - bundle install --deployment --jobs=3 --retry=3 + - npm install +script: + - npm test + - if [ "$TRAVIS_NODE_VERSION" = "8" ]; then npm run check-broken-links; fi +after_success: + - if [ "$TRAVIS_NODE_VERSION" = "8" ]; then npm run coveralls; fi +stages: + - test + - name: browser + if: type = push +jobs: + include: + - stage: browser + node_js: 8 + script: if ! git log --format=%B --no-merges -n 1 | grep '\[skip browser\]'; then npm test && npm run js-test-cloud; fi +cache: + directories: + - node_modules + - vendor/bundle diff --git a/scrapyd_dash/static/vendors/bootstrap/CNAME b/scrapyd_dash/static/vendors/bootstrap/CNAME new file mode 100644 index 0000000..52c8533 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/CNAME @@ -0,0 +1 @@ +getbootstrap.com diff --git a/scrapyd_dash/static/vendors/bootstrap/CODE_OF_CONDUCT.md b/scrapyd_dash/static/vendors/bootstrap/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..9d9922f --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/CODE_OF_CONDUCT.md @@ -0,0 +1,46 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at mdo@getbootstrap.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [https://www.contributor-covenant.org/version/1/4/code-of-conduct.html][version] + +[homepage]: https://www.contributor-covenant.org/ +[version]: https://www.contributor-covenant.org/version/1/4/code-of-conduct.html diff --git a/scrapyd_dash/static/vendors/bootstrap/Gemfile b/scrapyd_dash/static/vendors/bootstrap/Gemfile new file mode 100644 index 0000000..3587e07 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/Gemfile @@ -0,0 +1,8 @@ +source 'https://rubygems.org' + +group :development, :test do + gem 'jekyll', '~> 3.8.3' + gem 'jekyll-redirect-from', '~> 0.14.0' + gem 'jekyll-sitemap', '~> 1.2.0' + gem 'jekyll-toc', '~> 0.6.0' +end diff --git a/scrapyd_dash/static/vendors/bootstrap/Gemfile.lock b/scrapyd_dash/static/vendors/bootstrap/Gemfile.lock new file mode 100644 index 0000000..ffb8428 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/Gemfile.lock @@ -0,0 +1,80 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.5.2) + public_suffix (>= 2.0.2, < 4.0) + colorator (1.1.0) + concurrent-ruby (1.0.5) + em-websocket (0.5.1) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0.6.0) + eventmachine (1.2.7) + eventmachine (1.2.7-x64-mingw32) + ffi (1.9.25) + ffi (1.9.25-x64-mingw32) + forwardable-extended (2.6.0) + http_parser.rb (0.6.0) + i18n (0.9.5) + concurrent-ruby (~> 1.0) + jekyll (3.8.3) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 0.7) + jekyll-sass-converter (~> 1.0) + jekyll-watch (~> 2.0) + kramdown (~> 1.14) + liquid (~> 4.0) + mercenary (~> 0.3.3) + pathutil (~> 0.9) + rouge (>= 1.7, < 4) + safe_yaml (~> 1.0) + jekyll-redirect-from (0.14.0) + jekyll (~> 3.3) + jekyll-sass-converter (1.5.2) + sass (~> 3.4) + jekyll-sitemap (1.2.0) + jekyll (~> 3.3) + jekyll-toc (0.6.0) + nokogiri (~> 1.7) + jekyll-watch (2.0.0) + listen (~> 3.0) + kramdown (1.17.0) + liquid (4.0.0) + listen (3.1.5) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + ruby_dep (~> 1.2) + mercenary (0.3.6) + mini_portile2 (2.3.0) + nokogiri (1.8.4) + mini_portile2 (~> 2.3.0) + nokogiri (1.8.4-x64-mingw32) + mini_portile2 (~> 2.3.0) + pathutil (0.16.1) + forwardable-extended (~> 2.6) + public_suffix (3.0.2) + rb-fsevent (0.10.3) + rb-inotify (0.9.10) + ffi (>= 0.5.0, < 2) + rouge (3.1.1) + ruby_dep (1.5.0) + safe_yaml (1.0.4) + sass (3.5.6) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + +PLATFORMS + ruby + x64-mingw32 + +DEPENDENCIES + jekyll (~> 3.8.3) + jekyll-redirect-from (~> 0.14.0) + jekyll-sitemap (~> 1.2.0) + jekyll-toc (~> 0.6.0) + +BUNDLED WITH + 1.16.2 diff --git a/scrapyd_dash/static/vendors/bootstrap/LICENSE b/scrapyd_dash/static/vendors/bootstrap/LICENSE new file mode 100644 index 0000000..86f4b8c --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2011-2018 Twitter, Inc. +Copyright (c) 2011-2018 The Bootstrap Authors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/scrapyd_dash/static/vendors/bootstrap/README.md b/scrapyd_dash/static/vendors/bootstrap/README.md new file mode 100644 index 0000000..cd01c66 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/README.md @@ -0,0 +1,177 @@ +

+ + Bootstrap logo + + +

Bootstrap

+ +

+ Sleek, intuitive, and powerful front-end framework for faster and easier web development. +
+ Explore Bootstrap docs » +
+
+ Report bug + · + Request feature + · + Themes + · + Jobs + · + Blog +

+

+ +
+ +## Table of contents + +- [Quick start](#quick-start) +- [Status](#status) +- [What's included](#whats-included) +- [Bugs and feature requests](#bugs-and-feature-requests) +- [Documentation](#documentation) +- [Contributing](#contributing) +- [Community](#community) +- [Versioning](#versioning) +- [Creators](#creators) +- [Copyright and license](#copyright-and-license) + +## Quick start + +Several quick start options are available: + +- [Download the latest release.](https://github.com/twbs/bootstrap/archive/v4.1.3.zip) +- Clone the repo: `git clone https://github.com/twbs/bootstrap.git` +- Install with [npm](https://www.npmjs.com/): `npm install bootstrap` +- Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap@4.1.3` +- Install with [Composer](https://getcomposer.org/): `composer require twbs/bootstrap:4.1.3` +- Install with [NuGet](https://www.nuget.org/): CSS: `Install-Package bootstrap` Sass: `Install-Package bootstrap.sass` + +Read the [Getting started page](https://getbootstrap.com/docs/4.1/getting-started/introduction/) for information on the framework contents, templates and examples, and more. + +## Status + +[![Slack](https://bootstrap-slack.herokuapp.com/badge.svg)](https://bootstrap-slack.herokuapp.com/) +[![Build Status](https://img.shields.io/travis/twbs/bootstrap/v4-dev.svg)](https://travis-ci.org/twbs/bootstrap) +[![npm version](https://img.shields.io/npm/v/bootstrap.svg)](https://www.npmjs.com/package/bootstrap) +[![Gem version](https://img.shields.io/gem/v/bootstrap.svg)](https://rubygems.org/gems/bootstrap) +[![Meteor Atmosphere](https://img.shields.io/badge/meteor-twbs%3Abootstrap-blue.svg)](https://atmospherejs.com/twbs/bootstrap) +[![Packagist Prerelease](https://img.shields.io/packagist/vpre/twbs/bootstrap.svg)](https://packagist.org/packages/twbs/bootstrap) +[![NuGet](https://img.shields.io/nuget/vpre/bootstrap.svg)](https://www.nuget.org/packages/bootstrap/absoluteLatest) +[![peerDependencies Status](https://img.shields.io/david/peer/twbs/bootstrap.svg)](https://david-dm.org/twbs/bootstrap?type=peer) +[![devDependency Status](https://img.shields.io/david/dev/twbs/bootstrap.svg)](https://david-dm.org/twbs/bootstrap?type=dev) +[![Coverage Status](https://img.shields.io/coveralls/github/twbs/bootstrap/v4-dev.svg)](https://coveralls.io/github/twbs/bootstrap?branch=v4-dev) +[![CSS gzip size](http://img.badgesize.io/twbs/bootstrap/v4-dev/dist/css/bootstrap.min.css?compression=gzip&label=CSS+gzip+size)](https://github.com/twbs/bootstrap/tree/v4-dev/dist/css/bootstrap.min.css) +[![JS gzip size](http://img.badgesize.io/twbs/bootstrap/v4-dev/dist/js/bootstrap.min.js?compression=gzip&label=JS+gzip+size)](https://github.com/twbs/bootstrap/tree/v4-dev/dist/js/bootstrap.min.js) + +[![Sauce Labs Test Status](https://saucelabs.com/browser-matrix/bootstrap.svg)](https://saucelabs.com/u/bootstrap) + +## What's included + +Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this: + +``` +bootstrap/ +└── dist/ + ├── css/ + │ ├── bootstrap-grid.css + │ ├── bootstrap-grid.css.map + │ ├── bootstrap-grid.min.css + │ ├── bootstrap-grid.min.css.map + │ ├── bootstrap-reboot.css + │ ├── bootstrap-reboot.css.map + │ ├── bootstrap-reboot.min.css + │ ├── bootstrap-reboot.min.css.map + │ ├── bootstrap.css + │ ├── bootstrap.css.map + │ ├── bootstrap.min.css + │ └── bootstrap.min.css.map + └── js/ + ├── bootstrap.bundle.js + ├── bootstrap.bundle.js.map + ├── bootstrap.bundle.min.js + ├── bootstrap.bundle.min.js.map + ├── bootstrap.js + ├── bootstrap.js.map + ├── bootstrap.min.js + └── bootstrap.min.js.map +``` + +We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). [source maps](https://developers.google.com/web/tools/chrome-devtools/debug/readability/source-maps) (`bootstrap.*.map`) are available for use with certain browsers' developer tools. Bundled JS files (`bootstrap.bundle.js` and minified `bootstrap.bundle.min.js`) include [Popper](https://popper.js.org/), but not [jQuery](https://jquery.com/). + + +## Bugs and feature requests + +Have a bug or a feature request? Please first read the [issue guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md#using-the-issue-tracker) and search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://github.com/twbs/bootstrap/issues/new). + + +## Documentation + +Bootstrap's documentation, included in this repo in the root directory, is built with [Jekyll](https://jekyllrb.com/) and publicly hosted on GitHub Pages at . The docs may also be run locally. + +Documentation search is powered by [Algolia's DocSearch](https://community.algolia.com/docsearch/). Working on our search? Be sure to set `debug: true` in `site/docs/4.1/assets/js/src/search.js` file. + +### Running documentation locally + +1. Run through the [tooling setup](https://getbootstrap.com/docs/4.1/getting-started/build-tools/#tooling-setup) to install Jekyll (the site builder) and other Ruby dependencies with `bundle install`. +2. Run `npm install` to install Node.js dependencies. +3. Run `npm start` to compile CSS and JavaScript files, generate our docs, and watch for changes. +4. Open `http://localhost:9001` in your browser, and voilà. + +Learn more about using Jekyll by reading its [documentation](https://jekyllrb.com/docs/home/). + +### Documentation for previous releases + +- For v2.3.2: +- For v3.3.x: +- For v4.0.x: + +[Previous releases](https://github.com/twbs/bootstrap/releases) and their documentation are also available for download. + + +## Contributing + +Please read through our [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development. + +Moreover, if your pull request contains JavaScript patches or features, you must include [relevant unit tests](https://github.com/twbs/bootstrap/tree/master/js/tests). All HTML and CSS should conform to the [Code Guide](https://github.com/mdo/code-guide), maintained by [Mark Otto](https://github.com/mdo). + +Editor preferences are available in the [editor config](https://github.com/twbs/bootstrap/blob/master/.editorconfig) for easy use in common text editors. Read more and download plugins at . + + +## Community + +Get updates on Bootstrap's development and chat with the project maintainers and community members. + +- Follow [@getbootstrap on Twitter](https://twitter.com/getbootstrap). +- Read and subscribe to [The Official Bootstrap Blog](https://blog.getbootstrap.com/). +- Join [the official Slack room](https://bootstrap-slack.herokuapp.com/). +- Chat with fellow Bootstrappers in IRC. On the `irc.freenode.net` server, in the `##bootstrap` channel. +- Implementation help may be found at Stack Overflow (tagged [`bootstrap-4`](https://stackoverflow.com/questions/tagged/bootstrap-4)). +- Developers should use the keyword `bootstrap` on packages which modify or add to the functionality of Bootstrap when distributing through [npm](https://www.npmjs.com/browse/keyword/bootstrap) or similar delivery mechanisms for maximum discoverability. + + +## Versioning + +For transparency into our release cycle and in striving to maintain backward compatibility, Bootstrap is maintained under [the Semantic Versioning guidelines](https://semver.org/). Sometimes we screw up, but we'll adhere to those rules whenever possible. + +See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. Release announcement posts on [the official Bootstrap blog](https://blog.getbootstrap.com/) contain summaries of the most noteworthy changes made in each release. + + +## Creators + +**Mark Otto** + +- +- + +**Jacob Thornton** + +- +- + + +## Copyright and license + +Code and documentation copyright 2011-2018 the [Bootstrap Authors](https://github.com/twbs/bootstrap/graphs/contributors) and [Twitter, Inc.](https://twitter.com) Code released under the [MIT License](https://github.com/twbs/bootstrap/blob/master/LICENSE). Docs released under [Creative Commons](https://github.com/twbs/bootstrap/blob/master/docs/LICENSE). diff --git a/scrapyd_dash/static/vendors/bootstrap/_config.yml b/scrapyd_dash/static/vendors/bootstrap/_config.yml new file mode 100644 index 0000000..6bb6c1a --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/_config.yml @@ -0,0 +1,63 @@ +# Dependencies +markdown: kramdown +highlighter: rouge + +kramdown: + auto_ids: true + +# Permalinks +permalink: pretty + +# Server +source: "site" +destination: ./_gh_pages +host: 0.0.0.0 +port: 9001 +baseurl: "" +url: "https://getbootstrap.com" +encoding: UTF-8 +exclude: + - docs/4.1/assets/scss/ + +plugins: + - jekyll-redirect-from + - jekyll-sitemap + - jekyll-toc + +# Social +title: Bootstrap +description: "The most popular HTML, CSS, and JS library in the world." +twitter: getbootstrap +authors: "Mark Otto, Jacob Thornton, and Bootstrap contributors" +social_image_path: /docs/4.1/assets/brand/bootstrap-social.png +social_logo_path: /docs/4.1/assets/brand/bootstrap-social-logo.png + +# Custom variables +current_version: 4.1.3 +current_ruby_version: 4.1.3 +docs_version: 4.1 +repo: "https://github.com/twbs/bootstrap" +slack: "https://bootstrap-slack.herokuapp.com" +blog: "https://blog.getbootstrap.com" +expo: "https://expo.getbootstrap.com" +jobs: "https://jobs.getbootstrap.com" +themes: "https://themes.getbootstrap.com" + +download: + source: "https://github.com/twbs/bootstrap/archive/v4.1.3.zip" + dist: "https://github.com/twbs/bootstrap/releases/download/v4.1.3/bootstrap-4.1.3-dist.zip" + +cdn: + # See https://www.srihash.org for info on how to generate the hashes + css: "https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" + css_hash: "sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" + js: "https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" + js_hash: "sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" + jquery: "https://code.jquery.com/jquery-3.3.1.slim.min.js" + jquery_hash: "sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" + popper: "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" + popper_hash: "sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" + +toc: + min_level: 2 + max_level: 4 diff --git a/scrapyd_dash/static/vendors/bootstrap/composer.json b/scrapyd_dash/static/vendors/bootstrap/composer.json new file mode 100644 index 0000000..e1a99c1 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/composer.json @@ -0,0 +1,37 @@ +{ + "name": "twbs/bootstrap", + "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", + "keywords": [ + "css", + "js", + "sass", + "mobile-first", + "responsive", + "front-end", + "framework", + "web" + ], + "homepage": "https://getbootstrap.com/", + "authors": [ + { + "name": "Mark Otto", + "email": "markdotto@gmail.com" + }, + { + "name": "Jacob Thornton", + "email": "jacobthornton@gmail.com" + } + ], + "support": { + "issues": "https://github.com/twbs/bootstrap/issues" + }, + "license": "MIT", + "extra": { + "branch-alias": { + "dev-master": "3.3.x-dev" + } + }, + "replace": { + "twitter/bootstrap": "self.version" + } +} diff --git a/scrapyd_dash/static/vendors/bootstrap/js/src/alert.js b/scrapyd_dash/static/vendors/bootstrap/js/src/alert.js new file mode 100644 index 0000000..f39d9d9 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/js/src/alert.js @@ -0,0 +1,183 @@ +import $ from 'jquery' +import Util from './util' + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.1.3): alert.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +const Alert = (($) => { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + const NAME = 'alert' + const VERSION = '4.1.3' + const DATA_KEY = 'bs.alert' + const EVENT_KEY = `.${DATA_KEY}` + const DATA_API_KEY = '.data-api' + const JQUERY_NO_CONFLICT = $.fn[NAME] + + const Selector = { + DISMISS : '[data-dismiss="alert"]' + } + + const Event = { + CLOSE : `close${EVENT_KEY}`, + CLOSED : `closed${EVENT_KEY}`, + CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}` + } + + const ClassName = { + ALERT : 'alert', + FADE : 'fade', + SHOW : 'show' + } + + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + class Alert { + constructor(element) { + this._element = element + } + + // Getters + + static get VERSION() { + return VERSION + } + + // Public + + close(element) { + let rootElement = this._element + if (element) { + rootElement = this._getRootElement(element) + } + + const customEvent = this._triggerCloseEvent(rootElement) + + if (customEvent.isDefaultPrevented()) { + return + } + + this._removeElement(rootElement) + } + + dispose() { + $.removeData(this._element, DATA_KEY) + this._element = null + } + + // Private + + _getRootElement(element) { + const selector = Util.getSelectorFromElement(element) + let parent = false + + if (selector) { + parent = document.querySelector(selector) + } + + if (!parent) { + parent = $(element).closest(`.${ClassName.ALERT}`)[0] + } + + return parent + } + + _triggerCloseEvent(element) { + const closeEvent = $.Event(Event.CLOSE) + + $(element).trigger(closeEvent) + return closeEvent + } + + _removeElement(element) { + $(element).removeClass(ClassName.SHOW) + + if (!$(element).hasClass(ClassName.FADE)) { + this._destroyElement(element) + return + } + + const transitionDuration = Util.getTransitionDurationFromElement(element) + + $(element) + .one(Util.TRANSITION_END, (event) => this._destroyElement(element, event)) + .emulateTransitionEnd(transitionDuration) + } + + _destroyElement(element) { + $(element) + .detach() + .trigger(Event.CLOSED) + .remove() + } + + // Static + + static _jQueryInterface(config) { + return this.each(function () { + const $element = $(this) + let data = $element.data(DATA_KEY) + + if (!data) { + data = new Alert(this) + $element.data(DATA_KEY, data) + } + + if (config === 'close') { + data[config](this) + } + }) + } + + static _handleDismiss(alertInstance) { + return function (event) { + if (event) { + event.preventDefault() + } + + alertInstance.close(this) + } + } + } + + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + $(document).on( + Event.CLICK_DATA_API, + Selector.DISMISS, + Alert._handleDismiss(new Alert()) + ) + + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $.fn[NAME] = Alert._jQueryInterface + $.fn[NAME].Constructor = Alert + $.fn[NAME].noConflict = function () { + $.fn[NAME] = JQUERY_NO_CONFLICT + return Alert._jQueryInterface + } + + return Alert +})($) + +export default Alert diff --git a/scrapyd_dash/static/vendors/bootstrap/js/src/button.js b/scrapyd_dash/static/vendors/bootstrap/js/src/button.js new file mode 100644 index 0000000..cf181d3 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/js/src/button.js @@ -0,0 +1,175 @@ +import $ from 'jquery' + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.1.3): button.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +const Button = (($) => { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + const NAME = 'button' + const VERSION = '4.1.3' + const DATA_KEY = 'bs.button' + const EVENT_KEY = `.${DATA_KEY}` + const DATA_API_KEY = '.data-api' + const JQUERY_NO_CONFLICT = $.fn[NAME] + + const ClassName = { + ACTIVE : 'active', + BUTTON : 'btn', + FOCUS : 'focus' + } + + const Selector = { + DATA_TOGGLE_CARROT : '[data-toggle^="button"]', + DATA_TOGGLE : '[data-toggle="buttons"]', + INPUT : 'input', + ACTIVE : '.active', + BUTTON : '.btn' + } + + const Event = { + CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`, + FOCUS_BLUR_DATA_API : `focus${EVENT_KEY}${DATA_API_KEY} ` + + `blur${EVENT_KEY}${DATA_API_KEY}` + } + + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + class Button { + constructor(element) { + this._element = element + } + + // Getters + + static get VERSION() { + return VERSION + } + + // Public + + toggle() { + let triggerChangeEvent = true + let addAriaPressed = true + const rootElement = $(this._element).closest( + Selector.DATA_TOGGLE + )[0] + + if (rootElement) { + const input = this._element.querySelector(Selector.INPUT) + + if (input) { + if (input.type === 'radio') { + if (input.checked && + this._element.classList.contains(ClassName.ACTIVE)) { + triggerChangeEvent = false + } else { + const activeElement = rootElement.querySelector(Selector.ACTIVE) + + if (activeElement) { + $(activeElement).removeClass(ClassName.ACTIVE) + } + } + } + + if (triggerChangeEvent) { + if (input.hasAttribute('disabled') || + rootElement.hasAttribute('disabled') || + input.classList.contains('disabled') || + rootElement.classList.contains('disabled')) { + return + } + input.checked = !this._element.classList.contains(ClassName.ACTIVE) + $(input).trigger('change') + } + + input.focus() + addAriaPressed = false + } + } + + if (addAriaPressed) { + this._element.setAttribute('aria-pressed', + !this._element.classList.contains(ClassName.ACTIVE)) + } + + if (triggerChangeEvent) { + $(this._element).toggleClass(ClassName.ACTIVE) + } + } + + dispose() { + $.removeData(this._element, DATA_KEY) + this._element = null + } + + // Static + + static _jQueryInterface(config) { + return this.each(function () { + let data = $(this).data(DATA_KEY) + + if (!data) { + data = new Button(this) + $(this).data(DATA_KEY, data) + } + + if (config === 'toggle') { + data[config]() + } + }) + } + } + + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + $(document) + .on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE_CARROT, (event) => { + event.preventDefault() + + let button = event.target + + if (!$(button).hasClass(ClassName.BUTTON)) { + button = $(button).closest(Selector.BUTTON) + } + + Button._jQueryInterface.call($(button), 'toggle') + }) + .on(Event.FOCUS_BLUR_DATA_API, Selector.DATA_TOGGLE_CARROT, (event) => { + const button = $(event.target).closest(Selector.BUTTON)[0] + $(button).toggleClass(ClassName.FOCUS, /^focus(in)?$/.test(event.type)) + }) + + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $.fn[NAME] = Button._jQueryInterface + $.fn[NAME].Constructor = Button + $.fn[NAME].noConflict = function () { + $.fn[NAME] = JQUERY_NO_CONFLICT + return Button._jQueryInterface + } + + return Button +})($) + +export default Button diff --git a/scrapyd_dash/static/vendors/bootstrap/js/src/carousel.js b/scrapyd_dash/static/vendors/bootstrap/js/src/carousel.js new file mode 100644 index 0000000..62af5cd --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/js/src/carousel.js @@ -0,0 +1,520 @@ +import $ from 'jquery' +import Util from './util' + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.1.3): carousel.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +const Carousel = (($) => { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + const NAME = 'carousel' + const VERSION = '4.1.3' + const DATA_KEY = 'bs.carousel' + const EVENT_KEY = `.${DATA_KEY}` + const DATA_API_KEY = '.data-api' + const JQUERY_NO_CONFLICT = $.fn[NAME] + const ARROW_LEFT_KEYCODE = 37 // KeyboardEvent.which value for left arrow key + const ARROW_RIGHT_KEYCODE = 39 // KeyboardEvent.which value for right arrow key + const TOUCHEVENT_COMPAT_WAIT = 500 // Time for mouse compat events to fire after touch + + const Default = { + interval : 5000, + keyboard : true, + slide : false, + pause : 'hover', + wrap : true + } + + const DefaultType = { + interval : '(number|boolean)', + keyboard : 'boolean', + slide : '(boolean|string)', + pause : '(string|boolean)', + wrap : 'boolean' + } + + const Direction = { + NEXT : 'next', + PREV : 'prev', + LEFT : 'left', + RIGHT : 'right' + } + + const Event = { + SLIDE : `slide${EVENT_KEY}`, + SLID : `slid${EVENT_KEY}`, + KEYDOWN : `keydown${EVENT_KEY}`, + MOUSEENTER : `mouseenter${EVENT_KEY}`, + MOUSELEAVE : `mouseleave${EVENT_KEY}`, + TOUCHEND : `touchend${EVENT_KEY}`, + LOAD_DATA_API : `load${EVENT_KEY}${DATA_API_KEY}`, + CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}` + } + + const ClassName = { + CAROUSEL : 'carousel', + ACTIVE : 'active', + SLIDE : 'slide', + RIGHT : 'carousel-item-right', + LEFT : 'carousel-item-left', + NEXT : 'carousel-item-next', + PREV : 'carousel-item-prev', + ITEM : 'carousel-item' + } + + const Selector = { + ACTIVE : '.active', + ACTIVE_ITEM : '.active.carousel-item', + ITEM : '.carousel-item', + NEXT_PREV : '.carousel-item-next, .carousel-item-prev', + INDICATORS : '.carousel-indicators', + DATA_SLIDE : '[data-slide], [data-slide-to]', + DATA_RIDE : '[data-ride="carousel"]' + } + + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + class Carousel { + constructor(element, config) { + this._items = null + this._interval = null + this._activeElement = null + + this._isPaused = false + this._isSliding = false + + this.touchTimeout = null + + this._config = this._getConfig(config) + this._element = $(element)[0] + this._indicatorsElement = this._element.querySelector(Selector.INDICATORS) + + this._addEventListeners() + } + + // Getters + + static get VERSION() { + return VERSION + } + + static get Default() { + return Default + } + + // Public + + next() { + if (!this._isSliding) { + this._slide(Direction.NEXT) + } + } + + nextWhenVisible() { + // Don't call next when the page isn't visible + // or the carousel or its parent isn't visible + if (!document.hidden && + ($(this._element).is(':visible') && $(this._element).css('visibility') !== 'hidden')) { + this.next() + } + } + + prev() { + if (!this._isSliding) { + this._slide(Direction.PREV) + } + } + + pause(event) { + if (!event) { + this._isPaused = true + } + + if (this._element.querySelector(Selector.NEXT_PREV)) { + Util.triggerTransitionEnd(this._element) + this.cycle(true) + } + + clearInterval(this._interval) + this._interval = null + } + + cycle(event) { + if (!event) { + this._isPaused = false + } + + if (this._interval) { + clearInterval(this._interval) + this._interval = null + } + + if (this._config.interval && !this._isPaused) { + this._interval = setInterval( + (document.visibilityState ? this.nextWhenVisible : this.next).bind(this), + this._config.interval + ) + } + } + + to(index) { + this._activeElement = this._element.querySelector(Selector.ACTIVE_ITEM) + + const activeIndex = this._getItemIndex(this._activeElement) + + if (index > this._items.length - 1 || index < 0) { + return + } + + if (this._isSliding) { + $(this._element).one(Event.SLID, () => this.to(index)) + return + } + + if (activeIndex === index) { + this.pause() + this.cycle() + return + } + + const direction = index > activeIndex + ? Direction.NEXT + : Direction.PREV + + this._slide(direction, this._items[index]) + } + + dispose() { + $(this._element).off(EVENT_KEY) + $.removeData(this._element, DATA_KEY) + + this._items = null + this._config = null + this._element = null + this._interval = null + this._isPaused = null + this._isSliding = null + this._activeElement = null + this._indicatorsElement = null + } + + // Private + + _getConfig(config) { + config = { + ...Default, + ...config + } + Util.typeCheckConfig(NAME, config, DefaultType) + return config + } + + _addEventListeners() { + if (this._config.keyboard) { + $(this._element) + .on(Event.KEYDOWN, (event) => this._keydown(event)) + } + + if (this._config.pause === 'hover') { + $(this._element) + .on(Event.MOUSEENTER, (event) => this.pause(event)) + .on(Event.MOUSELEAVE, (event) => this.cycle(event)) + if ('ontouchstart' in document.documentElement) { + // If it's a touch-enabled device, mouseenter/leave are fired as + // part of the mouse compatibility events on first tap - the carousel + // would stop cycling until user tapped out of it; + // here, we listen for touchend, explicitly pause the carousel + // (as if it's the second time we tap on it, mouseenter compat event + // is NOT fired) and after a timeout (to allow for mouse compatibility + // events to fire) we explicitly restart cycling + $(this._element).on(Event.TOUCHEND, () => { + this.pause() + if (this.touchTimeout) { + clearTimeout(this.touchTimeout) + } + this.touchTimeout = setTimeout((event) => this.cycle(event), TOUCHEVENT_COMPAT_WAIT + this._config.interval) + }) + } + } + } + + _keydown(event) { + if (/input|textarea/i.test(event.target.tagName)) { + return + } + + switch (event.which) { + case ARROW_LEFT_KEYCODE: + event.preventDefault() + this.prev() + break + case ARROW_RIGHT_KEYCODE: + event.preventDefault() + this.next() + break + default: + } + } + + _getItemIndex(element) { + this._items = element && element.parentNode + ? [].slice.call(element.parentNode.querySelectorAll(Selector.ITEM)) + : [] + return this._items.indexOf(element) + } + + _getItemByDirection(direction, activeElement) { + const isNextDirection = direction === Direction.NEXT + const isPrevDirection = direction === Direction.PREV + const activeIndex = this._getItemIndex(activeElement) + const lastItemIndex = this._items.length - 1 + const isGoingToWrap = isPrevDirection && activeIndex === 0 || + isNextDirection && activeIndex === lastItemIndex + + if (isGoingToWrap && !this._config.wrap) { + return activeElement + } + + const delta = direction === Direction.PREV ? -1 : 1 + const itemIndex = (activeIndex + delta) % this._items.length + + return itemIndex === -1 + ? this._items[this._items.length - 1] : this._items[itemIndex] + } + + _triggerSlideEvent(relatedTarget, eventDirectionName) { + const targetIndex = this._getItemIndex(relatedTarget) + const fromIndex = this._getItemIndex(this._element.querySelector(Selector.ACTIVE_ITEM)) + const slideEvent = $.Event(Event.SLIDE, { + relatedTarget, + direction: eventDirectionName, + from: fromIndex, + to: targetIndex + }) + + $(this._element).trigger(slideEvent) + + return slideEvent + } + + _setActiveIndicatorElement(element) { + if (this._indicatorsElement) { + const indicators = [].slice.call(this._indicatorsElement.querySelectorAll(Selector.ACTIVE)) + $(indicators) + .removeClass(ClassName.ACTIVE) + + const nextIndicator = this._indicatorsElement.children[ + this._getItemIndex(element) + ] + + if (nextIndicator) { + $(nextIndicator).addClass(ClassName.ACTIVE) + } + } + } + + _slide(direction, element) { + const activeElement = this._element.querySelector(Selector.ACTIVE_ITEM) + const activeElementIndex = this._getItemIndex(activeElement) + const nextElement = element || activeElement && + this._getItemByDirection(direction, activeElement) + const nextElementIndex = this._getItemIndex(nextElement) + const isCycling = Boolean(this._interval) + + let directionalClassName + let orderClassName + let eventDirectionName + + if (direction === Direction.NEXT) { + directionalClassName = ClassName.LEFT + orderClassName = ClassName.NEXT + eventDirectionName = Direction.LEFT + } else { + directionalClassName = ClassName.RIGHT + orderClassName = ClassName.PREV + eventDirectionName = Direction.RIGHT + } + + if (nextElement && $(nextElement).hasClass(ClassName.ACTIVE)) { + this._isSliding = false + return + } + + const slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName) + if (slideEvent.isDefaultPrevented()) { + return + } + + if (!activeElement || !nextElement) { + // Some weirdness is happening, so we bail + return + } + + this._isSliding = true + + if (isCycling) { + this.pause() + } + + this._setActiveIndicatorElement(nextElement) + + const slidEvent = $.Event(Event.SLID, { + relatedTarget: nextElement, + direction: eventDirectionName, + from: activeElementIndex, + to: nextElementIndex + }) + + if ($(this._element).hasClass(ClassName.SLIDE)) { + $(nextElement).addClass(orderClassName) + + Util.reflow(nextElement) + + $(activeElement).addClass(directionalClassName) + $(nextElement).addClass(directionalClassName) + + const transitionDuration = Util.getTransitionDurationFromElement(activeElement) + + $(activeElement) + .one(Util.TRANSITION_END, () => { + $(nextElement) + .removeClass(`${directionalClassName} ${orderClassName}`) + .addClass(ClassName.ACTIVE) + + $(activeElement).removeClass(`${ClassName.ACTIVE} ${orderClassName} ${directionalClassName}`) + + this._isSliding = false + + setTimeout(() => $(this._element).trigger(slidEvent), 0) + }) + .emulateTransitionEnd(transitionDuration) + } else { + $(activeElement).removeClass(ClassName.ACTIVE) + $(nextElement).addClass(ClassName.ACTIVE) + + this._isSliding = false + $(this._element).trigger(slidEvent) + } + + if (isCycling) { + this.cycle() + } + } + + // Static + + static _jQueryInterface(config) { + return this.each(function () { + let data = $(this).data(DATA_KEY) + let _config = { + ...Default, + ...$(this).data() + } + + if (typeof config === 'object') { + _config = { + ..._config, + ...config + } + } + + const action = typeof config === 'string' ? config : _config.slide + + if (!data) { + data = new Carousel(this, _config) + $(this).data(DATA_KEY, data) + } + + if (typeof config === 'number') { + data.to(config) + } else if (typeof action === 'string') { + if (typeof data[action] === 'undefined') { + throw new TypeError(`No method named "${action}"`) + } + data[action]() + } else if (_config.interval) { + data.pause() + data.cycle() + } + }) + } + + static _dataApiClickHandler(event) { + const selector = Util.getSelectorFromElement(this) + + if (!selector) { + return + } + + const target = $(selector)[0] + + if (!target || !$(target).hasClass(ClassName.CAROUSEL)) { + return + } + + const config = { + ...$(target).data(), + ...$(this).data() + } + const slideIndex = this.getAttribute('data-slide-to') + + if (slideIndex) { + config.interval = false + } + + Carousel._jQueryInterface.call($(target), config) + + if (slideIndex) { + $(target).data(DATA_KEY).to(slideIndex) + } + + event.preventDefault() + } + } + + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + $(document) + .on(Event.CLICK_DATA_API, Selector.DATA_SLIDE, Carousel._dataApiClickHandler) + + $(window).on(Event.LOAD_DATA_API, () => { + const carousels = [].slice.call(document.querySelectorAll(Selector.DATA_RIDE)) + for (let i = 0, len = carousels.length; i < len; i++) { + const $carousel = $(carousels[i]) + Carousel._jQueryInterface.call($carousel, $carousel.data()) + } + }) + + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $.fn[NAME] = Carousel._jQueryInterface + $.fn[NAME].Constructor = Carousel + $.fn[NAME].noConflict = function () { + $.fn[NAME] = JQUERY_NO_CONFLICT + return Carousel._jQueryInterface + } + + return Carousel +})($) + +export default Carousel diff --git a/scrapyd_dash/static/vendors/bootstrap/js/src/collapse.js b/scrapyd_dash/static/vendors/bootstrap/js/src/collapse.js new file mode 100644 index 0000000..9277420 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/js/src/collapse.js @@ -0,0 +1,398 @@ +import $ from 'jquery' +import Util from './util' + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.1.3): collapse.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +const Collapse = (($) => { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + const NAME = 'collapse' + const VERSION = '4.1.3' + const DATA_KEY = 'bs.collapse' + const EVENT_KEY = `.${DATA_KEY}` + const DATA_API_KEY = '.data-api' + const JQUERY_NO_CONFLICT = $.fn[NAME] + + const Default = { + toggle : true, + parent : '' + } + + const DefaultType = { + toggle : 'boolean', + parent : '(string|element)' + } + + const Event = { + SHOW : `show${EVENT_KEY}`, + SHOWN : `shown${EVENT_KEY}`, + HIDE : `hide${EVENT_KEY}`, + HIDDEN : `hidden${EVENT_KEY}`, + CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}` + } + + const ClassName = { + SHOW : 'show', + COLLAPSE : 'collapse', + COLLAPSING : 'collapsing', + COLLAPSED : 'collapsed' + } + + const Dimension = { + WIDTH : 'width', + HEIGHT : 'height' + } + + const Selector = { + ACTIVES : '.show, .collapsing', + DATA_TOGGLE : '[data-toggle="collapse"]' + } + + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + class Collapse { + constructor(element, config) { + this._isTransitioning = false + this._element = element + this._config = this._getConfig(config) + this._triggerArray = $.makeArray(document.querySelectorAll( + `[data-toggle="collapse"][href="#${element.id}"],` + + `[data-toggle="collapse"][data-target="#${element.id}"]` + )) + const toggleList = [].slice.call(document.querySelectorAll(Selector.DATA_TOGGLE)) + for (let i = 0, len = toggleList.length; i < len; i++) { + const elem = toggleList[i] + const selector = Util.getSelectorFromElement(elem) + const filterElement = [].slice.call(document.querySelectorAll(selector)) + .filter((foundElem) => foundElem === element) + + if (selector !== null && filterElement.length > 0) { + this._selector = selector + this._triggerArray.push(elem) + } + } + + this._parent = this._config.parent ? this._getParent() : null + + if (!this._config.parent) { + this._addAriaAndCollapsedClass(this._element, this._triggerArray) + } + + if (this._config.toggle) { + this.toggle() + } + } + + // Getters + + static get VERSION() { + return VERSION + } + + static get Default() { + return Default + } + + // Public + + toggle() { + if ($(this._element).hasClass(ClassName.SHOW)) { + this.hide() + } else { + this.show() + } + } + + show() { + if (this._isTransitioning || + $(this._element).hasClass(ClassName.SHOW)) { + return + } + + let actives + let activesData + + if (this._parent) { + actives = [].slice.call(this._parent.querySelectorAll(Selector.ACTIVES)) + .filter((elem) => elem.getAttribute('data-parent') === this._config.parent) + + if (actives.length === 0) { + actives = null + } + } + + if (actives) { + activesData = $(actives).not(this._selector).data(DATA_KEY) + if (activesData && activesData._isTransitioning) { + return + } + } + + const startEvent = $.Event(Event.SHOW) + $(this._element).trigger(startEvent) + if (startEvent.isDefaultPrevented()) { + return + } + + if (actives) { + Collapse._jQueryInterface.call($(actives).not(this._selector), 'hide') + if (!activesData) { + $(actives).data(DATA_KEY, null) + } + } + + const dimension = this._getDimension() + + $(this._element) + .removeClass(ClassName.COLLAPSE) + .addClass(ClassName.COLLAPSING) + + this._element.style[dimension] = 0 + + if (this._triggerArray.length) { + $(this._triggerArray) + .removeClass(ClassName.COLLAPSED) + .attr('aria-expanded', true) + } + + this.setTransitioning(true) + + const complete = () => { + $(this._element) + .removeClass(ClassName.COLLAPSING) + .addClass(ClassName.COLLAPSE) + .addClass(ClassName.SHOW) + + this._element.style[dimension] = '' + + this.setTransitioning(false) + + $(this._element).trigger(Event.SHOWN) + } + + const capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1) + const scrollSize = `scroll${capitalizedDimension}` + const transitionDuration = Util.getTransitionDurationFromElement(this._element) + + $(this._element) + .one(Util.TRANSITION_END, complete) + .emulateTransitionEnd(transitionDuration) + + this._element.style[dimension] = `${this._element[scrollSize]}px` + } + + hide() { + if (this._isTransitioning || + !$(this._element).hasClass(ClassName.SHOW)) { + return + } + + const startEvent = $.Event(Event.HIDE) + $(this._element).trigger(startEvent) + if (startEvent.isDefaultPrevented()) { + return + } + + const dimension = this._getDimension() + + this._element.style[dimension] = `${this._element.getBoundingClientRect()[dimension]}px` + + Util.reflow(this._element) + + $(this._element) + .addClass(ClassName.COLLAPSING) + .removeClass(ClassName.COLLAPSE) + .removeClass(ClassName.SHOW) + + const triggerArrayLength = this._triggerArray.length + if (triggerArrayLength > 0) { + for (let i = 0; i < triggerArrayLength; i++) { + const trigger = this._triggerArray[i] + const selector = Util.getSelectorFromElement(trigger) + if (selector !== null) { + const $elem = $([].slice.call(document.querySelectorAll(selector))) + if (!$elem.hasClass(ClassName.SHOW)) { + $(trigger).addClass(ClassName.COLLAPSED) + .attr('aria-expanded', false) + } + } + } + } + + this.setTransitioning(true) + + const complete = () => { + this.setTransitioning(false) + $(this._element) + .removeClass(ClassName.COLLAPSING) + .addClass(ClassName.COLLAPSE) + .trigger(Event.HIDDEN) + } + + this._element.style[dimension] = '' + const transitionDuration = Util.getTransitionDurationFromElement(this._element) + + $(this._element) + .one(Util.TRANSITION_END, complete) + .emulateTransitionEnd(transitionDuration) + } + + setTransitioning(isTransitioning) { + this._isTransitioning = isTransitioning + } + + dispose() { + $.removeData(this._element, DATA_KEY) + + this._config = null + this._parent = null + this._element = null + this._triggerArray = null + this._isTransitioning = null + } + + // Private + + _getConfig(config) { + config = { + ...Default, + ...config + } + config.toggle = Boolean(config.toggle) // Coerce string values + Util.typeCheckConfig(NAME, config, DefaultType) + return config + } + + _getDimension() { + const hasWidth = $(this._element).hasClass(Dimension.WIDTH) + return hasWidth ? Dimension.WIDTH : Dimension.HEIGHT + } + + _getParent() { + let parent = null + if (Util.isElement(this._config.parent)) { + parent = this._config.parent + + // It's a jQuery object + if (typeof this._config.parent.jquery !== 'undefined') { + parent = this._config.parent[0] + } + } else { + parent = document.querySelector(this._config.parent) + } + + const selector = + `[data-toggle="collapse"][data-parent="${this._config.parent}"]` + + const children = [].slice.call(parent.querySelectorAll(selector)) + $(children).each((i, element) => { + this._addAriaAndCollapsedClass( + Collapse._getTargetFromElement(element), + [element] + ) + }) + + return parent + } + + _addAriaAndCollapsedClass(element, triggerArray) { + if (element) { + const isOpen = $(element).hasClass(ClassName.SHOW) + + if (triggerArray.length) { + $(triggerArray) + .toggleClass(ClassName.COLLAPSED, !isOpen) + .attr('aria-expanded', isOpen) + } + } + } + + // Static + + static _getTargetFromElement(element) { + const selector = Util.getSelectorFromElement(element) + return selector ? document.querySelector(selector) : null + } + + static _jQueryInterface(config) { + return this.each(function () { + const $this = $(this) + let data = $this.data(DATA_KEY) + const _config = { + ...Default, + ...$this.data(), + ...typeof config === 'object' && config ? config : {} + } + + if (!data && _config.toggle && /show|hide/.test(config)) { + _config.toggle = false + } + + if (!data) { + data = new Collapse(this, _config) + $this.data(DATA_KEY, data) + } + + if (typeof config === 'string') { + if (typeof data[config] === 'undefined') { + throw new TypeError(`No method named "${config}"`) + } + data[config]() + } + }) + } + } + + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { + // preventDefault only for elements (which change the URL) not inside the collapsible element + if (event.currentTarget.tagName === 'A') { + event.preventDefault() + } + + const $trigger = $(this) + const selector = Util.getSelectorFromElement(this) + const selectors = [].slice.call(document.querySelectorAll(selector)) + $(selectors).each(function () { + const $target = $(this) + const data = $target.data(DATA_KEY) + const config = data ? 'toggle' : $trigger.data() + Collapse._jQueryInterface.call($target, config) + }) + }) + + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $.fn[NAME] = Collapse._jQueryInterface + $.fn[NAME].Constructor = Collapse + $.fn[NAME].noConflict = function () { + $.fn[NAME] = JQUERY_NO_CONFLICT + return Collapse._jQueryInterface + } + + return Collapse +})($) + +export default Collapse diff --git a/scrapyd_dash/static/vendors/bootstrap/js/src/dropdown.js b/scrapyd_dash/static/vendors/bootstrap/js/src/dropdown.js new file mode 100644 index 0000000..072bce6 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/js/src/dropdown.js @@ -0,0 +1,494 @@ +import $ from 'jquery' +import Popper from 'popper.js' +import Util from './util' + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.1.3): dropdown.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +const Dropdown = (($) => { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + const NAME = 'dropdown' + const VERSION = '4.1.3' + const DATA_KEY = 'bs.dropdown' + const EVENT_KEY = `.${DATA_KEY}` + const DATA_API_KEY = '.data-api' + const JQUERY_NO_CONFLICT = $.fn[NAME] + const ESCAPE_KEYCODE = 27 // KeyboardEvent.which value for Escape (Esc) key + const SPACE_KEYCODE = 32 // KeyboardEvent.which value for space key + const TAB_KEYCODE = 9 // KeyboardEvent.which value for tab key + const ARROW_UP_KEYCODE = 38 // KeyboardEvent.which value for up arrow key + const ARROW_DOWN_KEYCODE = 40 // KeyboardEvent.which value for down arrow key + const RIGHT_MOUSE_BUTTON_WHICH = 3 // MouseEvent.which value for the right button (assuming a right-handed mouse) + const REGEXP_KEYDOWN = new RegExp(`${ARROW_UP_KEYCODE}|${ARROW_DOWN_KEYCODE}|${ESCAPE_KEYCODE}`) + + const Event = { + HIDE : `hide${EVENT_KEY}`, + HIDDEN : `hidden${EVENT_KEY}`, + SHOW : `show${EVENT_KEY}`, + SHOWN : `shown${EVENT_KEY}`, + CLICK : `click${EVENT_KEY}`, + CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`, + KEYDOWN_DATA_API : `keydown${EVENT_KEY}${DATA_API_KEY}`, + KEYUP_DATA_API : `keyup${EVENT_KEY}${DATA_API_KEY}` + } + + const ClassName = { + DISABLED : 'disabled', + SHOW : 'show', + DROPUP : 'dropup', + DROPRIGHT : 'dropright', + DROPLEFT : 'dropleft', + MENURIGHT : 'dropdown-menu-right', + MENULEFT : 'dropdown-menu-left', + POSITION_STATIC : 'position-static' + } + + const Selector = { + DATA_TOGGLE : '[data-toggle="dropdown"]', + FORM_CHILD : '.dropdown form', + MENU : '.dropdown-menu', + NAVBAR_NAV : '.navbar-nav', + VISIBLE_ITEMS : '.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)' + } + + const AttachmentMap = { + TOP : 'top-start', + TOPEND : 'top-end', + BOTTOM : 'bottom-start', + BOTTOMEND : 'bottom-end', + RIGHT : 'right-start', + RIGHTEND : 'right-end', + LEFT : 'left-start', + LEFTEND : 'left-end' + } + + const Default = { + offset : 0, + flip : true, + boundary : 'scrollParent', + reference : 'toggle', + display : 'dynamic' + } + + const DefaultType = { + offset : '(number|string|function)', + flip : 'boolean', + boundary : '(string|element)', + reference : '(string|element)', + display : 'string' + } + + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + class Dropdown { + constructor(element, config) { + this._element = element + this._popper = null + this._config = this._getConfig(config) + this._menu = this._getMenuElement() + this._inNavbar = this._detectNavbar() + + this._addEventListeners() + } + + // Getters + + static get VERSION() { + return VERSION + } + + static get Default() { + return Default + } + + static get DefaultType() { + return DefaultType + } + + // Public + + toggle() { + if (this._element.disabled || $(this._element).hasClass(ClassName.DISABLED)) { + return + } + + const parent = Dropdown._getParentFromElement(this._element) + const isActive = $(this._menu).hasClass(ClassName.SHOW) + + Dropdown._clearMenus() + + if (isActive) { + return + } + + const relatedTarget = { + relatedTarget: this._element + } + const showEvent = $.Event(Event.SHOW, relatedTarget) + + $(parent).trigger(showEvent) + + if (showEvent.isDefaultPrevented()) { + return + } + + // Disable totally Popper.js for Dropdown in Navbar + if (!this._inNavbar) { + /** + * Check for Popper dependency + * Popper - https://popper.js.org + */ + if (typeof Popper === 'undefined') { + throw new TypeError('Bootstrap dropdown require Popper.js (https://popper.js.org)') + } + + let referenceElement = this._element + + if (this._config.reference === 'parent') { + referenceElement = parent + } else if (Util.isElement(this._config.reference)) { + referenceElement = this._config.reference + + // Check if it's jQuery element + if (typeof this._config.reference.jquery !== 'undefined') { + referenceElement = this._config.reference[0] + } + } + + // If boundary is not `scrollParent`, then set position to `static` + // to allow the menu to "escape" the scroll parent's boundaries + // https://github.com/twbs/bootstrap/issues/24251 + if (this._config.boundary !== 'scrollParent') { + $(parent).addClass(ClassName.POSITION_STATIC) + } + this._popper = new Popper(referenceElement, this._menu, this._getPopperConfig()) + } + + // If this is a touch-enabled device we add extra + // empty mouseover listeners to the body's immediate children; + // only needed because of broken event delegation on iOS + // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html + if ('ontouchstart' in document.documentElement && + $(parent).closest(Selector.NAVBAR_NAV).length === 0) { + $(document.body).children().on('mouseover', null, $.noop) + } + + this._element.focus() + this._element.setAttribute('aria-expanded', true) + + $(this._menu).toggleClass(ClassName.SHOW) + $(parent) + .toggleClass(ClassName.SHOW) + .trigger($.Event(Event.SHOWN, relatedTarget)) + } + + dispose() { + $.removeData(this._element, DATA_KEY) + $(this._element).off(EVENT_KEY) + this._element = null + this._menu = null + if (this._popper !== null) { + this._popper.destroy() + this._popper = null + } + } + + update() { + this._inNavbar = this._detectNavbar() + if (this._popper !== null) { + this._popper.scheduleUpdate() + } + } + + // Private + + _addEventListeners() { + $(this._element).on(Event.CLICK, (event) => { + event.preventDefault() + event.stopPropagation() + this.toggle() + }) + } + + _getConfig(config) { + config = { + ...this.constructor.Default, + ...$(this._element).data(), + ...config + } + + Util.typeCheckConfig( + NAME, + config, + this.constructor.DefaultType + ) + + return config + } + + _getMenuElement() { + if (!this._menu) { + const parent = Dropdown._getParentFromElement(this._element) + if (parent) { + this._menu = parent.querySelector(Selector.MENU) + } + } + return this._menu + } + + _getPlacement() { + const $parentDropdown = $(this._element.parentNode) + let placement = AttachmentMap.BOTTOM + + // Handle dropup + if ($parentDropdown.hasClass(ClassName.DROPUP)) { + placement = AttachmentMap.TOP + if ($(this._menu).hasClass(ClassName.MENURIGHT)) { + placement = AttachmentMap.TOPEND + } + } else if ($parentDropdown.hasClass(ClassName.DROPRIGHT)) { + placement = AttachmentMap.RIGHT + } else if ($parentDropdown.hasClass(ClassName.DROPLEFT)) { + placement = AttachmentMap.LEFT + } else if ($(this._menu).hasClass(ClassName.MENURIGHT)) { + placement = AttachmentMap.BOTTOMEND + } + return placement + } + + _detectNavbar() { + return $(this._element).closest('.navbar').length > 0 + } + + _getPopperConfig() { + const offsetConf = {} + if (typeof this._config.offset === 'function') { + offsetConf.fn = (data) => { + data.offsets = { + ...data.offsets, + ...this._config.offset(data.offsets) || {} + } + return data + } + } else { + offsetConf.offset = this._config.offset + } + + const popperConfig = { + placement: this._getPlacement(), + modifiers: { + offset: offsetConf, + flip: { + enabled: this._config.flip + }, + preventOverflow: { + boundariesElement: this._config.boundary + } + } + } + + // Disable Popper.js if we have a static display + if (this._config.display === 'static') { + popperConfig.modifiers.applyStyle = { + enabled: false + } + } + return popperConfig + } + + // Static + + static _jQueryInterface(config) { + return this.each(function () { + let data = $(this).data(DATA_KEY) + const _config = typeof config === 'object' ? config : null + + if (!data) { + data = new Dropdown(this, _config) + $(this).data(DATA_KEY, data) + } + + if (typeof config === 'string') { + if (typeof data[config] === 'undefined') { + throw new TypeError(`No method named "${config}"`) + } + data[config]() + } + }) + } + + static _clearMenus(event) { + if (event && (event.which === RIGHT_MOUSE_BUTTON_WHICH || + event.type === 'keyup' && event.which !== TAB_KEYCODE)) { + return + } + + const toggles = [].slice.call(document.querySelectorAll(Selector.DATA_TOGGLE)) + for (let i = 0, len = toggles.length; i < len; i++) { + const parent = Dropdown._getParentFromElement(toggles[i]) + const context = $(toggles[i]).data(DATA_KEY) + const relatedTarget = { + relatedTarget: toggles[i] + } + + if (event && event.type === 'click') { + relatedTarget.clickEvent = event + } + + if (!context) { + continue + } + + const dropdownMenu = context._menu + if (!$(parent).hasClass(ClassName.SHOW)) { + continue + } + + if (event && (event.type === 'click' && + /input|textarea/i.test(event.target.tagName) || event.type === 'keyup' && event.which === TAB_KEYCODE) && + $.contains(parent, event.target)) { + continue + } + + const hideEvent = $.Event(Event.HIDE, relatedTarget) + $(parent).trigger(hideEvent) + if (hideEvent.isDefaultPrevented()) { + continue + } + + // If this is a touch-enabled device we remove the extra + // empty mouseover listeners we added for iOS support + if ('ontouchstart' in document.documentElement) { + $(document.body).children().off('mouseover', null, $.noop) + } + + toggles[i].setAttribute('aria-expanded', 'false') + + $(dropdownMenu).removeClass(ClassName.SHOW) + $(parent) + .removeClass(ClassName.SHOW) + .trigger($.Event(Event.HIDDEN, relatedTarget)) + } + } + + static _getParentFromElement(element) { + let parent + const selector = Util.getSelectorFromElement(element) + + if (selector) { + parent = document.querySelector(selector) + } + + return parent || element.parentNode + } + + // eslint-disable-next-line complexity + static _dataApiKeydownHandler(event) { + // If not input/textarea: + // - And not a key in REGEXP_KEYDOWN => not a dropdown command + // If input/textarea: + // - If space key => not a dropdown command + // - If key is other than escape + // - If key is not up or down => not a dropdown command + // - If trigger inside the menu => not a dropdown command + if (/input|textarea/i.test(event.target.tagName) + ? event.which === SPACE_KEYCODE || event.which !== ESCAPE_KEYCODE && + (event.which !== ARROW_DOWN_KEYCODE && event.which !== ARROW_UP_KEYCODE || + $(event.target).closest(Selector.MENU).length) : !REGEXP_KEYDOWN.test(event.which)) { + return + } + + event.preventDefault() + event.stopPropagation() + + if (this.disabled || $(this).hasClass(ClassName.DISABLED)) { + return + } + + const parent = Dropdown._getParentFromElement(this) + const isActive = $(parent).hasClass(ClassName.SHOW) + + if (!isActive && (event.which !== ESCAPE_KEYCODE || event.which !== SPACE_KEYCODE) || + isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) { + if (event.which === ESCAPE_KEYCODE) { + const toggle = parent.querySelector(Selector.DATA_TOGGLE) + $(toggle).trigger('focus') + } + + $(this).trigger('click') + return + } + + const items = [].slice.call(parent.querySelectorAll(Selector.VISIBLE_ITEMS)) + + if (items.length === 0) { + return + } + + let index = items.indexOf(event.target) + + if (event.which === ARROW_UP_KEYCODE && index > 0) { // Up + index-- + } + + if (event.which === ARROW_DOWN_KEYCODE && index < items.length - 1) { // Down + index++ + } + + if (index < 0) { + index = 0 + } + + items[index].focus() + } + } + + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + $(document) + .on(Event.KEYDOWN_DATA_API, Selector.DATA_TOGGLE, Dropdown._dataApiKeydownHandler) + .on(Event.KEYDOWN_DATA_API, Selector.MENU, Dropdown._dataApiKeydownHandler) + .on(`${Event.CLICK_DATA_API} ${Event.KEYUP_DATA_API}`, Dropdown._clearMenus) + .on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { + event.preventDefault() + event.stopPropagation() + Dropdown._jQueryInterface.call($(this), 'toggle') + }) + .on(Event.CLICK_DATA_API, Selector.FORM_CHILD, (e) => { + e.stopPropagation() + }) + + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $.fn[NAME] = Dropdown._jQueryInterface + $.fn[NAME].Constructor = Dropdown + $.fn[NAME].noConflict = function () { + $.fn[NAME] = JQUERY_NO_CONFLICT + return Dropdown._jQueryInterface + } + + return Dropdown +})($, Popper) + +export default Dropdown diff --git a/scrapyd_dash/static/vendors/bootstrap/js/src/index.js b/scrapyd_dash/static/vendors/bootstrap/js/src/index.js new file mode 100644 index 0000000..7304b69 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/js/src/index.js @@ -0,0 +1,50 @@ +import $ from 'jquery' +import Alert from './alert' +import Button from './button' +import Carousel from './carousel' +import Collapse from './collapse' +import Dropdown from './dropdown' +import Modal from './modal' +import Popover from './popover' +import Scrollspy from './scrollspy' +import Tab from './tab' +import Tooltip from './tooltip' +import Util from './util' + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.1.3): index.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +(($) => { + if (typeof $ === 'undefined') { + throw new TypeError('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.') + } + + const version = $.fn.jquery.split(' ')[0].split('.') + const minMajor = 1 + const ltMajor = 2 + const minMinor = 9 + const minPatch = 1 + const maxMajor = 4 + + if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) { + throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0') + } +})($) + +export { + Util, + Alert, + Button, + Carousel, + Collapse, + Dropdown, + Modal, + Popover, + Scrollspy, + Tab, + Tooltip +} diff --git a/scrapyd_dash/static/vendors/bootstrap/js/src/modal.js b/scrapyd_dash/static/vendors/bootstrap/js/src/modal.js new file mode 100644 index 0000000..ddcf370 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/js/src/modal.js @@ -0,0 +1,579 @@ +import $ from 'jquery' +import Util from './util' + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.1.3): modal.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +const Modal = (($) => { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + const NAME = 'modal' + const VERSION = '4.1.3' + const DATA_KEY = 'bs.modal' + const EVENT_KEY = `.${DATA_KEY}` + const DATA_API_KEY = '.data-api' + const JQUERY_NO_CONFLICT = $.fn[NAME] + const ESCAPE_KEYCODE = 27 // KeyboardEvent.which value for Escape (Esc) key + + const Default = { + backdrop : true, + keyboard : true, + focus : true, + show : true + } + + const DefaultType = { + backdrop : '(boolean|string)', + keyboard : 'boolean', + focus : 'boolean', + show : 'boolean' + } + + const Event = { + HIDE : `hide${EVENT_KEY}`, + HIDDEN : `hidden${EVENT_KEY}`, + SHOW : `show${EVENT_KEY}`, + SHOWN : `shown${EVENT_KEY}`, + FOCUSIN : `focusin${EVENT_KEY}`, + RESIZE : `resize${EVENT_KEY}`, + CLICK_DISMISS : `click.dismiss${EVENT_KEY}`, + KEYDOWN_DISMISS : `keydown.dismiss${EVENT_KEY}`, + MOUSEUP_DISMISS : `mouseup.dismiss${EVENT_KEY}`, + MOUSEDOWN_DISMISS : `mousedown.dismiss${EVENT_KEY}`, + CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}` + } + + const ClassName = { + SCROLLBAR_MEASURER : 'modal-scrollbar-measure', + BACKDROP : 'modal-backdrop', + OPEN : 'modal-open', + FADE : 'fade', + SHOW : 'show' + } + + const Selector = { + DIALOG : '.modal-dialog', + DATA_TOGGLE : '[data-toggle="modal"]', + DATA_DISMISS : '[data-dismiss="modal"]', + FIXED_CONTENT : '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top', + STICKY_CONTENT : '.sticky-top' + } + + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + class Modal { + constructor(element, config) { + this._config = this._getConfig(config) + this._element = element + this._dialog = element.querySelector(Selector.DIALOG) + this._backdrop = null + this._isShown = false + this._isBodyOverflowing = false + this._ignoreBackdropClick = false + this._scrollbarWidth = 0 + } + + // Getters + + static get VERSION() { + return VERSION + } + + static get Default() { + return Default + } + + // Public + + toggle(relatedTarget) { + return this._isShown ? this.hide() : this.show(relatedTarget) + } + + show(relatedTarget) { + if (this._isTransitioning || this._isShown) { + return + } + + if ($(this._element).hasClass(ClassName.FADE)) { + this._isTransitioning = true + } + + const showEvent = $.Event(Event.SHOW, { + relatedTarget + }) + + $(this._element).trigger(showEvent) + + if (this._isShown || showEvent.isDefaultPrevented()) { + return + } + + this._isShown = true + + this._checkScrollbar() + this._setScrollbar() + + this._adjustDialog() + + $(document.body).addClass(ClassName.OPEN) + + this._setEscapeEvent() + this._setResizeEvent() + + $(this._element).on( + Event.CLICK_DISMISS, + Selector.DATA_DISMISS, + (event) => this.hide(event) + ) + + $(this._dialog).on(Event.MOUSEDOWN_DISMISS, () => { + $(this._element).one(Event.MOUSEUP_DISMISS, (event) => { + if ($(event.target).is(this._element)) { + this._ignoreBackdropClick = true + } + }) + }) + + this._showBackdrop(() => this._showElement(relatedTarget)) + } + + hide(event) { + if (event) { + event.preventDefault() + } + + if (this._isTransitioning || !this._isShown) { + return + } + + const hideEvent = $.Event(Event.HIDE) + + $(this._element).trigger(hideEvent) + + if (!this._isShown || hideEvent.isDefaultPrevented()) { + return + } + + this._isShown = false + const transition = $(this._element).hasClass(ClassName.FADE) + + if (transition) { + this._isTransitioning = true + } + + this._setEscapeEvent() + this._setResizeEvent() + + $(document).off(Event.FOCUSIN) + + $(this._element).removeClass(ClassName.SHOW) + + $(this._element).off(Event.CLICK_DISMISS) + $(this._dialog).off(Event.MOUSEDOWN_DISMISS) + + + if (transition) { + const transitionDuration = Util.getTransitionDurationFromElement(this._element) + + $(this._element) + .one(Util.TRANSITION_END, (event) => this._hideModal(event)) + .emulateTransitionEnd(transitionDuration) + } else { + this._hideModal() + } + } + + dispose() { + $.removeData(this._element, DATA_KEY) + + $(window, document, this._element, this._backdrop).off(EVENT_KEY) + + this._config = null + this._element = null + this._dialog = null + this._backdrop = null + this._isShown = null + this._isBodyOverflowing = null + this._ignoreBackdropClick = null + this._scrollbarWidth = null + } + + handleUpdate() { + this._adjustDialog() + } + + // Private + + _getConfig(config) { + config = { + ...Default, + ...config + } + Util.typeCheckConfig(NAME, config, DefaultType) + return config + } + + _showElement(relatedTarget) { + const transition = $(this._element).hasClass(ClassName.FADE) + + if (!this._element.parentNode || + this._element.parentNode.nodeType !== Node.ELEMENT_NODE) { + // Don't move modal's DOM position + document.body.appendChild(this._element) + } + + this._element.style.display = 'block' + this._element.removeAttribute('aria-hidden') + this._element.scrollTop = 0 + + if (transition) { + Util.reflow(this._element) + } + + $(this._element).addClass(ClassName.SHOW) + + if (this._config.focus) { + this._enforceFocus() + } + + const shownEvent = $.Event(Event.SHOWN, { + relatedTarget + }) + + const transitionComplete = () => { + if (this._config.focus) { + this._element.focus() + } + this._isTransitioning = false + $(this._element).trigger(shownEvent) + } + + if (transition) { + const transitionDuration = Util.getTransitionDurationFromElement(this._element) + + $(this._dialog) + .one(Util.TRANSITION_END, transitionComplete) + .emulateTransitionEnd(transitionDuration) + } else { + transitionComplete() + } + } + + _enforceFocus() { + $(document) + .off(Event.FOCUSIN) // Guard against infinite focus loop + .on(Event.FOCUSIN, (event) => { + if (document !== event.target && + this._element !== event.target && + $(this._element).has(event.target).length === 0) { + this._element.focus() + } + }) + } + + _setEscapeEvent() { + if (this._isShown && this._config.keyboard) { + $(this._element).on(Event.KEYDOWN_DISMISS, (event) => { + if (event.which === ESCAPE_KEYCODE) { + event.preventDefault() + this.hide() + } + }) + } else if (!this._isShown) { + $(this._element).off(Event.KEYDOWN_DISMISS) + } + } + + _setResizeEvent() { + if (this._isShown) { + $(window).on(Event.RESIZE, (event) => this.handleUpdate(event)) + } else { + $(window).off(Event.RESIZE) + } + } + + _hideModal() { + this._element.style.display = 'none' + this._element.setAttribute('aria-hidden', true) + this._isTransitioning = false + this._showBackdrop(() => { + $(document.body).removeClass(ClassName.OPEN) + this._resetAdjustments() + this._resetScrollbar() + $(this._element).trigger(Event.HIDDEN) + }) + } + + _removeBackdrop() { + if (this._backdrop) { + $(this._backdrop).remove() + this._backdrop = null + } + } + + _showBackdrop(callback) { + const animate = $(this._element).hasClass(ClassName.FADE) + ? ClassName.FADE : '' + + if (this._isShown && this._config.backdrop) { + this._backdrop = document.createElement('div') + this._backdrop.className = ClassName.BACKDROP + + if (animate) { + this._backdrop.classList.add(animate) + } + + $(this._backdrop).appendTo(document.body) + + $(this._element).on(Event.CLICK_DISMISS, (event) => { + if (this._ignoreBackdropClick) { + this._ignoreBackdropClick = false + return + } + if (event.target !== event.currentTarget) { + return + } + if (this._config.backdrop === 'static') { + this._element.focus() + } else { + this.hide() + } + }) + + if (animate) { + Util.reflow(this._backdrop) + } + + $(this._backdrop).addClass(ClassName.SHOW) + + if (!callback) { + return + } + + if (!animate) { + callback() + return + } + + const backdropTransitionDuration = Util.getTransitionDurationFromElement(this._backdrop) + + $(this._backdrop) + .one(Util.TRANSITION_END, callback) + .emulateTransitionEnd(backdropTransitionDuration) + } else if (!this._isShown && this._backdrop) { + $(this._backdrop).removeClass(ClassName.SHOW) + + const callbackRemove = () => { + this._removeBackdrop() + if (callback) { + callback() + } + } + + if ($(this._element).hasClass(ClassName.FADE)) { + const backdropTransitionDuration = Util.getTransitionDurationFromElement(this._backdrop) + + $(this._backdrop) + .one(Util.TRANSITION_END, callbackRemove) + .emulateTransitionEnd(backdropTransitionDuration) + } else { + callbackRemove() + } + } else if (callback) { + callback() + } + } + + // ---------------------------------------------------------------------- + // the following methods are used to handle overflowing modals + // todo (fat): these should probably be refactored out of modal.js + // ---------------------------------------------------------------------- + + _adjustDialog() { + const isModalOverflowing = + this._element.scrollHeight > document.documentElement.clientHeight + + if (!this._isBodyOverflowing && isModalOverflowing) { + this._element.style.paddingLeft = `${this._scrollbarWidth}px` + } + + if (this._isBodyOverflowing && !isModalOverflowing) { + this._element.style.paddingRight = `${this._scrollbarWidth}px` + } + } + + _resetAdjustments() { + this._element.style.paddingLeft = '' + this._element.style.paddingRight = '' + } + + _checkScrollbar() { + const rect = document.body.getBoundingClientRect() + this._isBodyOverflowing = rect.left + rect.right < window.innerWidth + this._scrollbarWidth = this._getScrollbarWidth() + } + + _setScrollbar() { + if (this._isBodyOverflowing) { + // Note: DOMNode.style.paddingRight returns the actual value or '' if not set + // while $(DOMNode).css('padding-right') returns the calculated value or 0 if not set + const fixedContent = [].slice.call(document.querySelectorAll(Selector.FIXED_CONTENT)) + const stickyContent = [].slice.call(document.querySelectorAll(Selector.STICKY_CONTENT)) + + // Adjust fixed content padding + $(fixedContent).each((index, element) => { + const actualPadding = element.style.paddingRight + const calculatedPadding = $(element).css('padding-right') + $(element) + .data('padding-right', actualPadding) + .css('padding-right', `${parseFloat(calculatedPadding) + this._scrollbarWidth}px`) + }) + + // Adjust sticky content margin + $(stickyContent).each((index, element) => { + const actualMargin = element.style.marginRight + const calculatedMargin = $(element).css('margin-right') + $(element) + .data('margin-right', actualMargin) + .css('margin-right', `${parseFloat(calculatedMargin) - this._scrollbarWidth}px`) + }) + + // Adjust body padding + const actualPadding = document.body.style.paddingRight + const calculatedPadding = $(document.body).css('padding-right') + $(document.body) + .data('padding-right', actualPadding) + .css('padding-right', `${parseFloat(calculatedPadding) + this._scrollbarWidth}px`) + } + } + + _resetScrollbar() { + // Restore fixed content padding + const fixedContent = [].slice.call(document.querySelectorAll(Selector.FIXED_CONTENT)) + $(fixedContent).each((index, element) => { + const padding = $(element).data('padding-right') + $(element).removeData('padding-right') + element.style.paddingRight = padding ? padding : '' + }) + + // Restore sticky content + const elements = [].slice.call(document.querySelectorAll(`${Selector.STICKY_CONTENT}`)) + $(elements).each((index, element) => { + const margin = $(element).data('margin-right') + if (typeof margin !== 'undefined') { + $(element).css('margin-right', margin).removeData('margin-right') + } + }) + + // Restore body padding + const padding = $(document.body).data('padding-right') + $(document.body).removeData('padding-right') + document.body.style.paddingRight = padding ? padding : '' + } + + _getScrollbarWidth() { // thx d.walsh + const scrollDiv = document.createElement('div') + scrollDiv.className = ClassName.SCROLLBAR_MEASURER + document.body.appendChild(scrollDiv) + const scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth + document.body.removeChild(scrollDiv) + return scrollbarWidth + } + + // Static + + static _jQueryInterface(config, relatedTarget) { + return this.each(function () { + let data = $(this).data(DATA_KEY) + const _config = { + ...Default, + ...$(this).data(), + ...typeof config === 'object' && config ? config : {} + } + + if (!data) { + data = new Modal(this, _config) + $(this).data(DATA_KEY, data) + } + + if (typeof config === 'string') { + if (typeof data[config] === 'undefined') { + throw new TypeError(`No method named "${config}"`) + } + data[config](relatedTarget) + } else if (_config.show) { + data.show(relatedTarget) + } + }) + } + } + + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { + let target + const selector = Util.getSelectorFromElement(this) + + if (selector) { + target = document.querySelector(selector) + } + + const config = $(target).data(DATA_KEY) + ? 'toggle' : { + ...$(target).data(), + ...$(this).data() + } + + if (this.tagName === 'A' || this.tagName === 'AREA') { + event.preventDefault() + } + + const $target = $(target).one(Event.SHOW, (showEvent) => { + if (showEvent.isDefaultPrevented()) { + // Only register focus restorer if modal will actually get shown + return + } + + $target.one(Event.HIDDEN, () => { + if ($(this).is(':visible')) { + this.focus() + } + }) + }) + + Modal._jQueryInterface.call($(target), config, this) + }) + + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $.fn[NAME] = Modal._jQueryInterface + $.fn[NAME].Constructor = Modal + $.fn[NAME].noConflict = function () { + $.fn[NAME] = JQUERY_NO_CONFLICT + return Modal._jQueryInterface + } + + return Modal +})($) + +export default Modal diff --git a/scrapyd_dash/static/vendors/bootstrap/js/src/popover.js b/scrapyd_dash/static/vendors/bootstrap/js/src/popover.js new file mode 100644 index 0000000..eade7cf --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/js/src/popover.js @@ -0,0 +1,188 @@ +import $ from 'jquery' +import Tooltip from './tooltip' + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.1.3): popover.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +const Popover = (($) => { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + const NAME = 'popover' + const VERSION = '4.1.3' + const DATA_KEY = 'bs.popover' + const EVENT_KEY = `.${DATA_KEY}` + const JQUERY_NO_CONFLICT = $.fn[NAME] + const CLASS_PREFIX = 'bs-popover' + const BSCLS_PREFIX_REGEX = new RegExp(`(^|\\s)${CLASS_PREFIX}\\S+`, 'g') + + const Default = { + ...Tooltip.Default, + placement : 'right', + trigger : 'click', + content : '', + template : '' + } + + const DefaultType = { + ...Tooltip.DefaultType, + content : '(string|element|function)' + } + + const ClassName = { + FADE : 'fade', + SHOW : 'show' + } + + const Selector = { + TITLE : '.popover-header', + CONTENT : '.popover-body' + } + + const Event = { + HIDE : `hide${EVENT_KEY}`, + HIDDEN : `hidden${EVENT_KEY}`, + SHOW : `show${EVENT_KEY}`, + SHOWN : `shown${EVENT_KEY}`, + INSERTED : `inserted${EVENT_KEY}`, + CLICK : `click${EVENT_KEY}`, + FOCUSIN : `focusin${EVENT_KEY}`, + FOCUSOUT : `focusout${EVENT_KEY}`, + MOUSEENTER : `mouseenter${EVENT_KEY}`, + MOUSELEAVE : `mouseleave${EVENT_KEY}` + } + + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + class Popover extends Tooltip { + // Getters + + static get VERSION() { + return VERSION + } + + static get Default() { + return Default + } + + static get NAME() { + return NAME + } + + static get DATA_KEY() { + return DATA_KEY + } + + static get Event() { + return Event + } + + static get EVENT_KEY() { + return EVENT_KEY + } + + static get DefaultType() { + return DefaultType + } + + // Overrides + + isWithContent() { + return this.getTitle() || this._getContent() + } + + addAttachmentClass(attachment) { + $(this.getTipElement()).addClass(`${CLASS_PREFIX}-${attachment}`) + } + + getTipElement() { + this.tip = this.tip || $(this.config.template)[0] + return this.tip + } + + setContent() { + const $tip = $(this.getTipElement()) + + // We use append for html objects to maintain js events + this.setElementContent($tip.find(Selector.TITLE), this.getTitle()) + let content = this._getContent() + if (typeof content === 'function') { + content = content.call(this.element) + } + this.setElementContent($tip.find(Selector.CONTENT), content) + + $tip.removeClass(`${ClassName.FADE} ${ClassName.SHOW}`) + } + + // Private + + _getContent() { + return this.element.getAttribute('data-content') || + this.config.content + } + + _cleanTipClass() { + const $tip = $(this.getTipElement()) + const tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX) + if (tabClass !== null && tabClass.length > 0) { + $tip.removeClass(tabClass.join('')) + } + } + + // Static + + static _jQueryInterface(config) { + return this.each(function () { + let data = $(this).data(DATA_KEY) + const _config = typeof config === 'object' ? config : null + + if (!data && /destroy|hide/.test(config)) { + return + } + + if (!data) { + data = new Popover(this, _config) + $(this).data(DATA_KEY, data) + } + + if (typeof config === 'string') { + if (typeof data[config] === 'undefined') { + throw new TypeError(`No method named "${config}"`) + } + data[config]() + } + }) + } + } + + /** + * ------------------------------------------------------------------------ + * jQuery + * ------------------------------------------------------------------------ + */ + + $.fn[NAME] = Popover._jQueryInterface + $.fn[NAME].Constructor = Popover + $.fn[NAME].noConflict = function () { + $.fn[NAME] = JQUERY_NO_CONFLICT + return Popover._jQueryInterface + } + + return Popover +})($) + +export default Popover diff --git a/scrapyd_dash/static/vendors/bootstrap/js/src/scrollspy.js b/scrapyd_dash/static/vendors/bootstrap/js/src/scrollspy.js new file mode 100644 index 0000000..5cbffc6 --- /dev/null +++ b/scrapyd_dash/static/vendors/bootstrap/js/src/scrollspy.js @@ -0,0 +1,332 @@ +import $ from 'jquery' +import Util from './util' + +/** + * -------------------------------------------------------------------------- + * Bootstrap (v4.1.3): scrollspy.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + * -------------------------------------------------------------------------- + */ + +const ScrollSpy = (($) => { + /** + * ------------------------------------------------------------------------ + * Constants + * ------------------------------------------------------------------------ + */ + + const NAME = 'scrollspy' + const VERSION = '4.1.3' + const DATA_KEY = 'bs.scrollspy' + const EVENT_KEY = `.${DATA_KEY}` + const DATA_API_KEY = '.data-api' + const JQUERY_NO_CONFLICT = $.fn[NAME] + + const Default = { + offset : 10, + method : 'auto', + target : '' + } + + const DefaultType = { + offset : 'number', + method : 'string', + target : '(string|element)' + } + + const Event = { + ACTIVATE : `activate${EVENT_KEY}`, + SCROLL : `scroll${EVENT_KEY}`, + LOAD_DATA_API : `load${EVENT_KEY}${DATA_API_KEY}` + } + + const ClassName = { + DROPDOWN_ITEM : 'dropdown-item', + DROPDOWN_MENU : 'dropdown-menu', + ACTIVE : 'active' + } + + const Selector = { + DATA_SPY : '[data-spy="scroll"]', + ACTIVE : '.active', + NAV_LIST_GROUP : '.nav, .list-group', + NAV_LINKS : '.nav-link', + NAV_ITEMS : '.nav-item', + LIST_ITEMS : '.list-group-item', + DROPDOWN : '.dropdown', + DROPDOWN_ITEMS : '.dropdown-item', + DROPDOWN_TOGGLE : '.dropdown-toggle' + } + + const OffsetMethod = { + OFFSET : 'offset', + POSITION : 'position' + } + + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ + + class ScrollSpy { + constructor(element, config) { + this._element = element + this._scrollElement = element.tagName === 'BODY' ? window : element + this._config = this._getConfig(config) + this._selector = `${this._config.target} ${Selector.NAV_LINKS},` + + `${this._config.target} ${Selector.LIST_ITEMS},` + + `${this._config.target} ${Selector.DROPDOWN_ITEMS}` + this._offsets = [] + this._targets = [] + this._activeTarget = null + this._scrollHeight = 0 + + $(this._scrollElement).on(Event.SCROLL, (event) => this._process(event)) + + this.refresh() + this._process() + } + + // Getters + + static get VERSION() { + return VERSION + } + + static get Default() { + return Default + } + + // Public + + refresh() { + const autoMethod = this._scrollElement === this._scrollElement.window + ? OffsetMethod.OFFSET : OffsetMethod.POSITION + + const offsetMethod = this._config.method === 'auto' + ? autoMethod : this._config.method + + const offsetBase = offsetMethod === OffsetMethod.POSITION + ? this._getScrollTop() : 0 + + this._offsets = [] + this._targets = [] + + this._scrollHeight = this._getScrollHeight() + + const targets = [].slice.call(document.querySelectorAll(this._selector)) + + targets + .map((element) => { + let target + const targetSelector = Util.getSelectorFromElement(element) + + if (targetSelector) { + target = document.querySelector(targetSelector) + } + + if (target) { + const targetBCR = target.getBoundingClientRect() + if (targetBCR.width || targetBCR.height) { + // TODO (fat): remove sketch reliance on jQuery position/offset + return [ + $(target)[offsetMethod]().top + offsetBase, + targetSelector + ] + } + } + return null + }) + .filter((item) => item) + .sort((a, b) => a[0] - b[0]) + .forEach((item) => { + this._offsets.push(item[0]) + this._targets.push(item[1]) + }) + } + + dispose() { + $.removeData(this._element, DATA_KEY) + $(this._scrollElement).off(EVENT_KEY) + + this._element = null + this._scrollElement = null + this._config = null + this._selector = null + this._offsets = null + this._targets = null + this._activeTarget = null + this._scrollHeight = null + } + + // Private + + _getConfig(config) { + config = { + ...Default, + ...typeof config === 'object' && config ? config : {} + } + + if (typeof config.target !== 'string') { + let id = $(config.target).attr('id') + if (!id) { + id = Util.getUID(NAME) + $(config.target).attr('id', id) + } + config.target = `#${id}` + } + + Util.typeCheckConfig(NAME, config, DefaultType) + + return config + } + + _getScrollTop() { + return this._scrollElement === window + ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop + } + + _getScrollHeight() { + return this._scrollElement.scrollHeight || Math.max( + document.body.scrollHeight, + document.documentElement.scrollHeight + ) + } + + _getOffsetHeight() { + return this._scrollElement === window + ? window.innerHeight : this._scrollElement.getBoundingClientRect().height + } + + _process() { + const scrollTop = this._getScrollTop() + this._config.offset + const scrollHeight = this._getScrollHeight() + const maxScroll = this._config.offset + + scrollHeight - + this._getOffsetHeight() + + if (this._scrollHeight !== scrollHeight) { + this.refresh() + } + + if (scrollTop >= maxScroll) { + const target = this._targets[this._targets.length - 1] + + if (this._activeTarget !== target) { + this._activate(target) + } + return + } + + if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) { + this._activeTarget = null + this._clear() + return + } + + const offsetLength = this._offsets.length + for (let i = offsetLength; i--;) { + const isActiveTarget = this._activeTarget !== this._targets[i] && + scrollTop >= this._offsets[i] && + (typeof this._offsets[i + 1] === 'undefined' || + scrollTop < this._offsets[i + 1]) + + if (isActiveTarget) { + this._activate(this._targets[i]) + } + } + } + + _activate(target) { + this._activeTarget = target + + this._clear() + + let queries = this._selector.split(',') + // eslint-disable-next-line arrow-body-style + queries = queries.map((selector) => { + return `${selector}[data-target="${target}"],` + + `${selector}[href="${target}"]` + }) + + const $link = $([].slice.call(document.querySelectorAll(queries.join(',')))) + + if ($link.hasClass(ClassName.DROPDOWN_ITEM)) { + $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE) + $link.addClass(ClassName.ACTIVE) + } else { + // Set triggered link as active + $link.addClass(ClassName.ACTIVE) + // Set triggered links parents as active + // With both
    and