mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-18 11:02:57 +00:00
b6136c9a58
Change-Id: I8c3873fb345fee3687efb1632f3eae36c030f9cf
78 lines
1.3 KiB
Plaintext
78 lines
1.3 KiB
Plaintext
/* stylelint-disable color-named */
|
|
|
|
.ext-discussiontools-debughighlighter-timestamp {
|
|
border: 2px solid forestgreen;
|
|
border-radius: 6px;
|
|
margin: -2px;
|
|
|
|
&:hover:after {
|
|
content: ' ' attr( title );
|
|
}
|
|
}
|
|
|
|
.ext-discussiontools-debughighlighter-signature {
|
|
border: 2px solid blue;
|
|
border-bottom-left-radius: 6px;
|
|
border-top-left-radius: 6px;
|
|
border-right: 0;
|
|
margin: -2px;
|
|
margin-right: 0;
|
|
|
|
& + .ext-discussiontools-debughighlighter-timestamp {
|
|
border-left: 0;
|
|
padding-left: 0;
|
|
margin-left: 0;
|
|
border-bottom-left-radius: 0;
|
|
border-top-left-radius: 0;
|
|
}
|
|
}
|
|
|
|
.ext-discussiontools-debughighlighter-comment {
|
|
position: absolute;
|
|
opacity: 0.2;
|
|
pointer-events: none;
|
|
|
|
&:nth-of-type( 2n ) {
|
|
background: lightpink;
|
|
}
|
|
|
|
&:nth-of-type( 2n + 1 ) {
|
|
background: skyblue;
|
|
}
|
|
|
|
&-ruler {
|
|
position: absolute;
|
|
box-sizing: border-box;
|
|
border-left: 2px solid #ccc;
|
|
border-bottom: 2px solid #ccc;
|
|
border-bottom-left-radius: 3px;
|
|
}
|
|
|
|
&-warnings {
|
|
position: absolute;
|
|
color: transparent;
|
|
font-size: 0;
|
|
height: 1em;
|
|
width: 1em;
|
|
pointer-events: none;
|
|
|
|
&:hover {
|
|
background: white;
|
|
color: red;
|
|
font-size: inherit;
|
|
pointer-events: all;
|
|
}
|
|
|
|
&:before {
|
|
content: '⚠';
|
|
color: #000;
|
|
background: #fff;
|
|
font-size: 1rem;
|
|
pointer-events: all;
|
|
margin-left: -1em;
|
|
position: absolute;
|
|
z-index: 1;
|
|
}
|
|
}
|
|
}
|