From a8c6a6457a4d56a96645c5ca4b09ab5f1dfc4e33 Mon Sep 17 00:00:00 2001 From: Ozan Gulle Date: Mon, 13 Jan 2025 21:51:47 +0100 Subject: [PATCH] feat(ui): unify input styles on different pages --- resources/public/css/custom.css | 27 ++-------------------- resources/templates/admin-categories.html | 6 ++--- resources/templates/admin-languages.html | 4 ++-- resources/templates/admin-preferences.html | 6 ++--- resources/templates/admin.html | 12 +++++----- resources/templates/statistics.html | 6 ++--- resources/templates/watcher.html | 6 ++--- resources/templates/watchers.html | 4 ++-- 8 files changed, 24 insertions(+), 47 deletions(-) diff --git a/resources/public/css/custom.css b/resources/public/css/custom.css index b54855e..e2f5841 100644 --- a/resources/public/css/custom.css +++ b/resources/public/css/custom.css @@ -1,13 +1,13 @@ .nav-button { border-bottom: solid; - border-bottom-color: rgb(59 7 100); + border-bottom-color: black; border-bottom-width: thick; text-transform: uppercase; } .sub-nav-button { border-bottom: solid; - border-bottom-color: rgb(59 7 100); + border-bottom-color: black; border-bottom-width: thick; text-transform: uppercase; font-size: 0.9em; @@ -16,26 +16,3 @@ .flex-container { display: flex; } - -/* Pagination links */ -/*.pagination a { - color: black; - float: left; - padding: 8px 16px; - text-decoration: none; - transition: background-color .3s; -}*/ - -/* Style the active/current link */ -/*.pagination a.active { - background-color: dodgerblue; - color: white; -}*/ - -/* Add a grey background color on mouse-over */ -/*.pagination a:hover:not(.active) {background-color: #ddd;} - -.html-email { - width: 100%; - height: 100%; -}*/ diff --git a/resources/templates/admin-categories.html b/resources/templates/admin-categories.html index 9a1d83c..e4a2ffd 100644 --- a/resources/templates/admin-categories.html +++ b/resources/templates/admin-categories.html @@ -12,7 +12,7 @@

Manage Categories

- +
@@ -27,7 +27,7 @@

Manage Categories

New Category

- -
+ + {% endblock %} diff --git a/resources/templates/admin-languages.html b/resources/templates/admin-languages.html index 0a8cccb..6dedbb8 100644 --- a/resources/templates/admin-languages.html +++ b/resources/templates/admin-languages.html @@ -6,7 +6,7 @@

Language Detection

- +

Language Preferences

@@ -25,7 +25,7 @@

Language Preferences

{% for preference in language-preferences %} {{preference.language}} {% endfor %} - + diff --git a/resources/templates/admin-preferences.html b/resources/templates/admin-preferences.html index 88a664f..1dd563e 100644 --- a/resources/templates/admin-preferences.html +++ b/resources/templates/admin-preferences.html @@ -9,13 +9,13 @@

Preferences

- +
- +
- + {% endblock %} diff --git a/resources/templates/admin.html b/resources/templates/admin.html index afc3cd6..cc00814 100644 --- a/resources/templates/admin.html +++ b/resources/templates/admin.html @@ -16,27 +16,27 @@

Parse E-Mails

- +

Danger Zone

-
+
- +
- +
- +
- +
diff --git a/resources/templates/statistics.html b/resources/templates/statistics.html index 2b5abef..b6d3539 100644 --- a/resources/templates/statistics.html +++ b/resources/templates/statistics.html @@ -16,19 +16,19 @@

Filter

-
- {% for year in interval-filter.years %} {% endfor %}
- +
diff --git a/resources/templates/watcher.html b/resources/templates/watcher.html index e24b141..6916ddf 100644 --- a/resources/templates/watcher.html +++ b/resources/templates/watcher.html @@ -6,13 +6,13 @@

Imap Watcher for {{host}} - {{user}}

- - + - +
diff --git a/resources/templates/watchers.html b/resources/templates/watchers.html index cbaac27..e312081 100644 --- a/resources/templates/watchers.html +++ b/resources/templates/watchers.html @@ -16,12 +16,12 @@

IMAP Clients

{% for watcher in watchers %} - {{watcher.string}} + {{watcher.string}} {{watcher.logged-in}} {{watcher.folder-open}} - + {% endfor %}