diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-02-18 18:25:46 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-02-18 18:25:46 -0500 |
commit | b4dc602381a367ce9ed1a1bbe28b7903976fdabe (patch) | |
tree | 7edc2532f56abd66ff7f20b8a75dd0268d69310c /assets/sass | |
parent | 5710bab97198234afced474250f20e24332fd6fc (diff) |
Send comments by email
Diffstat (limited to 'assets/sass')
-rw-r--r-- | assets/sass/_comment.sass | 34 |
1 files changed, 14 insertions, 20 deletions
diff --git a/assets/sass/_comment.sass b/assets/sass/_comment.sass index 5cc1548c..e9f27872 100644 --- a/assets/sass/_comment.sass +++ b/assets/sass/_comment.sass @@ -12,16 +12,6 @@ .comment padding: 5px margin-bottom: 15px - &:hover - background: #fafafa - -.comment-highlighted - background-color: map-get($highlight-colors, 'background') - border: 2px solid map-get($highlight-colors, 'background') - border-left: 2px solid map-get($highlight-colors, 'border') - &:hover - background-color: map-get($highlight-colors, 'background') - border: 2px solid map-get($highlight-colors, 'border') .comment-title border-bottom: 1px dotted #eee @@ -32,17 +22,7 @@ font-weight: 200 .comment-actions - font-size: size('small') - margin-bottom: 10px text-align: right - li - display: inline - a - color: color('light') - text-decoration: none - &:focus, &:hover - color: color('primary') - text-decoration: underline .comment-content margin-left: 55px @@ -53,3 +33,17 @@ height: 90px .text-editor-preview-area height: 90px + + .comment-highlighted + background-color: map-get($highlight-colors, 'background') + border: 2px solid map-get($highlight-colors, 'border') + &:hover + background-color: map-get($highlight-colors, 'background') + + .comment + &:hover + background: map-get($highlight-colors, 'background') + &:nth-child(even):not(.comment-highlighted) + background: bg-color('primary') + &:hover + background: map-get($highlight-colors, 'background') |