/
_activity.sass
60 lines (55 loc) · 1.06 KB
/
_activity.sass
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
.activity
float: left
width: 100%
padding-top: 10px
pandding-bottom: 10px
border-bottom: 1px solid #DEE6E8
background: #FFF
position: relative
min-height: 50px
.readable
float: left
width: 85%
.user
color: #AEB9BD
font-weight: bold
float: left
width: 100%
margin-bottom: 4px
font-size: 14px
.content
float: left
color: #797D7F
font-size: 14px
padding-bottom: 15px
.image-preview, .youtube-preview
a
width: 100%
+border-radius(4px)
+box-shadow(0px 1px 5px 0px #cccccc)
padding: 10px
background: #F3F8F9
float: left
.name
color: #878D8F
font-weight: bold
margin-top: 5px
.posted_at
float: right
text-align: right
font-size: 11px
position: absolute
right: 0px
+border-radius(4px)
padding: 4px
background: #F3F8F9
color: #BDC6CA
.avatar
margin-right: 10px
display: block
float: left
width: 5%
width: 30px
height: 30px
.current_user
background-color: #F0F0F0