From 8dc9eb446542fb4385c906bbe5877a160836a55e Mon Sep 17 00:00:00 2001 From: Clemens Bastian <8781699+amacado@users.noreply.github.com> Date: Mon, 17 Jan 2022 18:48:33 +0100 Subject: [PATCH] ui enhancements for color picker and report abuse (#972, #943) (#1024) --- docs/assets/css/style.css | 24 ++++++++++-------------- docs/index.html | 18 +++++++++--------- 2 files changed, 19 insertions(+), 23 deletions(-) diff --git a/docs/assets/css/style.css b/docs/assets/css/style.css index 0bbdebb0..37f6cb7b 100644 --- a/docs/assets/css/style.css +++ b/docs/assets/css/style.css @@ -327,37 +327,33 @@ header { font-size: 1rem; background-color: var(--primaryColor); border-radius: 0.2em; - border: 2px solid var(--grey); + border: 1px solid var(--grey); transform: translate(0, -30%); - padding: 0.5em; - padding-top: 0; + padding: 1em; margin-left: 1em; font-weight: normal; z-index: 1; display: none; -} - -.colorPickerMenuCloseBtn { - color: red; - font-weight: bold; - margin-top: 0; - margin-right: 0.25em; - display: flex; - flex-direction: row-reverse; + -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3); + box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3); } .colorPickerMenuCloseBtn > span:hover { cursor: pointer; } -.colorPickerResetBtn { +.colorPickerBtn { margin: auto; margin-top: 0.5em; - display: block; width: min-content; background-color: var(--primaryColor); border-radius: 1em; border: 1px solid var(--grey); + display: inline-block; +} + +.colorPickerBtn:hover { + background-color: var(--grey); } .checkerboardInput { diff --git a/docs/index.html b/docs/index.html index ae02774d..29cf0d6d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -67,16 +67,16 @@ -
X
Background Color
- - + +
- + +
@@ -121,16 +121,16 @@ -
X
Background Color
- - + +
- + +
@@ -186,7 +186,7 @@

Contact

-
If you have any legal concerns regarding copyrights, please reach out to us at info@devicon.dev. Any code/logo contributions should be made through our GitHub repository listed above.
+
If you have any legal concerns regarding copyrights or want to report an abuse, please reach out to us at info@devicon.dev. Any code/logo contributions should be made through our GitHub repository listed above.