diff --git a/css/jsonEditor.css b/css/JSONEditor.css similarity index 96% rename from css/jsonEditor.css rename to css/JSONEditor.css index 1962213..ecf0765 100644 --- a/css/jsonEditor.css +++ b/css/JSONEditor.css @@ -69,7 +69,7 @@ .JSONEditor > .context[loc=root] > ul > li[role=Type] li[role=String] { display: none; } .JSONEditor > .context li[role=Type]:after, .JSONEditor > .context li[role=Insert]:after { content: ''; display: block; z-index: 1; width: 5px; height: 8px; margin-top: -4px; position: absolute; right: 10px; top: 50%; background-position: 0 -30px; } .JSONEditor > pre.preview { position: relative; float: right; width: 49%; min-height: 100px; margin: 0; padding: 12px; border: 1px solid #ccc; font-size: 13px; } -.JSONEditor > pre.preview:before { content: 'Preview'; display: block; position: absolute; padding: 2px 6px 2px 8px; right: 0; top: 0; font-size: 12px; font-weight: 600; font-family: Verdana, sans-serif; color: #666; background: #f5f5f5; border-width: 0 0 1px 1px; border-style: solid; border-color: #ccc; border-bottom-left-radius: 3px; } +.JSONEditor > pre.preview:before { content: 'Preview'; display: block; position: absolute; margin: 0; padding: 2px 6px 2px 8px; right: 0; top: 0; font-size: 12px; font-weight: 600; font-family: Verdana, sans-serif; color: #666; background: #f5f5f5; border-width: 0 0 1px 1px; border-style: solid; border-color: #ccc; border-bottom-left-radius: 3px; } .JSONEditor.preview > div.index { width: 49%; float: left; overflow: auto; } .JSONEditor.preview > pre.preview { display: block; } diff --git a/css/jsonEditor.scss b/css/JSONEditor.scss similarity index 98% rename from css/jsonEditor.scss rename to css/JSONEditor.scss index 5b9bbaf..292ed10 100644 --- a/css/jsonEditor.scss +++ b/css/JSONEditor.scss @@ -247,7 +247,7 @@ border: 1px solid #ccc; font-size: 13px; &:before { - content: 'Preview'; display: block; position: absolute; + content: 'Preview'; display: block; position: absolute; margin: 0; padding: 2px 6px 2px 8px; right: 0; top: 0; font-size: 12px; font-weight: 600; font-family: Verdana, sans-serif; color: #666; diff --git a/index.html b/index.html index 41fb60c..e9d067f 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ JSON Manager - +