From ebbeeaadaeda157fbe852eb7a85d24f7e4732892 Mon Sep 17 00:00:00 2001 From: arobbins Date: Wed, 5 Jun 2024 14:12:22 -0400 Subject: [PATCH 1/4] feat(TAT-92): use primevue SplitButton to add another download option to create navigator layers with top 10 technique scores --- src/components/DownloadListButton.vue | 112 ++++++++++++++++++++++++++ src/components/TopTenSidebar.vue | 8 -- src/index.css | 10 +++ src/views/TopTenResults.vue | 38 ++------- 4 files changed, 127 insertions(+), 41 deletions(-) create mode 100644 src/components/DownloadListButton.vue diff --git a/src/components/DownloadListButton.vue b/src/components/DownloadListButton.vue new file mode 100644 index 0000000..3729838 --- /dev/null +++ b/src/components/DownloadListButton.vue @@ -0,0 +1,112 @@ + + + + + \ No newline at end of file diff --git a/src/components/TopTenSidebar.vue b/src/components/TopTenSidebar.vue index 84e6679..67e4df2 100644 --- a/src/components/TopTenSidebar.vue +++ b/src/components/TopTenSidebar.vue @@ -20,7 +20,6 @@ diff --git a/src/index.css b/src/index.css index 2737132..fc9ab97 100644 --- a/src/index.css +++ b/src/index.css @@ -148,3 +148,13 @@ h1, h2, h3, h4, h5, h6 { .p-menubar-root-list { @apply w-60 -ml-40 } +.p-splitbutton.p-component { + @apply w-full bg-ctid-navy hover:bg-ctid-dark-navy text-white rounded-none p-4 my-4 ; +} +.p-splitbutton .p-button-label { + @apply uppercase font-bold text-lg hover:text-ctid-light-purple; + font-family: "Fira Sans Extra Condensed", sans-serif; +} +.p-splitbutton .p-button-icon { + @apply hover:text-ctid-light-purple +} \ No newline at end of file diff --git a/src/views/TopTenResults.vue b/src/views/TopTenResults.vue index e4140a2..3f82dee 100644 --- a/src/views/TopTenResults.vue +++ b/src/views/TopTenResults.vue @@ -9,7 +9,7 @@