{% load adminlte_tags static %}
{% block styles %}
{% block styles_main %}
{# if in debug mode, load resources from localhost. Else, load from CDNs #}
{% if debug %}
{% block styles_debug %}
{% include 'adminlte2/partials/_styles/_styles_debug.html' %}
{% endblock styles_debug %}
{% else %}
{% block styles_prod %}
{% include 'adminlte2/partials/_styles/_styles_prod.html' %}
{% endblock styles_prod %}
{% endif %}
{% endblock styles_main %}
{% block styles_main_fixes %}
{% block styles_main_fixes__color_variables %}
{# Section where color variables are defined. These are used in the below "extra-colors.css". #}
{% endblock styles_main_fixes__color_variables %}
{% block styles_main_fixes__extra_colors %}
{# Color classes for every color on every AdminLte2 component, using the above `color-variables.css`. #}
{# Includes the classes AdminLte2 and Bootstrap define, with their stock look, so they use the variables too. #}
{# Loaded before dark mode, so the dark skins still restyle these classes. #}
{% endblock styles_main_fixes__extra_colors %}
{% block styles_main_fixes__consistent_colors %}
{# With ADMINLTE2_CONSISTENT_COLORS, classes that keep Bootstrap's shades or AdminLte2's other default gray #}
{# use their color's AdminLte2 shades instead. #}
{% get_consistent_colors as consistent_colors %}
{% if consistent_colors %}
{% endif %}
{% endblock styles_main_fixes__consistent_colors %}
{% block styles_main_fixes__extra_features %}
{# Additional features and logic to make the CSS work. #}
{# Mostly includes compatability fixes between Django and AdminLte2. In rare cases, also contains more modern #}
{# CSS classes and features, such as basic flexbox classes. #}
{% endblock styles_main_fixes__extra_features %}
{% block styles_main_fixes__dark_mode %}
{# Only applies under a skin-{color}-dark body class. Always loaded, so a page can switch skins at runtime. #}
{% endblock styles_main_fixes__dark_mode %}
{% endblock styles_main_fixes %}
{% block styles_main_extra %}
{% endblock styles_main_extra %}
{% endblock styles %}