From 0833d73d094df34041e3a75687ea2d1614ada5d4 Mon Sep 17 00:00:00 2001 From: AditiPrabhakar <139689410+AditiPrabhakar@users.noreply.github.com> Date: Sat, 8 Jun 2024 00:15:11 +0530 Subject: [PATCH 1/2] Color-Selector Styling --- index.html | 78 +++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 65 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index 8f33c9a..f101bd4 100644 --- a/index.html +++ b/index.html @@ -59,18 +59,58 @@ right: 10px; background-color: rgba(0,0,0,0.4); padding: 10px; - border-radius: 8px; + border-radius: 30px; display: none; flex-direction: column; - color: whitesmoke + color: whitesmoke; + border: 5px solid #5d4d54; + font-family: Verdana, Geneva, Tahoma, sans-serif; + font-size: 15px; } .gradient-selector-container label, .gradient-selector-container select, .gradient-selector-container input { margin: 5px 0; + font-weight:800; } + .color_input { + width: 30%; + display: flex; + flex-direction: column ; + height: 30px; + border-radius: 6px; + background-color: #5d4d54; + color: #5d4d54; + font-size: 12px; + font-family: Arial, sans-serif; + box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.1); + transition: box-shadow 0.3s, background-color 0.3s; + } + + .gradient-selector-container select { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + padding: 0.5em; + /* Add padding for the text */ + padding-left: 0.5em; + /* Add a border for the placeholder */ + border: 4px solid #5d4d54; + border-radius: 6px; + font-weight:520; + font-family: Verdana, Geneva, Tahoma, sans-serif; + font-size: 15px; + border-radius: 10px; + color: #5d4d54; + background-color: #dfdccfe2; + } + + select:hover{ + background-color: whitesmoke; + } + .gradient-button { position: absolute; top: 10px; @@ -81,14 +121,25 @@ cursor: pointer; font-size: 24px; } - + .gradient-button:focus { outline: none; } - + #v{ - border-radius: 0px 0px 25px 25px; - } + border-radius: 0px 0px 25px 25px; + } + + .gradient-selector-container button { + font-family: Verdana, Geneva, Tahoma, sans-serif; + } + + .gradbtn{ + font-family: Verdana, Geneva, Tahoma, sans-serif; + border-radius: 10px; + width: 200px; + height: 35px; + } @@ -97,12 +148,13 @@