1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 23:59:40 +02:00
Maybe/app/assets/stylesheets/application.tailwind.css

73 lines
1.5 KiB
CSS
Raw Normal View History

2024-02-02 09:05:04 -06:00
@tailwind base;
@tailwind components;
@tailwind utilities;
2024-02-12 17:20:50 -05:00
/* Reset rules, default styles applied to plain HTML */
@layer base {
details > summary::-webkit-details-marker {
@apply hidden;
}
2024-02-12 17:20:50 -05:00
}
@layer components {
.prose {
table {
@apply divide-y divide-gray-300;
}
tr {
@apply divide-x divide-gray-100;
}
th {
@apply whitespace-nowrap px-2 py-3.5 text-left text-sm font-semibold text-gray-900;
}
tbody {
@apply divide-y divide-gray-200;
}
td {
@apply px-2 py-2 text-sm text-gray-500 whitespace-nowrap;
}
}
.form-field {
@apply relative border bg-white rounded-xl shadow-sm;
@apply focus-within:shadow-none focus-within:border-gray-900 focus-within:ring-4 focus-within:ring-gray-100;
}
.form-field__label {
@apply p-3 pb-0 block text-sm font-medium opacity-50;
}
.form-field__input {
@apply p-3 w-full bg-transparent border-none opacity-50;
@apply focus:outline-none focus:ring-0 focus:opacity-100;
}
.form-field__submit {
@apply w-full p-3 text-center text-white bg-black rounded-lg hover:bg-gray-700;
}
input:checked + label + .toggle-switch-dot {
transform: translateX(100%);
}
2024-02-02 09:05:04 -06:00
}
2024-02-12 17:20:50 -05:00
/* Small, single purpose classes that should take precedence over other styles */
@layer utilities {
.scrollbar::-webkit-scrollbar {
width: 4px;
}
.scrollbar::-webkit-scrollbar-thumb {
background: #d6d6d6;
border-radius: 10px;
}
.scrollbar::-webkit-scrollbar-thumb:hover {
background: #a6a6a6;
}
2024-02-12 17:20:50 -05:00
}