2016-04-10 03:00:33 +08:00
|
|
|
/* reset styling (prevent conflicts with bootstrap, materialize.css, etc.) */
|
|
|
|
|
2017-01-07 03:58:19 +08:00
|
|
|
div.jsoneditor .jsoneditor-search input {
|
2016-04-10 03:00:33 +08:00
|
|
|
height: auto;
|
|
|
|
border: inherit;
|
|
|
|
}
|
|
|
|
|
2017-01-07 03:58:19 +08:00
|
|
|
div.jsoneditor .jsoneditor-search input:focus {
|
2016-04-10 03:00:33 +08:00
|
|
|
border: none !important;
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.jsoneditor table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.jsoneditor td,
|
|
|
|
div.jsoneditor th {
|
|
|
|
padding: 0;
|
|
|
|
display: table-cell;
|
|
|
|
text-align: left;
|
|
|
|
vertical-align: inherit;
|
|
|
|
border-radius: inherit;
|
|
|
|
}
|
2016-06-16 01:35:28 +08:00
|
|
|
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-field,
|
|
|
|
div.jsoneditor-value,
|
|
|
|
div.jsoneditor-readonly {
|
2013-11-16 01:11:50 +08:00
|
|
|
border: 1px solid transparent;
|
|
|
|
min-height: 16px;
|
|
|
|
min-width: 32px;
|
|
|
|
padding: 2px;
|
|
|
|
margin: 1px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
float: left;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* adjust margin of p elements inside editable divs, needed for Opera, IE */
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-field p,
|
|
|
|
div.jsoneditor-value p {
|
2013-11-16 01:11:50 +08:00
|
|
|
margin: 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-value {
|
2013-11-16 01:11:50 +08:00
|
|
|
word-break: break-word;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-readonly {
|
2013-11-16 01:11:50 +08:00
|
|
|
min-width: 16px;
|
|
|
|
color: gray;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-empty {
|
2013-11-16 01:11:50 +08:00
|
|
|
border-color: lightgray;
|
|
|
|
border-style: dashed;
|
|
|
|
border-radius: 2px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-field.jsoneditor-empty::after,
|
|
|
|
div.jsoneditor-value.jsoneditor-empty::after {
|
2015-12-28 03:27:35 +08:00
|
|
|
pointer-events: none;
|
|
|
|
color: lightgray;
|
|
|
|
font-size: 8pt;
|
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-field.jsoneditor-empty::after {
|
2015-12-28 03:27:35 +08:00
|
|
|
content: "field";
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-value.jsoneditor-empty::after {
|
2015-12-28 03:27:35 +08:00
|
|
|
content: "value";
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2016-03-21 01:19:13 +08:00
|
|
|
div.jsoneditor-value.jsoneditor-url,
|
|
|
|
a.jsoneditor-value.jsoneditor-url {
|
2013-11-16 01:11:50 +08:00
|
|
|
color: green;
|
|
|
|
text-decoration: underline;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2016-03-21 01:19:13 +08:00
|
|
|
a.jsoneditor-value.jsoneditor-url {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 2px;
|
|
|
|
margin: 2px;
|
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
a.jsoneditor-value.jsoneditor-url:hover,
|
|
|
|
a.jsoneditor-value.jsoneditor-url:focus {
|
2015-12-28 03:27:35 +08:00
|
|
|
color: #ee422e;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor td.jsoneditor-separator {
|
2013-11-16 01:11:50 +08:00
|
|
|
padding: 3px 0;
|
|
|
|
vertical-align: top;
|
|
|
|
color: gray;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-field[contenteditable=true]:focus,
|
|
|
|
div.jsoneditor-field[contenteditable=true]:hover,
|
|
|
|
div.jsoneditor-value[contenteditable=true]:focus,
|
|
|
|
div.jsoneditor-value[contenteditable=true]:hover,
|
|
|
|
div.jsoneditor-field.jsoneditor-highlight,
|
|
|
|
div.jsoneditor-value.jsoneditor-highlight {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-color: #FFFFAB;
|
|
|
|
border: 1px solid yellow;
|
|
|
|
border-radius: 2px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-field.jsoneditor-highlight-active,
|
|
|
|
div.jsoneditor-field.jsoneditor-highlight-active:focus,
|
|
|
|
div.jsoneditor-field.jsoneditor-highlight-active:hover,
|
|
|
|
div.jsoneditor-value.jsoneditor-highlight-active,
|
|
|
|
div.jsoneditor-value.jsoneditor-highlight-active:focus,
|
|
|
|
div.jsoneditor-value.jsoneditor-highlight-active:hover {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-color: #ffee00;
|
|
|
|
border: 1px solid #ffc700;
|
|
|
|
border-radius: 2px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-value.jsoneditor-string {
|
2015-12-28 03:27:35 +08:00
|
|
|
color: #008000;
|
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-value.jsoneditor-object,
|
|
|
|
div.jsoneditor-value.jsoneditor-array {
|
2015-12-28 03:27:35 +08:00
|
|
|
min-width: 16px;
|
|
|
|
color: #808080;
|
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-value.jsoneditor-number {
|
2015-12-28 03:27:35 +08:00
|
|
|
color: #ee422e;
|
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-value.jsoneditor-boolean {
|
2015-12-28 03:27:35 +08:00
|
|
|
color: #ff8c00;
|
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-value.jsoneditor-null {
|
2015-12-28 03:27:35 +08:00
|
|
|
color: #004ED0;
|
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-value.jsoneditor-invalid {
|
2015-12-28 03:27:35 +08:00
|
|
|
color: #000000;
|
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-tree button {
|
2013-11-16 01:11:50 +08:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
2015-12-28 03:27:35 +08:00
|
|
|
background: transparent url("img/jsoneditor-icons.svg");
|
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-mode-view tr.jsoneditor-expandable td.jsoneditor-tree,
|
|
|
|
div.jsoneditor-mode-form tr.jsoneditor-expandable td.jsoneditor-tree {
|
2015-12-28 03:27:35 +08:00
|
|
|
cursor: pointer;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-tree button.jsoneditor-collapsed {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: 0 -48px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-tree button.jsoneditor-expanded {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: 0 -72px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-tree button.jsoneditor-contextmenu {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -48px -72px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-tree button.jsoneditor-contextmenu:hover,
|
|
|
|
div.jsoneditor-tree button.jsoneditor-contextmenu:focus,
|
2015-12-31 20:38:43 +08:00
|
|
|
div.jsoneditor-tree button.jsoneditor-contextmenu.jsoneditor-selected,
|
2015-12-31 05:21:02 +08:00
|
|
|
tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-contextmenu {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -48px -48px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-tree *:focus {
|
2013-11-16 01:11:50 +08:00
|
|
|
outline: none;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-tree button:focus {
|
2013-11-16 01:11:50 +08:00
|
|
|
/* TODO: nice outline for buttons with focus
|
|
|
|
outline: #97B0F8 solid 2px;
|
|
|
|
box-shadow: 0 0 8px #97B0F8;
|
|
|
|
*/
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
outline: #e5e5e5 solid 1px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-tree button.jsoneditor-invisible {
|
2013-11-16 01:11:50 +08:00
|
|
|
visibility: hidden;
|
|
|
|
background: none;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor {
|
2013-11-16 01:11:50 +08:00
|
|
|
color: #1A1A1A;
|
2015-12-28 03:27:35 +08:00
|
|
|
border: 1px solid #3883fa;
|
2013-11-16 01:11:50 +08:00
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
padding: 0;
|
|
|
|
line-height: 100%;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-tree table.jsoneditor-tree {
|
2013-11-16 01:11:50 +08:00
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-outer {
|
2017-01-07 03:58:19 +08:00
|
|
|
position: static;
|
2013-11-16 01:11:50 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin: -35px 0 0 0;
|
|
|
|
padding: 35px 0 0 0;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2016-06-16 01:35:28 +08:00
|
|
|
textarea.jsoneditor-text,
|
|
|
|
.ace-jsoneditor {
|
|
|
|
min-height: 150px;
|
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-tree {
|
2013-11-16 01:11:50 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
overflow: auto;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
textarea.jsoneditor-text {
|
2013-11-16 01:11:50 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2015-12-28 03:27:35 +08:00
|
|
|
outline-width: 0;
|
2013-11-16 01:11:50 +08:00
|
|
|
border: none;
|
|
|
|
background-color: white;
|
|
|
|
resize: none;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
tr.jsoneditor-highlight,
|
|
|
|
tr.jsoneditor-selected {
|
|
|
|
background-color: #e6e6e6;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr.jsoneditor-selected button.jsoneditor-dragarea,
|
|
|
|
tr.jsoneditor-selected button.jsoneditor-contextmenu {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-dragarea,
|
|
|
|
tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-contextmenu {
|
|
|
|
visibility: visible;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-tree button.jsoneditor-dragarea {
|
2015-12-28 03:27:35 +08:00
|
|
|
background: url("img/jsoneditor-icons.svg") -72px -72px;
|
2013-11-16 01:11:50 +08:00
|
|
|
cursor: move;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-tree button.jsoneditor-dragarea:hover,
|
|
|
|
div.jsoneditor-tree button.jsoneditor-dragarea:focus,
|
|
|
|
tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-dragarea {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -72px -48px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor tr,
|
|
|
|
div.jsoneditor th,
|
|
|
|
div.jsoneditor td {
|
2013-11-16 01:11:50 +08:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor td {
|
2013-11-16 01:11:50 +08:00
|
|
|
vertical-align: top;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor td.jsoneditor-tree {
|
2013-11-16 01:11:50 +08:00
|
|
|
vertical-align: top;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-field,
|
|
|
|
div.jsoneditor-value,
|
|
|
|
div.jsoneditor td,
|
|
|
|
div.jsoneditor th,
|
2016-01-15 04:26:39 +08:00
|
|
|
div.jsoneditor textarea,
|
|
|
|
.jsoneditor-schema-error {
|
2015-06-13 17:16:31 +08:00
|
|
|
font-family: droid sans mono, consolas, monospace, courier new, courier, sans-serif;
|
2013-11-16 01:11:50 +08:00
|
|
|
font-size: 10pt;
|
|
|
|
color: #1A1A1A;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2016-01-15 04:26:39 +08:00
|
|
|
|
|
|
|
/* popover */
|
|
|
|
|
|
|
|
.jsoneditor-schema-error {
|
|
|
|
cursor: default;
|
|
|
|
display: inline-block;
|
|
|
|
/*font-family: arial, sans-serif;*/
|
|
|
|
height: 24px;
|
|
|
|
line-height: 24px;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.jsoneditor-tree .jsoneditor-schema-error {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 4px 0 0;
|
|
|
|
background: url("img/jsoneditor-icons.svg") -168px -48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jsoneditor-schema-error .jsoneditor-popover {
|
|
|
|
background-color: #4c4c4c;
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: 0 0 5px rgba(0,0,0,0.4);
|
|
|
|
color: #fff;
|
|
|
|
display: none;
|
|
|
|
padding: 7px 10px;
|
|
|
|
position: absolute;
|
|
|
|
width: 200px;
|
|
|
|
z-index: 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-above {
|
|
|
|
bottom: 32px;
|
|
|
|
left: -98px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-below {
|
|
|
|
top: 32px;
|
|
|
|
left: -98px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-left {
|
|
|
|
top: -7px;
|
|
|
|
right: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-right {
|
|
|
|
top: -7px;
|
|
|
|
left: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jsoneditor-schema-error .jsoneditor-popover:before {
|
|
|
|
border-right: 7px solid transparent;
|
|
|
|
border-left: 7px solid transparent;
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -7px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-above:before {
|
|
|
|
border-top: 7px solid #4c4c4c;
|
|
|
|
bottom: -7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-below:before {
|
|
|
|
border-bottom: 7px solid #4c4c4c;
|
|
|
|
top: -7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-left:before {
|
|
|
|
border-left: 7px solid #4c4c4c;
|
|
|
|
border-top: 7px solid transparent;
|
|
|
|
border-bottom: 7px solid transparent;
|
|
|
|
content: '';
|
|
|
|
top: 19px;
|
|
|
|
right: -14px;
|
|
|
|
left: inherit;
|
|
|
|
margin-left: inherit;
|
|
|
|
margin-top: -7px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jsoneditor-schema-error .jsoneditor-popover.jsoneditor-right:before {
|
|
|
|
border-right: 7px solid #4c4c4c;
|
|
|
|
border-top: 7px solid transparent;
|
|
|
|
border-bottom: 7px solid transparent;
|
|
|
|
content: '';
|
|
|
|
top: 19px;
|
|
|
|
left: -14px;
|
|
|
|
margin-left: inherit;
|
|
|
|
margin-top: -7px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jsoneditor-schema-error:hover .jsoneditor-popover,
|
|
|
|
.jsoneditor-schema-error:focus .jsoneditor-popover {
|
|
|
|
display: block;
|
|
|
|
-webkit-animation: fade-in .3s linear 1, move-up .3s linear 1;
|
|
|
|
-moz-animation: fade-in .3s linear 1, move-up .3s linear 1;
|
|
|
|
-ms-animation: fade-in .3s linear 1, move-up .3s linear 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes fade-in {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-moz-keyframes fade-in {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-ms-keyframes fade-in {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*@-webkit-keyframes move-up {*/
|
|
|
|
|
|
|
|
/*from { bottom: 24px; }*/
|
|
|
|
|
|
|
|
/*to { bottom: 32px; }*/
|
|
|
|
|
|
|
|
/*}*/
|
|
|
|
|
|
|
|
/*@-moz-keyframes move-up {*/
|
|
|
|
|
|
|
|
/*from { bottom: 24px; }*/
|
|
|
|
|
|
|
|
/*to { bottom: 32px; }*/
|
|
|
|
|
|
|
|
/*}*/
|
|
|
|
|
|
|
|
/*@-ms-keyframes move-up {*/
|
|
|
|
|
|
|
|
/*from { bottom: 24px; }*/
|
|
|
|
|
|
|
|
/*to { bottom: 32px; }*/
|
|
|
|
|
|
|
|
/*}*/
|
|
|
|
|
|
|
|
/* JSON schema errors displayed at the bottom of the editor in mode text and code */
|
|
|
|
|
|
|
|
.jsoneditor .jsoneditor-text-errors {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
background-color: #ffef8b;
|
|
|
|
border-top: 1px solid #ffd700;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jsoneditor .jsoneditor-text-errors td {
|
|
|
|
padding: 3px 6px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jsoneditor-text-errors .jsoneditor-schema-error {
|
|
|
|
border: none;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 4px 0 0;
|
|
|
|
background: url("img/jsoneditor-icons.svg") -168px -48px;
|
|
|
|
}
|
2013-05-04 04:55:15 +08:00
|
|
|
/* ContextMenu - main menu */
|
|
|
|
|
2015-12-31 20:38:43 +08:00
|
|
|
div.jsoneditor-contextmenu-root {
|
|
|
|
position: relative;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu {
|
2013-12-07 22:30:11 +08:00
|
|
|
position: absolute;
|
2016-04-10 03:00:33 +08:00
|
|
|
box-sizing: content-box;
|
2013-11-16 01:11:50 +08:00
|
|
|
z-index: 99999;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2016-04-16 16:43:43 +08:00
|
|
|
div.jsoneditor-contextmenu ul,
|
|
|
|
div.jsoneditor-contextmenu li {
|
|
|
|
box-sizing: content-box;
|
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu ul {
|
2013-11-16 01:11:50 +08:00
|
|
|
position: relative;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 124px;
|
|
|
|
background: white;
|
|
|
|
border: 1px solid #d3d3d3;
|
|
|
|
box-shadow: 2px 2px 12px rgba(128, 128, 128, 0.3);
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu ul li button {
|
2013-11-16 01:11:50 +08:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
width: 124px;
|
|
|
|
height: 24px;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
color: #4d4d4d;
|
|
|
|
background: transparent;
|
2016-03-21 01:19:13 +08:00
|
|
|
font-size: 10pt;
|
|
|
|
font-family: arial, sans-serif;
|
|
|
|
box-sizing: border-box;
|
2013-11-16 01:11:50 +08:00
|
|
|
line-height: 26px;
|
|
|
|
text-align: left;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Fix button padding in firefox */
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu ul li button::-moz-focus-inner {
|
2013-11-16 01:11:50 +08:00
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu ul li button:hover,
|
|
|
|
div.jsoneditor-contextmenu ul li button:focus {
|
2013-11-16 01:11:50 +08:00
|
|
|
color: #1a1a1a;
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
outline: none;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu ul li button.jsoneditor-default {
|
2013-11-16 01:11:50 +08:00
|
|
|
width: 92px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu ul li button.jsoneditor-expand {
|
2013-11-16 01:11:50 +08:00
|
|
|
float: right;
|
|
|
|
width: 32px;
|
|
|
|
height: 24px;
|
|
|
|
border-left: 1px solid #e5e5e5;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
float: left;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2015-12-28 03:27:35 +08:00
|
|
|
background-image: url("img/jsoneditor-icons.svg");
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu ul li button div.jsoneditor-expand {
|
2013-11-16 01:11:50 +08:00
|
|
|
float: right;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 4px 0 0;
|
2015-12-28 03:27:35 +08:00
|
|
|
background: url("img/jsoneditor-icons.svg") 0 -72px;
|
2013-11-16 01:11:50 +08:00
|
|
|
opacity: 0.4;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu ul li button:hover div.jsoneditor-expand,
|
|
|
|
div.jsoneditor-contextmenu ul li button:focus div.jsoneditor-expand,
|
|
|
|
div.jsoneditor-contextmenu ul li.jsoneditor-selected div.jsoneditor-expand,
|
|
|
|
div.jsoneditor-contextmenu ul li button.jsoneditor-expand:hover div.jsoneditor-expand,
|
|
|
|
div.jsoneditor-contextmenu ul li button.jsoneditor-expand:focus div.jsoneditor-expand {
|
2013-11-16 01:11:50 +08:00
|
|
|
opacity: 1;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu div.jsoneditor-separator {
|
2013-11-16 01:11:50 +08:00
|
|
|
height: 0;
|
|
|
|
border-top: 1px solid #e5e5e5;
|
|
|
|
padding-top: 5px;
|
|
|
|
margin-top: 5px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-remove > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -24px -24px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-remove:hover > div.jsoneditor-icon,
|
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-remove:focus > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -24px 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-append > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: 0 -24px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-append:hover > div.jsoneditor-icon,
|
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-append:focus > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: 0 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-insert > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: 0 -24px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-insert:hover > div.jsoneditor-icon,
|
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-insert:focus > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: 0 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-duplicate > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -48px -24px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-duplicate:hover > div.jsoneditor-icon,
|
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-duplicate:focus > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -48px 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-sort-asc > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -168px -24px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-sort-asc:hover > div.jsoneditor-icon,
|
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-sort-asc:focus > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -168px 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-sort-desc > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -192px -24px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-sort-desc:hover > div.jsoneditor-icon,
|
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-sort-desc:focus > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -192px 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ContextMenu - sub menu */
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu ul li button.jsoneditor-selected,
|
|
|
|
div.jsoneditor-contextmenu ul li button.jsoneditor-selected:hover,
|
|
|
|
div.jsoneditor-contextmenu ul li button.jsoneditor-selected:focus {
|
2015-12-28 03:27:35 +08:00
|
|
|
color: white;
|
|
|
|
background-color: #ee422e;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu ul li {
|
2013-11-16 01:11:50 +08:00
|
|
|
overflow: hidden;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu ul li ul {
|
2013-11-16 01:11:50 +08:00
|
|
|
display: none;
|
|
|
|
position: relative;
|
|
|
|
left: -10px;
|
|
|
|
top: 0;
|
|
|
|
border: none;
|
|
|
|
box-shadow: inset 0 0 10px rgba(128, 128, 128, 0.5);
|
|
|
|
padding: 0 10px;
|
|
|
|
/* TODO: transition is not supported on IE8-9 */
|
|
|
|
-webkit-transition: all 0.3s ease-out;
|
|
|
|
-moz-transition: all 0.3s ease-out;
|
|
|
|
-o-transition: all 0.3s ease-out;
|
|
|
|
transition: all 0.3s ease-out;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2013-05-04 04:55:15 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu ul li ul li button {
|
2013-11-16 01:11:50 +08:00
|
|
|
padding-left: 24px;
|
2015-12-28 03:27:35 +08:00
|
|
|
animation: all ease-in-out 1s;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu ul li ul li button:hover,
|
|
|
|
div.jsoneditor-contextmenu ul li ul li button:focus {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-color: #f5f5f5;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-string > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -144px -24px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-string:hover > div.jsoneditor-icon,
|
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-string:focus > div.jsoneditor-icon,
|
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-string.jsoneditor-selected > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -144px 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-auto > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -120px -24px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-auto:hover > div.jsoneditor-icon,
|
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-auto:focus > div.jsoneditor-icon,
|
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-auto.jsoneditor-selected > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -120px 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-object > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -72px -24px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-object:hover > div.jsoneditor-icon,
|
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-object:focus > div.jsoneditor-icon,
|
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-object.jsoneditor-selected > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -72px 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-array > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -96px -24px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-array:hover > div.jsoneditor-icon,
|
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-array:focus > div.jsoneditor-icon,
|
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-array.jsoneditor-selected > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -96px 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-contextmenu button.jsoneditor-type-modes > div.jsoneditor-icon {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-image: none;
|
|
|
|
width: 6px;
|
2013-08-28 04:50:20 +08:00
|
|
|
}
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-menu {
|
2013-11-16 01:11:50 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 35px;
|
|
|
|
padding: 2px;
|
|
|
|
margin: 0;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2015-12-28 03:27:35 +08:00
|
|
|
color: white;
|
|
|
|
background-color: #3883fa;
|
|
|
|
border-bottom: 1px solid #3883fa;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 20:38:43 +08:00
|
|
|
div.jsoneditor-menu > button,
|
|
|
|
div.jsoneditor-menu > div.jsoneditor-modes > button {
|
2013-11-16 01:11:50 +08:00
|
|
|
width: 26px;
|
|
|
|
height: 26px;
|
|
|
|
margin: 2px;
|
|
|
|
padding: 0;
|
|
|
|
border-radius: 2px;
|
2015-12-28 03:27:35 +08:00
|
|
|
border: 1px solid transparent;
|
|
|
|
background: transparent url("img/jsoneditor-icons.svg");
|
|
|
|
color: white;
|
2013-11-16 01:11:50 +08:00
|
|
|
opacity: 0.8;
|
|
|
|
font-family: arial, sans-serif;
|
|
|
|
font-size: 10pt;
|
|
|
|
float: left;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 20:38:43 +08:00
|
|
|
div.jsoneditor-menu > button:hover,
|
|
|
|
div.jsoneditor-menu > div.jsoneditor-modes > button:hover {
|
2015-12-28 03:27:35 +08:00
|
|
|
background-color: rgba(255,255,255,0.2);
|
|
|
|
border: 1px solid rgba(255,255,255,0.4);
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-menu > button:focus,
|
2015-12-31 20:38:43 +08:00
|
|
|
div.jsoneditor-menu > button:active,
|
|
|
|
div.jsoneditor-menu > div.jsoneditor-modes > button:focus,
|
|
|
|
div.jsoneditor-menu > div.jsoneditor-modes > button:active {
|
2015-12-28 03:27:35 +08:00
|
|
|
background-color: rgba(255,255,255,0.3);
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 20:38:43 +08:00
|
|
|
div.jsoneditor-menu > button:disabled,
|
|
|
|
div.jsoneditor-menu > div.jsoneditor-modes > button:disabled {
|
2015-12-28 03:27:35 +08:00
|
|
|
opacity: 0.5;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-menu > button.jsoneditor-collapse-all {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: 0 -96px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-menu > button.jsoneditor-expand-all {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: 0 -120px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-menu > button.jsoneditor-undo {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -24px -96px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-menu > button.jsoneditor-undo:disabled {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -24px -120px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-menu > button.jsoneditor-redo {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -48px -96px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-menu > button.jsoneditor-redo:disabled {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -48px -120px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-menu > button.jsoneditor-compact {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -72px -96px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-menu > button.jsoneditor-format {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -72px -120px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 20:38:43 +08:00
|
|
|
div.jsoneditor-menu > div.jsoneditor-modes {
|
|
|
|
display: inline-block;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.jsoneditor-menu > div.jsoneditor-modes > button {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-image: none;
|
|
|
|
width: auto;
|
|
|
|
padding-left: 6px;
|
|
|
|
padding-right: 6px;
|
2013-08-28 04:50:20 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 20:38:43 +08:00
|
|
|
div.jsoneditor-menu > button.jsoneditor-separator,
|
|
|
|
div.jsoneditor-menu > div.jsoneditor-modes > button.jsoneditor-separator {
|
2013-11-16 01:11:50 +08:00
|
|
|
margin-left: 10px;
|
2013-08-28 04:50:20 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-menu a {
|
2013-11-16 01:11:50 +08:00
|
|
|
font-family: arial, sans-serif;
|
|
|
|
font-size: 10pt;
|
2015-12-28 03:27:35 +08:00
|
|
|
color: white;
|
|
|
|
opacity: 0.8;
|
2013-11-16 01:11:50 +08:00
|
|
|
vertical-align: middle;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-menu a:hover {
|
2015-12-28 03:27:35 +08:00
|
|
|
opacity: 1;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
div.jsoneditor-menu a.jsoneditor-poweredBy {
|
2013-11-16 01:11:50 +08:00
|
|
|
font-size: 8pt;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
padding: 10px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2015-12-31 05:21:02 +08:00
|
|
|
table.jsoneditor-search input,
|
|
|
|
table.jsoneditor-search div.jsoneditor-results {
|
2013-11-16 01:11:50 +08:00
|
|
|
font-family: arial, sans-serif;
|
|
|
|
font-size: 10pt;
|
|
|
|
color: #1A1A1A;
|
2015-01-23 17:39:12 +08:00
|
|
|
background: transparent;
|
|
|
|
/* For Firefox */
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2016-03-21 01:19:13 +08:00
|
|
|
table.jsoneditor-search div.jsoneditor-results {
|
|
|
|
color: white;
|
|
|
|
padding-right: 5px;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
table.jsoneditor-search {
|
2013-11-16 01:11:50 +08:00
|
|
|
position: absolute;
|
2016-03-21 01:19:13 +08:00
|
|
|
right: 4px;
|
|
|
|
top: 4px;
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
table.jsoneditor-search div.jsoneditor-frame {
|
2015-12-28 03:27:35 +08:00
|
|
|
border: 1px solid transparent;
|
2013-11-16 01:11:50 +08:00
|
|
|
background-color: white;
|
|
|
|
padding: 0 2px;
|
|
|
|
margin: 0;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
table.jsoneditor-search div.jsoneditor-frame table {
|
2013-11-16 01:11:50 +08:00
|
|
|
border-collapse: collapse;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
table.jsoneditor-search input {
|
2013-11-16 01:11:50 +08:00
|
|
|
width: 120px;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
margin: 1px;
|
2015-12-28 03:27:35 +08:00
|
|
|
line-height: 20px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
table.jsoneditor-search button {
|
2013-11-16 01:11:50 +08:00
|
|
|
width: 16px;
|
|
|
|
height: 24px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
2015-12-28 03:27:35 +08:00
|
|
|
background: url("img/jsoneditor-icons.svg");
|
2013-11-16 01:11:50 +08:00
|
|
|
vertical-align: top;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
table.jsoneditor-search button:hover {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-color: transparent;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
table.jsoneditor-search button.jsoneditor-refresh {
|
2013-11-16 01:11:50 +08:00
|
|
|
width: 18px;
|
|
|
|
background-position: -99px -73px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
table.jsoneditor-search button.jsoneditor-next {
|
2013-11-16 01:11:50 +08:00
|
|
|
cursor: pointer;
|
|
|
|
background-position: -124px -73px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
table.jsoneditor-search button.jsoneditor-next:hover {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -124px -49px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
table.jsoneditor-search button.jsoneditor-previous {
|
2013-11-16 01:11:50 +08:00
|
|
|
cursor: pointer;
|
|
|
|
background-position: -148px -73px;
|
|
|
|
margin-right: 2px;
|
2013-05-04 04:55:15 +08:00
|
|
|
}
|
2014-05-30 04:35:47 +08:00
|
|
|
|
2015-12-31 05:21:02 +08:00
|
|
|
table.jsoneditor-search button.jsoneditor-previous:hover {
|
2013-11-16 01:11:50 +08:00
|
|
|
background-position: -148px -49px;
|
2017-07-02 20:32:00 +08:00
|
|
|
}
|
|
|
|
div.jsoneditor div.autocomplete.dropdown {
|
|
|
|
position: absolute;
|
|
|
|
background: white;
|
|
|
|
box-shadow: 2px 2px 12px rgba(128, 128, 128, 0.3);
|
|
|
|
border: 1px solid #d3d3d3;
|
|
|
|
z-index: 100;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
cursor: default;
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 2pt;
|
|
|
|
padding-right: 5pt;
|
|
|
|
text-align: left;
|
|
|
|
outline: 0;
|
|
|
|
font-family: droid sans mono, consolas, monospace, courier new, courier, sans-serif;
|
|
|
|
font-size: 10pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.jsoneditor div.autocomplete.dropdown .item {
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.jsoneditor div.autocomplete.dropdown .item.hover {
|
|
|
|
background-color: #ddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.jsoneditor div.autocomplete.hint {
|
|
|
|
color: #aaa;
|
|
|
|
top: 4px;
|
|
|
|
left: 4px;
|
2014-05-30 04:35:47 +08:00
|
|
|
}
|