summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_post.scss
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-11-18 17:29:06 -0500
committerChristopher Speller <crspeller@gmail.com>2015-11-23 09:53:15 -0500
commit9e8cd937908d5d2e730e94f761d6533eb2d95e28 (patch)
treefb6324a5896da7123b76854e7eb504c239113824 /web/sass-files/sass/partials/_post.scss
parent5ee226d7f92d9408736b0e2a9ff105eb6f520a19 (diff)
downloadchat-9e8cd937908d5d2e730e94f761d6533eb2d95e28.tar.gz
chat-9e8cd937908d5d2e730e94f761d6533eb2d95e28.tar.bz2
chat-9e8cd937908d5d2e730e94f761d6533eb2d95e28.zip
Implementing Permalinks and jumping to post from search. Performance
improvements.
Diffstat (limited to 'web/sass-files/sass/partials/_post.scss')
-rw-r--r--web/sass-files/sass/partials/_post.scss29
1 files changed, 28 insertions, 1 deletions
diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss
index 62d136a11..b7609bb7d 100644
--- a/web/sass-files/sass/partials/_post.scss
+++ b/web/sass-files/sass/partials/_post.scss
@@ -361,6 +361,19 @@ body.ios {
.dropdown, .comment-icon__container {
visibility: visible;
}
+ .permalink-icon {
+ visibility: visible;
+ }
+ }
+
+ &.post--highlight {
+ background-color: beige;
+ }
+
+ ul {
+ margin: 0;
+ padding: 0;
+ list-style: none;
}
p {
@@ -618,6 +631,12 @@ body.ios {
color: #999;
}
+ .permalink-icon {
+ display: inline-block;
+ color: $primary-color;
+ visibility: hidden;
+ }
+
.comment-icon__container {
fill: $primary-color;
display: inline-block;
@@ -756,4 +775,12 @@ body.ios {
margin: 0;
}
}
-} \ No newline at end of file
+}
+
+.permalink-text {
+ overflow: hidden;
+}
+
+.permalink-popover {
+ min-width: 320px;
+}