Created
January 29, 2012 01:30
-
-
Save tyom/1696607 to your computer and use it in GitHub Desktop.
Custom styles for JSONView (https://chrome.google.com/webstore/detail/chklaanhfefbnpoihckbnefhakgolnmc)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background: #222; | |
color: #ddd; | |
white-space: pre; | |
font-family: monospace; | |
} | |
a { | |
color: #6482c8; | |
} | |
.property { | |
} | |
.type-null { | |
color: gray; | |
} | |
.type-boolean { | |
color: #fc5e5e; | |
} | |
.type-number { | |
color: #5ecdfc; | |
} | |
.type-string { | |
color: #a4fc5e; | |
} | |
.callback-function { | |
color: gray; | |
} | |
.collapser { | |
left: -16px; | |
top: 4px; | |
color: #fff; | |
border-radius: 10px; | |
margin-left: -4px; | |
background: rgba(0,0,0,.6); | |
padding: 0 !important; | |
height:16px; | |
width: 16px; | |
text-align: center; | |
} | |
.collapser:after { | |
display: block; | |
content: "-"; | |
line-height: 12px; | |
} | |
.collapsed > .collapser:after { | |
content: "+"; | |
line-height: 16px; | |
} | |
.collapsed .collapser { | |
background: #5e9c00; | |
} | |
.ellipsis:after { | |
content: " … "; | |
color: gray; | |
} | |
.collapsible { | |
margin-left: 2em; | |
} | |
.hoverable { | |
padding: 4px; | |
border-radius: 3px; | |
border-left: 1px solid transparent; | |
} | |
.collapsible .hovered { | |
background-color: rgba(255, 255, 255, .1); | |
} | |
.collapser { | |
padding-right: 10px; | |
padding-left: 6px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment