--- trunk/static/frey.css 2008/11/06 20:56:44 327 +++ trunk/static/frey.css 2008/11/18 23:24:10 424 @@ -32,6 +32,7 @@ } .frey-popup span, +.frey-popup code, .frey-popdown code { display: none; /* hidden by default */ color: #000; @@ -39,12 +40,17 @@ border: 1px solid #aaa; } +.frey-popup:hover code, .frey-popup:hover span { 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 +61,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 +82,11 @@ /* Frey::Instrospect */ +.frey-skip { + font-size: 80%; + color: #aaa; +} + .frey-introspect tr th { border-bottom: 1px dashed #ccc; } @@ -118,12 +128,42 @@ 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; + /* compress lines to preserve memory footprint in browser for rendering */ + font-size: 90%; + line-height: 1.2ex; +} + +.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-source .interpolate { color: #f6f; } + +.frey-source .line_number { color: #222; } +.frey-source .line_number a { color: #444; text-decoration: none; } + /* Frey::Dumper */ .frey-dumper { @@ -133,3 +173,45 @@ .frey-dumper span { color: #000; } + +.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; +} +