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:
Matt Lee
2015-12-09 13:53:51 -05:00
committed by MelissaCole
parent d560199aa4
commit ba39e8fdbb
2 changed files with 7 additions and 2 deletions

View File

@@ -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

View File

@@ -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;