1 |
efrain |
1 |
/*
|
|
|
2 |
Copyright (c) 2011, Yahoo! Inc. All rights reserved.
|
|
|
3 |
Code licensed under the BSD License:
|
|
|
4 |
http://developer.yahoo.com/yui/license.html
|
|
|
5 |
version: 2.9.0
|
|
|
6 |
*/
|
|
|
7 |
/* logger default styles */
|
|
|
8 |
/* default width: 31em */
|
|
|
9 |
/* default font-size 77% */
|
|
|
10 |
.yui-log {padding:1em;width:31em;background-color:#AAA;color:#000;border:1px solid black;font-family:monospace;font-size:77%;text-align:left;z-index:9000;}
|
|
|
11 |
|
|
|
12 |
/* for containers built from scratch */
|
|
|
13 |
.yui-log-container {position:absolute;top:1em;right:1em;}
|
|
|
14 |
|
|
|
15 |
/* buttons */
|
|
|
16 |
.yui-log input {
|
|
|
17 |
margin:0;padding:0;
|
|
|
18 |
font-family:arial;
|
|
|
19 |
font-size:100%;
|
|
|
20 |
font-weight:normal;
|
|
|
21 |
}
|
|
|
22 |
.yui-log .yui-log-btns {position:relative;float:right;bottom:.25em;}
|
|
|
23 |
|
|
|
24 |
/* header */
|
|
|
25 |
.yui-log .yui-log-hd {margin-top:1em;padding:.5em;background-color:#575757;}
|
|
|
26 |
.yui-log .yui-log-hd h4 {margin:0;padding:0;font-size:107%;font-weight:bold;color:#FFF;}
|
|
|
27 |
|
|
|
28 |
/* body */
|
|
|
29 |
|
|
|
30 |
.yui-log .yui-log-bd {width:100%;height:20em;background-color:#FFF;border:1px solid gray;overflow:auto;} /* height is controlled here: default 20em*/
|
|
|
31 |
.yui-log p {margin:1px;padding:.1em;}
|
|
|
32 |
.yui-log pre {margin:0;padding:0;}
|
|
|
33 |
|
|
|
34 |
/* for pre to respect newlines yet wrap long lines */
|
|
|
35 |
/* http://www.longren.org/2006/09/27/wrapping-text-inside-pre-tags/ */
|
|
|
36 |
.yui-log pre.yui-log-verbose {
|
|
|
37 |
white-space: pre-wrap; /* css-3 */
|
|
|
38 |
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
|
|
|
39 |
white-space: -pre-wrap; /* Opera 4-6 */
|
|
|
40 |
white-space: -o-pre-wrap; /* Opera 7 */
|
|
|
41 |
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
|
|
42 |
}
|
|
|
43 |
|
|
|
44 |
/* footer */
|
|
|
45 |
.yui-log .yui-log-ft {margin-top:.5em;}
|
|
|
46 |
.yui-log .yui-log-ft .yui-log-categoryfilters {}
|
|
|
47 |
.yui-log .yui-log-ft .yui-log-sourcefilters {width:100%;border-top:1px solid #575757;margin-top:.75em;padding-top:.75em;}
|
|
|
48 |
.yui-log .yui-log-filtergrp {margin-right:.5em;}
|
|
|
49 |
/*.yui-log .yui-log-ft ul {margin:0;padding:0;line-height:1.8}
|
|
|
50 |
.yui-log .yui-log-ft li {list-style:none;display:inline;white-space:nowrap;}*/
|
|
|
51 |
|
|
|
52 |
/* logs */
|
|
|
53 |
.yui-log .info {background-color:#A7CC25;} /* A7CC25 green */
|
|
|
54 |
.yui-log .warn {background-color:#F58516;} /* F58516 orange */
|
|
|
55 |
.yui-log .error {background-color:#E32F0B;} /* E32F0B red */
|
|
|
56 |
.yui-log .time {background-color:#A6C9D7;} /* A6C9D7 blue */
|
|
|
57 |
.yui-log .window {background-color:#F2E886;} /* F2E886 tan */
|