troca de ícone

This commit is contained in:
Rafael Tavares Juliani 2024-01-28 23:32:34 -03:00
parent f4e3fc16ec
commit ab34005950
3 changed files with 253 additions and 3 deletions

194
estante.svg Normal file
View File

@ -0,0 +1,194 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
height="12.050216"
viewBox="0 -960 390.1601 482.00863"
width="9.7540026"
version="1.1"
id="svg1"
sodipodi:docname="import_contacts_FILL0_wght400_GRAD0_opsz24.svg"
inkscape:export-filename="estante.svg"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="true">
<inkscape:grid
id="grid5"
units="px"
originx="-7.0948441"
originy="-6.0099514"
spacingx="40"
spacingy="40"
empcolor="#0099e5"
empopacity="0.30196078"
color="#0099e5"
opacity="0.14901961"
empspacing="5"
dotted="false"
gridanglex="30"
gridanglez="30"
visible="true" />
</sodipodi:namedview>
<metadata
id="metadata8">
<rdf:RDF>
<cc:Work
rdf:about="">
<cc:license
rdf:resource="http://creativecommons.org/licenses/by/4.0/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
<path
style="fill:none;fill-opacity:1;stroke:#444444;stroke-width:18.7156;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 10.946558,-950.64219 H 380.80233 v 463.29302 H 9.3893078 Z"
id="path9" />
<path
style="fill:none;fill-opacity:1;stroke:#444444;stroke-width:18.7156;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 10.167938,-795.69209 H 380.02368"
id="path10" />
<path
style="fill:none;fill-opacity:1;stroke:#444444;stroke-width:18.7156;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 10.167938,-642.29927 H 381.58098"
id="path11" />
<path
style="fill:none;fill-opacity:1;stroke:#5a5a5a;stroke-width:25.6627;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 56.552258,-804.51716 V -910.22937"
id="path12" />
<path
style="fill:none;fill-opacity:1;stroke:#676467;stroke-width:27.2218;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 81.496448,-804.26148 V -923.21056"
id="path12-9" />
<path
style="fill:none;fill-opacity:1;stroke:#5a5a5a;stroke-width:27.6878;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 107.64922,-804.47468 v -123.0556"
id="path12-8" />
<path
style="fill:none;fill-opacity:1;stroke:#676467;stroke-width:26.225;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 134.52044,-804.219 V -914.61444"
id="path12-9-9" />
<path
style="fill:none;fill-opacity:1;stroke:#5a5a5a;stroke-width:25.6627;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 135.90985,-495.15092 V -600.86305"
id="path12-85" />
<path
style="fill:none;fill-opacity:1;stroke:#676467;stroke-width:27.2218;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 160.85402,-494.89522 V -613.84434"
id="path12-9-7" />
<path
style="fill:none;fill-opacity:1;stroke:#5a5a5a;stroke-width:26.7524;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 214.64864,-495.88705 V -610.76687"
id="path12-8-3" />
<path
style="fill:none;fill-opacity:1;stroke:#676467;stroke-width:26.225;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 187.79342,-494.85269 v -110.3955"
id="path12-9-9-5" />
<path
style="fill:none;fill-opacity:1;stroke:#5a5a5a;stroke-width:25.6627;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 32.022118,-495.43001 V -601.14217"
id="path12-4" />
<path
style="fill:none;fill-opacity:1;stroke:#676467;stroke-width:27.2218;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 56.966298,-495.1743 V -614.1234"
id="path12-9-2" />
<path
style="fill:none;fill-opacity:1;stroke:#676467;stroke-width:26.225;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 109.99031,-495.13179 V -605.5273"
id="path12-9-9-25" />
<path
style="fill:none;fill-opacity:1;stroke:#676467;stroke-width:27.1791;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 337.56255,-804.43696 V -923.00821"
id="path12-9-9-2" />
<path
style="fill:none;fill-opacity:1;stroke:#717171;stroke-width:26.9096;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 311.47016,-804.67371 V -920.90903"
id="path12-9-9-2-1" />
<path
style="fill:none;fill-opacity:1;stroke:#5d575a;stroke-width:25.6167;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 285.3935,-804.20022 v -105.3343"
id="path12-9-9-2-10" />
<path
style="fill:none;fill-opacity:1;stroke:#676467;stroke-width:26.4553;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 259.301,-804.43696 V -916.77908"
id="path12-9-9-2-1-1" />
<path
style="fill:none;fill-opacity:1;stroke:#676467;stroke-width:24.897;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 196.31502,-651.5939 v -99.4945"
id="path12-9-9-2-6" />
<path
style="fill:none;fill-opacity:1;stroke:#717171;stroke-width:26.9096;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 170.22253,-651.24665 V -767.482"
id="path12-9-9-2-1-8" />
<path
style="fill:none;fill-opacity:1;stroke:#5d575a;stroke-width:25.6167;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 144.14589,-651.35722 v -105.3343"
id="path12-9-9-2-10-6" />
<path
style="fill:none;fill-opacity:1;stroke:#676467;stroke-width:26.4553;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 118.05347,-651.5939 V -763.93602"
id="path12-9-9-2-1-1-1" />
<path
style="fill:none;fill-opacity:1;stroke:#676467;stroke-width:24.897;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 274.65286,-651.1704 v -99.49451"
id="path12-9-9-2-6-3" />
<path
style="fill:none;fill-opacity:1;stroke:#717171;stroke-width:25.9926;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 299.95093,-650.82316 V -759.27203"
id="path12-9-9-2-1-8-5" />
<path
style="fill:none;fill-opacity:1;stroke:#5d575a;stroke-width:25.6167;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 250.51492,-650.93366 v -105.3343"
id="path12-9-9-2-10-6-8" />
<path
style="fill:none;fill-opacity:1;stroke:#676467;stroke-width:26.4553;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 222.08654,-650.39178 V -762.73384"
id="path12-9-9-2-1-1-1-3" />
<path
style="fill:none;fill-opacity:1;stroke:#676467;stroke-width:24.897;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 331.02823,-496.2203 v -99.4945"
id="path12-9-9-2-6-32" />
<path
style="fill:none;fill-opacity:1;stroke:#717171;stroke-width:26.9096;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 304.9358,-495.87306 V -612.10839"
id="path12-9-9-2-1-8-0" />
<path
style="fill:none;fill-opacity:1;stroke:#5d575a;stroke-width:25.6167;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 278.85914,-495.98356 V -601.31784"
id="path12-9-9-2-10-6-6" />
<path
style="fill:none;fill-opacity:1;stroke:#676467;stroke-width:26.4553;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 252.76669,-496.2203 V -608.56243"
id="path12-9-9-2-1-1-1-36" />
<path
style="fill:none;fill-opacity:1;stroke:#676467;stroke-width:26.4553;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 356.79981,-495.01816 V -607.36021"
id="path12-9-9-2-1-1-1-3-0" />
</svg>

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

