rack-mini-profiler 0.10.2 → 0.10.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5ecd2f33ab275645797ab70ae9ba6cfe498ca87
4
- data.tar.gz: eacfe92f9cad96c73505efff1b319531ad327426
3
+ metadata.gz: 95c41a418f4dba907b768b7c03f2bcb57d726e29
4
+ data.tar.gz: 1dc4e923440be3b8b8230bce372051cc70569d78
5
5
  SHA512:
6
- metadata.gz: 0b7dbc766bb2e93d055a6710b661cc26d49a3ea3ed8bf3dc78604cfbcded5e08b75a22fd05623a38f0af05dccb3103f5d53aabda4eea69690df17292cf3a4012
7
- data.tar.gz: 1d84e3daf3b7a27bbd22b563c8ff2b70ccdf6de6d39a9707357e4229886ff901b7496230cfc3707702064a66caa3cc5123f5492c78c649bf8b288a03262151f5
6
+ metadata.gz: 3de6ae27c0700dd63208478bc39a0b9f5b47f4c1fa82ac137f7529fa265acc6b310afda9cf06db7bb2e66e2a9e47dd4d3f2113370589f32c399333aa72e95a32
7
+ data.tar.gz: efa1662cc45ea54d1349a4b9529d14c5066cbd8761dbdc43da04a46c4224f82e0144e4fe0019c5735db4ff5a3ecf9566e664d64a920d51ea0a4b6008ff082336
data/CHANGELOG.md CHANGED
@@ -1,6 +1,15 @@
1
1
  # CHANGELOG
2
2
 
3
- ## 0.10.1 2017-02-08
3
+ ## 0.10.3 2017-05-17
4
+
5
+ - [FEATURE] log binds for pg @neznauy
6
+ - [FIX] use async exec pg monkey patch instead of exec
7
+ - [FEATURE] nuke less css and use sass instead
8
+ - [FIX] use jQuery on instead of bind
9
+ - [FIX] ensure redis get_unviewed_ids returns only ids that exist
10
+ - [FIX] correctly respect SCRIPT in env if it is sniffed by middleware
11
+
12
+ ## 0.10.2 2017-02-08
4
13
 
5
14
  - [FIX] improve turbolinks support
6
15
  - [FEATURE] make location of mini_profiler injection customizable
data/README.md CHANGED
@@ -180,6 +180,20 @@ rack-mini-profiler is designed with production profiling in mind. To enable that
180
180
  end
