-
Notifications
You must be signed in to change notification settings - Fork 1
/
12-file-structure.scss
81 lines (49 loc) · 1.71 KB
/
12-file-structure.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// SASS FILE STRUCTURE AND RAILS INTEGRATION
// OPTION 1: SASS ALONE
// =================================================
// - normalise.css [http://necolas.github.com/normalize.css/]
// - assets files structure: underscore-prefixed files do not generate a .css file
// - grid mixins and media queries
// OPTION 2: SASS WITH BOURBON
// =================================================
// Gemfile
gem "sass-rails"
gem "bourbon"
gem "neat"
// app/assets/stylesheets/application.scss
@import "bourbon/bourbon";
@import "variables";
@import "neat/neat";
// OPTION 3: SASS WITH COMPASS
// =================================================
// Gemfile
gem "sass-rails"
gem "compass"
// app/assets/stylesheets/application.scss
@import "compass";
// or for just the css3 goodness
@import "compass/css3";
// OPTION 4: SASS WITH BOOTSTRAP
// =================================================
// Gemfile
gem "sass-rails"
gem "bootstrap-sass"
// app/assets/stylesheets/application.scss
@import "bootstrap";
// OPTION 5: GUI COMPILERS
// =================================================
// SASS:
// - CodeKit [http://incident57.com/codekit/]
// - LiveReload [http://livereload.com/]
// - Compass.app [http://compass.handlino.com/]
// - Scout [http://mhs.github.com/scout-app/]
// Less:
// - Less.app [http://incident57.com/less/]
// - Crunch! [http://crunchapp.net/]
// - SimpleLess [http://wearekiss.com/simpless]
// SIDENOTE: BROWSER TOOLS
// =================================================
// Firefox: FireSass, a Firebug plugin
// Ref: https://addons.mozilla.org/en-US/firefox/addon/firesass-for-firebug/
// Chrome: SASS Inspector
// Ref: https://chrome.google.com/webstore/detail/sass-inspector/lkofmbmllpgfbnonmnenkiakimpgoamn