From 6e6be82a03ed2405a0e6470dbb4e7e05f9ad2f6f Mon Sep 17 00:00:00 2001 From: Demis Bellot Date: Sat, 19 Oct 2024 12:02:26 +0800 Subject: [PATCH] Update tailwind.input.css --- MyApp/tailwind.input.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/MyApp/tailwind.input.css b/MyApp/tailwind.input.css index d3a4d977..99ee6083 100644 --- a/MyApp/tailwind.input.css +++ b/MyApp/tailwind.input.css @@ -1,16 +1,16 @@ @tailwind base; @tailwind components; +/* override element defaults */ +b, strong { font-weight:600; } + /*vue*/ [v-cloak] {display:none} -/* override element defaults */ -b { font-weight:600; } - /* @tailwindcss/forms css */ -[type='text'],[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='month'],[type='search'],[type='tel'],[type='time'],[multiple],textarea,select +[type='text'],[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='week'],[type='search'],[type='tel'],[type='time'],[type='color'],[multiple],textarea,select {-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:0.5rem 0.75rem;font-size:1rem;line-height:1.5rem} -[type='text']:focus,[type='email']:focus,[type='url']:focus,[type='password']:focus,[type='number']:focus,[type='date']:focus,[type='month']:focus,[type='search']:focus,[type='tel']:focus,[type='time']:focus,[multiple]:focus,textarea:focus,select:focus{ +[type='text']:focus,[type='email']:focus,[type='url']:focus,[type='password']:focus,[type='number']:focus,[type='date']:focus,[type='datetime-local']:focus,[type='month']:focus,[type='week']:focus,[type='search']:focus,[type='tel']:focus,[type='time']:focus,[type='color']:focus,[multiple]:focus,textarea:focus,select:focus{ outline:2px solid transparent;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb; --tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); @@ -50,7 +50,8 @@ select{ [type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus{border-color:transparent;background-color:currentColor} [type='file']{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit} [type='file']:focus{outline:1px auto -webkit-focus-ring-color;} - +[type='color']{height:2.4rem;padding:2px 3px} +[type='range']{height:2.4rem} /* dark mode autocomplete fields */ .dark input:-webkit-autofill,