diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-10-06 10:04:39 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-10-06 10:04:39 +0500 |
commit | 06fbb8b7dfbf03832163c75e84fb5e6899f2c655 (patch) | |
tree | 6f0cd0ece5a0514e1acb929dce3fa22cc1c03373 /web/sass-files/sass/partials | |
parent | 8c7f4672eb6c0efb4b678866f1d0da286cfdd8ce (diff) | |
download | chat-06fbb8b7dfbf03832163c75e84fb5e6899f2c655.tar.gz chat-06fbb8b7dfbf03832163c75e84fb5e6899f2c655.tar.bz2 chat-06fbb8b7dfbf03832163c75e84fb5e6899f2c655.zip |
Adding mention highlight setting and improving search highlight too
Diffstat (limited to 'web/sass-files/sass/partials')
-rw-r--r-- | web/sass-files/sass/partials/_mentions.scss | 8 | ||||
-rw-r--r-- | web/sass-files/sass/partials/_search.scss | 10 |
2 files changed, 15 insertions, 3 deletions
diff --git a/web/sass-files/sass/partials/_mentions.scss b/web/sass-files/sass/partials/_mentions.scss index a2bd0dcea..fb74eb4f5 100644 --- a/web/sass-files/sass/partials/_mentions.scss +++ b/web/sass-files/sass/partials/_mentions.scss @@ -57,5 +57,11 @@ .mention-highlight { background-color:#fff2bb; - color: #333; + a { + color: inherit; + text-decoration: underline; + &:hover, &:active { + color: inherit; + } + } }
\ No newline at end of file diff --git a/web/sass-files/sass/partials/_search.scss b/web/sass-files/sass/partials/_search.scss index bcb8b5eac..a7b1ab190 100644 --- a/web/sass-files/sass/partials/_search.scss +++ b/web/sass-files/sass/partials/_search.scss @@ -104,7 +104,13 @@ padding: 10px; } -.search-highlight.theme, .search-highlight { +.search-highlight { background-color: #FFF2BB; - color: #333; + a { + color: inherit; + text-decoration: underline; + &:hover, &:active { + color: inherit; + } + } } |