181
181
  ```
182
182
 
183
+ Note:
184
+
185
+ Out-of-the-box we will initialize the autorization_mode to :whitelist in production. However, in some cases we may not be able to do it:
186
+
187
+ - If you are running in development or test we will not enable whitelist mode
188
+ - If you use `require: false` on rack_mini_profiler we are unlikely to be able to run the railstie
189
+ - If ou are running outside of rails we will not run the railstie
190
+
191
+ In those cases use:
192
+
193
+ ```
194
+ Rack::MiniProfiler.config.authorization_mode = :whitelist
195
+ ```
196
+
183
197
  ## Configuration
184
198
 
185
199
  Various aspects of rack-mini-profiler's behavior can be configured when your app boots.
@@ -1,415 +1,272 @@
1
- .profiler-result,
2
- .profiler-queries {
1
+ @charset "UTF-8";
2
+ .profiler-result, .profiler-queries {
3
3
  color: #555;
4
4
  line-height: 1;
5
- font-size: 12px;
6
- }
7
- .profiler-result pre,
8
- .profiler-queries pre,
9
- .profiler-result code,
10
- .profiler-queries code,
11
- .profiler-result label,
12
- .profiler-queries label,
13
- .profiler-result table,
14
- .profiler-queries table,
15
- .profiler-result tbody,
16
- .profiler-queries tbody,
17
- .profiler-result thead,
18
- .profiler-queries thead,
19
- .profiler-result tfoot,
20
- .profiler-queries tfoot,
21
- .profiler-result tr,
22
- .profiler-queries tr,
23
- .profiler-result th,
24
- .profiler-queries th,
25
- .profiler-result td,
26
- .profiler-queries td {
27
- margin: 0;
28
- padding: 0;
29
- border: 0;
30
- font-size: 100%;
31
- font: inherit;
32
- vertical-align: baseline;
33
- background-color: transparent;
34
- overflow: visible;
35
- max-height: none;
36
- }
37
- .profiler-result table,
38
- .profiler-queries table {
39
- border-collapse: collapse;
40
- border-spacing: 0;
41
- }
42
- .profiler-result a,
43
- .profiler-queries a,
44
- .profiler-result a:hover,
45
- .profiler-queries a:hover {
46
- cursor: pointer;
47
- color: #0077cc;
48
- }
49
- .profiler-result a,
50
- .profiler-queries a {
51
- text-decoration: none;
52
- }
53
- .profiler-result a:hover,
54
- .profiler-queries a:hover {
55
- text-decoration: underline;
56
- }
5
+ font-size: 12px; }
6
+ .profiler-result pre, .profiler-result code, .profiler-result label, .profiler-result table, .profiler-result tbody, .profiler-result thead, .profiler-result tfoot, .profiler-result tr, .profiler-result th, .profiler-result td, .profiler-queries pre, .profiler-queries code, .profiler-queries label, .profiler-queries table, .profiler-queries tbody, .profiler-queries thead, .profiler-queries tfoot, .profiler-queries tr, .profiler-queries th, .profiler-queries td {
7
+ margin: 0;
8
+ padding: 0;
9
+ border: 0;
10
+ font-size: 100%;
11
+ font: inherit;
12
+ vertical-align: baseline;
13
+ background-color: transparent;
14
+ overflow: visible;
15
+ max-height: none; }
16
+ .profiler-result table, .profiler-queries table {
17
+ border-collapse: collapse;
18
+ border-spacing: 0; }
19
+ .profiler-result a, .profiler-result a:hover, .profiler-queries a, .profiler-queries a:hover {
20
+ cursor: pointer;
21
+ color: #0077CC; }
22
+ .profiler-result a, .profiler-queries a {
23
+ text-decoration: none; }
24
+ .profiler-result a:hover, .profiler-queries a:hover {
25
+ text-decoration: underline; }
26
+
57
27
  .profiler-result {
58
- font-family: Helvetica, Arial, sans-serif;
59
- }
60
- .profiler-result .profiler-toggle-duration-with-children {
61
- float: right;
62
- }
63
- .profiler-result table.profiler-client-timings {
64
- margin-top: 10px;
65
- }
66
- .profiler-result .profiler-label {
67
- color: #555555;
68
- overflow: hidden;
69
- text-overflow: ellipsis;
70
- }
71
- .profiler-result .profiler-unit {
72
- color: #aaaaaa;
73
- }
74
- .profiler-result .profiler-trivial {
75
- display: none;
76
- }
77
- .profiler-result .profiler-trivial td,
78
- .profiler-result .profiler-trivial td * {
79
- color: #aaaaaa !important;
80
- }
81
- .profiler-result pre,
82
- .profiler-result code,
83
- .profiler-result .profiler-number,
84
- .profiler-result .profiler-unit {
85
- font-family: Consolas, monospace, serif;
86
- }
87
- .profiler-result .profiler-number {
88
- color: #111111;
89
- }
90
- .profiler-result .profiler-info {
91
- text-align: right;
92
- }
93
- .profiler-result .profiler-info .profiler-name {
94
- float: left;
95
- }
96
- .profiler-result .profiler-info .profiler-server-time {
97
- white-space: nowrap;
98
- }
99
- .profiler-result .profiler-timings th {
100
- background-color: #fff;
101
- color: #aaaaaa;
102
- text-align: right;
103
- }
104
- .profiler-result .profiler-timings th,
105
- .profiler-result .profiler-timings td {
106
- white-space: nowrap;
107
- }
108
- .profiler-result .profiler-timings .profiler-duration-with-children {
109
- display: none;
110
- }
111
- .profiler-result .profiler-timings .profiler-duration {
112
- font-family: Consolas, monospace, serif;
113
- color: #111111;
114
- text-align: right;
115
- }
116
- .profiler-result .profiler-timings .profiler-indent {
117
- letter-spacing: 4px;
118
- }
119
- .profiler-result .profiler-timings .profiler-queries-show .profiler-number,
120
- .profiler-result .profiler-timings .profiler-queries-show .profiler-unit {
121
- color: #0077cc;
122
- }
123
- .profiler-result .profiler-timings .profiler-queries-duration {
124
- padding-left: 6px;
125
- }
126
- .profiler-result .profiler-timings .profiler-percent-in-sql {
127
- white-space: nowrap;
128
- text-align: right;
129
- }
130
- .profiler-result .profiler-timings tfoot td {
131
- padding-top: 10px;
132
- text-align: right;
133
- }
134
- .profiler-result .profiler-timings tfoot td a {
135
- font-size: 95%;
136
- display: inline-block;
137
- margin-left: 12px;
138
- }
139
- .profiler-result .profiler-timings tfoot td a:first-child {
140
- float: left;
141
- margin-left: 0px;
142
- }
143
- .profiler-result .profiler-timings tfoot td a.profiler-custom-link {
144
- float: left;
145
- }
146
- .profiler-result .profiler-queries {
147
- font-family: Helvetica, Arial, sans-serif;
148
- }
149
- .profiler-result .profiler-queries .profiler-stack-trace {
150
- margin-bottom: 15px;
151
- }
152
- .profiler-result .profiler-queries tbody tr {
153
- border-bottom: 1px solid #f1f1f1;
154
- }
155
- .profiler-result .profiler-queries tr {
156
- background-color: #FFF;
157
- }
158
- .profiler-result .profiler-queries tr.slow {
159
- background-color: #FEE;
160
- }
161
- .profiler-result .profiler-queries tr.very-slow {
162
- background-color: #FDD;
163
- }
164
- .profiler-result .profiler-queries tr.very-very-slow {
165
- background-color: #FCC;
166
- }
167
- .profiler-result .profiler-queries pre {
168
- font-family: Consolas, monospace, serif;
169
- white-space: pre-wrap;
170
- }
171
- .profiler-result .profiler-queries th {
172
- background-color: #fff;
173
- border-bottom: 1px solid #555;
174
- font-weight: bold;
175
- padding: 15px;
176
- white-space: nowrap;
177
- }
178
- .profiler-result .profiler-queries td {
179
- padding: 15px;
180
- text-align: left;
181
- }
182
- .profiler-result .profiler-queries td:last-child {
183
- padding-right: 25px;
184
- }
185
- .profiler-result .profiler-queries .profiler-since-start,
186
- .profiler-result .profiler-queries .profiler-duration {
187
- text-align: right;
188
- }
189
- .profiler-result .profiler-queries .profiler-info div {
190
- text-align: right;
191
- margin-bottom: 5px;
192
- }
193
- .profiler-result .profiler-queries .profiler-gap-info,
194
- .profiler-result .profiler-queries .profiler-gap-info td {
195
- background-color: #ccc;
196
- }
197
- .profiler-result .profiler-queries .profiler-gap-info .profiler-unit {
198
- color: #777;
199
- }
200
- .profiler-result .profiler-queries .profiler-gap-info .profiler-info {
201
- text-align: right;
202
- }
203
- .profiler-result .profiler-queries .profiler-gap-info.profiler-trivial-gaps {
204
- display: none;
205
- }
206
- .profiler-result .profiler-queries .profiler-trivial-gap-container {
207
- text-align: center;
208
- }
209
- .profiler-result .profiler-queries .str {
210
- color: #800000;
211
- }
212
- .profiler-result .profiler-queries .kwd {
213
- color: #00008b;
214
- }
215
- .profiler-result .profiler-queries .com {
216
- color: #808080;
217
- }
218
- .profiler-result .profiler-queries .typ {
219
- color: #2b91af;
220
- }
221
- .profiler-result .profiler-queries .lit {
222
- color: #800000;
223
- }
224
- .profiler-result .profiler-queries .pun {
225
- color: #000000;
226
- }
227
- .profiler-result .profiler-queries .pln {
228
- color: #000000;
229
- }
230
- .profiler-result .profiler-queries .tag {
231
- color: #800000;
232
- }
233
- .profiler-result .profiler-queries .atn {
234
- color: #ff0000;
235
- }
236
- .profiler-result .profiler-queries .atv {
237
- color: #0000ff;
238
- }
239
- .profiler-result .profiler-queries .dec {
240
- color: #800080;
241
- }
242
- .profiler-result .profiler-warning,
243
- .profiler-result .profiler-warning *,
244
- .profiler-result .profiler-warning .profiler-queries-show,
245
- .profiler-result .profiler-warning .profiler-queries-show .profiler-unit {
246
- color: #f00;
247
- }
248
- .profiler-result .profiler-warning:hover,
249
- .profiler-result .profiler-warning *:hover,
250
- .profiler-result .profiler-warning .profiler-queries-show:hover,
251
- .profiler-result .profiler-warning .profiler-queries-show .profiler-unit:hover {
252
- color: #f00;
253
- }
254
- .profiler-result .profiler-nuclear {
255
- color: #f00;
256
- font-weight: bold;
257
- padding-right: 2px;
258
- }
259
- .profiler-result .profiler-nuclear:hover {
260
- color: #f00;
261
- }
28
+ font-family: Helvetica, Arial, sans-serif; }
29
+ .profiler-result .profiler-toggle-duration-with-children {
30
+ float: right; }
31
+ .profiler-result table.profiler-client-timings {
32
+ margin-top: 10px; }
33
+ .profiler-result .profiler-label {
34
+ color: #555;
35
+ overflow: hidden;
36
+ text-overflow: ellipsis; }
37
+ .profiler-result .profiler-unit {
38
+ color: #aaa; }
39
+ .profiler-result .profiler-trivial {
40
+ display: none; }
41
+ .profiler-result .profiler-trivial td, .profiler-result .profiler-trivial td * {
42
+ color: #aaa !important; }
43
+ .profiler-result pre, .profiler-result code, .profiler-result .profiler-number, .profiler-result .profiler-unit {
44
+ font-family: Consolas, monospace, serif; }
45
+ .profiler-result .profiler-number {
46
+ color: #111; }
47
+ .profiler-result .profiler-info {
48
+ text-align: right; }
49
+ .profiler-result .profiler-info .profiler-name {
50
+ float: left; }
51
+ .profiler-result .profiler-info .profiler-server-time {
52
+ white-space: nowrap; }
53
+ .profiler-result .profiler-timings th {
54
+ background-color: #fff;
55
+ color: #aaa;
56
+ text-align: right; }
57
+ .profiler-result .profiler-timings th, .profiler-result .profiler-timings td {
58
+ white-space: nowrap; }
59
+ .profiler-result .profiler-timings .profiler-duration-with-children {
60
+ display: none; }
61
+ .profiler-result .profiler-timings .profiler-duration {
62
+ color: #111;
63
+ text-align: right; }
64
+ .profiler-result .profiler-timings .profiler-indent {
65
+ letter-spacing: 4px; }
66
+ .profiler-result .profiler-timings .profiler-queries-show .profiler-number, .profiler-result .profiler-timings .profiler-queries-show .profiler-unit {
67
+ color: #0077CC; }
68
+ .profiler-result .profiler-timings .profiler-queries-duration {
69
+ padding-left: 6px; }
70
+ .profiler-result .profiler-timings .profiler-percent-in-sql {
71
+ white-space: nowrap;
72
+ text-align: right; }
73
+ .profiler-result .profiler-timings tfoot td {
74
+ padding-top: 10px;
75
+ text-align: right; }
76
+ .profiler-result .profiler-timings tfoot td a {
77
+ font-size: 95%;
78
+ display: inline-block;
79
+ margin-left: 12px; }
80
+ .profiler-result .profiler-timings tfoot td a:first-child {
81
+ float: left;
82
+ margin-left: 0px; }
83
+ .profiler-result .profiler-timings tfoot td a.profiler-custom-link {
84
+ float: left; }
85
+ .profiler-result .profiler-queries {
86
+ font-family: Helvetica, Arial, sans-serif; }
87
+ .profiler-result .profiler-queries .profiler-stack-trace {
88
+ margin-bottom: 15px; }
89
+ .profiler-result .profiler-queries tbody tr {
90
+ border-bottom: 1px solid #f1f1f1; }
91
+ .profiler-result .profiler-queries tr {
92
+ background-color: #FFF; }
93
+ .profiler-result .profiler-queries tr.slow {
94
+ background-color: #FEE; }
95
+ .profiler-result .profiler-queries tr.very-slow {
96
+ background-color: #FDD; }
97
+ .profiler-result .profiler-queries tr.very-very-slow {
98
+ background-color: #FCC; }
99
+ .profiler-result .profiler-queries pre {
100
+ font-family: Consolas, monospace, serif;
101
+ white-space: pre-wrap; }
102
+ .profiler-result .profiler-queries th {
103
+ background-color: #fff;
104
+ border-bottom: 1px solid #555;
105
+ font-weight: bold;
106
+ padding: 15px;
107
+ white-space: nowrap; }
108
+ .profiler-result .profiler-queries td {
109
+ padding: 15px;
110
+ text-align: left; }
111
+ .profiler-result .profiler-queries td:last-child {
112
+ padding-right: 25px; }
113
+ .profiler-result .profiler-queries .profiler-since-start, .profiler-result .profiler-queries .profiler-duration {
114
+ text-align: right; }
115
+ .profiler-result .profiler-queries .profiler-info div {
116
+ text-align: right;
117
+ margin-bottom: 5px; }
118
+ .profiler-result .profiler-queries .profiler-gap-info, .profiler-result .profiler-queries .profiler-gap-info td {
119
+ background-color: #ccc; }
120
+ .profiler-result .profiler-queries .profiler-gap-info .profiler-unit {
121
+ color: #777; }
122
+ .profiler-result .profiler-queries .profiler-gap-info .profiler-info {
123
+ text-align: right; }
124
+ .profiler-result .profiler-queries .profiler-gap-info.profiler-trivial-gaps {
125
+ display: none; }
126
+ .profiler-result .profiler-queries .profiler-trivial-gap-container {
127
+ text-align: center; }
128
+ .profiler-result .profiler-queries .str {
129
+ color: maroon; }
130
+ .profiler-result .profiler-queries .kwd {
131
+ color: #00008b; }
132
+ .profiler-result .profiler-queries .com {
133
+ color: gray; }
134
+ .profiler-result .profiler-queries .typ {
135
+ color: #2b91af; }
136
+ .profiler-result .profiler-queries .lit {
137
+ color: maroon; }
138
+ .profiler-result .profiler-queries .pun {
139
+ color: #000; }
140
+ .profiler-result .profiler-queries .pln {
141
+ color: #000; }
142
+ .profiler-result .profiler-queries .tag {
143
+ color: maroon; }
144
+ .profiler-result .profiler-queries .atn {
145
+ color: red; }
146
+ .profiler-result .profiler-queries .atv {
147
+ color: blue; }
148
+ .profiler-result .profiler-queries .dec {
149
+ color: purple; }
150
+ .profiler-result .profiler-warning, .profiler-result .profiler-warning *, .profiler-result .profiler-warning .profiler-queries-show, .profiler-result .profiler-warning .profiler-queries-show .profiler-unit {
151
+ color: #f00; }
152
+ .profiler-result .profiler-warning:hover, .profiler-result .profiler-warning *:hover, .profiler-result .profiler-warning .profiler-queries-show:hover, .profiler-result .profiler-warning .profiler-queries-show .profiler-unit:hover {
153
+ color: #f00; }
154
+ .profiler-result .profiler-nuclear {
155
+ color: #f00;
156
+ font-weight: bold;
157
+ padding-right: 2px; }
158
+ .profiler-result .profiler-nuclear:hover {
159
+ color: #f00; }
160
+
262
161
  .profiler-results {
263
162
  z-index: 2147483643;
264
163
  position: fixed;
265
- top: 0px;
266
- }
267
- .profiler-results.profiler-left {
268
- left: 0px;
269
- }
270
- .profiler-results.profiler-left.profiler-no-controls .profiler-totals,
271
- .profiler-results.profiler-left.profiler-no-controls .profiler-result:last-child .profiler-button,
272
- .profiler-results.profiler-left .profiler-controls {
273
- -webkit-border-bottom-right-radius: 10px;
274
- -moz-border-radius-bottomright: 10px;
275
- border-bottom-right-radius: 10px;
276
- }
277
- .profiler-results.profiler-left .profiler-button,
278
- .profiler-results.profiler-left .profiler-controls {
279
- border-right: 1px solid #888888;
280
- }
281
- .profiler-results.profiler-right {
282
- right: 0px;
283
- }
284
- .profiler-results.profiler-right.profiler-no-controls .profiler-totals,
285
- .profiler-results.profiler-right.profiler-no-controls .profiler-result:last-child .profiler-button,
286
- .profiler-results.profiler-right .profiler-controls {
287
- -webkit-border-bottom-left-radius: 10px;
288
- -moz-border-radius-bottomleft: 10px;
289
- border-bottom-left-radius: 10px;
290
- }
291
- .profiler-results.profiler-right .profiler-button,
292
- .profiler-results.profiler-right .profiler-controls {
293
- border-left: 1px solid #888888;
294
- }
295
- .profiler-results .profiler-button,
296
- .profiler-results .profiler-controls {
297
- display: none;
298
- z-index: 2147483640;
299
- border-bottom: 1px solid #888888;
300
- background-color: #fff;
301
- padding: 4px 7px;
302
- text-align: right;
303
- cursor: pointer;
304
- }
305
- .profiler-results .profiler-button.profiler-button-active,
306
- .profiler-results .profiler-controls.profiler-button-active {
307
- background-color: maroon;
308
- }
309
- .profiler-results .profiler-button.profiler-button-active .profiler-number,
310
- .profiler-results .profiler-controls.profiler-button-active .profiler-number,
311
- .profiler-results .profiler-button.profiler-button-active .profiler-nuclear,
312
- .profiler-results .profiler-controls.profiler-button-active .profiler-nuclear {
313
- color: #fff;
314
- font-weight: bold;
315
- }
316
- .profiler-results .profiler-button.profiler-button-active .profiler-unit,
317
- .profiler-results .profiler-controls.profiler-button-active .profiler-unit {
318
- color: #fff;
319
- font-weight: normal;
320
- }
321
- .profiler-results .profiler-totals .profiler-reqs {
322
- font-family: Consolas, monospace, serif;
323
- font-size: 10px;
324
- margin-left: 6px;
325
- }
326
- .profiler-results .profiler-totals .profiler-reqs:before {
327
- font-family: Consolas, monospace, serif;
328
- content: "×";
329
- margin-right: 1px;
330
- }
331
- .profiler-results .profiler-controls {
332
- display: block;
333
- font-size: 12px;
334
- font-family: Consolas, monospace, serif;
335
- cursor: default;
336
- text-align: center;
337
- }
338
- .profiler-results .profiler-controls span {
339
- border-right: 1px solid #aaaaaa;
340
- padding-right: 5px;
341
- margin-right: 5px;
342
- cursor: pointer;
343
- }
344
- .profiler-results .profiler-controls span:last-child {
345
- border-right: none;
346
- }
347
- .profiler-results .profiler-popup {
348
- display: none;
349
- z-index: 2147483641;
350
- position: absolute;
351
- background-color: #fff;
352
- border: 1px solid #aaa;
353
- padding: 5px 10px;
354
- text-align: left;
355
- line-height: 18px;
356
- overflow: auto;
357
- -moz-box-shadow: 0px 1px 15px #555555;
358
- -webkit-box-shadow: 0px 1px 15px #555555;
359
- box-shadow: 0px 1px 15px #555555;
360
- }
361
- .profiler-results .profiler-popup .profiler-info {
362
- margin-bottom: 3px;
363
- padding-bottom: 2px;
364
- border-bottom: 1px solid #ddd;
365
- }
366
- .profiler-results .profiler-popup .profiler-info .profiler-name {
367
- font-size: 110%;
368
- font-weight: bold;
369
- }
370
- .profiler-results .profiler-popup .profiler-info .profiler-name .profiler-overall-duration {
371
- display: none;
372
- }
373
- .profiler-results .profiler-popup .profiler-info .profiler-server-time {
374
- font-size: 95%;
375
- }
376
- .profiler-results .profiler-popup .profiler-timings th,
377
- .profiler-results .profiler-popup .profiler-timings td {
378
- padding-left: 6px;
379
- padding-right: 6px;
380
- }
381
- .profiler-results .profiler-popup .profiler-timings th {
382
- font-size: 95%;
383
- padding-bottom: 3px;
384
- }
385
- .profiler-results .profiler-popup .profiler-timings .profiler-label {
386
- max-width: 275px;
387
- }
388
- .profiler-results .profiler-queries {
389
- display: none;
390
- z-index: 2147483643;
391
- position: absolute;
392
- overflow-y: auto;
393
- overflow-x: auto;
394
- background-color: #fff;
395
- }
396
- .profiler-results .profiler-queries th {
397
- font-size: 17px;
398
- }
399
- .profiler-results.profiler-min .profiler-result {
400
- display: none;
401
- }
402
- .profiler-results.profiler-min .profiler-controls span {
403
- display: none;
404
- }
405
- .profiler-results.profiler-min .profiler-controls .profiler-min-max {
406
- border-right: none;
407
- padding: 0px;
408
- margin: 0px;
409
- }
410
- .profiler-results .profiler-more-actions {
411
- float: left;
412
- }
164
+ top: 0px; }
165
+ .profiler-results.profiler-left {
166
+ left: 0px; }
167
+ .profiler-results.profiler-left.profiler-no-controls .profiler-totals, .profiler-results.profiler-left.profiler-no-controls .profiler-result:last-child .profiler-button, .profiler-results.profiler-left .profiler-controls {
168
+ -webkit-border-bottom-right-radius: 10px;
169
+ -moz-border-radius-bottomright: 10px;
170
+ border-bottom-right-radius: 10px; }
171
+ .profiler-results.profiler-left .profiler-button, .profiler-results.profiler-left .profiler-controls {
172
+ border-right: 1px solid #888; }
173
+ .profiler-results.profiler-right {
174
+ right: 0px; }
175
+ .profiler-results.profiler-right.profiler-no-controls .profiler-totals, .profiler-results.profiler-right.profiler-no-controls .profiler-result:last-child .profiler-button, .profiler-results.profiler-right .profiler-controls {
176
+ -webkit-border-bottom-left-radius: 10px;
177
+ -moz-border-radius-bottomleft: 10px;
178
+ border-bottom-left-radius: 10px; }
179
+ .profiler-results.profiler-right .profiler-button, .profiler-results.profiler-right .profiler-controls {
180
+ border-left: 1px solid #888; }
181
+ .profiler-results .profiler-button, .profiler-results .profiler-controls {
182
+ display: none;
183
+ z-index: 2147483640;
184
+ border-bottom: 1px solid #888;
185
+ background-color: #fff;
186
+ padding: 4px 7px;
187
+ text-align: right;
188
+ cursor: pointer; }
189
+ .profiler-results .profiler-button.profiler-button-active, .profiler-results .profiler-controls.profiler-button-active {
190
+ background-color: maroon; }
191
+ .profiler-results .profiler-button.profiler-button-active .profiler-number, .profiler-results .profiler-button.profiler-button-active .profiler-nuclear, .profiler-results .profiler-controls.profiler-button-active .profiler-number, .profiler-results .profiler-controls.profiler-button-active .profiler-nuclear {
192
+ color: #fff;
193
+ font-weight: bold; }
194
+ .profiler-results .profiler-button.profiler-button-active .profiler-unit, .profiler-results .profiler-controls.profiler-button-active .profiler-unit {
195
+ color: #fff;
196
+ font-weight: normal; }
197
+ .profiler-results .profiler-totals .profiler-reqs {
198
+ font-family: Consolas, monospace, serif;
199
+ font-size: 10px;
200
+ margin-left: 6px; }
201
+ .profiler-results .profiler-totals .profiler-reqs:before {
202
+ font-family: Consolas, monospace, serif;
203
+ content: "×";
204
+ margin-right: 1px; }
205
+ .profiler-results .profiler-controls {
206
+ display: block;
207
+ font-size: 12px;
208
+ font-family: Consolas, monospace, serif;
209
+ cursor: default;
210
+ text-align: center; }
211
+ .profiler-results .profiler-controls span {
212
+ border-right: 1px solid #aaa;
213
+ padding-right: 5px;
214
+ margin-right: 5px;
215
+ cursor: pointer; }
216
+ .profiler-results .profiler-controls span:last-child {
217
+ border-right: none; }
218
+ .profiler-results .profiler-popup {
219
+ display: none;
220
+ z-index: 2147483641;
221
+ position: absolute;
222
+ background-color: #fff;
223
+ border: 1px solid #aaa;
224
+ padding: 5px 10px;
225
+ text-align: left;
226
+ line-height: 18px;
227
+ overflow: auto;
228
+ -moz-box-shadow: 0px 1px 15px #555;
229
+ -webkit-box-shadow: 0px 1px 15px #555;
230
+ box-shadow: 0px 1px 15px #555; }
231
+ .profiler-results .profiler-popup .profiler-info {
232
+ margin-bottom: 3px;
233
+ padding-bottom: 2px;
234
+ border-bottom: 1px solid #ddd; }
235
+ .profiler-results .profiler-popup .profiler-info .profiler-name {
236
+ font-size: 110%;
237
+ font-weight: bold; }
238
+ .profiler-results .profiler-popup .profiler-info .profiler-name .profiler-overall-duration {
239
+ display: none; }
240
+ .profiler-results .profiler-popup .profiler-info .profiler-server-time {
241
+ font-size: 95%; }
242
+ .profiler-results .profiler-popup .profiler-timings th, .profiler-results .profiler-popup .profiler-timings td {
243
+ padding-left: 6px;
244
+ padding-right: 6px; }
245
+ .profiler-results .profiler-popup .profiler-timings th {
246
+ font-size: 95%;
247
+ padding-bottom: 3px; }
248
+ .profiler-results .profiler-popup .profiler-timings .profiler-label {
249
+ max-width: 275px; }
250
+ .profiler-results .profiler-queries {
251
+ display: none;
252
+ z-index: 2147483643;
253
+ position: absolute;
254
+ overflow-y: auto;
255
+ overflow-x: auto;
256
+ background-color: #fff; }
257
+ .profiler-results .profiler-queries th {
258
+ font-size: 17px; }
259
+ .profiler-results.profiler-min .profiler-result {
260
+ display: none; }
261
+ .profiler-results.profiler-min .profiler-controls span {
262
+ display: none; }
263
+ .profiler-results.profiler-min .profiler-controls .profiler-min-max {
264
+ border-right: none;
265
+ padding: 0px;
266
+ margin: 0px; }
267
+ .profiler-results .profiler-more-actions {
268
+ float: left; }
269
+
413
270
  .profiler-queries-bg {
414
271
  z-index: 2147483642;
415
272
  display: none;
@@ -418,60 +275,45 @@
418
275
  position: absolute;
419
276
  top: 0px;
420
277
  left: 0px;
421
- min-width: 100%;
422
- }
278
+ min-width: 100%; }
279
+
423
280
  .profiler-result-full .profiler-result {
424
281
  width: 950px;
425
- margin: 30px auto;
426
- }
427
- .profiler-result-full .profiler-result .profiler-button {
428
- display: none;
429
- }
430
- .profiler-result-full .profiler-result .profiler-popup .profiler-info {
431
- font-size: 25px;
432
- border-bottom: 1px solid #aaaaaa;
433
- padding-bottom: 3px;
434
- margin-bottom: 25px;
435
- }
436
- .profiler-result-full .profiler-result .profiler-popup .profiler-info .profiler-overall-duration {
437
- padding-right: 20px;
438
- font-size: 80%;
439
- color: #888;
440
- }
441
- .profiler-result-full .profiler-result .profiler-popup .profiler-timings td,
442
- .profiler-result-full .profiler-result .profiler-popup .profiler-timings th {
443
- padding-left: 8px;
444
- padding-right: 8px;
445
- }
446
- .profiler-result-full .profiler-result .profiler-popup .profiler-timings th {
447
- padding-bottom: 7px;
448
- }
449
- .profiler-result-full .profiler-result .profiler-popup .profiler-timings td {
450
- font-size: 14px;
451
- padding-bottom: 4px;
452
- }
453
- .profiler-result-full .profiler-result .profiler-popup .profiler-timings td:first-child {
454
- padding-left: 10px;
455
- }
456
- .profiler-result-full .profiler-result .profiler-popup .profiler-timings .profiler-label {
457
- max-width: 550px;
458
- }
459
- .profiler-result-full .profiler-result .profiler-queries {
460
- margin: 25px 0;
461
- }
462
- .profiler-result-full .profiler-result .profiler-queries table {
463
- width: 100%;
464
- }
465
- .profiler-result-full .profiler-result .profiler-queries th {
466
- font-size: 16px;
467
- color: #555;
468
- line-height: 20px;
469
- }
470
- .profiler-result-full .profiler-result .profiler-queries td {
471
- padding: 15px 10px;
472
- text-align: left;
473
- }
474
- .profiler-result-full .profiler-result .profiler-queries .profiler-info div {
475
- text-align: right;
476
- margin-bottom: 5px;
477
- }
282
+ margin: 30px auto; }
283
+ .profiler-result-full .profiler-result .profiler-button {
284
+ display: none; }
285
+ .profiler-result-full .profiler-result .profiler-popup .profiler-info {
286
+ font-size: 25px;
287
+ border-bottom: 1px solid #aaa;
288
+ padding-bottom: 3px;
289
+ margin-bottom: 25px; }
290
+ .profiler-result-full .profiler-result .profiler-popup .profiler-info .profiler-overall-duration {
291
+ padding-right: 20px;
292
+ font-size: 80%;
293
+ color: #888; }
294
+ .profiler-result-full .profiler-result .profiler-popup .profiler-timings td, .profiler-result-full .profiler-result .profiler-popup .profiler-timings th {
295
+ padding-left: 8px;
296
+ padding-right: 8px; }
297
+ .profiler-result-full .profiler-result .profiler-popup .profiler-timings th {
298
+ padding-bottom: 7px; }
299
+ .profiler-result-full .profiler-result .profiler-popup .profiler-timings td {
300
+ font-size: 14px;
301
+ padding-bottom: 4px; }
302
+ .profiler-result-full .profiler-result .profiler-popup .profiler-timings td:first-child {
303
+ padding-left: 10px; }
304
+ .profiler-result-full .profiler-result .profiler-popup .profiler-timings .profiler-label {
305
+ max-width: 550px; }
306
+ .profiler-result-full .profiler-result .profiler-queries {
307
+ margin: 25px 0; }
308
+ .profiler-result-full .profiler-result .profiler-queries table {
309
+ width: 100%; }
310
+ .profiler-result-full .profiler-result .profiler-queries th {
311
+ font-size: 16px;
312
+ color: #555;
313
+ line-height: 20px; }
314
+ .profiler-result-full .profiler-result .profiler-queries td {
315
+ padding: 15px 10px;
316
+ text-align: left; }
317
+ .profiler-result-full .profiler-result .profiler-queries .profiler-info div {
318
+ text-align: right;
319
+ margin-bottom: 5px; }