aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-09-29 11:28:27 +0200
committerMario Vavti <mario@mariovavti.com>2016-09-29 11:28:27 +0200
commit3c9809bfe6898e5c7cf4c9c70bbeb280cf9197a4 (patch)
treeeb2446504140fbc9efc3f6eba0c584ad90b79e09 /view
parentc530b4fb977e4d3ecf797c79a00887bc54f9abf5 (diff)
downloadvolse-hubzilla-3c9809bfe6898e5c7cf4c9c70bbeb280cf9197a4.tar.gz
volse-hubzilla-3c9809bfe6898e5c7cf4c9c70bbeb280cf9197a4.tar.bz2
volse-hubzilla-3c9809bfe6898e5c7cf4c9c70bbeb280cf9197a4.zip
highlight the displayed mid and css fixes
Diffstat (limited to 'view')
-rw-r--r--view/css/conversation.css30
-rw-r--r--view/js/main.js1
-rw-r--r--view/theme/redbasic/css/style.css13
3 files changed, 27 insertions, 17 deletions
diff --git a/view/css/conversation.css b/view/css/conversation.css
index 2688bde58..7ecd41627 100644
--- a/view/css/conversation.css
+++ b/view/css/conversation.css
@@ -97,6 +97,18 @@
/* conv_item */
+.wall-item-head {
+ padding: 10px 10px 0.5em 10px;
+}
+
+.wall-item-content {
+ padding: 0.5em 10px;
+}
+
+.wall-item-tools {
+ padding: 0.5em 10px 10px 10px;
+}
+
.wall-item-info {
display: block;
float: left;
@@ -195,6 +207,20 @@ a.wall-item-name-link {
margin-bottom: 20px;
}
+.ivoted {
+ color: #337AB7;
+}
+
+.item-highlight {
+ border-left: 3px solid #337AB7;
+}
+
+.item-highlight .wall-item-head,
+.item-highlight .wall-item-content,
+.item-highlight .wall-item-tools {
+ padding-left: 7px;
+}
+
/* comment_item */
.comment-edit-text-empty,
@@ -340,7 +366,3 @@ img.smiley.emoji:hover {
#filer_save {
margin-left: 15px;
}
-
-.ivoted {
- color: #337AB7;
-}
diff --git a/view/js/main.js b/view/js/main.js
index bbf2b7161..53a9a2ec7 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -661,6 +661,7 @@ function updateConvItems(mode,data) {
$('#hide-comments-total-' + scrolltoid).hide();
}
$('html, body').animate({ scrollTop: $('.item_' + bParam_mid.substring(0,32)).offset().top - $('nav').outerHeight() }, 'slow');
+ $('.item_' + bParam_mid.substring(0,32)).addClass('item-highlight');
}
}
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 2b0f3b853..a6d1d2a7e 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -1267,14 +1267,6 @@ img.mail-conv-sender-photo {
font-size: $body_font_size;
}
-.wall-item-head {
- padding: 10px 10px 0.5em 10px;
-}
-
-.wall-item-content {
- padding: 0.5em 10px;
-}
-
.wall-event-item {
padding: 10px;
color: #fff;
@@ -1289,11 +1281,6 @@ img.mail-conv-sender-photo {
border-top-left-radius: $radiuspx;
}
-.wall-item-tools {
- padding: 0.5em 10px 10px 10px;
-}
-
-
.wall-item-title {
font-size: $font_size;
}