-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinput.html
More file actions
113 lines (98 loc) · 4.95 KB
/
input.html
File metadata and controls
113 lines (98 loc) · 4.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS #17 - Component input</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-50 dark:bg-gray-800">
<div class="container mx-auto px-4 py-8 space-y-8">
<div>
<h6 class="dark:text-gray-50 font-bold mb-2">Componente Input</h6>
<div class="space-y-4">
<input
type="text"
placeholder="Digite seu nome"
class="w-full bg-gray-50 border border-gray-300 focus:border-blue-500 rounded px-2 py-1 text-sm text-gray-800 placeholder-gray-300 focus:outline-none"
>
<input
type="text"
placeholder="Digite seu nome"
class="w-full bg-gray-50 border border-gray-300 focus:border-blue-500 rounded px-3 py-2 text-base text-gray-800 placeholder-gray-300 focus:outline-none"
>
<input
type="text"
placeholder="Digite seu nome"
class="w-full bg-gray-50 border border-gray-300 focus:border-blue-500 rounded px-3 py-3 text-lg text-gray-800 placeholder-gray-300 focus:outline-none"
>
<input
type="text"
placeholder="Digite seu nome"
class="w-full bg-gray-50 border border-gray-300 focus:border-blue-500 focus:ring-2 focus:ring-blue-500 focus:ring-opacity-20 rounded px-3 py-3 text-lg text-gray-800 placeholder-gray-300 focus:outline-none"
>
<input
type="text"
placeholder="Digite seu nome com transition"
class="w-full bg-gray-50 border border-gray-300 focus:border-blue-500 focus:ring-2 focus:ring-blue-500 focus:ring-opacity-20 rounded px-3 py-3 text-lg text-gray-800 placeholder-gray-300 focus:outline-none transition duration-200 ease-in-out"
>
</div>
</div>
<div>
<h6 class="dark:text-gray-50 font-bold mb-2">Componente Badge/Tag</h6>
<div class="mb-2">
<div class="inline-flex item-center text-sm bg-green-100 px-1.5 py-0.5 rounded-md text-green-800 font-medium">
Ativo
</div>
<div class="inline-flex item-center text-sm bg-green-100 px-1.5 py-0.5 rounded-full text-green-800 font-medium">
Ativo
</div>
</div>
<div class="mb-2">
<div class="inline-flex item-center text-sm bg-red-100 px-1.5 py-0.5 rounded-md text-red-800 font-medium">
Inativo
</div>
<div class="inline-flex item-center text-sm bg-red-100 px-1.5 py-0.5 rounded-full text-red-800 font-medium">
Inativo
</div>
</div>
<div>
<div class="inline-flex item-center text-sm bg-yellow-100 px-1.5 py-0.5 rounded-md text-yellow-800 font-medium">
Em progresso
</div>
<div class="inline-flex item-center text-sm bg-yellow-100 px-1.5 py-0.5 rounded-full text-yellow-800 font-medium">
Em progresso
</div>
</div>
</div>
<div>
<h6 class="dark:text-gray-50 font-bold mb-2">Componente Button</h6>
<button class="text-sm bg-blue-500 hover:bg-blue-600 px-4 py-1 rounded text-white shadow">
Save
</button>
<button class="text-sm bg-blue-500 hover:bg-blue-600 px-6 py-2 rounded text-white shadow">
Save
</button>
<button class="text-base bg-blue-500 hover:bg-blue-600 px-8 py-3 rounded text-white shadow">
Save
</button>
</div>
<hr>
<div>
<h6 class="dark:text-gray-50 font-bold mb-2">Componente Card</h6>
<div class="bg-white dark:bg-gray-700 rounded-lg shadow-md overflow-hidden">
<div class="w-full bg-gray-100 dark:bg-gray-900 p-4 border-b border-gray-200 dark:border-gray-500">
<h4 class="font-bold dark:text-gray-50">Topo</h4>
</div>
<div class="p-4 dark:text-gray-50">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias deleniti eos error excepturi facere iste laudantium perferendis voluptate. Assumenda, blanditiis dicta dolore ipsa magnam minus natus perferendis provident quaerat rerum!
</div>
<div class="w-full dark:text-gray-50 bg-gray-50 dark:bg-gray-900 p-3 border-t border-gray-100 dark:border-gray-500">
Rodapé
</div>
</div>
</div>
</div>
</body>
</html>