--- trunk/static/frey.css 2008/11/06 21:14:09 328 +++ trunk/static/frey.css 2008/11/18 01:10:06 394 @@ -43,8 +43,12 @@ position: absolute; display: block; bottom: 1.25em; - left: 2em; + left: 1.5em; +/* + right: 1.5em; +*/ z-index: 30; + overflow: hidden; } .frey-popdown:hover code { @@ -55,10 +59,9 @@ z-index: 30; } +.frey-popup code, .frey-popdown code { white-space: pre-wrap; - white-space: -moz-pre-wrap; - white-space: -o-pre-wrap; font-family: monospace; } @@ -77,6 +80,11 @@ /* Frey::Instrospect */ +.frey-skip { + font-size: 80%; + color: #aaa; +} + .frey-introspect tr th { border-bottom: 1px dashed #ccc; } @@ -118,12 +126,37 @@ color: #ccc; } + /* fix POD =head parts */ a.u { text-decoration: none; color: black; } + +/* dark background in sync with my vim setup */ +.frey-source { + font-family: monospace; + background: #000; + color: #fff; + padding: 0.5em; + white-space: pre-wrap; + line-height: 1ex; /* compress lines to preserve memory footprint in browser for rendering */ +} + +.frey-source .keyword { color: #ff6; } +.frey-source .core { color: #ff6; } +/* +.frey-source .word { color: #6f6; } +*/ +.frey-source .pod { color: #6ff; } +.frey-source .comment { color: #6ff; } + +.frey-source .symbol { color: #6ff; } +.frey-source .single { color: #f6f; } +.frey-source .double { color: #f6f; } + + /* Frey::Dumper */ .frey-dumper { @@ -134,8 +167,44 @@ color: #000; } -.frey-dumper ul li { +.frey-dumper ul, +.frey-dumper ol { + margin-bottom: 0.5em; list-style-position: inside; +} + +.frey-dumper ul > li { list-style: none; } +/* +.frey-dumper ul:before { + content: "{"; +} + +.frey-dumper ul:after { + content: "}"; +} + +.frey-dumper ol:before { + content: "("; +} + +.frey-dumper ol:after { + content: ")"; +} +*/ + +.frey-dumper a.blessed { +/* + text-decoration: none; +*/ + color: #aaa; +} + +.frey-error { + border: 3px dashed #f00; + background: #ffc; + padding: 0.5em; +} +