summaryrefslogtreecommitdiffstats
path: root/webapp/sass/layout/_headers.scss
diff options
context:
space:
mode:
authorKacper Kula <kulak@kulak.at>2017-05-09 14:53:47 +0200
committerJoram Wilander <jwawilander@gmail.com>2017-05-09 07:53:47 -0500
commit2b18e782d63792d48b199982522d3f674921b056 (patch)
treeada53a8a9e17ad262836b751c1ef7f6bc6105f23 /webapp/sass/layout/_headers.scss
parent7a618b8973fe1d2b1488738eaa6bfb28912a9d60 (diff)
downloadchat-2b18e782d63792d48b199982522d3f674921b056.tar.gz
chat-2b18e782d63792d48b199982522d3f674921b056.tar.bz2
chat-2b18e782d63792d48b199982522d3f674921b056.zip
[PLT-4374] Added active state for recent mentions and flagged posts. (#6253)
* [PLT-4374] Added active state for recent mentions and flagged posts. * Increased hover opacity to 0.7 on mention and flag icon.
Diffstat (limited to 'webapp/sass/layout/_headers.scss')
-rw-r--r--webapp/sass/layout/_headers.scss10
1 files changed, 9 insertions, 1 deletions
diff --git a/webapp/sass/layout/_headers.scss b/webapp/sass/layout/_headers.scss
index 000a7819e..5e4abcb0e 100644
--- a/webapp/sass/layout/_headers.scss
+++ b/webapp/sass/layout/_headers.scss
@@ -462,12 +462,20 @@
text-decoration: none;
&:hover {
- @include opacity(1);
+ @include opacity(0.7);
}
&:focus {
color: inherit;
}
+
+ &.active {
+ color: $primary-color;
+ @include opacity(1);
+ .icon {
+ fill: $primary-color;
+ }
+ }
}
}