Commit d985ba2e authored by Greg Gard's avatar Greg Gard

adding scss folders and basic layout container

parent db7b5d82
......@@ -2,11 +2,8 @@
@import "bootstrap-sprockets";
@import "bootstrap";
// vars
// layout
// components
// app views
@import 'transfers';
\ No newline at end of file
// rails-sass allows dir globbing
@import 'lib/*';
@import 'layouts/*';
@import 'components/*';
@import 'views/*';
\ No newline at end of file
main { @extend .container };
\ No newline at end of file
.transfers{
&-dashboard {
h3 {border-bottom: solid 1px #AAA;}
}
}
\ No newline at end of file
.transfers{
&-dashboard {
h3 {border-bottom: solid 1px #AAA;}
.card {
@extend .panel, .panel-default;
div:nth-of-type(1) { @extend .panel-heading }
div:nth-of-type(2) { @extend .panel-body }
div:nth-of-type(3) { @extend .panel-footer }
}
}
}
\ No newline at end of file
......@@ -10,6 +10,8 @@
</head>
<body>
<%= yield %>
<main>
<%= yield %>
</main>
</body>
</html>
<div class='transfers-dashboard'>
<h3>Emergency Transfers</h3>
<div class='row'>
<div class='col-md-4'>
<div class='card'>
<div>Patients</div>
<div>You have x patients.</div>
<div>footer</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment