Skip to content

Instantly share code, notes, and snippets.

@dawidw
Last active December 21, 2015 17:38
Show Gist options
  • Save dawidw/6341621 to your computer and use it in GitHub Desktop.
Save dawidw/6341621 to your computer and use it in GitHub Desktop.
+-modules
| +-_post.scss
+-view
| +-views.scss
| +-rails_views
| +-_posts_controller.scss
| +-responsive
| +-tablet
| +-mobile
.
/* _posts_controller.scss */
.posts{
&.show{
.post {
/* view specific styles */
}
}
}
/* _post.scss */
.post {
background: whitesmoke;
}
.post__title{
font-size: 16px;
}
/* application.scss */
// @import 'modules/*';
// @import 'rails_views/posts/views';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment