aboutsummaryrefslogtreecommitdiff
path: root/client/src/components/CustomSelect/CustomSelect.module.css
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/components/CustomSelect/CustomSelect.module.css')
-rw-r--r--client/src/components/CustomSelect/CustomSelect.module.css32
1 files changed, 32 insertions, 0 deletions
diff --git a/client/src/components/CustomSelect/CustomSelect.module.css b/client/src/components/CustomSelect/CustomSelect.module.css
new file mode 100644
index 0000000..a3b6520
--- /dev/null
+++ b/client/src/components/CustomSelect/CustomSelect.module.css
@@ -0,0 +1,32 @@
+.select {
+ position: relative;
+ display: inline-block;
+}
+
+.selected__option {
+ cursor: pointer;
+ padding: 10px;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+.options {
+ position: absolute;
+ top: 100%;
+ left: 0;
+ width: 100%;
+ border: 1px solid #ccc;
+ border-top: none;
+ border-radius: 0 0 4px 4px;
+ background-color: #ebdbb2;
+ z-index: 1;
+}
+
+.option {
+ padding: 10px;
+ color: #282828;
+ cursor: pointer;
+ &:hover {
+ background-color: #f0f0f0;
+ }
+}