Skip to content

Commit 739e484

Browse files
committed
Update tailwind.input.css
1 parent 8f3cc3b commit 739e484

1 file changed

Lines changed: 15 additions & 24 deletions

File tree

BlazorDiffusion/tailwind.input.css

Lines changed: 15 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ b, strong { font-weight:600; }
88
[v-cloak] {display:none}
99

1010
/* @tailwindcss/forms css */
11-
[type='text'],[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='month'],[type='search'],[type='tel'],[type='time'],[multiple],textarea,select
11+
[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
1212
{-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}
13-
[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{
13+
[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{
1414
outline:2px solid transparent;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);
1515
--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;
1616
--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
@@ -50,25 +50,21 @@ select{
5050
[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus{border-color:transparent;background-color:currentColor}
5151
[type='file']{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}
5252
[type='file']:focus{outline:1px auto -webkit-focus-ring-color;}
53+
[type='color']{height:2.4rem;padding:2px 3px}
54+
[type='range']{height:2.4rem}
5355

54-
/* Mobile sidebar */
55-
[data-collapsed] [data-collapse=hidden] {
56-
display: none
57-
}
58-
[data-collapse-off=opacity-100] {
59-
opacity: 1
60-
}
61-
[data-collapsed] [data-collapse=opacity-0] {
62-
opacity: 0
63-
}
64-
[data-collapse-off=-translate-x-full] {
65-
transform: translateX(0)
56+
/* dark mode autocomplete fields */
57+
.dark input:-webkit-autofill,
58+
.dark input:-webkit-autofill:hover,
59+
.dark input:-webkit-autofill:focus,
60+
.dark input:-webkit-autofill:active {
61+
transition: background-color 5000s ease-in-out 0s;
62+
-webkit-text-fill-color: #ffffff;
6663
}
67-
[data-collapsed] [data-collapse=-translate-x-full] {
68-
transform: translateX(-100%)
64+
.dark input[data-autocompleted] {
65+
background-color: transparent !important;
6966
}
7067

71-
7268
/* @tailwindcss/aspect css */
7369
.aspect-h-9 {
7470
--tw-aspect-h: 9;
@@ -88,13 +84,8 @@ select{
8884
left: 0;
8985
}
9086

91-
/* dark mode autocomplete fields */
92-
.dark input:-webkit-autofill,
93-
.dark input:-webkit-autofill:focus {
94-
transition: background-color 600000s 0s, color 600000s 0s;
95-
}
96-
.dark input[data-autocompleted] {
97-
background-color: transparent !important;
87+
[role=dialog].z-10 {
88+
z-index: 60;
9889
}
9990

10091
@tailwind utilities;

0 commit comments

Comments
 (0)