changed indentation from 2 to 4 spaces

This commit is contained in:
= 2012-06-08 22:06:49 +02:00
parent 34b2670788
commit 75119be464
1 changed files with 130 additions and 130 deletions

View File

@ -1,206 +1,206 @@
.jsoneditor-field, .jsoneditor-value, .jsoneditor-field-readonly, .jsoneditor-readonly { .jsoneditor-field, .jsoneditor-value, .jsoneditor-field-readonly, .jsoneditor-readonly {
border: 1px solid transparent; border: 1px solid transparent;
min-height: 16px; min-height: 16px;
min-width: 24px; min-width: 24px;
padding: 2px; padding: 2px;
margin: 1px; margin: 1px;
outline: none; outline: none;
word-wrap: break-word; word-wrap: break-word;
} }
.jsoneditor-empty { .jsoneditor-empty {
background-color: #E5E5E5; background-color: #E5E5E5;
} }
.jsoneditor-separator { .jsoneditor-separator {
padding: 3px 0; padding: 3px 0;
vertical-align: top; vertical-align: top;
} }
.jsoneditor-value:focus, .jsoneditor-field:focus, .jsoneditor-value:focus, .jsoneditor-field:focus,
.jsoneditor-value:hover, .jsoneditor-field:hover { .jsoneditor-value:hover, .jsoneditor-field:hover {
background-color: #FFFFAB; background-color: #FFFFAB;
border: 1px solid yellow; border: 1px solid yellow;
} }
.jsoneditor-field-readonly:hover { .jsoneditor-field-readonly:hover {
border: 1px solid white; border: 1px solid white;
} }
.jsoneditor-readonly { .jsoneditor-readonly {
color: gray; color: gray;
} }
button.jsoneditor-collapsed { button.jsoneditor-collapsed {
background: url('img/treeRightTriangleBlack.png') no-repeat center; background: url('img/treeRightTriangleBlack.png') no-repeat center;
} }
button.jsoneditor-expanded { button.jsoneditor-expanded {
background: url('img/treeDownTriangleBlack.png') no-repeat center; background: url('img/treeDownTriangleBlack.png') no-repeat center;
} }
button.jsoneditor-invisible { button.jsoneditor-invisible {
visibility: hidden; visibility: hidden;
background: none; background: none;
} }
button.jsoneditor-remove, button.jsoneditor-append, button.jsoneditor-duplicate, button.jsoneditor-remove, button.jsoneditor-append, button.jsoneditor-duplicate,
button.jsoneditor-collapsed, button.jsoneditor-expanded, button.jsoneditor-collapsed, button.jsoneditor-expanded,
button.jsoneditor-invisible, button.jsoneditor-dragarea, button.jsoneditor-invisible, button.jsoneditor-dragarea,
button.jsoneditor-type-auto, button.jsoneditor-type-string, button.jsoneditor-type-auto, button.jsoneditor-type-string,
button.jsoneditor-type-array, button.jsoneditor-type-object { button.jsoneditor-type-array, button.jsoneditor-type-object {
width: 24px; width: 24px;
height: 24px; height: 24px;
padding: 0; padding: 0;
margin: 0; margin: 0;
border: none; border: none;
cursor: pointer; cursor: pointer;
} }
button.jsoneditor-collapsed, button.jsoneditor-expanded, button.jsoneditor-collapsed, button.jsoneditor-expanded,
button.jsoneditor-invisible { button.jsoneditor-invisible {
float: left; float: left;
} }
button.jsoneditor-remove { button.jsoneditor-remove {
background: url('img/delete_gray.png') no-repeat center; background: url('img/delete_gray.png') no-repeat center;
} }
button.jsoneditor-remove:hover { button.jsoneditor-remove:hover {
background: url('img/delete_red.png') no-repeat center; background: url('img/delete_red.png') no-repeat center;
} }
button.jsoneditor-append { button.jsoneditor-append {
background: url('img/add_gray.png') no-repeat center; background: url('img/add_gray.png') no-repeat center;
} }
button.jsoneditor-append:hover { button.jsoneditor-append:hover {
background: url('img/add_green.png') no-repeat center; background: url('img/add_green.png') no-repeat center;
} }
button.jsoneditor-duplicate { button.jsoneditor-duplicate {
background: url('img/duplicate_gray.png') no-repeat center; background: url('img/duplicate_gray.png') no-repeat center;
} }
button.jsoneditor-duplicate:hover { button.jsoneditor-duplicate:hover {
background: url('img/duplicate_blue.png') no-repeat center; background: url('img/duplicate_blue.png') no-repeat center;
} }
button.jsoneditor-type-string { button.jsoneditor-type-string {
background: url('img/string_gray.png') no-repeat center; background: url('img/string_gray.png') no-repeat center;
} }
button.jsoneditor-type-string:hover { button.jsoneditor-type-string:hover {
background: url('img/string_blue.png') no-repeat center; background: url('img/string_blue.png') no-repeat center;
} }
button.jsoneditor-type-auto { button.jsoneditor-type-auto {
background: url('img/auto_gray.png') no-repeat center; background: url('img/auto_gray.png') no-repeat center;
} }
button.jsoneditor-type-auto:hover { button.jsoneditor-type-auto:hover {
background: url('img/auto_blue.png') no-repeat center; background: url('img/auto_blue.png') no-repeat center;
} }
button.jsoneditor-type-object { button.jsoneditor-type-object {
background: url('img/object_gray.png') no-repeat center; background: url('img/object_gray.png') no-repeat center;
} }
button.jsoneditor-type-object:hover { button.jsoneditor-type-object:hover {
background: url('img/object_blue.png') no-repeat center; background: url('img/object_blue.png') no-repeat center;
} }
button.jsoneditor-type-array { button.jsoneditor-type-array {
background: url('img/array_gray.png') no-repeat center; background: url('img/array_gray.png') no-repeat center;
} }
button.jsoneditor-type-array:hover { button.jsoneditor-type-array:hover {
background: url('img/array_blue.png') no-repeat center; background: url('img/array_blue.png') no-repeat center;
} }
div.jsoneditor-select { div.jsoneditor-select {
border: 1px solid gray; border: 1px solid gray;
background-color: white; background-color: white;
box-shadow: 4px 4px 10px lightgray; box-shadow: 4px 4px 10px lightgray;
} }
div.jsoneditor-option { div.jsoneditor-option {
color: #4D4D4D; color: #4D4D4D;
background-color: white; background-color: white;
border: none; border: none;
margin: 0; margin: 0;
display: block; display: block;
text-align: left; text-align: left;
cursor: pointer; cursor: pointer;
} }
div.jsoneditor-option:hover { div.jsoneditor-option:hover {
background-color: #FFFFAB; background-color: #FFFFAB;
color: black; color: black;
} }
div.jsoneditor-option-string, div.jsoneditor-option-auto, div.jsoneditor-option-string, div.jsoneditor-option-auto,
div.jsoneditor-option-object, div.jsoneditor-option-array { div.jsoneditor-option-object, div.jsoneditor-option-array {
padding: 4px 12px 4px 24px; padding: 4px 12px 4px 24px;
background-repeat:no-repeat; background-repeat:no-repeat;
background-position: 4px center; background-position: 4px center;
} }
div.jsoneditor-option-string { div.jsoneditor-option-string {
background-image: url('img/string_blue.png'); background-image: url('img/string_blue.png');
} }
div.jsoneditor-option-auto { div.jsoneditor-option-auto {
background-image: url('img/auto_blue.png'); background-image: url('img/auto_blue.png');
} }
div.jsoneditor-option-object { div.jsoneditor-option-object {
background-image: url('img/object_blue.png'); background-image: url('img/object_blue.png');
} }
div.jsoneditor-option-array { div.jsoneditor-option-array {
background-image: url('img/array_blue.png'); background-image: url('img/array_blue.png');
} }
div.jsoneditor-option-selected { div.jsoneditor-option-selected {
background-color: #D5DDF6; background-color: #D5DDF6;
} }
div.jsoneditor-frame { div.jsoneditor-frame {
color: #1A1A1A; color: #1A1A1A;
border: 1px solid #97B0F8; border: 1px solid #97B0F8;
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: auto; overflow: auto;
position: relative; position: relative;
} }
table.jsoneditor-table { table.jsoneditor-table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
width: 100%; width: 100%;
} }
div.jsoneditor-content-outer, div.jsonformatter-content { div.jsoneditor-content-outer, div.jsonformatter-content {
width: 100%; width: 100%;
height: 100%; height: 100%;
margin: -32px 0 0 0; margin: -32px 0 0 0;
padding: 32px 0 0 0; padding: 32px 0 0 0;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
overflow: hidden; overflow: hidden;
} }
div.jsoneditor-content { div.jsoneditor-content {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative; position: relative;
overflow: auto; overflow: auto;
} }
textarea.jsonformatter-textarea { textarea.jsonformatter-textarea {
width: 100%; width: 100%;
height: 100%; height: 100%;
margin: 0; margin: 0;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
border: none; border: none;
background-color: white; background-color: white;
resize: none; resize: none;
} }
/* /*
@ -209,68 +209,68 @@ td.jsoneditor-td-drag {
} }
*/ */
tr.jsoneditor-tr-highlight { tr.jsoneditor-tr-highlight {
background-color: #FFFFAB; background-color: #FFFFAB;
} }
button.jsoneditor-dragarea { button.jsoneditor-dragarea {
width: 16px; width: 16px;
height: 16px; height: 16px;
margin: 3px 0; margin: 3px 0;
background: url('img/dots_gray.gif') top center; background: url('img/dots_gray.gif') top center;
background-repeat: repeat-y; background-repeat: repeat-y;
display: block; display: block;
cursor: move; cursor: move;
} }
table.jsoneditor-menu { table.jsoneditor-menu {
width: 100%; width: 100%;
height: 32px; height: 32px;
left: 0; left: 0;
top: 0; top: 0;
border-collapse: collapse; border-collapse: collapse;
} }
td.jsoneditor-menu { td.jsoneditor-menu {
font-weight: bold; font-weight: bold;
background-color: #D5DDF6; background-color: #D5DDF6;
border-bottom: 1px solid #97B0F8; border-bottom: 1px solid #97B0F8;
text-align: left; text-align: left;
padding: 0 3px; padding: 0 3px;
} }
tr, th, td { tr, th, td {
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
td.jsoneditor-td { td.jsoneditor-td {
vertical-align: top; vertical-align: top;
} }
td.jsoneditor-td { td.jsoneditor-td {
padding: 0 3px; padding: 0 3px;
} }
td.jsoneditor-td-edit { td.jsoneditor-td-edit {
background-color: #F5F5F5; background-color: #F5F5F5;
padding: 0; padding: 0;
} }
td.jsoneditor-td-tree { td.jsoneditor-td-tree {
vertical-align: top; vertical-align: top;
} }
td.jsoneditor-droparea { td.jsoneditor-droparea {
height: 24px; height: 24px;
border-top: 1px dashed gray; border-top: 1px dashed gray;
border-bottom: 1px dashed gray; border-bottom: 1px dashed gray;
background-color: #FFFF80; background-color: #FFFF80;
} }
.jsoneditor-field, .jsoneditor-value, .jsoneditor-td, .jsoneditor-th, .jsoneditor-field, .jsoneditor-value, .jsoneditor-td, .jsoneditor-th,
.jsoneditor-type, .jsoneditor-type,
.jsonformatter-textarea { .jsonformatter-textarea {
font-family: droid sans mono, monospace, courier new, courier, sans-serif; font-family: droid sans mono, monospace, courier new, courier, sans-serif;
font-size: 10pt; font-size: 10pt;
} }