mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
8d2304b3ed
It demonstrates how the DiscussionTools extension recognizes the threads and comments present on a page, to help in debugging or understanding its behavior. Co-Authored-By: Ed Sanders <esanders@wikimedia.org> Change-Id: Idbc90bd8d7742615178331889daae5f94a007fcc
66 lines
959 B
Plaintext
66 lines
959 B
Plaintext
.mw-dt-heading {
|
|
font-size: 110%;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.mw-dt-comment {
|
|
border: 1px solid #ccc;
|
|
border-radius: 3px;
|
|
padding: 5px;
|
|
margin-top: 0.5em;
|
|
|
|
> summary {
|
|
padding-left: 0.25em;
|
|
|
|
&:focus {
|
|
outline: 0;
|
|
background: #f0f3fc !important; /* stylelint-disable-line declaration-no-important */
|
|
}
|
|
}
|
|
|
|
> .mw-dt-comment {
|
|
margin-left: 1.5em;
|
|
}
|
|
|
|
&-body {
|
|
margin-left: 1.25em;
|
|
overflow: hidden;
|
|
}
|
|
|
|
> .mw-dt-comment[ data-level='1' ] {
|
|
margin-left: 0;
|
|
}
|
|
|
|
&-signature {
|
|
margin-left: 1.25em / 0.9;
|
|
font-size: 90%;
|
|
color: #666;
|
|
|
|
summary > & {
|
|
margin-left: 0.25em / 0.9;
|
|
}
|
|
}
|
|
|
|
&-author {
|
|
font-weight: bold;
|
|
}
|
|
|
|
[ data-level='1' ],
|
|
[ data-level='3' ],
|
|
[ data-level='5' ],
|
|
[ data-level='7' ],
|
|
[ data-level='9' ],
|
|
[ data-level='11' ] {
|
|
background: #f6f6f6;
|
|
}
|
|
|
|
[ data-level='0' ],
|
|
[ data-level='2' ],
|
|
[ data-level='4' ],
|
|
[ data-level='6' ],
|
|
[ data-level='8' ],
|
|
[ data-level='10' ] {
|
|
background: #fff;
|
|
}
|
|
}
|