From 692b370e531033ba6df56e81f2e733cccf041dcd Mon Sep 17 00:00:00 2001 From: Luca Tassinari Date: Wed, 31 Jan 2024 01:15:13 +0100 Subject: [PATCH] style: replace awful tables with boostrap cols + css improvements --- frontend/src/components/ElectionComponent.vue | 106 +++++++++--------- frontend/src/views/ElectionsView.vue | 5 +- 2 files changed, 55 insertions(+), 56 deletions(-) diff --git a/frontend/src/components/ElectionComponent.vue b/frontend/src/components/ElectionComponent.vue index 5997db72..89fad887 100644 --- a/frontend/src/components/ElectionComponent.vue +++ b/frontend/src/components/ElectionComponent.vue @@ -1,41 +1,38 @@ \ No newline at end of file +a.useful-link { + padding: 6px 10px; + margin: 6px; + border-radius: 15px; + border: 1px solid #0d6efd; + text-decoration: none; + color: #0d6efd; +} + +a.useful-link:hover { + font-weight: bold; + box-shadow: 1px 2px 5px rgba(200, 200, 200, 0.82); +} + diff --git a/frontend/src/views/ElectionsView.vue b/frontend/src/views/ElectionsView.vue index 47b60535..d9cb4f4d 100644 --- a/frontend/src/views/ElectionsView.vue +++ b/frontend/src/views/ElectionsView.vue @@ -144,7 +144,7 @@ function resetPage() { -
+
@@ -173,4 +173,7 @@ div.radio-button { .no-election { font-weight: bold; } +.election { + background-color: #f8f9fa; +} \ No newline at end of file