-
Notifications
You must be signed in to change notification settings - Fork 0
/
sparkle.css
135 lines (109 loc) · 2.46 KB
/
sparkle.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
.sparkle-test pre,
.sparkle-test code,
.sparkle-test input,
.sparkle-test label,
.sparkle-test legend,
.sparkle-test select,
.sparkle-test textarea {
font-family: 'Source Code Pro', monospace;
}
fieldset.sparkle-test {
margin-top: 15px;
margin-bottom: 40px;
max-width: 800px;
border: 1px solid #666;
border-radius: 3px;
}
fieldset.sparkle-test > legend {
background-color: #f0f0f0;
border: 1px solid #666;
border-radius: 3px;
}
.sparkle-test pre {
background-color: #f0f0f0;
padding: 10px;
max-width: 780px;
/* http://stackoverflow.com/a/248013/704831 */
white-space: pre-wrap; /* CSS 3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
.sparkle-test .flare-input {
margin-bottom: 5px;
}
.sparkle-test input:not([type="range"]) {
padding: 3px;
border-radius: 3px;
border: 1px solid #888;
}
.sparkle-test input:invalid {
background-color: #DEAFB4;
}
.sparkle-test .flare-input-number,
.sparkle-test .flare-input-int-number {
width: 80px;
}
.sparkle-test fieldset {
border-radius: 3px;
margin-top: 5px;
margin-bottom: 20px;
}
.sparkle-test label {
width: 160px;
display: inline-block;
}
.sparkle-test legend {
padding: 2px 6px;
font-weight: 700;
}
.sparkle-test .flare-input-list button {
margin-left: 5px;
margin-right: 5px;
}
.sparkle-test .sparkle-okay {
background-color: #B4DEAF;
}
.sparkle-test .sparkle-warn {
background-color: #DEAFB4;
}
.sparkle-string {
color: #E91E63;
}
.sparkle-number {
color: #1339E8;
}
.sparkle-boolean {
font-weight: bold;
}
.sparkle-constructor {
font-weight: bold;
}
.sparkle-record-field {
font-style: italic;
}
.sparkle-color {
width: 1em;
height: 1em;
margin-right: 0.5em;
display: inline-block;
}
.sparkle-tooltip {
cursor: default;
}
.sparkle-tooltip:hover {
background-color: #f2e7a6;
}
.sparkle-tooltip > .sparkle-tooltip:hover {
background-color: #e9d563;
}
.sparkle-tooltip > .sparkle-tooltip > .sparkle-tooltip:hover {
background-color: #dfc220;
}
.sparkle-tooltip > .sparkle-tooltip > .sparkle-tooltip > .sparkle-tooltip:hover {
background-color: #938015;
}
.sparkle-tooltip > .sparkle-tooltip > .sparkle-tooltip > .sparkle-tooltip > .sparkle-tooltip:hover {
background-color: #62560e;
}