2015-03-07 01:35:52 +00:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Visual styles for comments in Bartik.
|
|
|
|
*/
|
2014-12-22 19:51:25 +00:00
|
|
|
|
2015-03-07 01:35:52 +00:00
|
|
|
/* This is required to win over specificity of #content h2 */
|
|
|
|
#content .comment-wrapper h2 {
|
2014-12-22 19:51:25 +00:00
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
#content .comment-wrapper h2.comment-form__title {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2015-09-22 09:41:15 +00:00
|
|
|
.field-node--comment {
|
|
|
|
font-size: 0.934em;
|
|
|
|
}
|
2014-12-22 19:51:25 +00:00
|
|
|
.comment {
|
2019-04-01 17:16:16 +00:00
|
|
|
display: table;
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
margin-bottom: 19px;
|
2014-12-22 19:51:25 +00:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
[dir="rtl"] .comment {
|
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__meta {
|
2014-12-22 19:51:25 +00:00
|
|
|
padding: 0 30px 0 0; /* LTR */
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
font-size: 1.071em;
|
2014-12-22 19:51:25 +00:00
|
|
|
}
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
[dir="rtl"] .comment__meta {
|
2014-12-22 19:51:25 +00:00
|
|
|
padding: 0 0 0 30px;
|
|
|
|
}
|
2015-03-07 01:35:52 +00:00
|
|
|
.comment__attribution img {
|
2014-12-22 19:51:25 +00:00
|
|
|
border: 1px solid #d3d7d9;
|
|
|
|
}
|
Issue #2214241 by mortendk, mdrummond, lauriii, galooph, ShaunDychko, jjcarrion, b0unty, joelpittet, scor, amitgoyal, aboros, Manuel Garcia, hkirsman, BLadwin, hussainweb, sushilkr, emma.maria, nlisgo, yched, LewisNyman, davidhernandez, mikl, camoa, dman, dodorama: Field default markup - removing the divitis
2015-08-26 08:36:43 +00:00
|
|
|
/* This is required to win over specificity of .field--type-image img */
|
|
|
|
.comment .field--name-user-picture img {
|
2015-03-07 01:35:52 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.comment__author .username {
|
2014-12-22 19:51:25 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
.comment__author {
|
2014-12-22 19:51:25 +00:00
|
|
|
margin: 4px 0;
|
|
|
|
line-height: 1.2;
|
|
|
|
}
|
2015-03-07 01:35:52 +00:00
|
|
|
.comment__time {
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
margin-bottom: 4px;
|
2014-12-22 19:51:25 +00:00
|
|
|
color: #68696b;
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
|
|
font-size: 0.733em;
|
|
|
|
line-height: 1.2;
|
2014-12-22 19:51:25 +00:00
|
|
|
}
|
2015-03-07 01:35:52 +00:00
|
|
|
.comment__permalink {
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
font-size: 0.733em;
|
|
|
|
line-height: 1.2;
|
2014-12-22 19:51:25 +00:00
|
|
|
}
|
2015-03-07 01:35:52 +00:00
|
|
|
.comment__content {
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
position: relative;
|
2014-12-22 19:51:25 +00:00
|
|
|
display: table-cell;
|
2019-04-01 17:16:16 +00:00
|
|
|
width: 100%;
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
padding: 10px 25px 10px 25px;
|
2014-12-22 19:51:25 +00:00
|
|
|
vertical-align: top;
|
Issue #2679126 by ccjjmartin, karthik.baikati, ecrown, leolando.tan, jeremyrperry, akhil.desai, kawo, sean.walker, Q2U, paintingguy, jonathanshaw, valthebald, alexpott, yogeshmpawar, Cottser, catch, tulvit, alex_optim: Words break unnecessarilly at end of line in forum topic replies
2019-06-27 21:21:14 +00:00
|
|
|
word-break: break-word;
|
|
|
|
hyphens: auto;
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
border: 1px solid #d3d7d9;
|
|
|
|
font-size: 0.929em;
|
|
|
|
line-height: 1.6;
|
2014-12-22 19:51:25 +00:00
|
|
|
}
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
|
Issue #2679126 by ccjjmartin, karthik.baikati, ecrown, leolando.tan, jeremyrperry, akhil.desai, kawo, sean.walker, Q2U, paintingguy, jonathanshaw, valthebald, alexpott, yogeshmpawar, Cottser, catch, tulvit, alex_optim: Words break unnecessarilly at end of line in forum topic replies
2019-06-27 21:21:14 +00:00
|
|
|
.comment__content a {
|
|
|
|
hyphens: none;
|
|
|
|
}
|
|
|
|
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
.comment__content:before {
|
2015-03-07 01:35:52 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
2019-04-01 17:16:16 +00:00
|
|
|
right: 100%; /* LTR */
|
|
|
|
content: "";
|
2015-03-07 01:35:52 +00:00
|
|
|
border-top: 20px solid transparent;
|
|
|
|
border-right: 20px solid #d3d7d9; /* LTR */
|
|
|
|
border-bottom: 20px solid transparent;
|
|
|
|
}
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
[dir="rtl"] .comment__content:before {
|
2015-03-07 01:35:52 +00:00
|
|
|
right: auto;
|
|
|
|
left: 100%;
|
|
|
|
border-right: none;
|
|
|
|
border-left: 20px solid #d3d7d9;
|
|
|
|
}
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
.comment__content:after {
|
2015-03-07 01:35:52 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
2019-04-01 17:16:16 +00:00
|
|
|
right: 100%; /* LTR */
|
|
|
|
margin-right: -1px; /* LTR */
|
|
|
|
content: "";
|
2015-03-07 01:35:52 +00:00
|
|
|
border-top: 20px solid transparent;
|
|
|
|
border-right: 20px solid #fff; /* LTR */
|
|
|
|
border-bottom: 20px solid transparent;
|
|
|
|
}
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
[dir="rtl"] .comment__content:after {
|
2015-03-07 01:35:52 +00:00
|
|
|
right: auto;
|
|
|
|
left: 100%;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: -1px;
|
2019-04-01 17:16:16 +00:00
|
|
|
border-right: none;
|
|
|
|
border-left: 20px solid #fff;
|
2015-03-07 01:35:52 +00:00
|
|
|
}
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
.comment__content h3 {
|
|
|
|
margin-top: 0.94em;
|
|
|
|
margin-bottom: 0.45em;
|
|
|
|
font-size: 1.171em;
|
|
|
|
}
|
Issue #2512468 by bendev, munzirtaha, rudraram, chipway, emma.maria, cchanana, elchiconube, Manjit.Singh, jim005, trevorkjorlien, fil00dl, meenakshi.r, davidhernandez, rbrissaud, Knee-X, LewisNyman: Regression: Indented styles for indented comments are missing in Bartik
2015-10-23 00:10:20 +00:00
|
|
|
.indented {
|
2014-12-22 19:51:25 +00:00
|
|
|
margin-left: 40px; /* LTR */
|
|
|
|
}
|
Issue #2512468 by bendev, munzirtaha, rudraram, chipway, emma.maria, cchanana, elchiconube, Manjit.Singh, jim005, trevorkjorlien, fil00dl, meenakshi.r, davidhernandez, rbrissaud, Knee-X, LewisNyman: Regression: Indented styles for indented comments are missing in Bartik
2015-10-23 00:10:20 +00:00
|
|
|
[dir="rtl"] .indented {
|
2014-12-22 19:51:25 +00:00
|
|
|
margin-right: 40px;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
.comment .links {
|
2014-12-22 19:51:25 +00:00
|
|
|
padding: 0 0 0.25em 0;
|
|
|
|
}
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
.comment .links li {
|
2014-12-22 19:51:25 +00:00
|
|
|
padding: 0 0.5em 0 0; /* LTR */
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
font-size: 1.08em;
|
2014-12-22 19:51:25 +00:00
|
|
|
}
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
[dir="rtl"] .comment .links li {
|
2015-02-02 11:13:56 +00:00
|
|
|
padding: 0 0 0 0.5em;
|
2014-12-22 19:51:25 +00:00
|
|
|
}
|
2015-03-07 01:35:52 +00:00
|
|
|
.comment--unpublished {
|
2014-12-22 19:51:25 +00:00
|
|
|
margin-right: 5px; /* LTR */
|
|
|
|
padding: 5px 2px 5px 5px; /* LTR */
|
2015-02-20 09:34:43 +00:00
|
|
|
background: #fff4f4;
|
2014-12-22 19:51:25 +00:00
|
|
|
}
|
2015-03-07 01:35:52 +00:00
|
|
|
[dir="rtl"] .comment--unpublished {
|
2014-12-22 19:51:25 +00:00
|
|
|
margin-right: 0;
|
2019-04-01 17:16:16 +00:00
|
|
|
margin-left: 5px;
|
2014-12-22 19:51:25 +00:00
|
|
|
padding: 5px 5px 5px 2px;
|
|
|
|
}
|
Issue #2398463 by amolnw2778, DickJohnson, thamas, emma.maria, LewisNyman, tadityar, lauriii, Manjit.Singh, trboslav, haasontwerp, richgilbert, pguillard, rachel_norfolk, Maninders, rteijeiro: Clean up the "content" component in Bartik
2015-08-11 09:28:20 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @todo: unpublished nodes have class .node--unpublished.
|
|
|
|
* change this to .comment--unpublished.
|
|
|
|
*/
|
|
|
|
.unpublished .comment-text .comment-arrow {
|
|
|
|
border-right: 1px solid #fff4f4;
|
2019-04-01 17:16:16 +00:00
|
|
|
border-left: 1px solid #fff4f4;
|
Issue #2398463 by amolnw2778, DickJohnson, thamas, emma.maria, LewisNyman, tadityar, lauriii, Manjit.Singh, trboslav, haasontwerp, richgilbert, pguillard, rachel_norfolk, Maninders, rteijeiro: Clean up the "content" component in Bartik
2015-08-11 09:28:20 +00:00
|
|
|
}
|
|
|
|
.unpublished {
|
|
|
|
padding: 20px 15px 0;
|
|
|
|
}
|
|
|
|
.comment-footer {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
.comment--unpublished .comment__text:after,
|
|
|
|
.node--unpublished .comment__text:after {
|
2015-03-07 01:35:52 +00:00
|
|
|
border-right-color: #fff4f4; /* LTR */
|
|
|
|
}
|
Issue #2031883 by mortendk, rachel_norfolk, andypost, zestagio, epari.siva, nguerrier, Manjit.Singh, rteijeiro, MathieuSpil, pablo.guerino, HOG, lauriii, LewisNyman, joelpittet, Wim Leers, Cottser, minneapolisdan: Markup for: comment.html.twig
2015-07-30 11:33:32 +00:00
|
|
|
[dir="rtl"] .comment--unpublished .comment__content:after,
|
|
|
|
[dir="rtl"] .node--unpublished .comment__content:after {
|
2015-03-07 01:35:52 +00:00
|
|
|
border-left-color: #fff4f4;
|
|
|
|
}
|