toaster.do/clojure_frontend/resources/public/static/css/json-html.css

111 lines
1.9 KiB
CSS

/* css for [json-html.core] */
.jh-type-string, .jh-type-bool, .jh-type-number{
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 14px;
font-weight: normal;
line-height: 20px;
color: #333;
float: left;
width: 140px;
padding-top: 5px;
text-align: right;
margin-bottom: 10px;
}
.jh-root, .jh-type-object, .jh-type-array, .jh-key, .jh-value, .jh-root tr{
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
}
.jh-key, .jh-value{
margin: 0;
padding: 0.2em;
}
.jh-empty-collection:before {
content: '[]';
}
.jh-empty-map:before {
content: '{}';
}
.jh-empty-set:before {
content: '#{}';
}
.jh-empty-string:before {
content: '""';
}
.jh-value{
border-left: 1px solid #ddd;
}
.jh-type-bool, .jh-type-number{
font-weight: bold;
color: #333;
}
.jh-type-string{
color: #333;
}
.jh-type-date{
color: #333;
}
.jh-array-key{
font-size: small;
text-align: center;
}
.jh-object-key, .jh-array-key{
color: #444;
vertical-align: top;
}
.jh-type-object > tbody > tr:nth-child(odd), .jh-type-array > tbody > tr:nth-child(odd){
background-color: #f5f5f5;
}
.jh-type-object > tbody > tr:nth-child(even), .jh-type-array > tbody > tr:nth-child(even){
background-color: #fff;
}
.jh-type-object, .jh-type-array{
width: 100%;
border-collapse: collapse;
}
.jh-root{
border: 1px solid #ccc;
margin: 0.2em;
}
th.jh-key{
text-align: left;
}
.jh-type-object > tbody > tr, .jh-type-array > tr{
border: 1px solid #ddd;
border-bottom: none;
}
.jh-type-object > tbody > tr:last-child, .jh-type-array > tbody > tr:last-child{
border-bottom: 1px solid #ddd;
}
.jh-type-object > tbody > tr:hover, .jh-type-array > tbody > tr:hover{
border: 1px solid #F99927;
}
.jh-empty{
color: #999;
font-size: small;
}