_datatable.scss 4.38 KB
Newer Older
Ooh-Ao committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164
/* Start Datatable  Styles */
.tabulator .tabulator-header .tabulator-col {
  @apply bg-white border-gray-200 dark:bg-bgdark dark:border-white/10 #{!important};
}

.tabulator
  .tabulator-header
  .tabulator-headers
  .tabulator-col
  .tabulator-col-content {
  @apply px-6 py-3 #{!important};
}

.tabulator .tabulator-row .tabulator-cell {
  @apply px-6 py-3 #{!important};
}

.tabulator .tabulator-row.tabulator-row-even {
  @apply bg-gray-100 dark:bg-black/20 #{!important};
}

.tabulator-row.tabulator-selectable:hover {
  @apply bg-gray-100 dark:bg-black/20 #{!important};
}

.tabulator .tabulator-row {
  @apply border-t border-gray-200 dark:border-white/10 #{!important};
}

.tabulator .tabulator-header {
  @apply border-0  bg-white dark:text-white dark:bg-bgdark #{!important};
}

.tabulator {
  @apply border-0 bg-transparent #{!important};
}

.tabulator-row .tabulator-cell {
  @apply border-gray-200 dark:border-white/10 #{!important};
}

.tabulator .tabulator-row .tabulator-cell:nth-child(9) {
  @apply ltr:border-r-0 rtl:border-l-0 #{!important};
}

.tabulator .tabulator-header .tabulator-col:nth-child(9) {
  @apply ltr:border-r-0 rtl:border-l-0 #{!important};
}

.tabulator .tabulator-footer {
  @apply border-gray-200 dark:text-white dark:border-white/10 #{!important};
}

.tabulator .tabulator-footer {
  @apply bg-transparent font-medium #{!important};
}

.tabulator .tabulator-tableholder .tabulator-table {
  @apply text-gray-500 dark:text-white/70 bg-transparent #{!important};
}

.tabulator-row {
  @apply bg-transparent #{!important};
}

.tabulator .tabulator-footer .tabulator-paginator {
  @apply dark:text-white #{!important};
}

select.tabulator-page-size {
  @apply bg-[length:1rem_1rem] #{!important};
}

.tabulator .tabulator-footer .tabulator-page-size {
  @apply py-1 ltr:pl-3 ltr:pr-8 rtl:pr-3 rtl:pl-8 leading-[1.6] text-xs border-gray-200 dark:border-white/10 bg-transparent rounded-md #{!important};
}

.tabulator .tabulator-footer .tabulator-page {
  @apply py-1 px-3 rounded-md border-gray-200 dark:border-white/10 text-gray-500 dark:text-white/70 bg-transparent #{!important};
}

.tabulator .tabulator-footer .tabulator-page.active {
  @apply text-primary #{!important};
}
.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover {
  @apply text-primary bg-primary/30 #{!important};
}
select.tabulator-page-size {
  @apply filter #{!important};
  option {
    @apply dark:bg-bgdark border-gray-200 dark:border-white/10 #{!important};
  }
}
.tabulator .tabulator-row .tabulator-cell.tabulator-row-handle {
  @apply px-0 #{!important};
}
.sortable-data {
  select {
    @apply border-inherit rounded-md bg-[length:1rem_1rem] #{!important};
  }
  .choices {
    @apply mb-0 #{!important};
  }
}
.tabulator .tabulator-col-resize-handle:last-child {
  @apply hidden  #{!important};
}

.tabulator-row .tabulator-cell.tabulator-editing {
  @apply border-0 border-gray-200 dark:border-white/10 #{!important};
}
.tabulator .tabulator-footer .tabulator-footer-contents {
  @apply sm:flex-row flex-col space-y-2 sm:space-y-0 p-4 #{!important};
}
.tabulator .tabulator-footer .tabulator-page-size {
  @apply ltr:sm:pl-3 rtl:sm:pr-3 ltr:pl-1 rtl:pr-1 ltr:sm:pr-8 rtl:sm:pl-8 ltr:pr-4 rtl:pl-4 #{!important};
}
.tabulator .tabulator-footer .tabulator-page {
  @apply sm:px-3 px-1 #{!important};
}
.tabulator .tabulator-footer .tabulator-paginator {
  label {
    @apply hidden #{!important};
  }
}
@media screen and (max-width: 1024px) {
  .tabulator-col,
  .tabulator-cell {
    @apply w-60 #{!important};
  }
}
.tabulator
  .tabulator-header
  .tabulator-col.tabulator-sortable[aria-sort="ascending"]
  .tabulator-col-content
  .tabulator-col-sorter {
  @apply text-gray-500 dark:text-white;
}
.tabulator
  .tabulator-header
  .tabulator-col.tabulator-sortable[aria-sort="ascending"]
  .tabulator-col-content
  .tabulator-col-sorter
  .tabulator-arrow {
  @apply border-b-gray-200 dark:border-b-white/10;
}
.tabulator
  .tabulator-header
  .tabulator-col.tabulator-sortable[aria-sort="descending"]
  .tabulator-col-content
  .tabulator-col-sorter
  .tabulator-arrow {
  @apply border-t-gray-200 dark:border-t-white/10;
}
.tabulator .tabulator-footer .tabulator-page-size {
  @apply block mb-2 w-full sm:inline-block sm:mb-0 sm:w-auto #{!important};
}
.sortable-data{
 .choices__list--dropdown .choices__item--selectable,.choices__list[aria-expanded] .choices__item--selectable {
  @apply px-3 #{!important};
 }
}

/* End Datatable  Styles */