From a8aee88cdf95eea5aaeb450b0474aa85dc556cc2 Mon Sep 17 00:00:00 2001 From: sowgro Date: Mon, 7 Apr 2025 00:54:03 -0400 Subject: Other tweaks --- .../components/need-page/need-page.component.css | 2 +- ufund-ui/src/styles.css | 26 +++++++++++++++++----- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/ufund-ui/src/app/components/need-page/need-page.component.css b/ufund-ui/src/app/components/need-page/need-page.component.css index 6ca1350..7f357db 100644 --- a/ufund-ui/src/app/components/need-page/need-page.component.css +++ b/ufund-ui/src/app/components/need-page/need-page.component.css @@ -42,7 +42,7 @@ .urgent { font-size: 11pt; background-color: rgba(255, 165, 0, 0.27); - color: rgba(255, 165, 0, 1); + color: light-dark(rgb(138, 93, 0),rgba(255, 165, 0, 1)); padding: 2px; border-radius: 5px; } diff --git a/ufund-ui/src/styles.css b/ufund-ui/src/styles.css index 3e923b1..98e13de 100644 --- a/ufund-ui/src/styles.css +++ b/ufund-ui/src/styles.css @@ -21,14 +21,23 @@ [theme="dark"] { color-scheme: dark; --background-color: #000715; - --secondary-color: #444444; /* color of cards and buttons*/ - --tertiary-color: #3a3a3a; /* color of dark cards */ + --secondary-color: #3a3a3a; /* color of cards and buttons*/ + --tertiary-color: #2e2e2e; /* color of dark cards */ --foreground-color: #ffffff; /* used on text */ --highlight-color: #6091e8; /* accent color */ --dark-highlight-clor: #002846; /* not used currently */ - --hover-color: #394559; /* hover color for cards and buttons*/ + --hover-color: #323c4e; /* hover color for cards and buttons*/ --opacity-cr: 0; --opacity-jf: 1; + + /* Experimental blue dark theme: + --secondary-color: #19212e; + --tertiary-color: #121722; + --foreground-color: #ffffff; + --highlight-color: #6091e8; + --dark-highlight-clor: #002846; + --hover-color: #192940; + */ } :root { @@ -72,7 +81,7 @@ input, textarea, select { } button, input[type=button], input[type=reset], input[type=submit], .button { - font-size: 12pt; + font-size: 14pt; padding: 6px 16px; border-radius: 9999px; border-style: none; @@ -83,6 +92,11 @@ button, input[type=button], input[type=reset], input[type=submit], .button { text-align: center; justify-content: center; align-items: center; + cursor: pointer; + + &:disabled { + pointer-events: none; + } &:hover { background-color: var(--hover-color); @@ -98,8 +112,8 @@ button, input[type=button], input[type=reset], input[type=submit], .button { } .button2 { - /* text-transform: uppercase; */ - border: 3px solid var(--highlight-color); + text-transform: uppercase; + border: 1px solid var(--highlight-color); padding: 10px 25px; /*font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/ font-size: 12pt; -- cgit v1.2.3