├── .env ├── .gitignore ├── CHANGELOG.md ├── Dockerfile ├── LICENSE.md ├── README.md ├── apps ├── __init__.py ├── authentication │ ├── __init__.py │ ├── admin.py │ ├── config.py │ ├── forms.py │ ├── migrations │ │ └── __init__.py │ ├── models.py │ ├── tests.py │ ├── urls.py │ └── views.py ├── config.py ├── context_processors.py ├── home │ ├── __init__.py │ ├── admin.py │ ├── config.py │ ├── migrations │ │ └── __init__.py │ ├── models.py │ ├── tests.py │ ├── urls.py │ └── views.py ├── static │ └── assets │ │ ├── .gitkeep │ │ ├── css │ │ ├── dark-theme-core.css │ │ ├── dark-theme-core.css.map │ │ ├── nucleo-icons.css │ │ ├── nucleo-svg.css │ │ ├── soft-ui-dashboard.css │ │ ├── soft-ui-dashboard.css.map │ │ └── soft-ui-dashboard.min.css │ │ ├── fonts │ │ ├── nucleo-icons.eot │ │ ├── nucleo-icons.svg │ │ ├── nucleo-icons.ttf │ │ ├── nucleo-icons.woff │ │ ├── nucleo-icons.woff2 │ │ ├── nucleo.eot │ │ ├── nucleo.ttf │ │ ├── nucleo.woff │ │ └── nucleo.woff2 │ │ ├── gulpfile.js │ │ ├── img │ │ ├── apple-icon.png │ │ ├── bg1.jpg │ │ ├── bruce-mars.jpg │ │ ├── curved-images │ │ │ ├── curved-10.jpg │ │ │ ├── curved-11.jpg │ │ │ ├── curved-6.jpg │ │ │ ├── curved-8.jpg │ │ │ ├── curved0.jpg │ │ │ ├── curved1.jpg │ │ │ ├── curved10.jpg │ │ │ ├── curved11-small.jpg │ │ │ ├── curved11.jpg │ │ │ ├── curved12.jpg │ │ │ ├── curved13.jpg │ │ │ ├── curved14.jpg │ │ │ ├── curved19.jpg │ │ │ ├── curved2.jpg │ │ │ ├── curved21.jpg │ │ │ ├── curved3.jpg │ │ │ ├── curved4.jpg │ │ │ ├── curved5-small.jpg │ │ │ ├── curved5.jpg │ │ │ ├── curved6-small.jpg │ │ │ ├── curved6.jpg │ │ │ ├── curved7.jpg │ │ │ ├── curved8.jpg │ │ │ ├── curved9.jpg │ │ │ └── white-curved.jpg │ │ ├── down-arrow-dark.svg │ │ ├── down-arrow-white.svg │ │ ├── down-arrow.svg │ │ ├── favicon.png │ │ ├── home-decor-1.jpg │ │ ├── home-decor-2.jpg │ │ ├── home-decor-3.jpg │ │ ├── illustrations │ │ │ ├── rocket-dark.png │ │ │ └── rocket-white.png │ │ ├── ivana-square.jpg │ │ ├── ivancik.jpg │ │ ├── kal-visuals-square.jpg │ │ ├── logo-ct-dark.png │ │ ├── logo-ct.png │ │ ├── logos │ │ │ ├── mastercard.png │ │ │ └── visa.png │ │ ├── marie.jpg │ │ ├── shapes │ │ │ ├── pattern-lines.svg │ │ │ ├── shape-1.svg │ │ │ ├── shape-2.svg │ │ │ ├── shape-3.svg │ │ │ ├── wave-down.svg │ │ │ ├── wave-up.svg │ │ │ ├── waves-gray.svg │ │ │ └── waves-white.svg │ │ ├── small-logos │ │ │ ├── icon-sun-cloud.png │ │ │ ├── logo-atlassian.svg │ │ │ ├── logo-invision.svg │ │ │ ├── logo-jira.svg │ │ │ ├── logo-slack.svg │ │ │ ├── logo-spotify.svg │ │ │ ├── logo-webdev.svg │ │ │ └── logo-xd.svg │ │ ├── team-1.jpg │ │ ├── team-2.jpg │ │ ├── team-3.jpg │ │ ├── team-4.jpg │ │ ├── theme │ │ │ ├── angular.jpg │ │ │ ├── bootstrap.jpg │ │ │ ├── dribbble.png │ │ │ ├── dropbox.png │ │ │ ├── mastercard.png │ │ │ ├── paypal.png │ │ │ ├── react.jpg │ │ │ ├── sketch.jpg │ │ │ ├── slack.png │ │ │ ├── spotify.jpeg │ │ │ ├── tim.png │ │ │ ├── unass.jpg │ │ │ ├── visa.png │ │ │ └── vue.jpg │ │ └── vr-bg.jpg │ │ ├── js │ │ ├── core │ │ │ ├── bootstrap.bundle.min.js │ │ │ ├── bootstrap.min.js │ │ │ └── popper.min.js │ │ ├── dark-mode-handler.js │ │ ├── plugins │ │ │ ├── Chart.extension.js │ │ │ ├── bootstrap-notify.js │ │ │ ├── chartjs.min.js │ │ │ ├── perfect-scrollbar.min.js │ │ │ └── smooth-scrollbar.min.js │ │ ├── soft-ui-dashboard.js │ │ ├── soft-ui-dashboard.js.map │ │ └── soft-ui-dashboard.min.js │ │ ├── package.json │ │ └── scss │ │ ├── dark-theme-core.scss │ │ ├── soft-ui-dashboard.scss │ │ └── soft-ui-dashboard │ │ ├── _alert.scss │ │ ├── _avatars.scss │ │ ├── _badge.scss │ │ ├── _breadcrumbs.scss │ │ ├── _buttons.scss │ │ ├── _cards.scss │ │ ├── _dark-version.scss │ │ ├── _dropdown.scss │ │ ├── _dropup.scss │ │ ├── _fixed-plugin.scss │ │ ├── _footer.scss │ │ ├── _forms.scss │ │ ├── _gradients.scss │ │ ├── _header.scss │ │ ├── _info-areas.scss │ │ ├── _misc.scss │ │ ├── _nav.scss │ │ ├── _navbar-vertical.scss │ │ ├── _navbar.scss │ │ ├── _pagination.scss │ │ ├── _popovers.scss │ │ ├── _progress.scss │ │ ├── _rtl.scss │ │ ├── _social-buttons.scss │ │ ├── _tables.scss │ │ ├── _tilt.scss │ │ ├── _timeline.scss │ │ ├── _tooltips.scss │ │ ├── _typography.scss │ │ ├── _utilities-extend.scss │ │ ├── _utilities.scss │ │ ├── _variables.scss │ │ ├── bootstrap │ │ ├── _accordion.scss │ │ ├── _alert.scss │ │ ├── _badge.scss │ │ ├── _breadcrumb.scss │ │ ├── _button-group.scss │ │ ├── _buttons.scss │ │ ├── _card.scss │ │ ├── _carousel.scss │ │ ├── _close.scss │ │ ├── _containers.scss │ │ ├── _dropdown.scss │ │ ├── _forms.scss │ │ ├── _functions.scss │ │ ├── _grid.scss │ │ ├── _helpers.scss │ │ ├── _images.scss │ │ ├── _list-group.scss │ │ ├── _maps.scss │ │ ├── _mixins.scss │ │ ├── _modal.scss │ │ ├── _nav.scss │ │ ├── _navbar.scss │ │ ├── _offcanvas.scss │ │ ├── _pagination.scss │ │ ├── _placeholders.scss │ │ ├── _popover.scss │ │ ├── _progress.scss │ │ ├── _reboot.scss │ │ ├── _root.scss │ │ ├── _spinners.scss │ │ ├── _tables.scss │ │ ├── _toasts.scss │ │ ├── _tooltip.scss │ │ ├── _transitions.scss │ │ ├── _type.scss │ │ ├── _utilities.scss │ │ ├── _variables.scss │ │ ├── bootstrap-grid.scss │ │ ├── bootstrap-reboot.scss │ │ ├── bootstrap-utilities.scss │ │ ├── bootstrap.scss │ │ ├── forms │ │ │ ├── _floating-labels.scss │ │ │ ├── _form-check.scss │ │ │ ├── _form-control.scss │ │ │ ├── _form-range.scss │ │ │ ├── _form-select.scss │ │ │ ├── _form-text.scss │ │ │ ├── _input-group.scss │ │ │ ├── _labels.scss │ │ │ └── _validation.scss │ │ ├── helpers │ │ │ ├── _clearfix.scss │ │ │ ├── _color-bg.scss │ │ │ ├── _colored-links.scss │ │ │ ├── _position.scss │ │ │ ├── _ratio.scss │ │ │ ├── _stacks.scss │ │ │ ├── _stretched-link.scss │ │ │ ├── _text-truncation.scss │ │ │ ├── _visually-hidden.scss │ │ │ └── _vr.scss │ │ ├── mixins │ │ │ ├── _alert.scss │ │ │ ├── _backdrop.scss │ │ │ ├── _border-radius.scss │ │ │ ├── _box-shadow.scss │ │ │ ├── _breakpoints.scss │ │ │ ├── _buttons.scss │ │ │ ├── _caret.scss │ │ │ ├── _clearfix.scss │ │ │ ├── _color-scheme.scss │ │ │ ├── _container.scss │ │ │ ├── _deprecate.scss │ │ │ ├── _forms.scss │ │ │ ├── _gradients.scss │ │ │ ├── _grid.scss │ │ │ ├── _image.scss │ │ │ ├── _list-group.scss │ │ │ ├── _lists.scss │ │ │ ├── _pagination.scss │ │ │ ├── _reset-text.scss │ │ │ ├── _resize.scss │ │ │ ├── _table-variants.scss │ │ │ ├── _text-truncate.scss │ │ │ ├── _transition.scss │ │ │ ├── _utilities.scss │ │ │ └── _visually-hidden.scss │ │ ├── utilities │ │ │ └── _api.scss │ │ └── vendor │ │ │ └── _rfs.scss │ │ ├── cards │ │ └── card-background.scss │ │ ├── custom │ │ ├── _styles.scss │ │ └── _variables.scss │ │ ├── forms │ │ ├── _form-check.scss │ │ ├── _form-select.scss │ │ ├── _form-switch.scss │ │ ├── _forms.scss │ │ ├── _input-group.scss │ │ ├── _inputs.scss │ │ └── _labels.scss │ │ ├── mixins │ │ ├── _badge.scss │ │ ├── _colored-shadows.scss │ │ ├── _hover.scss │ │ ├── _social-buttons.scss │ │ └── mixins.scss │ │ ├── plugins │ │ └── free │ │ │ ├── _flatpickr.scss │ │ │ ├── _nouislider.scss │ │ │ ├── _perfect-scrollbar.scss │ │ │ ├── _prism.scss │ │ │ └── plugins.scss │ │ ├── theme.scss │ │ └── variables │ │ ├── _animations.scss │ │ ├── _avatars.scss │ │ ├── _badge.scss │ │ ├── _breadcrumb.scss │ │ ├── _cards-extend.scss │ │ ├── _cards.scss │ │ ├── _choices.scss │ │ ├── _dark-version.scss │ │ ├── _dropdowns.scss │ │ ├── _fixed-plugin.scss │ │ ├── _form-switch.scss │ │ ├── _full-calendar.scss │ │ ├── _header.scss │ │ ├── _info-areas.scss │ │ ├── _misc-extend.scss │ │ ├── _misc.scss │ │ ├── _navbar-vertical.scss │ │ ├── _navbar.scss │ │ ├── _pagination.scss │ │ ├── _rtl.scss │ │ ├── _social-buttons.scss │ │ ├── _table.scss │ │ ├── _timeline.scss │ │ ├── _utilities-extend.scss │ │ ├── _utilities.scss │ │ └── _virtual-reality.scss ├── tasks │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── config.py │ ├── migrations │ │ └── __init__.py │ ├── models.py │ ├── signals.py │ ├── tasks.py │ ├── templatetags │ │ ├── __init__.py │ │ └── formats.py │ ├── tests.py │ ├── urls.py │ └── views.py └── templates │ ├── .gitkeep │ ├── accounts │ ├── login.html │ └── register.html │ ├── home │ ├── .gitkeep │ ├── billing.html │ ├── index.html │ ├── page-403.html │ ├── page-404.html │ ├── page-500.html │ ├── profile.html │ ├── rtl.html │ ├── sign-in.html │ ├── sign-up.html │ ├── tables.html │ └── virtual-reality.html │ ├── includes │ ├── .gitkeep │ ├── fixed-plugin.html │ ├── footer-fullscreen.html │ ├── footer-rtl.html │ ├── footer.html │ ├── navigation-fullscreen.html │ ├── navigation-rtl.html │ ├── navigation.html │ ├── scripts.html │ ├── sidebar-rtl.html │ └── sidebar.html │ ├── layouts │ ├── .gitkeep │ ├── base-fullscreen.html │ ├── base-rtl.html │ └── base.html │ └── tasks │ └── index.html ├── celery_logs └── .gitkeep ├── celery_scripts ├── check-db-health.py ├── check-disk-free.py └── clean-database.py ├── core ├── __init__.py ├── asgi.py ├── celery.py ├── settings.py ├── staticfiles │ └── .gitkeep ├── urls.py └── wsgi.py ├── docker-compose.yml ├── env.sample ├── gunicorn-cfg.py ├── log.json ├── manage.py ├── nginx └── appseed-app.conf ├── package.json ├── requirements.txt └── staticfiles └── .gitkeep /.env: -------------------------------------------------------------------------------- 1 | # True for development, False for production 2 | DEBUG=True 3 | 4 | # Deployment SERVER address 5 | SERVER=.appseed.us 6 | 7 | # Used for CDN (in production) 8 | # No Slash at the end 9 | ASSETS_ROOT=/static/assets 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | 5 | # tests and coverage 6 | *.pytest_cache 7 | .coverage 8 | 9 | # database & logs 10 | *.db 11 | *.sqlite3 12 | 13 | #*.log 14 | 15 | # venv 16 | env 17 | venv 18 | 19 | # other 20 | .DS_Store 21 | 22 | # javascript 23 | package-lock.json 24 | 25 | staticfiles/* 26 | !staticfiles/.gitkeep 27 | .vscode/symbols.json 28 | 29 | apps/static/assets/node_modules 30 | apps/static/assets/yarn.lock 31 | apps/static/assets/.temp 32 | celery_logs/* 33 | 34 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## [1.0.0] 2020-10-11 4 | ### Improvements 5 | 6 | - Stable release 7 | - Dedicated TASKS Page 8 | - Supported Tasks: 9 | - Registered in APPS 10 | - EXEC external scripts (`celery_scripts` folder) 11 | 12 | ## [0.0.1] 2020-10-02 13 | ### Improvements 14 | 15 | - Prepare the UI for Celery 16 | 17 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM python:3.9 2 | 3 | # set environment variables 4 | ENV PYTHONDONTWRITEBYTECODE 1 5 | ENV PYTHONUNBUFFERED 1 6 | 7 | COPY requirements.txt . 8 | # install python dependencies 9 | RUN pip install --upgrade pip 10 | RUN pip install --no-cache-dir -r requirements.txt 11 | 12 | COPY . /app 13 | 14 | WORKDIR /app 15 | 16 | # running migrations 17 | RUN python manage.py migrate 18 | 19 | # gunicorn 20 | CMD ["gunicorn", "--config", "gunicorn-cfg.py", "core.wsgi"] 21 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | # MIT License 2 | 3 | Copyright (c) 2019 - present [AppSeed](http://appseed.us/) 4 | 5 |
6 | 7 | ## Licensing Information 8 | 9 |
10 | 11 | | Item | - | 12 | | ---------------------------------- | --- | 13 | | License Type | MIT | 14 | | Use for print | **YES** | 15 | | Create single personal website/app | **YES** | 16 | | Create single website/app for client | **YES** | 17 | | Create multiple website/apps for clients | **YES** | 18 | | Create multiple SaaS applications | **YES** | 19 | | End-product paying users | **YES** | 20 | | Product sale | **YES** | 21 | | Remove footer credits | **YES** | 22 | | --- | --- | 23 | | Remove copyright mentions from source code | NO | 24 | | Production deployment assistance | NO | 25 | | Create HTML/CSS template for sale | NO | 26 | | Create Theme/Template for CMS for sale | NO | 27 | | Separate sale of our UI Elements | NO | 28 | 29 |
30 | 31 | --- 32 | For more information regarding licensing, please contact the AppSeed Service < *support@appseed.us* > 33 | -------------------------------------------------------------------------------- /apps/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/__init__.py -------------------------------------------------------------------------------- /apps/authentication/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | -------------------------------------------------------------------------------- /apps/authentication/admin.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.contrib import admin 7 | 8 | # Register your models here. 9 | -------------------------------------------------------------------------------- /apps/authentication/config.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.apps import AppConfig 7 | 8 | 9 | class AuthConfig(AppConfig): 10 | name = 'apps.auth' 11 | label = 'apps_auth' 12 | -------------------------------------------------------------------------------- /apps/authentication/forms.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django import forms 7 | from django.contrib.auth.forms import UserCreationForm 8 | from django.contrib.auth.models import User 9 | 10 | 11 | class LoginForm(forms.Form): 12 | username = forms.CharField( 13 | widget=forms.TextInput( 14 | attrs={ 15 | "placeholder": "Username", 16 | "class": "form-control" 17 | } 18 | )) 19 | password = forms.CharField( 20 | widget=forms.PasswordInput( 21 | attrs={ 22 | "placeholder": "Password", 23 | "class": "form-control" 24 | } 25 | )) 26 | 27 | 28 | class SignUpForm(UserCreationForm): 29 | username = forms.CharField( 30 | widget=forms.TextInput( 31 | attrs={ 32 | "placeholder": "Username", 33 | "class": "form-control" 34 | } 35 | )) 36 | email = forms.EmailField( 37 | widget=forms.EmailInput( 38 | attrs={ 39 | "placeholder": "Email", 40 | "class": "form-control" 41 | } 42 | )) 43 | password1 = forms.CharField( 44 | widget=forms.PasswordInput( 45 | attrs={ 46 | "placeholder": "Password", 47 | "class": "form-control" 48 | } 49 | )) 50 | password2 = forms.CharField( 51 | widget=forms.PasswordInput( 52 | attrs={ 53 | "placeholder": "Password check", 54 | "class": "form-control" 55 | } 56 | )) 57 | 58 | class Meta: 59 | model = User 60 | fields = ('username', 'email', 'password1', 'password2') 61 | -------------------------------------------------------------------------------- /apps/authentication/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | -------------------------------------------------------------------------------- /apps/authentication/models.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.db import models 7 | 8 | # Create your models here. 9 | -------------------------------------------------------------------------------- /apps/authentication/tests.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.test import TestCase 7 | 8 | # Create your tests here. 9 | -------------------------------------------------------------------------------- /apps/authentication/urls.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.urls import path 7 | from .views import login_view, register_user 8 | from django.contrib.auth.views import LogoutView 9 | 10 | urlpatterns = [ 11 | path('login/', login_view, name="login"), 12 | path('register/', register_user, name="register"), 13 | path("logout/", LogoutView.as_view(), name="logout") 14 | ] 15 | -------------------------------------------------------------------------------- /apps/authentication/views.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | # Create your views here. 7 | from django.shortcuts import render, redirect 8 | from django.contrib.auth import authenticate, login 9 | from .forms import LoginForm, SignUpForm 10 | 11 | 12 | def login_view(request): 13 | form = LoginForm(request.POST or None) 14 | 15 | msg = None 16 | 17 | if request.method == "POST": 18 | 19 | if form.is_valid(): 20 | username = form.cleaned_data.get("username") 21 | password = form.cleaned_data.get("password") 22 | user = authenticate(username=username, password=password) 23 | if user is not None: 24 | login(request, user) 25 | return redirect("/") 26 | else: 27 | msg = 'Invalid credentials' 28 | else: 29 | msg = 'Error validating the form' 30 | 31 | return render(request, "accounts/login.html", {"form": form, "msg": msg}) 32 | 33 | 34 | def register_user(request): 35 | msg = None 36 | success = False 37 | 38 | if request.method == "POST": 39 | form = SignUpForm(request.POST) 40 | if form.is_valid(): 41 | form.save() 42 | username = form.cleaned_data.get("username") 43 | raw_password = form.cleaned_data.get("password1") 44 | user = authenticate(username=username, password=raw_password) 45 | 46 | msg = 'User created successfully.' 47 | success = True 48 | 49 | # return redirect("/login/") 50 | 51 | else: 52 | msg = 'Form is not valid' 53 | else: 54 | form = SignUpForm() 55 | 56 | return render(request, "accounts/register.html", {"form": form, "msg": msg, "success": success}) 57 | -------------------------------------------------------------------------------- /apps/config.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class AppsConfig(AppConfig): 5 | default_auto_field = 'django.db.models.BigAutoField' 6 | name = 'apps' 7 | label = 'apps' 8 | -------------------------------------------------------------------------------- /apps/context_processors.py: -------------------------------------------------------------------------------- 1 | from django.conf import settings 2 | 3 | def cfg_assets_root(request): 4 | 5 | return { 'ASSETS_ROOT' : settings.ASSETS_ROOT } 6 | 7 | -------------------------------------------------------------------------------- /apps/home/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | -------------------------------------------------------------------------------- /apps/home/admin.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.contrib import admin 7 | 8 | # Register your models here. 9 | -------------------------------------------------------------------------------- /apps/home/config.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.apps import AppConfig 7 | 8 | 9 | class MyConfig(AppConfig): 10 | name = 'apps.home' 11 | label = 'apps_home' 12 | -------------------------------------------------------------------------------- /apps/home/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | -------------------------------------------------------------------------------- /apps/home/models.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.db import models 7 | from django.contrib.auth.models import User 8 | 9 | # Create your models here. 10 | 11 | -------------------------------------------------------------------------------- /apps/home/tests.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.test import TestCase 7 | 8 | # Create your tests here. 9 | -------------------------------------------------------------------------------- /apps/home/urls.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.urls import path, re_path 7 | from apps.home import views 8 | 9 | urlpatterns = [ 10 | 11 | # The home page 12 | path('', views.index, name='home'), 13 | 14 | # Matches any html file 15 | re_path(r'^.*\.*', views.pages, name='pages'), 16 | 17 | ] 18 | -------------------------------------------------------------------------------- /apps/home/views.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django import template 7 | from django.contrib.auth.decorators import login_required 8 | from django.http import HttpResponse, HttpResponseRedirect 9 | from django.template import loader 10 | from django.urls import reverse 11 | 12 | 13 | @login_required(login_url="/login/") 14 | def index(request): 15 | context = {'segment': 'index'} 16 | 17 | html_template = loader.get_template('home/index.html') 18 | return HttpResponse(html_template.render(context, request)) 19 | 20 | 21 | @login_required(login_url="/login/") 22 | def pages(request): 23 | context = {} 24 | # All resource paths end in .html. 25 | # Pick out the html file name from the url. And load that template. 26 | try: 27 | 28 | load_template = request.path.split('/')[-1] 29 | 30 | if load_template == 'admin': 31 | return HttpResponseRedirect(reverse('admin:index')) 32 | context['segment'] = load_template 33 | 34 | html_template = loader.get_template('home/' + load_template) 35 | return HttpResponse(html_template.render(context, request)) 36 | 37 | except Exception as e: 38 | 39 | print(' > ERR: ' + str(e)) 40 | html_template = loader.get_template('home/page-404.html') 41 | return HttpResponse(html_template.render(context, request)) 42 | -------------------------------------------------------------------------------- /apps/static/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/.gitkeep -------------------------------------------------------------------------------- /apps/static/assets/fonts/nucleo-icons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/fonts/nucleo-icons.eot -------------------------------------------------------------------------------- /apps/static/assets/fonts/nucleo-icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/fonts/nucleo-icons.ttf -------------------------------------------------------------------------------- /apps/static/assets/fonts/nucleo-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/fonts/nucleo-icons.woff -------------------------------------------------------------------------------- /apps/static/assets/fonts/nucleo-icons.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/fonts/nucleo-icons.woff2 -------------------------------------------------------------------------------- /apps/static/assets/fonts/nucleo.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/fonts/nucleo.eot -------------------------------------------------------------------------------- /apps/static/assets/fonts/nucleo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/fonts/nucleo.ttf -------------------------------------------------------------------------------- /apps/static/assets/fonts/nucleo.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/fonts/nucleo.woff -------------------------------------------------------------------------------- /apps/static/assets/fonts/nucleo.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/fonts/nucleo.woff2 -------------------------------------------------------------------------------- /apps/static/assets/gulpfile.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var path = require('path'); 3 | var sass = require('gulp-sass')(require('sass')); 4 | var autoprefixer = require('gulp-autoprefixer'); 5 | var sourcemaps = require('gulp-sourcemaps'); 6 | var open = require('gulp-open'); 7 | 8 | var Paths = { 9 | HERE: './', 10 | DIST: 'dist/', 11 | CSS: './assets/css/', 12 | SCSS_TOOLKIT_SOURCES: './assets/scss/soft-ui-dashboard.scss', 13 | DARK_MODE_SOURCE: './assets/scss/dark-theme-core.scss', 14 | SCSS: './assets/scss/**/**' 15 | }; 16 | 17 | gulp.task('compile-scss', function() { 18 | return gulp.src([Paths.SCSS_TOOLKIT_SOURCES, Paths.DARK_MODE_SOURCE]) 19 | .pipe(sourcemaps.init()) 20 | .pipe(sass().on('error', sass.logError)) 21 | .pipe(autoprefixer()) 22 | .pipe(sourcemaps.write(Paths.HERE)) 23 | .pipe(gulp.dest(Paths.CSS)); 24 | }); 25 | 26 | gulp.task('watch', function() { 27 | gulp.watch(Paths.SCSS, gulp.series('compile-scss')); 28 | }); 29 | 30 | gulp.task('open', function() { 31 | gulp.src('pages/dashboard.html') 32 | .pipe(open()); 33 | }); 34 | 35 | gulp.task('open-app', gulp.parallel('open', 'watch')); -------------------------------------------------------------------------------- /apps/static/assets/img/apple-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/apple-icon.png -------------------------------------------------------------------------------- /apps/static/assets/img/bg1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/bg1.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/bruce-mars.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/bruce-mars.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved-10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved-10.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved-11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved-11.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved-6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved-6.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved-8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved-8.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved0.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved1.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved10.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved11-small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved11-small.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved11.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved12.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved13.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved14.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved14.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved19.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved19.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved2.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved21.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved21.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved3.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved4.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved5-small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved5-small.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved5.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved6-small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved6-small.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved6.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved7.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved8.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/curved9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/curved9.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/curved-images/white-curved.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/curved-images/white-curved.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/down-arrow-dark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | down-arrow 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /apps/static/assets/img/down-arrow-white.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/static/assets/img/down-arrow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | down-arrow 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /apps/static/assets/img/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/favicon.png -------------------------------------------------------------------------------- /apps/static/assets/img/home-decor-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/home-decor-1.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/home-decor-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/home-decor-2.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/home-decor-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/home-decor-3.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/illustrations/rocket-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/illustrations/rocket-dark.png -------------------------------------------------------------------------------- /apps/static/assets/img/illustrations/rocket-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/illustrations/rocket-white.png -------------------------------------------------------------------------------- /apps/static/assets/img/ivana-square.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/ivana-square.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/ivancik.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/ivancik.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/kal-visuals-square.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/kal-visuals-square.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/logo-ct-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/logo-ct-dark.png -------------------------------------------------------------------------------- /apps/static/assets/img/logo-ct.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/logo-ct.png -------------------------------------------------------------------------------- /apps/static/assets/img/logos/mastercard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/logos/mastercard.png -------------------------------------------------------------------------------- /apps/static/assets/img/logos/visa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/logos/visa.png -------------------------------------------------------------------------------- /apps/static/assets/img/marie.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/marie.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/shapes/shape-1.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/static/assets/img/shapes/shape-2.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/static/assets/img/shapes/shape-3.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/static/assets/img/shapes/wave-down.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | wave-down 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /apps/static/assets/img/shapes/wave-up.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | wave-up 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /apps/static/assets/img/small-logos/icon-sun-cloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/small-logos/icon-sun-cloud.png -------------------------------------------------------------------------------- /apps/static/assets/img/small-logos/logo-atlassian.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logos 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /apps/static/assets/img/small-logos/logo-invision.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logos 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /apps/static/assets/img/small-logos/logo-jira.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logos 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /apps/static/assets/img/small-logos/logo-spotify.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logos 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/static/assets/img/small-logos/logo-webdev.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | Logos 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /apps/static/assets/img/team-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/team-1.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/team-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/team-2.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/team-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/team-3.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/team-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/team-4.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/theme/angular.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/theme/angular.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/theme/bootstrap.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/theme/bootstrap.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/theme/dribbble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/theme/dribbble.png -------------------------------------------------------------------------------- /apps/static/assets/img/theme/dropbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/theme/dropbox.png -------------------------------------------------------------------------------- /apps/static/assets/img/theme/mastercard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/theme/mastercard.png -------------------------------------------------------------------------------- /apps/static/assets/img/theme/paypal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/theme/paypal.png -------------------------------------------------------------------------------- /apps/static/assets/img/theme/react.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/theme/react.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/theme/sketch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/theme/sketch.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/theme/slack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/theme/slack.png -------------------------------------------------------------------------------- /apps/static/assets/img/theme/spotify.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/theme/spotify.jpeg -------------------------------------------------------------------------------- /apps/static/assets/img/theme/tim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/theme/tim.png -------------------------------------------------------------------------------- /apps/static/assets/img/theme/unass.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/theme/unass.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/theme/visa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/theme/visa.png -------------------------------------------------------------------------------- /apps/static/assets/img/theme/vue.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/theme/vue.jpg -------------------------------------------------------------------------------- /apps/static/assets/img/vr-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/img/vr-bg.jpg -------------------------------------------------------------------------------- /apps/static/assets/js/dark-mode-handler.js: -------------------------------------------------------------------------------- 1 | const themeSwitch = document.getElementById("theme-switch"); 2 | const themeIndicator = document.getElementById("theme-indicator"); 3 | const page = document.body; 4 | 5 | const themeStates = ["light", "dark"] 6 | const indicators = ["fa-moon", "fa-sun"] 7 | const pageClass = ["bg-gray-100", "dark-page"] 8 | 9 | let currentTheme = localStorage.getItem("theme"); 10 | 11 | function setTheme(theme) { 12 | localStorage.setItem("theme", themeStates[theme]) 13 | } 14 | 15 | function setIndicator(theme) { 16 | themeIndicator.classList.remove(indicators[0]) 17 | themeIndicator.classList.remove(indicators[1]) 18 | themeIndicator.classList.add(indicators[theme]) 19 | } 20 | 21 | function setPage(theme) { 22 | page.classList.remove(pageClass[0]) 23 | page.classList.remove(pageClass[1]) 24 | page.classList.add(pageClass[theme]) 25 | } 26 | 27 | 28 | if (currentTheme === null) { 29 | localStorage.setItem("theme", themeStates[0]) 30 | setIndicator(0) 31 | setPage(0) 32 | themeSwitch.checked = true; 33 | } 34 | if (currentTheme === themeStates[0]) { 35 | setIndicator(0) 36 | setPage(0) 37 | themeSwitch.checked = true; 38 | 39 | } 40 | if (currentTheme === themeStates[1]) { 41 | setIndicator(1) 42 | setPage(1) 43 | themeSwitch.checked = false; 44 | } 45 | 46 | 47 | themeSwitch.addEventListener('change', function () { 48 | if (this.checked) { 49 | setTheme(0) 50 | setIndicator(0) 51 | setPage(0) 52 | } else { 53 | setTheme(1) 54 | setIndicator(1) 55 | setPage(1) 56 | } 57 | }); -------------------------------------------------------------------------------- /apps/static/assets/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "soft-ui-dashboard", 3 | "version": "1.0.6", 4 | "description": "Freebie Dashboard for Bootstrap 5", 5 | "main": "pages/dashboard.html", 6 | "directories": { 7 | "example": "root" 8 | }, 9 | "scripts": { 10 | "open-app": "gulp open-app", 11 | "start": "npm run open-app", 12 | "test": "echo \"Error: no test specified\" && exit 1", 13 | "watch": "gulp-watch" 14 | }, 15 | "repository": { 16 | "type": "git", 17 | "url": "git+https://github.com/creativetimofficial/soft-ui-dashboard.git" 18 | }, 19 | "keywords": [ 20 | "soft ui dashboard", 21 | "bootstrap 5", 22 | "dashboard", 23 | "creative tim", 24 | "html dashboard", 25 | "html css dashboard", 26 | "web dashboard", 27 | "freebie", 28 | "free bootstrap dashboard", 29 | "css3 dashboard", 30 | "bootstrap dashboard", 31 | "frontend", 32 | "responsive bootstrap dashboard" 33 | ], 34 | "author": "Creative Tim (https://www.creative-tim.com/)", 35 | "license": "MIT", 36 | "bugs": { 37 | "url": "https://github.com/creativetimofficial/soft-ui-dashboard/issues" 38 | }, 39 | "devDependencies": { 40 | "gulp": "^4.0.2", 41 | "gulp-autoprefixer": "^7.0.1", 42 | "gulp-clean": "^0.4.0", 43 | "gulp-install": "^1.1.0", 44 | "gulp-open": "^3.0.1", 45 | "gulp-sass": "^5.1.0", 46 | "gulp-sourcemaps": "^2.6.5", 47 | "sass": "^1.49.9" 48 | }, 49 | "homepage": "http://creative-tim.com/product/soft-ui-dashboard" 50 | } 51 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard.scss: -------------------------------------------------------------------------------- 1 | // ========================================================= 2 | // * Soft UI Dashboard - v1.0.5 3 | // ========================================================= 4 | // 5 | // * Product Page: https://www.creative-tim.com/product/soft-ui-dashboard 6 | // * Copyright 2022 Creative Tim (https://www.creative-tim.com) 7 | // 8 | // Coded by www.creative-tim.com 9 | // 10 | // ========================================================= 11 | // 12 | // * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 13 | 14 | // Bootstrap Functions 15 | @import "soft-ui-dashboard/bootstrap/functions"; 16 | 17 | // Custom Variables 18 | @import "soft-ui-dashboard/custom/variables"; 19 | 20 | // Theme Variables 21 | @import "soft-ui-dashboard/variables"; 22 | 23 | // Bootstrap Core 24 | @import "soft-ui-dashboard/bootstrap/bootstrap"; 25 | 26 | // Theme Core 27 | @import "soft-ui-dashboard/theme"; 28 | 29 | // Custom Variables 30 | @import "soft-ui-dashboard/custom/styles"; 31 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_alert.scss: -------------------------------------------------------------------------------- 1 | @each $state, $value in $theme-gradient-colors { 2 | .alert-#{$state} { 3 | @include gradient-directional(nth($value, 1) 0%, darken(nth($value, -1), 8%) 100%, $deg: 310deg); 4 | } 5 | } 6 | 7 | .btn-close{ 8 | &:focus{ 9 | box-shadow: none; 10 | } 11 | } 12 | 13 | .alert-dismissible{ 14 | .btn-close{ 15 | background-image: none; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_avatars.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Avatar 3 | // 4 | 5 | // General styles 6 | 7 | .avatar { 8 | color: $white; 9 | display: inline-flex; 10 | align-items: center; 11 | justify-content: center; 12 | font-size: $avatar-font-size; 13 | border-radius: $border-radius-lg; 14 | height: $avatar-height; 15 | width: $avatar-width; 16 | transition: all .2s ease-in-out; 17 | 18 | img { 19 | width: 100%; 20 | } 21 | 22 | &.rounded-circle { 23 | img { 24 | @extend .rounded-circle; 25 | } 26 | } 27 | 28 | + .avatar-content { 29 | display: inline-block; 30 | margin-left: $avatar-content-margin; 31 | } 32 | 33 | 34 | &.avatar-raised { 35 | margin-top: -($avatar-height * 0.5); 36 | } 37 | 38 | &.avatar-scale-up:hover { 39 | transform: scale(1.2); 40 | 41 | } 42 | } 43 | 44 | // Style for the Testimonials Carousel 45 | .active { 46 | .avatar.avatar-scale-up { 47 | transform: scale(1.2); 48 | } 49 | } 50 | 51 | 52 | // Avatar size variations 53 | 54 | .avatar-xxl { 55 | width: $avatar-xxl-width !important; 56 | height: $avatar-xxl-height !important; 57 | 58 | &.avatar-raised { 59 | margin-top: -($avatar-xxl-height * 0.5); 60 | } 61 | } 62 | 63 | .avatar-xl { 64 | width: $avatar-xl-width !important; 65 | height: $avatar-xl-height !important; 66 | 67 | &.avatar-raised { 68 | margin-top: -($avatar-xl-height * 0.5); 69 | } 70 | } 71 | 72 | .avatar-lg { 73 | width: $avatar-lg-width !important; 74 | height: $avatar-lg-height !important; 75 | font-size: $font-size-sm; 76 | 77 | &.avatar-raised { 78 | margin-top: -($avatar-lg-height * 0.5); 79 | } 80 | } 81 | 82 | .avatar-sm { 83 | width: $avatar-sm-width !important; 84 | height: $avatar-sm-height !important; 85 | font-size: $font-size-sm; 86 | 87 | &.avatar-raised { 88 | margin-top: -($avatar-sm-height * 0.5); 89 | } 90 | } 91 | 92 | .avatar-xs { 93 | width: $avatar-xs-width !important; 94 | height: $avatar-xs-height !important; 95 | font-size: $font-size-xs; 96 | 97 | &.avatar-raised { 98 | margin-top: -($avatar-xs-height * 0.5); 99 | } 100 | } 101 | 102 | // 103 | // Avatar group 104 | // 105 | 106 | // General styles 107 | 108 | .avatar-group { 109 | .avatar { 110 | position: relative; 111 | z-index: $avatar-group-zindex; 112 | border: $avatar-group-border solid $card-bg; 113 | 114 | &:hover { 115 | z-index: $avatar-group-zindex-hover; 116 | } 117 | } 118 | 119 | .avatar + .avatar { 120 | margin-left: $avatar-group-double; 121 | 122 | } 123 | } 124 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_badge.scss: -------------------------------------------------------------------------------- 1 | @each $prop, $value in $theme-colors { 2 | .badge.bg-#{$prop} { 3 | background: $value; 4 | } 5 | } 6 | .badge { 7 | text-transform: uppercase; 8 | } 9 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_breadcrumbs.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumb 3 | // 4 | 5 | .breadcrumb-item { 6 | font-size: $font-size-sm; 7 | &.text-white{ 8 | &::before { 9 | color: $white; 10 | } 11 | } 12 | 13 | } 14 | 15 | .breadcrumb-dark { 16 | background-color: $breadcrumb-dark-bg; 17 | 18 | .breadcrumb-item { 19 | font-weight: 600; 20 | 21 | a { 22 | color: $breadcrumb-dark-color; 23 | 24 | &:hover { 25 | color: $breadcrumb-dark-hover-color; 26 | } 27 | } 28 | 29 | + .breadcrumb-item { 30 | &::before { 31 | color: $breadcrumb-dark-divider-color; 32 | } 33 | } 34 | 35 | &.active { 36 | color: $breadcrumb-dark-active-color; 37 | } 38 | } 39 | } 40 | 41 | 42 | // Links 43 | 44 | .breadcrumb-links { 45 | padding: 0; 46 | margin: 0; 47 | background: transparent; 48 | } 49 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_cards.scss: -------------------------------------------------------------------------------- 1 | .card { 2 | box-shadow: $card-box-shadow; 3 | .card-header { 4 | padding: $card-header-padding; 5 | } 6 | 7 | .card-body { 8 | font-family: $font-family-sans-serif; 9 | padding: $card-body-padding; 10 | } 11 | 12 | &.card-plain { 13 | background-color: $card-plain-bg-color; 14 | box-shadow: $card-plain-box-shadow; 15 | } 16 | 17 | .card-footer { 18 | padding: $card-footer-padding; 19 | background-color: transparent; 20 | } 21 | } 22 | 23 | .author { 24 | display: $card-author-display; 25 | 26 | .name > span { 27 | line-height: $card-author-name-line-height; 28 | font-weight: $font-weight-bold; 29 | font-size: $font-size-sm; 30 | color: $card-author-name-color; 31 | } 32 | 33 | .stats { 34 | font-size: $font-size-sm; 35 | font-weight: $font-weight-normal; 36 | } 37 | } 38 | 39 | @import 'cards/card-background'; 40 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_dropup.scss: -------------------------------------------------------------------------------- 1 | .dropup { 2 | .dropdown-menu { 3 | box-shadow: $dropdown-box-shadow; 4 | transition: $dropdown-transition; 5 | cursor: pointer; 6 | top: auto !important; 7 | bottom: 100% !important; 8 | margin-bottom: $dropup-mb !important; 9 | display: block; 10 | opacity: 0; 11 | transform-origin: $dropup-transform-origin; 12 | pointer-events: none; 13 | transform: $dropup-transform; 14 | -webkit-backface-visibility: hidden; 15 | backface-visibility: hidden; 16 | will-change: transform,box-shadow; 17 | 18 | &.show{ 19 | pointer-events: auto; 20 | transform: $dropup-transform-show; 21 | opacity: 1; 22 | 23 | &:after { 24 | bottom: -($dropup-animation-arrow-bottom-position - 2); 25 | } 26 | } 27 | 28 | &:after { 29 | font-family: "FontAwesome"; 30 | content: "\f0d7"; 31 | position: absolute; 32 | z-index: -1; 33 | bottom: $dropup-animation-arrow-bottom-position; 34 | left: $dropdown-animation-arrow-left-position; 35 | right: auto; 36 | font-size: $dropdown-animation-arrow-font-size; 37 | color: $white; 38 | transition: $dropup-animation-arrow-transition; 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_fixed-plugin.scss: -------------------------------------------------------------------------------- 1 | .fixed-plugin{ 2 | .fixed-plugin-button{ 3 | background: $white; 4 | border-radius: $fixed-plugin-radius; 5 | bottom: $fixed-plugin-bottom; 6 | right: $fixed-plugin-right; 7 | font-size: $font-size-xl; 8 | z-index: $fixed-plugin-button-z-index; 9 | box-shadow: $fixed-plugin-box-shadow; 10 | cursor: pointer; 11 | i{ 12 | pointer-events: none; 13 | } 14 | } 15 | .card{ 16 | position: fixed !important; 17 | right: -$fixed-plugin-card-width; 18 | top: 0; 19 | height: 100%; 20 | left: auto!important; 21 | transform: unset !important; 22 | width: $fixed-plugin-card-width; 23 | border-radius: 0; 24 | padding: 0 10px; 25 | transition: .2s ease; 26 | z-index: $fixed-plugin-card-z-index; 27 | } 28 | 29 | .badge{ 30 | border: 1px solid $white; 31 | border-radius: 50%; 32 | cursor: pointer; 33 | display: inline-block; 34 | height: 23px; 35 | margin-right: 5px; 36 | position: relative; 37 | width: 23px; 38 | transition: $transition-base; 39 | &:hover, 40 | &.active{ 41 | border-color: $dark; 42 | } 43 | } 44 | 45 | .btn.bg-gradient-primary:not(:disabled):not(.disabled){ 46 | border: 1px solid transparent; 47 | &:not(.active){ 48 | background-color: transparent; 49 | background-image: none; 50 | border: 1px solid $primary; 51 | color: $primary; 52 | } 53 | } 54 | 55 | &.show{ 56 | .card{ 57 | right: 0; 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_footer.scss: -------------------------------------------------------------------------------- 1 | .footer { 2 | .nav-link { 3 | color: $dark; 4 | font-weight: $font-weight-normal; 5 | font-size: $font-size-sm; 6 | padding-top: 0; 7 | padding-bottom: $nav-link-footer-padding; 8 | 9 | &:hover { 10 | opacity: 1 !important; 11 | transition: $footer-link-animation; 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_forms.scss: -------------------------------------------------------------------------------- 1 | .input-group { 2 | @include border-radius($input-border-radius, 0); 3 | 4 | &, 5 | .input-group-text { 6 | transition: $input-transition; 7 | } 8 | 9 | & > :not(:first-child):not(.dropdown-menu) { 10 | margin-left: 0; 11 | } 12 | 13 | .form-control { 14 | box-shadow: none; 15 | background-image: none; 16 | 17 | &:not(:first-child) { 18 | border-left: 0; 19 | padding-left: 0; 20 | } 21 | &:not(:last-child) { 22 | border-right: 0; 23 | padding-right: 0; 24 | } 25 | 26 | & + .input-group-text { 27 | border-left: 0; 28 | border-right: $input-border-width solid $input-border-color; 29 | } 30 | } 31 | 32 | .input-group-text { 33 | border-right: 0; 34 | } 35 | 36 | 37 | 38 | &.focused { 39 | box-shadow: $input-focus-box-shadow; 40 | } 41 | 42 | &.focused .input-group-text { 43 | border-color: $input-focus-border-color; 44 | } 45 | } 46 | 47 | 48 | .form-group { 49 | margin-bottom: 1rem; 50 | } 51 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_gradients.scss: -------------------------------------------------------------------------------- 1 | @each $prop, $value in $theme-gradient-colors { 2 | .bg-gradient-#{$prop} { 3 | @include gradient-directional(nth($value, 1) 0%, nth($value, -1) 100%, $deg: 310deg); 4 | } 5 | } 6 | 7 | @each $prop, $value in $theme-colors { 8 | .bg-gradient-faded-#{$prop} { 9 | background-image: radial-gradient(370px circle at 80% 50%,rgba($value, .6) 0,darken($value, 10%) 100%) 10 | } 11 | } 12 | 13 | 14 | @each $prop, $value in $theme-colors { 15 | .bg-gradient-faded-#{$prop}-vertical{ 16 | background-image: radial-gradient(200px circle at 50% 70%, rgba($value, .3) 0, $value 100%); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_header.scss: -------------------------------------------------------------------------------- 1 | .page-header { 2 | padding: $page-header-padding; 3 | position: $page-header-position; 4 | overflow: $page-header-overflow; 5 | display: $page-header-display; 6 | align-items: $page-header-align-items; 7 | background-size: $page-header-bg-size; 8 | background-position: $page-header-bg-position; 9 | 10 | .container { 11 | z-index: $page-header-conteiner-index; 12 | } 13 | } 14 | 15 | .oblique { 16 | transform: $header-oblique-transform; 17 | overflow: $header-oblique-overflow; 18 | width: $header-oblique-img-width; 19 | right: $header-oblique-img-right; 20 | border-bottom-left-radius: $border-radius-lg; 21 | 22 | .oblique-image { 23 | transform: $header-oblique-img-transform; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_pagination.scss: -------------------------------------------------------------------------------- 1 | .page-item { 2 | &.active .page-link { 3 | box-shadow: $pagination-active-box-shadow; 4 | } 5 | 6 | .page-link, 7 | span { 8 | display: $page-link-display; 9 | align-items: $page-link-align-items; 10 | justify-content: $page-link-justify-content; 11 | color: $secondary; 12 | padding: 0; 13 | margin: $page-link-margin; 14 | border-radius: $page-link-radius !important; 15 | width: $page-link-width; 16 | height: $page-link-height; 17 | font-size: $font-size-sm; 18 | } 19 | } 20 | 21 | .pagination-lg { 22 | .page-item { 23 | .page-link, 24 | span { 25 | width: $page-link-width-lg; 26 | height: $page-link-height-lg; 27 | line-height: $page-link-line-height-lg; 28 | } 29 | } 30 | } 31 | 32 | .pagination-sm { 33 | .page-item { 34 | .page-link, 35 | span { 36 | width: $page-link-width-sm; 37 | height: $page-link-height-sm; 38 | line-height: $page-link-line-height-sm; 39 | } 40 | } 41 | } 42 | 43 | 44 | // Colors 45 | .pagination { 46 | @each $name, $value in $theme-gradient-colors { 47 | &.pagination-#{$name} { 48 | .page-item.active > .page-link { 49 | &, 50 | &:focus, 51 | &:hover { 52 | @include gradient-directional(nth($value, 1) 0%, nth($value, -1) 100%, $deg: 310deg); 53 | border: none; 54 | } 55 | } 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_popovers.scss: -------------------------------------------------------------------------------- 1 | .popover { 2 | box-shadow: $popover-box-shadow; 3 | } 4 | 5 | // popover title 6 | .popover { 7 | .popover-header { 8 | font-weight: 600; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_progress.scss: -------------------------------------------------------------------------------- 1 | .progress-bar { 2 | height: $progress-bar-height; 3 | border-radius: $border-radius; 4 | margin-top: -0.095rem; 5 | margin-left: -1px; 6 | } 7 | 8 | .progress { 9 | overflow: visible; 10 | 11 | &.progress-sm { 12 | height: $progress-height-sm; 13 | } 14 | &.progress-lg { 15 | height: $progress-height-lg; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_rtl.scss: -------------------------------------------------------------------------------- 1 | // breadcrumb 2 | 3 | .rtl { 4 | .breadcrumb { 5 | .breadcrumb-item + .breadcrumb-item::before { 6 | float: right; 7 | padding-left: $breadcrumb-item-padding-x; 8 | padding-right: 0; 9 | } 10 | } 11 | 12 | .sidenav { 13 | .navbar-nav { 14 | width: 100%; 15 | padding-right: 0; 16 | } 17 | } 18 | 19 | .fixed-plugin { 20 | .fixed-plugin-button { 21 | left: $fixed-plugin-right; 22 | right: auto; 23 | } 24 | 25 | .card { 26 | left: -$fixed-plugin-card-width !important; 27 | right: auto; 28 | } 29 | 30 | &.show { 31 | .card { 32 | right: auto; 33 | left: 0 !important; 34 | } 35 | } 36 | } 37 | 38 | .timeline { 39 | .timeline-content { 40 | margin-right: $timeline-content-margin-left; 41 | margin-left: 0; 42 | } 43 | 44 | .timeline-step { 45 | transform: $timeline-step-transform-rtl; 46 | } 47 | 48 | &.timeline-one-side { 49 | &:before { 50 | right: $timeline-left; 51 | } 52 | 53 | .timeline-step { 54 | right: $timeline-left; 55 | } 56 | } 57 | } 58 | 59 | .form-check { 60 | &.form-switch { 61 | .form-check-input { 62 | &:after { 63 | transform: translateX(-$form-switch-translate-x-start); 64 | } 65 | 66 | &:checked:after { 67 | transform: translateX(-$form-switch-translate-x-end); 68 | } 69 | } 70 | } 71 | } 72 | 73 | .avatar-group { 74 | .avatar + .avatar { 75 | margin-left: 0; 76 | margin-right: $avatar-group-double; 77 | } 78 | } 79 | 80 | .dropdown { 81 | .dropdown-menu { 82 | left: 0; 83 | } 84 | } 85 | 86 | .input-group { 87 | .input-group-text { 88 | border-left: 0; 89 | border-top-left-radius: 0; 90 | border-bottom-left-radius: 0; 91 | border-right: $input-border-width solid $input-border-color; 92 | } 93 | 94 | & > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) { 95 | margin-right: -1px; 96 | border-top-left-radius: $input-border-radius; 97 | border-bottom-left-radius: $input-border-radius; 98 | border-right: 0; 99 | border-left: $input-border-width solid $input-border-color; 100 | } 101 | 102 | &:not(.has-validation) > .dropdown-toggle:nth-last-child(n + 3), 103 | &:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) { 104 | border-top-right-radius: $input-border-radius; 105 | border-bottom-right-radius: $input-border-radius; 106 | } 107 | } 108 | } 109 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_social-buttons.scss: -------------------------------------------------------------------------------- 1 | .btn { 2 | // social buttons 3 | &.btn-facebook { 4 | @include social-buttons-color($facebook, $facebook-states); 5 | } 6 | &.btn-twitter { 7 | @include social-buttons-color($twitter, $twitter-states); 8 | } 9 | &.btn-pinterest { 10 | @include social-buttons-color($pinterest, $pinterest-states); 11 | } 12 | &.btn-linkedin { 13 | @include social-buttons-color($linkedin, $linkedin-states); 14 | } 15 | &.btn-dribbble { 16 | @include social-buttons-color($dribbble, $dribbble-states); 17 | } 18 | &.btn-github { 19 | @include social-buttons-color($github, $github-states); 20 | } 21 | &.btn-youtube { 22 | @include social-buttons-color($youtube, $youtube-states); 23 | } 24 | &.btn-instagram { 25 | @include social-buttons-color($instagram, $instagram-states); 26 | } 27 | &.btn-reddit { 28 | @include social-buttons-color($reddit, $reddit-states); 29 | } 30 | &.btn-tumblr { 31 | @include social-buttons-color($tumblr, $tumblr-states); 32 | } 33 | &.btn-behance { 34 | @include social-buttons-color($behance, $behance-states); 35 | } 36 | &.btn-vimeo { 37 | @include social-buttons-color($vimeo, $vimeo-states); 38 | } 39 | &.btn-slack { 40 | @include social-buttons-color($slack, $slack-states); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_tables.scss: -------------------------------------------------------------------------------- 1 | // General styles 2 | 3 | .table { 4 | border-collapse: inherit; 5 | 6 | thead th { 7 | padding: $table-head-spacer-y $table-head-spacer-x; 8 | text-transform: $table-head-text-transform; 9 | letter-spacing: $table-head-letter-spacing; 10 | border-bottom: $table-border-width solid $table-border-color; 11 | } 12 | 13 | th { 14 | font-weight: $table-head-font-weight; 15 | } 16 | 17 | td { 18 | .progress { 19 | height: $table-progress-height; 20 | width: $table-progress-width; 21 | margin: $table-progress-margin; 22 | } 23 | } 24 | 25 | td, 26 | th { 27 | white-space: nowrap; 28 | } 29 | // Vetical align table content 30 | &.align-items-center { 31 | td, 32 | th { 33 | vertical-align: middle; 34 | } 35 | } 36 | tbody{ 37 | tr:last-child{ 38 | td{ 39 | border-width: 0; 40 | } 41 | } 42 | } 43 | 44 | > :not(:last-child) > :last-child > * { 45 | border-bottom-color: $light; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_tilt.scss: -------------------------------------------------------------------------------- 1 | // Tilt Animation 2 | .tilt { 3 | -webkit-transform-style: $tilt-transform-style; 4 | transform-style: $tilt-transform-style; 5 | 6 | .up { 7 | -webkit-transform: $tilt-transform-up-transform; 8 | transform: $tilt-transform-up-transform !important; 9 | transition: $tilt-transform-up-transition; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_tooltips.scss: -------------------------------------------------------------------------------- 1 | .bs-tooltip-auto[x-placement^=right] .tooltip-arrow, 2 | .bs-tooltip-right .tooltip-arrow { 3 | left: $tooltip-arrow-left; 4 | } 5 | 6 | .bs-tooltip-auto[x-placement^=left] .tooltip-arrow, 7 | .bs-tooltip-left .tooltip-arrow { 8 | right: $tooltip-arrow-right; 9 | } 10 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/_utilities-extend.scss: -------------------------------------------------------------------------------- 1 | @each $name, $value in $max-width-dim{ 2 | .max-width-#{$name} { 3 | max-width: $value !important; 4 | } 5 | } 6 | 7 | @each $name, $value in $width-dim{ 8 | .width-#{$name} { 9 | width: $value !important; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_alert.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Base styles 3 | // 4 | 5 | .alert { 6 | // scss-docs-start alert-css-vars 7 | --#{$prefix}alert-bg: transparent; 8 | --#{$prefix}alert-padding-x: #{$alert-padding-x}; 9 | --#{$prefix}alert-padding-y: #{$alert-padding-y}; 10 | --#{$prefix}alert-margin-bottom: #{$alert-margin-bottom}; 11 | --#{$prefix}alert-color: inherit; 12 | --#{$prefix}alert-border-color: transparent; 13 | --#{$prefix}alert-border: #{$alert-border-width} solid var(--#{$prefix}alert-border-color); 14 | --#{$prefix}alert-border-radius: #{$alert-border-radius}; 15 | // scss-docs-end alert-css-vars 16 | 17 | position: relative; 18 | padding: var(--#{$prefix}alert-padding-y) var(--#{$prefix}alert-padding-x); 19 | margin-bottom: var(--#{$prefix}alert-margin-bottom); 20 | color: var(--#{$prefix}alert-color); 21 | background-color: var(--#{$prefix}alert-bg); 22 | border: var(--#{$prefix}alert-border); 23 | border-radius: var(--#{$prefix}alert-border-radius, 0); // stylelint-disable-line property-disallowed-list 24 | } 25 | 26 | // Headings for larger alerts 27 | .alert-heading { 28 | // Specified to prevent conflicts of changing $headings-color 29 | color: inherit; 30 | } 31 | 32 | // Provide class for links that match alerts 33 | .alert-link { 34 | font-weight: $alert-link-font-weight; 35 | } 36 | 37 | 38 | // Dismissible alerts 39 | // 40 | // Expand the right padding and account for the close button's positioning. 41 | 42 | .alert-dismissible { 43 | padding-right: $alert-dismissible-padding-r; 44 | 45 | // Adjust close link position 46 | .btn-close { 47 | position: absolute; 48 | top: 0; 49 | right: 0; 50 | z-index: $stretched-link-z-index + 1; 51 | padding: $alert-padding-y * 1.25 $alert-padding-x; 52 | } 53 | } 54 | 55 | 56 | // scss-docs-start alert-modifiers 57 | // Generate contextual modifier classes for colorizing the alert. 58 | 59 | @each $state, $value in $theme-colors { 60 | $alert-background: shift-color($value, $alert-bg-scale); 61 | $alert-border: shift-color($value, $alert-border-scale); 62 | $alert-color: shift-color($value, $alert-color-scale); 63 | 64 | @if (contrast-ratio($alert-background, $alert-color) < $min-contrast-ratio) { 65 | $alert-color: mix($value, color-contrast($alert-background), abs($alert-color-scale)); 66 | } 67 | .alert-#{$state} { 68 | @include alert-variant($alert-background, $alert-border, $alert-color); 69 | } 70 | } 71 | // scss-docs-end alert-modifiers 72 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_badge.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable custom-property-empty-line-before 2 | 3 | // Base class 4 | // 5 | // Requires one of the contextual, color modifier classes for `color` and 6 | // `background-color`. 7 | 8 | .badge { 9 | // scss-docs-start badge-css-vars 10 | --#{$prefix}badge-padding-x: #{$badge-padding-x}; 11 | --#{$prefix}badge-padding-y: #{$badge-padding-y}; 12 | @include rfs($badge-font-size, --#{$prefix}badge-font-size); 13 | --#{$prefix}badge-font-weight: #{$badge-font-weight}; 14 | --#{$prefix}badge-color: #{$badge-color}; 15 | --#{$prefix}badge-border-radius: #{$badge-border-radius}; 16 | // scss-docs-end badge-css-vars 17 | 18 | display: inline-block; 19 | padding: var(--#{$prefix}badge-padding-y) var(--#{$prefix}badge-padding-x); 20 | @include font-size(var(--#{$prefix}badge-font-size)); 21 | font-weight: var(--#{$prefix}badge-font-weight); 22 | line-height: 1; 23 | color: var(--#{$prefix}badge-color); 24 | text-align: center; 25 | white-space: nowrap; 26 | vertical-align: baseline; 27 | border-radius: var(--#{$prefix}badge-border-radius, 0); // stylelint-disable-line property-disallowed-list 28 | @include gradient-bg(); 29 | 30 | // Empty badges collapse automatically 31 | &:empty { 32 | display: none; 33 | } 34 | } 35 | 36 | // Quick fix for badges in buttons 37 | .btn .badge { 38 | position: relative; 39 | top: -1px; 40 | } 41 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_breadcrumb.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable custom-property-empty-line-before 2 | 3 | .breadcrumb { 4 | // scss-docs-start breadcrumb-css-vars 5 | --#{$prefix}breadcrumb-padding-x: #{$breadcrumb-padding-x}; 6 | --#{$prefix}breadcrumb-padding-y: #{$breadcrumb-padding-y}; 7 | --#{$prefix}breadcrumb-margin-bottom: #{$breadcrumb-margin-bottom}; 8 | @include rfs($breadcrumb-font-size, --#{$prefix}breadcrumb-font-size); 9 | --#{$prefix}breadcrumb-bg: #{$breadcrumb-bg}; 10 | --#{$prefix}breadcrumb-border-radius: #{$breadcrumb-border-radius}; 11 | --#{$prefix}breadcrumb-divider-color: #{$breadcrumb-divider-color}; 12 | --#{$prefix}breadcrumb-item-padding-x: #{$breadcrumb-item-padding-x}; 13 | --#{$prefix}breadcrumb-item-active-color: #{$breadcrumb-active-color}; 14 | // scss-docs-end breadcrumb-css-vars 15 | 16 | display: flex; 17 | flex-wrap: wrap; 18 | padding: var(--#{$prefix}breadcrumb-padding-y) var(--#{$prefix}breadcrumb-padding-x); 19 | margin-bottom: var(--#{$prefix}breadcrumb-margin-bottom); 20 | @include font-size(var(--#{$prefix}breadcrumb-font-size)); 21 | list-style: none; 22 | background-color: var(--#{$prefix}breadcrumb-bg); 23 | @include border-radius(var(--#{$prefix}breadcrumb-border-radius)); 24 | } 25 | 26 | .breadcrumb-item { 27 | // The separator between breadcrumbs (by default, a forward-slash: "/") 28 | + .breadcrumb-item { 29 | padding-left: var(--#{$prefix}breadcrumb-item-padding-x); 30 | 31 | &::before { 32 | float: left; // Suppress inline spacings and underlining of the separator 33 | padding-right: var(--#{$prefix}breadcrumb-item-padding-x); 34 | color: var(--#{$prefix}breadcrumb-divider-color); 35 | content: var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider)) #{"/* rtl:"} var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider-flipped)) #{"*/"}; 36 | } 37 | } 38 | 39 | &.active { 40 | color: var(--#{$prefix}breadcrumb-item-active-color); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_close.scss: -------------------------------------------------------------------------------- 1 | // Transparent background and border properties included for button version. 2 | // iOS requires the button element instead of an anchor tag. 3 | // If you want the anchor version, it requires `href="#"`. 4 | // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile 5 | 6 | .btn-close { 7 | box-sizing: content-box; 8 | width: $btn-close-width; 9 | height: $btn-close-height; 10 | padding: $btn-close-padding-y $btn-close-padding-x; 11 | color: $btn-close-color; 12 | background: transparent escape-svg($btn-close-bg) center / $btn-close-width auto no-repeat; // include transparent for button elements 13 | border: 0; // for button elements 14 | @include border-radius(); 15 | opacity: $btn-close-opacity; 16 | 17 | // Override 's hover style 18 | &:hover { 19 | color: $btn-close-color; 20 | text-decoration: none; 21 | opacity: $btn-close-hover-opacity; 22 | } 23 | 24 | &:focus { 25 | outline: 0; 26 | box-shadow: $btn-close-focus-shadow; 27 | opacity: $btn-close-focus-opacity; 28 | } 29 | 30 | &:disabled, 31 | &.disabled { 32 | pointer-events: none; 33 | user-select: none; 34 | opacity: $btn-close-disabled-opacity; 35 | } 36 | } 37 | 38 | .btn-close-white { 39 | filter: $btn-close-white-filter; 40 | } 41 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_containers.scss: -------------------------------------------------------------------------------- 1 | // Container widths 2 | // 3 | // Set the container width, and override it for fixed navbars in media queries. 4 | 5 | @if $enable-container-classes { 6 | // Single container class with breakpoint max-widths 7 | .container, 8 | // 100% wide container at all breakpoints 9 | .container-fluid { 10 | @include make-container(); 11 | } 12 | 13 | // Responsive containers that are 100% wide until a breakpoint 14 | @each $breakpoint, $container-max-width in $container-max-widths { 15 | .container-#{$breakpoint} { 16 | @extend .container-fluid; 17 | } 18 | 19 | @include media-breakpoint-up($breakpoint, $grid-breakpoints) { 20 | %responsive-container-#{$breakpoint} { 21 | max-width: $container-max-width; 22 | } 23 | 24 | // Extend each breakpoint which is smaller or equal to the current breakpoint 25 | $extend-breakpoint: true; 26 | 27 | @each $name, $width in $grid-breakpoints { 28 | @if ($extend-breakpoint) { 29 | .container#{breakpoint-infix($name, $grid-breakpoints)} { 30 | @extend %responsive-container-#{$breakpoint}; 31 | } 32 | 33 | // Once the current breakpoint is reached, stop extending 34 | @if ($breakpoint == $name) { 35 | $extend-breakpoint: false; 36 | } 37 | } 38 | } 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_forms.scss: -------------------------------------------------------------------------------- 1 | @import "forms/labels"; 2 | @import "forms/form-text"; 3 | @import "forms/form-control"; 4 | @import "forms/form-select"; 5 | @import "forms/form-check"; 6 | @import "forms/form-range"; 7 | @import "forms/floating-labels"; 8 | @import "forms/input-group"; 9 | @import "forms/validation"; 10 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_grid.scss: -------------------------------------------------------------------------------- 1 | // Row 2 | // 3 | // Rows contain your columns. 4 | 5 | @if $enable-grid-classes { 6 | .row { 7 | @include make-row(); 8 | 9 | > * { 10 | @include make-col-ready(); 11 | } 12 | } 13 | } 14 | 15 | @if $enable-cssgrid { 16 | .grid { 17 | display: grid; 18 | grid-template-rows: repeat(var(--#{$prefix}rows, 1), 1fr); 19 | grid-template-columns: repeat(var(--#{$prefix}columns, #{$grid-columns}), 1fr); 20 | gap: var(--#{$prefix}gap, #{$grid-gutter-width}); 21 | 22 | @include make-cssgrid(); 23 | } 24 | } 25 | 26 | 27 | // Columns 28 | // 29 | // Common styles for small and large grid columns 30 | 31 | @if $enable-grid-classes { 32 | @include make-grid-columns(); 33 | } 34 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_helpers.scss: -------------------------------------------------------------------------------- 1 | @import "helpers/clearfix"; 2 | @import "helpers/color-bg"; 3 | @import "helpers/colored-links"; 4 | @import "helpers/ratio"; 5 | @import "helpers/position"; 6 | @import "helpers/stacks"; 7 | @import "helpers/visually-hidden"; 8 | @import "helpers/stretched-link"; 9 | @import "helpers/text-truncation"; 10 | @import "helpers/vr"; 11 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_images.scss: -------------------------------------------------------------------------------- 1 | // Responsive images (ensure images don't scale beyond their parents) 2 | // 3 | // This is purposefully opt-in via an explicit class rather than being the default for all ``s. 4 | // We previously tried the "images are responsive by default" approach in Bootstrap v2, 5 | // and abandoned it in Bootstrap v3 because it breaks lots of third-party widgets (including Google Maps) 6 | // which weren't expecting the images within themselves to be involuntarily resized. 7 | // See also https://github.com/twbs/bootstrap/issues/18178 8 | .img-fluid { 9 | @include img-fluid(); 10 | } 11 | 12 | 13 | // Image thumbnails 14 | .img-thumbnail { 15 | padding: $thumbnail-padding; 16 | background-color: $thumbnail-bg; 17 | border: $thumbnail-border-width solid $thumbnail-border-color; 18 | @include border-radius($thumbnail-border-radius); 19 | @include box-shadow($thumbnail-box-shadow); 20 | 21 | // Keep them at most 100% wide 22 | @include img-fluid(); 23 | } 24 | 25 | // 26 | // Figures 27 | // 28 | 29 | .figure { 30 | // Ensures the caption's text aligns with the image. 31 | display: inline-block; 32 | } 33 | 34 | .figure-img { 35 | margin-bottom: $spacer * .5; 36 | line-height: 1; 37 | } 38 | 39 | .figure-caption { 40 | @include font-size($figure-caption-font-size); 41 | color: $figure-caption-color; 42 | } 43 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_maps.scss: -------------------------------------------------------------------------------- 1 | // Re-assigned maps 2 | // 3 | // Placed here so that others can override the default Sass maps and see automatic updates to utilities and more. 4 | 5 | // scss-docs-start theme-colors-rgb 6 | $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default; 7 | // scss-docs-end theme-colors-rgb 8 | 9 | // Utilities maps 10 | // 11 | // Extends the default `$theme-colors` maps to help create our utilities. 12 | 13 | // Come v6, we'll de-dupe these variables. Until then, for backward compatibility, we keep them to reassign. 14 | // scss-docs-start utilities-colors 15 | $utilities-colors: $theme-colors-rgb !default; 16 | // scss-docs-end utilities-colors 17 | 18 | // scss-docs-start utilities-text-colors 19 | $utilities-text: map-merge( 20 | $utilities-colors, 21 | ( 22 | "black": to-rgb($black), 23 | "white": to-rgb($white), 24 | "body": to-rgb($body-color) 25 | ) 26 | ) !default; 27 | $utilities-text-colors: map-loop($utilities-text, rgba-css-var, "$key", "text") !default; 28 | // scss-docs-end utilities-text-colors 29 | 30 | // scss-docs-start utilities-bg-colors 31 | $utilities-bg: map-merge( 32 | $utilities-colors, 33 | ( 34 | "black": to-rgb($black), 35 | "white": to-rgb($white), 36 | "body": to-rgb($body-bg) 37 | ) 38 | ) !default; 39 | $utilities-bg-colors: map-loop($utilities-bg, rgba-css-var, "$key", "bg") !default; 40 | // scss-docs-end utilities-bg-colors 41 | 42 | // scss-docs-start utilities-border-colors 43 | $utilities-border: map-merge( 44 | $utilities-colors, 45 | ( 46 | "white": to-rgb($white) 47 | ) 48 | ) !default; 49 | $utilities-border-colors: map-loop($utilities-border, rgba-css-var, "$key", "border") !default; 50 | // scss-docs-end utilities-border-colors 51 | 52 | $negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default; 53 | 54 | $gutters: $spacers !default; 55 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Toggles 2 | // 3 | // Used in conjunction with global variables to enable certain theme features. 4 | 5 | // Vendor 6 | @import "vendor/rfs"; 7 | 8 | // Deprecate 9 | @import "mixins/deprecate"; 10 | 11 | // Helpers 12 | @import "mixins/breakpoints"; 13 | @import "mixins/color-scheme"; 14 | @import "mixins/image"; 15 | @import "mixins/resize"; 16 | @import "mixins/visually-hidden"; 17 | @import "mixins/reset-text"; 18 | @import "mixins/text-truncate"; 19 | 20 | // Utilities 21 | @import "mixins/utilities"; 22 | 23 | // Components 24 | @import "mixins/alert"; 25 | @import "mixins/backdrop"; 26 | @import "mixins/buttons"; 27 | @import "mixins/caret"; 28 | @import "mixins/pagination"; 29 | @import "mixins/lists"; 30 | @import "mixins/list-group"; 31 | @import "mixins/forms"; 32 | @import "mixins/table-variants"; 33 | 34 | // Skins 35 | @import "mixins/border-radius"; 36 | @import "mixins/box-shadow"; 37 | @import "mixins/gradients"; 38 | @import "mixins/transition"; 39 | 40 | // Layout 41 | @import "mixins/clearfix"; 42 | @import "mixins/container"; 43 | @import "mixins/grid"; 44 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_placeholders.scss: -------------------------------------------------------------------------------- 1 | .placeholder { 2 | display: inline-block; 3 | min-height: 1em; 4 | vertical-align: middle; 5 | cursor: wait; 6 | background-color: currentcolor; 7 | opacity: $placeholder-opacity-max; 8 | 9 | &.btn::before { 10 | display: inline-block; 11 | content: ""; 12 | } 13 | } 14 | 15 | // Sizing 16 | .placeholder-xs { 17 | min-height: .6em; 18 | } 19 | 20 | .placeholder-sm { 21 | min-height: .8em; 22 | } 23 | 24 | .placeholder-lg { 25 | min-height: 1.2em; 26 | } 27 | 28 | // Animation 29 | .placeholder-glow { 30 | .placeholder { 31 | animation: placeholder-glow 2s ease-in-out infinite; 32 | } 33 | } 34 | 35 | @keyframes placeholder-glow { 36 | 50% { 37 | opacity: $placeholder-opacity-min; 38 | } 39 | } 40 | 41 | .placeholder-wave { 42 | mask-image: linear-gradient(130deg, $black 55%, rgba(0, 0, 0, (1 - $placeholder-opacity-min)) 75%, $black 95%); 43 | mask-size: 200% 100%; 44 | animation: placeholder-wave 2s linear infinite; 45 | } 46 | 47 | @keyframes placeholder-wave { 48 | 100% { 49 | mask-position: -200% 0%; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_progress.scss: -------------------------------------------------------------------------------- 1 | // Disable animation if transitions are disabled 2 | 3 | // scss-docs-start progress-keyframes 4 | @if $enable-transitions { 5 | @keyframes progress-bar-stripes { 6 | 0% { background-position-x: $progress-height; } 7 | } 8 | } 9 | // scss-docs-end progress-keyframes 10 | 11 | .progress { 12 | // scss-docs-start progress-css-vars 13 | --#{$prefix}progress-height: #{$progress-height}; 14 | @include rfs($progress-font-size, --#{$prefix}progress-font-size); 15 | --#{$prefix}progress-bg: #{$progress-bg}; // stylelint-disable-line custom-property-empty-line-before 16 | --#{$prefix}progress-border-radius: #{$progress-border-radius}; 17 | --#{$prefix}progress-box-shadow: #{$progress-box-shadow}; 18 | --#{$prefix}progress-bar-color: #{$progress-bar-color}; 19 | --#{$prefix}progress-bar-bg: #{$progress-bar-bg}; 20 | --#{$prefix}progress-bar-transition: #{$progress-bar-transition}; 21 | // scss-docs-end progress-css-vars 22 | 23 | display: flex; 24 | height: var(--#{$prefix}progress-height); 25 | overflow: hidden; // force rounded corners by cropping it 26 | @include font-size(var(--#{$prefix}progress-font-size)); 27 | background-color: var(--#{$prefix}progress-bg); 28 | @include border-radius(var(--#{$prefix}progress-border-radius)); 29 | @include box-shadow(var(--#{$prefix}progress-box-shadow)); 30 | } 31 | 32 | .progress-bar { 33 | display: flex; 34 | flex-direction: column; 35 | justify-content: center; 36 | overflow: hidden; 37 | color: var(--#{$prefix}progress-bar-color); 38 | text-align: center; 39 | white-space: nowrap; 40 | background-color: var(--#{$prefix}progress-bar-bg); 41 | @include transition(var(--#{$prefix}progress-bar-transition)); 42 | } 43 | 44 | .progress-bar-striped { 45 | @include gradient-striped(); 46 | background-size: var(--#{$prefix}progress-height) var(--#{$prefix}progress-height); 47 | } 48 | 49 | @if $enable-transitions { 50 | .progress-bar-animated { 51 | animation: $progress-bar-animation-timing progress-bar-stripes; 52 | 53 | @if $enable-reduced-motion { 54 | @media (prefers-reduced-motion: reduce) { 55 | animation: none; 56 | } 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_root.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable custom-property-empty-line-before 2 | 3 | :root { 4 | // Note: Custom variable values only support SassScript inside `#{}`. 5 | 6 | // Colors 7 | // 8 | // Generate palettes for full colors, grays, and theme colors. 9 | 10 | @each $color, $value in $colors { 11 | --#{$prefix}#{$color}: #{$value}; 12 | } 13 | 14 | @each $color, $value in $grays { 15 | --#{$prefix}gray-#{$color}: #{$value}; 16 | } 17 | 18 | @each $color, $value in $theme-colors { 19 | --#{$prefix}#{$color}: #{$value}; 20 | } 21 | 22 | @each $color, $value in $theme-colors-rgb { 23 | --#{$prefix}#{$color}-rgb: #{$value}; 24 | } 25 | 26 | --#{$prefix}white-rgb: #{to-rgb($white)}; 27 | --#{$prefix}black-rgb: #{to-rgb($black)}; 28 | --#{$prefix}body-color-rgb: #{to-rgb($body-color)}; 29 | --#{$prefix}body-bg-rgb: #{to-rgb($body-bg)}; 30 | 31 | // Fonts 32 | 33 | // Note: Use `inspect` for lists so that quoted items keep the quotes. 34 | // See https://github.com/sass/sass/issues/2383#issuecomment-336349172 35 | --#{$prefix}font-sans-serif: #{inspect($font-family-sans-serif)}; 36 | --#{$prefix}font-monospace: #{inspect($font-family-monospace)}; 37 | --#{$prefix}gradient: #{$gradient}; 38 | 39 | // Root and body 40 | // scss-docs-start root-body-variables 41 | @if $font-size-root != null { 42 | --#{$prefix}root-font-size: #{$font-size-root}; 43 | } 44 | --#{$prefix}body-font-family: #{$font-family-base}; 45 | @include rfs($font-size-base, --#{$prefix}body-font-size); 46 | --#{$prefix}body-font-weight: #{$font-weight-base}; 47 | --#{$prefix}body-line-height: #{$line-height-base}; 48 | --#{$prefix}body-color: #{$body-color}; 49 | @if $body-text-align != null { 50 | --#{$prefix}body-text-align: #{$body-text-align}; 51 | } 52 | --#{$prefix}body-bg: #{$body-bg}; 53 | // scss-docs-end root-body-variables 54 | 55 | // scss-docs-start root-border-var 56 | --#{$prefix}border-width: #{$border-width}; 57 | --#{$prefix}border-style: #{$border-style}; 58 | --#{$prefix}border-color: #{$border-color}; 59 | --#{$prefix}border-color-translucent: #{$border-color-translucent}; 60 | 61 | --#{$prefix}border-radius: #{$border-radius}; 62 | --#{$prefix}border-radius-sm: #{$border-radius-sm}; 63 | --#{$prefix}border-radius-lg: #{$border-radius-lg}; 64 | --#{$prefix}border-radius-xl: #{$border-radius-xl}; 65 | --#{$prefix}border-radius-2xl: #{$border-radius-2xl}; 66 | --#{$prefix}border-radius-pill: #{$border-radius-pill}; 67 | // scss-docs-end root-border-var 68 | 69 | --#{$prefix}heading-color: #{$headings-color}; 70 | --#{$prefix}link-color: #{$link-color}; 71 | --#{$prefix}link-hover-color: #{$link-hover-color}; 72 | 73 | --#{$prefix}code-color: #{$code-color}; 74 | 75 | --#{$prefix}highlight-bg: #{$mark-bg}; 76 | } 77 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_spinners.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Rotating border 3 | // 4 | 5 | .spinner-grow, 6 | .spinner-border { 7 | display: inline-block; 8 | width: var(--#{$prefix}spinner-width); 9 | height: var(--#{$prefix}spinner-height); 10 | vertical-align: var(--#{$prefix}spinner-vertical-align); 11 | // stylelint-disable-next-line property-disallowed-list 12 | border-radius: 50%; 13 | animation: var(--#{$prefix}spinner-animation-speed) linear infinite var(--#{$prefix}spinner-animation-name); 14 | } 15 | 16 | // scss-docs-start spinner-border-keyframes 17 | @keyframes spinner-border { 18 | to { transform: rotate(360deg) #{"/* rtl:ignore */"}; } 19 | } 20 | // scss-docs-end spinner-border-keyframes 21 | 22 | .spinner-border { 23 | // scss-docs-start spinner-border-css-vars 24 | --#{$prefix}spinner-width: #{$spinner-width}; 25 | --#{$prefix}spinner-height: #{$spinner-height}; 26 | --#{$prefix}spinner-vertical-align: #{$spinner-vertical-align}; 27 | --#{$prefix}spinner-border-width: #{$spinner-border-width}; 28 | --#{$prefix}spinner-animation-speed: #{$spinner-animation-speed}; 29 | --#{$prefix}spinner-animation-name: spinner-border; 30 | // scss-docs-end spinner-border-css-vars 31 | 32 | border: var(--#{$prefix}spinner-border-width) solid currentcolor; 33 | border-right-color: transparent; 34 | } 35 | 36 | .spinner-border-sm { 37 | // scss-docs-start spinner-border-sm-css-vars 38 | --#{$prefix}spinner-width: #{$spinner-width-sm}; 39 | --#{$prefix}spinner-height: #{$spinner-height-sm}; 40 | --#{$prefix}spinner-border-width: #{$spinner-border-width-sm}; 41 | // scss-docs-end spinner-border-sm-css-vars 42 | } 43 | 44 | // 45 | // Growing circle 46 | // 47 | 48 | // scss-docs-start spinner-grow-keyframes 49 | @keyframes spinner-grow { 50 | 0% { 51 | transform: scale(0); 52 | } 53 | 50% { 54 | opacity: 1; 55 | transform: none; 56 | } 57 | } 58 | // scss-docs-end spinner-grow-keyframes 59 | 60 | .spinner-grow { 61 | // scss-docs-start spinner-grow-css-vars 62 | --#{$prefix}spinner-width: #{$spinner-width}; 63 | --#{$prefix}spinner-height: #{$spinner-height}; 64 | --#{$prefix}spinner-vertical-align: #{$spinner-vertical-align}; 65 | --#{$prefix}spinner-animation-speed: #{$spinner-animation-speed}; 66 | --#{$prefix}spinner-animation-name: spinner-grow; 67 | // scss-docs-end spinner-grow-css-vars 68 | 69 | background-color: currentcolor; 70 | opacity: 0; 71 | } 72 | 73 | .spinner-grow-sm { 74 | --#{$prefix}spinner-width: #{$spinner-width-sm}; 75 | --#{$prefix}spinner-height: #{$spinner-height-sm}; 76 | } 77 | 78 | @if $enable-reduced-motion { 79 | @media (prefers-reduced-motion: reduce) { 80 | .spinner-border, 81 | .spinner-grow { 82 | --#{$prefix}spinner-animation-speed: #{$spinner-animation-speed * 2}; 83 | } 84 | } 85 | } 86 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_toasts.scss: -------------------------------------------------------------------------------- 1 | .toast { 2 | // scss-docs-start toast-css-vars 3 | --#{$prefix}toast-padding-x: #{$toast-padding-x}; 4 | --#{$prefix}toast-padding-y: #{$toast-padding-y}; 5 | --#{$prefix}toast-spacing: #{$toast-spacing}; 6 | --#{$prefix}toast-max-width: #{$toast-max-width}; 7 | @include rfs($toast-font-size, --#{$prefix}toast-font-size); 8 | --#{$prefix}toast-color: #{$toast-color}; // stylelint-disable-line custom-property-empty-line-before 9 | --#{$prefix}toast-bg: #{$toast-background-color}; 10 | --#{$prefix}toast-border-width: #{$toast-border-width}; 11 | --#{$prefix}toast-border-color: #{$toast-border-color}; 12 | --#{$prefix}toast-border-radius: #{$toast-border-radius}; 13 | --#{$prefix}toast-box-shadow: #{$toast-box-shadow}; 14 | --#{$prefix}toast-header-color: #{$toast-header-color}; 15 | --#{$prefix}toast-header-bg: #{$toast-header-background-color}; 16 | --#{$prefix}toast-header-border-color: #{$toast-header-border-color}; 17 | // scss-docs-end toast-css-vars 18 | 19 | width: var(--#{$prefix}toast-max-width); 20 | max-width: 100%; 21 | @include font-size(var(--#{$prefix}toast-font-size)); 22 | color: var(--#{$prefix}toast-color); 23 | pointer-events: auto; 24 | background-color: var(--#{$prefix}toast-bg); 25 | background-clip: padding-box; 26 | border: var(--#{$prefix}toast-border-width) solid var(--#{$prefix}toast-border-color); 27 | box-shadow: var(--#{$prefix}toast-box-shadow); 28 | @include border-radius(var(--#{$prefix}toast-border-radius)); 29 | 30 | &.showing { 31 | opacity: 0; 32 | } 33 | 34 | &:not(.show) { 35 | display: none; 36 | } 37 | } 38 | 39 | .toast-container { 40 | position: absolute; 41 | z-index: $zindex-toast; 42 | width: max-content; 43 | max-width: 100%; 44 | pointer-events: none; 45 | 46 | > :not(:last-child) { 47 | margin-bottom: var(--#{$prefix}toast-spacing); 48 | } 49 | } 50 | 51 | .toast-header { 52 | display: flex; 53 | align-items: center; 54 | padding: var(--#{$prefix}toast-padding-y) var(--#{$prefix}toast-padding-x); 55 | color: var(--#{$prefix}toast-header-color); 56 | background-color: var(--#{$prefix}toast-header-bg); 57 | background-clip: padding-box; 58 | border-bottom: var(--#{$prefix}toast-border-width) solid var(--#{$prefix}toast-header-border-color); 59 | @include border-top-radius(calc(var(--#{$prefix}toast-border-radius) - var(--#{$prefix}toast-border-width))); 60 | 61 | .btn-close { 62 | margin-right: calc(var(--#{$prefix}toast-padding-x) * -.5); // stylelint-disable-line function-disallowed-list 63 | margin-left: var(--#{$prefix}toast-padding-x); 64 | } 65 | } 66 | 67 | .toast-body { 68 | padding: var(--#{$prefix}toast-padding-x); 69 | word-wrap: break-word; 70 | } 71 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_transitions.scss: -------------------------------------------------------------------------------- 1 | .fade { 2 | @include transition($transition-fade); 3 | 4 | &:not(.show) { 5 | opacity: 0; 6 | } 7 | } 8 | 9 | // scss-docs-start collapse-classes 10 | .collapse { 11 | &:not(.show) { 12 | display: none; 13 | } 14 | } 15 | 16 | .collapsing { 17 | height: 0; 18 | overflow: hidden; 19 | @include transition($transition-collapse); 20 | 21 | &.collapse-horizontal { 22 | width: 0; 23 | height: auto; 24 | @include transition($transition-collapse-width); 25 | } 26 | } 27 | // scss-docs-end collapse-classes 28 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/_type.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Headings 3 | // 4 | .h1 { 5 | @extend h1; 6 | } 7 | 8 | .h2 { 9 | @extend h2; 10 | } 11 | 12 | .h3 { 13 | @extend h3; 14 | } 15 | 16 | .h4 { 17 | @extend h4; 18 | } 19 | 20 | .h5 { 21 | @extend h5; 22 | } 23 | 24 | .h6 { 25 | @extend h6; 26 | } 27 | 28 | 29 | .lead { 30 | @include font-size($lead-font-size); 31 | font-weight: $lead-font-weight; 32 | } 33 | 34 | // Type display classes 35 | @each $display, $font-size in $display-font-sizes { 36 | .display-#{$display} { 37 | @include font-size($font-size); 38 | font-weight: $display-font-weight; 39 | line-height: $display-line-height; 40 | } 41 | } 42 | 43 | // 44 | // Emphasis 45 | // 46 | .small { 47 | @extend small; 48 | } 49 | 50 | .mark { 51 | @extend mark; 52 | } 53 | 54 | // 55 | // Lists 56 | // 57 | 58 | .list-unstyled { 59 | @include list-unstyled(); 60 | } 61 | 62 | // Inline turns list items into inline-block 63 | .list-inline { 64 | @include list-unstyled(); 65 | } 66 | .list-inline-item { 67 | display: inline-block; 68 | 69 | &:not(:last-child) { 70 | margin-right: $list-inline-padding; 71 | } 72 | } 73 | 74 | 75 | // 76 | // Misc 77 | // 78 | 79 | // Builds on `abbr` 80 | .initialism { 81 | @include font-size($initialism-font-size); 82 | text-transform: uppercase; 83 | } 84 | 85 | // Blockquotes 86 | .blockquote { 87 | margin-bottom: $blockquote-margin-y; 88 | @include font-size($blockquote-font-size); 89 | 90 | > :last-child { 91 | margin-bottom: 0; 92 | } 93 | } 94 | 95 | .blockquote-footer { 96 | margin-top: -$blockquote-margin-y; 97 | margin-bottom: $blockquote-margin-y; 98 | @include font-size($blockquote-footer-font-size); 99 | color: $blockquote-footer-color; 100 | 101 | &::before { 102 | content: "\2014\00A0"; // em dash, nbsp 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/bootstrap-grid.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Grid v5.2.0-beta1 (https://getbootstrap.com/) 3 | * Copyright 2011-2022 The Bootstrap Authors 4 | * Copyright 2011-2022 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 6 | */ 7 | 8 | $include-column-box-sizing: true !default; 9 | 10 | @import "functions"; 11 | @import "variables"; 12 | @import "maps"; 13 | 14 | @import "mixins/lists"; 15 | @import "mixins/breakpoints"; 16 | @import "mixins/container"; 17 | @import "mixins/grid"; 18 | @import "mixins/utilities"; 19 | 20 | @import "vendor/rfs"; 21 | 22 | @import "root"; 23 | 24 | @import "containers"; 25 | @import "grid"; 26 | 27 | @import "utilities"; 28 | // Only use the utilities we need 29 | // stylelint-disable-next-line scss/dollar-variable-default 30 | $utilities: map-get-multiple( 31 | $utilities, 32 | ( 33 | "display", 34 | "order", 35 | "flex", 36 | "flex-direction", 37 | "flex-grow", 38 | "flex-shrink", 39 | "flex-wrap", 40 | "justify-content", 41 | "align-items", 42 | "align-content", 43 | "align-self", 44 | "margin", 45 | "margin-x", 46 | "margin-y", 47 | "margin-top", 48 | "margin-end", 49 | "margin-bottom", 50 | "margin-start", 51 | "negative-margin", 52 | "negative-margin-x", 53 | "negative-margin-y", 54 | "negative-margin-top", 55 | "negative-margin-end", 56 | "negative-margin-bottom", 57 | "negative-margin-start", 58 | "padding", 59 | "padding-x", 60 | "padding-y", 61 | "padding-top", 62 | "padding-end", 63 | "padding-bottom", 64 | "padding-start", 65 | ) 66 | ); 67 | 68 | @import "utilities/api"; 69 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/bootstrap-reboot.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Reboot v5.2.0-beta1 (https://getbootstrap.com/) 3 | * Copyright 2011-2022 The Bootstrap Authors 4 | * Copyright 2011-2022 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 6 | * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) 7 | */ 8 | 9 | @import "functions"; 10 | @import "variables"; 11 | @import "maps"; 12 | @import "mixins"; 13 | @import "root"; 14 | @import "reboot"; 15 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/bootstrap-utilities.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Utilities v5.2.0-beta1 (https://getbootstrap.com/) 3 | * Copyright 2011-2022 The Bootstrap Authors 4 | * Copyright 2011-2022 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 6 | */ 7 | 8 | // Configuration 9 | @import "functions"; 10 | @import "variables"; 11 | @import "maps"; 12 | @import "mixins"; 13 | @import "utilities"; 14 | 15 | // Helpers 16 | @import "helpers"; 17 | 18 | // Utilities 19 | @import "utilities/api"; 20 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/bootstrap.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v5.2.0-beta1 (https://getbootstrap.com/) 3 | * Copyright 2011-2022 The Bootstrap Authors 4 | * Copyright 2011-2022 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 6 | */ 7 | 8 | // scss-docs-start import-stack 9 | // Configuration 10 | @import "functions"; 11 | @import "variables"; 12 | @import "maps"; 13 | @import "mixins"; 14 | @import "utilities"; 15 | 16 | // Layout & components 17 | @import "root"; 18 | @import "reboot"; 19 | @import "type"; 20 | @import "images"; 21 | @import "containers"; 22 | @import "grid"; 23 | @import "tables"; 24 | @import "forms"; 25 | @import "buttons"; 26 | @import "transitions"; 27 | @import "dropdown"; 28 | @import "button-group"; 29 | @import "nav"; 30 | @import "navbar"; 31 | @import "card"; 32 | @import "accordion"; 33 | @import "breadcrumb"; 34 | @import "pagination"; 35 | @import "badge"; 36 | @import "alert"; 37 | @import "progress"; 38 | @import "list-group"; 39 | @import "close"; 40 | @import "toasts"; 41 | @import "modal"; 42 | @import "tooltip"; 43 | @import "popover"; 44 | @import "carousel"; 45 | @import "spinners"; 46 | @import "offcanvas"; 47 | @import "placeholders"; 48 | 49 | // Helpers 50 | @import "helpers"; 51 | 52 | // Utilities 53 | @import "utilities/api"; 54 | // scss-docs-end import-stack 55 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/forms/_floating-labels.scss: -------------------------------------------------------------------------------- 1 | .form-floating { 2 | position: relative; 3 | 4 | > .form-control, 5 | > .form-control-plaintext, 6 | > .form-select { 7 | height: $form-floating-height; 8 | line-height: $form-floating-line-height; 9 | } 10 | 11 | > label { 12 | position: absolute; 13 | top: 0; 14 | left: 0; 15 | height: 100%; // allow textareas 16 | padding: $form-floating-padding-y $form-floating-padding-x; 17 | pointer-events: none; 18 | border: $input-border-width solid transparent; // Required for aligning label's text with the input as it affects inner box model 19 | transform-origin: 0 0; 20 | @include transition($form-floating-transition); 21 | } 22 | 23 | > .form-control, 24 | > .form-control-plaintext { 25 | padding: $form-floating-padding-y $form-floating-padding-x; 26 | 27 | &::placeholder { 28 | color: transparent; 29 | } 30 | 31 | &:focus, 32 | &:not(:placeholder-shown) { 33 | padding-top: $form-floating-input-padding-t; 34 | padding-bottom: $form-floating-input-padding-b; 35 | } 36 | // Duplicated because `:-webkit-autofill` invalidates other selectors when grouped 37 | &:-webkit-autofill { 38 | padding-top: $form-floating-input-padding-t; 39 | padding-bottom: $form-floating-input-padding-b; 40 | } 41 | } 42 | 43 | > .form-select { 44 | padding-top: $form-floating-input-padding-t; 45 | padding-bottom: $form-floating-input-padding-b; 46 | } 47 | 48 | > .form-control:focus, 49 | > .form-control:not(:placeholder-shown), 50 | > .form-control-plaintext, 51 | > .form-select { 52 | ~ label { 53 | opacity: $form-floating-label-opacity; 54 | transform: $form-floating-label-transform; 55 | } 56 | } 57 | // Duplicated because `:-webkit-autofill` invalidates other selectors when grouped 58 | > .form-control:-webkit-autofill { 59 | ~ label { 60 | opacity: $form-floating-label-opacity; 61 | transform: $form-floating-label-transform; 62 | } 63 | } 64 | 65 | > .form-control-plaintext { 66 | ~ label { 67 | border-width: $input-border-width 0; // Required to properly position label text - as explained above 68 | } 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/forms/_form-select.scss: -------------------------------------------------------------------------------- 1 | // Select 2 | // 3 | // Replaces the browser default select with a custom one, mostly pulled from 4 | // https://primer.github.io/. 5 | 6 | .form-select { 7 | display: block; 8 | width: 100%; 9 | padding: $form-select-padding-y $form-select-indicator-padding $form-select-padding-y $form-select-padding-x; 10 | -moz-padding-start: subtract($form-select-padding-x, 3px); // See https://github.com/twbs/bootstrap/issues/32636 11 | font-family: $form-select-font-family; 12 | @include font-size($form-select-font-size); 13 | font-weight: $form-select-font-weight; 14 | line-height: $form-select-line-height; 15 | color: $form-select-color; 16 | background-color: $form-select-bg; 17 | background-image: escape-svg($form-select-indicator); 18 | background-repeat: no-repeat; 19 | background-position: $form-select-bg-position; 20 | background-size: $form-select-bg-size; 21 | border: $form-select-border-width solid $form-select-border-color; 22 | @include border-radius($form-select-border-radius, 0); 23 | @include box-shadow($form-select-box-shadow); 24 | @include transition($form-select-transition); 25 | appearance: none; 26 | 27 | &:focus { 28 | border-color: $form-select-focus-border-color; 29 | outline: 0; 30 | @if $enable-shadows { 31 | @include box-shadow($form-select-box-shadow, $form-select-focus-box-shadow); 32 | } @else { 33 | // Avoid using mixin so we can pass custom focus shadow properly 34 | box-shadow: $form-select-focus-box-shadow; 35 | } 36 | } 37 | 38 | &[multiple], 39 | &[size]:not([size="1"]) { 40 | padding-right: $form-select-padding-x; 41 | background-image: none; 42 | } 43 | 44 | &:disabled { 45 | color: $form-select-disabled-color; 46 | background-color: $form-select-disabled-bg; 47 | border-color: $form-select-disabled-border-color; 48 | } 49 | 50 | // Remove outline from select box in FF 51 | &:-moz-focusring { 52 | color: transparent; 53 | text-shadow: 0 0 0 $form-select-color; 54 | } 55 | } 56 | 57 | .form-select-sm { 58 | padding-top: $form-select-padding-y-sm; 59 | padding-bottom: $form-select-padding-y-sm; 60 | padding-left: $form-select-padding-x-sm; 61 | @include font-size($form-select-font-size-sm); 62 | @include border-radius($form-select-border-radius-sm); 63 | } 64 | 65 | .form-select-lg { 66 | padding-top: $form-select-padding-y-lg; 67 | padding-bottom: $form-select-padding-y-lg; 68 | padding-left: $form-select-padding-x-lg; 69 | @include font-size($form-select-font-size-lg); 70 | @include border-radius($form-select-border-radius-lg); 71 | } 72 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/forms/_form-text.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Form text 3 | // 4 | 5 | .form-text { 6 | margin-top: $form-text-margin-top; 7 | @include font-size($form-text-font-size); 8 | font-style: $form-text-font-style; 9 | font-weight: $form-text-font-weight; 10 | color: $form-text-color; 11 | } 12 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/forms/_labels.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Labels 3 | // 4 | 5 | .form-label { 6 | margin-bottom: $form-label-margin-bottom; 7 | @include font-size($form-label-font-size); 8 | font-style: $form-label-font-style; 9 | font-weight: $form-label-font-weight; 10 | color: $form-label-color; 11 | } 12 | 13 | // For use with horizontal and inline forms, when you need the label (or legend) 14 | // text to align with the form controls. 15 | .col-form-label { 16 | padding-top: add($input-padding-y, $input-border-width); 17 | padding-bottom: add($input-padding-y, $input-border-width); 18 | margin-bottom: 0; // Override the `` default 19 | @include font-size(inherit); // Override the `` default 20 | font-style: $form-label-font-style; 21 | font-weight: $form-label-font-weight; 22 | line-height: $input-line-height; 23 | color: $form-label-color; 24 | } 25 | 26 | .col-form-label-lg { 27 | padding-top: add($input-padding-y-lg, $input-border-width); 28 | padding-bottom: add($input-padding-y-lg, $input-border-width); 29 | @include font-size($input-font-size-lg); 30 | } 31 | 32 | .col-form-label-sm { 33 | padding-top: add($input-padding-y-sm, $input-border-width); 34 | padding-bottom: add($input-padding-y-sm, $input-border-width); 35 | @include font-size($input-font-size-sm); 36 | } 37 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/forms/_validation.scss: -------------------------------------------------------------------------------- 1 | // Form validation 2 | // 3 | // Provide feedback to users when form field values are valid or invalid. Works 4 | // primarily for client-side validation via scoped `:invalid` and `:valid` 5 | // pseudo-classes but also includes `.is-invalid` and `.is-valid` classes for 6 | // server-side validation. 7 | 8 | // scss-docs-start form-validation-states-loop 9 | @each $state, $data in $form-validation-states { 10 | @include form-validation-state($state, $data...); 11 | } 12 | // scss-docs-end form-validation-states-loop 13 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/helpers/_clearfix.scss: -------------------------------------------------------------------------------- 1 | .clearfix { 2 | @include clearfix(); 3 | } 4 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/helpers/_color-bg.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important, function-name-case 2 | 3 | // All-caps `RGBA()` function used because of this Sass bug: https://github.com/sass/node-sass/issues/2251 4 | @each $color, $value in $theme-colors { 5 | $color-rgb: to-rgb($value); 6 | .text-bg-#{$color} { 7 | color: color-contrast($value) !important; 8 | background-color: RGBA($color-rgb, var(--#{$prefix}bg-opacity, 1)) !important; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/helpers/_colored-links.scss: -------------------------------------------------------------------------------- 1 | @each $color, $value in $theme-colors { 2 | .link-#{$color} { 3 | color: $value !important; // stylelint-disable-line declaration-no-important 4 | 5 | @if $link-shade-percentage != 0 { 6 | &:hover, 7 | &:focus { 8 | color: if(color-contrast($value) == $color-contrast-light, shade-color($value, $link-shade-percentage), tint-color($value, $link-shade-percentage)) !important; // stylelint-disable-line declaration-no-important 9 | } 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/helpers/_position.scss: -------------------------------------------------------------------------------- 1 | // Shorthand 2 | 3 | .fixed-top { 4 | position: fixed; 5 | top: 0; 6 | right: 0; 7 | left: 0; 8 | z-index: $zindex-fixed; 9 | } 10 | 11 | .fixed-bottom { 12 | position: fixed; 13 | right: 0; 14 | bottom: 0; 15 | left: 0; 16 | z-index: $zindex-fixed; 17 | } 18 | 19 | // Responsive sticky top and bottom 20 | @each $breakpoint in map-keys($grid-breakpoints) { 21 | @include media-breakpoint-up($breakpoint) { 22 | $infix: breakpoint-infix($breakpoint, $grid-breakpoints); 23 | 24 | .sticky#{$infix}-top { 25 | position: sticky; 26 | top: 0; 27 | z-index: $zindex-sticky; 28 | } 29 | 30 | .sticky#{$infix}-bottom { 31 | position: sticky; 32 | bottom: 0; 33 | z-index: $zindex-sticky; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/helpers/_ratio.scss: -------------------------------------------------------------------------------- 1 | // Credit: Nicolas Gallagher and SUIT CSS. 2 | 3 | .ratio { 4 | position: relative; 5 | width: 100%; 6 | 7 | &::before { 8 | display: block; 9 | padding-top: var(--#{$prefix}aspect-ratio); 10 | content: ""; 11 | } 12 | 13 | > * { 14 | position: absolute; 15 | top: 0; 16 | left: 0; 17 | width: 100%; 18 | height: 100%; 19 | } 20 | } 21 | 22 | @each $key, $ratio in $aspect-ratios { 23 | .ratio-#{$key} { 24 | --#{$prefix}aspect-ratio: #{$ratio}; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/helpers/_stacks.scss: -------------------------------------------------------------------------------- 1 | // scss-docs-start stacks 2 | .hstack { 3 | display: flex; 4 | flex-direction: row; 5 | align-items: center; 6 | align-self: stretch; 7 | } 8 | 9 | .vstack { 10 | display: flex; 11 | flex: 1 1 auto; 12 | flex-direction: column; 13 | align-self: stretch; 14 | } 15 | // scss-docs-end stacks 16 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/helpers/_stretched-link.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Stretched link 3 | // 4 | 5 | .stretched-link { 6 | &::#{$stretched-link-pseudo-element} { 7 | position: absolute; 8 | top: 0; 9 | right: 0; 10 | bottom: 0; 11 | left: 0; 12 | z-index: $stretched-link-z-index; 13 | content: ""; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/helpers/_text-truncation.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Text truncation 3 | // 4 | 5 | .text-truncate { 6 | @include text-truncate(); 7 | } 8 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/helpers/_visually-hidden.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Visually hidden 3 | // 4 | 5 | .visually-hidden, 6 | .visually-hidden-focusable:not(:focus):not(:focus-within) { 7 | @include visually-hidden(); 8 | } 9 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/helpers/_vr.scss: -------------------------------------------------------------------------------- 1 | .vr { 2 | display: inline-block; 3 | align-self: stretch; 4 | width: 1px; 5 | min-height: 1em; 6 | background-color: currentcolor; 7 | opacity: $hr-opacity; 8 | } 9 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_alert.scss: -------------------------------------------------------------------------------- 1 | // scss-docs-start alert-variant-mixin 2 | @mixin alert-variant($background, $border, $color) { 3 | --#{$prefix}alert-color: #{$color}; 4 | --#{$prefix}alert-bg: #{$background}; 5 | --#{$prefix}alert-border-color: #{$border}; 6 | 7 | @if $enable-gradients { 8 | background-image: var(--#{$prefix}gradient); 9 | } 10 | 11 | .alert-link { 12 | color: shade-color($color, 20%); 13 | } 14 | } 15 | // scss-docs-end alert-variant-mixin 16 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_backdrop.scss: -------------------------------------------------------------------------------- 1 | // Shared between modals and offcanvases 2 | @mixin overlay-backdrop($zindex, $backdrop-bg, $backdrop-opacity) { 3 | position: fixed; 4 | top: 0; 5 | left: 0; 6 | z-index: $zindex; 7 | width: 100vw; 8 | height: 100vh; 9 | background-color: $backdrop-bg; 10 | 11 | // Fade for backdrop 12 | &.fade { opacity: 0; } 13 | &.show { opacity: $backdrop-opacity; } 14 | } 15 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_border-radius.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable property-disallowed-list 2 | // Single side border-radius 3 | 4 | // Helper function to replace negative values with 0 5 | @function valid-radius($radius) { 6 | $return: (); 7 | @each $value in $radius { 8 | @if type-of($value) == number { 9 | $return: append($return, max($value, 0)); 10 | } @else { 11 | $return: append($return, $value); 12 | } 13 | } 14 | @return $return; 15 | } 16 | 17 | // scss-docs-start border-radius-mixins 18 | @mixin border-radius($radius: $border-radius, $fallback-border-radius: false) { 19 | @if $enable-rounded { 20 | border-radius: valid-radius($radius); 21 | } 22 | @else if $fallback-border-radius != false { 23 | border-radius: $fallback-border-radius; 24 | } 25 | } 26 | 27 | @mixin border-top-radius($radius: $border-radius) { 28 | @if $enable-rounded { 29 | border-top-left-radius: valid-radius($radius); 30 | border-top-right-radius: valid-radius($radius); 31 | } 32 | } 33 | 34 | @mixin border-end-radius($radius: $border-radius) { 35 | @if $enable-rounded { 36 | border-top-right-radius: valid-radius($radius); 37 | border-bottom-right-radius: valid-radius($radius); 38 | } 39 | } 40 | 41 | @mixin border-bottom-radius($radius: $border-radius) { 42 | @if $enable-rounded { 43 | border-bottom-right-radius: valid-radius($radius); 44 | border-bottom-left-radius: valid-radius($radius); 45 | } 46 | } 47 | 48 | @mixin border-start-radius($radius: $border-radius) { 49 | @if $enable-rounded { 50 | border-top-left-radius: valid-radius($radius); 51 | border-bottom-left-radius: valid-radius($radius); 52 | } 53 | } 54 | 55 | @mixin border-top-start-radius($radius: $border-radius) { 56 | @if $enable-rounded { 57 | border-top-left-radius: valid-radius($radius); 58 | } 59 | } 60 | 61 | @mixin border-top-end-radius($radius: $border-radius) { 62 | @if $enable-rounded { 63 | border-top-right-radius: valid-radius($radius); 64 | } 65 | } 66 | 67 | @mixin border-bottom-end-radius($radius: $border-radius) { 68 | @if $enable-rounded { 69 | border-bottom-right-radius: valid-radius($radius); 70 | } 71 | } 72 | 73 | @mixin border-bottom-start-radius($radius: $border-radius) { 74 | @if $enable-rounded { 75 | border-bottom-left-radius: valid-radius($radius); 76 | } 77 | } 78 | // scss-docs-end border-radius-mixins 79 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_box-shadow.scss: -------------------------------------------------------------------------------- 1 | @mixin box-shadow($shadow...) { 2 | @if $enable-shadows { 3 | $result: (); 4 | 5 | @each $value in $shadow { 6 | @if $value != null { 7 | $result: append($result, $value, "comma"); 8 | } 9 | @if $value == none and length($shadow) > 1 { 10 | @warn "The keyword 'none' must be used as a single argument."; 11 | } 12 | } 13 | 14 | @if (length($result) > 0) { 15 | box-shadow: $result; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_caret.scss: -------------------------------------------------------------------------------- 1 | // scss-docs-start caret-mixins 2 | @mixin caret-down { 3 | border-top: $caret-width solid; 4 | border-right: $caret-width solid transparent; 5 | border-bottom: 0; 6 | border-left: $caret-width solid transparent; 7 | } 8 | 9 | @mixin caret-up { 10 | border-top: 0; 11 | border-right: $caret-width solid transparent; 12 | border-bottom: $caret-width solid; 13 | border-left: $caret-width solid transparent; 14 | } 15 | 16 | @mixin caret-end { 17 | border-top: $caret-width solid transparent; 18 | border-right: 0; 19 | border-bottom: $caret-width solid transparent; 20 | border-left: $caret-width solid; 21 | } 22 | 23 | @mixin caret-start { 24 | border-top: $caret-width solid transparent; 25 | border-right: $caret-width solid; 26 | border-bottom: $caret-width solid transparent; 27 | } 28 | 29 | @mixin caret($direction: down) { 30 | @if $enable-caret { 31 | &::after { 32 | display: inline-block; 33 | margin-left: $caret-spacing; 34 | vertical-align: $caret-vertical-align; 35 | content: ""; 36 | @if $direction == down { 37 | @include caret-down(); 38 | } @else if $direction == up { 39 | @include caret-up(); 40 | } @else if $direction == end { 41 | @include caret-end(); 42 | } 43 | } 44 | 45 | @if $direction == start { 46 | &::after { 47 | display: none; 48 | } 49 | 50 | &::before { 51 | display: inline-block; 52 | margin-right: $caret-spacing; 53 | vertical-align: $caret-vertical-align; 54 | content: ""; 55 | @include caret-start(); 56 | } 57 | } 58 | 59 | &:empty::after { 60 | margin-left: 0; 61 | } 62 | } 63 | } 64 | // scss-docs-end caret-mixins 65 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_clearfix.scss: -------------------------------------------------------------------------------- 1 | // scss-docs-start clearfix 2 | @mixin clearfix() { 3 | &::after { 4 | display: block; 5 | clear: both; 6 | content: ""; 7 | } 8 | } 9 | // scss-docs-end clearfix 10 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_color-scheme.scss: -------------------------------------------------------------------------------- 1 | // scss-docs-start mixin-color-scheme 2 | @mixin color-scheme($name) { 3 | @media (prefers-color-scheme: #{$name}) { 4 | @content; 5 | } 6 | } 7 | // scss-docs-end mixin-color-scheme 8 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_container.scss: -------------------------------------------------------------------------------- 1 | // Container mixins 2 | 3 | @mixin make-container($gutter: $container-padding-x) { 4 | --#{$prefix}gutter-x: #{$gutter}; 5 | --#{$prefix}gutter-y: 0; 6 | width: 100%; 7 | padding-right: calc(var(--#{$prefix}gutter-x) * 1); // stylelint-disable-line function-disallowed-list 8 | padding-left: calc(var(--#{$prefix}gutter-x) * 1); // stylelint-disable-line function-disallowed-list 9 | margin-right: auto; 10 | margin-left: auto; 11 | } 12 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_deprecate.scss: -------------------------------------------------------------------------------- 1 | // Deprecate mixin 2 | // 3 | // This mixin can be used to deprecate mixins or functions. 4 | // `$enable-deprecation-messages` is a global variable, `$ignore-warning` is a variable that can be passed to 5 | // some deprecated mixins to suppress the warning (for example if the mixin is still be used in the current version of Bootstrap) 6 | @mixin deprecate($name, $deprecate-version, $remove-version, $ignore-warning: false) { 7 | @if ($enable-deprecation-messages != false and $ignore-warning != true) { 8 | @warn "#{$name} has been deprecated as of #{$deprecate-version}. It will be removed entirely in #{$remove-version}."; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_gradients.scss: -------------------------------------------------------------------------------- 1 | // Gradients 2 | 3 | // scss-docs-start gradient-bg-mixin 4 | @mixin gradient-bg($color: null) { 5 | background-color: $color; 6 | 7 | @if $enable-gradients { 8 | background-image: var(--#{$prefix}gradient); 9 | } 10 | } 11 | // scss-docs-end gradient-bg-mixin 12 | 13 | // scss-docs-start gradient-mixins 14 | // Horizontal gradient, from left to right 15 | // 16 | // Creates two color stops, start and end, by specifying a color and position for each color stop. 17 | @mixin gradient-x($start-color: $gray-700, $end-color: $gray-800, $start-percent: 0%, $end-percent: 100%) { 18 | background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent); 19 | } 20 | 21 | // Vertical gradient, from top to bottom 22 | // 23 | // Creates two color stops, start and end, by specifying a color and position for each color stop. 24 | @mixin gradient-y($start-color: $gray-700, $end-color: $gray-800, $start-percent: null, $end-percent: null) { 25 | background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent); 26 | } 27 | 28 | @mixin gradient-directional($start-color: $gray-700, $end-color: $gray-800, $deg: 45deg) { 29 | background-image: linear-gradient($deg, $start-color, $end-color); 30 | } 31 | 32 | @mixin gradient-x-three-colors($start-color: $blue, $mid-color: $purple, $color-stop: 50%, $end-color: $red) { 33 | background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color); 34 | } 35 | 36 | @mixin gradient-y-three-colors($start-color: $blue, $mid-color: $purple, $color-stop: 50%, $end-color: $red) { 37 | background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color); 38 | } 39 | 40 | @mixin gradient-radial($inner-color: $gray-700, $outer-color: $gray-800) { 41 | background-image: radial-gradient(circle, $inner-color, $outer-color); 42 | } 43 | 44 | @mixin gradient-striped($color: rgba($white, .15), $angle: 45deg) { 45 | background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent); 46 | } 47 | // scss-docs-end gradient-mixins 48 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_image.scss: -------------------------------------------------------------------------------- 1 | // Image Mixins 2 | // - Responsive image 3 | // - Retina image 4 | 5 | 6 | // Responsive image 7 | // 8 | // Keep images from scaling beyond the width of their parents. 9 | 10 | @mixin img-fluid { 11 | // Part 1: Set a maximum relative to the parent 12 | max-width: 100%; 13 | // Part 2: Override the height to auto, otherwise images will be stretched 14 | // when setting a width and height attribute on the img element. 15 | height: auto; 16 | } 17 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_list-group.scss: -------------------------------------------------------------------------------- 1 | // List Groups 2 | 3 | // scss-docs-start list-group-mixin 4 | @mixin list-group-item-variant($state, $background, $color) { 5 | .list-group-item-#{$state} { 6 | color: $color; 7 | background-color: $background; 8 | 9 | &.list-group-item-action { 10 | &:hover, 11 | &:focus { 12 | color: $color; 13 | background-color: shade-color($background, 10%); 14 | } 15 | 16 | &.active { 17 | color: $white; 18 | background-color: $color; 19 | border-color: $color; 20 | } 21 | } 22 | } 23 | } 24 | // scss-docs-end list-group-mixin 25 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_lists.scss: -------------------------------------------------------------------------------- 1 | // Lists 2 | 3 | // Unstyled keeps list items block level, just removes default browser padding and list-style 4 | @mixin list-unstyled { 5 | padding-left: 0; 6 | list-style: none; 7 | } 8 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_pagination.scss: -------------------------------------------------------------------------------- 1 | // Pagination 2 | 3 | // scss-docs-start pagination-mixin 4 | @mixin pagination-size($padding-y, $padding-x, $font-size, $border-radius) { 5 | --#{$prefix}pagination-padding-x: #{$padding-x}; 6 | --#{$prefix}pagination-padding-y: #{$padding-y}; 7 | @include rfs($font-size, --#{$prefix}pagination-font-size); 8 | --#{$prefix}pagination-border-radius: #{$border-radius}; // stylelint-disable-line custom-property-empty-line-before 9 | } 10 | // scss-docs-end pagination-mixin 11 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_reset-text.scss: -------------------------------------------------------------------------------- 1 | @mixin reset-text { 2 | font-family: $font-family-base; 3 | // We deliberately do NOT reset font-size or overflow-wrap / word-wrap. 4 | font-style: normal; 5 | font-weight: $font-weight-normal; 6 | line-height: $line-height-base; 7 | text-align: left; // Fallback for where `start` is not supported 8 | text-align: start; 9 | text-decoration: none; 10 | text-shadow: none; 11 | text-transform: none; 12 | letter-spacing: normal; 13 | word-break: normal; 14 | white-space: normal; 15 | word-spacing: normal; 16 | line-break: auto; 17 | } 18 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_resize.scss: -------------------------------------------------------------------------------- 1 | // Resize anything 2 | 3 | @mixin resizable($direction) { 4 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` 5 | resize: $direction; // Options: horizontal, vertical, both 6 | } 7 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_table-variants.scss: -------------------------------------------------------------------------------- 1 | // scss-docs-start table-variant 2 | @mixin table-variant($state, $background) { 3 | .table-#{$state} { 4 | $color: color-contrast(opaque($body-bg, $background)); 5 | $hover-bg: mix($color, $background, percentage($table-hover-bg-factor)); 6 | $striped-bg: mix($color, $background, percentage($table-striped-bg-factor)); 7 | $active-bg: mix($color, $background, percentage($table-active-bg-factor)); 8 | $border-color: mix($color, $background, percentage($table-border-factor)); 9 | 10 | --#{$prefix}table-color: #{$color}; 11 | --#{$prefix}table-bg: #{$background}; 12 | --#{$prefix}table-border-color: #{$border-color}; 13 | --#{$prefix}table-striped-bg: #{$striped-bg}; 14 | --#{$prefix}table-striped-color: #{color-contrast($striped-bg)}; 15 | --#{$prefix}table-active-bg: #{$active-bg}; 16 | --#{$prefix}table-active-color: #{color-contrast($active-bg)}; 17 | --#{$prefix}table-hover-bg: #{$hover-bg}; 18 | --#{$prefix}table-hover-color: #{color-contrast($hover-bg)}; 19 | 20 | color: var(--#{$prefix}table-color); 21 | border-color: var(--#{$prefix}table-border-color); 22 | } 23 | } 24 | // scss-docs-end table-variant 25 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_text-truncate.scss: -------------------------------------------------------------------------------- 1 | // Text truncate 2 | // Requires inline-block or block for proper styling 3 | 4 | @mixin text-truncate() { 5 | overflow: hidden; 6 | text-overflow: ellipsis; 7 | white-space: nowrap; 8 | } 9 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_transition.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable property-disallowed-list 2 | @mixin transition($transition...) { 3 | @if length($transition) == 0 { 4 | $transition: $transition-base; 5 | } 6 | 7 | @if length($transition) > 1 { 8 | @each $value in $transition { 9 | @if $value == null or $value == none { 10 | @warn "The keyword 'none' or 'null' must be used as a single argument."; 11 | } 12 | } 13 | } 14 | 15 | @if $enable-transitions { 16 | @if nth($transition, 1) != null { 17 | transition: $transition; 18 | } 19 | 20 | @if $enable-reduced-motion and nth($transition, 1) != null and nth($transition, 1) != none { 21 | @media (prefers-reduced-motion: reduce) { 22 | transition: none; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/mixins/_visually-hidden.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // Hide content visually while keeping it accessible to assistive technologies 4 | // 5 | // See: https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/ 6 | // See: https://kittygiraudel.com/2016/10/13/css-hide-and-seek/ 7 | 8 | @mixin visually-hidden() { 9 | position: absolute !important; 10 | width: 1px !important; 11 | height: 1px !important; 12 | padding: 0 !important; 13 | margin: -1px !important; // Fix for https://github.com/twbs/bootstrap/issues/25686 14 | overflow: hidden !important; 15 | clip: rect(0, 0, 0, 0) !important; 16 | white-space: nowrap !important; 17 | border: 0 !important; 18 | } 19 | 20 | // Use to only display content when it's focused, or one of its child elements is focused 21 | // (i.e. when focus is within the element/container that the class was applied to) 22 | // 23 | // Useful for "Skip to main content" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 24 | 25 | @mixin visually-hidden-focusable() { 26 | &:not(:focus):not(:focus-within) { 27 | @include visually-hidden(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/bootstrap/utilities/_api.scss: -------------------------------------------------------------------------------- 1 | // Loop over each breakpoint 2 | @each $breakpoint in map-keys($grid-breakpoints) { 3 | 4 | // Generate media query if needed 5 | @include media-breakpoint-up($breakpoint) { 6 | $infix: breakpoint-infix($breakpoint, $grid-breakpoints); 7 | 8 | // Loop over each utility property 9 | @each $key, $utility in $utilities { 10 | // The utility can be disabled with `false`, thus check if the utility is a map first 11 | // Only proceed if responsive media queries are enabled or if it's the base media query 12 | @if type-of($utility) == "map" and (map-get($utility, responsive) or $infix == "") { 13 | @include generate-utility($utility, $infix); 14 | } 15 | } 16 | } 17 | } 18 | 19 | // RFS rescaling 20 | @media (min-width: $rfs-mq-value) { 21 | @each $breakpoint in map-keys($grid-breakpoints) { 22 | $infix: breakpoint-infix($breakpoint, $grid-breakpoints); 23 | 24 | @if (map-get($grid-breakpoints, $breakpoint) < $rfs-breakpoint) { 25 | // Loop over each utility property 26 | @each $key, $utility in $utilities { 27 | // The utility can be disabled with `false`, thus check if the utility is a map first 28 | // Only proceed if responsive media queries are enabled or if it's the base media query 29 | @if type-of($utility) == "map" and map-get($utility, rfs) and (map-get($utility, responsive) or $infix == "") { 30 | @include generate-utility($utility, $infix, true); 31 | } 32 | } 33 | } 34 | } 35 | } 36 | 37 | 38 | // Print utilities 39 | @media print { 40 | @each $key, $utility in $utilities { 41 | // The utility can be disabled with `false`, thus check if the utility is a map first 42 | // Then check if the utility needs print styles 43 | @if type-of($utility) == "map" and map-get($utility, print) == true { 44 | @include generate-utility($utility, "-print"); 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/cards/card-background.scss: -------------------------------------------------------------------------------- 1 | .card { 2 | &.card-background { 3 | align-items: $card-bg-align-items; 4 | 5 | .full-background { 6 | background-position: $card-full-bg-bg-position; 7 | background-size: $card-full-bg-bg-size; 8 | margin-bottom: $card-full-bg-mb; 9 | width: $card-full-bg-width; 10 | height: $card-full-bg-height; 11 | position: $card-full-bg-position; 12 | border-radius: $card-border-radius; 13 | } 14 | 15 | .card-body { 16 | color: $white; 17 | position: $card-bg-body-position; 18 | z-index: $card-bg-body-z-index; 19 | 20 | .content-center, 21 | .content-left { 22 | min-height: $card-bg-content-min-height; 23 | max-width: $card-bg-content-max-width; 24 | padding-top: $card-bg-content-pt; 25 | padding-bottom: $card-bg-content-pb; 26 | } 27 | .content-center { 28 | text-align: center; 29 | } 30 | &.body-left { 31 | width: $card-bg-body-left-width; 32 | } 33 | 34 | .author { 35 | .name { 36 | span, 37 | .stats { 38 | color: $white; 39 | } 40 | } 41 | } 42 | } 43 | 44 | &:after { 45 | position: $card-bg-filter-position; 46 | top: $card-bg-filter-top; 47 | bottom: $card-bg-filter-bottom; 48 | left: $card-bg-filter-left; 49 | height: $card-bg-filter-height; 50 | width: $card-bg-filter-width; 51 | z-index: $card-bg-filter-z-index; 52 | display: $card-bg-filter-display; 53 | content: $card-bg-filter-content; 54 | background: $card-bg-filter-bg; 55 | border-radius: $card-border-radius; 56 | } 57 | 58 | @each $name, $val in $theme-gradient-colors { 59 | &.card-background-mask-#{$name} { 60 | &:before { 61 | background: $card-bg-filter-mask-bg; 62 | } 63 | 64 | &:after { 65 | @include gradient-directional(nth($val, 1) 0%, nth($val, -1) 100%, $deg: 310deg); 66 | opacity: .85; 67 | } 68 | } 69 | } 70 | 71 | .card-category { 72 | font-size: $font-size-sm; 73 | font-weight: $font-weight-bold; 74 | } 75 | 76 | .card-description { 77 | margin-top: $card-bg-description-margin; 78 | margin-bottom: $card-bg-description-margin; 79 | } 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/custom/_styles.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/scss/soft-ui-dashboard/custom/_styles.scss -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/custom/_variables.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/static/assets/scss/soft-ui-dashboard/custom/_variables.scss -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/forms/_form-check.scss: -------------------------------------------------------------------------------- 1 | .form-check:not(.form-switch) .form-check-input { 2 | &[type="checkbox"], 3 | &[type="radio"] { 4 | border: 1px solid darken($gray-200, 10%); 5 | margin-top: $form-text-margin-top; 6 | position: relative; 7 | 8 | &:checked { 9 | border: 0; 10 | } 11 | } 12 | 13 | &[type="checkbox"] { 14 | &:after { 15 | transition: opacity $form-check-transition-time ease-in-out; 16 | font-family: "FontAwesome"; 17 | content: "\f00c"; 18 | width: 100%; 19 | height: 100%; 20 | color: $form-check-input-checked-color; 21 | position: absolute; 22 | display: flex; 23 | justify-content: center; 24 | align-items: center; 25 | font-size: $font-size-sm - .205; 26 | opacity: 0; 27 | } 28 | 29 | &:checked:after { 30 | opacity: 1; 31 | } 32 | } 33 | 34 | &[type="radio"] { 35 | transition: border 0s; 36 | 37 | &:after { 38 | transition: opacity $form-check-transition-time ease-in-out; 39 | content: ""; 40 | position: absolute; 41 | width: $form-check-radio-after-width; 42 | height: $form-check-radio-after-width; 43 | border-radius: 50%; 44 | background-color: $white; 45 | opacity: 0; 46 | } 47 | 48 | &:checked { 49 | padding: 6px; 50 | } 51 | 52 | &:checked:after { 53 | opacity: 1; 54 | } 55 | } 56 | } 57 | 58 | .form-check-label, 59 | .form-check-input[type="checkbox"] { 60 | cursor: pointer; 61 | } 62 | 63 | .form-check-label{ 64 | font-size:$font-size-sm; 65 | font-weight: $font-weight-normal; 66 | } 67 | 68 | .form-check-input{ 69 | -webkit-appearance: none; 70 | -moz-appearance: none; 71 | appearance: none; 72 | } 73 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/forms/_form-select.scss: -------------------------------------------------------------------------------- 1 | .form-select { 2 | transition: $input-transition; 3 | } 4 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/forms/_form-switch.scss: -------------------------------------------------------------------------------- 1 | .form-switch{ 2 | .form-check-input{ 3 | border: 1px solid $gray-200; 4 | position: relative; 5 | background-color: rgba($dark-gradient-state, .1); 6 | height: $form-check-input-width + .02; 7 | 8 | &:after { 9 | transition: transform $form-check-transition-time ease-in-out, background-color $form-check-transition-time ease-in-out; 10 | content: ""; 11 | width: $form-switch-check-after-width; 12 | height: $form-switch-check-after-width; 13 | border-radius: 50%; 14 | position: absolute; 15 | background-color: $white; 16 | transform: translateX($form-switch-translate-x-start); 17 | box-shadow: $form-switch-round-box-shadow; 18 | top: 1px; 19 | } 20 | 21 | &:checked:after { 22 | transform: translateX($form-switch-translate-x-end); 23 | } 24 | 25 | &:checked { 26 | border-color: rgba($dark-gradient-state, .95); 27 | background-color: rgba($dark-gradient-state, .95); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/forms/_forms.scss: -------------------------------------------------------------------------------- 1 | @import 'input-group'; 2 | @import 'form-check'; 3 | @import 'form-switch'; 4 | @import 'form-select'; 5 | @import 'labels'; 6 | @import 'inputs'; 7 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/forms/_input-group.scss: -------------------------------------------------------------------------------- 1 | .input-group { 2 | @include border-radius($input-border-radius, 0); 3 | 4 | &, 5 | .input-group-text { 6 | transition: $input-transition; 7 | } 8 | 9 | & > :not(:first-child):not(.dropdown-menu) { 10 | margin-left: 0; 11 | } 12 | 13 | .form-control { 14 | &:focus { 15 | border-left: $input-border-width solid $input-focus-border-color !important; 16 | border-right: $input-border-width solid $input-focus-border-color !important; 17 | } 18 | 19 | &:not(:first-child) { 20 | border-left: 0; 21 | padding-left: 0; 22 | } 23 | &:not(:last-child) { 24 | border-right: 0; 25 | padding-right: 0; 26 | } 27 | 28 | & + .input-group-text { 29 | position: absolute; 30 | border-left: 0; 31 | border-right: $input-border-width solid $input-border-color; 32 | } 33 | } 34 | 35 | .input-group-text { 36 | border-right: 0; 37 | } 38 | } 39 | 40 | .form-group { 41 | margin-bottom: 1rem; 42 | } 43 | 44 | .input-group-text { 45 | z-index: 9999; 46 | border-right: 0; 47 | padding-left: 10px; 48 | padding-right: 10px; 49 | } 50 | 51 | .form-control { 52 | border-radius: $input-border-radius; 53 | border-top-right-radius: $input-border-radius !important; 54 | border-bottom-right-radius: $input-border-radius !important; 55 | border-left-width: 1px; 56 | } 57 | 58 | .focused { 59 | box-shadow: $input-focus-box-shadow; 60 | transition: $input-transition; 61 | 62 | .form-control { 63 | &:focus { 64 | box-shadow: none; 65 | } 66 | + .input-group-text { 67 | border-color: $input-focus-border-color; 68 | border-right: $input-border-width solid $input-focus-border-color !important; 69 | } 70 | } 71 | .input-group-text { 72 | border-color: $input-focus-border-color; 73 | } 74 | } -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/forms/_inputs.scss: -------------------------------------------------------------------------------- 1 | .form-control{ 2 | &.is-invalid{ 3 | &:focus{ 4 | box-shadow: 0 0 0 2px rgba($form-feedback-invalid-color, .6); 5 | } 6 | } 7 | 8 | &.is-valid{ 9 | &:focus{ 10 | box-shadow: 0 0 0 2px rgba($form-feedback-valid-color, .65); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/forms/_labels.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Labels 3 | // 4 | 5 | label, 6 | .form-label { 7 | font-size: $form-label-font-size; 8 | font-weight: $form-label-font-weight; 9 | margin-bottom: $form-label-margin-bottom; 10 | color: $form-label-color; 11 | margin-left: $form-label-margin-left; 12 | } 13 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/mixins/_badge.scss: -------------------------------------------------------------------------------- 1 | @mixin badge-variant($bg) { 2 | color: saturate(darken($bg, 10%), 10); 3 | background-color: lighten($bg, 32%); 4 | 5 | &[href] { 6 | @include hover-focus { 7 | color: color-yiq($bg); 8 | text-decoration: none; 9 | background-color: darken($bg, 12%); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/mixins/_colored-shadows.scss: -------------------------------------------------------------------------------- 1 | @mixin shadow-big-color($color){ 2 | // new box shadow optimized for Tablets and Phones 3 | box-shadow: 0 4px 20px 0px rgba(0, 0, 0, .14), 4 | 0 7px 10px -5px rgba($color, 0.4) 5 | } 6 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/mixins/_hover.scss: -------------------------------------------------------------------------------- 1 | 2 | @mixin hover() { 3 | &:hover { @content; } 4 | } 5 | 6 | @mixin hover-focus() { 7 | &:hover, 8 | &:focus { 9 | @content; 10 | } 11 | } 12 | 13 | @mixin plain-hover-focus() { 14 | &, 15 | &:hover, 16 | &:focus { 17 | @content; 18 | } 19 | } 20 | 21 | @mixin hover-focus-active() { 22 | &:hover, 23 | &:focus, 24 | &:active { 25 | @content; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/mixins/_social-buttons.scss: -------------------------------------------------------------------------------- 1 | // for social buttons 2 | @mixin social-buttons-color ($color, $state-color) { 3 | background-color: $color; 4 | color: $white; 5 | 6 | &:focus, 7 | &:hover { 8 | background-color: $state-color; 9 | color: $white; 10 | } 11 | &:active, 12 | &:focus, 13 | &:active:focus { 14 | box-shadow: none; 15 | } 16 | 17 | &.btn-simple { 18 | color: $state-color; 19 | background-color: transparent; 20 | background-image: none !important; 21 | box-shadow: none; 22 | border: none; 23 | 24 | &:hover, 25 | &:focus, 26 | &:hover:focus, 27 | &:active, 28 | &:hover:focus:active { 29 | color: $state-color; 30 | background: transparent !important; 31 | box-shadow: none !important; 32 | } 33 | } 34 | 35 | 36 | &.btn-neutral { 37 | color: $color; 38 | background-color: $white; 39 | 40 | &:hover, 41 | &:focus, 42 | &:active { 43 | color: $state-color; 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/mixins/mixins.scss: -------------------------------------------------------------------------------- 1 | @import "badge"; 2 | @import "hover"; 3 | @import "colored-shadows"; 4 | @import "social-buttons"; 5 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/plugins/free/plugins.scss: -------------------------------------------------------------------------------- 1 | @import "flatpickr"; 2 | @import "nouislider"; 3 | @import "prism"; 4 | @import "perfect-scrollbar"; 5 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/theme.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | 3 | ========================================================= 4 | * Soft UI Dashboard - v1.0.5 5 | ========================================================= 6 | 7 | * Product Page: https://www.creative-tim.com/product/soft-ui-dashboard 8 | * Copyright 2022 Creative Tim (https://www.creative-tim.com) 9 | * Licensed under MIT (site.license) 10 | 11 | * Coded by www.creative-tim.com 12 | 13 | ========================================================= 14 | 15 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 16 | 17 | */ 18 | 19 | // {{ site.product.name }} components 20 | 21 | // Variables 22 | @import "variables/navbar-vertical"; 23 | @import "variables/social-buttons"; 24 | @import "variables/breadcrumb"; 25 | 26 | // Mixin 27 | @import "mixins/mixins"; 28 | 29 | // Core Components - extra styling 30 | @import "alert"; 31 | @import "avatars"; 32 | @import "badge"; 33 | @import "buttons"; 34 | @import "breadcrumbs"; 35 | @import "cards"; 36 | @import "dropdown"; 37 | @import "dropup"; 38 | @import "header"; 39 | @import "fixed-plugin"; 40 | @import "forms/forms"; 41 | @import "footer"; 42 | @import "gradients"; 43 | @import "info-areas"; 44 | @import "misc"; 45 | @import "navbar"; 46 | @import "navbar-vertical"; 47 | @import "nav"; 48 | @import "pagination"; 49 | @import "popovers"; 50 | @import "progress"; 51 | @import "rtl"; 52 | @import "social-buttons"; 53 | @import "tables"; 54 | @import "timeline"; 55 | @import "tilt"; 56 | @import "tooltips"; 57 | @import "typography"; 58 | 59 | // Plugins 60 | @import "plugins/free/plugins"; 61 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_animations.scss: -------------------------------------------------------------------------------- 1 | // Waves Animation & Styling 2 | 3 | $waves-position: relative !default; 4 | $waves-width: 100% !default; 5 | $waves-height: 16vh !default; 6 | $waves-min-height: 100px !default; 7 | $waves-max-height: 150px !default; 8 | $waves-margin-bottom: -7px !default; 9 | $waves-height-sm: 50px !default; 10 | $waves-min-height-sm: $waves-height-sm !default; 11 | $waves-rotate: rotate(180deg) !default; 12 | $waves-mobile-height: 40px !default; 13 | 14 | $moving-waves-keyframe-0: translate3d(-90px,0,0) !default; 15 | $moving-waves-keyframe-100: translate3d(85px,0,0) !default; 16 | $moving-waves-animation: move-forever 40s cubic-bezier(.55,.5,.45,.5) infinite !default; 17 | $moving-waves-child-1-delay: -2s !default; 18 | $moving-waves-child-1-duration: 11s !default; 19 | $moving-waves-child-2-delay: -4s !default; 20 | $moving-waves-child-2-duration: 13s !default; 21 | $moving-waves-child-3-delay: -3s !default; 22 | $moving-waves-child-3-duration: 15s !default; 23 | $moving-waves-child-4-delay: -4s !default; 24 | $moving-waves-child-4-duration: 20s !default; 25 | $moving-waves-child-5-delay: -4s !default; 26 | $moving-waves-child-5-duration: 25s !default; 27 | $moving-waves-child-6-delay: -3s !default; 28 | $moving-waves-child-6-duration: 30s !default; 29 | 30 | // Fade In 31 | 32 | $fade-in-animation-name: fadeInBottom !default; 33 | $fade-in-animation-top-name: fadeInTop !default; 34 | $fade-in-bottom-transform: translateY(100%) !default; 35 | $fade-in-top-transform: translateY(-100%) !default; 36 | 37 | 38 | $fade-in-1-animation-duration: 1.5s !default; 39 | $fade-in-2-animation-duration: 1.75s !default; 40 | $fade-in-3-animation-duration: 2s !default; 41 | $fade-in-4-animation-duration: 2.25s !default; 42 | $fade-in-5-animation-duration: 2.5s !default; 43 | 44 | 45 | $floating-man-width: 350px !default; 46 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_avatars.scss: -------------------------------------------------------------------------------- 1 | // Avatar 2 | $avatar-height: 48px !default; 3 | $avatar-width: 48px !default; 4 | 5 | $avatar-xs-height: 24px !default; 6 | $avatar-xs-width: 24px !default; 7 | 8 | $avatar-sm-height: 36px !default; 9 | $avatar-sm-width: 36px !default; 10 | 11 | $avatar-lg-height: 58px !default; 12 | $avatar-lg-width: 58px !default; 13 | 14 | $avatar-xl-height: 74px !default; 15 | $avatar-xl-width: 74px !default; 16 | 17 | $avatar-xxl-height: 110px !default; 18 | $avatar-xxl-width: 110px !default; 19 | 20 | $avatar-font-size: 1rem !default; 21 | $avatar-content-margin: .75rem !default; 22 | 23 | 24 | // Avatar Group 25 | $avatar-group-border: 2px !default; 26 | $avatar-group-zindex: 2 !default; 27 | $avatar-group-zindex-hover: 3 !default; 28 | $avatar-group-double: -1rem !default; 29 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_badge.scss: -------------------------------------------------------------------------------- 1 | // Badge 2 | $badge-sm-padding: .45em .775em !default; 3 | $badge-sm-font-size: .65em !default; 4 | $badge-md-padding: .65em 1em !default; 5 | $badge-lg-padding: .85em 1.375em !default; 6 | $badge-inline-margin-right: .625rem !default; 7 | $badge-inline-span-top: 2px !default; 8 | $badge-btn-margin: .5rem !default; 9 | 10 | // Badge Circle 11 | $badge-circle-border-radius: 50% !default; 12 | $badge-circle-width: 1.25rem !default; 13 | $badge-circle-height: 1.25rem !default; 14 | $badge-circle-font-size: .75rem !default; 15 | $badge-circle-font-weight: 600 !default; 16 | 17 | $badge-circle-md-width: 1.5rem !default; 18 | $badge-circle-md-height: 1.5rem !default; 19 | 20 | $badge-circle-lg-width: 2rem !default; 21 | $badge-circle-lg-height: 2rem !default; 22 | 23 | //Badge Dot 24 | $badge-dot-icon-width: .375rem !default; 25 | $badge-dot-icon-height: .375rem !default; 26 | $badge-dot-icon-radius: 50% !default; 27 | $badge-dot-icon-margin-right: .375rem !default; 28 | 29 | $badge-dot-md-icon-width: .5rem !default; 30 | $badge-dot-md-icon-height: .5rem !default; 31 | 32 | $badge-dot-lg-icon-width: .625rem !default; 33 | $badge-dot-lg-icon-height: .625rem !default; 34 | 35 | //Badge Floating 36 | $badge-floating-top: -50% !default; 37 | $badge-floating-border: 3px !default; 38 | $badge-floating-transform: translate(147%, 50%) !default; 39 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_breadcrumb.scss: -------------------------------------------------------------------------------- 1 | $breadcrumb-dark-bg: $dark !default; 2 | $breadcrumb-dark-color: $gray-100 !default; 3 | $breadcrumb-dark-hover-color: $white !default; 4 | $breadcrumb-dark-active-color: $gray-300 !default; 5 | $breadcrumb-dark-divider-color: $gray-500 !default; 6 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_cards-extend.scss: -------------------------------------------------------------------------------- 1 | // Card Profile 2 | $card-profile-body-text-align: center !default; 3 | $card-profile-body-padding: 1.25rem 2rem !default; 4 | $card-profile-avatar-margin: 0 auto !default; 5 | $card-profile-img-mt: 32px !default; 6 | $card-profile-img-radius: 50% !default; 7 | $card-profile-img-width: 130px !default; 8 | $card-profile-btn-mt: 24px !default; 9 | $card-profile-p-line-height: 1.778 !default; 10 | 11 | // Card Pricing 12 | $card-pricing-body-padding: 2.25rem !default; 13 | $card-pricing-line-height: 1.111 !default; 14 | $card-pricing-title-mb: $card-bg-description-margin !default; 15 | $card-pricing-td-line-height: 1.429 !default; 16 | $card-pricing-icon-height: 4rem !default; 17 | $card-pricing-icon-width: $card-pricing-icon-height !default; 18 | $card-pricing-icon-position: absolute !default; 19 | $card-pricing-icon-top: -22px !default; 20 | $card-pricing-icon-font-size: 1.25rem !default; 21 | $card-pricing-icon-lg-font-size: 1.75rem !default; 22 | $card-pricing-i-padding: 18px !default; 23 | $card-pricing-badge-padding: 5px !default; 24 | $card-pricing-badge-font-size: 6px !default; 25 | $card-pricing-badge-position: relative !default; 26 | $card-pricing-badge-top: -2px !default; 27 | $card-pricing-border-color: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)); 28 | $card-pricing-border-color-dark: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, .4), rgba(0, 0, 0, 0)); 29 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_choices.scss: -------------------------------------------------------------------------------- 1 | $choices-box-shadow: $dropdown-box-shadow !default; 2 | $choices-border-radius: .5rem !default; 3 | $choices-animation: .3s cubic-bezier(.23,1,.32,1) !default; 4 | $choices-transition: $dropdown-transition !default; 5 | $choices-transform: perspective(999px) rotateX(-10deg) translateZ(0) translate3d(0px, 37px, 0px) !important !default; 6 | $choices-transform-show: perspective(999px) rotateX(0deg) translateZ(0) translate3d(0,37px,5px) !important !default; 7 | $choices-padding-y: 1rem !default; 8 | $choices-padding-x: .5rem !default; 9 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_dark-version.scss: -------------------------------------------------------------------------------- 1 | $dark-version-body-color: rgba(255, 255, 255, .8) !default; 2 | $dark-version-bg-color: #141728 !default; 3 | $dark-version-sidenav-bg-color: #111322 !default; 4 | $dark-version-card-bg-color: #111322 !default; 5 | $dark-version-card-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .20), 0 1px 5px 0 rgba(0, 0, 0, .12) !default; 6 | $dark-version-input-bg-image: linear-gradient(0deg, #e91e63 2px, rgba(156, 39, 176, 0) 0), linear-gradient(0deg, rgba(210, 210, 210, .6) 1px, rgba(209, 209, 209, 0) 0) !default; 7 | $dark-version-border-color: rgba(255, 255, 255, .4) !default; 8 | $dark-version-table-color: rgba(255, 255, 255, .6) !default; 9 | $dark-version-caret-sidebar-color: rgba(206, 212, 218, .7) !default; 10 | $dark-nav-link-active-shadow: 0 0 2rem 0 rgba(0, 0, 0, .15) !default; 11 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_fixed-plugin.scss: -------------------------------------------------------------------------------- 1 | $fixed-plugin-bottom: 30px !default; 2 | $fixed-plugin-right: $fixed-plugin-bottom !default; 3 | $fixed-plugin-radius: 50% !default; 4 | $fixed-plugin-box-shadow: $navbar-box-shadow !default; 5 | $fixed-plugin-button-z-index: 990 !default; 6 | $fixed-plugin-card-z-index: 1020 !default; 7 | $fixed-plugin-card-width: 360px !default; 8 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_form-switch.scss: -------------------------------------------------------------------------------- 1 | $slider-dim: 15px !default; 2 | $slider-position: 2px !default; 3 | $moving-circle: translateX(21px) !default; 4 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_full-calendar.scss: -------------------------------------------------------------------------------- 1 | $fc-event-title-padding-y: .2rem !default; 2 | $fc-event-title-padding-x: .3rem !default; 3 | 4 | $fc-daygrid-event-border-radius: .35rem !default; 5 | $fc-theme-standard-dark-border-color: rgba($secondary, .3) !default; 6 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_header.scss: -------------------------------------------------------------------------------- 1 | $page-header-padding: 0 !default; 2 | $page-header-position: relative !default; 3 | $page-header-overflow: hidden !default; 4 | $page-header-display: flex !default; 5 | $page-header-align-items: center !default; 6 | $page-header-bg-size: cover !default; 7 | $page-header-bg-position: 50% !default; 8 | 9 | $mask-position: absolute !default; 10 | $mask-bg-size: cover !default; 11 | $mask-bg-position: center center !default; 12 | $mask-top: 0 !default; 13 | $mask-left: $mask-top !default; 14 | $mask-width: 100% !default; 15 | $mask-height: $mask-width !default; 16 | $mask-opacity: .8 !default; 17 | 18 | $page-header-conteiner-index: 1 !default; 19 | 20 | $header-oblique-img-width: 60% !default; 21 | $header-oblique-img-right: -10rem !default; 22 | $header-oblique-transform: skewX(-10deg) !default; 23 | $header-oblique-overflow: hidden !default; 24 | $header-oblique-img-transform: skewX(10deg) !default; 25 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_info-areas.scss: -------------------------------------------------------------------------------- 1 | $icon-shape-bg-image: linear-gradient(310deg,#7928CA,#FF0080) !default; 2 | $icon-shape-bg-position: center !default; 3 | 4 | $icon-striped-bg-md: 85px !default; 5 | $icon-striped-bg-lg: 111px !default; 6 | $icon-striped-bg-xl: 80px !default; 7 | 8 | $icon-striped-icon-mt: 25% !default; 9 | $icon-striped-icon-ml: -24% !default; 10 | 11 | $icon-shape-icon-opacity: .8 !default; 12 | $info-icon-top: 11px !default; 13 | $info-icon-top-xxs: -4px !default; 14 | $info-icon-top-xs: -4px !default; 15 | $info-icon-top-sm: 2px !default; 16 | $info-icon-top-md: 22% !default; 17 | $info-icon-top-lg: 31% !default; 18 | $info-icon-top-xl: 37% !default; 19 | $info-icon-position: relative !default; 20 | 21 | $icon-xxs-width: 20px !default; 22 | $icon-xxs-height: $icon-xxs-width !default; 23 | $icon-xs-width: 24px !default; 24 | $icon-xs-height: $icon-xs-width !default; 25 | $icon-sm-width: 32px !default; 26 | $icon-sm-height: $icon-sm-width !default; 27 | $icon-md-width: 48px !default; 28 | $icon-md-height: $icon-md-width !default; 29 | $icon-lg-width: 64px !default; 30 | $icon-lg-height: $icon-lg-width !default; 31 | $icon-xl-width: 100px !default; 32 | $icon-xl-height: $icon-xl-width !default; 33 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_misc-extend.scss: -------------------------------------------------------------------------------- 1 | // Text Border 2 | $text-border-bg-color: rgba($secondary,.5) !default; 3 | $text-border-bg-color-before: linear-gradient(90deg,transparent,rgba(117,117,117,.4),rgba(117,117,117,.4)) !default; 4 | $text-border-bg-color-after: linear-gradient(90deg,rgba(117,117,117,.4),rgba(117,117,117,.4),transparent) !default; 5 | $text-border-display: inline-block !default; 6 | $text-border-width: 30% !default; 7 | $text-border-height: 1px !default; 8 | $text-border-position: relative !default; 9 | $text-border-vertical-align: middle !default; 10 | $text-border-before-right: .5em !default; 11 | $text-border-before-ml: -50% !default; 12 | $text-border-after-left: $text-border-before-right !default; 13 | $text-border-after-mr: $text-border-before-ml !default; 14 | 15 | 16 | // Header Shapes 17 | 18 | $shape-1-width: 55% !default; 19 | $shape-1-left: 15% !default; 20 | $shape-2-width: 35% !default; 21 | $shape-2-left: 20% !default; 22 | $shape-3-width: 50% !default; 23 | $shape-3-left: -28rem !default; 24 | 25 | $shape-img-1-right: 7% !default; 26 | $shape-img-1-width: 36% !default; 27 | $shape-img-1-margin-top: 12% !default; 28 | 29 | $shape-img-2-left: 24% !default; 30 | $shape-img-2-width: 27% !default; 31 | $shape-img-2-margin-top: 10% !default; 32 | 33 | // Comming Soon page 34 | 35 | $coming-rotate-transform: rotate(20deg) !default; 36 | 37 | 38 | // Tilt Animation 39 | 40 | $tilt-transform-style: preserve-3d !default; 41 | $tilt-transform-up-transform: translateZ(50px) scale(0.7) !default; 42 | $tilt-transform-up-transition: all 0.5s !default; 43 | 44 | // Round Slider 45 | 46 | $round-slider-m-width: 200px !default; 47 | $round-slider-scale-m-width: 300px !default; 48 | $round-slider-transition: all .5s ease-out 0s !default; 49 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_misc.scss: -------------------------------------------------------------------------------- 1 | // Horizontal Faded Line 2 | $hr-bg: transparent !default; 3 | $hr-transform: rotate(90deg) !default; 4 | $hr-bg-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)) !default; 5 | $hr-bg-dark-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, .4), rgba(0, 0, 0, 0)) !default; 6 | 7 | 8 | // Gradient Animation 9 | $gradient-animation-background: linear-gradient(-45deg, $info-gradient, $danger, $warning, $primary-gradient, $dark) !default; 10 | $gradient-animation-bg-size: 400% 400% !default; 11 | 12 | // Device Wrapper 13 | $device-wrapper-radius: 3.5rem !default; 14 | $device-wrapper-box-shadow: 0 12px 15px rgba(140, 152, 164, 0.1) !default; 15 | $device-wrapper-animation: gradient 10s ease infinite !default; 16 | 17 | 18 | // Nav pills 19 | $nav-pills-link-border-radius: 0.5rem !default; 20 | $nav-pills-link-box-shadow: 0px 1px 5px 1px #ddd !default; 21 | $nav-pills-link-active-padding: 7px 15px !default; 22 | $nav-pills-link-active-margin: 1px !default; 23 | $nav-pills-link-active-animation: .2s ease !default; 24 | 25 | // Table Progress 26 | 27 | $table-progress-width: 120px !default; 28 | $table-progress-height: 3px !default; 29 | $table-progress-margin: 0 !default; 30 | 31 | // Tooltip Arrow 32 | 33 | $tooltip-arrow-left: 1px !default; 34 | $tooltip-arrow-right: $tooltip-arrow-left !default; 35 | 36 | // Footer Link hover animation 37 | 38 | $footer-link-animation: opacity .3 ease !default; 39 | 40 | // Blur background 41 | 42 | $blur-light-background: rgba(255, 255, 255, 0.4) !default; 43 | $blur-dark-background: rgba(0, 0, 0, 0.3) !default; 44 | 45 | // HR w/ opacity 46 | 47 | $hr-bg-color: transparent !default; 48 | $hr-width: 1px !default; 49 | $hr-margin: .75rem 0 !default; 50 | $hr-horizontal-bg-image-light: linear-gradient(to right, rgba(255, 255, 255, 0), white, rgba(255, 255, 255, 0)) !default; 51 | $hr-horizontal-bg-image-gray-light: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, .1), rgba(0, 0, 0, 0)) !default; 52 | $hr-horizontal-bg-image-dark: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, .4), rgba(0, 0, 0, 0)) !default; 53 | $hr-vertical-bg-image-light: linear-gradient(to bottom, rgba(255, 255, 255, 0), white, rgba(255, 255, 255, 0)) !default; 54 | $hr-vertical-bg-image-dark: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .4), rgba(0, 0, 0, 0)) !default; 55 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_navbar.scss: -------------------------------------------------------------------------------- 1 | // Navbar toggler icon on responsive styling 2 | 3 | $navbar-toggler-bar-display: block !default; 4 | $navbar-toggler-bar-position: relative !default; 5 | $navbar-toggler-bar-width: 22px !default; 6 | $navbar-toggler-bar-height: 1px !default; 7 | $navbar-toggler-bar-radius: 1px !default; 8 | $navbar-toggler-bar-transition: all 0.2s !default; 9 | $navbar-toggler-bar-margin-top: 7px !default; 10 | 11 | $navbar-toggler-bar-1-transform: rotate(45deg) !default; 12 | $navbar-toggler-bar-1-transform-origin: 10% 10% !default; 13 | $navbar-toggler-bar-1-margin-top: 4px !default; 14 | $navbar-toggler-bar-2-opacity: 0 !default; 15 | $navbar-toggler-bar-3-transform: rotate(-45deg) !default; 16 | $navbar-toggler-bar-3-transform-origin: 10% 90% !default; 17 | $navbar-toggler-bar-3-margin-top: 3px !default; 18 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_pagination.scss: -------------------------------------------------------------------------------- 1 | // Pagination 2 | 3 | $pagination-active-box-shadow: $btn-hover-box-shadow !default; 4 | 5 | $page-link-display: flex !default; 6 | $page-link-align-items: center !default; 7 | $page-link-justify-content: $page-link-align-items !default; 8 | $page-link-margin: 0 3px !default; 9 | $page-link-radius: 50% !default; 10 | $page-link-width: 36px !default; 11 | $page-link-height: $page-link-width !default; 12 | 13 | $page-link-width-lg: 46px !default; 14 | $page-link-height-lg: $page-link-width-lg !default; 15 | $page-link-line-height-lg: $page-link-width-lg !default; 16 | 17 | $page-link-width-sm: 30px !default; 18 | $page-link-height-sm: $page-link-width-sm !default; 19 | $page-link-line-height-sm: $page-link-width-sm !default; 20 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_rtl.scss: -------------------------------------------------------------------------------- 1 | $timeline-step-transform-rtl: translateX(50%) !default; 2 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_social-buttons.scss: -------------------------------------------------------------------------------- 1 | // Social Buttons 2 | 3 | $facebook: #3b5998 !default; 4 | $facebook-states: darken($facebook, 5%) !default; 5 | $twitter: #55acee !default; 6 | $twitter-states: darken($twitter, 5%) !default; 7 | $instagram: #125688 !default; 8 | $instagram-states: darken($instagram, 6%) !default; 9 | $linkedin: #0077B5 !default; 10 | $linkedin-states: darken($linkedin, 5%) !default; 11 | $pinterest: #cc2127 !default; 12 | $pinterest-states: darken($pinterest, 6%) !default; 13 | $youtube: #e52d27 !default; 14 | $youtube-states: darken($youtube, 6%) !default; 15 | $dribbble: #ea4c89 !default; 16 | $dribbble-states: darken($dribbble, 6%) !default; 17 | $github: #24292E !default; 18 | $github-states: darken($github, 6%) !default; 19 | $reddit: #ff4500 !default; 20 | $reddit-states: darken($reddit, 6%) !default; 21 | $tumblr: #35465c !default; 22 | $tumblr-states: darken($tumblr, 6%) !default; 23 | $behance: #1769ff !default; 24 | $behance-states: darken($behance, 6%) !default; 25 | $vimeo: #1AB7EA !default; 26 | $vimeo-states: darken($vimeo, 6%) !default; 27 | $slack: #3aaf85 !default; 28 | $slack-states: darken($slack, 6%) !default; 29 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_table.scss: -------------------------------------------------------------------------------- 1 | $table-head-spacer-y: .75rem !default; 2 | $table-head-spacer-x: 1rem !default; 3 | $table-head-font-size: .65rem !default; 4 | $table-head-font-weight: $font-weight-bold !default; 5 | $table-head-text-transform: uppercase !default; 6 | $table-head-letter-spacing: 1px !default; 7 | $table-head-bg: $gray-100 !default; 8 | $table-head-color: $gray-600 !default; 9 | $table-action-color: $gray-500 !default; 10 | 11 | $table-body-font-size: .8125rem !default; 12 | 13 | $table-dark-bg: theme-color("default") !default; 14 | $table-dark-accent-bg: rgba($white, .05) !default; 15 | $table-dark-hover-bg: rgba($white, .075) !default; 16 | 17 | $table-dark-head-bg: lighten($dark, 4%) !default; 18 | $table-dark-head-color: lighten($dark, 35%) !default; 19 | $table-dark-action-color: lighten($dark, 35%) !default; 20 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_timeline.scss: -------------------------------------------------------------------------------- 1 | // Timeline 2 | 3 | $timeline-axis-width: 2px !default; 4 | $timeline-axis-color: $border-color !default; 5 | $timeline-left: 1rem !default; 6 | 7 | $timeline-step-bg: $white !default; 8 | $timeline-step-width: 26px !default; 9 | $timeline-step-height: $timeline-step-width !default; 10 | $timeline-step-radius: 50% !default; 11 | $timeline-step-transform: translateX(-50%) !default; 12 | $timeline-step-line-height: 1.4 !default; 13 | 14 | $timeline-step-border-width: 2px !default; 15 | $timeline-step-border-color: $timeline-axis-color !default; 16 | 17 | $timeline-content-margin-left: 45px !default; 18 | $timeline-content-padding-top: .35rem !default; 19 | $timeline-content-top: -6px !default; 20 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_utilities-extend.scss: -------------------------------------------------------------------------------- 1 | // Colores Shadow on cards 2 | $colored-shadow-top: 3.5% !default; 3 | $colored-shadow-blur: 12px !default; 4 | $colored-shadow-scale: .94 !default; 5 | $colored-shadow-scale-avatar: .87 !default; 6 | 7 | // Card Projects 8 | $card-project-transition: .4s cubic-bezier(.215,.61,.355,1) !default; 9 | $card-project-avatar-transform: scale(.8) translateY(-45px) !default; 10 | $card-project-hover-transform: translateY(-2px) !default; 11 | 12 | // Transform Perspective effect 13 | $transform-perspective: scale(1) perspective(1040px) rotateY(-11deg) rotateX(2deg) rotate(2deg) !default; 14 | $transform-perspective-inverse: scale(1) perspective(1040px) rotateY(11deg) rotateX(-2deg) rotate(-2deg) !default; 15 | 16 | // Z index 17 | $z-index2: 2 !default; 18 | 19 | // Width in PX 20 | $width-32-px: 32px !default; 21 | $width-48-px: 48px !default; 22 | $width-64-px: 64px !default; 23 | -------------------------------------------------------------------------------- /apps/static/assets/scss/soft-ui-dashboard/variables/_virtual-reality.scss: -------------------------------------------------------------------------------- 1 | $animation-name: fadeInBottom !default; 2 | $animation-mode: both !default; 3 | $animation-duration: 1.5s !default; 4 | $transform-scale: scale(0.6) !default; 5 | $position-left: 18% !default; 6 | -------------------------------------------------------------------------------- /apps/tasks/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | -------------------------------------------------------------------------------- /apps/tasks/admin.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.contrib import admin 7 | 8 | # Register your models here. 9 | -------------------------------------------------------------------------------- /apps/tasks/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class TasksConfig(AppConfig): 5 | 6 | """ 7 | See https://docs.djangoproject.com/en/2.1/ref/applications/#django.apps.AppConfig 8 | """ 9 | 10 | name = "apps.tasks" 11 | label = "tasks" 12 | verbose_name = "Tasks app" 13 | 14 | def ready(self): 15 | from . import signals 16 | -------------------------------------------------------------------------------- /apps/tasks/config.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.apps import AppConfig 7 | 8 | 9 | class MyConfig(AppConfig): 10 | name = 'apps.tasks' 11 | label = 'apps_tasks' 12 | -------------------------------------------------------------------------------- /apps/tasks/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | -------------------------------------------------------------------------------- /apps/tasks/models.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.db import models 7 | 8 | # Create your models here. 9 | 10 | -------------------------------------------------------------------------------- /apps/tasks/signals.py: -------------------------------------------------------------------------------- 1 | from django_celery_results.models import TaskResult 2 | from django.db.models.signals import post_save, pre_save 3 | from django.dispatch import receiver 4 | from django.conf import settings 5 | import os 6 | import json 7 | 8 | 9 | @receiver(pre_save, sender=TaskResult) 10 | def pre_result_updated(sender, **kwargs): 11 | ''' 12 | Before a task result is saved, the following checks and updates are carried out if task is complete: 13 | - Check if error key & value exist in result.result, if yes upate instance.status=`FAILURE` and instance.traceback=`logs produced during task execution` 14 | ''' 15 | if 'instance' not in kwargs: 16 | return 17 | instance = kwargs.pop("instance") 18 | if instance.status != "STARTED": 19 | result = json.loads(instance.result) 20 | if result.get("error"): 21 | instance.status = "FAILURE" 22 | instance.traceback = result.get("logs") 23 | 24 | 25 | @receiver(post_save, sender=TaskResult) 26 | def post_result_updated(sender, **kwargs): 27 | """ 28 | After a task is completed, we store its logs in a file. 29 | """ 30 | if 'instance' not in kwargs: 31 | return 32 | instance = kwargs.pop("instance") 33 | if instance.status != "STARTED": 34 | add_log(instance) 35 | 36 | 37 | def add_log(result: TaskResult): 38 | """ 39 | Adds log file to celery logs with formatted date as name. 40 | :param result TaskResult: Result of executed celery task 41 | :rtype: None 42 | """ 43 | if not result.task_name: 44 | return 45 | 46 | ''' 47 | _input = json.loads(result.result).get("input") 48 | if _input: 49 | log_file_path = os.path.join( 50 | settings.CELERY_LOGS_DIR, f"{result.date_created.strftime(r'%Y%m%d-%H%M%S')}-{result.task_name}-{_input}-{result.status}-{result.id}.log") 51 | 52 | else: 53 | log_file_path = os.path.join( 54 | settings.CELERY_LOGS_DIR, f"{result.date_created.strftime(r'%Y%m%d-%H%M%S')}-{result.task_name}-{result.status}-{result.id}.log") 55 | ''' 56 | 57 | log_file_path = os.path.join( 58 | settings.CELERY_LOGS_DIR, f"{result.date_created.strftime(r'%Y%m%d-%H_%M')}-{result.task_id}-{result.status}.log") 59 | 60 | with open(log_file_path, "w+") as f: 61 | if result.status == "FAILURE": 62 | f.writelines([result.result, result.traceback]) 63 | else: 64 | f.write(result.result) 65 | 66 | f.close() 67 | -------------------------------------------------------------------------------- /apps/tasks/tasks.py: -------------------------------------------------------------------------------- 1 | 2 | import os 3 | from core.celery import app 4 | from celery.contrib.abortable import AbortableTask 5 | import subprocess 6 | from django.contrib.auth.models import User 7 | import time 8 | from django.conf import settings 9 | from os import listdir 10 | from os.path import isfile, join 11 | 12 | def get_scripts(): 13 | """ 14 | Returns all scripts from 'ROOT_DIR/celery_scripts' 15 | """ 16 | return [f for f in listdir(settings.CELERY_SCRIPTS_DIR) if isfile(join(settings.CELERY_SCRIPTS_DIR, f))] 17 | 18 | @app.task(bind=True, base=AbortableTask) 19 | def users_in_db(self, data: dict): 20 | """ 21 | Outputs all users in DB 22 | :param data dict: contains data needed for task execution. 23 | :rtype: None 24 | """ 25 | users = User.objects.all() 26 | return {"output": "\n".join([u.email for u in users])} 27 | 28 | @app.task(bind=True, base=AbortableTask) 29 | def execute_script(self, data: dict): 30 | """ 31 | This task executes scripts found in settings.CELERY_SCRIPTS_DIR and logs are later generated and stored in settings.CELERY_LOGS_DIR 32 | :param data dict: contains data needed for task execution. Example `input` which is the script to be executed. 33 | :rtype: None 34 | """ 35 | script = data.get("input") 36 | if script and script in get_scripts(): 37 | # Executing related script 38 | script_path = os.path.join(settings.CELERY_SCRIPTS_DIR, script) 39 | process = subprocess.Popen( 40 | f"python {script_path}", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 41 | time.sleep(8) 42 | error = False 43 | if process.wait() == 0: # If script execution successfull 44 | logs = process.stdout.read().decode() 45 | else: 46 | logs = process.stderr.read().decode() 47 | error = True 48 | 49 | return {"logs": logs, "input": script, "error": error, "output": ""} 50 | -------------------------------------------------------------------------------- /apps/tasks/templatetags/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/tasks/templatetags/__init__.py -------------------------------------------------------------------------------- /apps/tasks/templatetags/formats.py: -------------------------------------------------------------------------------- 1 | from django import template 2 | import json 3 | 4 | register = template.Library() 5 | 6 | 7 | def date_format(date): 8 | """ 9 | Returns a formatted date string 10 | Format: `Year-Month-Day-Hour-Minute-Second` 11 | Example: `2022-10-10-00-20-33` 12 | :param date datetime: Date object to be formatted 13 | :rtype: str 14 | """ 15 | try: 16 | return date.strftime(r'%Y-%m-%d-%H-%M-%S') 17 | except: 18 | return date 19 | 20 | 21 | register.filter("date_format", date_format) 22 | 23 | 24 | def get_result_field(result, field: str): 25 | """ 26 | Returns a field from the content of the result attibute in result 27 | Example: `result.result['field']` 28 | :param result AbortableAsyncResult: Result object to get field from 29 | :param field str: Field to return from result object 30 | :rtype: str 31 | """ 32 | result = json.loads(result.result) 33 | if result: 34 | return result.get(field) 35 | 36 | 37 | register.filter("get_result_field", get_result_field) 38 | -------------------------------------------------------------------------------- /apps/tasks/tests.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.test import TestCase 7 | 8 | # Create your tests here. 9 | -------------------------------------------------------------------------------- /apps/tasks/urls.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.urls import path, re_path 7 | from apps.tasks import views 8 | 9 | urlpatterns = [ 10 | path('tasks', views.tasks, name="tasks"), 11 | path('tasks/run/', views.run_task, name="run-task"), 12 | path('tasks/cancel/', views.cancel_task, name="cancel-task"), 13 | path('tasks/output/', views.task_output, name="task-output"), 14 | path('tasks/log/' , views.task_log, name="task-log"), 15 | ] -------------------------------------------------------------------------------- /apps/templates/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/templates/.gitkeep -------------------------------------------------------------------------------- /apps/templates/home/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/templates/home/.gitkeep -------------------------------------------------------------------------------- /apps/templates/home/page-403.html: -------------------------------------------------------------------------------- 1 | {% extends 'layouts/base-fullscreen.html' %} 2 | 3 | {% block title %} Error 403 {% endblock title %} 4 | 5 | 6 | {% block stylesheets %}{% endblock stylesheets %} 7 | 8 | {% block content %} 9 | 10 |
11 | 12 | 46 | 47 |
48 | 49 | {% endblock content %} 50 | 51 | 52 | {% block javascripts %}{% endblock javascripts %} 53 | -------------------------------------------------------------------------------- /apps/templates/home/page-404.html: -------------------------------------------------------------------------------- 1 | {% extends 'layouts/base-fullscreen.html' %} 2 | 3 | {% block title %} Error 404 {% endblock title %} 4 | 5 | 6 | {% block stylesheets %}{% endblock stylesheets %} 7 | 8 | {% block content %} 9 | 10 |
11 | 12 | 48 | 49 |
50 | 51 | {% endblock content %} 52 | 53 | 54 | {% block javascripts %}{% endblock javascripts %} 55 | -------------------------------------------------------------------------------- /apps/templates/home/page-500.html: -------------------------------------------------------------------------------- 1 | {% extends 'layouts/base-fullscreen.html' %} 2 | 3 | {% block title %} Error 404 {% endblock title %} 4 | 5 | 6 | {% block stylesheets %}{% endblock stylesheets %} 7 | 8 | {% block content %} 9 | 10 |
11 | 12 | 48 | 49 |
50 | 51 | {% endblock content %} 52 | 53 | 54 | {% block javascripts %}{% endblock javascripts %} 55 | -------------------------------------------------------------------------------- /apps/templates/includes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/templates/includes/.gitkeep -------------------------------------------------------------------------------- /apps/templates/includes/footer-fullscreen.html: -------------------------------------------------------------------------------- 1 | 42 | -------------------------------------------------------------------------------- /apps/templates/includes/footer-rtl.html: -------------------------------------------------------------------------------- 1 | 25 | -------------------------------------------------------------------------------- /apps/templates/includes/footer.html: -------------------------------------------------------------------------------- 1 | 22 | -------------------------------------------------------------------------------- /apps/templates/includes/navigation-fullscreen.html: -------------------------------------------------------------------------------- 1 | 2 | 48 | 49 | -------------------------------------------------------------------------------- /apps/templates/includes/scripts.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /apps/templates/layouts/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/apps/templates/layouts/.gitkeep -------------------------------------------------------------------------------- /celery_logs/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/celery_logs/.gitkeep -------------------------------------------------------------------------------- /celery_scripts/check-db-health.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | import os 7 | import sys 8 | 9 | def main(): 10 | 11 | try: 12 | 13 | print(' EXEC -> ' + os.path.basename(__file__)) 14 | 15 | # Unix ErrCode 16 | exit(0) 17 | 18 | except Exception as e: 19 | 20 | print( 'Err: ' + str( e ) ) 21 | exit(1) 22 | 23 | if __name__ == '__main__': 24 | main() 25 | -------------------------------------------------------------------------------- /celery_scripts/check-disk-free.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | import os 7 | import sys 8 | 9 | def main(): 10 | 11 | try: 12 | 13 | print(' EXEC -> ' + os.path.basename(__file__)) 14 | 15 | # Unix ErrCode 16 | exit(0) 17 | 18 | except Exception as e: 19 | 20 | print( 'Err: ' + str( e ) ) 21 | exit(1) 22 | 23 | if __name__ == '__main__': 24 | main() 25 | -------------------------------------------------------------------------------- /celery_scripts/clean-database.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | import os 7 | import sys 8 | 9 | def main(): 10 | 11 | try: 12 | 13 | print(' EXEC -> ' + os.path.basename(__file__)) 14 | 15 | # Unix ErrCode 16 | exit(0) 17 | 18 | except Exception as e: 19 | 20 | print( 'Err: ' + str( e ) ) 21 | exit(1) 22 | 23 | if __name__ == '__main__': 24 | main() 25 | -------------------------------------------------------------------------------- /core/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | # This will make sure the app is always imported when 7 | # Django starts so that shared_task will use this app. 8 | from .celery import app as celery_app 9 | 10 | __all__ = ('celery_app',) 11 | -------------------------------------------------------------------------------- /core/asgi.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | import os 7 | 8 | from django.core.asgi import get_asgi_application 9 | 10 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings') 11 | 12 | application = get_asgi_application() 13 | -------------------------------------------------------------------------------- /core/celery.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | from celery import Celery 4 | 5 | # Set the default Django settings module for the 'celery' program. 6 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings') 7 | 8 | app = Celery('core') 9 | 10 | # Using a string here means the worker doesn't have to serialize 11 | # the configuration object to child processes. 12 | # - namespace='CELERY' means all celery-related configuration keys 13 | # should have a `CELERY_` prefix. 14 | app.config_from_object('django.conf:settings', namespace='CELERY') 15 | 16 | # Load task modules from all registered Django apps. 17 | app.autodiscover_tasks() -------------------------------------------------------------------------------- /core/staticfiles/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/core/staticfiles/.gitkeep -------------------------------------------------------------------------------- /core/urls.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | from django.contrib import admin 7 | from django.urls import path, include # add this 8 | 9 | urlpatterns = [ 10 | path('admin/', admin.site.urls), # Django admin route 11 | path("", include("apps.authentication.urls")), # Auth routes - login / register 12 | 13 | # ADD NEW Routes HERE 14 | path("", include("apps.tasks.urls")), # Tasks Routes 15 | 16 | # Leave `Home.Urls` as last the last line 17 | path("", include("apps.home.urls")) 18 | ] 19 | -------------------------------------------------------------------------------- /core/wsgi.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | import os 7 | 8 | from django.core.wsgi import get_wsgi_application 9 | 10 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings') 11 | 12 | application = get_wsgi_application() 13 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: "3.8" 2 | services: 3 | appseed-app: 4 | container_name: appseed_app 5 | restart: always 6 | env_file: .env 7 | environment: 8 | - CELERY_BROKER=redis://redis:6379 9 | - CELERY_BACKEND=redis://redis:6379 10 | build: . 11 | volumes: 12 | - .:/app 13 | networks: 14 | - db_network 15 | - web_network 16 | 17 | nginx: 18 | container_name: nginx 19 | restart: always 20 | image: "nginx:latest" 21 | ports: 22 | - "5085:5085" 23 | volumes: 24 | - ./nginx:/etc/nginx/conf.d 25 | networks: 26 | - web_network 27 | depends_on: 28 | - appseed-app 29 | celery: 30 | build: . 31 | command: celery --app=core worker -E 32 | env_file: .env 33 | environment: 34 | - CELERY_BROKER=redis://redis:6379 35 | - CELERY_BACKEND=redis://redis:6379 36 | volumes: 37 | - .:/app 38 | depends_on: 39 | - redis 40 | networks: 41 | - web_network 42 | 43 | redis: 44 | image: redis:6-alpine 45 | restart: always 46 | ports: 47 | - "6379:6379" 48 | command: redis-server --save 20 1 --loglevel warning 49 | networks: 50 | - web_network 51 | networks: 52 | db_network: 53 | driver: bridge 54 | web_network: 55 | driver: bridge 56 | -------------------------------------------------------------------------------- /env.sample: -------------------------------------------------------------------------------- 1 | DEBUG=True 2 | 3 | # Deployment SERVER address 4 | SERVER=.appseed.us 5 | 6 | # For MySql Persistence 7 | DB_ENGINE=mysql 8 | DB_NAME=appseed_db 9 | DB_HOST=localhost 10 | DB_PORT=3306 11 | DB_USERNAME=appseed_db_usr 12 | DB_PASS= 13 | -------------------------------------------------------------------------------- /gunicorn-cfg.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | bind = '0.0.0.0:5005' 7 | workers = 1 8 | accesslog = '-' 9 | loglevel = 'debug' 10 | capture_output = True 11 | enable_stdio_inheritance = True 12 | -------------------------------------------------------------------------------- /log.json: -------------------------------------------------------------------------------- 1 | { 2 | "backend": "django", 3 | "db_name": "", 4 | "db_pass": "", 5 | "db_type": "sqlite", 6 | "db_user": "", 7 | "dbms": "1", 8 | "description": "generated product", 9 | "design": "soft-ui-dashboard", 10 | "docker": "1", 11 | "err_code": 0, 12 | "frontend": "", 13 | "heroku": "0", 14 | "pattern": "mvc", 15 | "pro": "0", 16 | "task_id": "629b8855-bf9b-4a97-b2f6-bd6218a3cb3d", 17 | "task_info": "Task is running", 18 | "task_result": "SUCCESS", 19 | "task_state": "RUNNING", 20 | "task_ts_end": "2022-10-03-15-29-24", 21 | "task_ts_start": "2022-10-03-15-29-24" 22 | } -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | """ 3 | Copyright (c) 2019 - present AppSeed.us 4 | """ 5 | 6 | import os 7 | import sys 8 | 9 | def main(): 10 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings') 11 | try: 12 | from django.core.management import execute_from_command_line 13 | except ImportError as exc: 14 | raise ImportError( 15 | "Couldn't import Django. Are you sure it's installed and " 16 | "available on your PYTHONPATH environment variable? Did you " 17 | "forget to activate a virtual environment?" 18 | ) from exc 19 | execute_from_command_line(sys.argv) 20 | 21 | if __name__ == '__main__': 22 | main() 23 | -------------------------------------------------------------------------------- /nginx/appseed-app.conf: -------------------------------------------------------------------------------- 1 | upstream webapp { 2 | server appseed_app:5005; 3 | } 4 | 5 | server { 6 | listen 5085; 7 | server_name localhost; 8 | 9 | location / { 10 | proxy_pass http://webapp; 11 | proxy_set_header Host $host; 12 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "boilerplate-code-django-dashboard", 3 | "mastertemplate": "boilerplate-code-django-dashboard", 4 | "version": "2stable.0.1", 5 | "description": "Template project - Django Boilerplate Code", 6 | "scripts": {}, 7 | "repository": { 8 | "type": "git", 9 | "url": "https://github.com/app-generator/boilerplate-code-django-dashboard" 10 | }, 11 | "bugs": { 12 | "url": "https://github.com/app-generator/boilerplate-code-django-dashboard/issues", 13 | "email": "support@appseed.us" 14 | }, 15 | "author": "AppSeed App Generator (https://appseed.us)", 16 | "engines": { 17 | "node": ">=10.0.0" 18 | }, 19 | "dependencies": {}, 20 | "devDependencies": {} 21 | } -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | Django==3.2.13 2 | asgiref==3.4.1 3 | autopep8==1.6.0 4 | dj-database-url==0.5.0 5 | gunicorn==20.1.0 6 | pycodestyle==2.8.0 7 | pytz==2021.3 8 | sqlparse==0.4.2 9 | toml==0.10.2 10 | whitenoise==5.3.0 11 | django-environ==0.8.1 12 | django-celery-results==2.4.0 13 | celery 14 | redis==4.3.4 15 | hiredis==2.0.0 -------------------------------------------------------------------------------- /staticfiles/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/app-generator/sample-django-celery/4aff170261ef93de951d44a8d5e61ec7e95c5ad7/staticfiles/.gitkeep --------------------------------------------------------------------------------