Skip to content

Commit

Permalink
Splits styles into different files
Browse files Browse the repository at this point in the history
Signed-off-by: Akash Manohar J <akash@akash.im>
  • Loading branch information
HashNuke committed Mar 29, 2012
1 parent 2927623 commit f981ecb
Show file tree
Hide file tree
Showing 8 changed files with 403 additions and 405 deletions.
68 changes: 68 additions & 0 deletions app/assets/stylesheets/activity.css.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
//
// Activity
//

.activity {
float: left;
width: 100%;
padding-top: 10px;
padding-bottom: 10px;
border-bottom: 1px solid #DEE6E8;
background: #FFF;

.avatar {
float: left;
width: 5%;
img {
width: 30px;
height: 30px;
}
}

.readable {
float: left;
width: 95%;

.user {
color: #AEB9BD;
font-weight: bold;
float: left;
width: 100%;
margin-bottom: 4px;
}

.content {
float: left;
width: 80%;
color: #797D7F;

.image-preview, .youtube-preview {
a { width: 100%; }
@include border-radius(4px);
@include box-shadow(0px 1px 5px 0px #CCC);
padding: 10px;
background: #F3F8F9;
float: left;
.name {
color: #878D8F;
font-weight: bold;
margin-top: 5px;
}
}

}

.posted_at {
float: left;
width: 20%;
text-align: right;

span {
@include border-radius(4px);
padding: 4px;
background: #F3F8F9;
color: #BDC6CA;
}
}
}
}
Empty file.
Loading

0 comments on commit f981ecb

Please sign in to comment.