# Generated by Django 4.2.29 on 2026-03-21 00:56

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('aa_customizer', '0002_url_fields_css_html'),
    ]

    operations = [
        migrations.AlterField(
            model_name='custombranding',
            name='custom_css',
            field=models.TextField(blank=True, help_text="CSS injected into every page via an inline <style> block, loaded after the active theme so it can override any style. Works alongside Alliance Auth's built-in Custom CSS admin.", verbose_name='Custom CSS'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='custom_css_url',
            field=models.URLField(blank=True, help_text='URL of an external CSS stylesheet linked in every page <head> (e.g. a CDN-hosted custom theme file). Loaded after the active AA theme.', verbose_name='Custom CSS — URL'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='favicon',
            field=models.ImageField(blank=True, help_text='Upload a custom favicon. Recommended: PNG or ICO, at least 192×192 px. Ignored when a URL is also provided.', null=True, upload_to='aa_customizer/icons/', verbose_name='Favicon — Upload'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='head_extra_html',
            field=models.TextField(blank=True, help_text='Raw HTML injected at the very end of <head> on every page. Useful for analytics scripts, font imports, or custom meta tags. Only editable by admins — content is rendered without sanitization.', verbose_name='Extra <head> HTML'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='login_background',
            field=models.ImageField(blank=True, help_text='Upload a background image for the login page. Recommended: at least 1920×1080 px, JPEG or PNG. Ignored when a URL is also provided.', null=True, upload_to='aa_customizer/backgrounds/', verbose_name='Login Background — Upload'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='login_background_color',
            field=models.CharField(blank=True, help_text='Fallback CSS background color used when neither an image URL nor an uploaded file is set (e.g. #1a1a2e or rgba(26,26,46,1)).', max_length=30, verbose_name='Login Background Color'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='login_extra_html',
            field=models.TextField(blank=True, help_text='Raw HTML injected below the EVE SSO button on the login card. Useful for custom notices, Discord invite buttons, or extra links. Only editable by admins — content is rendered without sanitization.', verbose_name='Login Page Extra HTML'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='login_logo',
            field=models.ImageField(blank=True, help_text='Upload a logo to display at the top of the login card. Recommended: transparent PNG, at least 256×256 px. Ignored when a URL is also provided.', null=True, upload_to='aa_customizer/logos/', verbose_name='Login Logo — Upload'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='login_logo_max_width',
            field=models.PositiveSmallIntegerField(default=200, help_text='Maximum display width of the login logo in pixels.', verbose_name='Login Logo Max Width (px)'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='login_subtitle',
            field=models.TextField(blank=True, help_text='Optional description text shown below the title.', verbose_name='Login Page Subtitle'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='login_title',
            field=models.CharField(blank=True, help_text='Custom heading shown on the login card above the SSO button.', max_length=200, verbose_name='Login Page Title'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='navbar_logo',
            field=models.ImageField(blank=True, help_text='Upload a logo for the top navigation bar. Recommended: transparent PNG. Ignored when a URL is also provided.', null=True, upload_to='aa_customizer/logos/', verbose_name='Navbar Logo — Upload'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='site_name',
            field=models.CharField(blank=True, help_text='Override the site name shown in the browser title, navbar, and login page. Leave blank to use the value from your local.py settings.', max_length=100, verbose_name='Site Name'),
        ),
    ]
