forked from sbrajesh/fb-style-activity-commenting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
63 lines (54 loc) · 1.35 KB
/
style.css
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
61
62
63
/**
* Theme Name: BP FB Style Activity Commenting Demo
* Theme URI: http://buddydev.com
* Version: 1.0
* Description: Facebook style comment demonstration Theme
* Author: Brajesh Singh
* Tags: buddypress
* Template: bp-default
*/
/*FB style activity comment form css*/
/*
If you want to make the form visible for all activities, remove the li.has-comments from the first line below */
li.has-comments div.activity-comments form.ac-form {
display:block;
margin:0 0 5px 0;
}
.ac-form .ac-reply-avatar{
display:none;
}
div.activity-comments form div.ac-reply-content{
margin-left: 0;
padding-left: 0;
margin-bottom: 5px;
height:35px;/* you may need to adjust height according to the one you choose for your textarea*/
}
div.activity-comments form textarea {
height: 13px;
}
div.activity-comments form input[type='submit']{
display:none;
}
/*on active/focus*/
form.active .ac-reply-avatar{
float:left;
display: block;
}
form.active .ac-reply-avatar img.avatar {
float: left;
margin: 0 3px 0 0;
height: 25px;
width: 25px;
}
div.activity-comments form.active div.ac-reply-content{
height:auto;
}
form.active .ac-textarea{
margin-bottom: 10px;
padding: 8px;
padding-top:0;
}
div.activity-comments form.active div.ac-reply-content{
margin-left: 30px;
padding-left: 2px;
}