mediawiki-extensions-Discus.../modules/highlighter.css
Ed Sanders cb4a833cd2 Stylelint: Enforce class prefixes
Change-Id: Id3f13f73f63883277044cd24c9e27874c688577f
2020-12-23 16:47:55 +00:00

79 lines
1.4 KiB
CSS

/* stylelint-disable color-named */
/* stylelint-disable unit-blacklist */
.dt-highlighter-timestamp {
border: 2px solid forestgreen;
border-radius: 6px;
margin: -2px;
}
.dt-highlighter-signature {
border: 2px solid blue;
border-bottom-left-radius: 6px;
border-top-left-radius: 6px;
border-right: 0;
margin: -2px;
margin-right: 0;
}
.dt-highlighter-signature + .dt-highlighter-timestamp {
border-left: 0;
padding-left: 0;
margin-left: 0;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
.dt-highlighter-timestamp:hover:after {
content: ' ' attr( title );
}
.dt-highlighter-comment {
position: absolute;
opacity: 0.2;
pointer-events: none;
}
.dt-highlighter-comment:nth-of-type( 2n ) {
background: lightpink;
}
.dt-highlighter-comment:nth-of-type( 2n + 1 ) {
background: skyblue;
}
.dt-highlighter-comment-ruler {
position: absolute;
box-sizing: border-box;
border-left: 2px solid #ccc;
border-bottom: 2px solid #ccc;
border-bottom-left-radius: 3px;
}
.dt-highlighter-comment-warnings {
position: absolute;
color: transparent;
font-size: 0;
height: 1em;
width: 1em;
pointer-events: none;
}
.dt-highlighter-comment-warnings:hover {
background: white;
color: red;
font-size: inherit;
pointer-events: all;
}
.dt-highlighter-comment-warnings:before {
content: '⚠';
color: #000;
background: #fff;
font-size: 1rem;
pointer-events: all;
margin-left: -1em;
position: absolute;
z-index: 1;
}