Skip to content

Commit 90a91b0

Browse files
author
Connor Jennings
committed
Updates to CSS, JS
1 parent 5d86dd1 commit 90a91b0

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

modules/notifications/lib/notifications.css

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@
77
}
88

99
.ef-post_following_list li {
10-
padding: 10px 5px 5px 5px;
11-
margin: 0;
1210
border-bottom: 1px solid #ccc;
11+
}
12+
13+
.ef-post_following_list li label {
1314
min-height: 76px;
15+
padding: 10px 5px 5px 5px;
16+
margin: 0;
17+
display: block;
1418
}
1519

16-
.ef-post_following_list li:hover {
20+
.ef-post_following_list li label:hover {
1721
background: #EAF2FA;
1822
}
1923

@@ -41,7 +45,7 @@
4145
}
4246

4347
.ef-post_following_list li .ef-user-list-badges {
44-
margin-top: 5px;
48+
margin-top: 10px;
4549
}
4650

4751
.ef-post_following_list li .ef-user-badge {

modules/notifications/lib/notifications.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ jQuery(document).ready(function($) {
154154
// Red 40% if there's a warning
155155
var backgroundHighlightColor = "#ea8484";
156156
}
157-
var backgroundColor = parent_this.css( 'background-color' );
158-
jQuery(parent_this.parents('li'))
157+
var backgroundColor = 'transparent';
158+
jQuery(parent_this.parents('label'))
159159
.animate( { 'backgroundColor': backgroundHighlightColor }, 200 )
160-
.animate( { 'backgroundColor':backgroundColor }, 200 );
160+
.animate( { 'backgroundColor': backgroundColor }, 200 );
161161

162162
// This event is used to show an updated list of who will be notified of editorial comments and status updates.
163163
jQuery( '#ef-post_following_box' ).trigger( 'following_list_updated' );

modules/user-groups/lib/user-groups.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
}
44

55
.ef-post_following_list li {
6-
padding: 10px 5px 5px 5px;
76
margin: 0;
87
border-bottom: 1px solid #ccc;
98
}
10-
.ef-post_following_list li:hover {
11-
background: #EAF2FA;
12-
}
9+
10+
.ef-post_following_list li:hover {
11+
background: #EAF2FA;
12+
}
13+
1314
.ef-post_following_list li input {
1415
float: right;
1516
}

0 commit comments

Comments
 (0)