-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdemo.css
92 lines (75 loc) · 1.22 KB
/
demo.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
.col {
display: inline-block;
vertical-align: top;
box-sizing: border-box;
width: 33%;
position: relative;
padding-right: 0.5em;
}
.ce-mirror {
opacity: 0.5;
}
.ce:focus {
outline: 0;
}
.highlights {
position: absolute;
}
.highlight {
position: absolute;
}
.highlight > span {
display: none;
}
.highlight:hover > span {
display: inline;
background: #fff;
font-weight: bold;
font-family: sans-serif;
font-size: 0.75em;
position: absolute;
top: 1px;
left: 1px;
}
.bounding {
position: absolute;
border: 1px solid;
padding: 2px;
margin: -3px 0 0 -3px;
border-radius: 3px;
pointer-events: none;
}
.highlights-native .highlight {
background: rgba( 255, 0, 0, 0.3 );
box-shadow: inset 0 0 0 1px #600;
}
.highlights-native .bounding {
border-color: #300;
}
.highlights-fixed .highlight {
background: rgba( 0, 170, 0, 0.3 );
box-shadow: inset 0 0 0 1px #060;
}
.highlights-fixed .bounding {
border-color: #030;
}
.features {
margin: 20px auto;
border-collapse: collapse;
}
.features caption {
font-weight: bold;
}
.features td {
border: 1px solid #bbb;
padding: 5px 10px;
}
.features .working {
background: #beb;
}
.features .broken {
background: #ebb;
}
.features .isBroken-getClientRects {
width: 6em;
}