Skip to content

NOW MANAGED ON CODEBERG

Implemented custom select controls because apple hates web developers

Dan Brownaa6a752e38b7
diff --git a/resources/sass/_forms.scss b/resources/sass/_forms.scss
index 11ea1cc7f..c42399de1 100644
--- a/resources/sass/_forms.scss
+++ b/resources/sass/_forms.scss
@@ -196,6 +196,16 @@ input[type="color"], input[type="password"], select, textarea {
@extend .input-base;
}
+select {
+ -webkit-appearance: none;
+ -moz-appearance: none;
+ appearance: none;
+ background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23666666'><polygon points='0,0 100,0 50,50'/></svg>");
+ background-size: 12px;
+ background-position: calc(100% - 20px) 70%;
+ background-repeat: no-repeat;
+}
+
input[type=date] {
width: 190px;
}