summaryrefslogtreecommitdiff
path: root/styles/input.css
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-02-11 11:15:37 -0500
committerKyle Gunger <kgunger12@gmail.com>2021-02-11 11:15:37 -0500
commit9afa0420b0d34d8484a71ae278e4dbd1630a035a (patch)
tree6e7a90d247ae89cd65caca71b2cbbaaceeff58ac /styles/input.css
parentaa92baae14882ccf38f311f71c64cc0a6205553e (diff)
Input and settings fixes
Diffstat (limited to 'styles/input.css')
-rw-r--r--styles/input.css14
1 files changed, 11 insertions, 3 deletions
diff --git a/styles/input.css b/styles/input.css
index 42656a0..5e898ec 100644
--- a/styles/input.css
+++ b/styles/input.css
@@ -215,7 +215,14 @@ div.input-select
display: block;
position: absolute;
+ z-index: 0;
+ pointer-events: none;
+
+ overflow-y: auto;
+ overflow-x: hidden;
+
+ max-height: 8em;
}
div.input-select > div
@@ -231,10 +238,11 @@ div.input-select > div[selected=true]
div.input-container:focus > div.input-select
{
- pointer-events: all;
-
transform: translate(0, 2em);
+ pointer-events: all;
+ z-index: 1;
+
border: 2px solid var(--input-border-select-active);
background-color: var(--input-bg-select-active);
}
@@ -347,7 +355,7 @@ div.input-container[type=file]::after
div.input-container[type=radio]::before
{
display: block;
- content: 'Select one';
+ content: attr(data-prompt) ":";
transition-duration: 0.2s;
}