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 7.5KB

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