From ad9ec5d47095d7304d67d62bd25bd5c9701727a7 Mon Sep 17 00:00:00 2001 From: Corban-Lee Jones Date: Sun, 10 Nov 2024 23:48:23 +0000 Subject: [PATCH] modal style change & move to own html file --- apps/home/static/home/scss/venues.scss | 20 +++++++ apps/home/templates/home/venue-modal.html | 66 +++++++++++++++++++++++ apps/home/templates/home/venues.html | 63 +--------------------- 3 files changed, 87 insertions(+), 62 deletions(-) create mode 100644 apps/home/templates/home/venue-modal.html diff --git a/apps/home/static/home/scss/venues.scss b/apps/home/static/home/scss/venues.scss index e6d19e4..255e1c2 100644 --- a/apps/home/static/home/scss/venues.scss +++ b/apps/home/static/home/scss/venues.scss @@ -92,16 +92,30 @@ .modal-content { min-height: 0 !important; } + .venue-modal-header { + + @extend .modal-header; + + color: #fff; + background-color: #04385c; + border-radius: 0; + padding: 1rem 1.5rem; + + } + .venue-modal-body { flex-grow: 1; + .form-control { border-radius: var(--bs-border-radius-sm); } + textarea { --height: calc(6em + 0.75rem + calc(var(--bs-border-width) * 2));; max-height: var(--height); min-height: var(--height); height: var(--height); + resize: none; } @@ -139,6 +153,12 @@ } + .btn-primary { + + + + } + } diff --git a/apps/home/templates/home/venue-modal.html b/apps/home/templates/home/venue-modal.html new file mode 100644 index 0000000..09d5b7b --- /dev/null +++ b/apps/home/templates/home/venue-modal.html @@ -0,0 +1,66 @@ + \ No newline at end of file diff --git a/apps/home/templates/home/venues.html b/apps/home/templates/home/venues.html index 21d7ef3..169c5ac 100644 --- a/apps/home/templates/home/venues.html +++ b/apps/home/templates/home/venues.html @@ -30,69 +30,8 @@
- {% endblock content %} {% block scripts %}