인라인css 제거

main
이범준 8 months ago
parent 5ee2df2a05
commit dcf94a6774

@ -166,13 +166,13 @@ LoadScript("chartScript","/resources/sneat/libs/chartjs/chartjs.js");
var falseLineChart = `<svg xmlns="http://www.w3.org/2000/svg" class="skeleton" var falseLineChart = `<svg xmlns="http://www.w3.org/2000/svg" class="skeleton"
height="250" viewBox="0 0 24 24" style="fill: rgba(0, 0, 0, 1);transform: ;msFilter:;"> height="250" viewBox="0 0 24 24">
<path class="skeleton" d="M3 3v17a1 1 0 0 0 1 1h17v-2H5V3H3z"></path> <path class="skeleton" d="M3 3v17a1 1 0 0 0 1 1h17v-2H5V3H3z"></path>
<path class="skeleton" d="M15.293 14.707a.999.999 0 0 0 1.414 0l5-5-1.414-1.414L16 12.586l-2.293-2.293a.999.999 0 0 0-1.414 0l-5 5 1.414 1.414L13 12.414l2.293 2.293z"></path> <path class="skeleton" d="M15.293 14.707a.999.999 0 0 0 1.414 0l5-5-1.414-1.414L16 12.586l-2.293-2.293a.999.999 0 0 0-1.414 0l-5 5 1.414 1.414L13 12.414l2.293 2.293z"></path>
</svg>`; </svg>`;
var falseDoughnutChart = `<svg xmlns="http://www.w3.org/2000/svg" class="skeleton" var falseDoughnutChart = `<svg xmlns="http://www.w3.org/2000/svg" class="skeleton"
height="250" viewBox="0 0 24 24" style="fill: rgba(0, 0, 0, 1);transform: ;msFilter:;"> height="250" viewBox="0 0 24 24">
<path class="skeleton" d="M13 6c2.507.423 4.577 2.493 5 5h4c-.471-4.717-4.283-8.529-9-9v4z"></path> <path class="skeleton" d="M13 6c2.507.423 4.577 2.493 5 5h4c-.471-4.717-4.283-8.529-9-9v4z"></path>
<path class="skeleton" d="M18 13c-.478 2.833-2.982 4.949-5.949 4.949-3.309 0-6-2.691-6-6C6.051 8.982 8.167 6.478 11 6V2c-5.046.504-8.949 4.773-8.949 9.949 0 5.514 4.486 10 10 10 5.176 0 9.445-3.903 9.949-8.949h-4z"></path> <path class="skeleton" d="M18 13c-.478 2.833-2.982 4.949-5.949 4.949-3.309 0-6-2.691-6-6C6.051 8.982 8.167 6.478 11 6V2c-5.046.504-8.949 4.773-8.949 9.949 0 5.514 4.486 10 10 10 5.176 0 9.445-3.903 9.949-8.949h-4z"></path>
</svg>`; </svg>`;

@ -2,7 +2,7 @@
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<link rel="stylesheet" href="<c:url value="/resources/sneat/libs/jstree/jstree.css"/>" <link rel="stylesheet" href="<c:url value="/resources/sneat/libs/jstree/jstree.css"/>"
<div id="_url-tree" class="main-left d-flex flex-column flex-grow-1"> <div id="_url-tree" class="main-left d-flex flex-column flex-grow-1">
<div class="d-flex justify-content-between" style="padding-top:.5em; padding-bottom:.5em; border-top:1px solid #dfdfdf; border-bottom:1px solid #dfdfdf;"> <div class="d-flex justify-content-between py-2 border-separator-y">
<span> <span>
<button id="_urlToggler" onclick="_toggleURLs();" class="btn btn-primary"></button> <button id="_urlToggler" onclick="_toggleURLs();" class="btn btn-primary"></button>
</span> </span>

@ -132,6 +132,10 @@ select {
100% { color: #f2f2f2; } 100% { color: #f2f2f2; }
} }
svg.skeleton {
fill: rgba(0, 0, 0, 1);
}
svg.skeleton, path.skeleton { svg.skeleton, path.skeleton {
animation: skeleton-loading-fill 1s infinite; animation: skeleton-loading-fill 1s infinite;
} }
@ -718,3 +722,7 @@ select.option-style-select > option[value='BLACK']{ color: var(--pdf-black);back
max-height: 800px; max-height: 800px;
} }
.border-separator-y {
border-top:1px solid #dfdfdf;
border-bottom:1px solid #dfdfdf;
}
Loading…
Cancel
Save