2021-03-13 14:39:39 +00:00
|
|
|
// TODO: Remove dt- prefixed classes once HTML caches have cleared
|
|
|
|
.dt-init-replylink-buttons,
|
|
|
|
.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
|
|
|
.dt-replytool-enabled &,
|
|
|
|
.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
|
|
|
.dt-init-replylink,
|
|
|
|
.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 {
|
2020-11-30 23:32:29 +00:00
|
|
|
// 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 );
|
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-03-13 14:39:39 +00:00
|
|
|
.ext-discussiontools-init-highlight-overlay {
|
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 {
|
2020-11-30 23:32:29 +00:00
|
|
|
background-color: #ffe29e;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|