diff --git a/web/static/css/main.css b/web/static/css/main.css index 7a9bac4..3d5135d 100644 --- a/web/static/css/main.css +++ b/web/static/css/main.css @@ -970,6 +970,10 @@ select { 80% { transform: translateX(4px); } } +/* animacije flash/inline poruka (keyframes iznad) */ +.poruka-animacija { animation: slideDown 0.3s ease forwards; } +.greska-animacija { animation: shake 0.4s ease; } + .animiraj { animation: fadeInUp 0.2s ease both; } diff --git a/web/templates/stranice/admin_korisnici.html b/web/templates/stranice/admin_korisnici.html index 51eb688..00530c1 100644 --- a/web/templates/stranice/admin_korisnici.html +++ b/web/templates/stranice/admin_korisnici.html @@ -4,7 +4,6 @@ {{define "dodatni-css"}} -{{end}} - {{define "sadrzaj"}}
diff --git a/web/templates/stranice/dobavljaci.html b/web/templates/stranice/dobavljaci.html index 97408ac..bb15c65 100644 --- a/web/templates/stranice/dobavljaci.html +++ b/web/templates/stranice/dobavljaci.html @@ -4,7 +4,6 @@ {{define "dodatni-css"}} -{{end}} - {{define "sadrzaj"}}
diff --git a/web/templates/stranice/nabavka_forma.html b/web/templates/stranice/nabavka_forma.html index 917c1db..3f57bbc 100644 --- a/web/templates/stranice/nabavka_forma.html +++ b/web/templates/stranice/nabavka_forma.html @@ -7,7 +7,6 @@ @keyframes modalIn { from { opacity: 0; transform: translateY(-16px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } } .forma-kartica:nth-child(1) { animation-delay: 0.04s; } .forma-kartica:nth-child(2) { animation-delay: 0.12s; } - .greska-animacija { animation: shake 0.4s ease; } .modal-sadrzaj { animation: modalIn 0.25s ease forwards; } {{end}} diff --git a/web/templates/stranice/nabavke.html b/web/templates/stranice/nabavke.html index 8044dd8..351d61c 100644 --- a/web/templates/stranice/nabavke.html +++ b/web/templates/stranice/nabavke.html @@ -4,7 +4,6 @@ {{define "dodatni-css"}} -{{end}} - {{define "sadrzaj"}}
diff --git a/web/templates/stranice/prodaja.html b/web/templates/stranice/prodaja.html index c5f94a0..2923aa7 100644 --- a/web/templates/stranice/prodaja.html +++ b/web/templates/stranice/prodaja.html @@ -1,6 +1,5 @@ {{template "base" .}} {{define "naslov"}}Prodaja — NTech{{end}} {{define "dodatni-css"}} {{end}} {{define "sadrzaj"}}
diff --git a/web/templates/stranice/prodaja_forma.html b/web/templates/stranice/prodaja_forma.html index 1ce9368..11ba2cd 100644 --- a/web/templates/stranice/prodaja_forma.html +++ b/web/templates/stranice/prodaja_forma.html @@ -3,7 +3,6 @@ {{end}} {{define "sadrzaj"}} diff --git a/web/templates/stranice/servis.html b/web/templates/stranice/servis.html index c971908..c44a008 100644 --- a/web/templates/stranice/servis.html +++ b/web/templates/stranice/servis.html @@ -4,7 +4,6 @@ {{define "dodatni-css"}} -{{end}} - {{define "sadrzaj"}}