-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.css
111 lines (87 loc) · 2.18 KB
/
tailwind.css
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
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
[x-cloak] {
display: none !important;
}
html,
body {
@apply min-h-screen;
}
/* style all links with these styles except for buttons and pagination items */
a:not(.btn, .nolink, .paginate_button, .paginate_button a, .custom-select-options a) {
@apply link link-hover link-primary;
}
p {
@apply font-light my-1;
}
h1,
h2,
h3 {
@apply font-semibold;
}
h1 {
@apply text-xl;
}
h2 {
@apply text-lg;
}
h3 {
@apply mb-2;
}
.row {
@apply grid grid-cols-12 text-sm;
}
.row .col-sm-6 {
@apply col-span-12 md:col-span-6 p-2;
}
.row .col-sm-12 {
@apply col-span-12 py-2;
}
.dataTables_filter {
@apply flex justify-end;
}
.searchable-badge {
@apply border-0 btn btn-xs bg-blue-50 text-primary normal-case mx-[2px] my-[2px];
}
.searchable-badge:hover {
@apply !bg-primary !text-primary-content;
}
.table.dataTable td {
@apply align-text-top;
}
.table.dataTable td.versions,
.table.dataTable td.variants,
.table.dataTable td.platforms,
.table.dataTable td.oss,
.table.dataTable td.targets,
.table.dataTable td.compilers,
.table.dataTable td.stacks {
@apply whitespace-normal;
}
.form-control {
@apply relative;
}
.form-control label.floating {
@apply absolute bg-white left-[3px] p-0 px-1 pointer-events-none top-0;
}
.custom-select {
@apply select select-bordered items-center;
}
.custom-select-options {
@apply absolute left-[-1px] pt-1 right-[-1px] shadow-lg text-sm top-full z-10;
}
.custom-select-options .menu-wrap {
@apply bg-base-100 border border-base-200 max-h-[280px] overflow-y-auto rounded;
}
.custom-select-options ul {
@apply menu w-full;
}
.custom-select-options ul li {
@apply border-b border-base-300 font-normal w-full;
}
.custom-select-options ul li.selected a {
@apply pointer-events-none text-gray-400;
}
}