User profile design updates#1958
User profile design updates#1958weerd merged 4 commits intoDoSomethingArchive:devfrom weerd:user-profile--design-updates
Conversation
There was a problem hiding this comment.
Is this something we could do with a normal CSS fallback in a mixin instead of Modernizr?
$gradient: rgba(#000, 0) 40%, rgba(#000, .2) 70%, rgba(#000, .5) 87%, rgba(#000, .85) 100%;
background: transparent image-url('black-gradient.png') 0 bottom repeat-x;
@include prefixer(linear-gradient, $gradient, webkit moz spec);Just seems like a lot of selector action.
There was a problem hiding this comment.
Wouldn't you be doing an extra HTTP request on modern browsers for a PNG they don't need since they support gradients though?
There was a problem hiding this comment.
it's a bit of selector action, but only really ends up applying to IE8 ;)
There was a problem hiding this comment.
It shouldn't make the HTTP request if the rule is overridden, I think.
There was a problem hiding this comment.
Hmmm, not sure. Modernizr is for this kind of stuff though. Allowing you to target via browser capabilities/support. Plus, once we no longer need to support IE8, all you need to do is remove any declarations using .no-.
Lots of updates to design.
Resolves #1929