Mercurial > piecrust2
diff piecrust/resources/server/piecrust-debug-info.css @ 556:93b656f0af54
serve: Improve debug information in the preview server.
Now the debug window only loads debug info on demand.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 12 Aug 2015 23:18:35 -0700 |
parents | 9612cfc6455a |
children | 9428bd0025eb |
line wrap: on
line diff
--- a/piecrust/resources/server/piecrust-debug-info.css Wed Aug 12 23:04:46 2015 -0700 +++ b/piecrust/resources/server/piecrust-debug-info.css Wed Aug 12 23:18:35 2015 -0700 @@ -1,3 +1,6 @@ + +/*****************************************************************************/ + @keyframes slideNotification { 0% { opacity: 1; } 100% { opacity: 0; right: -11em; } @@ -30,3 +33,65 @@ border: 2px solid #810B0B; } +/*****************************************************************************/ + +.piecrust-debug-window { + padding: 1em; + text-align: left; + font-family: serif; + font-style: normal; + font-size: 1rem; + font-weight: normal; + background: #a42; + color: #fff; + position: fixed; + width: 50%; + bottom: 0; + right: 0; + overflow: auto; + max-height: 50%; + box-shadow: 0 0 10px #633; +} + +.piecrust-debug-info { +} + +.piecrust-debug-info a { + color: #fff; + text-decoration: none; +} + +.piecrust-debug-icon { + height: 2em; +} + +.piecrust-debug-info-header1 { + margin: 0.5em 0; + font-weight: bold; +} + +.piecrust-debug-info-header2 { + margin: 0.5em 0; + font-weight: bold; +} + +.piecrust-debug-info-data { + font-family: Courier, sans-serif; + font-size: 0.9em; +} + +.piecrust-debug-info-datablock { + margin-left: 2em; +} + +.piecrust-debug-info-datavalue { + color: #fca; +} + +.piecrust-debug-info-doc { + color: #fa8; + font-size: 0.9em; +} + +/*****************************************************************************/ +