Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-11-16 02:10:29 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-11-16 15:13:08 +0300
commit96a49425851644bbdeece33f7deac47bcf7237e0 (patch)
tree90c2283392db86029c1a6bfc3e67531fa50c6f39 /css
parentbc501ba53c72b1dcce74e0ed7ad5fe8aa5f4eeff (diff)
Add a header with the date when it changes between messages
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'css')
-rw-r--r--css/comments.css25
1 files changed, 25 insertions, 0 deletions
diff --git a/css/comments.css b/css/comments.css
index 4a75de172..ef8e4ee97 100644
--- a/css/comments.css
+++ b/css/comments.css
@@ -190,3 +190,28 @@
#commentsTabView .comment.grouped {
margin-top: -20px;
}
+
+#commentsTabView .comment.showDate {
+ margin-top: 40px;
+ border-top: 1px solid #dbdbdb;
+ padding-top: 10px;
+}
+
+#commentsTabView .comment.showDate:before {
+ content: attr(data-date);
+
+ position: absolute;
+ top: 0;
+ left: 50%;
+ transform: translateX(-50%) translateY(-50%);
+ padding: 0 7px 0 7px;
+
+ text-align: center;
+
+ color: #878787;
+ background-color: #fff;
+}
+
+#commentsTabView .comment.showDate .authorRow {
+ display: block;
+}