mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
SubredditRules: Force modtools.less to rebuild.
Items in LESS_STYLESHEETS do not automatically rebuild when imported files change. Items in SPRITED_STYLESHEETS automatically build when any other less file updates, so that works for now. Stylesheets run through the spriter will throw an error if they don't actually contain any sprites, so I added a dummy sprite rule to modtools.less.
This commit is contained in:
@@ -86,8 +86,8 @@ clean_ini:
|
||||
rm $(INIFILES)
|
||||
|
||||
#################### CSS file lists
|
||||
SPRITED_STYLESHEETS += reddit.less compact.css
|
||||
LESS_STYLESHEETS := wiki.less adminbar.less modtools.less policies.less reddit-embed.less
|
||||
SPRITED_STYLESHEETS += reddit.less compact.css modtools.less
|
||||
LESS_STYLESHEETS := wiki.less adminbar.less policies.less reddit-embed.less
|
||||
OTHER_STYLESHEETS := mobile.css highlight.css
|
||||
|
||||
#################### Static Files
|
||||
|
||||
@@ -5,6 +5,11 @@
|
||||
@import "mod-action-icons.less";
|
||||
@import "subreddit-rules.less";
|
||||
|
||||
#this_is_a_hack__please_ignore {
|
||||
// lets me put this file in the SPRITED_STYLESHEETS section of the Makefile
|
||||
background-image: url(../reddit.com.header.png); /* SPRITE */
|
||||
}
|
||||
|
||||
.modtools-page {
|
||||
& > div.content {
|
||||
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
|
||||
|
||||
Reference in New Issue
Block a user