Add styles for PrimeVue Dataview

pull/4830/head
Angel Fernando Quiroz Campos 1 year ago
parent ea42101624
commit 70b7e9cf44
  1. 1
      assets/css/scss/index.scss
  2. 41
      assets/css/scss/organisms/_dataview.scss

@ -41,6 +41,7 @@
@import "organisms/cards";
@import "organisms/course_card";
@import "organisms/datatable";
@import "organisms/dataview";
@import "organisms/modals";
@import "organisms/menu";
@import "organisms/sidebar";

@ -0,0 +1,41 @@
.p-dataview {
.p-paginator-top {
@apply border border-solid rounded-none;
}
.p-paginator-bottom {
@apply border border-solid rounded-none;
}
.p-dataview-header {
@apply bg-support-1 text-gray-90 border border-solid p-4 font-semibold;
}
.p-dataview-content {
@apply text-gray-90;
}
&.p-dataview-list {
.p-dataview-content {
> .p-grid {
> div {
@apply border border-solid;
}
}
}
}
&.p-dataview-grid {
.p-dataview-content {
> .p-grid {
@apply grid grid-cols-1 gap-6
sm:grid-cols-2
lg:grid-cols-3;
}
}
}
.p-dataview-footer {
@apply bg-support-1;
}
}
Loading…
Cancel
Save