Skip to content

Instantly share code, notes, and snippets.

@amilos
Created July 18, 2016 17:59
Show Gist options
  • Save amilos/f35662019defa4832ed77adedef86be7 to your computer and use it in GitHub Desktop.
Save amilos/f35662019defa4832ed77adedef86be7 to your computer and use it in GitHub Desktop.
Dark+ (Visual Studio) theme for JSONView Chrome extension
body {
background-color: rgba(30,30,30,1);
color: rgba(212,212,212,1);
font-size: 14px;
white-space: pre !important;
font-family: "Roboto Mono", "Source Code Pro", Menlo, "Ubuntu Mono", Monaco, Consolas, Courier, monospace;
padding: 30px 30px 20px;
}
.property {
color: rgba(156,220,254,1);
}
.type-null {
color: rgba(78,201,176,1);
}
.type-boolean {
color: rgba(215,186,125,1);
}
.type-number {
color: rgba(181,206,168,1);
}
.type-string {
color: rgba(206,145,120,1);
}
a {
color: rgba(86,156,214,1);
}
.callback-function {
color: #cb4b16;
}
.collapser:after {
content: "-";
color: rgba(156,220,254,1);
}
.collapsed > .collapser:after {
content: "+";
color: rgba(156,220,254,1);
}
.ellipsis:after {
content: "\2026";
}
.collapsible {
margin-left: 2em;
}
.hoverable {
padding-top: 1px;
padding-bottom: 1px;
padding-left: 2px;
padding-right: 2px;
border-radius: 2px;
}
.hovered {
background-color: rgba(38,79,120,1);
}
.collapser {
padding-right: 10px;
padding-left: 6px;
}
.status,
.toolbox {
background: none;
border-radius: 0;
border: 0;
bottom: auto;
box-sizing: border-box;
color: #fff;
font: inherit;
height: auto;
left: auto;
line-height: 19px;
margin: 0 auto;
min-height: 19px;
opacity: 1;
overflow: hidden;
padding: 0 4px;
right: auto;
text-align: left;
text-overflow: ellipsis;
top: 0;
white-space: nowrap;
z-index: 100;
}
.status {
background-color: rgba(0,0,0,.8);
box-shadow: 0 1px 1px rgba(0,0,0,.2);
color: #2f2f2f;
left: 0;
padding: 0 12px 0 170px;
right: 0;
width: auto;
}
.status:not(:empty) {
color: rgba(156,220,254,1);
}
.toolbox {
background-color: rgba(255,255,255,.2);
box-shadow: 0 -30px 30px -30px rgba(0,0,0,.2) inset;
color: #ddd;
left: 0;
text-shadow: 0 -1px 0 rgba(0,0,0,.3);
z-index: 101;
}
.toolbox > a,
.toolbox > img,
.toolbox > span {
box-sizing: border-box;
color: inherit;
cursor: pointer;
display: inline-block;
line-height: inherit;
padding: 0 3px;
text-align: center;
text-decoration: none;
}
.toolbox > a {
padding: 0 6px;
}
.toolbox > img {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACKElEQVRYw+1XMWvCQBT2L2R1q2vHrFmKgU4Zszq6OHQMSIejLq6ZStdOpVOlYykuFRSCmyAWF4duZtGAg5DmwTt5PC/JJY3tUB88kLvce9+9+953Zy2O49pfeu0M4Ggg3S4TbyUuEncU8ybO3eBvpf0EgGDuKJJTrxaAEOJ5Pp8vk2/i4XAYYJK2rIrv+68wt16vQ/hdOYCYGQFxSE6tagB2rLDtdjvbbDYfqrkUnmgDqCfeQIdAIi5ohCcyTl0XgMEJNRgM+C6BC/3E3cShOh6OKY+IuKEDwHJd96HT6TyCQyCW3Ms4XwASUhAyDsSE2LkAut3udUZl2yQflNVCNwkIk4KghrFzldDTSG5m6QIejco8HQBHi/f7/TurtgdlTewNHPteSKKBwRoFAFerC2C3fCHNrup7JF0jowrtQjowGo1e5Mper3dBAex2u0hV3/F4fCW/gTVyHGIV1QEHSkt62sxSRWI25YkchFiSI1ptCOcZBMFMBmg2m3cMwDIFwOEIYI0chFjIEUsLAO99JJmT02q0SyzOE+RIPoAoim75tuCGU7SagSpo053LFoU1PA7GLqcDRFpbKNfcYAy6RVD+lNEBI03JmL5DyW3kTCvrakYLMXax65hrAjxKLMvyuRLCGCWughfl3wMqdVytVl/T6fRpMpncLxaLzxzprv5FpPEeqP0GgD6/gk8JILXvFboQngKAgYT0+OVEQHjoRmkA579m/w7AN03/bMf1yzc0AAAAAElFTkSuQmCC");
background-position: center;
background-repeat: no-repeat;
background-size: 16px;
float: left;
height: 18px;
margin: 0;
opacity: .75;
overflow: hidden;
padding: 0 0 0 20px;
width: 0;
}
.toolbox > span {
float: right;
font-family: "Roboto Mono", Courier, Monaco, monospace;
font-size: 12px;
font-weight: bold;
min-width: 15px;
padding: 0;
}
.toolbox > a:hover,
.toolbox > img:hover,
.toolbox > span:hover {
color: #fff;
opacity: 1;
}
.toolbox > a, .toolbox > img, .toolbox > span,
.collapser,
.status {
-webkit-transition-duration: .12s;
-webkit-transition-property: color, opacity;
}
.toolbox > a:hover, .toolbox > img:hover, .toolbox > span:hover,
.collapser:hover {
-webkit-transition-duration: 0s;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment