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.4KB

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