[Bug 26478] User CSS: @import is inside @media
https://bugzilla.wikimedia.org/show_bug.cgi?id=26478 Daniel Friesen changed: What|Removed |Added CC||mediawiki-bugs@nadir-seen-f ||ire.com -- You are receiving this mail because: You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26478] User CSS: @import is inside @media
https://bugzilla.wikimedia.org/show_bug.cgi?id=26478 --- Comment #8 from Trevor Parscal 2011-01-07 20:46:39 UTC --- Beats me - that's why this seems to be the best way to go. It works as you would imagine by default. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26478] User CSS: @import is inside @media
https://bugzilla.wikimedia.org/show_bug.cgi?id=26478 --- Comment #7 from Roan Kattouw 2011-01-07 20:45:51 UTC --- (In reply to comment #6) > This is the best solution I think - good work - as long as people don't > register their styles as a specific media type (something they certainly would > need to go out of their way to do) they can do all the strange trickery they > want, including using the @media block themselves. We need to document the > caveat of using the media type registration somewhere though. Once you're doing media type registration, why would you want to use @import? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26478] User CSS: @import is inside @media
https://bugzilla.wikimedia.org/show_bug.cgi?id=26478 --- Comment #6 from Trevor Parscal 2011-01-07 20:44:23 UTC --- This is the best solution I think - good work - as long as people don't register their styles as a specific media type (something they certainly would need to go out of their way to do) they can do all the strange trickery they want, including using the @media block themselves. We need to document the caveat of using the media type registration somewhere though. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26478] User CSS: @import is inside @media
https://bugzilla.wikimedia.org/show_bug.cgi?id=26478 Roan Kattouw changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #5 from Roan Kattouw 2011-01-07 20:28:40 UTC --- (In reply to comment #4) > Before ResourceLoader imported media, user stylesheets and site styles were > loaded with the media="all" attribute. I'd say keep that the way it was. No > complains about that in the past right ? > > That way everthing stays compatible. And everybody can keep using special > styles for print only or for screen only in their User:Me/skin.css > I have suppressed the output of @media all { } blocks (they're useless anyway) in r79839. > Also, things like MediaWiki:Print.css can then simply be wrapped in @media > print (not in a seperate ), when it's defined as module. (as can > extensions when defining the style modules) This has been done some time ago, see ResourceLoaderSiteModule.php -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26478] User CSS: @import is inside @media
https://bugzilla.wikimedia.org/show_bug.cgi?id=26478 Krinkle changed: What|Removed |Added CC||krinklem...@gmail.com --- Comment #4 from Krinkle 2011-01-06 00:30:00 UTC --- Before ResourceLoader imported media, user stylesheets and site styles were loaded with the media="all" attribute. I'd say keep that the way it was. No complains about that in the past right ? That way everthing stays compatible. And everybody can keep using special styles for print only or for screen only in their User:Me/skin.css Also, things like MediaWiki:Print.css can then simply be wrapped in @media print (not in a seperate ), when it's defined as module. (as can extensions when defining the style modules) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26478] User CSS: @import is inside @media
https://bugzilla.wikimedia.org/show_bug.cgi?id=26478 --- Comment #3 from Trevor Parscal 2011-01-06 00:24:10 UTC --- I sense that our cleverness is getting us in trouble.. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26478] User CSS: @import is inside @media
https://bugzilla.wikimedia.org/show_bug.cgi?id=26478 --- Comment #2 from Umherirrender 2010-12-30 10:12:07 UTC --- You can import css with @import for specific media, so that is no problem (http://www.w3.org/TR/CSS21/cascade.html#at-import) I have also seen some user using @media in his user.css. I do not know if there also break (@media inside @media) after updating to RessourceLoader. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 26478] User CSS: @import is inside @media
https://bugzilla.wikimedia.org/show_bug.cgi?id=26478 --- Comment #1 from Roan Kattouw 2010-12-29 15:50:04 UTC --- I've always been puzzled as to why we even do @media all { } anyway. Can't we use @media just for the "special" media ('print' and 'screen') and use top-level CSS for 'all'? Of course that'd just move the problem to @import not working or not working properly for media-specific CSS, but I think that's less of a problem. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l