-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathknockthrough.css
More file actions
223 lines (189 loc) · 4.05 KB
/
knockthrough.css
File metadata and controls
223 lines (189 loc) · 4.05 KB
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
/* knockthrough.js
(c) Proactive Logic Consulting, Inc - http://proactivelogic.com/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
*/
/* nodes with binding errors.
!important is used to override any existing styles
so that you can see all errors
*/
/*
add space for the toolbar
*/
body {
padding-bottom: 200px;
}
/* toolbar */
#kt-toolbar {
position: fixed;
width: 100%;
height: 200px;
background-color: #f7f7f7;
padding: 5px;
bottom: 0px;
left: 0;
font-family: Helvetica, Arial, sans-serif;
font-size: 12px;
border-top: 5px solid #ddd;
box-shadow: 0 0 5px #888;
}
#kt-toolbar-hidden {
position: fixed;
width: 100%;
height: 40px;
background-color: #f7f7f7;
padding: 5px;
bottom: 0px;
right: 40px;
font-family: Helvetica, Arial, sans-serif;
font-size: 12px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
width: 100px;
border: solid 3px #ddd;
border-bottom: none;
box-shadow: 0 0 5px #888;
}
#kt-toolbar-left {
float: left;
width: 70%
}
#kt-toolbar-right {
float: right;
width: 25%;
text-align: right;
padding-right: 20px;
}
#kt-hide-toolbar-link {
display: block;
margin-bottom: 10px;
}
#kt-logo {
margin: 10px 0 0 0;
color: #666;
}
#kt-logo a
{
color: #2b40b7;
}
#kt-dump-model-cont {
padding: 5px;
background: #ddd;
float: right;
border-radius: 5px;
margin-bottom: 10px;
}
#kt-dump-model-link {
margin-left: 10px;
display: block;
}
#kt-toolbar-show-hidden-cont {
clear: both;
}
/* visible element debugging */
.kt-hidden-by-visible-binding {
background: #fff8d9 !important;
border: solid 2px #ffefad !important;
cursor: pointer;
margin: 5px; /* space out error nodes */
min-width: 50px; /* make sure they are visible */
min-height: 14px;
display: inline-block;
}
/* watch */
#kt-watch-select-list {
height: 200px;
overflow-y: scroll;
padding: 0;
margin: 0;
font-family: Arial, sans-serif;
}
#kt-watch-select-list ul {
list-style: none;
list-style-type: none;
font-size: 11px;
padding: 0;
margin: 0;
}
#kt-watch-select-list li {
display: block;
border-bottom: solid 1px #ddd;
padding: 5px 0;
margin: 0;
color: #999;
}
.kt-watch-data-points {
display: block;
margin-top: 5px;
padding-left: 70px;
}
.kt-watch-data-point-name {
font-weight: bold;
color: #666;
}
.kt-watch-data-point-from {
font-weight: bold;
background: #868f98;
color: #fff;
padding: 1px 10px;
}
.kt-watch-data-point-to {
font-weight: bold;
background: #91bb4d;
color: #fff;
padding: 1px 10px;
}
/* errors */
.kt-error-node {
background: #fadedd !important;
border: solid 2px #dc241f !important;
cursor: pointer;
margin: 5px; /* space out error nodes */
min-width: 50px; /* make sure they are visible */
min-height: 14px;
display: inline-block;
}
.kt-error-node.selected { background: #f4b9b7 !important; }
/* the hover error display */
.kt-dialog-container {
position: absolute;
background: #fff;
display: inline-block;
padding: 10px;
z-index: 9999;
border-radius: 10px;
border: solid 3px #ddd;
}
.kt-dialog-header {
}
.kt-dialog-body {
overflow-y: scroll;
}
.kt-dialog-message {
font-family: Helvetica, Arial, sans-serif;
font-size: 12px;
line-height: 1.6em;
}
.kt-error-context-dump {
font-family: Helvetica, Arial, sans-serif;
clear: both;
margin-top: 10px;
background: #f7f7f7;
padding: 5px;
}
.kt-error-close-btn {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 16px;
color: #666;
font-weight: bold;
margin: 0 0 5px 5px;
float: right;
cursor: pointer;
}
/* json */
.kt-error-context-dump pre {
background: transparent;
font-size: 12px;
line-height: 1.6em;
border: none;
}