2020-03-06 15:20:42 +00:00
|
|
|
.dt-init-replylink-buttons {
|
2019-10-30 16:12:27 +00:00
|
|
|
user-select: none;
|
2020-10-02 17:17:34 +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;
|
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;
|
|
|
|
}
|
|
|
|
|
2020-09-16 12:07:27 +00:00
|
|
|
.client-nojs & {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-06-09 18:55:14 +00:00
|
|
|
.dt-init-replylink {
|
|
|
|
&-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
|
|
|
}
|
|
|
|
|
2019-11-25 16:20:41 +00:00
|
|
|
&.dt-init-replylink-active {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2020-03-06 15:20:42 +00:00
|
|
|
.dt-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
|
|
|
|
|
|
|
.dt-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 ) {
|
|
|
|
.dt-init-highlight-overlay {
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.dt-init-highlight {
|
|
|
|
background-color: #ffe29e;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dt-init-highlight-fadein {
|
2019-11-13 13:57:57 +00:00
|
|
|
opacity: 1;
|
2020-11-30 23:32:29 +00:00
|
|
|
transition: opacity 100ms;
|
2019-11-13 13:57:57 +00:00
|
|
|
}
|
|
|
|
|
2020-11-30 23:32:29 +00:00
|
|
|
.dt-init-highlight-fadeout {
|
2019-11-13 13:57:57 +00:00
|
|
|
opacity: 0;
|
2020-11-30 23:32:29 +00:00
|
|
|
transition: opacity 500ms ease-out;
|
2019-11-13 13:57:57 +00:00
|
|
|
}
|