Added another front page space for Yaffs info. Added roave security for composer.
[yaffs-website] / web / core / themes / bartik / css / components / comments.css
1 /**
2  * @file
3  * Visual styles for comments in Bartik.
4  */
5
6 /* This is required to win over specificity of #content h2 */
7 #content .comment-wrapper h2 {
8   margin-bottom: 1em;
9 }
10 #content .comment-wrapper h2.comment-form__title {
11   margin-bottom: 1em;
12 }
13 .field-node--comment {
14   font-size: 0.934em;
15 }
16 .comment {
17   margin-bottom: 19px;
18   vertical-align: top;
19   display: table;
20 }
21 [dir="rtl"] .comment {
22   direction: rtl;
23 }
24
25 .comment__meta {
26   padding: 0 30px 0 0; /* LTR */
27   font-size: 1.071em;
28 }
29 [dir="rtl"] .comment__meta {
30   padding: 0 0 0 30px;
31 }
32 .comment__attribution img {
33   border: 1px solid #d3d7d9;
34 }
35 /* This is required to win over specificity of .field--type-image img */
36 .comment .field--name-user-picture img {
37   margin: 0;
38 }
39 .comment__author .username {
40   white-space: nowrap;
41 }
42 .comment__author {
43   margin: 4px 0;
44   line-height: 1.2;
45 }
46 .comment__time {
47   margin-bottom: 4px;
48   color: #68696b;
49   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
50   font-size: 0.733em;
51   line-height: 1.2;
52
53 }
54 .comment__permalink {
55   font-size: 0.733em;
56   line-height: 1.2;
57 }
58 .comment__content {
59   position: relative;
60   display: table-cell;
61   padding: 10px 25px 10px 25px;
62   vertical-align: top;
63   width: 100%;
64   border: 1px solid #d3d7d9;
65   font-size: 0.929em;
66   line-height: 1.6;
67   word-break: break-all;
68 }
69
70 .comment__content:before {
71   content: '';
72   position: absolute;
73   right: 100%; /* LTR */
74   top: 20px;
75   border-top: 20px solid transparent;
76   border-right: 20px solid #d3d7d9; /* LTR */
77   border-bottom: 20px solid transparent;
78 }
79 [dir="rtl"] .comment__content:before {
80   right: auto;
81   left: 100%;
82   border-right: none;
83   border-left: 20px solid #d3d7d9;
84 }
85 .comment__content:after {
86   content: '';
87   position: absolute;
88   right: 100%; /* LTR */
89   top: 20px;
90   border-top: 20px solid transparent;
91   border-right: 20px solid #fff; /* LTR */
92   border-bottom: 20px solid transparent;
93   margin-right: -1px; /* LTR */
94 }
95 [dir="rtl"] .comment__content:after {
96   right: auto;
97   left: 100%;
98   border-right: none;
99   border-left: 20px solid #fff;
100   margin-right: 0;
101   margin-left: -1px;
102 }
103 .comment__content h3 {
104   margin-top: 0.94em;
105   margin-bottom: 0.45em;
106   font-size: 1.171em;
107 }
108 .indented {
109   margin-left: 40px; /* LTR */
110 }
111 [dir="rtl"] .indented {
112   margin-right: 40px;
113   margin-left: 0;
114 }
115 .comment .links {
116   padding: 0 0 0.25em 0;
117 }
118 .comment .links li {
119   padding: 0 0.5em 0 0; /* LTR */
120   font-size: 1.08em;
121 }
122 [dir="rtl"] .comment .links li {
123   padding: 0 0 0 0.5em;
124 }
125 .comment--unpublished {
126   margin-right: 5px; /* LTR */
127   padding: 5px 2px 5px 5px; /* LTR */
128   background: #fff4f4;
129 }
130 [dir="rtl"] .comment--unpublished {
131   margin-left: 5px;
132   margin-right: 0;
133   padding: 5px 5px 5px 2px;
134 }
135
136 /**
137  * @todo: unpublished nodes have class .node--unpublished.
138  * change this to .comment--unpublished.
139  */
140 .unpublished .comment-text .comment-arrow {
141   border-left: 1px solid #fff4f4;
142   border-right: 1px solid #fff4f4;
143 }
144 .unpublished {
145   padding: 20px 15px 0;
146 }
147 .comment-footer {
148   display: table-row;
149 }
150 .comment--unpublished .comment__text:after,
151 .node--unpublished .comment__text:after {
152   border-right-color: #fff4f4; /* LTR */
153 }
154 [dir="rtl"] .comment--unpublished .comment__content:after,
155 [dir="rtl"] .node--unpublished .comment__content:after {
156   border-left-color: #fff4f4;
157 }