datatables.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. @import 'tailwindcss';
  2. @import "./dataTables.tailwindcss.css";
  3. @import "datatables.net-responsive-dt";
  4. @source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
  5. @source '../../storage/framework/views/*.php';
  6. @source "../**/*.blade.php";
  7. @source "../**/*.js";
  8. @source "../**/*.vue";
  9. @theme {
  10. --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
  11. 'Segoe UI Symbol', 'Noto Color Emoji';
  12. }
  13. body {
  14. background-color: #f8f9fa;
  15. }
  16. .dt-button {
  17. background-color: #4CAF50; /* Green background */
  18. color: white; /* White text */
  19. border: none; /* No border */
  20. padding: 10px 20px; /* Padding */
  21. margin: 5px; /* Margin */
  22. cursor: pointer; /* Pointer cursor on hover */
  23. font-size: 16px; /* Font size */
  24. }
  25. .dt-button:hover {
  26. background-color: #45a049; /* Darker green on hover */
  27. }
  28. .dataTable tbody tr {
  29. background-color: #dbeafe /* Light blue background */
  30. }
  31. .dataTable tbody tr:nth-child(even) {
  32. background-color: white; /* even rows */
  33. }
  34. .action-button {
  35. display: inline-block;
  36. padding: 6px 12px;
  37. background-color: grey;
  38. color: black;
  39. border: none;
  40. border-radius: 4px;
  41. text-decoration: none;
  42. font-size: 14px;
  43. cursor: pointer;
  44. }
  45. .action-button:hover {
  46. background-color: darkgrey;
  47. }