Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion css/jsonEditor.css → css/JSONEditor.css
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down
2 changes: 1 addition & 1 deletion css/jsonEditor.scss → css/JSONEditor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<title>JSON Manager</title>
<link rel="stylesheet" href="./css/jsonEditor.css" />
<link rel="stylesheet" href="./css/JSONEditor.css" />
<link rel="stylesheet" href="./css/extra.css" />
</head>
<body>
Expand Down