Debian Codegraph @

extensions/DiscussionTools/modules/debughighlighter.less

raw
1 /* stylelint-disable color-named */
2
3 .ext-discussiontools-debughighlighter-timestamp {
4 border: 2px solid forestgreen;
5 border-radius: 6px;
6 margin: -2px;
7
8 &:hover::after {
9 content: ' ' attr( title );
10 }
11 }
12
13 .ext-discussiontools-debughighlighter-signature {
14 border: 2px solid blue;
15 border-bottom-left-radius: 6px;
16 border-top-left-radius: 6px;
17 border-right: 0;
18 margin: -2px;
19 margin-right: 0;
20
21 & + .ext-discussiontools-debughighlighter-timestamp {
22 border-left: 0;
23 padding-left: 0;
24 margin-left: 0;
25 border-bottom-left-radius: 0;
26 border-top-left-radius: 0;
27 }
28 }
29
30 .ext-discussiontools-debughighlighter-comment {
31 position: absolute;
32 opacity: 0.2;
33 pointer-events: none;
34
35 &:nth-of-type( 2n ) {
36 background: lightpink;
37 }
38
39 &:nth-of-type( 2n + 1 ) {
40 background: skyblue;
41 }
42
43 &-ruler {
44 position: absolute;
45 box-sizing: border-box;
46 border-left: 2px solid #ccc;
47 border-bottom: 2px solid #ccc;
48 border-bottom-left-radius: 3px;
49 }
50
51 &-warnings {
52 position: absolute;
53 color: transparent;
54 font-size: 0;
55 height: 1em;
56 width: 1em;
57 pointer-events: none;
58
59 &:hover {
60 background: white;
61 color: red;
62 font-size: inherit;
63 pointer-events: all;
64 }
65
66 &::before {
67 content: '⚠';
68 color: #000;
69 background: #fff;
70 font-size: 1rem;
71 pointer-events: all;
72 margin-left: -1em;
73 position: absolute;
74 z-index: 1;
75 }
76 }
77 }