diff --git a/admin_extended/static/admin_extended/css/extended.css b/admin_extended/static/admin_extended/css/extended.css index 0f7eae9..bc7290b 100644 --- a/admin_extended/static/admin_extended/css/extended.css +++ b/admin_extended/static/admin_extended/css/extended.css @@ -144,7 +144,7 @@ table#result_list .field-id { #nav-filter { height: 35px; margin-top: 10px; - border-radius: 3px; + /* border-radius: 3px; */ /* background-color: var(--primary); */ border: none; } diff --git a/admin_extended/static/admin_extended/css/jquery-ui.css b/admin_extended/static/admin_extended/css/jquery-ui.css index f0b858c..76731a8 100644 --- a/admin_extended/static/admin_extended/css/jquery-ui.css +++ b/admin_extended/static/admin_extended/css/jquery-ui.css @@ -45,7 +45,7 @@ a.ui-button:active, a:link.ui-button, a:visited.ui-button, .ui-button { - color: var(--body-fg) !important; + color: #f1f1f1 !important; } .ui-widget-content a { diff --git a/admin_extended/static/admin_extended/css/theme.css b/admin_extended/static/admin_extended/css/theme.css index 3755bef..61ca80c 100644 --- a/admin_extended/static/admin_extended/css/theme.css +++ b/admin_extended/static/admin_extended/css/theme.css @@ -1,15 +1,4 @@ -/* html[data-theme="light"] { - #nav-sidebar tr a{ - color: #f8f8f8 - } - - - div.breadcrumbs { - background-color: var(--primary); - } -} */ - - +/* Dark theme */ html[data-theme="dark"] { --header-bg: #252525; --breadcrumbs-bg: #323435; @@ -25,16 +14,37 @@ html[data-theme="dark"] { } } - +/* Light theme */ html[data-theme="light"] { - #nav-sidebar tr th a:link, #nav-sidebar tr th a:visited { - color: #89d8ff; + --breadcrumbs-bg: #255a73; + + #nav-sidebar tr th a:link, + #nav-sidebar tr th a:visited { + color: #fff; + } + + #nav-sidebar .current-model { + background: var(--breadcrumbs-bg); } + + #nav-sidebar .addlink { + color: #fff; + } + } @media (prefers-color-scheme: light) { - #nav-sidebar tr th a:link, #nav-sidebar tr th a:visited { - color: #89d8ff; + :root { + --breadcrumbs-bg: #255a73; } + + #nav-sidebar .current-model { + background: var(--breadcrumbs-bg); + } + + #nav-sidebar .addlink { + color: #fff; + } + } \ No newline at end of file diff --git a/setup.py b/setup.py index 405250e..6b407d8 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ import os from setuptools import find_packages, setup -VERSION = '5.1.1' +VERSION = '5.1.2' with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read()