Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0f9d502e4f | |||
| c961de3391 | |||
| aec7ede184 | |||
| d338e5914e | |||
| 36971ad662 |
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [0.16.1](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.16.1) - 2021-04-07
|
||||||
|
- Fixed style of "Delete" and "Save" buttons in the delete confirmation page. #123
|
||||||
|
- Overridden dark-mode css variables introduced in `django 3.2`. #124
|
||||||
|
|
||||||
## [0.16.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.16.0) - 2021-03-30
|
## [0.16.0](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.16.0) - 2021-03-30
|
||||||
- Added customizable colors for selected apps and models in dashboard. #122
|
- Added customizable colors for selected apps and models in dashboard. #122
|
||||||
- Added `responsive_rtl.css` stylesheet. #98
|
- Added `responsive_rtl.css` stylesheet. #98
|
||||||
|
|||||||
@@ -171,8 +171,8 @@ As everyone knows open-source projects takes up a lot of time that is unpaid. :m
|
|||||||
|
|
||||||
If you are using this package in commercial project(s), please consider the idea to become a sponsor or donating once:
|
If you are using this package in commercial project(s), please consider the idea to become a sponsor or donating once:
|
||||||
|
|
||||||
- 
|
- [GitHub Sponsor](https://github.com/sponsors/fabiocaccamo)
|
||||||
- 
|
- [PayPal](https://www.paypal.me/fabiocaccamo)
|
||||||
- BTC: bc1q2t0pv8z3udpyuvfnx5kskhqdad4dcvtfuzmvjw
|
- BTC: bc1q2t0pv8z3udpyuvfnx5kskhqdad4dcvtfuzmvjw
|
||||||
- ETH: 0x8B55Fb7798b5A9F797A4455C00821B6e53daca74
|
- ETH: 0x8B55Fb7798b5A9F797A4455C00821B6e53daca74
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,48 @@
|
|||||||
:root {
|
@media (prefers-color-scheme: dark) {
|
||||||
|
:root .admin-interface {
|
||||||
|
--primary: #79aec8;
|
||||||
|
--secondary: #417690;
|
||||||
|
--accent: #f5dd5d;
|
||||||
|
--primary-fg: #fff;
|
||||||
|
--body-fg: #333;
|
||||||
|
--body-bg: #fff;
|
||||||
|
--body-quiet-color: #666;
|
||||||
|
--body-loud-color: #000;
|
||||||
|
--header-color: #ffc;
|
||||||
|
--header-branding-color: var(--accent);
|
||||||
|
--header-bg: var(--secondary);
|
||||||
|
--header-link-color: var(--primary-fg);
|
||||||
|
--breadcrumbs-fg: #c4dce8;
|
||||||
|
--breadcrumbs-link-fg: var(--body-bg);
|
||||||
|
--breadcrumbs-bg: var(--primary);
|
||||||
|
--link-fg: #447e9b;
|
||||||
|
--link-hover-color: #036;
|
||||||
|
--link-selected-fg: #5b80b2;
|
||||||
|
--hairline-color: #e8e8e8;
|
||||||
|
--border-color: #ccc;
|
||||||
|
--error-fg: #ba2121;
|
||||||
|
--message-success-bg: #dfd;
|
||||||
|
--message-warning-bg: #ffc;
|
||||||
|
--message-error-bg: #ffefef;
|
||||||
|
--darkened-bg: #f8f8f8;
|
||||||
|
--selected-bg: #e4e4e4;
|
||||||
|
--selected-row: #ffc;
|
||||||
|
--button-fg: #fff;
|
||||||
|
--button-bg: var(--primary);
|
||||||
|
--button-hover-bg: #609ab6;
|
||||||
|
--default-button-bg: var(--secondary);
|
||||||
|
--default-button-hover-bg: #205067;
|
||||||
|
--close-button-bg: #888;
|
||||||
|
--close-button-hover-bg: #747474;
|
||||||
|
--delete-button-bg: #ba2121;
|
||||||
|
--delete-button-hover-bg: #a41515;
|
||||||
|
--object-tools-fg: var(--button-fg);
|
||||||
|
--object-tools-bg: var(--close-button-bg);
|
||||||
|
--object-tools-hover-bg: var(--close-button-hover-bg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
:root .admin-interface {
|
||||||
--admin-interface-title-color: {{ theme.title_color }};
|
--admin-interface-title-color: {{ theme.title_color }};
|
||||||
--admin-interface-logo-color: {{ theme.logo_color }};
|
--admin-interface-logo-color: {{ theme.logo_color }};
|
||||||
--admin-interface-env-color: {{ theme.env_color }};
|
--admin-interface-env-color: {{ theme.env_color }};
|
||||||
@@ -274,19 +318,22 @@
|
|||||||
.admin-interface .button.default:hover,
|
.admin-interface .button.default:hover,
|
||||||
.admin-interface input[type=submit].default:active,
|
.admin-interface input[type=submit].default:active,
|
||||||
.admin-interface input[type=submit].default:focus,
|
.admin-interface input[type=submit].default:focus,
|
||||||
.admin-interface input[type=submit].default:hover {
|
.admin-interface input[type=submit].default:hover,
|
||||||
|
.admin-interface.delete-confirmation form .cancel-link:hover {
|
||||||
background:{{ theme.css_save_button_background_hover_color }};
|
background:{{ theme.css_save_button_background_hover_color }};
|
||||||
color:{{ theme.css_save_button_text_color }};
|
color:{{ theme.css_save_button_text_color }};
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-interface .submit-row a.deletelink:link,
|
.admin-interface .submit-row a.deletelink:link,
|
||||||
.admin-interface .submit-row a.deletelink:visited {
|
.admin-interface .submit-row a.deletelink:visited,
|
||||||
|
.admin-interface.delete-confirmation form input[type="submit"] {
|
||||||
background:{{ theme.css_delete_button_background_color }};
|
background:{{ theme.css_delete_button_background_color }};
|
||||||
color:{{ theme.css_delete_button_text_color }};
|
color:{{ theme.css_delete_button_text_color }};
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-interface .submit-row a.deletelink:hover {
|
.admin-interface .submit-row a.deletelink:hover,
|
||||||
|
.admin-interface.delete-confirmation form input[type="submit"]:hover {
|
||||||
background:{{ theme.css_delete_button_background_hover_color }};
|
background:{{ theme.css_delete_button_background_hover_color }};
|
||||||
color:{{ theme.css_delete_button_text_color }};
|
color:{{ theme.css_delete_button_text_color }};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
__version__ = '0.16.0'
|
__version__ = '0.16.1'
|
||||||
|
|||||||
Reference in New Issue
Block a user