summaryrefslogtreecommitdiffstats
path: root/webapp/sass
diff options
context:
space:
mode:
authorAndrei Stanciu <andrei.stanciu@geminisols.ro>2017-02-10 16:56:48 +0200
committerCorey Hulen <corey@hulen.com>2017-02-10 06:56:48 -0800
commit1bbed1cb2bf1248e9ca8a1511cfe8a385c5f21f7 (patch)
treee61c54cc13a6d7975cce69322bae6f6f5c7c9300 /webapp/sass
parent1359f7f3918befd2463103379d17bd2eb846654d (diff)
downloadchat-1bbed1cb2bf1248e9ca8a1511cfe8a385c5f21f7.tar.gz
chat-1bbed1cb2bf1248e9ca8a1511cfe8a385c5f21f7.tar.bz2
chat-1bbed1cb2bf1248e9ca8a1511cfe8a385c5f21f7.zip
Add permalink to timestamp (#5206)
* Add permalink to timestamp * Add permalink to timestamp * Add permalink to timestamp * Add permalink to timestamp * fix error with duplicated import * underline permalink on hover
Diffstat (limited to 'webapp/sass')
-rw-r--r--webapp/sass/layout/_post.scss13
-rw-r--r--webapp/sass/responsive/_tablet.scss4
2 files changed, 16 insertions, 1 deletions
diff --git a/webapp/sass/layout/_post.scss b/webapp/sass/layout/_post.scss
index 06a3967cc..5d6c12421 100644
--- a/webapp/sass/layout/_post.scss
+++ b/webapp/sass/layout/_post.scss
@@ -1199,6 +1199,19 @@
font-size: .9em;
}
+ .post__permalink {
+ color: #333;
+ &:hover, &:focus {
+ color: #333;
+ }
+ &:focus {
+ text-decoration: none;
+ }
+ &:hover {
+ text-decoration: underline;
+ }
+ }
+
.post-loading-gif {
height: 10px;
margin-top: 6px;
diff --git a/webapp/sass/responsive/_tablet.scss b/webapp/sass/responsive/_tablet.scss
index 79a22aa30..f8ca019e0 100644
--- a/webapp/sass/responsive/_tablet.scss
+++ b/webapp/sass/responsive/_tablet.scss
@@ -366,7 +366,9 @@
text-rendering: auto;
top: -2px;
width: 51px;
-
+ &:hover {
+ text-decoration: underline;
+ }
}
}
}