From b6a0d226741876458cc5839967bf9552916657d0 Mon Sep 17 00:00:00 2001 From: snoopy Date: Tue, 30 Apr 2024 21:22:07 +0200 Subject: [PATCH 1/3] Change button names --- static/c4.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/c4.css b/static/c4.css index a74dc49..3293b31 100644 --- a/static/c4.css +++ b/static/c4.css @@ -27,12 +27,12 @@ h1, h1 a { font-size: smaller; } -.btn.green { +.btn.primary { color: #020; background-color: #6f3; } -.btn.green:hover ,.btn.green:focus { +.btn.primary:hover ,.btn.primary:focus { background-color: #3f0; } From 299a2f5914bab2dd6118659720e972906d05e370 Mon Sep 17 00:00:00 2001 From: Shy Date: Tue, 30 Apr 2024 21:45:01 +0200 Subject: [PATCH 2/3] Modified button colors --- static/c4.css | 16 +++++++++++++--- static/index.html | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/static/c4.css b/static/c4.css index 3293b31..7e9d5e0 100644 --- a/static/c4.css +++ b/static/c4.css @@ -28,17 +28,27 @@ h1, h1 a { } .btn.primary { - color: #020; - background-color: #6f3; + color: #220; + background-color: #fcbb06; } .btn.primary:hover ,.btn.primary:focus { + background-color: #ffcc33; +} + +.btn.grn { + color: #020; + background-color: #9f6; +} + +.btn.grn:hover ,.btn.primary:focus { background-color: #3f0; } + .btn.red { color: #200; - background-color: #f36; + background-color: #f48; } .btn.red:hover, .btn.red:focus { diff --git a/static/index.html b/static/index.html index 472846b..c656402 100644 --- a/static/index.html +++ b/static/index.html @@ -38,7 +38,7 @@ - + + + From a6e363220a1573257c284a30837064d6c1f3f370 Mon Sep 17 00:00:00 2001 From: snoopy Date: Wed, 1 May 2024 00:04:37 +0200 Subject: [PATCH 3/3] Fixes wrong active button color and use primary color --- static/c4.css | 4 ++-- static/form.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/c4.css b/static/c4.css index 7e9d5e0..c05e5b0 100644 --- a/static/c4.css +++ b/static/c4.css @@ -32,7 +32,7 @@ h1, h1 a { background-color: #fcbb06; } -.btn.primary:hover ,.btn.primary:focus { +.btn.primary:hover,.btn.primary:focus { background-color: #ffcc33; } @@ -41,7 +41,7 @@ h1, h1 a { background-color: #9f6; } -.btn.grn:hover ,.btn.primary:focus { +.btn.grn:hover ,.btn.grn:focus { background-color: #3f0; } diff --git a/static/form.html b/static/form.html index 8447427..c01f0f4 100644 --- a/static/form.html +++ b/static/form.html @@ -50,6 +50,6 @@ - +