@ -8,6 +8,8 @@ var observer;
let ref_cap_busca = {};
let modelo_referencia_antigo = false;
window.onload = (event) => {
@ -688,7 +690,7 @@ if (navbarTools) {
link2.title = 'Mais livros gratuitos...';
var img2 = document.createElement('img');
img2.src = 'https://js.livro.online/moan-quarto/import_contacts_FILL0_wght400_GRAD0_opsz24.svg';
img2.src = 'https://js.livro.online/moan-quarto/livro_aberto_curvas.svg';
img2.alt = 'Livros';
img2.width = 28;
img2.height = 28;
@ -885,7 +887,7 @@ function removeSpecialCharacters(input) {
}
//Funcao para buscar a referencia
function buscar_referencia(){
function buscar_referencia(modelo_referencia_antigo){
// Quando os livros antigos forem inseridos na plataforma, será necessário usar tb a funcao antiga, pois as referencias sao diferenetes
let ref = buscaRefInput.value;
@ -917,7 +919,7 @@ function buscar_referencia(){
buscaRefInput.addEventListener('keydown', (event) => {
if (event.key === 'Enter' || event.keyCode === 13) {
event.preventDefault(); // Impede que o formulário seja enviado (se aplicável)
buscar_referencia();
buscar_referencia(modelo_referencia_antigo);
}
});

54
livro_aberto_curvas.svg Normal file
View File

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
height="14.761114"
viewBox="0 -960 828.28568 590.44456"
width="20.707142"
version="1.1"
id="svg1"
sodipodi:docname="import_contacts_FILL0_wght400_GRAD0_opsz24.svg"
inkscape:export-filename="livro_aberto_curvas.svg"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="true">
<inkscape:grid
id="grid5"
units="px"
originx="-1.6285713"
originy="-4.7343502"
spacingx="40"
spacingy="40"
empcolor="#0099e5"
empopacity="0.30196078"
color="#0099e5"
opacity="0.14901961"
empspacing="5"
dotted="false"
gridanglex="30"
gridanglez="30"
visible="true" />
</sodipodi:namedview>
<path
style="fill:none;fill-opacity:1;stroke:#444444;stroke-width:24;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 16.285719,-909.37401 c 255.229951,-100.69469 398.571431,41.42857 398.571431,41.42857 0,0 164.53579,-148.82466 401.42856,-41.42857 0,158.56406 -1.42856,306.67528 -1.42856,482.85716 -276.36368,-117.99412 -402.85716,38.5714 -402.85716,38.5714 0,0 -140.38303,-153.29867 -399.999987,-38.5714 0,-122.28715 4.201652,-325.17187 4.285716,-482.85716 z"
id="path5"
sodipodi:nodetypes="ccccccc" />
<path
style="fill:none;fill-opacity:1;stroke:#444444;stroke-width:12.28;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 411.99999,-869.37401 v 467.14284"
id="path6" />
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB