summaryrefslogtreecommitdiff
path: root/assets/sass/_comment.sass
blob: e9f2787285c9ab75f2ba8bd1c7f8c61dff43a386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
@import variables

.comment-sorting
  text-align: right
  a
    color: color('medium')
    font-weight: normal
    text-decoration: none
    &:hover
      color: color('light')

.comment
  padding: 5px
  margin-bottom: 15px

.comment-title
  border-bottom: 1px dotted #eee
  margin-left: 55px

.comment-date
  color: color('light')
  font-weight: 200

.comment-actions
  text-align: right

.comment-content
  margin-left: 55px

.comments
  .text-editor
    textarea
      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')