Ticket #34592: admin_css.diff

File admin_css.diff, 1.5 KB (added by minusf, 18 months ago)
  • django/contrib/admin/static/admin/css/base.css

    diff --git a/django/contrib/admin/static/admin/css/base.css b/django/contrib/admin/static/admin/css/base.css
    index 2a2d6f8f5d..ec2c8e34d0 100644
    a b html[data-theme="light"],  
    5656    --object-tools-hover-bg: var(--close-button-hover-bg);
    5757
    5858    --font-family-primary:
    59         -apple-system,
    60         BlinkMacSystemFont,
    6159        "Segoe UI",
    6260        system-ui,
    6361        Roboto,
  • django/views/templates/default_urlconf.html

    diff --git a/django/views/templates/default_urlconf.html b/django/views/templates/default_urlconf.html
    index c54ce842d1..6bb170cc67 100644
    a b  
    1919          body {
    2020            max-width: 960px;
    2121            color: #525252;
    22             font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", ui-system, sans-serif;
     22            font-family: "Segoe UI", system-ui, sans-serif;
    2323            margin: 0 auto;
    2424          }
    2525          main {
  • tests/admin_views/tests.py

    diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py
    index 903a8996d4..0a252bac4f 100644
    a b class SeleniumTests(AdminSeleniumTestCase):  
    62096209        self.assertEqual(
    62106210            fonts,
    62116211            [
    6212                 "-apple-system",
    6213                 "BlinkMacSystemFont",
    62146212                "Segoe UI",
    62156213                "system-ui",
    62166214                "Roboto",
Back to Top