summaryrefslogtreecommitdiff
path: root/assets/sass/_comment.sass
blob: 5cc1548c8cca907ca8946baa691f4d5388c8a8bc (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
50
51
52
53
54
55
@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
  &: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
  margin-left: 55px

.comment-date
  color: color('light')
  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

.comments
  .text-editor
    textarea
      height: 90px
    .text-editor-preview-area
      height: 90px