appointments.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. .content {
  2. font-family: 'Arial', sans-serif;
  3. background-color: #f4f4f9;
  4. margin: 0;
  5. padding: 0;
  6. display: grid;
  7. place-items: center;
  8. box-sizing: border-box;
  9. }
  10. .container {
  11. width: 90%;
  12. max-width: 1200px;
  13. background-color: #ffffff;
  14. padding: 20px;
  15. border-radius: 10px;
  16. box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  17. overflow-x: auto; /* Ensure content is scrollable on smaller screens */
  18. }
  19. /* Modern A-Tag Styling */
  20. td a {
  21. text-decoration: none;
  22. padding: 8px 12px;
  23. border-radius: 4px;
  24. color: #ffffff;
  25. font-size: 14px;
  26. background-color: #54ccac;
  27. transition: background-color 0.3s ease, transform 0.2s ease;
  28. }
  29. td a.share-link {
  30. background-color: #7ccc54;
  31. }
  32. td a.participants-link {
  33. background-color: #cc54c6;
  34. }
  35. td a:hover {
  36. background-color: #5750d9;
  37. transform: translateY(-2px);
  38. }
  39. /* Modern Button Styling */
  40. td button {
  41. padding: 8px 12px;
  42. border: none;
  43. border-radius: 4px;
  44. font-size: 14px;
  45. color: white;
  46. background-color: #ff6b6b;
  47. cursor: pointer;
  48. transition: background-color 0.3s ease, transform 0.2s ease;
  49. }
  50. td button:hover {
  51. background-color: #e05555;
  52. transform: translateY(-2px);
  53. }
  54. h2 {
  55. text-align: center;
  56. color: #333333;
  57. margin-bottom: 20px;
  58. }
  59. /* Table Styling */
  60. .table-wrapper {
  61. overflow-x: auto;
  62. }
  63. table {
  64. width: 100%;
  65. border-collapse: collapse;
  66. text-align: left;
  67. }
  68. th, td {
  69. padding: 12px;
  70. border: 1px solid #ddd;
  71. }
  72. th {
  73. background-color: #6c63ff;
  74. color: white;
  75. font-weight: normal;
  76. }
  77. tr:nth-child(even) {
  78. background-color: #f9f9f9;
  79. }
  80. tr:hover {
  81. background-color: #f1f1f1;
  82. }
  83. .time-span {
  84. font-weight: bold;
  85. color: #0078d7;
  86. }
  87. /* Responsive adjustments */
  88. @media (max-width: 768px) {
  89. body {
  90. height: auto;
  91. padding: 20px;
  92. }
  93. h2 {
  94. font-size: 1.5rem;
  95. }
  96. table {
  97. font-size: 14px;
  98. }
  99. th, td {
  100. padding: 10px;
  101. }
  102. }
  103. @media (max-width: 480px) {
  104. table {
  105. font-size: 12px;
  106. }
  107. th, td {
  108. padding: 8px;
  109. }
  110. th {
  111. font-size: 0.9rem;
  112. }
  113. }
  114. /* Ensure table stays scrollable on smaller screens */
  115. .container {
  116. overflow-x: auto;
  117. }