From d574df8410aeb13a750b1bf8addf526d4f259faa Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Thu, 8 Aug 2024 19:50:16 +0000 Subject: [PATCH] remove custom background from select, move select styles to form.css --- css/form.css | 10 ++++++++++ css/style.css | 9 --------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/css/form.css b/css/form.css index 1d127c6..4aafac8 100644 --- a/css/form.css +++ b/css/form.css @@ -14,6 +14,12 @@ text-align: right; } +.input-grid + * { + display: inline-block; + width: 100%; + margin-top: 5px; +} + legend { float: left; width: 100%; @@ -52,4 +58,8 @@ input[type="radio"] { div[draggable="true"] { cursor: grab; +} + +.w3-select, select { + padding: 8px; } \ No newline at end of file diff --git a/css/style.css b/css/style.css index 2f144a1..1c1a238 100644 --- a/css/style.css +++ b/css/style.css @@ -157,15 +157,6 @@ hr, * { } } -.w3-select, select { - padding: 8px; - appearance: none; - background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E:root%7Bcolor:%23fff%7D@media (prefers-color-scheme:light)%7B:root%7Bcolor:%23000%7D%7D%3C/style%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.707 14.707a1 1 0 01-1.414 0l-5-5a1 1 0 011.414-1.414L12 12.586l4.293-4.293a1 1 0 111.414 1.414l-5 5z' fill='currentColor'/%3E%3C/svg%3E"); - background-repeat: no-repeat; - background-position: right 8px top 50%; - background-size: 1em auto; -} - /* add hide large class similar to w3-hide-medium and w3-hide-small */ @media (width >=993px) { .w3-hide-large {