Skip to content

Instantly share code, notes, and snippets.

@libryder
Last active December 11, 2015 23:18
Show Gist options
  • Save libryder/4675626 to your computer and use it in GitHub Desktop.
Save libryder/4675626 to your computer and use it in GitHub Desktop.
Cleaning up a sass file
#report-summary {
.clear { clear: both; }
border: 1px solid #ddd;
border-radius: 5px;
padding: 10px;
.summary-report {
}
.main-header {
text-decoration: underline;
}
#oldest-review-summary {
.review-row {
padding: 10px;
.cell {
float: left;
width: 33%;
}
.excerpt {
}
.title {
}
.reviews-count {
}
}
}
#trend-summary {
margin-left: 25px;
.score-row {
padding: 4px 0;
.title {
float: left;
width: 70%;
}
.score-change {
float: left;
}
}
#goolgle-plus-score {
float: left;
width: 50%;
}
#reputation-score {
float: left;
width: 50%;
}
}
#review-summary {
table {
width: 80%;
margin-left: 10%;
th { background: #ccc; }
td { background: #eee; }
}
}
#review-excerpts {
.review-row {
padding: 10px;
.cell {
float: left;
display: inline-block;
}
.excerpt {
width: 55%
}
.title {
width: 25%;
}
.reviews-count {
widht: 20%
}
}
}
}
#report-summary {
.clear { clear: both; }
#report-header { text-align: center; }
border: 1px solid #ddd;
border-radius: 5px;
padding: 10px;
.main-header {
text-decoration: underline;
}
#trend-summary {
margin-left: 25px;
.score-row {
padding: 4px 0;
.title { float: left; width: 70%; }
.score-change { float: left; }
}
#google-plus-score { float: left; width: 50%; }
#reputation-score { float: left; width: 50%; }
}
#review-summary {
table {
width: 80%;
margin-left: 10%;
th { background: #ccc; text-align: center; }
td { background: #eee; text-align: center; }
}
#review-excerpts {
.review-row {
padding: 10px;
.cell { float: left; display: inline-block; }
.excerpt { width: 55% }
.title { width: 25%; }
.reviews-count { width: 20% }
}
}
}
#oldest-review-summary {
.review-row {
padding: 10px;
.cell { float: left; width: 33%; }
}
}
#social-summary {
/* under construction */
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment