_widgets.scss 1.43 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
/* Start Widgets Styles */
.upcoming-events-list {
  li {
    @apply mb-7 ltr:pl-6 rtl:pr-6 relative before:absolute before:h-full before:w-1 ltr:before:left-0 rtl:before:right-0 before:rounded-md;

    &:nth-child(1)::before {
      @apply bg-primary;
    }

    &:nth-child(2)::before {
      @apply bg-secondary;
    }

    &:nth-child(3)::before {
      @apply bg-success;
    }

    &:nth-child(4)::before {
      @apply bg-danger;
    }

    &:nth-child(5)::before {
      @apply bg-info;
    }

    &:nth-child(5)::before {
      @apply bg-warning;
    }

    &:last-child {
      @apply mb-0;
    }
  }
}

.timeline-widget {
  @apply relative before:absolute before:w-[0.125rem] before:h-full before:bg-gray-200 before:dark:bg-black/20 before:top-0 ltr:before:left-12 rtl:before:right-12;
  .timeline-widget-list {
    @apply mb-6 relative before:absolute before:w-3 before:h-3 ltr:before:left-[2.688rem] rtl:before:right-[2.688rem] before:top-1 before:rounded-full before:border before:border-gray-200 before:dark:border-white/10 before:bg-white before:dark:bg-bgdark;
    &:last-child {
      @apply mb-0;
    }
    .timeline-widget-content {
      @apply max-w-xs;
    }
  }
}

#users-map {
  @apply h-56;

  #jvm-markers-labels-group {
    @apply hidden;
  }
}

.widget-table {
  .ti-custom-table th {
    @apply text-xs text-[#495057] dark:text-white p-3;
  }
  .ti-custom-table td {
    @apply text-xs font-medium p-3;
  }
}

/* End Widgets Styles */