Commits

Owen Nelson committed b4f7c7a

foundation for the new styles

Comments (0)

Files changed (5)

 ^.idea
 ^trawler/.sass-cache
+^trawler/static/trawler/css/base.css
 ^.project$
 ^.pydevproject$
 ^.settings/

trawler/config.rb

 
 # Set this to the root of your project when deployed:
 http_path = "/"
-css_dir = "static/css"
+css_dir = "static/trawler/css"
 sass_dir = "sass"
-images_dir = "static/img"
-javascripts_dir = "static/js"
+images_dir = "static/trawler/img"
+javascripts_dir = "static/trawler/js"
 
 # You can select your preferred output style here (can be overridden via the command line):
 # output_style = :expanded or :nested or :compact or :compressed

trawler/sass/base.scss

+/* Less Framework 4
+ * http://lessframework.com
+ * by Joni Korpi
+ * License: http://creativecommons.org/licenses/MIT/ */
+
+// Less Framework Compass Plugin
+// by William Wells <less@hapa.me>
+// https://github.com/willhw/compass-less-plugin
+
+@import "compass/reset";
+@import "compass/utilities/general/clearfix";
+@import "compass/layout/grid-background";
+
+@import "less/framework";
+@import "partials/more";
+
+@import "partials/global";
+@import "partials/default";
+@import "partials/tablet";
+@import "partials/mobile";
+@import "partials/wide-mobile";
+@import "partials/high-px-ratio";

trawler/sass/less.scss

-/* Less Framework 4
- * http://lessframework.com
- * by Joni Korpi
- * License: http://creativecommons.org/licenses/MIT/ */
-
-// Less Framework Compass Plugin
-// by William Wells <less@hapa.me>
-// https://github.com/willhw/compass-less-plugin
-
-@import "compass/reset";
-@import "compass/utilities/general/clearfix";
-@import "compass/layout/grid-background";
-
-@import "less/framework";
-@import "partials/more";
-
-@import "partials/global";
-@import "partials/default";
-@import "partials/tablet";
-@import "partials/mobile";
-@import "partials/wide-mobile";
-@import "partials/high-px-ratio";

trawler/templates/base.html

+<!DOCTYPE html>
+<html>
+<head>
+    <title></title>
+    <link rel="stylesheet" href="{{ STATIC_URL }}trawler/css/base.css" />
+</head>
+<body>
+    <div class="wrap">
+    {%  block content %}
+    {% endblock content %}
+    </div>
+</body>
+</html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.