diff --git a/src/static/style.css b/src/static/style.css index a50e427..7efba0c 100644 --- a/src/static/style.css +++ b/src/static/style.css @@ -183,34 +183,28 @@ tr:hover:not(.selected) { justify-content: center; } -#password-prompt input[type="password"] { - padding: 8px; - margin-right: 10px; - border: 1px solid #ddd; - border-radius: 4px; -} - -#password-prompt button { - padding: 8px 15px; - margin-right: 10px; - border: none; - border-radius: 4px; - cursor: pointer; - color: white; -} - -#password-prompt button[type="submit"] { - background-color: #008C50; /* Helles Grün */ -} - -#password-prompt button[type="submit"]:hover { - background-color: #007344; /* Dunkleres Grün */ -} - -#password-prompt button[type="button"] { +button#delete-row-button { background-color: #640000; /* Helles Rot */ } -#password-prompt button[type="button"]:hover { +button#delete-row-button:disabled { + background-color: #cccccc; + color: #666666; +} + +button#delete-row-button:not(:disabled):hover { background-color: #490000; /* Dunkleres Rot */ } + +button#cancel-button { + background-color: #640000; /* Helles Rot */ +} + +button#cancel-button:disabled { + background-color: #cccccc; + color: #666666; +} + +button#cancel-button:not(:disabled):hover { + background-color: #490000; /* Dunkleres Rot */ +} \ No newline at end of file diff --git a/src/templates/index.html b/src/templates/index.html index 8faa767..7eafe25 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -177,7 +177,7 @@ function updateTotalNutrition() {