diff --git a/src/app/static/css/colours.css b/src/app/static/css/colours.css deleted file mode 100644 index c534401..0000000 --- a/src/app/static/css/colours.css +++ /dev/null @@ -1,8 +0,0 @@ -:root { - --success: #22c55e; - --info: #0ea5e9; - --warning: #f97316; - --help: #a855f7; - --error: #ef4444; - --default-dark-theme-text: #d1d7e0; - } \ No newline at end of file diff --git a/src/app/static/css/dashboard.css b/src/app/static/css/dashboard.css deleted file mode 100644 index deb6fe0..0000000 --- a/src/app/static/css/dashboard.css +++ /dev/null @@ -1,6 +0,0 @@ -#post:hover { - border: 1px solid lightblue !important; -} -#post { - transition: border 0.3s ease; -} diff --git a/src/app/static/css/discover.css b/src/app/static/css/discover.css deleted file mode 100644 index 1b4cb98..0000000 --- a/src/app/static/css/discover.css +++ /dev/null @@ -1,6 +0,0 @@ -#unit:hover { - border: 2px solid lightblue !important; -} -#unit { - transition: border 0.3s ease; -} diff --git a/src/app/static/css/dropdown.css b/src/app/static/css/dropdown.css deleted file mode 100644 index a86d849..0000000 --- a/src/app/static/css/dropdown.css +++ /dev/null @@ -1,23 +0,0 @@ -#searchInput { - z-index: 1; -} -#results.dropdown-list { - list-style: none; - padding: 0; - margin: 0; - top: 100%; - position: absolute; - width: 200px; - background-color: #111; - z-index: 2; -} - -#results li { - padding: 8px 12px; - cursor: pointer; - color: white; -} - -#results li:hover { - background-color: #333; -} \ No newline at end of file diff --git a/src/app/static/css/tailwindglobals.css b/src/app/static/css/tailwindglobals.css index d07e561..e2ae5ff 100644 --- a/src/app/static/css/tailwindglobals.css +++ b/src/app/static/css/tailwindglobals.css @@ -1,3 +1,11 @@ +:root { + --success: #22c55e; + --info: #0ea5e9; + --warning: #f97316; + --help: #a855f7; + --error: #ef4444; + --default-dark-theme-text: #d1d7e0; +} body { font-family: 'Inter', sans-serif; } diff --git a/src/app/static/js/friends.js b/src/app/static/js/friends.js index ba7cc90..9e340ec 100644 --- a/src/app/static/js/friends.js +++ b/src/app/static/js/friends.js @@ -28,6 +28,7 @@ document.addEventListener("DOMContentLoaded", function() { results.innerHTML = ''; data.forEach(person => { const li = document.createElement('li'); + li.classList.add("px-3", "py-2", "cursor-pointer", "text-white", "hover:bg-[#333]"); li.textContent = `${person.username}`; li.addEventListener('click', () => { input.value = ''; diff --git a/src/app/templates/base.html b/src/app/templates/base.html index b5a99b2..ff2f712 100644 --- a/src/app/templates/base.html +++ b/src/app/templates/base.html @@ -15,9 +15,6 @@ - - - diff --git a/src/app/templates/discover_unit.html b/src/app/templates/discover_unit.html index d0ef2f5..e9e68c7 100644 --- a/src/app/templates/discover_unit.html +++ b/src/app/templates/discover_unit.html @@ -27,11 +27,11 @@