-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpointer-style.css
92 lines (84 loc) · 2.31 KB
/
pointer-style.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
/* General stuff for the page layout */
body {
font-family: 'Muli', helvetica, sans-serif;
margin: 0;
padding: 0;
}
.row {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: stretch;
}
.col {
padding: 0 1rem;
width: calc(50% - 2rem);
flex: 0 0 auto;
}
/* For the header */
header {
text-align: center;
padding: 1rem;
margin-bottpm: 1rem;
}
header h1,
header h2 {
margin: 0.25rem 0;
}
header ol {
list-style: none;
}
header ol li {
display: inline-block;
padding: 0 0.5rem;
border-right: 1px dotted #ccc;
}
header ol li:last-child {
border-right: none;
}
/* For the event capture box, and the log */
.event-source,
.event-log {
width: 100%;
height: 300px;
border: 1px solid #000;
margin-bottom: 10px;
}
.event-source {
display: table;
}
.event-source.over {
background: #ffc;
}
.event-source p {
display: table-cell;
vertical-align: middle;
text-align: center;
}
.event-log {
overflow: auto;
}
.event-log ul {
font-family: monospace;
list-style: none;
margin: 10px;
padding: 0;
}
p {
text-align: center;
}
/* Surprise! */
header.rainbow {
/* IE10+ */
background-image: -ms-linear-gradient(left, rgba(255,0,0,0.1) 0%, rgba(255,255,0,0.1) 25%, rgba(5,193,255,0.1) 50%, rgba(255,255,0,0.1) 75%, rgba(255,0,0,0.1) 100%);
/* Mozilla Firefox */
background-image: -moz-linear-gradient(left, rgba(255,0,0,0.1) 0%, rgba(255,255,0,0.1) 25%, rgba(5,193,255,0.1) 50%, rgba(255,255,0,0.1) 75%, rgba(255,0,0,0.1) 100%);
/* Opera */
background-image: -o-linear-gradient(left, rgba(255,0,0,0.1) 0%, rgba(255,255,0,0.1) 25%, rgba(5,193,255,0.1) 50%, rgba(255,255,0,0.1) 75%, rgba(255,0,0,0.1) 100%);
/* Webkit (Safari/Chrome 10) */
background-image: -webkit-gradient(linear, left top, right top, color-stop(0, rgba(255,0,0,0.1)), color-stop(25, rgba(255,255,0,0.1)), color-stop(50, rgba(5,193,255,0.1)), color-stop(75, rgba(255,255,0,0.1)), color-stop(100, rgba(255,0,0,0.1)));
/* Webkit (Chrome 11+) */
background-image: -webkit-linear-gradient(left, rgba(255,0,0,0.1) 0%, rgba(255,255,0,0.1) 25%, rgba(5,193,255,0.1) 50%, rgba(255,255,0,0.1) 75%, rgba(255,0,0,0.1) 100%);
/* W3C Markup */
background-image: linear-gradient(to right, rgba(255,0,0,0.1) 0%, rgba(255,255,0,0.1) 25%, rgba(5,193,255,0.1) 50%, rgba(255,255,0,0.1) 75%, rgba(255,0,0,0.1) 100%);
}