Re: Admin and CSS Custom Properties

2017-04-29 Thread Dmitriy Sintsov
CSS variables are long time available at server-side via LESS / SASS compilers. For example MediaWiki has built-in ResourceLoader that includes LESS compiler and JS minifier. It uses caching to re-compile only when source .less or .js are changed. Everything works even with IE8. But MediaWiki i

Re: Admin and CSS Custom Properties

2017-04-28 Thread Patrick Guido
On 28 April 2017 at 12:59, Collin Anderson wrote: > I suggest supporting IE11+, as that's the latest on Windows 7 and there's > not much 9-10 usage. Now's probably a good time to bump them if needed > because we're just past an LTS. > > Though, yes, it doesn't allow CSS variables. > Is it really

Re: Admin and CSS Custom Properties

2017-04-28 Thread Collin Anderson
I suggest supporting IE11+, as that's the latest on Windows 7 and there's not much 9-10 usage. Now's probably a good time to bump them if needed because we're just past an LTS. Though, yes, it doesn't allow CSS variables. On Fri, Apr 28, 2017 at 6:38 AM, Curtis Maloney wrote: > I recently disco

Re: Admin and CSS Custom Properties

2017-04-28 Thread Curtis Maloney
I recently discovered that the stated "policy" on browser support in Admin is... well... not clear at all. https://docs.djangoproject.com/en/1.11/faq/admin/#what-browsers-are-supported-for-using-the-admin It claims to support full function for "YUI's A-Grade" browsers, but the link it provides

Re: Admin and CSS Custom Properties

2017-04-28 Thread Patrick Guido
On 27 April 2017 at 23:18, Adam Johnson wrote: > Thanks for introducing me to a new CSS feature! I clearly don't keep up > with front end stuff enough. > > Re: your issues: > > 1. From the support grid at the bottom of the Smashing Magazine article > you linked, it looks like it's only IE 11 and

Re: Admin and CSS Custom Properties

2017-04-27 Thread Adam Johnson
Thanks for introducing me to a new CSS feature! I clearly don't keep up with front end stuff enough. Re: your issues: 1. From the support grid at the bottom of the Smashing Magazine article you linked, it looks like it's only IE 11 and Edge 14 that are major browsers that don't support it. Howeve

Admin and CSS Custom Properties

2017-04-27 Thread Patrick Guido
Hi everyone! I think this is probably my first post here! Anyway... I was recently working on a django project where I was asked to change the admin theme (just the colors). I did so using CSS custom properties (see [1]) so that I would have all the colors[2] set in one file. I'd like to start a