2019-03-18 08:53:00 -03:00
|
|
|
.form-label {
|
2019-05-22 12:39:26 -03:00
|
|
|
@apply .mb-2 .block .text-gray-700 .select-none;
|
2019-03-18 08:53:00 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-input,
|
|
|
|
.form-textarea,
|
|
|
|
.form-select {
|
2019-05-22 12:39:26 -03:00
|
|
|
@apply .p-2 .leading-normal .block .w-full .border .text-gray-700 .bg-white .font-sans .rounded .text-left .appearance-none .relative;
|
2019-03-18 08:53:00 -03:00
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&.focus {
|
2019-05-19 00:11:22 -03:00
|
|
|
@apply .border-indigo-500;
|
2020-01-09 00:16:10 -03:00
|
|
|
box-shadow: 0 0 0 1px theme('colors.indigo.500');
|
2019-03-18 08:53:00 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
&::placeholder {
|
2019-05-22 12:39:26 -03:00
|
|
|
@apply .text-gray-500 .opacity-100;
|
2019-03-18 08:53:00 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-select {
|
|
|
|
@apply .pr-6;
|
|
|
|
|
|
|
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAQCAYAAAAMJL+VAAAABGdBTUEAALGPC/xhBQAAAQtJREFUOBG1lEEOgjAQRalbGj2OG9caOACn4ALGtfEuHACiazceR1PWOH/CNA3aMiTaBDpt/7zPdBKy7M/DCL9pGkvxxVp7KsvyJftL5rZt1865M+Ucq6pyyF3hNcI7Cuu+728QYn/JQA5yKaempxuZmQngOwEaYx55nu+1lQh8GIatMGi+01NwBcEmhxBqK4nAPZJ78K0KKFAJmR3oPp8+Iwgob0Oa6+TLoeCvRx+mTUYf/FVBGTPRwDkfLxnaSrRwcH0FWhNOmrkWYbE2XEicqgSa1J0LQ+aPCuQgZiLnwewbGuz5MGoAhcIkCQcjaTBjMgtXGURMVHC1wcQEy0J+Zlj8bKAnY1/UzDe2dbAVqfXn6wAAAABJRU5ErkJggg==');
|
|
|
|
background-size: 0.7rem;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: right 0.7rem center;
|
|
|
|
|
|
|
|
&::-ms-expand {
|
|
|
|
@apply .opacity-0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-error {
|
2019-05-22 12:39:26 -03:00
|
|
|
@apply .text-red-700 .mt-2 .text-sm;
|
2019-03-18 08:53:00 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-input.error,
|
|
|
|
.form-textarea.error,
|
|
|
|
.form-select.error {
|
2019-05-22 12:39:26 -03:00
|
|
|
@apply .border-red-600;
|
2019-03-18 08:53:00 -03:00
|
|
|
|
|
|
|
&:focus {
|
2019-05-22 12:39:26 -03:00
|
|
|
box-shadow: 0 0 0 1px theme('colors.red.600');
|
2019-03-18 08:53:00 -03:00
|
|
|
}
|
|
|
|
}
|