Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

theme.css 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. @import '../../../../vendor/filament/filament/resources/css/theme.css';
  2. @config './tailwind.config.js';
  3. .fi-body {
  4. @apply bg-platinum;
  5. }
  6. .fi-topbar > nav, .fi-sidebar-header {
  7. @apply bg-transparent ring-0 shadow-none !important;
  8. transition: background-color 0.3s, top 0.3s;
  9. }
  10. .fi-topbar > nav {
  11. @apply relative flex justify-center;
  12. > ul {
  13. @apply absolute -translate-x-2/4 gap-x-0 left-2/4;
  14. }
  15. > div {
  16. @apply static;
  17. }
  18. }
  19. .fi-topbar > nav.topbar-hovered, .fi-sidebar-header.topbar-hovered {
  20. @apply bg-translucent dark:bg-translucent-dark !important;
  21. }
  22. .fi-dropdown.fi-topbar-dropdown .fi-dropdown-panel {
  23. transition: max-width 0.3s linear 0.1s, opacity 0.1s linear 0.1s;
  24. @apply absolute -translate-x-1/2 left-1/2 !important;
  25. }
  26. .fi-topbar-item > * {
  27. @apply h-16 rounded-none !bg-transparent border-b-2 border-transparent;
  28. }
  29. .fi-topbar-item > button > svg {
  30. transition: transform 0.1s ease-in-out, color 0.1s ease-in-out;
  31. }
  32. .fi-topbar-item-active {
  33. & > a, & > button {
  34. @apply border-primary-600 dark:border-primary-400;
  35. }
  36. > button {
  37. @apply text-gray-700 dark:text-gray-200;
  38. }
  39. > button > svg {
  40. @apply text-gray-400 dark:text-gray-500;
  41. }
  42. }
  43. .fi-topbar-item > a:hover, a:focus-visible {
  44. @apply text-primary-600 dark:text-primary-400 border-primary-600 dark:border-primary-400;
  45. > svg {
  46. @apply text-primary-500;
  47. }
  48. }
  49. .fi-topbar-dropdown[aria-expanded="true"], .fi-topbar-dropdown[aria-expanded="false"] .fi-dropdown-trigger[aria-expanded="true"] {
  50. .fi-topbar-item > button {
  51. @apply text-primary-600 dark:text-primary-400 border-primary-600 dark:border-primary-400 !important;
  52. > svg {
  53. @apply rotate-180 text-primary-500;
  54. }
  55. }
  56. }
  57. .menu-groups {
  58. @apply flex flex-row relative transition-[unset] m-0 px-12 py-9;
  59. .menu-group {
  60. @apply flex flex-col justify-between relative z-[3] mx-2.5 my-0 p-0;
  61. }
  62. }
  63. .submenu-wrap {
  64. .submenu {
  65. @apply flex flex-wrap m-0 p-0;
  66. }
  67. .submenu.cols-1 {
  68. @apply w-60;
  69. }
  70. .menu-label, .menu-label-invisible-spacer {
  71. @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];
  72. }
  73. .menu-label-invisible-spacer {
  74. @apply invisible;
  75. }
  76. }
  77. .menu-item {
  78. @apply cursor-pointer -left-4 leading-tight relative w-[calc(100%_-_10px)] p-2;
  79. }
  80. .fi-topbar-dropdown-list-item {
  81. @apply flex justify-between relative transition-[left] duration-200 z-[2] rounded-none left-0;
  82. &:after {
  83. @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)];
  84. }
  85. &:hover {
  86. @apply left-4 !bg-transparent;
  87. }
  88. &:hover > span {
  89. @apply text-primary-600 dark:text-primary-400;
  90. }
  91. &:hover:after {
  92. @apply -top-2 h-[calc(100%+1rem)];
  93. }
  94. &:hover .bg {
  95. @apply w-full;
  96. }
  97. > span {
  98. @apply flex flex-col relative z-[1] font-medium;
  99. }
  100. .bg {
  101. @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;
  102. }
  103. }
  104. .choices__inner {
  105. height: 2.25rem;
  106. }
  107. .fi-badge {
  108. display: inline-flex;
  109. }