1/** 2This is from the JSONView project src/content/default.css, http://code.google.com/p/jsonview. Here's the original JSONView license: 3 4--- 5MIT License 6 7Copyright (c) 2009 Benjamin Hollis 8 9Permission is hereby granted, free of charge, to any person obtaining a copy 10of this software and associated documentation files (the "Software"), to deal 11in the Software without restriction, including without limitation the rights 12to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13copies of the Software, and to permit persons to whom the Software is 14furnished to do so, subject to the following conditions: 15 16The above copyright notice and this permission notice shall be included in 17all copies or substantial portions of the Software. 18 19THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25THE SOFTWARE. 26--- 27*/ 28 29body { 30 font-family: sans-serif; 31} 32 33.prop { 34 font-weight: bold; 35} 36 37.null { 38 color: red; 39} 40 41.bool { 42 color: blue; 43} 44 45.num { 46 color: blue; 47} 48 49.string { 50 color: green; 51} 52 53.collapser { 54 position: absolute; 55 left: -1em; 56 cursor: pointer; 57} 58 59li { 60 position: relative; 61} 62 63li:after { 64 content: ','; 65} 66 67li:last-child:after { 68 content: ''; 69} 70 71#error { 72 -moz-border-radius: 8px; 73 border: 1px solid #970000; 74 background-color: #F7E8E8; 75 margin: .5em; 76 padding: .5em; 77} 78 79.errormessage { 80 font-family: monospace; 81} 82 83#json { 84 font-family: monospace; 85 font-size: 1.1em; 86} 87 88ul { 89 list-style: none; 90 margin: 0 0 0 2em; 91 padding: 0; 92} 93 94h1 { 95 font-size: 1.2em; 96} 97 98/* Indent JSON when there's a callback. */ 99.callback + #json { 100 padding-left: 1em; 101} 102 103.callback { 104 font-family: monospace; 105 color: #A52A2A; 106} 107