|
23 | 23 | --flat-concrete: #95a5a6; |
24 | 24 | } |
25 | 25 |
|
| 26 | +/* Typography */ |
| 27 | +.font-sans { font-family: sans-serif; } |
| 28 | +.font-serif { font-family: serif; } |
| 29 | +.font-mono { font-family: monospace; } |
| 30 | + |
| 31 | +.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } |
| 32 | + |
26 | 33 | /* Color Texts */ |
27 | 34 | .text-blue { color: var(--blue); } |
28 | 35 | .text-green { color: var(--green); } |
|
31 | 38 | .text-cyan { color: var(--cyan); } |
32 | 39 | .text-light { color: var(--gray-light); } |
33 | 40 | .text-dark { color: var(--gray-dark); } |
| 41 | + |
34 | 42 |
|
35 | 43 | /* Flat UI Color Texts */ |
36 | 44 | .text-flat-turquoise { color: var(--flat-turquoise); } |
|
52 | 60 | .bg-cyan { background-color: var(--cyan); } |
53 | 61 | .bg-light { background-color: var(--gray-light); } |
54 | 62 | .bg-dark { background-color: var(--gray-dark); } |
| 63 | +.bg-blue-100 { background-color: #bbdefb; } |
| 64 | +.bg-blue-200 { background-color: #90caf9; } |
| 65 | +.bg-blue-300 { background-color: #64b5f6; } |
55 | 66 |
|
56 | 67 | /* Flat UI Background Colors */ |
57 | 68 | .bg-flat-turquoise { background-color: var(--flat-turquoise); } |
|
69 | 80 | .rounded-sm { border-radius: 4px; } |
70 | 81 | .rounded-md { border-radius: 8px; } |
71 | 82 | .rounded-lg { border-radius: 12px; } |
72 | | -.rounded-full { border-radius: 9999px; } |
| 83 | +.rounded-full { border-radius: 50%; } |
| 84 | + |
| 85 | +/* Width and Height */ |
| 86 | +.w-1 { width: 10%; } |
| 87 | +.w-2 { width: 20%; } |
| 88 | +.w-3 { width: 30%; } |
| 89 | +.w-4 { width: 40%; } |
| 90 | +.w-5 { width: 50%; } |
73 | 91 |
|
74 | 92 | /* Width and Height */ |
75 | 93 | .w-full { width: 100%; } |
|
83 | 101 | .m-1 { margin: 8px; } |
84 | 102 | .m-2 { margin: 16px; } |
85 | 103 | .m-3 { margin: 24px; } |
| 104 | +.m-4 { margin: 16px; } |
86 | 105 |
|
87 | 106 | .p-0 { padding: 0; } |
88 | 107 | .p-1 { padding: 8px; } |
|
100 | 119 | .items-center { align-items: center; } |
101 | 120 | .items-end { align-items: flex-end; } |
102 | 121 |
|
| 122 | +/* Flexbox Enhancements */ |
| 123 | +.flex-1 { flex: 1; } |
| 124 | +.flex-auto { flex: auto; } |
| 125 | +.flex-initial { flex: initial; } |
| 126 | + |
| 127 | +/* Grid Enhancements */ |
| 128 | +.grid-cols-6 { grid-template-columns: repeat(6, 1fr); } |
| 129 | +.grid-cols-12 { grid-template-columns: repeat(12, 1fr); } |
| 130 | + |
| 131 | +/* Gap in grid and flex */ |
| 132 | +.gap-1 { gap: 4px; } |
| 133 | +.gap-2 { gap: 8px; } |
| 134 | + |
| 135 | + |
103 | 136 | /* Grid */ |
104 | 137 | .grid { display: grid; } |
105 | 138 | .grid-cols-2 { grid-template-columns: repeat(2, 1fr); } |
|
117 | 150 | .text-left { text-align: left; } |
118 | 151 | .text-right { text-align: right; } |
119 | 152 |
|
| 153 | +/* Hover, Focus, Active States */ |
| 154 | +.hover\:text-blue-500:hover { color: #3498db; } |
| 155 | +.focus\:bg-green-500:focus { background-color: #2ecc71; } |
| 156 | +.active\:border-red-500:active { border-color: #e74c3c; } |
| 157 | + |
120 | 158 | /* Transform */ |
121 | 159 | .scale:hover { transform: scale(1.05); transition: transform 0.2s ease-in-out; } |
122 | 160 | .rotate-45 { transform: rotate(45deg); } |
| 161 | +/* Transitions and Animations */ |
| 162 | +.transition { transition: all 0.3s ease-in-out; } |
| 163 | +.transition-colors { transition: color 0.3s ease-in-out; } |
| 164 | +.transition-bg { transition: background-color 0.3s ease-in-out; } |
123 | 165 |
|
124 | 166 | /* Shadows */ |
125 | 167 | .shadow-sm { box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); } |
126 | 168 | .shadow-md { box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); } |
127 | 169 | .shadow-lg { box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2); } |
| 170 | +/* Display */ |
| 171 | +.hidden { display: none; } |
| 172 | +.block { display: block; } |
| 173 | +.inline { display: inline; } |
| 174 | +.inline-block { display: inline-block; } |
| 175 | + |
| 176 | +/* Visibility */ |
| 177 | +.visible { visibility: visible; } |
| 178 | +.invisible { visibility: hidden; } |
| 179 | + |
| 180 | +/* Responsive Widths */ |
| 181 | +.sm\:w-1 { width: 10%; } |
| 182 | +.sm\:w-2 { width: 20%; } |
128 | 183 |
|
129 | 184 | /* Media Queries */ |
| 185 | +@media (min-width: 640px) { |
| 186 | + .sm\:w-full { width: 100%; } |
| 187 | +} |
| 188 | +@media (min-width: 768px) { |
| 189 | + .md\:w-full { width: 100%; } |
| 190 | +} |
| 191 | +@media (min-width: 1024px) { |
| 192 | + .lg\:w-full { width: 100%; } |
| 193 | +} |
| 194 | + |
| 195 | + |
130 | 196 | @media (max-width: 640px) { |
131 | 197 | .sm\:text-lg { font-size: 18px; } |
132 | 198 | .sm\:w-full { width: 100%; } |
|
0 commit comments