2021-03-10 17:25:52 +00:00
|
|
|
span[ data-mw-comment-start ] {
|
|
|
|
// Give comment anchors a negative offset so we don't position
|
|
|
|
// them right at the edge of the page when jumping to them
|
|
|
|
position: relative;
|
2021-04-29 18:03:37 +00:00
|
|
|
top: -1em;
|
2021-03-10 17:25:52 +00:00
|
|
|
}
|
|
|
|
|
2021-03-13 14:39:39 +00:00
|
|
|
.ext-discussiontools-init-replylink-buttons {
|
2019-10-30 16:12:27 +00:00
|
|
|
user-select: none;
|
2021-02-10 15:36:13 +00:00
|
|
|
display: none;
|
2019-10-30 16:12:27 +00:00
|
|
|
|
2021-01-08 17:05:32 +00:00
|
|
|
.mw-content-ltr & {
|
|
|
|
/* @noflip */
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-content-rtl & {
|
|
|
|
/* @noflip */
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
2021-03-13 14:39:39 +00:00
|
|
|
.ext-discussiontools-replytool-enabled & {
|
2021-02-10 15:36:13 +00:00
|
|
|
// Chromium bug (T260072): Element with `user-select: none` at the end of a paragraph causes
|
|
|
|
// triple-click (to select the paragraph) to also select the first character of the next paragraph
|
|
|
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=1116214
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
|
|
.client-nojs & {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-09-16 12:07:27 +00:00
|
|
|
}
|
|
|
|
|
2021-03-13 14:39:39 +00:00
|
|
|
.ext-discussiontools-init-replylink {
|
2020-06-09 18:55:14 +00:00
|
|
|
&-reply {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Similar to mw-editsection-bracket
|
|
|
|
&-bracket {
|
|
|
|
color: #54595d;
|
|
|
|
|
2021-01-08 17:05:32 +00:00
|
|
|
.mw-content-ltr &:first-of-type,
|
|
|
|
.mw-content-rtl &:not( :first-of-type ) {
|
|
|
|
/* @noflip */
|
2020-06-09 18:55:14 +00:00
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
|
2021-01-08 17:05:32 +00:00
|
|
|
.mw-content-ltr &:not( :first-of-type ),
|
|
|
|
.mw-content-rtl &:first-of-type {
|
|
|
|
/* @noflip */
|
2020-06-09 18:55:14 +00:00
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
2020-04-20 22:49:20 +00:00
|
|
|
}
|
|
|
|
|
2021-03-13 14:39:39 +00:00
|
|
|
&.ext-discussiontools-init-replylink-active {
|
2019-11-25 16:20:41 +00:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2021-03-13 14:39:39 +00:00
|
|
|
.ext-discussiontools-init-replylink-open & > a {
|
2019-10-30 16:12:27 +00:00
|
|
|
color: #72777d;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2020-08-10 15:54:45 +00:00
|
|
|
|
|
|
|
@media print {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-10-30 16:12:27 +00:00
|
|
|
}
|
2019-11-13 13:57:57 +00:00
|
|
|
|
2021-03-13 14:39:39 +00:00
|
|
|
.ext-discussiontools-init-highlight {
|
2019-11-13 13:57:57 +00:00
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
2020-11-30 23:32:29 +00:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@supports ( mix-blend-mode: multiply ) {
|
2021-05-31 19:31:01 +00:00
|
|
|
.ext-discussiontools-init-highlight {
|
2020-11-30 23:32:29 +00:00
|
|
|
mix-blend-mode: multiply;
|
2020-12-14 22:56:08 +00:00
|
|
|
// Support: Safari
|
|
|
|
// Safari doesn't blend this overlay with the text unless GPU rendering is forced.
|
|
|
|
transform: translateZ( 0 );
|
2020-11-30 23:32:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-13 14:39:39 +00:00
|
|
|
.ext-discussiontools-init-highlight-fadein {
|
2019-11-13 13:57:57 +00:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2021-03-13 14:39:39 +00:00
|
|
|
.ext-discussiontools-init-highlight-fadeout {
|
2019-11-13 13:57:57 +00:00
|
|
|
opacity: 0;
|
2021-02-04 19:12:03 +00:00
|
|
|
transition: opacity 250ms ease-out;
|
2019-11-13 13:57:57 +00:00
|
|
|
}
|
2021-02-17 22:34:02 +00:00
|
|
|
|
2021-04-29 18:03:37 +00:00
|
|
|
.ext-discussiontools-init-publishedcomment {
|
|
|
|
// Support: IE11
|
|
|
|
// On supporting browsers, we instead use non-transparent color with mix-blend-mode.
|
|
|
|
// Identical to #ffe29e on white background.
|
|
|
|
background-color: rgba( 255, 198, 60, 0.5 );
|
|
|
|
}
|
|
|
|
|
|
|
|
@supports ( mix-blend-mode: multiply ) {
|
|
|
|
.ext-discussiontools-init-publishedcomment {
|
|
|
|
background-color: #ffe29e;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-init-targetcomment {
|
|
|
|
// Support: IE11, see above
|
|
|
|
background-color: rgba( 216, 235, 255, 0.5 );
|
|
|
|
}
|
|
|
|
|
|
|
|
@supports ( mix-blend-mode: multiply ) {
|
|
|
|
.ext-discussiontools-init-targetcomment {
|
|
|
|
// Same color as the :target selector for references (from Cite).
|
|
|
|
// Not sure if that's a good idea, but it should be different from -publishedcomment.
|
|
|
|
background-color: #eaf3ff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-17 22:34:02 +00:00
|
|
|
// NB Directional properties for anything immediately visible
|
|
|
|
// in the header must be based on content direction.
|
2021-05-05 11:44:51 +00:00
|
|
|
.ext-discussiontools-init-section {
|
2021-02-17 22:34:02 +00:00
|
|
|
&-subscribe {
|
|
|
|
display: none;
|
|
|
|
|
2021-05-05 11:44:51 +00:00
|
|
|
.mw-content-ltr & {
|
|
|
|
/* @noflip */
|
|
|
|
float: right;
|
|
|
|
}
|
2021-02-17 22:34:02 +00:00
|
|
|
|
2021-05-05 11:44:51 +00:00
|
|
|
.mw-content-rtl & {
|
|
|
|
/* @noflip */
|
|
|
|
float: left;
|
|
|
|
}
|
2021-02-17 22:34:02 +00:00
|
|
|
|
2021-05-05 11:44:51 +00:00
|
|
|
&.mw-editsection-like {
|
|
|
|
-moz-user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
margin-top: 0.7em;
|
2021-02-17 22:34:02 +00:00
|
|
|
}
|
|
|
|
|
2021-05-05 11:44:51 +00:00
|
|
|
.ext-discussiontools-topicsubscription-enabled & {
|
2021-02-17 22:34:02 +00:00
|
|
|
display: block;
|
2021-05-05 11:44:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Similar to mw-editsection-bracket
|
|
|
|
&-bracket {
|
|
|
|
color: #54595d;
|
|
|
|
|
|
|
|
.mw-content-ltr &:first-of-type,
|
|
|
|
.mw-content-rtl &:not( :first-of-type ) {
|
|
|
|
/* @noflip */
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-content-ltr &:not( :first-of-type ),
|
|
|
|
.mw-content-rtl &:first-of-type {
|
|
|
|
/* @noflip */
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
2021-02-17 22:34:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|