Merge pull request #515 from landru29/master

jsoneditor-icons.svg is explicitly in a relative path to be compliant…
This commit is contained in:
Jos de Jong 2018-03-05 19:23:14 +01:00 committed by GitHub
commit fa7af9b3da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View File

@ -86,7 +86,7 @@ div.jsoneditor-contextmenu div.jsoneditor-icon {
border: none; border: none;
padding: 0; padding: 0;
margin: 0; margin: 0;
background-image: url('img/jsoneditor-icons.svg'); background-image: url('./img/jsoneditor-icons.svg');
} }
div.jsoneditor-contextmenu ul li ul div.jsoneditor-icon { div.jsoneditor-contextmenu ul li ul div.jsoneditor-icon {
@ -110,7 +110,7 @@ div.jsoneditor-contextmenu ul li button div.jsoneditor-expand {
height: 24px; height: 24px;
padding: 0; padding: 0;
margin: 0 4px 0 0; margin: 0 4px 0 0;
background: url('img/jsoneditor-icons.svg') 0 -72px; background: url('./img/jsoneditor-icons.svg') 0 -72px;
opacity: 0.4; opacity: 0.4;
} }

View File

@ -131,7 +131,7 @@ div.jsoneditor-tree button {
margin: 0; margin: 0;
border: none; border: none;
cursor: pointer; cursor: pointer;
background: transparent url('img/jsoneditor-icons.svg'); background: transparent url('./img/jsoneditor-icons.svg');
} }
div.jsoneditor-mode-view tr.jsoneditor-expandable td.jsoneditor-tree, div.jsoneditor-mode-view tr.jsoneditor-expandable td.jsoneditor-tree,
@ -263,7 +263,7 @@ tr.jsoneditor-selected.jsoneditor-first button.jsoneditor-contextmenu {
} }
div.jsoneditor-tree button.jsoneditor-dragarea { div.jsoneditor-tree button.jsoneditor-dragarea {
background: url('img/jsoneditor-icons.svg') -72px -72px; background: url('./img/jsoneditor-icons.svg') -72px -72px;
cursor: move; cursor: move;
} }
@ -320,7 +320,7 @@ div.jsoneditor-tree .jsoneditor-schema-error {
height: 24px; height: 24px;
padding: 0; padding: 0;
margin: 0 4px 0 0; margin: 0 4px 0 0;
background: url('img/jsoneditor-icons.svg') -168px -48px; background: url('./img/jsoneditor-icons.svg') -168px -48px;
} }
.jsoneditor-schema-error .jsoneditor-popover { .jsoneditor-schema-error .jsoneditor-popover {
@ -454,6 +454,6 @@ div.jsoneditor-tree .jsoneditor-schema-error {
height: 24px; height: 24px;
padding: 0; padding: 0;
margin: 0 4px 0 0; margin: 0 4px 0 0;
background: url('img/jsoneditor-icons.svg') -168px -48px; background: url('./img/jsoneditor-icons.svg') -168px -48px;
} }

View File

@ -21,7 +21,7 @@ div.jsoneditor-menu > div.jsoneditor-modes > button {
padding: 0; padding: 0;
border-radius: 2px; border-radius: 2px;
border: 1px solid transparent; border: 1px solid transparent;
background: transparent url('img/jsoneditor-icons.svg'); background: transparent url('./img/jsoneditor-icons.svg');
color: white; color: white;
opacity: 0.8; opacity: 0.8;

View File

@ -46,7 +46,7 @@ table.jsoneditor-search button {
padding: 0; padding: 0;
margin: 0; margin: 0;
border: none; border: none;
background: url('img/jsoneditor-icons.svg'); background: url('./img/jsoneditor-icons.svg');
vertical-align: top; vertical-align: top;
} }