You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

theme.css 6.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. @import '../../../../vendor/filament/filament/resources/css/theme.css';
  2. @import 'tooltip.css';
  3. @config './tailwind.config.js';
  4. .choices:focus-visible {
  5. outline: none;
  6. }
  7. .es-table__header-ctn, .es-table__footer-ctn {
  8. @apply divide-y divide-gray-200 dark:divide-white/10 h-12;
  9. }
  10. .es-table__row {
  11. @apply [@media(hover:hover)]:transition [@media(hover:hover)]:duration-75 hover:bg-gray-50 dark:hover:bg-white/5;
  12. }
  13. .es-table .es-table__rowgroup td:first-child {
  14. padding-left: 3rem;
  15. }
  16. .es-table .es-table__rowgroup .es-table__row > td:nth-child(2) {
  17. word-wrap: break-word;
  18. word-break: break-word;
  19. white-space: normal;
  20. }
  21. .es-table .es-table__rowgroup .es-table__row > td:nth-child(3) {
  22. word-wrap: break-word;
  23. word-break: break-word;
  24. white-space: normal;
  25. }
  26. .es-table .es-table__rowgroup .es-table__row > td:nth-child(4) {
  27. white-space: nowrap;
  28. }
  29. .es-table .es-table__rowgroup .es-table__row > td:last-child {
  30. padding-right: 3rem;
  31. }
  32. .choices__group {
  33. color: rgba(var(--gray-900), 1);
  34. font-weight: bold;
  35. }
  36. .connected-account-header .fi-icon-btn.fi-ac-icon-btn-action {
  37. @apply text-primary-500 hover:text-danger-600 focus-visible:text-danger-600 focus-visible:ring-danger-500 dark:text-primary-400 dark:hover:text-danger-300 dark:focus-visible:text-danger-300 dark:focus-visible:ring-danger-500;
  38. }
  39. .fi-ta-empty-state-icon-ctn {
  40. @apply bg-platinum;
  41. }
  42. .fi-body {
  43. position: relative;
  44. background-color: #E8E9EB;
  45. z-index: 1;
  46. }
  47. .fi-body::before {
  48. content: '';
  49. position: absolute;
  50. top: 0;
  51. left: 0;
  52. width: 100%;
  53. height: 100%;
  54. background-image:
  55. linear-gradient(99.6deg,
  56. rgba(232, 233, 235, 1) 10.6%,
  57. rgba(240, 241, 243, 1) 32.9%,
  58. rgba(248, 249, 251, 0.7) 50%,
  59. rgba(240, 241, 243, 1) 67.1%,
  60. rgba(232, 233, 235, 1) 83.4%);
  61. pointer-events: none;
  62. z-index: -1;
  63. }
  64. :is(.dark .fi-body) {
  65. position: relative;
  66. background-color: rgb(3, 7, 18);
  67. z-index: 1;
  68. }
  69. :is(.dark .fi-body)::before {
  70. content: '';
  71. position: absolute;
  72. top: 0;
  73. right: 0;
  74. background-image: radial-gradient(
  75. ellipse at top right,
  76. rgba(var(--primary-950), 1) 0%,
  77. rgba(var(--primary-950), 0.9) 15%,
  78. rgba(var(--primary-900), 0.7) 30%,
  79. rgba(var(--primary-900), 0.5) 45%,
  80. rgba(var(--primary-950), 0.3) 60%,
  81. rgba(var(--primary-950), 0.1) 75%,
  82. rgba(3,7,18,0) 100%
  83. );
  84. width: 100%;
  85. height: 100%;
  86. pointer-events: none;
  87. z-index: -1;
  88. }
  89. .fi-topbar > nav, .fi-sidebar-header {
  90. @apply bg-transparent ring-0 shadow-none !important;
  91. transition: background-color 0.3s, top 0.3s;
  92. }
  93. .fi-topbar > nav {
  94. @apply relative flex justify-center;
  95. > ul {
  96. @apply absolute -translate-x-2/4 gap-x-0 left-2/4;
  97. }
  98. > div {
  99. @apply static;
  100. }
  101. }
  102. .fi-topbar > nav.topbar-hovered, .fi-sidebar-header.topbar-hovered {
  103. background-color: rgba(255, 255, 255, 0.75) !important;
  104. }
  105. :is(.dark .fi-topbar > nav.topbar-hovered, .dark .fi-sidebar-header.topbar-hovered) {
  106. background-color: rgba(10, 16, 33, 0.75) !important;
  107. }
  108. .fi-topbar > nav.topbar-scrolled, .fi-sidebar-header.topbar-scrolled {
  109. background-color: rgba(255, 255, 255, 0.5) !important;
  110. }
  111. :is(.dark .fi-topbar > nav.topbar-scrolled, .dark .fi-sidebar-header.topbar-scrolled) {
  112. background-color: rgba(10, 16, 33, 0.5) !important;
  113. }
  114. .fi-dropdown.fi-topbar-dropdown .fi-dropdown-panel {
  115. transition: max-width 0.3s linear 0.1s, opacity 0.1s linear 0.1s;
  116. @apply absolute -translate-x-1/2 left-1/2 !important;
  117. }
  118. .fi-topbar-item > * {
  119. @apply h-16 rounded-none !bg-transparent border-b-2 border-transparent;
  120. }
  121. .fi-topbar-item > button > svg {
  122. transition: transform 0.1s ease-in-out, color 0.1s ease-in-out;
  123. }
  124. .fi-topbar-item-active {
  125. & > a, & > button {
  126. @apply border-primary-600 dark:border-primary-400;
  127. }
  128. > button {
  129. @apply text-gray-700 dark:text-gray-200;
  130. }
  131. > button > svg {
  132. @apply text-gray-400 dark:text-gray-500;
  133. }
  134. }
  135. .fi-topbar-item > a:hover, a:focus-visible {
  136. @apply text-primary-600 dark:text-primary-400 border-primary-600 dark:border-primary-400;
  137. > svg {
  138. @apply text-primary-500;
  139. }
  140. }
  141. .fi-topbar-dropdown[aria-expanded="true"], .fi-topbar-dropdown[aria-expanded="false"] .fi-dropdown-trigger[aria-expanded="true"] {
  142. .fi-topbar-item > button {
  143. @apply text-primary-600 dark:text-primary-400 border-primary-600 dark:border-primary-400 !important;
  144. > svg {
  145. @apply rotate-180 text-primary-500;
  146. }
  147. }
  148. }
  149. .menu-groups {
  150. @apply flex flex-row relative transition-[unset] m-0 px-12 py-9;
  151. .menu-group {
  152. @apply flex flex-col justify-between relative z-[3] mx-2.5 my-0 p-0;
  153. }
  154. }
  155. .submenu-wrap {
  156. .submenu {
  157. @apply flex flex-wrap m-0 p-0;
  158. }
  159. .submenu.cols-1 {
  160. @apply w-60;
  161. }
  162. .menu-label, .menu-label-invisible-spacer {
  163. @apply text-gray-700 dark:text-gray-200 text-base font-medium mb-4 pb-4 border-b border-gray-200 dark:border-gray-700 min-h-[2.5625rem];
  164. }
  165. .menu-label-invisible-spacer {
  166. @apply invisible;
  167. }
  168. }
  169. .menu-item {
  170. @apply cursor-pointer -left-4 leading-tight relative w-[calc(100%_-_10px)] p-2;
  171. }
  172. .fi-topbar-dropdown-list-item {
  173. @apply flex justify-between relative transition-[left] duration-200 z-[2] rounded-none left-0;
  174. &::after {
  175. @apply bg-primary-600 dark:bg-primary-400 content-[''] block h-0 left-[-1rem] absolute transition-all duration-300 w-px top-[calc(100%_+_0.5rem)];
  176. }
  177. &:hover {
  178. @apply left-4 !bg-transparent;
  179. }
  180. &:hover > span {
  181. @apply text-primary-600 dark:text-primary-400;
  182. }
  183. &:hover::after {
  184. @apply -top-2 h-[calc(100%+1rem)];
  185. }
  186. &:hover .bg {
  187. @apply w-full;
  188. }
  189. > span {
  190. @apply flex flex-col relative z-[1] font-medium;
  191. }
  192. .bg {
  193. @apply h-[calc(100%+1rem)] -left-4 absolute -top-2 transition-[width] duration-200 delay-100 bg-gradient-to-r from-primary-600/10 dark:from-primary-400/10;
  194. }
  195. }
  196. .choices[data-type="select-one"] .choices__inner {
  197. height: 2.25rem;
  198. }
  199. .fi-badge {
  200. display: inline-flex;
  201. }