Project

General

Profile

Download (1.9 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
 * @file
3
 * Comment Styling
4
 */
5

    
6
@import "base";
7

    
8

    
9
.comments { /* Wrapper for the list of comments and its title */
10
  margin: 1.5em 0;
11

    
12
  h2.title { /* Heading for the list of comments */
13
  }
14

    
15
  h2.comment-form { /* Heading for the comment form */
16
  }
17
}
18

    
19
.comment { /* Wrapper for a single comment */
20

    
21
  &.comment-preview { /* Preview of the comment before submitting new or updated comment */
22
    background-color: #ffffea; /* Drupal core will use a #ffffea background. See #1110842 */
23
  }
24

    
25
  &.new { /* A new comment since the user last viewed the page. */
26
  }
27

    
28
  &.first { /* The first comment in the list of comments */
29
  }
30

    
31
  &.last { /* The last comment in the list of comments */
32
  }
33

    
34
  &.odd { /* An odd-numbered comment in the list of comments */
35
  }
36

    
37
  &.even { /* An even-numbered comment in the list of comments */
38
  }
39

    
40
  &.comment-by-anonymous { /* A comment created by an anonymous user */
41
  }
42

    
43
  &.comment-by-node-author { /* A comment created by the node's author */
44
  }
45

    
46
  &.comment-by-viewer { /* A comment created by the current user */
47
  }
48

    
49
  h3.comment-title { /* Comment title */
50
  }
51

    
52
  .new { /* "New" marker for comments that are new for the current user */
53
    color: #c00;
54
  }
55

    
56
  .user-picture { /* The picture of the comment author */
57
  }
58

    
59
  .submitted { /* The "posted by" information */
60
  }
61

    
62
  .permalink { /* Comment's permalink wrapper */
63
    text-transform: uppercase;
64
    font-size: 75%;
65
  }
66

    
67
  .user-signature { /* The user's signature */
68
  }
69

    
70
  ul.links { /* Comment links. See also the ul.links declaration in the pages.css. */
71
  }
72
}
73

    
74
.indented { /* Nested comments are indented */
75
  margin-left: $indent-amount; /* Drupal core uses a 25px left margin */
76
}
77

    
78
.comment-unpublished { /* Unpublished comments */
79
  /* background-color: #fff4f4; */ /* Drupal core uses a #fff4f4 background */
80

    
81
  p.unpublished { /* The word "Unpublished" displayed underneath the content. */
82
    @include unpublished-div;
83
  }
84
}
(6-6/21)