| Age | Commit message (Collapse) | Author |
|
Backport of 0df5c8187a9fa9828824ec2b1fdf37d1082d7ebe from main
|
|
Follow up to cd3019bc106eed27b2f97776e4dd9ec7cbac29b2.
Backport of 6f5dbe9dbe45b23b3befe4f1cd2ea13b6049ab96 from main
|
|
Backport of 781acf0987d80b638057ed1203409e3a19944e3b from main
|
|
Matched layout adjustment using flex from admin sidebar added in
d24ba1be7a53a113d19e2860c03aff9922efec24.
Filters would become squashed when viewport was
constrained or list display table became too wide.
Backport of 269a76714616fd7ad166a14113f3354bab8d9b65 from master
|
|
Backport of f054468cac325e8d8fa4d5934b939b93242a3730 from master
|
|
|
|
|
|
autocomplete fields.
* Fixed #29010 -- Added limit_choices_to support to autocomplete fields.
* Fixed #29138 -- Allowed autocomplete fields to target a custom
to_field rather than the PK.
|
|
admin.
Follow up to cd3019bc106eed27b2f97776e4dd9ec7cbac29b2.
|
|
|
|
Defined all colors used in the admin CSS as variables. Implemented the
following standardizations and accessibility improvements while at it:
- Improved the contrast of text to not use ratios of less than 3:1 anymore.
- Most hover states already used desaturated and darkened colors.
Changed object tools to follow the same rule instead of showing the
primary color on hover.
Various places used similar colors; those have been merged with the goal
of reducing the count of CSS variables. Contrasts have been improved in
a few places.
- Many borders used slightly different colors (e.g. #eaeaea vs. #eee)
- Help texts used #999, this has been changed to --body-quiet-color
(#666) which has a better contrast.
Introduced fast color transitions on links and buttons.
|
|
|
|
This enables the admin to display the month as locale's abbreviated
name if %b is used in the date format.
|
|
|
|
Restored flex-wrap CSS declaration to form elements at smallest breakpoint.
This was present since the responsive admin was introduced in dc37e8846eeedc3a9100ca21fdc9d579bc534c89.
Regression in 8ee4bb6ffcb3346c0fa8fb194986fbf9edadc822, where it was accidentally removed.
|
|
|
|
Thanks şuayip üzülmez for the report.
Regression in 8ee4bb6ffcb3346c0fa8fb194986fbf9edadc822.
|
|
Regression in 2bc38bc7cae002f949157d95e3f0c19ea6b8ca5c.
Thanks haki for the report.
|
|
inputs.
|
|
|
|
navigation sidebar.
|
|
|
|
|
|
|
|
|
|
Use the rich interface and native parsing provided by the browser rather
than raw string manipulation.
https://developer.mozilla.org/en-US/docs/Web/API/URL
https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams
|
|
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes
|
|
Previously, the button's container had a padding of 9.4em which was
approximately center but not precisely. Now, the container uses
'align:text-center' to let the browser center the button.
|
|
Don't add horizontal padding as the label is always displayed on its own
line. This padding added no visual difference.
Move the 'display: block' property from responsive.css to base.css. The
label is already displayed on its own line in all viewports, so reduce
differences in rendering. Using block also allows the label to consume
the width of its container, creating a larger clickable area for a
slight a11y improvement.
|
|
The "object-tools" container is never rendered as a descendant of
.form-row.
The "golink" CSS class is unused.
A <label> element has not been included in the login .submit-row since
5869afe32b9c252cacd327f18c58e38c36d1f530.
The "help" CSS class from login.css has been unused since
0e5faf225c5cd1acf2ab653c74f5b161470403b9.
The <label> color in login.css is already inherited from the <body>
element and so does not need to be re-specified.
The #content-main container already has the property 'width: 100%' from
base.css and so does not need to be re-specified in login.css.
The <td> and <th> font-family property is inherited from the <body>
element and so does not need to be re-specified.
The <html> element has the attribute dir which automatically sets
the text direction in the layout. Adding the direction CSS property was
necessary to support IE which does not support the dir attribute, but IE
is no longer supported, so drop the direction property.
The 'font-size: 1em' property re-specifies the same font size. It
creates no visual difference.
The 'font-size: 14px' property often re-specifies the inherited value.
Avoid re-specifying it.
|
|
|
|
|
|
Co-Authored-By: Andy Chosak <andy@chosak.org>
|
|
coercion issues.
|
|
|
|
Unused -- other than as a local variable -- since its introduction in
953badbea5a04159adbfa970f5805c0232b6a401
|
|
Co-authored-by: elky <elky@users.noreply.github.com>
Co-authored-by: Goetz <goetz.buerkle@gmail.com>
|
|
Per MDN, HTMLOptionElement.selected is a Boolean attribute.
|
|
|
|
|
|
|
|
The keyword value 'none' is not a valid value for padding-bottom.
|
|
.system-message, .system-message-title are unused since their
introduction in ce0d0cd9e2cd5ac9850d825f28db39b1e123ac1e.
.float-right, .float-left, .align-left, .align-right, and .example are
unused since 6eb4f2569266391e223410ab7eaa2555ac0a4f10.
|
|
|
|
The CSS properties have been standardized and are available in all
supported browsers.
|
|
Normal spaces are fine when used as a single spaced separation. For
larger spacing, CSS is used.
|
|
|
|
The eslint configuration and the admin script compress.py have been
updated for ES6.
The unused fallback of globals.django in jquery.init.js was removed. It
is always included before jsi18n-mocks.test.js and it always sets the
global value.
|
|
|
|
The use of $(document).ready() was removed. The script is loaded at the
end of the document. Therefore, the referenced DOM elements are already
available and the script does not need to wait for the full DOM to be
ready before continuing.
Now that the script has no external dependencies, it can be loaded
asynchronously. As such, the async attribute was added to the script
element.
|