Change the colorbox theme to use sass.
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
COLORBOX_PATH=colorbox/static/css
|
||||
GALLERIA_PATH=galleria/static/css
|
||||
|
||||
all: galleria
|
||||
all:
|
||||
sass $(COLORBOX_PATH)/style.scss:$(COLORBOX_PATH)/style.min.css --style compressed
|
||||
sass $(GALLERIA_PATH)/style.scss:$(GALLERIA_PATH)/style.min.css --style compressed
|
||||
|
||||
colorbox:
|
||||
sass --watch $(COLORBOX_PATH)/style.scss:$(COLORBOX_PATH)/style.min.css \
|
||||
--style compressed
|
||||
|
||||
galleria:
|
||||
sass --watch $(GALLERIA_PATH)/style.scss:$(GALLERIA_PATH)/style.min.css \
|
||||
--style compressed
|
||||
|
||||
.PHONY: galleria
|
||||
.PHONY: colorbox galleria
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
css:
|
||||
cat static/css/{base.css,skeleton.css,colorbox.css,main.css} | \
|
||||
cssmin > static/css/style.min.css
|
||||
File diff suppressed because one or more lines are too long
@@ -1,3 +1,9 @@
|
||||
/* -*- scss-compile-at-save: nil -*- */
|
||||
|
||||
@import "base";
|
||||
@import "skeleton";
|
||||
@import "colorbox";
|
||||
|
||||
body {
|
||||
font: 100%/1.4 "PT Sans", sans-serif;
|
||||
}
|
||||
@@ -18,15 +18,11 @@
|
||||
<body>
|
||||
<div class="container">
|
||||
<header class="sixteen columns">
|
||||
<h1>{{ title }}</h1>
|
||||
<h1>{{ paths }}</h1>
|
||||
<hr>
|
||||
</header>
|
||||
|
||||
<div id="main" role="main" class="sixteen columns">
|
||||
<div id="breadcumb">
|
||||
<p>{{ paths }}</p>
|
||||
</div>
|
||||
|
||||
{% if albums %}
|
||||
<div id="albums" class="row">
|
||||
{% for album in albums %}
|
||||
|
||||
Reference in New Issue
Block a user