File tree 4 files changed +2
-67
lines changed
4 files changed +2
-67
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export default function ChargeStationsForm({
66
66
67
67
< div className = "flex justify-end md:mt-7 md:w-1/3 md:justify-start" >
68
68
< button
69
- className = "btn btn-sm border-0 bg-brand-aqua text-black hover:bg-brand-light-aqua"
69
+ className = "btn border-0 bg-brand-aqua text-black hover:bg-brand-light-aqua"
70
70
type = "submit"
71
71
disabled = { ! isValid }
72
72
>
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ export default function ParametersForm({
88
88
/>
89
89
</ div >
90
90
< button
91
- className = "btn btn-sm ml-auto mt-10 border-0 bg-brand-aqua text-black hover:bg-brand-light-aqua"
91
+ className = "btn ml-auto mt-10 border-0 bg-brand-aqua text-black hover:bg-brand-light-aqua"
92
92
type = "submit"
93
93
disabled = { ! isValid }
94
94
>
Original file line number Diff line number Diff line change 1
1
@tailwind base;
2
2
@tailwind components;
3
3
@tailwind utilities;
4
-
5
- input [type = 'number' ] {
6
- -moz-appearance : textfield;
7
- appearance : textfield;
8
- }
9
-
10
- input [type = 'number' ]::-webkit-inner-spin-button {
11
- -webkit-appearance : none;
12
- margin : 0 ;
13
- }
14
-
15
- input [type = 'number' ]::-webkit-outer-spin-button {
16
- -webkit-appearance : none;
17
- margin : 0 ;
18
- }
19
-
20
- .input {
21
- @apply block appearance-none rounded-lg border border-blue-600 bg-brand-blue p-2.5 text-white focus:border-blue-500 focus:outline-none focus:ring;
22
- }
23
-
24
- .select {
25
- @apply block appearance-none rounded-lg border border-blue-600 bg-brand-blue p-2.5 text-white focus:border-blue-500 focus:outline-none focus:ring;
26
- }
27
-
28
- .btn {
29
- @apply inline-flex animate-none cursor-pointer appearance-none items-center justify-center rounded-lg bg-brand-aqua px-6 py-5 font-bold text-black hover:to-brand-light-aqua focus:outline-none;
30
- }
31
-
32
- .btn-sm {
33
- @apply px-3 py-3 text-sm;
34
- }
35
-
36
- .btn : disabled ,
37
- .btn [disabled ] {
38
- @apply cursor-default opacity-5;
39
- }
40
-
41
- .range {
42
- @apply h-2 w-full appearance-none rounded-full bg-stone-300 focus:outline-none;
43
- }
44
-
45
- .range ::-webkit-slider-thumb {
46
- @apply h-4 w-4 cursor-pointer appearance-none rounded-full border-2 border-white bg-brand-aqua shadow-md transition-transform duration-200 ease-in-out;
47
- }
48
-
49
- .range ::-webkit-slider-thumb : hover {
50
- @apply scale-110;
51
- }
52
-
53
- .range ::-webkit-slider-thumb : focus {
54
- @apply scale-125;
55
- }
56
-
57
- .range ::-moz-range-thumb {
58
- @apply h-4 w-4 cursor-pointer rounded-full border-2 border-white bg-brand-aqua shadow-md transition-transform duration-200 ease-in-out;
59
- }
60
-
61
- .range ::-moz-range-thumb : hover {
62
- @apply scale-110;
63
- }
64
-
65
- .range ::-moz-range-thumb : focus {
66
- @apply scale-125;
67
- }
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ const FormInput = ({
38
38
case 'select' :
39
39
return (
40
40
< div className = "relative" >
41
- < span className = "absolute right-[10px] top-[11px] text-sm" > ▼</ span >
42
41
< select
43
42
{ ...register }
44
43
className = { clsx ( 'select w-full bg-brand-blue placeholder:text-gray-400' , className ) }
You can’t perform that action at this time.
0 commit comments