diff --git a/static/.DS_Store b/static/.DS_Store index 0da30f8f..429b3411 100644 Binary files a/static/.DS_Store and b/static/.DS_Store differ diff --git a/static/css/SaudiRiyalFont.ttf b/static/css/SaudiRiyalFont.ttf new file mode 100644 index 00000000..d6b5ebce Binary files /dev/null and b/static/css/SaudiRiyalFont.ttf differ diff --git a/static/css/SaudiRiyalFont.woff b/static/css/SaudiRiyalFont.woff new file mode 100644 index 00000000..7d733e98 Binary files /dev/null and b/static/css/SaudiRiyalFont.woff differ diff --git a/static/css/SaudiRiyalFont.woff2 b/static/css/SaudiRiyalFont.woff2 new file mode 100644 index 00000000..f8072477 Binary files /dev/null and b/static/css/SaudiRiyalFont.woff2 differ diff --git a/static/css/custom.css b/static/css/custom.css index 1aebbccb..5b485e9f 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -1,9 +1,10 @@ @font-face { font-family: 'SaudiRiyalFont'; - src: url('static/fonts/SaudiRiyalFont.woff2') format('woff2'), - url('static/fonts/SaudiRiyalFont.woff') format('woff'), - url('static/fonts/SaudiRiyalFont.ttf') format('truetype'); - + src: url('data:font/woff2;charset=utf-8;base64,AAEAAAAOAIAAAwBgRkZUTaeTaogAAAcsAAAAHEdERUYAFQAUAAAHEAAAABxPUy8yVD/gEAAAAWgAAABgY21hcAAQAacAAAHYAAABQmN2dCAAIQJ5AAADHAAAAARnYXNw//8AAwAABwgAAAAIZ2x5ZkNtdysAAAMsAAABXGhlYWQrFeKTAAAA7AAAADZoaGVhB5UDvwAAASQAAAAkaG10eA2GALsAAAHIAAAAEGxvY2EA2ABUAAADIAAAAAptYXhwAEgAlwAAAUgAAAAgbmFtZXvm85wAAASIAAACTHBvc3S1ak3uAAAG1AAAADIAAQAAAAEAAOjiFBRfDzz1AAsD6AAAAADj3kPWAAAAAOPeW4AAIf84BBkDIAAAAAgAAgAAAAAAAAABAAADIP84AFoEggAAAAAEGQABAAAAAAAAAAAAAAAAAAAABAABAAAABABmAAIAAAAAAAIAAAABAAEAAABAAC4A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gMDAxLjAwMAAAUwBhAHUAZABpAFIAaQB5AGEAbABGAG8AbgB0AABTYXVkaVJpeWFsRm9udAAAAgAAAAAAAP+1ADIAAAABAAAAAAAAAAAAAAAAAAAAAAAEAAAAAQACAQIHdW5pRkRGQwAAAAAAAf//AAIAAQAAAAAAAAAMABQABAAAAAIAAAABAAAAAQAAAAAAAQAAAADf1ssxAAAAAOPeQ9YAAAAA495bgA==') format('woff'); + font-weight: normal; + font-style: normal; + font-display: swap; } .currency { diff --git a/staticfiles/admin/js/collapse.js b/staticfiles/admin/js/collapse.js deleted file mode 100644 index c6c7b0f6..00000000 --- a/staticfiles/admin/js/collapse.js +++ /dev/null @@ -1,43 +0,0 @@ -/*global gettext*/ -'use strict'; -{ - window.addEventListener('load', function() { - // Add anchor tag for Show/Hide link - const fieldsets = document.querySelectorAll('fieldset.collapse'); - for (const [i, elem] of fieldsets.entries()) { - // Don't hide if fields in this fieldset have errors - if (elem.querySelectorAll('div.errors, ul.errorlist').length === 0) { - elem.classList.add('collapsed'); - const h2 = elem.querySelector('h2'); - const link = document.createElement('a'); - link.id = 'fieldsetcollapser' + i; - link.className = 'collapse-toggle'; - link.href = '#'; - link.textContent = gettext('Show'); - h2.appendChild(document.createTextNode(' (')); - h2.appendChild(link); - h2.appendChild(document.createTextNode(')')); - } - } - // Add toggle to hide/show anchor tag - const toggleFunc = function(ev) { - if (ev.target.matches('.collapse-toggle')) { - ev.preventDefault(); - ev.stopPropagation(); - const fieldset = ev.target.closest('fieldset'); - if (fieldset.classList.contains('collapsed')) { - // Show - ev.target.textContent = gettext('Hide'); - fieldset.classList.remove('collapsed'); - } else { - // Hide - ev.target.textContent = gettext('Show'); - fieldset.classList.add('collapsed'); - } - } - }; - document.querySelectorAll('fieldset.module').forEach(function(el) { - el.addEventListener('click', toggleFunc); - }); - }); -} diff --git a/staticfiles/assets/fonts/SaudiRiyalFont.ttf b/staticfiles/assets/fonts/SaudiRiyalFont.ttf deleted file mode 100644 index 684c7098..00000000 Binary files a/staticfiles/assets/fonts/SaudiRiyalFont.ttf and /dev/null differ diff --git a/staticfiles/css/custom.css b/staticfiles/css/custom.css index 665b5a9d..1aebbccb 100644 --- a/staticfiles/css/custom.css +++ b/staticfiles/css/custom.css @@ -1,8 +1,9 @@ @font-face { font-family: 'SaudiRiyalFont'; - src: url('/static/assets/fonts/SaudiRiyalFont.ttf') format('truetype'); - font-weight: normal; - font-style: normal; + src: url('static/fonts/SaudiRiyalFont.woff2') format('woff2'), + url('static/fonts/SaudiRiyalFont.woff') format('woff'), + url('static/fonts/SaudiRiyalFont.ttf') format('truetype'); + } .currency { diff --git a/staticfiles/css/theme-rtl.css b/staticfiles/css/theme-rtl.css index d015fb89..3d544a6f 100644 --- a/staticfiles/css/theme-rtl.css +++ b/staticfiles/css/theme-rtl.css @@ -26697,8 +26697,8 @@ html[dir=rtl] .googlemap .gm-style-iw.gm-style-iw-c button[title=Close] { right: 0; -o-object-fit: cover; object-fit: cover; - height: 100%; - min-width: 100%; + height: 150%; + min-width: 150%; } .bg-holder .bg-youtube { position: absolute !important; diff --git a/staticfiles/css/theme.css b/staticfiles/css/theme.css index 6a3da3e8..05ea19bc 100644 --- a/staticfiles/css/theme.css +++ b/staticfiles/css/theme.css @@ -26724,8 +26724,8 @@ html[dir=rtl] .googlemap .gm-style-iw.gm-style-iw-c button[title=Close] { left: 0; -o-object-fit: cover; object-fit: cover; - height: 100%; - min-width: 100%; + height: 150%; + min-width: 150%; } .bg-holder .bg-youtube { position: absolute !important; diff --git a/staticfiles/css/tutorial.css b/staticfiles/css/tutorial.css new file mode 100644 index 00000000..20728e87 --- /dev/null +++ b/staticfiles/css/tutorial.css @@ -0,0 +1,43 @@ +/* Dims the background */ +.tutorial-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.7); + z-index: 1000; + display: none; + align-items: center; + justify-content: center; +} + +/* Tooltip box */ +.tutorial-box { + position: absolute; + background: white; + padding: 15px; + border-radius: 8px; + z-index: 1100; + max-width: 300px; + box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2); + text-align: center; +} + +/* Arrow pointing to the element */ +.tutorial-arrow { + position: absolute; + width: 0; + height: 0; + border-left: 10px solid transparent; + border-right: 10px solid transparent; + border-bottom: 10px solid white; +} + +/* Highlighted element */ +.tutorial-highlight { + position: relative; + z-index: 1200; + box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.8); + border-radius: 5px; +} \ No newline at end of file diff --git a/staticfiles/flags/ae.gif b/staticfiles/flags/ae.gif deleted file mode 100644 index cecae610..00000000 Binary files a/staticfiles/flags/ae.gif and /dev/null differ diff --git a/staticfiles/flags/af.gif b/staticfiles/flags/af.gif deleted file mode 100644 index ab546726..00000000 Binary files a/staticfiles/flags/af.gif and /dev/null differ diff --git a/staticfiles/flags/ag.gif b/staticfiles/flags/ag.gif deleted file mode 100644 index e0878055..00000000 Binary files a/staticfiles/flags/ag.gif and /dev/null differ diff --git a/staticfiles/flags/al.gif b/staticfiles/flags/al.gif deleted file mode 100644 index 448e65cb..00000000 Binary files a/staticfiles/flags/al.gif and /dev/null differ diff --git a/staticfiles/flags/am.gif b/staticfiles/flags/am.gif deleted file mode 100644 index 8665fe45..00000000 Binary files a/staticfiles/flags/am.gif and /dev/null differ diff --git a/staticfiles/flags/ao.gif b/staticfiles/flags/ao.gif deleted file mode 100644 index 4a49238e..00000000 Binary files a/staticfiles/flags/ao.gif and /dev/null differ diff --git a/staticfiles/flags/aq.gif b/staticfiles/flags/aq.gif deleted file mode 100644 index 5e299d16..00000000 Binary files a/staticfiles/flags/aq.gif and /dev/null differ diff --git a/staticfiles/flags/ar.gif b/staticfiles/flags/ar.gif deleted file mode 100644 index 56918bfc..00000000 Binary files a/staticfiles/flags/ar.gif and /dev/null differ diff --git a/staticfiles/flags/as.gif b/staticfiles/flags/as.gif deleted file mode 100644 index 9efdf378..00000000 Binary files a/staticfiles/flags/as.gif and /dev/null differ diff --git a/staticfiles/flags/at.gif b/staticfiles/flags/at.gif deleted file mode 100644 index 0111bb5d..00000000 Binary files a/staticfiles/flags/at.gif and /dev/null differ diff --git a/staticfiles/flags/au.gif b/staticfiles/flags/au.gif deleted file mode 100644 index 08945485..00000000 Binary files a/staticfiles/flags/au.gif and /dev/null differ diff --git a/staticfiles/flags/ax.gif b/staticfiles/flags/ax.gif deleted file mode 100644 index ce20077d..00000000 Binary files a/staticfiles/flags/ax.gif and /dev/null differ diff --git a/staticfiles/flags/ba.gif b/staticfiles/flags/ba.gif deleted file mode 100644 index e957194e..00000000 Binary files a/staticfiles/flags/ba.gif and /dev/null differ diff --git a/staticfiles/flags/bb.gif b/staticfiles/flags/bb.gif deleted file mode 100644 index 7f3e77ed..00000000 Binary files a/staticfiles/flags/bb.gif and /dev/null differ diff --git a/staticfiles/flags/bd.gif b/staticfiles/flags/bd.gif deleted file mode 100644 index c91a1f89..00000000 Binary files a/staticfiles/flags/bd.gif and /dev/null differ diff --git a/staticfiles/flags/be.gif b/staticfiles/flags/be.gif deleted file mode 100644 index a0dcccfd..00000000 Binary files a/staticfiles/flags/be.gif and /dev/null differ diff --git a/staticfiles/flags/bf.gif b/staticfiles/flags/bf.gif deleted file mode 100644 index 323d3b71..00000000 Binary files a/staticfiles/flags/bf.gif and /dev/null differ diff --git a/staticfiles/flags/bg.gif b/staticfiles/flags/bg.gif deleted file mode 100644 index e87028be..00000000 Binary files a/staticfiles/flags/bg.gif and /dev/null differ diff --git a/staticfiles/flags/bh.gif b/staticfiles/flags/bh.gif deleted file mode 100644 index 9ca2e37f..00000000 Binary files a/staticfiles/flags/bh.gif and /dev/null differ diff --git a/staticfiles/flags/bl.gif b/staticfiles/flags/bl.gif deleted file mode 100644 index 0c21d69a..00000000 Binary files a/staticfiles/flags/bl.gif and /dev/null differ diff --git a/staticfiles/flags/bm.gif b/staticfiles/flags/bm.gif deleted file mode 100644 index bda72207..00000000 Binary files a/staticfiles/flags/bm.gif and /dev/null differ diff --git a/staticfiles/flags/bn.gif b/staticfiles/flags/bn.gif deleted file mode 100644 index 5714b453..00000000 Binary files a/staticfiles/flags/bn.gif and /dev/null differ diff --git a/staticfiles/flags/bo.gif b/staticfiles/flags/bo.gif deleted file mode 100644 index 4ada27cc..00000000 Binary files a/staticfiles/flags/bo.gif and /dev/null differ diff --git a/staticfiles/flags/bq.gif b/staticfiles/flags/bq.gif deleted file mode 100644 index 5785c133..00000000 Binary files a/staticfiles/flags/bq.gif and /dev/null differ diff --git a/staticfiles/flags/br.gif b/staticfiles/flags/br.gif deleted file mode 100644 index 8541dd02..00000000 Binary files a/staticfiles/flags/br.gif and /dev/null differ diff --git a/staticfiles/flags/bt.gif b/staticfiles/flags/bt.gif deleted file mode 100644 index 57dc21c6..00000000 Binary files a/staticfiles/flags/bt.gif and /dev/null differ diff --git a/staticfiles/flags/bv.gif b/staticfiles/flags/bv.gif deleted file mode 100644 index b1117a7b..00000000 Binary files a/staticfiles/flags/bv.gif and /dev/null differ diff --git a/staticfiles/flags/by.gif b/staticfiles/flags/by.gif deleted file mode 100644 index 6b7d8394..00000000 Binary files a/staticfiles/flags/by.gif and /dev/null differ diff --git a/staticfiles/flags/ca.gif b/staticfiles/flags/ca.gif deleted file mode 100644 index f7382a20..00000000 Binary files a/staticfiles/flags/ca.gif and /dev/null differ diff --git a/staticfiles/flags/cd.gif b/staticfiles/flags/cd.gif deleted file mode 100644 index e786a5c1..00000000 Binary files a/staticfiles/flags/cd.gif and /dev/null differ diff --git a/staticfiles/flags/cf.gif b/staticfiles/flags/cf.gif deleted file mode 100644 index acdd287c..00000000 Binary files a/staticfiles/flags/cf.gif and /dev/null differ diff --git a/staticfiles/flags/cg.gif b/staticfiles/flags/cg.gif deleted file mode 100644 index e052941f..00000000 Binary files a/staticfiles/flags/cg.gif and /dev/null differ diff --git a/staticfiles/flags/ch.gif b/staticfiles/flags/ch.gif deleted file mode 100644 index 8d02693f..00000000 Binary files a/staticfiles/flags/ch.gif and /dev/null differ diff --git a/staticfiles/flags/ci.gif b/staticfiles/flags/ci.gif deleted file mode 100644 index 86ae6b31..00000000 Binary files a/staticfiles/flags/ci.gif and /dev/null differ diff --git a/staticfiles/flags/ck.gif b/staticfiles/flags/ck.gif deleted file mode 100644 index 8310438f..00000000 Binary files a/staticfiles/flags/ck.gif and /dev/null differ diff --git a/staticfiles/flags/cm.gif b/staticfiles/flags/cm.gif deleted file mode 100644 index 8d0ebadf..00000000 Binary files a/staticfiles/flags/cm.gif and /dev/null differ diff --git a/staticfiles/flags/cn.gif b/staticfiles/flags/cn.gif deleted file mode 100644 index b0dc412a..00000000 Binary files a/staticfiles/flags/cn.gif and /dev/null differ diff --git a/staticfiles/flags/co.gif b/staticfiles/flags/co.gif deleted file mode 100644 index b608cd6a..00000000 Binary files a/staticfiles/flags/co.gif and /dev/null differ diff --git a/staticfiles/flags/cr.gif b/staticfiles/flags/cr.gif deleted file mode 100644 index 1bc86250..00000000 Binary files a/staticfiles/flags/cr.gif and /dev/null differ diff --git a/staticfiles/flags/cu.gif b/staticfiles/flags/cu.gif deleted file mode 100644 index d514610c..00000000 Binary files a/staticfiles/flags/cu.gif and /dev/null differ diff --git a/staticfiles/flags/cv.gif b/staticfiles/flags/cv.gif deleted file mode 100644 index 28023639..00000000 Binary files a/staticfiles/flags/cv.gif and /dev/null differ diff --git a/staticfiles/flags/cw.gif b/staticfiles/flags/cw.gif deleted file mode 100644 index 59617886..00000000 Binary files a/staticfiles/flags/cw.gif and /dev/null differ diff --git a/staticfiles/flags/cy.gif b/staticfiles/flags/cy.gif deleted file mode 100644 index 8fb2da54..00000000 Binary files a/staticfiles/flags/cy.gif and /dev/null differ diff --git a/staticfiles/flags/dj.gif b/staticfiles/flags/dj.gif deleted file mode 100644 index d9f12158..00000000 Binary files a/staticfiles/flags/dj.gif and /dev/null differ diff --git a/staticfiles/flags/do.gif b/staticfiles/flags/do.gif deleted file mode 100644 index 952af49e..00000000 Binary files a/staticfiles/flags/do.gif and /dev/null differ diff --git a/staticfiles/flags/ec.gif b/staticfiles/flags/ec.gif deleted file mode 100644 index fc3e2940..00000000 Binary files a/staticfiles/flags/ec.gif and /dev/null differ diff --git a/staticfiles/flags/ee.gif b/staticfiles/flags/ee.gif deleted file mode 100644 index da4bd2b1..00000000 Binary files a/staticfiles/flags/ee.gif and /dev/null differ diff --git a/staticfiles/flags/eg.gif b/staticfiles/flags/eg.gif deleted file mode 100644 index c5448c82..00000000 Binary files a/staticfiles/flags/eg.gif and /dev/null differ diff --git a/staticfiles/flags/er.gif b/staticfiles/flags/er.gif deleted file mode 100644 index 266097f1..00000000 Binary files a/staticfiles/flags/er.gif and /dev/null differ diff --git a/staticfiles/flags/es.gif b/staticfiles/flags/es.gif deleted file mode 100644 index 9ef1912a..00000000 Binary files a/staticfiles/flags/es.gif and /dev/null differ diff --git a/staticfiles/flags/et.gif b/staticfiles/flags/et.gif deleted file mode 100644 index 632a5fd8..00000000 Binary files a/staticfiles/flags/et.gif and /dev/null differ diff --git a/staticfiles/flags/fi.gif b/staticfiles/flags/fi.gif deleted file mode 100644 index 888caf5b..00000000 Binary files a/staticfiles/flags/fi.gif and /dev/null differ diff --git a/staticfiles/flags/fj.gif b/staticfiles/flags/fj.gif deleted file mode 100644 index 531cdb97..00000000 Binary files a/staticfiles/flags/fj.gif and /dev/null differ diff --git a/staticfiles/flags/fk.gif b/staticfiles/flags/fk.gif deleted file mode 100644 index 3720fc4a..00000000 Binary files a/staticfiles/flags/fk.gif and /dev/null differ diff --git a/staticfiles/flags/fm.gif b/staticfiles/flags/fm.gif deleted file mode 100644 index 49e72c05..00000000 Binary files a/staticfiles/flags/fm.gif and /dev/null differ diff --git a/staticfiles/flags/fo.gif b/staticfiles/flags/fo.gif deleted file mode 100644 index ddafd369..00000000 Binary files a/staticfiles/flags/fo.gif and /dev/null differ diff --git a/staticfiles/flags/fr.gif b/staticfiles/flags/fr.gif deleted file mode 100644 index 0c21d69a..00000000 Binary files a/staticfiles/flags/fr.gif and /dev/null differ diff --git a/staticfiles/flags/ga.gif b/staticfiles/flags/ga.gif deleted file mode 100644 index 757c1e68..00000000 Binary files a/staticfiles/flags/ga.gif and /dev/null differ diff --git a/staticfiles/flags/gb.gif b/staticfiles/flags/gb.gif deleted file mode 100644 index ccac6cc8..00000000 Binary files a/staticfiles/flags/gb.gif and /dev/null differ diff --git a/staticfiles/flags/gg.gif b/staticfiles/flags/gg.gif deleted file mode 100644 index cf4b31c3..00000000 Binary files a/staticfiles/flags/gg.gif and /dev/null differ diff --git a/staticfiles/flags/gh.gif b/staticfiles/flags/gh.gif deleted file mode 100644 index d4da8e89..00000000 Binary files a/staticfiles/flags/gh.gif and /dev/null differ diff --git a/staticfiles/flags/gi.gif b/staticfiles/flags/gi.gif deleted file mode 100644 index 9f90768f..00000000 Binary files a/staticfiles/flags/gi.gif and /dev/null differ diff --git a/staticfiles/flags/gl.gif b/staticfiles/flags/gl.gif deleted file mode 100644 index e9d93876..00000000 Binary files a/staticfiles/flags/gl.gif and /dev/null differ diff --git a/staticfiles/flags/gm.gif b/staticfiles/flags/gm.gif deleted file mode 100644 index 03ce1236..00000000 Binary files a/staticfiles/flags/gm.gif and /dev/null differ diff --git a/staticfiles/flags/gq.gif b/staticfiles/flags/gq.gif deleted file mode 100644 index 7525731e..00000000 Binary files a/staticfiles/flags/gq.gif and /dev/null differ diff --git a/staticfiles/flags/gr.gif b/staticfiles/flags/gr.gif deleted file mode 100644 index 7557345e..00000000 Binary files a/staticfiles/flags/gr.gif and /dev/null differ diff --git a/staticfiles/flags/gt.gif b/staticfiles/flags/gt.gif deleted file mode 100644 index 066410d7..00000000 Binary files a/staticfiles/flags/gt.gif and /dev/null differ diff --git a/staticfiles/flags/gy.gif b/staticfiles/flags/gy.gif deleted file mode 100644 index 9f943e87..00000000 Binary files a/staticfiles/flags/gy.gif and /dev/null differ diff --git a/staticfiles/flags/hk.gif b/staticfiles/flags/hk.gif deleted file mode 100644 index 0c645609..00000000 Binary files a/staticfiles/flags/hk.gif and /dev/null differ diff --git a/staticfiles/flags/hm.gif b/staticfiles/flags/hm.gif deleted file mode 100644 index 08945485..00000000 Binary files a/staticfiles/flags/hm.gif and /dev/null differ diff --git a/staticfiles/flags/hr.gif b/staticfiles/flags/hr.gif deleted file mode 100644 index 249d624a..00000000 Binary files a/staticfiles/flags/hr.gif and /dev/null differ diff --git a/staticfiles/flags/hu.gif b/staticfiles/flags/hu.gif deleted file mode 100644 index b7443f4f..00000000 Binary files a/staticfiles/flags/hu.gif and /dev/null differ diff --git a/staticfiles/flags/id.gif b/staticfiles/flags/id.gif deleted file mode 100644 index b8aa2c85..00000000 Binary files a/staticfiles/flags/id.gif and /dev/null differ diff --git a/staticfiles/flags/im.gif b/staticfiles/flags/im.gif deleted file mode 100644 index cf719f78..00000000 Binary files a/staticfiles/flags/im.gif and /dev/null differ diff --git a/staticfiles/flags/in.gif b/staticfiles/flags/in.gif deleted file mode 100644 index 629f259f..00000000 Binary files a/staticfiles/flags/in.gif and /dev/null differ diff --git a/staticfiles/flags/io.gif b/staticfiles/flags/io.gif deleted file mode 100644 index 1b7f551d..00000000 Binary files a/staticfiles/flags/io.gif and /dev/null differ diff --git a/staticfiles/flags/ir.gif b/staticfiles/flags/ir.gif deleted file mode 100644 index 089c0748..00000000 Binary files a/staticfiles/flags/ir.gif and /dev/null differ diff --git a/staticfiles/flags/it.gif b/staticfiles/flags/it.gif deleted file mode 100644 index cb6ece3a..00000000 Binary files a/staticfiles/flags/it.gif and /dev/null differ diff --git a/staticfiles/flags/je.gif b/staticfiles/flags/je.gif deleted file mode 100644 index e123ca53..00000000 Binary files a/staticfiles/flags/je.gif and /dev/null differ diff --git a/staticfiles/flags/jm.gif b/staticfiles/flags/jm.gif deleted file mode 100644 index 9b35681d..00000000 Binary files a/staticfiles/flags/jm.gif and /dev/null differ diff --git a/staticfiles/flags/jo.gif b/staticfiles/flags/jo.gif deleted file mode 100644 index 6dbba6a3..00000000 Binary files a/staticfiles/flags/jo.gif and /dev/null differ diff --git a/staticfiles/flags/ke.gif b/staticfiles/flags/ke.gif deleted file mode 100644 index 523cab12..00000000 Binary files a/staticfiles/flags/ke.gif and /dev/null differ diff --git a/staticfiles/flags/kg.gif b/staticfiles/flags/kg.gif deleted file mode 100644 index 52e33496..00000000 Binary files a/staticfiles/flags/kg.gif and /dev/null differ diff --git a/staticfiles/flags/kn.gif b/staticfiles/flags/kn.gif deleted file mode 100644 index 9481c1a2..00000000 Binary files a/staticfiles/flags/kn.gif and /dev/null differ diff --git a/staticfiles/flags/kr.gif b/staticfiles/flags/kr.gif deleted file mode 100644 index 28e1dfc4..00000000 Binary files a/staticfiles/flags/kr.gif and /dev/null differ diff --git a/staticfiles/flags/kz.gif b/staticfiles/flags/kz.gif deleted file mode 100644 index 031238a4..00000000 Binary files a/staticfiles/flags/kz.gif and /dev/null differ diff --git a/staticfiles/flags/la.gif b/staticfiles/flags/la.gif deleted file mode 100644 index b08836b1..00000000 Binary files a/staticfiles/flags/la.gif and /dev/null differ diff --git a/staticfiles/flags/li.gif b/staticfiles/flags/li.gif deleted file mode 100644 index fde1cbac..00000000 Binary files a/staticfiles/flags/li.gif and /dev/null differ diff --git a/staticfiles/flags/ls.gif b/staticfiles/flags/ls.gif deleted file mode 100644 index a7165734..00000000 Binary files a/staticfiles/flags/ls.gif and /dev/null differ diff --git a/staticfiles/flags/lt.gif b/staticfiles/flags/lt.gif deleted file mode 100644 index 7a4dd43c..00000000 Binary files a/staticfiles/flags/lt.gif and /dev/null differ diff --git a/staticfiles/flags/lu.gif b/staticfiles/flags/lu.gif deleted file mode 100644 index 37c8c3d3..00000000 Binary files a/staticfiles/flags/lu.gif and /dev/null differ diff --git a/staticfiles/flags/ly.gif b/staticfiles/flags/ly.gif deleted file mode 100644 index 1681b9fb..00000000 Binary files a/staticfiles/flags/ly.gif and /dev/null differ diff --git a/staticfiles/flags/ma.gif b/staticfiles/flags/ma.gif deleted file mode 100644 index 3ad13827..00000000 Binary files a/staticfiles/flags/ma.gif and /dev/null differ diff --git a/staticfiles/flags/mc.gif b/staticfiles/flags/mc.gif deleted file mode 100644 index ad62e4ae..00000000 Binary files a/staticfiles/flags/mc.gif and /dev/null differ diff --git a/staticfiles/flags/md.gif b/staticfiles/flags/md.gif deleted file mode 100644 index 2791ec63..00000000 Binary files a/staticfiles/flags/md.gif and /dev/null differ diff --git a/staticfiles/flags/mg.gif b/staticfiles/flags/mg.gif deleted file mode 100644 index 98b61fda..00000000 Binary files a/staticfiles/flags/mg.gif and /dev/null differ diff --git a/staticfiles/flags/mh.gif b/staticfiles/flags/mh.gif deleted file mode 100644 index ee2713ef..00000000 Binary files a/staticfiles/flags/mh.gif and /dev/null differ diff --git a/staticfiles/flags/mk.gif b/staticfiles/flags/mk.gif deleted file mode 100644 index 2a3e6ae3..00000000 Binary files a/staticfiles/flags/mk.gif and /dev/null differ diff --git a/staticfiles/flags/ml.gif b/staticfiles/flags/ml.gif deleted file mode 100644 index 5c7f795a..00000000 Binary files a/staticfiles/flags/ml.gif and /dev/null differ diff --git a/staticfiles/flags/mn.gif b/staticfiles/flags/mn.gif deleted file mode 100644 index 979839cb..00000000 Binary files a/staticfiles/flags/mn.gif and /dev/null differ diff --git a/staticfiles/flags/mo.gif b/staticfiles/flags/mo.gif deleted file mode 100644 index 96669903..00000000 Binary files a/staticfiles/flags/mo.gif and /dev/null differ diff --git a/staticfiles/flags/mp.gif b/staticfiles/flags/mp.gif deleted file mode 100644 index 4f1dadcc..00000000 Binary files a/staticfiles/flags/mp.gif and /dev/null differ diff --git a/staticfiles/flags/mr.gif b/staticfiles/flags/mr.gif deleted file mode 100644 index b64c0972..00000000 Binary files a/staticfiles/flags/mr.gif and /dev/null differ diff --git a/staticfiles/flags/mt.gif b/staticfiles/flags/mt.gif deleted file mode 100644 index 0d9e3f5c..00000000 Binary files a/staticfiles/flags/mt.gif and /dev/null differ diff --git a/staticfiles/flags/mu.gif b/staticfiles/flags/mu.gif deleted file mode 100644 index b49ef755..00000000 Binary files a/staticfiles/flags/mu.gif and /dev/null differ diff --git a/staticfiles/flags/mv.gif b/staticfiles/flags/mv.gif deleted file mode 100644 index 27aaaa49..00000000 Binary files a/staticfiles/flags/mv.gif and /dev/null differ diff --git a/staticfiles/flags/mx.gif b/staticfiles/flags/mx.gif deleted file mode 100644 index 530bddbf..00000000 Binary files a/staticfiles/flags/mx.gif and /dev/null differ diff --git a/staticfiles/flags/my.gif b/staticfiles/flags/my.gif deleted file mode 100644 index 592ae1a0..00000000 Binary files a/staticfiles/flags/my.gif and /dev/null differ diff --git a/staticfiles/flags/mz.gif b/staticfiles/flags/mz.gif deleted file mode 100644 index 06718ac9..00000000 Binary files a/staticfiles/flags/mz.gif and /dev/null differ diff --git a/staticfiles/flags/nc.gif b/staticfiles/flags/nc.gif deleted file mode 100644 index 4f722415..00000000 Binary files a/staticfiles/flags/nc.gif and /dev/null differ diff --git a/staticfiles/flags/ne.gif b/staticfiles/flags/ne.gif deleted file mode 100644 index fd4c076a..00000000 Binary files a/staticfiles/flags/ne.gif and /dev/null differ diff --git a/staticfiles/flags/nf.gif b/staticfiles/flags/nf.gif deleted file mode 100644 index 513de42f..00000000 Binary files a/staticfiles/flags/nf.gif and /dev/null differ diff --git a/staticfiles/flags/ng.gif b/staticfiles/flags/ng.gif deleted file mode 100644 index befcd68e..00000000 Binary files a/staticfiles/flags/ng.gif and /dev/null differ diff --git a/staticfiles/flags/ni.gif b/staticfiles/flags/ni.gif deleted file mode 100644 index b6fdd5f8..00000000 Binary files a/staticfiles/flags/ni.gif and /dev/null differ diff --git a/staticfiles/flags/nl.gif b/staticfiles/flags/nl.gif deleted file mode 100644 index a68ceae0..00000000 Binary files a/staticfiles/flags/nl.gif and /dev/null differ diff --git a/staticfiles/flags/no.gif b/staticfiles/flags/no.gif deleted file mode 100644 index b1117a7b..00000000 Binary files a/staticfiles/flags/no.gif and /dev/null differ diff --git a/staticfiles/flags/np.gif b/staticfiles/flags/np.gif deleted file mode 100644 index d7176ab2..00000000 Binary files a/staticfiles/flags/np.gif and /dev/null differ diff --git a/staticfiles/flags/nr.gif b/staticfiles/flags/nr.gif deleted file mode 100644 index 9e68a63f..00000000 Binary files a/staticfiles/flags/nr.gif and /dev/null differ diff --git a/staticfiles/flags/nu.gif b/staticfiles/flags/nu.gif deleted file mode 100644 index e2e52fe9..00000000 Binary files a/staticfiles/flags/nu.gif and /dev/null differ diff --git a/staticfiles/flags/nz.gif b/staticfiles/flags/nz.gif deleted file mode 100644 index 33873363..00000000 Binary files a/staticfiles/flags/nz.gif and /dev/null differ diff --git a/staticfiles/flags/pa.gif b/staticfiles/flags/pa.gif deleted file mode 100644 index 73fed1f9..00000000 Binary files a/staticfiles/flags/pa.gif and /dev/null differ diff --git a/staticfiles/flags/pe.gif b/staticfiles/flags/pe.gif deleted file mode 100644 index 4dc735a1..00000000 Binary files a/staticfiles/flags/pe.gif and /dev/null differ diff --git a/staticfiles/flags/pk.gif b/staticfiles/flags/pk.gif deleted file mode 100644 index 8208abb0..00000000 Binary files a/staticfiles/flags/pk.gif and /dev/null differ diff --git a/staticfiles/flags/pl.gif b/staticfiles/flags/pl.gif deleted file mode 100644 index 40146454..00000000 Binary files a/staticfiles/flags/pl.gif and /dev/null differ diff --git a/staticfiles/flags/pm.gif b/staticfiles/flags/pm.gif deleted file mode 100644 index abf703b4..00000000 Binary files a/staticfiles/flags/pm.gif and /dev/null differ diff --git a/staticfiles/flags/ps.gif b/staticfiles/flags/ps.gif deleted file mode 100644 index 15259371..00000000 Binary files a/staticfiles/flags/ps.gif and /dev/null differ diff --git a/staticfiles/flags/qa.gif b/staticfiles/flags/qa.gif deleted file mode 100644 index d354ac1d..00000000 Binary files a/staticfiles/flags/qa.gif and /dev/null differ diff --git a/staticfiles/flags/ro.gif b/staticfiles/flags/ro.gif deleted file mode 100644 index 20c8ab8b..00000000 Binary files a/staticfiles/flags/ro.gif and /dev/null differ diff --git a/staticfiles/flags/rs.gif b/staticfiles/flags/rs.gif deleted file mode 100644 index 4787f84b..00000000 Binary files a/staticfiles/flags/rs.gif and /dev/null differ diff --git a/staticfiles/flags/rw.gif b/staticfiles/flags/rw.gif deleted file mode 100644 index 34554f3b..00000000 Binary files a/staticfiles/flags/rw.gif and /dev/null differ diff --git a/staticfiles/flags/sa.gif b/staticfiles/flags/sa.gif deleted file mode 100644 index c003d8e8..00000000 Binary files a/staticfiles/flags/sa.gif and /dev/null differ diff --git a/staticfiles/flags/sb.gif b/staticfiles/flags/sb.gif deleted file mode 100644 index 901f6ce6..00000000 Binary files a/staticfiles/flags/sb.gif and /dev/null differ diff --git a/staticfiles/flags/sc.gif b/staticfiles/flags/sc.gif deleted file mode 100644 index 1d6234bc..00000000 Binary files a/staticfiles/flags/sc.gif and /dev/null differ diff --git a/staticfiles/flags/se.gif b/staticfiles/flags/se.gif deleted file mode 100644 index bbbef8ec..00000000 Binary files a/staticfiles/flags/se.gif and /dev/null differ diff --git a/staticfiles/flags/sg.gif b/staticfiles/flags/sg.gif deleted file mode 100644 index 8fe1d06d..00000000 Binary files a/staticfiles/flags/sg.gif and /dev/null differ diff --git a/staticfiles/flags/sh.gif b/staticfiles/flags/sh.gif deleted file mode 100644 index 73feb36a..00000000 Binary files a/staticfiles/flags/sh.gif and /dev/null differ diff --git a/staticfiles/flags/si.gif b/staticfiles/flags/si.gif deleted file mode 100644 index 0fbfdce7..00000000 Binary files a/staticfiles/flags/si.gif and /dev/null differ diff --git a/staticfiles/flags/sl.gif b/staticfiles/flags/sl.gif deleted file mode 100644 index d3bec52a..00000000 Binary files a/staticfiles/flags/sl.gif and /dev/null differ diff --git a/staticfiles/flags/sm.gif b/staticfiles/flags/sm.gif deleted file mode 100644 index fe10e454..00000000 Binary files a/staticfiles/flags/sm.gif and /dev/null differ diff --git a/staticfiles/flags/sn.gif b/staticfiles/flags/sn.gif deleted file mode 100644 index 85816f4c..00000000 Binary files a/staticfiles/flags/sn.gif and /dev/null differ diff --git a/staticfiles/flags/so.gif b/staticfiles/flags/so.gif deleted file mode 100644 index 65f5d9e3..00000000 Binary files a/staticfiles/flags/so.gif and /dev/null differ diff --git a/staticfiles/flags/st.gif b/staticfiles/flags/st.gif deleted file mode 100644 index 204c87e5..00000000 Binary files a/staticfiles/flags/st.gif and /dev/null differ diff --git a/staticfiles/flags/sv.gif b/staticfiles/flags/sv.gif deleted file mode 100644 index 1c94d770..00000000 Binary files a/staticfiles/flags/sv.gif and /dev/null differ diff --git a/staticfiles/flags/sx.gif b/staticfiles/flags/sx.gif deleted file mode 100644 index 04509033..00000000 Binary files a/staticfiles/flags/sx.gif and /dev/null differ diff --git a/staticfiles/flags/sy.gif b/staticfiles/flags/sy.gif deleted file mode 100644 index beca7be2..00000000 Binary files a/staticfiles/flags/sy.gif and /dev/null differ diff --git a/staticfiles/flags/sz.gif b/staticfiles/flags/sz.gif deleted file mode 100644 index e296e9b0..00000000 Binary files a/staticfiles/flags/sz.gif and /dev/null differ diff --git a/staticfiles/flags/td.gif b/staticfiles/flags/td.gif deleted file mode 100644 index 481ffd69..00000000 Binary files a/staticfiles/flags/td.gif and /dev/null differ diff --git a/staticfiles/flags/th.gif b/staticfiles/flags/th.gif deleted file mode 100644 index 79acb27f..00000000 Binary files a/staticfiles/flags/th.gif and /dev/null differ diff --git a/staticfiles/flags/tk.gif b/staticfiles/flags/tk.gif deleted file mode 100644 index 0015642f..00000000 Binary files a/staticfiles/flags/tk.gif and /dev/null differ diff --git a/staticfiles/flags/tl.gif b/staticfiles/flags/tl.gif deleted file mode 100644 index 534387a5..00000000 Binary files a/staticfiles/flags/tl.gif and /dev/null differ diff --git a/staticfiles/flags/tn.gif b/staticfiles/flags/tn.gif deleted file mode 100644 index af89d2d1..00000000 Binary files a/staticfiles/flags/tn.gif and /dev/null differ diff --git a/staticfiles/flags/to.gif b/staticfiles/flags/to.gif deleted file mode 100644 index 6eb0c413..00000000 Binary files a/staticfiles/flags/to.gif and /dev/null differ diff --git a/staticfiles/flags/tt.gif b/staticfiles/flags/tt.gif deleted file mode 100644 index 702e5008..00000000 Binary files a/staticfiles/flags/tt.gif and /dev/null differ diff --git a/staticfiles/flags/tv.gif b/staticfiles/flags/tv.gif deleted file mode 100644 index 206e7aad..00000000 Binary files a/staticfiles/flags/tv.gif and /dev/null differ diff --git a/staticfiles/flags/tw.gif b/staticfiles/flags/tw.gif deleted file mode 100644 index a5501c70..00000000 Binary files a/staticfiles/flags/tw.gif and /dev/null differ diff --git a/staticfiles/flags/tz.gif b/staticfiles/flags/tz.gif deleted file mode 100644 index 6bbd1d3c..00000000 Binary files a/staticfiles/flags/tz.gif and /dev/null differ diff --git a/staticfiles/flags/ug.gif b/staticfiles/flags/ug.gif deleted file mode 100644 index 8bc1e3da..00000000 Binary files a/staticfiles/flags/ug.gif and /dev/null differ diff --git a/staticfiles/flags/um.gif b/staticfiles/flags/um.gif deleted file mode 100644 index 10542cd6..00000000 Binary files a/staticfiles/flags/um.gif and /dev/null differ diff --git a/staticfiles/flags/us.gif b/staticfiles/flags/us.gif deleted file mode 100644 index f54c9ce2..00000000 Binary files a/staticfiles/flags/us.gif and /dev/null differ diff --git a/staticfiles/flags/uy.gif b/staticfiles/flags/uy.gif deleted file mode 100644 index 7c468371..00000000 Binary files a/staticfiles/flags/uy.gif and /dev/null differ diff --git a/staticfiles/flags/uz.gif b/staticfiles/flags/uz.gif deleted file mode 100644 index 81a95502..00000000 Binary files a/staticfiles/flags/uz.gif and /dev/null differ diff --git a/staticfiles/flags/vc.gif b/staticfiles/flags/vc.gif deleted file mode 100644 index 3dd57939..00000000 Binary files a/staticfiles/flags/vc.gif and /dev/null differ diff --git a/staticfiles/flags/ve.gif b/staticfiles/flags/ve.gif deleted file mode 100644 index 6d4efcb1..00000000 Binary files a/staticfiles/flags/ve.gif and /dev/null differ diff --git a/staticfiles/flags/vi.gif b/staticfiles/flags/vi.gif deleted file mode 100644 index 133cffd3..00000000 Binary files a/staticfiles/flags/vi.gif and /dev/null differ diff --git a/staticfiles/flags/wf.gif b/staticfiles/flags/wf.gif deleted file mode 100644 index 6baeec2f..00000000 Binary files a/staticfiles/flags/wf.gif and /dev/null differ diff --git a/staticfiles/flags/ws.gif b/staticfiles/flags/ws.gif deleted file mode 100644 index d5a83da8..00000000 Binary files a/staticfiles/flags/ws.gif and /dev/null differ diff --git a/staticfiles/flags/za.gif b/staticfiles/flags/za.gif deleted file mode 100644 index f7b505e4..00000000 Binary files a/staticfiles/flags/za.gif and /dev/null differ diff --git a/staticfiles/assets/fonts/DejaVuSans.ttf b/staticfiles/fonts/DejaVuSans.ttf similarity index 100% rename from staticfiles/assets/fonts/DejaVuSans.ttf rename to staticfiles/fonts/DejaVuSans.ttf diff --git a/staticfiles/assets/fonts/MarkaziText%5Bwght%5D.ttf b/staticfiles/fonts/MarkaziText%5Bwght%5D.ttf similarity index 100% rename from staticfiles/assets/fonts/MarkaziText%5Bwght%5D.ttf rename to staticfiles/fonts/MarkaziText%5Bwght%5D.ttf diff --git a/staticfiles/assets/fonts/Roboto%5Bwdth,wght%5D.ttf b/staticfiles/fonts/Roboto%5Bwdth,wght%5D.ttf similarity index 100% rename from staticfiles/assets/fonts/Roboto%5Bwdth,wght%5D.ttf rename to staticfiles/fonts/Roboto%5Bwdth,wght%5D.ttf diff --git a/staticfiles/fonts/SaudiRiyalFont.ttf b/staticfiles/fonts/SaudiRiyalFont.ttf new file mode 100644 index 00000000..d6b5ebce Binary files /dev/null and b/staticfiles/fonts/SaudiRiyalFont.ttf differ diff --git a/staticfiles/fonts/SaudiRiyalFont.woff b/staticfiles/fonts/SaudiRiyalFont.woff new file mode 100644 index 00000000..7d733e98 Binary files /dev/null and b/staticfiles/fonts/SaudiRiyalFont.woff differ diff --git a/staticfiles/fonts/SaudiRiyalFont.woff2 b/staticfiles/fonts/SaudiRiyalFont.woff2 new file mode 100644 index 00000000..f8072477 Binary files /dev/null and b/staticfiles/fonts/SaudiRiyalFont.woff2 differ diff --git a/staticfiles/assets/fonts/bootstrap-icons.woff2 b/staticfiles/fonts/bootstrap-icons.woff2 similarity index 100% rename from staticfiles/assets/fonts/bootstrap-icons.woff2 rename to staticfiles/fonts/bootstrap-icons.woff2 diff --git a/staticfiles/images/bg/haikal illustration dark-01.png b/staticfiles/images/bg/haikal illustration dark-01.png deleted file mode 100644 index f6bc8505..00000000 Binary files a/staticfiles/images/bg/haikal illustration dark-01.png and /dev/null differ diff --git a/staticfiles/images/bg/haikal illustration dark-02.png b/staticfiles/images/bg/haikal illustration dark-02.png deleted file mode 100644 index 2d837979..00000000 Binary files a/staticfiles/images/bg/haikal illustration dark-02.png and /dev/null differ diff --git a/staticfiles/images/bg/haikal illustration dark-03.png b/staticfiles/images/bg/haikal illustration dark-03.png deleted file mode 100644 index 676fbf09..00000000 Binary files a/staticfiles/images/bg/haikal illustration dark-03.png and /dev/null differ diff --git a/staticfiles/images/bg/haikal illustration dark-04.png b/staticfiles/images/bg/haikal illustration dark-04.png deleted file mode 100644 index 8ef9a672..00000000 Binary files a/staticfiles/images/bg/haikal illustration dark-04.png and /dev/null differ diff --git a/staticfiles/images/bg/haikal illustration dark-05.png b/staticfiles/images/bg/haikal illustration dark-05.png deleted file mode 100644 index 5719c154..00000000 Binary files a/staticfiles/images/bg/haikal illustration dark-05.png and /dev/null differ diff --git a/staticfiles/images/bg/haikal illustration dark-06.png b/staticfiles/images/bg/haikal illustration dark-06.png deleted file mode 100644 index e73b5655..00000000 Binary files a/staticfiles/images/bg/haikal illustration dark-06.png and /dev/null differ diff --git a/staticfiles/images/bg/haikal illustration dark-07.png b/staticfiles/images/bg/haikal illustration dark-07.png deleted file mode 100644 index 0bb8e503..00000000 Binary files a/staticfiles/images/bg/haikal illustration dark-07.png and /dev/null differ diff --git a/staticfiles/images/bg/haikal illustration dark-08.png b/staticfiles/images/bg/haikal illustration dark-08.png deleted file mode 100644 index d291ebf0..00000000 Binary files a/staticfiles/images/bg/haikal illustration dark-08.png and /dev/null differ diff --git a/staticfiles/images/bg/haikal illustration dark-09.png b/staticfiles/images/bg/haikal illustration dark-09.png deleted file mode 100644 index 26d242e4..00000000 Binary files a/staticfiles/images/bg/haikal illustration dark-09.png and /dev/null differ diff --git a/staticfiles/images/bg/haikal illustration dark-10.png b/staticfiles/images/bg/haikal illustration dark-10.png deleted file mode 100644 index 7f624a06..00000000 Binary files a/staticfiles/images/bg/haikal illustration dark-10.png and /dev/null differ diff --git a/staticfiles/images/bg/haikal illustration dark-11.png b/staticfiles/images/bg/haikal illustration dark-11.png deleted file mode 100644 index b103388e..00000000 Binary files a/staticfiles/images/bg/haikal illustration dark-11.png and /dev/null differ diff --git a/staticfiles/images/bg/haikal illustration dark-12.png b/staticfiles/images/bg/haikal illustration dark-12.png deleted file mode 100644 index 355ce693..00000000 Binary files a/staticfiles/images/bg/haikal illustration dark-12.png and /dev/null differ diff --git a/staticfiles/images/bg/haikal-01.png b/staticfiles/images/bg/haikal-01.png new file mode 100644 index 00000000..d1cfbb95 Binary files /dev/null and b/staticfiles/images/bg/haikal-01.png differ diff --git a/staticfiles/images/bg/haikal-02.png b/staticfiles/images/bg/haikal-02.png new file mode 100644 index 00000000..faf2131c Binary files /dev/null and b/staticfiles/images/bg/haikal-02.png differ diff --git a/staticfiles/images/bg/haikal-03.png b/staticfiles/images/bg/haikal-03.png new file mode 100644 index 00000000..099f438d Binary files /dev/null and b/staticfiles/images/bg/haikal-03.png differ diff --git a/staticfiles/images/bg/haikal-04.png b/staticfiles/images/bg/haikal-04.png new file mode 100644 index 00000000..3792f761 Binary files /dev/null and b/staticfiles/images/bg/haikal-04.png differ diff --git a/staticfiles/images/bg/haikal-05.png b/staticfiles/images/bg/haikal-05.png new file mode 100644 index 00000000..4df44c84 Binary files /dev/null and b/staticfiles/images/bg/haikal-05.png differ diff --git a/staticfiles/images/bg/haikal-06.png b/staticfiles/images/bg/haikal-06.png new file mode 100644 index 00000000..3b90d8e4 Binary files /dev/null and b/staticfiles/images/bg/haikal-06.png differ diff --git a/staticfiles/images/bg/haikal-07.png b/staticfiles/images/bg/haikal-07.png new file mode 100644 index 00000000..cf899548 Binary files /dev/null and b/staticfiles/images/bg/haikal-07.png differ diff --git a/staticfiles/images/bg/haikal-08.png b/staticfiles/images/bg/haikal-08.png new file mode 100644 index 00000000..6850f444 Binary files /dev/null and b/staticfiles/images/bg/haikal-08.png differ diff --git a/staticfiles/images/bg/haikal-09.png b/staticfiles/images/bg/haikal-09.png new file mode 100644 index 00000000..728ec2a8 Binary files /dev/null and b/staticfiles/images/bg/haikal-09.png differ diff --git a/staticfiles/images/bg/haikal-10.png b/staticfiles/images/bg/haikal-10.png new file mode 100644 index 00000000..e1ec8027 Binary files /dev/null and b/staticfiles/images/bg/haikal-10.png differ diff --git a/staticfiles/images/bg/haikal-11.png b/staticfiles/images/bg/haikal-11.png new file mode 100644 index 00000000..1a1a99ef Binary files /dev/null and b/staticfiles/images/bg/haikal-11.png differ diff --git a/staticfiles/images/bg/haikal-12.png b/staticfiles/images/bg/haikal-12.png new file mode 100644 index 00000000..e45af658 Binary files /dev/null and b/staticfiles/images/bg/haikal-12.png differ diff --git a/staticfiles/images/icons/114292_report.svg b/staticfiles/images/icons/114292_report.svg index 828d1782..8812c670 100644 --- a/staticfiles/images/icons/114292_report.svg +++ b/staticfiles/images/icons/114292_report.svg @@ -1,55 +1,55 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/staticfiles/images/icons/148542_list.svg b/staticfiles/images/icons/148542_list.svg index a0c1dfbc..ecab0d90 100644 --- a/staticfiles/images/icons/148542_list.svg +++ b/staticfiles/images/icons/148542_list.svg @@ -1,63 +1,63 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/staticfiles/images/icons/2281_financial-app.svg b/staticfiles/images/icons/2281_financial-app.svg index f4dbb879..a380ea56 100644 --- a/staticfiles/images/icons/2281_financial-app.svg +++ b/staticfiles/images/icons/2281_financial-app.svg @@ -1,58 +1,58 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/staticfiles/images/icons/35420_store.svg b/staticfiles/images/icons/35420_store.svg index c547b2d4..d993633c 100644 --- a/staticfiles/images/icons/35420_store.svg +++ b/staticfiles/images/icons/35420_store.svg @@ -1,49 +1,49 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/staticfiles/images/icons/excel.png b/staticfiles/images/icons/excel.png deleted file mode 100644 index 48fab56d..00000000 Binary files a/staticfiles/images/icons/excel.png and /dev/null differ diff --git a/staticfiles/images/icons/pdf.png b/staticfiles/images/icons/pdf.png deleted file mode 100644 index 856080f6..00000000 Binary files a/staticfiles/images/icons/pdf.png and /dev/null differ diff --git a/staticfiles/images/logos/users/Logo-all.png b/staticfiles/images/logos/users/Logo-all.png new file mode 100644 index 00000000..ecfd638b Binary files /dev/null and b/staticfiles/images/logos/users/Logo-all.png differ diff --git a/staticfiles/images/logos/users/marwan-company_SJlji6A.png b/staticfiles/images/logos/users/marwan-company_SJlji6A.png new file mode 100644 index 00000000..b381389a Binary files /dev/null and b/staticfiles/images/logos/users/marwan-company_SJlji6A.png differ diff --git a/staticfiles/images/logos/vendors/khaleej.svg b/staticfiles/images/logos/vendors/khaleej.svg index 2fe02823..36ef2e9b 100644 --- a/staticfiles/images/logos/vendors/khaleej.svg +++ b/staticfiles/images/logos/vendors/khaleej.svg @@ -1,28 +1,28 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/staticfiles/js/tutorial.js b/staticfiles/js/tutorial.js new file mode 100644 index 00000000..eacb4ebd --- /dev/null +++ b/staticfiles/js/tutorial.js @@ -0,0 +1,86 @@ +document.addEventListener("DOMContentLoaded", function () { + let tutorialSteps = [ + { selector: ".dashboard-overview", message: "This is your dashboard where you can track inventory." }, + { selector: ".add-car-button", message: "Click here to add a new car." }, + { selector: ".reports-section", message: "View and download sales & purchase reports here." } + ]; + + let currentStep = 0; + + // Create overlay and tutorial box dynamically + let overlay = document.createElement("div"); + overlay.classList.add("tutorial-overlay"); + document.body.appendChild(overlay); + + let tutorialBox = document.createElement("div"); + tutorialBox.classList.add("tutorial-box"); + overlay.appendChild(tutorialBox); + + let arrow = document.createElement("div"); + arrow.classList.add("tutorial-arrow"); + tutorialBox.appendChild(arrow); + + let messageText = document.createElement("p"); + tutorialBox.appendChild(messageText); + + let nextButton = document.createElement("button"); + nextButton.classList.add('btn'); + nextButton.classList.add('btn-sm'); + nextButton.classList.add('btn-phoenix-primary'); + nextButton.textContent = _("Next"); + nextButton.style.marginTop = "10px"; + tutorialBox.appendChild(nextButton); + + let skipButton = document.createElement("button"); + skipButton.classList.add('btn'); + skipButton.classList.add('btn-sm'); + skipButton.classList.add('btn-phoenix-primary'); + skipButton.textContent = "Skip Tutorial"; + skipButton.style.marginTop = "10px"; + skipButton.style.marginLeft = "10px"; + tutorialBox.appendChild(skipButton); + + function showStep(stepIndex) { + if (stepIndex >= tutorialSteps.length) { + overlay.style.display = "none"; + document.querySelector(".tutorial-highlight")?.classList.remove("tutorial-highlight"); + return; + } + + let step = tutorialSteps[stepIndex]; + let element = document.querySelector(step.selector); + + if (element) { + let rect = element.getBoundingClientRect(); + messageText.textContent = step.message; + + // Position tutorial box near the element + tutorialBox.style.top = rect.top + window.scrollY + rect.height + 10 + "px"; + tutorialBox.style.left = rect.left + window.scrollX + "px"; + + // Position the arrow + arrow.style.top = "-10px"; // Adjust arrow position + arrow.style.left = "50%"; + arrow.style.transform = "translateX(-50%)"; + + // Highlight the element + document.querySelector(".tutorial-highlight")?.classList.remove("tutorial-highlight"); + element.classList.add("tutorial-highlight"); + + overlay.style.display = "flex"; + } + } + + nextButton.addEventListener("click", function () { + currentStep++; + showStep(currentStep); + }); + + skipButton.addEventListener("click", function () { + overlay.style.display = "none"; + document.querySelector(".tutorial-highlight")?.classList.remove("tutorial-highlight"); + }); + + // Start the tutorial + showStep(currentStep); +}); \ No newline at end of file diff --git a/staticfiles/vendors/leaflet.tilelayer.colorfilter/leaflet-tilelayer-colorfilter.min.js b/staticfiles/vendors/leaflet.tilelayer.colorfilter/leaflet-tilelayer-colorfilter.min.js index fcb2741f..61251cc6 100644 --- a/staticfiles/vendors/leaflet.tilelayer.colorfilter/leaflet-tilelayer-colorfilter.min.js +++ b/staticfiles/vendors/leaflet.tilelayer.colorfilter/leaflet-tilelayer-colorfilter.min.js @@ -1,7 +1,7 @@ -/* - Leaflet.TileLayer.ColorFilter - (c) 2018, Claudio T. Kawakani - A simple and lightweight Leaflet plugin to apply CSS filters on map tiles. - https://github.com/xtk93x/Leaflet.TileLayer.ColorFilter -*/ +/* + Leaflet.TileLayer.ColorFilter + (c) 2018, Claudio T. Kawakani + A simple and lightweight Leaflet plugin to apply CSS filters on map tiles. + https://github.com/xtk93x/Leaflet.TileLayer.ColorFilter +*/ "use strict";L.TileLayer.ColorFilter=L.TileLayer.extend({intialize:function(t,i){L.TileLayer.prototype.initialize.call(this,t,i)},colorFilter:function(){var r=["blur:px","brightness:%","bright:brightness:%","bri:brightness:%","contrast:%","con:contrast:%","grayscale:%","gray:grayscale:%","hue-rotate:deg","hue:hue-rotate:deg","hue-rotation:hue-rotate:deg","invert:%","inv:invert:%","opacity:%","op:opacity:%","saturate:%","saturation:saturate:%","sat:saturate:%","sepia:%","sep:sepia:%"];return(this.options.filter?this.options.filter:[]).map(function(t){var i=t.toLowerCase().split(":");if(2===i.length){var e=r.find(function(t){return t.split(":")[0]===i[0]});if(e)return e=e.split(":"),i[1]+=/^\d+$/.test(i[1])?e[e.length-1]:"","".concat(e[e.length-2],"(").concat(i[1],")")}return""}).join(" ")},_initContainer:function(){L.TileLayer.prototype._initContainer.call(this);this._container.style.filter=this.colorFilter()},updateFilter:function(t){this.options.filter=t,this._container&&(this._container.style.filter=this.colorFilter())}}),L.tileLayer.colorFilter=function(t,i){return new L.TileLayer.ColorFilter(t,i)}; \ No newline at end of file diff --git a/staticfiles/vendors/leaflet/leaflet.css b/staticfiles/vendors/leaflet/leaflet.css index 2961b761..9ade8dc4 100644 --- a/staticfiles/vendors/leaflet/leaflet.css +++ b/staticfiles/vendors/leaflet/leaflet.css @@ -1,661 +1,661 @@ -/* required styles */ - -.leaflet-pane, -.leaflet-tile, -.leaflet-marker-icon, -.leaflet-marker-shadow, -.leaflet-tile-container, -.leaflet-pane > svg, -.leaflet-pane > canvas, -.leaflet-zoom-box, -.leaflet-image-layer, -.leaflet-layer { - position: absolute; - left: 0; - top: 0; - } -.leaflet-container { - overflow: hidden; - } -.leaflet-tile, -.leaflet-marker-icon, -.leaflet-marker-shadow { - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; - -webkit-user-drag: none; - } -/* Prevents IE11 from highlighting tiles in blue */ -.leaflet-tile::selection { - background: transparent; -} -/* Safari renders non-retina tile on retina better with this, but Chrome is worse */ -.leaflet-safari .leaflet-tile { - image-rendering: -webkit-optimize-contrast; - } -/* hack that prevents hw layers "stretching" when loading new tiles */ -.leaflet-safari .leaflet-tile-container { - width: 1600px; - height: 1600px; - -webkit-transform-origin: 0 0; - } -.leaflet-marker-icon, -.leaflet-marker-shadow { - display: block; - } -/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */ -/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */ -.leaflet-container .leaflet-overlay-pane svg { - max-width: none !important; - max-height: none !important; - } -.leaflet-container .leaflet-marker-pane img, -.leaflet-container .leaflet-shadow-pane img, -.leaflet-container .leaflet-tile-pane img, -.leaflet-container img.leaflet-image-layer, -.leaflet-container .leaflet-tile { - max-width: none !important; - max-height: none !important; - width: auto; - padding: 0; - } - -.leaflet-container img.leaflet-tile { - /* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */ - mix-blend-mode: plus-lighter; -} - -.leaflet-container.leaflet-touch-zoom { - -ms-touch-action: pan-x pan-y; - touch-action: pan-x pan-y; - } -.leaflet-container.leaflet-touch-drag { - -ms-touch-action: pinch-zoom; - /* Fallback for FF which doesn't support pinch-zoom */ - touch-action: none; - touch-action: pinch-zoom; -} -.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { - -ms-touch-action: none; - touch-action: none; -} -.leaflet-container { - -webkit-tap-highlight-color: transparent; -} -.leaflet-container a { - -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4); -} -.leaflet-tile { - filter: inherit; - visibility: hidden; - } -.leaflet-tile-loaded { - visibility: inherit; - } -.leaflet-zoom-box { - width: 0; - height: 0; - -moz-box-sizing: border-box; - box-sizing: border-box; - z-index: 800; - } -/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ -.leaflet-overlay-pane svg { - -moz-user-select: none; - } - -.leaflet-pane { z-index: 400; } - -.leaflet-tile-pane { z-index: 200; } -.leaflet-overlay-pane { z-index: 400; } -.leaflet-shadow-pane { z-index: 500; } -.leaflet-marker-pane { z-index: 600; } -.leaflet-tooltip-pane { z-index: 650; } -.leaflet-popup-pane { z-index: 700; } - -.leaflet-map-pane canvas { z-index: 100; } -.leaflet-map-pane svg { z-index: 200; } - -.leaflet-vml-shape { - width: 1px; - height: 1px; - } -.lvml { - behavior: url(#default#VML); - display: inline-block; - position: absolute; - } - - -/* control positioning */ - -.leaflet-control { - position: relative; - z-index: 800; - pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ - pointer-events: auto; - } -.leaflet-top, -.leaflet-bottom { - position: absolute; - z-index: 1000; - pointer-events: none; - } -.leaflet-top { - top: 0; - } -.leaflet-right { - right: 0; - } -.leaflet-bottom { - bottom: 0; - } -.leaflet-left { - left: 0; - } -.leaflet-control { - float: left; - clear: both; - } -.leaflet-right .leaflet-control { - float: right; - } -.leaflet-top .leaflet-control { - margin-top: 10px; - } -.leaflet-bottom .leaflet-control { - margin-bottom: 10px; - } -.leaflet-left .leaflet-control { - margin-left: 10px; - } -.leaflet-right .leaflet-control { - margin-right: 10px; - } - - -/* zoom and fade animations */ - -.leaflet-fade-anim .leaflet-popup { - opacity: 0; - -webkit-transition: opacity 0.2s linear; - -moz-transition: opacity 0.2s linear; - transition: opacity 0.2s linear; - } -.leaflet-fade-anim .leaflet-map-pane .leaflet-popup { - opacity: 1; - } -.leaflet-zoom-animated { - -webkit-transform-origin: 0 0; - -ms-transform-origin: 0 0; - transform-origin: 0 0; - } -svg.leaflet-zoom-animated { - will-change: transform; -} - -.leaflet-zoom-anim .leaflet-zoom-animated { - -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1); - -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1); - transition: transform 0.25s cubic-bezier(0,0,0.25,1); - } -.leaflet-zoom-anim .leaflet-tile, -.leaflet-pan-anim .leaflet-tile { - -webkit-transition: none; - -moz-transition: none; - transition: none; - } - -.leaflet-zoom-anim .leaflet-zoom-hide { - visibility: hidden; - } - - -/* cursors */ - -.leaflet-interactive { - cursor: pointer; - } -.leaflet-grab { - cursor: -webkit-grab; - cursor: -moz-grab; - cursor: grab; - } -.leaflet-crosshair, -.leaflet-crosshair .leaflet-interactive { - cursor: crosshair; - } -.leaflet-popup-pane, -.leaflet-control { - cursor: auto; - } -.leaflet-dragging .leaflet-grab, -.leaflet-dragging .leaflet-grab .leaflet-interactive, -.leaflet-dragging .leaflet-marker-draggable { - cursor: move; - cursor: -webkit-grabbing; - cursor: -moz-grabbing; - cursor: grabbing; - } - -/* marker & overlays interactivity */ -.leaflet-marker-icon, -.leaflet-marker-shadow, -.leaflet-image-layer, -.leaflet-pane > svg path, -.leaflet-tile-container { - pointer-events: none; - } - -.leaflet-marker-icon.leaflet-interactive, -.leaflet-image-layer.leaflet-interactive, -.leaflet-pane > svg path.leaflet-interactive, -svg.leaflet-image-layer.leaflet-interactive path { - pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ - pointer-events: auto; - } - -/* visual tweaks */ - -.leaflet-container { - background: #ddd; - outline-offset: 1px; - } -.leaflet-container a { - color: #0078A8; - } -.leaflet-zoom-box { - border: 2px dotted #38f; - background: rgba(255,255,255,0.5); - } - - -/* general typography */ -.leaflet-container { - font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; - font-size: 12px; - font-size: 0.75rem; - line-height: 1.5; - } - - -/* general toolbar styles */ - -.leaflet-bar { - box-shadow: 0 1px 5px rgba(0,0,0,0.65); - border-radius: 4px; - } -.leaflet-bar a { - background-color: #fff; - border-bottom: 1px solid #ccc; - width: 26px; - height: 26px; - line-height: 26px; - display: block; - text-align: center; - text-decoration: none; - color: black; - } -.leaflet-bar a, -.leaflet-control-layers-toggle { - background-position: 50% 50%; - background-repeat: no-repeat; - display: block; - } -.leaflet-bar a:hover, -.leaflet-bar a:focus { - background-color: #f4f4f4; - } -.leaflet-bar a:first-child { - border-top-left-radius: 4px; - border-top-right-radius: 4px; - } -.leaflet-bar a:last-child { - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - border-bottom: none; - } -.leaflet-bar a.leaflet-disabled { - cursor: default; - background-color: #f4f4f4; - color: #bbb; - } - -.leaflet-touch .leaflet-bar a { - width: 30px; - height: 30px; - line-height: 30px; - } -.leaflet-touch .leaflet-bar a:first-child { - border-top-left-radius: 2px; - border-top-right-radius: 2px; - } -.leaflet-touch .leaflet-bar a:last-child { - border-bottom-left-radius: 2px; - border-bottom-right-radius: 2px; - } - -/* zoom control */ - -.leaflet-control-zoom-in, -.leaflet-control-zoom-out { - font: bold 18px 'Lucida Console', Monaco, monospace; - text-indent: 1px; - } - -.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { - font-size: 22px; - } - - -/* layers control */ - -.leaflet-control-layers { - box-shadow: 0 1px 5px rgba(0,0,0,0.4); - background: #fff; - border-radius: 5px; - } -.leaflet-control-layers-toggle { - background-image: url(images/layers.png); - width: 36px; - height: 36px; - } -.leaflet-retina .leaflet-control-layers-toggle { - background-image: url(images/layers-2x.png); - background-size: 26px 26px; - } -.leaflet-touch .leaflet-control-layers-toggle { - width: 44px; - height: 44px; - } -.leaflet-control-layers .leaflet-control-layers-list, -.leaflet-control-layers-expanded .leaflet-control-layers-toggle { - display: none; - } -.leaflet-control-layers-expanded .leaflet-control-layers-list { - display: block; - position: relative; - } -.leaflet-control-layers-expanded { - padding: 6px 10px 6px 6px; - color: #333; - background: #fff; - } -.leaflet-control-layers-scrollbar { - overflow-y: scroll; - overflow-x: hidden; - padding-right: 5px; - } -.leaflet-control-layers-selector { - margin-top: 2px; - position: relative; - top: 1px; - } -.leaflet-control-layers label { - display: block; - font-size: 13px; - font-size: 1.08333em; - } -.leaflet-control-layers-separator { - height: 0; - border-top: 1px solid #ddd; - margin: 5px -10px 5px -6px; - } - -/* Default icon URLs */ -.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */ - background-image: url(images/marker-icon.png); - } - - -/* attribution and scale controls */ - -.leaflet-container .leaflet-control-attribution { - background: #fff; - background: rgba(255, 255, 255, 0.8); - margin: 0; - } -.leaflet-control-attribution, -.leaflet-control-scale-line { - padding: 0 5px; - color: #333; - line-height: 1.4; - } -.leaflet-control-attribution a { - text-decoration: none; - } -.leaflet-control-attribution a:hover, -.leaflet-control-attribution a:focus { - text-decoration: underline; - } -.leaflet-attribution-flag { - display: inline !important; - vertical-align: baseline !important; - width: 1em; - height: 0.6669em; - } -.leaflet-left .leaflet-control-scale { - margin-left: 5px; - } -.leaflet-bottom .leaflet-control-scale { - margin-bottom: 5px; - } -.leaflet-control-scale-line { - border: 2px solid #777; - border-top: none; - line-height: 1.1; - padding: 2px 5px 1px; - white-space: nowrap; - -moz-box-sizing: border-box; - box-sizing: border-box; - background: rgba(255, 255, 255, 0.8); - text-shadow: 1px 1px #fff; - } -.leaflet-control-scale-line:not(:first-child) { - border-top: 2px solid #777; - border-bottom: none; - margin-top: -2px; - } -.leaflet-control-scale-line:not(:first-child):not(:last-child) { - border-bottom: 2px solid #777; - } - -.leaflet-touch .leaflet-control-attribution, -.leaflet-touch .leaflet-control-layers, -.leaflet-touch .leaflet-bar { - box-shadow: none; - } -.leaflet-touch .leaflet-control-layers, -.leaflet-touch .leaflet-bar { - border: 2px solid rgba(0,0,0,0.2); - background-clip: padding-box; - } - - -/* popup */ - -.leaflet-popup { - position: absolute; - text-align: center; - margin-bottom: 20px; - } -.leaflet-popup-content-wrapper { - padding: 1px; - text-align: left; - border-radius: 12px; - } -.leaflet-popup-content { - margin: 13px 24px 13px 20px; - line-height: 1.3; - font-size: 13px; - font-size: 1.08333em; - min-height: 1px; - } -.leaflet-popup-content p { - margin: 17px 0; - margin: 1.3em 0; - } -.leaflet-popup-tip-container { - width: 40px; - height: 20px; - position: absolute; - left: 50%; - margin-top: -1px; - margin-left: -20px; - overflow: hidden; - pointer-events: none; - } -.leaflet-popup-tip { - width: 17px; - height: 17px; - padding: 1px; - - margin: -10px auto 0; - pointer-events: auto; - - -webkit-transform: rotate(45deg); - -moz-transform: rotate(45deg); - -ms-transform: rotate(45deg); - transform: rotate(45deg); - } -.leaflet-popup-content-wrapper, -.leaflet-popup-tip { - background: white; - color: #333; - box-shadow: 0 3px 14px rgba(0,0,0,0.4); - } -.leaflet-container a.leaflet-popup-close-button { - position: absolute; - top: 0; - right: 0; - border: none; - text-align: center; - width: 24px; - height: 24px; - font: 16px/24px Tahoma, Verdana, sans-serif; - color: #757575; - text-decoration: none; - background: transparent; - } -.leaflet-container a.leaflet-popup-close-button:hover, -.leaflet-container a.leaflet-popup-close-button:focus { - color: #585858; - } -.leaflet-popup-scrolled { - overflow: auto; - } - -.leaflet-oldie .leaflet-popup-content-wrapper { - -ms-zoom: 1; - } -.leaflet-oldie .leaflet-popup-tip { - width: 24px; - margin: 0 auto; - - -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; - filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); - } - -.leaflet-oldie .leaflet-control-zoom, -.leaflet-oldie .leaflet-control-layers, -.leaflet-oldie .leaflet-popup-content-wrapper, -.leaflet-oldie .leaflet-popup-tip { - border: 1px solid #999; - } - - -/* div icon */ - -.leaflet-div-icon { - background: #fff; - border: 1px solid #666; - } - - -/* Tooltip */ -/* Base styles for the element that has a tooltip */ -.leaflet-tooltip { - position: absolute; - padding: 6px; - background-color: #fff; - border: 1px solid #fff; - border-radius: 3px; - color: #222; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - pointer-events: none; - box-shadow: 0 1px 3px rgba(0,0,0,0.4); - } -.leaflet-tooltip.leaflet-interactive { - cursor: pointer; - pointer-events: auto; - } -.leaflet-tooltip-top:before, -.leaflet-tooltip-bottom:before, -.leaflet-tooltip-left:before, -.leaflet-tooltip-right:before { - position: absolute; - pointer-events: none; - border: 6px solid transparent; - background: transparent; - content: ""; - } - -/* Directions */ - -.leaflet-tooltip-bottom { - margin-top: 6px; -} -.leaflet-tooltip-top { - margin-top: -6px; -} -.leaflet-tooltip-bottom:before, -.leaflet-tooltip-top:before { - left: 50%; - margin-left: -6px; - } -.leaflet-tooltip-top:before { - bottom: 0; - margin-bottom: -12px; - border-top-color: #fff; - } -.leaflet-tooltip-bottom:before { - top: 0; - margin-top: -12px; - margin-left: -6px; - border-bottom-color: #fff; - } -.leaflet-tooltip-left { - margin-left: -6px; -} -.leaflet-tooltip-right { - margin-left: 6px; -} -.leaflet-tooltip-left:before, -.leaflet-tooltip-right:before { - top: 50%; - margin-top: -6px; - } -.leaflet-tooltip-left:before { - right: 0; - margin-right: -12px; - border-left-color: #fff; - } -.leaflet-tooltip-right:before { - left: 0; - margin-left: -12px; - border-right-color: #fff; - } - -/* Printing */ - -@media print { - /* Prevent printers from removing background-images of controls. */ - .leaflet-control { - -webkit-print-color-adjust: exact; - print-color-adjust: exact; - } - } +/* required styles */ + +.leaflet-pane, +.leaflet-tile, +.leaflet-marker-icon, +.leaflet-marker-shadow, +.leaflet-tile-container, +.leaflet-pane > svg, +.leaflet-pane > canvas, +.leaflet-zoom-box, +.leaflet-image-layer, +.leaflet-layer { + position: absolute; + left: 0; + top: 0; + } +.leaflet-container { + overflow: hidden; + } +.leaflet-tile, +.leaflet-marker-icon, +.leaflet-marker-shadow { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + -webkit-user-drag: none; + } +/* Prevents IE11 from highlighting tiles in blue */ +.leaflet-tile::selection { + background: transparent; +} +/* Safari renders non-retina tile on retina better with this, but Chrome is worse */ +.leaflet-safari .leaflet-tile { + image-rendering: -webkit-optimize-contrast; + } +/* hack that prevents hw layers "stretching" when loading new tiles */ +.leaflet-safari .leaflet-tile-container { + width: 1600px; + height: 1600px; + -webkit-transform-origin: 0 0; + } +.leaflet-marker-icon, +.leaflet-marker-shadow { + display: block; + } +/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */ +/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */ +.leaflet-container .leaflet-overlay-pane svg { + max-width: none !important; + max-height: none !important; + } +.leaflet-container .leaflet-marker-pane img, +.leaflet-container .leaflet-shadow-pane img, +.leaflet-container .leaflet-tile-pane img, +.leaflet-container img.leaflet-image-layer, +.leaflet-container .leaflet-tile { + max-width: none !important; + max-height: none !important; + width: auto; + padding: 0; + } + +.leaflet-container img.leaflet-tile { + /* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */ + mix-blend-mode: plus-lighter; +} + +.leaflet-container.leaflet-touch-zoom { + -ms-touch-action: pan-x pan-y; + touch-action: pan-x pan-y; + } +.leaflet-container.leaflet-touch-drag { + -ms-touch-action: pinch-zoom; + /* Fallback for FF which doesn't support pinch-zoom */ + touch-action: none; + touch-action: pinch-zoom; +} +.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { + -ms-touch-action: none; + touch-action: none; +} +.leaflet-container { + -webkit-tap-highlight-color: transparent; +} +.leaflet-container a { + -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4); +} +.leaflet-tile { + filter: inherit; + visibility: hidden; + } +.leaflet-tile-loaded { + visibility: inherit; + } +.leaflet-zoom-box { + width: 0; + height: 0; + -moz-box-sizing: border-box; + box-sizing: border-box; + z-index: 800; + } +/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ +.leaflet-overlay-pane svg { + -moz-user-select: none; + } + +.leaflet-pane { z-index: 400; } + +.leaflet-tile-pane { z-index: 200; } +.leaflet-overlay-pane { z-index: 400; } +.leaflet-shadow-pane { z-index: 500; } +.leaflet-marker-pane { z-index: 600; } +.leaflet-tooltip-pane { z-index: 650; } +.leaflet-popup-pane { z-index: 700; } + +.leaflet-map-pane canvas { z-index: 100; } +.leaflet-map-pane svg { z-index: 200; } + +.leaflet-vml-shape { + width: 1px; + height: 1px; + } +.lvml { + behavior: url(#default#VML); + display: inline-block; + position: absolute; + } + + +/* control positioning */ + +.leaflet-control { + position: relative; + z-index: 800; + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ + pointer-events: auto; + } +.leaflet-top, +.leaflet-bottom { + position: absolute; + z-index: 1000; + pointer-events: none; + } +.leaflet-top { + top: 0; + } +.leaflet-right { + right: 0; + } +.leaflet-bottom { + bottom: 0; + } +.leaflet-left { + left: 0; + } +.leaflet-control { + float: left; + clear: both; + } +.leaflet-right .leaflet-control { + float: right; + } +.leaflet-top .leaflet-control { + margin-top: 10px; + } +.leaflet-bottom .leaflet-control { + margin-bottom: 10px; + } +.leaflet-left .leaflet-control { + margin-left: 10px; + } +.leaflet-right .leaflet-control { + margin-right: 10px; + } + + +/* zoom and fade animations */ + +.leaflet-fade-anim .leaflet-popup { + opacity: 0; + -webkit-transition: opacity 0.2s linear; + -moz-transition: opacity 0.2s linear; + transition: opacity 0.2s linear; + } +.leaflet-fade-anim .leaflet-map-pane .leaflet-popup { + opacity: 1; + } +.leaflet-zoom-animated { + -webkit-transform-origin: 0 0; + -ms-transform-origin: 0 0; + transform-origin: 0 0; + } +svg.leaflet-zoom-animated { + will-change: transform; +} + +.leaflet-zoom-anim .leaflet-zoom-animated { + -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1); + -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1); + transition: transform 0.25s cubic-bezier(0,0,0.25,1); + } +.leaflet-zoom-anim .leaflet-tile, +.leaflet-pan-anim .leaflet-tile { + -webkit-transition: none; + -moz-transition: none; + transition: none; + } + +.leaflet-zoom-anim .leaflet-zoom-hide { + visibility: hidden; + } + + +/* cursors */ + +.leaflet-interactive { + cursor: pointer; + } +.leaflet-grab { + cursor: -webkit-grab; + cursor: -moz-grab; + cursor: grab; + } +.leaflet-crosshair, +.leaflet-crosshair .leaflet-interactive { + cursor: crosshair; + } +.leaflet-popup-pane, +.leaflet-control { + cursor: auto; + } +.leaflet-dragging .leaflet-grab, +.leaflet-dragging .leaflet-grab .leaflet-interactive, +.leaflet-dragging .leaflet-marker-draggable { + cursor: move; + cursor: -webkit-grabbing; + cursor: -moz-grabbing; + cursor: grabbing; + } + +/* marker & overlays interactivity */ +.leaflet-marker-icon, +.leaflet-marker-shadow, +.leaflet-image-layer, +.leaflet-pane > svg path, +.leaflet-tile-container { + pointer-events: none; + } + +.leaflet-marker-icon.leaflet-interactive, +.leaflet-image-layer.leaflet-interactive, +.leaflet-pane > svg path.leaflet-interactive, +svg.leaflet-image-layer.leaflet-interactive path { + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ + pointer-events: auto; + } + +/* visual tweaks */ + +.leaflet-container { + background: #ddd; + outline-offset: 1px; + } +.leaflet-container a { + color: #0078A8; + } +.leaflet-zoom-box { + border: 2px dotted #38f; + background: rgba(255,255,255,0.5); + } + + +/* general typography */ +.leaflet-container { + font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; + font-size: 12px; + font-size: 0.75rem; + line-height: 1.5; + } + + +/* general toolbar styles */ + +.leaflet-bar { + box-shadow: 0 1px 5px rgba(0,0,0,0.65); + border-radius: 4px; + } +.leaflet-bar a { + background-color: #fff; + border-bottom: 1px solid #ccc; + width: 26px; + height: 26px; + line-height: 26px; + display: block; + text-align: center; + text-decoration: none; + color: black; + } +.leaflet-bar a, +.leaflet-control-layers-toggle { + background-position: 50% 50%; + background-repeat: no-repeat; + display: block; + } +.leaflet-bar a:hover, +.leaflet-bar a:focus { + background-color: #f4f4f4; + } +.leaflet-bar a:first-child { + border-top-left-radius: 4px; + border-top-right-radius: 4px; + } +.leaflet-bar a:last-child { + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + border-bottom: none; + } +.leaflet-bar a.leaflet-disabled { + cursor: default; + background-color: #f4f4f4; + color: #bbb; + } + +.leaflet-touch .leaflet-bar a { + width: 30px; + height: 30px; + line-height: 30px; + } +.leaflet-touch .leaflet-bar a:first-child { + border-top-left-radius: 2px; + border-top-right-radius: 2px; + } +.leaflet-touch .leaflet-bar a:last-child { + border-bottom-left-radius: 2px; + border-bottom-right-radius: 2px; + } + +/* zoom control */ + +.leaflet-control-zoom-in, +.leaflet-control-zoom-out { + font: bold 18px 'Lucida Console', Monaco, monospace; + text-indent: 1px; + } + +.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { + font-size: 22px; + } + + +/* layers control */ + +.leaflet-control-layers { + box-shadow: 0 1px 5px rgba(0,0,0,0.4); + background: #fff; + border-radius: 5px; + } +.leaflet-control-layers-toggle { + background-image: url(images/layers.png); + width: 36px; + height: 36px; + } +.leaflet-retina .leaflet-control-layers-toggle { + background-image: url(images/layers-2x.png); + background-size: 26px 26px; + } +.leaflet-touch .leaflet-control-layers-toggle { + width: 44px; + height: 44px; + } +.leaflet-control-layers .leaflet-control-layers-list, +.leaflet-control-layers-expanded .leaflet-control-layers-toggle { + display: none; + } +.leaflet-control-layers-expanded .leaflet-control-layers-list { + display: block; + position: relative; + } +.leaflet-control-layers-expanded { + padding: 6px 10px 6px 6px; + color: #333; + background: #fff; + } +.leaflet-control-layers-scrollbar { + overflow-y: scroll; + overflow-x: hidden; + padding-right: 5px; + } +.leaflet-control-layers-selector { + margin-top: 2px; + position: relative; + top: 1px; + } +.leaflet-control-layers label { + display: block; + font-size: 13px; + font-size: 1.08333em; + } +.leaflet-control-layers-separator { + height: 0; + border-top: 1px solid #ddd; + margin: 5px -10px 5px -6px; + } + +/* Default icon URLs */ +.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */ + background-image: url(images/marker-icon.png); + } + + +/* attribution and scale controls */ + +.leaflet-container .leaflet-control-attribution { + background: #fff; + background: rgba(255, 255, 255, 0.8); + margin: 0; + } +.leaflet-control-attribution, +.leaflet-control-scale-line { + padding: 0 5px; + color: #333; + line-height: 1.4; + } +.leaflet-control-attribution a { + text-decoration: none; + } +.leaflet-control-attribution a:hover, +.leaflet-control-attribution a:focus { + text-decoration: underline; + } +.leaflet-attribution-flag { + display: inline !important; + vertical-align: baseline !important; + width: 1em; + height: 0.6669em; + } +.leaflet-left .leaflet-control-scale { + margin-left: 5px; + } +.leaflet-bottom .leaflet-control-scale { + margin-bottom: 5px; + } +.leaflet-control-scale-line { + border: 2px solid #777; + border-top: none; + line-height: 1.1; + padding: 2px 5px 1px; + white-space: nowrap; + -moz-box-sizing: border-box; + box-sizing: border-box; + background: rgba(255, 255, 255, 0.8); + text-shadow: 1px 1px #fff; + } +.leaflet-control-scale-line:not(:first-child) { + border-top: 2px solid #777; + border-bottom: none; + margin-top: -2px; + } +.leaflet-control-scale-line:not(:first-child):not(:last-child) { + border-bottom: 2px solid #777; + } + +.leaflet-touch .leaflet-control-attribution, +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { + box-shadow: none; + } +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { + border: 2px solid rgba(0,0,0,0.2); + background-clip: padding-box; + } + + +/* popup */ + +.leaflet-popup { + position: absolute; + text-align: center; + margin-bottom: 20px; + } +.leaflet-popup-content-wrapper { + padding: 1px; + text-align: left; + border-radius: 12px; + } +.leaflet-popup-content { + margin: 13px 24px 13px 20px; + line-height: 1.3; + font-size: 13px; + font-size: 1.08333em; + min-height: 1px; + } +.leaflet-popup-content p { + margin: 17px 0; + margin: 1.3em 0; + } +.leaflet-popup-tip-container { + width: 40px; + height: 20px; + position: absolute; + left: 50%; + margin-top: -1px; + margin-left: -20px; + overflow: hidden; + pointer-events: none; + } +.leaflet-popup-tip { + width: 17px; + height: 17px; + padding: 1px; + + margin: -10px auto 0; + pointer-events: auto; + + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -ms-transform: rotate(45deg); + transform: rotate(45deg); + } +.leaflet-popup-content-wrapper, +.leaflet-popup-tip { + background: white; + color: #333; + box-shadow: 0 3px 14px rgba(0,0,0,0.4); + } +.leaflet-container a.leaflet-popup-close-button { + position: absolute; + top: 0; + right: 0; + border: none; + text-align: center; + width: 24px; + height: 24px; + font: 16px/24px Tahoma, Verdana, sans-serif; + color: #757575; + text-decoration: none; + background: transparent; + } +.leaflet-container a.leaflet-popup-close-button:hover, +.leaflet-container a.leaflet-popup-close-button:focus { + color: #585858; + } +.leaflet-popup-scrolled { + overflow: auto; + } + +.leaflet-oldie .leaflet-popup-content-wrapper { + -ms-zoom: 1; + } +.leaflet-oldie .leaflet-popup-tip { + width: 24px; + margin: 0 auto; + + -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; + filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); + } + +.leaflet-oldie .leaflet-control-zoom, +.leaflet-oldie .leaflet-control-layers, +.leaflet-oldie .leaflet-popup-content-wrapper, +.leaflet-oldie .leaflet-popup-tip { + border: 1px solid #999; + } + + +/* div icon */ + +.leaflet-div-icon { + background: #fff; + border: 1px solid #666; + } + + +/* Tooltip */ +/* Base styles for the element that has a tooltip */ +.leaflet-tooltip { + position: absolute; + padding: 6px; + background-color: #fff; + border: 1px solid #fff; + border-radius: 3px; + color: #222; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + pointer-events: none; + box-shadow: 0 1px 3px rgba(0,0,0,0.4); + } +.leaflet-tooltip.leaflet-interactive { + cursor: pointer; + pointer-events: auto; + } +.leaflet-tooltip-top:before, +.leaflet-tooltip-bottom:before, +.leaflet-tooltip-left:before, +.leaflet-tooltip-right:before { + position: absolute; + pointer-events: none; + border: 6px solid transparent; + background: transparent; + content: ""; + } + +/* Directions */ + +.leaflet-tooltip-bottom { + margin-top: 6px; +} +.leaflet-tooltip-top { + margin-top: -6px; +} +.leaflet-tooltip-bottom:before, +.leaflet-tooltip-top:before { + left: 50%; + margin-left: -6px; + } +.leaflet-tooltip-top:before { + bottom: 0; + margin-bottom: -12px; + border-top-color: #fff; + } +.leaflet-tooltip-bottom:before { + top: 0; + margin-top: -12px; + margin-left: -6px; + border-bottom-color: #fff; + } +.leaflet-tooltip-left { + margin-left: -6px; +} +.leaflet-tooltip-right { + margin-left: 6px; +} +.leaflet-tooltip-left:before, +.leaflet-tooltip-right:before { + top: 50%; + margin-top: -6px; + } +.leaflet-tooltip-left:before { + right: 0; + margin-right: -12px; + border-left-color: #fff; + } +.leaflet-tooltip-right:before { + left: 0; + margin-left: -12px; + border-right-color: #fff; + } + +/* Printing */ + +@media print { + /* Prevent printers from removing background-images of controls. */ + .leaflet-control { + -webkit-print-color-adjust: exact; + print-color-adjust: exact; + } + } diff --git a/staticfiles/vendors/overlayscrollbars/OverlayScrollbars.min.css b/staticfiles/vendors/overlayscrollbars/OverlayScrollbars.min.css index d577690e..203b0718 100644 --- a/staticfiles/vendors/overlayscrollbars/OverlayScrollbars.min.css +++ b/staticfiles/vendors/overlayscrollbars/OverlayScrollbars.min.css @@ -1,13 +1,13 @@ -/*! - * OverlayScrollbars - * https://github.com/KingSora/OverlayScrollbars - * - * Version: 1.13.0 - * - * Copyright KingSora | Rene Haas. - * https://github.com/KingSora - * - * Released under the MIT license. - * Date: 02.08.2020 +/*! + * OverlayScrollbars + * https://github.com/KingSora/OverlayScrollbars + * + * Version: 1.13.0 + * + * Copyright KingSora | Rene Haas. + * https://github.com/KingSora + * + * Released under the MIT license. + * Date: 02.08.2020 */ html.os-html,html.os-html>.os-host{display:block;overflow:hidden;box-sizing:border-box;height:100%!important;width:100%!important;min-width:100%!important;min-height:100%!important;margin:0!important;position:absolute!important}html.os-html>.os-host>.os-padding{position:absolute}body.os-dragging,body.os-dragging *{cursor:default}.os-host,.os-host-textarea{position:relative;overflow:visible!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start;-webkit-box-align:start;-ms-flex-align:start;-ms-grid-row-align:flex-start;align-items:flex-start}.os-host-flexbox{overflow:hidden!important;display:-webkit-box;display:-ms-flexbox;display:flex}.os-host-flexbox>.os-size-auto-observer{height:inherit!important}.os-host-flexbox>.os-content-glue{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:0;flex-shrink:0}.os-host-flexbox>.os-size-auto-observer,.os-host-flexbox>.os-content-glue{min-height:0;min-width:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:1;flex-shrink:1;-ms-flex-preferred-size:auto;flex-basis:auto}#os-dummy-scrollbar-size{position:fixed;opacity:0;-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';visibility:hidden;overflow:scroll;height:500px;width:500px}#os-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}#os-dummy-scrollbar-size:before,#os-dummy-scrollbar-size:after,.os-content:before,.os-content:after{content:'';display:table;width:.01px;height:.01px;line-height:0;font-size:0;flex-grow:0;flex-shrink:0;visibility:hidden}#os-dummy-scrollbar-size,.os-viewport{-ms-overflow-style:scrollbar!important}.os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size,.os-viewport-native-scrollbars-invisible.os-viewport{scrollbar-width:none!important}.os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar,.os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar,.os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar-corner,.os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar-corner{display:none!important;width:0!important;height:0!important;visibility:hidden!important;background:0 0!important}.os-content-glue{box-sizing:inherit;max-height:100%;max-width:100%;width:100%;pointer-events:none}.os-padding{box-sizing:inherit;direction:inherit;position:absolute;overflow:visible;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.os-host-overflow>.os-padding{overflow:hidden}.os-viewport{direction:inherit!important;box-sizing:inherit!important;resize:none!important;outline:0!important;position:absolute;overflow:hidden;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.os-content-arrange{position:absolute;z-index:-1;min-height:1px;min-width:1px;pointer-events:none}.os-content{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:100%;height:100%;width:100%;visibility:visible}.os-content>.os-textarea{box-sizing:border-box!important;direction:inherit!important;background:0 0!important;outline:0 transparent!important;overflow:hidden!important;position:absolute!important;display:block!important;top:0!important;left:0!important;margin:0!important;border-radius:0!important;float:none!important;-webkit-filter:none!important;filter:none!important;border:0!important;resize:none!important;-webkit-transform:none!important;transform:none!important;max-width:none!important;max-height:none!important;box-shadow:none!important;-webkit-perspective:none!important;perspective:none!important;opacity:1!important;z-index:1!important;clip:auto!important;vertical-align:baseline!important;padding:0}.os-host-rtl>.os-padding>.os-viewport>.os-content>.os-textarea{right:0!important}.os-content>.os-textarea-cover{z-index:-1;pointer-events:none}.os-content>.os-textarea[wrap=off]{white-space:pre!important;margin:0!important}.os-text-inherit{font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;font-variant:inherit;text-transform:inherit;text-decoration:inherit;text-indent:inherit;text-align:inherit;text-shadow:inherit;text-overflow:inherit;letter-spacing:inherit;word-spacing:inherit;line-height:inherit;unicode-bidi:inherit;direction:inherit;color:inherit;cursor:text}.os-resize-observer,.os-resize-observer-host{box-sizing:inherit;display:block;visibility:hidden;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.os-resize-observer-host{padding:inherit;border:inherit;border-color:transparent;border-style:solid;box-sizing:border-box}.os-resize-observer-host.observed{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.os-resize-observer-host>.os-resize-observer,.os-resize-observer-host.observed>.os-resize-observer{height:200%;width:200%;padding:inherit;border:inherit;margin:0;display:block;box-sizing:content-box}.os-resize-observer-host.observed>.os-resize-observer,.os-resize-observer-host.observed>.os-resize-observer:before{display:flex;position:relative;flex-grow:1;flex-shrink:0;flex-basis:auto;box-sizing:border-box}.os-resize-observer-host.observed>.os-resize-observer:before{content:'';box-sizing:content-box;padding:inherit;border:inherit;margin:0}.os-size-auto-observer{box-sizing:inherit!important;height:100%;width:inherit;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;-webkit-box-flex:inherit;-ms-flex-positive:inherit;flex-grow:inherit;-ms-flex-negative:0;flex-shrink:0;-ms-flex-preferred-size:0;flex-basis:0}.os-size-auto-observer>.os-resize-observer{width:1000%;height:1000%;min-height:1px;min-width:1px}.os-resize-observer-item{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;z-index:-1;opacity:0;direction:ltr!important;-webkit-box-flex:0!important;-ms-flex:none!important;flex:none!important}.os-resize-observer-item-final{position:absolute;left:0;top:0;-webkit-transition:none!important;transition:none!important;-webkit-box-flex:0!important;-ms-flex:none!important;flex:none!important}.os-resize-observer{-webkit-animation-duration:.001s;animation-duration:.001s;-webkit-animation-name:os-resize-observer-dummy-animation;animation-name:os-resize-observer-dummy-animation}object.os-resize-observer{box-sizing:border-box!important}@-webkit-keyframes os-resize-observer-dummy-animation{0%{z-index:0}to{z-index:-1}}@keyframes os-resize-observer-dummy-animation{0%{z-index:0}to{z-index:-1}}.os-host-transition>.os-scrollbar,.os-host-transition>.os-scrollbar-corner{-webkit-transition:opacity .3s,visibility .3s,top .3s,right .3s,bottom .3s,left .3s;transition:opacity .3s,visibility .3s,top .3s,right .3s,bottom .3s,left .3s}html.os-html>.os-host>.os-scrollbar{position:absolute;z-index:999999}.os-scrollbar,.os-scrollbar-corner{position:absolute;opacity:1;-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';z-index:1}.os-scrollbar-corner{bottom:0;right:0}.os-scrollbar{pointer-events:none}.os-scrollbar-track{pointer-events:auto;position:relative;height:100%;width:100%;padding:0!important;border:0!important}.os-scrollbar-handle{pointer-events:auto;position:absolute;width:100%;height:100%}.os-scrollbar-handle-off,.os-scrollbar-track-off{pointer-events:none}.os-scrollbar.os-scrollbar-unusable,.os-scrollbar.os-scrollbar-unusable *{pointer-events:none!important}.os-scrollbar.os-scrollbar-unusable .os-scrollbar-handle{opacity:0!important}.os-scrollbar-horizontal{bottom:0;left:0}.os-scrollbar-vertical{top:0;right:0}.os-host-rtl>.os-scrollbar-horizontal{right:0}.os-host-rtl>.os-scrollbar-vertical{right:auto;left:0}.os-host-rtl>.os-scrollbar-corner{right:auto;left:0}.os-scrollbar-auto-hidden,.os-padding+.os-scrollbar-corner,.os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-corner,.os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal,.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-corner,.os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical,.os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical+.os-scrollbar-corner,.os-scrollbar-horizontal+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner,.os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner{opacity:0;visibility:hidden;pointer-events:none}.os-scrollbar-corner-resize-both{cursor:nwse-resize}.os-host-rtl>.os-scrollbar-corner-resize-both{cursor:nesw-resize}.os-scrollbar-corner-resize-horizontal{cursor:ew-resize}.os-scrollbar-corner-resize-vertical{cursor:ns-resize}.os-dragging .os-scrollbar-corner.os-scrollbar-corner-resize{cursor:default}.os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-vertical{top:0;bottom:0}.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal,.os-host-rtl.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal{right:0;left:0}.os-scrollbar:hover,.os-scrollbar-corner.os-scrollbar-corner-resize{opacity:1!important;visibility:visible!important}.os-scrollbar-corner.os-scrollbar-corner-resize{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIgICB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgICB3aWR0aD0iMTAiICAgaGVpZ2h0PSIxMCIgICB2ZXJzaW9uPSIxLjEiPiAgPGcgICAgIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAsLTEwNDIuMzY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uNTE4NjAzNSwtMS4wMzcyMDcgeiBtIDMuMDg0MzI2MiwwIGMgMC4xNDEyNjY3LDAuMjA5MTAyNCAwLjIxODM1OTQsMC40NjU2MjA2IDAuMjE4MzU5NCwwLjczNjk2MjkgMCwwLjcyMzU3OTMgLTAuNTg2NTc3LDEuMzEwMTU2MyAtMS4zMTAxNTYzLDEuMzEwMTU2MyAtMC4yNzEzNDIzLDAgLTAuNTI3ODYwNSwtMC4wNzcwOTMgLTAuNzM2OTYyOSwtMC4yMTgzNTk0IDAuMjM5NDEwNCwwLjMxMzA4NTkgMC42MTI2MzYyLDAuNTE4NjAzNSAxLjAzNzIwNywwLjUxODYwMzUgMC43MjM1NzkzLDAgMS4zMTAxNTYzLC0wLjU4NjU3NyAxLjMxMDE1NjMsLTEuMzEwMTU2MyAwLC0wLjQyNDU3MDggLTAuMjA1NTE3NiwtMC43OTc3OTY2IC0wLjUxODYwMzUsLTEuMDM3MjA3IHoiIC8+ICA8L2c+PC9zdmc+);background-repeat:no-repeat;background-position:100% 100%;pointer-events:auto!important}.os-host-rtl>.os-scrollbar-corner.os-scrollbar-corner-resize{-webkit-transform:scale(-1,1);transform:scale(-1,1)}.os-host-overflow{overflow:hidden!important}.os-theme-none>.os-scrollbar-horizontal,.os-theme-none>.os-scrollbar-vertical,.os-theme-none>.os-scrollbar-corner{display:none!important}.os-theme-none>.os-scrollbar-corner-resize{display:block!important;min-width:10px;min-height:10px}.os-theme-dark>.os-scrollbar-horizontal,.os-theme-light>.os-scrollbar-horizontal{right:10px;height:10px}.os-theme-dark>.os-scrollbar-vertical,.os-theme-light>.os-scrollbar-vertical{bottom:10px;width:10px}.os-theme-dark.os-host-rtl>.os-scrollbar-horizontal,.os-theme-light.os-host-rtl>.os-scrollbar-horizontal{left:10px;right:0}.os-theme-dark>.os-scrollbar-corner,.os-theme-light>.os-scrollbar-corner{height:10px;width:10px}.os-theme-dark>.os-scrollbar-corner,.os-theme-light>.os-scrollbar-corner{background-color:transparent}.os-theme-dark>.os-scrollbar,.os-theme-light>.os-scrollbar{padding:2px;box-sizing:border-box;background:0 0}.os-theme-dark>.os-scrollbar.os-scrollbar-unusable,.os-theme-light>.os-scrollbar.os-scrollbar-unusable{background:0 0}.os-theme-dark>.os-scrollbar>.os-scrollbar-track,.os-theme-light>.os-scrollbar>.os-scrollbar-track{background:0 0}.os-theme-dark>.os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle,.os-theme-light>.os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle{min-width:30px}.os-theme-dark>.os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle,.os-theme-light>.os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle{min-height:30px}.os-theme-dark.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle,.os-theme-light.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle{-webkit-transition:background-color .3s;transition:background-color .3s}.os-theme-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle,.os-theme-light>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle,.os-theme-dark>.os-scrollbar>.os-scrollbar-track,.os-theme-light>.os-scrollbar>.os-scrollbar-track{border-radius:10px}.os-theme-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle{background:rgba(0,0,0,.4)}.os-theme-light>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle{background:rgba(255,255,255,.4)}.os-theme-dark>.os-scrollbar:hover>.os-scrollbar-track>.os-scrollbar-handle{background:rgba(0,0,0,.55)}.os-theme-light>.os-scrollbar:hover>.os-scrollbar-track>.os-scrollbar-handle{background:rgba(255,255,255,.55)}.os-theme-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle.active{background:rgba(0,0,0,.7)}.os-theme-light>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle.active{background:rgba(255,255,255,.7)}.os-theme-dark>.os-scrollbar-horizontal .os-scrollbar-handle:before,.os-theme-dark>.os-scrollbar-vertical .os-scrollbar-handle:before,.os-theme-light>.os-scrollbar-horizontal .os-scrollbar-handle:before,.os-theme-light>.os-scrollbar-vertical .os-scrollbar-handle:before{content:'';position:absolute;left:0;right:0;top:0;bottom:0;display:block}.os-theme-dark.os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal .os-scrollbar-handle:before,.os-theme-dark.os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical .os-scrollbar-handle:before,.os-theme-light.os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal .os-scrollbar-handle:before,.os-theme-light.os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical .os-scrollbar-handle:before{display:none}.os-theme-dark>.os-scrollbar-horizontal .os-scrollbar-handle:before,.os-theme-light>.os-scrollbar-horizontal .os-scrollbar-handle:before{top:-6px;bottom:-2px}.os-theme-dark>.os-scrollbar-vertical .os-scrollbar-handle:before,.os-theme-light>.os-scrollbar-vertical .os-scrollbar-handle:before{left:-6px;right:-2px}.os-host-rtl.os-theme-dark>.os-scrollbar-vertical .os-scrollbar-handle:before,.os-host-rtl.os-theme-light>.os-scrollbar-vertical .os-scrollbar-handle:before{right:-6px;left:-2px} \ No newline at end of file diff --git a/staticfiles/vendors/rater-js/index.js b/staticfiles/vendors/rater-js/index.js index 8d45f243..3044585d 100644 --- a/staticfiles/vendors/rater-js/index.js +++ b/staticfiles/vendors/rater-js/index.js @@ -1,442 +1,442 @@ -(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.raterJs = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i 1) { - throw new Error("step must be a number between 0 and 1"); - } - } - - var elem = options.element; - var reverse = options.reverse; - var stars = options.max || 5; - var starSize = options.starSize || 16; - var step = options.step || 1; - var onHover = options.onHover; - var onLeave = options.onLeave; - var rating = null; - var myRating; - elem.classList.add("star-rating"); - var div = document.createElement("div"); - div.classList.add("star-value"); - - if (reverse) { - div.classList.add("rtl"); - } - - div.style.backgroundSize = starSize + "px"; - elem.appendChild(div); - elem.style.width = starSize * stars + "px"; - elem.style.height = starSize + "px"; - elem.style.backgroundSize = starSize + "px"; - var callback = options.rateCallback; - var disabled = !!options.readOnly; - var disableText; - var isRating = false; - var isBusyText = options.isBusyText; - var currentRating; - var ratingText; - - if (typeof options.disableText !== "undefined") { - disableText = options.disableText; - } else { - disableText = "{rating}/{maxRating}"; - } - - if (typeof options.ratingText !== "undefined") { - ratingText = options.ratingText; - } else { - ratingText = "{rating}/{maxRating}"; - } - - if (options.rating) { - setRating(options.rating); - } else { - var dataRating = elem.dataset.rating; - - if (dataRating) { - setRating(+dataRating); - } - } - - if (!rating) { - elem.querySelector(".star-value").style.width = "0px"; - } - - if (disabled) { - disable(); - } //private methods - - - function onMouseMove(e) { - onMove(e, false); - } - /** - * Called by eventhandlers when mouse or touch events are triggered - * @param {MouseEvent} e - */ - - - function onMove(e, isTouch) { - if (disabled === true || isRating === true) { - return; - } - - var xCoor = null; - var percent; - var width = elem.offsetWidth; - var parentOffset = elem.getBoundingClientRect(); - - if (reverse) { - if (isTouch) { - xCoor = e.changedTouches[0].pageX - parentOffset.left; - } else { - xCoor = e.pageX - window.scrollX - parentOffset.left; - } - - var relXRtl = width - xCoor; - var valueForDivision = width / 100; - percent = relXRtl / valueForDivision; - } else { - if (isTouch) { - xCoor = e.changedTouches[0].pageX - parentOffset.left; - } else { - xCoor = e.offsetX; - } - - percent = xCoor / width * 100; - } - - if (percent < 101) { - if (step === 1) { - currentRating = Math.ceil(percent / 100 * stars); - } else { - var rat = percent / 100 * stars; - - for (var i = 0;; i += step) { - if (i >= rat) { - currentRating = i; - break; - } - } - } //todo: check why this happens and fix - - - if (currentRating > stars) { - currentRating = stars; - } - - elem.querySelector(".star-value").style.width = currentRating / stars * 100 + "%"; - - if (showToolTip) { - var toolTip = ratingText.replace("{rating}", currentRating); - toolTip = toolTip.replace("{maxRating}", stars); - elem.setAttribute("title", toolTip); - } - - if (typeof onHover === "function") { - onHover(currentRating, rating); - } - } - } - /** - * Called when mouse is released. This function will update the view with the rating. - * @param {MouseEvent} e - */ - - - function onStarOut(e) { - if (!rating) { - elem.querySelector(".star-value").style.width = "0%"; - elem.removeAttribute("data-rating"); - } else { - elem.querySelector(".star-value").style.width = rating / stars * 100 + "%"; - elem.setAttribute("data-rating", rating); - } - - if (typeof onLeave === "function") { - onLeave(currentRating, rating); - } - } - /** - * Called when star is clicked. - * @param {MouseEvent} e - */ - - - function onStarClick(e) { - if (disabled === true) { - return; - } - - if (isRating === true) { - return; - } - - if (typeof callback !== "undefined") { - isRating = true; - myRating = currentRating; - - if (typeof isBusyText === "undefined") { - elem.removeAttribute("title"); - } else { - elem.setAttribute("title", isBusyText); - } - - elem.classList.add("is-busy"); - callback.call(this, myRating, function () { - if (disabled === false) { - elem.removeAttribute("title"); - } - - isRating = false; - elem.classList.remove("is-busy"); - }); - } - } - /** - * Disables the rater so that it's not possible to click the stars. - */ - - - function disable() { - disabled = true; - elem.classList.add("disabled"); - - if (showToolTip && !!disableText) { - var toolTip = disableText.replace("{rating}", !!rating ? rating : 0); - toolTip = toolTip.replace("{maxRating}", stars); - elem.setAttribute("title", toolTip); - } else { - elem.removeAttribute("title"); - } - } - /** - * Enabled the rater so that it's possible to click the stars. - */ - - - function enable() { - disabled = false; - elem.removeAttribute("title"); - elem.classList.remove("disabled"); - } - /** - * Sets the rating - */ - - - function setRating(value) { - if (typeof value === "undefined") { - throw new Error("Value not set."); - } - - if (value === null) { - throw new Error("Value cannot be null."); - } - - if (typeof value !== "number") { - throw new Error("Value must be a number."); - } - - if (value < 0 || value > stars) { - throw new Error("Value too high. Please set a rating of " + stars + " or below."); - } - - rating = value; - elem.querySelector(".star-value").style.width = value / stars * 100 + "%"; - elem.setAttribute("data-rating", value); - } - /** - * Gets the rating - */ - - - function getRating() { - return rating; - } - /** - * Set the rating to a value to inducate it's not rated. - */ - - - function clear() { - rating = null; - elem.querySelector(".star-value").style.width = "0px"; - elem.removeAttribute("title"); - } - /** - * Remove event handlers. - */ - - - function dispose() { - elem.removeEventListener("mousemove", onMouseMove); - elem.removeEventListener("mouseleave", onStarOut); - elem.removeEventListener("click", onStarClick); - elem.removeEventListener("touchmove", handleMove, false); - elem.removeEventListener("touchstart", handleStart, false); - elem.removeEventListener("touchend", handleEnd, false); - elem.removeEventListener("touchcancel", handleCancel, false); - } - - elem.addEventListener("mousemove", onMouseMove); - elem.addEventListener("mouseleave", onStarOut); - var module = { - setRating: setRating, - getRating: getRating, - disable: disable, - enable: enable, - clear: clear, - dispose: dispose, - - get element() { - return elem; - } - - }; - /** - * Handles touchmove event. - * @param {TouchEvent} e - */ - - function handleMove(e) { - e.preventDefault(); - onMove(e, true); - } - /** - * Handles touchstart event. - * @param {TouchEvent} e - */ - - - function handleStart(e) { - e.preventDefault(); - onMove(e, true); - } - /** - * Handles touchend event. - * @param {TouchEvent} e - */ - - - function handleEnd(evt) { - evt.preventDefault(); - onMove(evt, true); - onStarClick.call(module); - } - /** - * Handles touchend event. - * @param {TouchEvent} e - */ - - - function handleCancel(e) { - e.preventDefault(); - onStarOut(e); - } - - elem.addEventListener("click", onStarClick.bind(module)); - elem.addEventListener("touchmove", handleMove, false); - elem.addEventListener("touchstart", handleStart, false); - elem.addEventListener("touchend", handleEnd, false); - elem.addEventListener("touchcancel", handleCancel, false); - return module; -}; - -},{"./style.css":2}],2:[function(require,module,exports){ -var css = ".star-rating {\n width: 0;\n position: relative;\n display: inline-block;\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDguOSIgaGVpZ2h0PSIxMDMuNiIgdmlld0JveD0iMCAwIDEwOC45IDEwMy42Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2UzZTZlNjt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPnN0YXJfMDwvdGl0bGU+PGcgaWQ9IkxheWVyXzIiIGRhdGEtbmFtZT0iTGF5ZXIgMiI+PGcgaWQ9IkxheWVyXzEtMiIgZGF0YS1uYW1lPSJMYXllciAxIj48cG9seWdvbiBjbGFzcz0iY2xzLTEiIHBvaW50cz0iMTA4LjkgMzkuNiA3MS4zIDM0LjEgNTQuNCAwIDM3LjYgMzQuMSAwIDM5LjYgMjcuMiA2Ni4xIDIwLjggMTAzLjYgNTQuNCA4NS45IDg4LjEgMTAzLjYgODEuNyA2Ni4xIDEwOC45IDM5LjYiLz48L2c+PC9nPjwvc3ZnPg0K);\n background-position: 0 0;\n background-repeat: repeat-x;\n cursor: pointer;\n}\n.star-rating .star-value {\n position: absolute;\n height: 100%;\n width: 100%;\n background: url('data:image/svg+xml;base64,PHN2Zw0KCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwOC45IiBoZWlnaHQ9IjEwMy42IiB2aWV3Qm94PSIwIDAgMTA4LjkgMTAzLjYiPg0KCTxkZWZzPg0KCQk8c3R5bGU+LmNscy0xe2ZpbGw6I2YxYzk0Nzt9PC9zdHlsZT4NCgk8L2RlZnM+DQoJPHRpdGxlPnN0YXIxPC90aXRsZT4NCgk8ZyBpZD0iTGF5ZXJfMiIgZGF0YS1uYW1lPSJMYXllciAyIj4NCgkJPGcgaWQ9IkxheWVyXzEtMiIgZGF0YS1uYW1lPSJMYXllciAxIj4NCgkJCTxwb2x5Z29uIGNsYXNzPSJjbHMtMSIgcG9pbnRzPSI1NC40IDAgNzEuMyAzNC4xIDEwOC45IDM5LjYgODEuNyA2Ni4xIDg4LjEgMTAzLjYgNTQuNCA4NS45IDIwLjggMTAzLjYgMjcuMiA2Ni4xIDAgMzkuNiAzNy42IDM0LjEgNTQuNCAwIi8+DQoJCTwvZz4NCgk8L2c+DQo8L3N2Zz4NCg==');\n background-repeat: repeat-x;\n}\n.star-rating.disabled {\n cursor: default;\n}\n.star-rating.is-busy {\n cursor: wait;\n}\n.star-rating .star-value.rtl {\n -moz-transform: scaleX(-1);\n -o-transform: scaleX(-1);\n -webkit-transform: scaleX(-1);\n transform: scaleX(-1);\n filter: FlipH;\n -ms-filter: \"FlipH\";\n right: 0;\n left: auto;\n}\n"; (require("browserify-css").createStyle(css, { "href": "lib\\style.css" }, { "insertAt": "bottom" })); module.exports = css; -},{"browserify-css":3}],3:[function(require,module,exports){ -'use strict'; -// For more information about browser field, check out the browser field at https://github.com/substack/browserify-handbook#browser-field. - -var styleElementsInsertedAtTop = []; - -var insertStyleElement = function(styleElement, options) { - var head = document.head || document.getElementsByTagName('head')[0]; - var lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1]; - - options = options || {}; - options.insertAt = options.insertAt || 'bottom'; - - if (options.insertAt === 'top') { - if (!lastStyleElementInsertedAtTop) { - head.insertBefore(styleElement, head.firstChild); - } else if (lastStyleElementInsertedAtTop.nextSibling) { - head.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling); - } else { - head.appendChild(styleElement); - } - styleElementsInsertedAtTop.push(styleElement); - } else if (options.insertAt === 'bottom') { - head.appendChild(styleElement); - } else { - throw new Error('Invalid value for parameter \'insertAt\'. Must be \'top\' or \'bottom\'.'); - } -}; - -module.exports = { - // Create a tag with optional data attributes - createLink: function(href, attributes) { - var head = document.head || document.getElementsByTagName('head')[0]; - var link = document.createElement('link'); - - link.href = href; - link.rel = 'stylesheet'; - - for (var key in attributes) { - if ( ! attributes.hasOwnProperty(key)) { - continue; - } - var value = attributes[key]; - link.setAttribute('data-' + key, value); - } - - head.appendChild(link); - }, - // Create a