Carousel changes for the new theme infrastructure

pull/345/head
cagataycivici 2020-05-14 16:41:04 +03:00
parent b4fc65b473
commit cb6fbe9b59
27 changed files with 687 additions and 974 deletions

View File

@ -1254,45 +1254,38 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #FFB300; background: transparent;
border: 1px solid #FFB300; color: #888888;
margin: 0.2rem;
color: #212121;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #FFA000; background: #4c4c4c;
color: #212121; color: #888888;
border-color: #FFA000;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.571rem 0.857rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #585858;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px;
height: 6px;
background: #252525;
transition: background-color 0.2s, box-shadow 0.2s;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #4c4c4c; background: #4c4c4c;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #FFB300; background: #FFB300;
color: #212121;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1254,45 +1254,38 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #1ea04c; background: transparent;
border: 1px solid #1ea04c; color: #888888;
margin: 0.2rem;
color: #ffffff;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #1b9044; background: #4c4c4c;
color: #ffffff; color: #888888;
border-color: #1b9044;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.571rem 0.857rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #585858;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px;
height: 6px;
background: #252525;
transition: background-color 0.2s, box-shadow 0.2s;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #4c4c4c; background: #4c4c4c;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #1ea04c; background: #1ea04c;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1254,45 +1254,38 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #cc285c; background: transparent;
border: 1px solid #cc285c; color: #888888;
margin: 0.2rem;
color: #ffffff;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #b72452; background: #4c4c4c;
color: #ffffff; color: #888888;
border-color: #b72452;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.571rem 0.857rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #585858;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px;
height: 6px;
background: #252525;
transition: background-color 0.2s, box-shadow 0.2s;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #4c4c4c; background: #4c4c4c;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #cc285c; background: #cc285c;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1255,44 +1255,37 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: #ffffff;
border: 1px solid #c8c8c8;
margin: 0.2rem;
color: #848484; color: #848484;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #eaeaea; background: #eaeaea;
color: #333333; color: #848484;
border-color: #eaeaea;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.571rem 0.857rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #f4f4f4;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px;
height: 6px;
background: #eaeaea;
transition: background-color 0.2s, box-shadow 0.2s;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #eaeaea; background: #eaeaea;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #007ad9; background: #d95f00;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1255,44 +1255,37 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: #ffffff;
border: 1px solid #c8c8c8;
margin: 0.2rem;
color: #848484; color: #848484;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #eaeaea; background: #eaeaea;
color: #333333; color: #848484;
border-color: #eaeaea;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.571rem 0.857rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #f4f4f4;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px;
height: 6px;
background: #eaeaea;
transition: background-color 0.2s, box-shadow 0.2s;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #eaeaea; background: #eaeaea;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #007ad9; background: #007ad9;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1255,44 +1255,37 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: #ffffff;
border: 1px solid #c8c8c8;
margin: 0.2rem;
color: #848484; color: #848484;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #eaeaea; background: #eaeaea;
color: #333333; color: #848484;
border-color: #eaeaea;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.571rem 0.857rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #f4f4f4;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px;
height: 6px;
background: #eaeaea;
transition: background-color 0.2s, box-shadow 0.2s;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #eaeaea; background: #eaeaea;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #007ad9; background: #007ad9;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1255,44 +1255,37 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: #ffffff;
border: 1px solid #c8c8c8;
margin: 0.2rem;
color: #848484; color: #848484;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #eaeaea; background: #eaeaea;
color: #333333; color: #848484;
border-color: #eaeaea;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.571rem 0.857rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #f4f4f4;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px;
height: 6px;
background: #eaeaea;
transition: background-color 0.2s, box-shadow 0.2s;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #eaeaea; background: #eaeaea;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #41b883; background: #41b883;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1254,45 +1254,38 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #7B95A3; background: #ffffff;
border: 1px solid #7B95A3; color: #a6a6a6;
margin: 0.2rem;
color: #ffffff;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #6c8999; background: #f4f4f4;
color: #ffffff; color: #a6a6a6;
border-color: #6c8999;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.571rem 0.857rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #7B95A3;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px; background: panelHeaderHoverBg;
height: 6px;
background: #b2c1cd;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " "; background: #AFD3C8;
} color: #385048;
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #eaeaea;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #7B95A3;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1255,44 +1255,37 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d; color: #6c757d;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: #e9ecef;
color: #6c757d; color: #6c757d;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px;
height: 6px;
background: #dee2e6; background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #2196F3; background: #2196F3;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1255,44 +1255,37 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d; color: #6c757d;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: #e9ecef;
color: #6c757d; color: #6c757d;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px;
height: 6px;
background: #dee2e6; background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #00ACC1; background: #00ACC1;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1255,44 +1255,37 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d; color: #6c757d;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: #e9ecef;
color: #6c757d; color: #6c757d;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px;
height: 6px;
background: #dee2e6; background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #673AB7; background: #673AB7;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1255,44 +1255,37 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d; color: #6c757d;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: #e9ecef;
color: #6c757d; color: #6c757d;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px;
height: 6px;
background: #dee2e6; background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #4CAF50; background: #4CAF50;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1255,44 +1255,37 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d; color: #6c757d;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: #e9ecef;
color: #6c757d; color: #6c757d;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px;
height: 6px;
background: #dee2e6; background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #3F51B5; background: #3F51B5;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1255,44 +1255,37 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d; color: #6c757d;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: #e9ecef;
color: #6c757d; color: #6c757d;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px;
height: 6px;
background: #dee2e6; background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #FFC107; background: #FFC107;
color: #212529;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1255,44 +1255,37 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d; color: #6c757d;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: #e9ecef;
color: #6c757d; color: #6c757d;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px;
height: 6px;
background: #dee2e6; background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #9C27B0; background: #9C27B0;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1255,44 +1255,37 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d; color: #6c757d;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: #e9ecef;
color: #6c757d; color: #6c757d;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px;
height: 6px;
background: #dee2e6; background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #009688; background: #009688;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1254,45 +1254,38 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: transparent;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #aeb6bf; color: #aeb6bf;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: rgba(255, 255, 255, 0.1);
color: #ebedef; color: #aeb6bf;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #34495E;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px; background: rgba(255, 255, 255, 0.1);
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #64B5F6; background: #64B5F6;
color: #212529;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1254,45 +1254,38 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: transparent;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #aeb6bf; color: #aeb6bf;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: rgba(255, 255, 255, 0.1);
color: #ebedef; color: #aeb6bf;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #34495E;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px; background: rgba(255, 255, 255, 0.1);
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #4DD0E1; background: #4DD0E1;
color: #212529;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1254,45 +1254,38 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: transparent;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #aeb6bf; color: #aeb6bf;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: rgba(255, 255, 255, 0.1);
color: #ebedef; color: #aeb6bf;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #34495E;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px; background: rgba(255, 255, 255, 0.1);
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #9575CD; background: #9575CD;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1254,45 +1254,38 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: transparent;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #aeb6bf; color: #aeb6bf;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: rgba(255, 255, 255, 0.1);
color: #ebedef; color: #aeb6bf;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #34495E;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px; background: rgba(255, 255, 255, 0.1);
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #81C784; background: #81C784;
color: #212529;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1254,45 +1254,38 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: transparent;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #aeb6bf; color: #aeb6bf;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: rgba(255, 255, 255, 0.1);
color: #ebedef; color: #aeb6bf;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #34495E;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px; background: rgba(255, 255, 255, 0.1);
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #7986CB; background: #7986CB;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1254,45 +1254,38 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: transparent;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #aeb6bf; color: #aeb6bf;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: rgba(255, 255, 255, 0.1);
color: #ebedef; color: #aeb6bf;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #34495E;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px; background: rgba(255, 255, 255, 0.1);
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #FFD54F; background: #FFD54F;
color: #212529;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1254,45 +1254,38 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: transparent;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #aeb6bf; color: #aeb6bf;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: rgba(255, 255, 255, 0.1);
color: #ebedef; color: #aeb6bf;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #34495E;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px; background: rgba(255, 255, 255, 0.1);
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #BA68C8; background: #BA68C8;
color: #ffffff;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -1254,45 +1254,38 @@
.p-carousel .p-carousel-content .p-carousel-prev, .p-carousel .p-carousel-content .p-carousel-prev,
.p-carousel .p-carousel-content .p-carousel-next { .p-carousel .p-carousel-content .p-carousel-next {
background: #ffffff; background: transparent;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #aeb6bf; color: #aeb6bf;
border-radius: 50%; border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem; margin: 0.5rem;
height: 2.357rem;
} }
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover, .p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover { .p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef; background: rgba(255, 255, 255, 0.1);
color: #ebedef; color: #aeb6bf;
border-color: #dee2e6;
} }
.p-carousel .p-carousel-dots-container { .p-carousel .p-carousel-indicators {
padding: 0.5rem 1rem; padding: 1rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item { .p-carousel .p-carousel-indicators .p-carousel-indicator {
margin: 0; margin-right: 0.5rem;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button { .p-carousel .p-carousel-indicators .p-carousel-indicator button {
padding: 0.286rem; background-color: #34495E;
width: 2rem;
height: 0.5rem;
transition: background-color 0.2s, box-shadow 0.2s; transition: background-color 0.2s, box-shadow 0.2s;
border-radius: 0;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon { .p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
width: 20px; background: rgba(255, 255, 255, 0.1);
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
} }
.p-carousel .p-carousel-dots-container .p-carousel-dot-item .p-carousel-dot-icon:before { .p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
content: " ";
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item:hover .p-carousel-dot-icon {
background: #ced4da;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #4DB6AC; background: #4DB6AC;
color: #212529;
} }
.p-datatable .p-paginator-top { .p-datatable .p-paginator-top {

View File

@ -5,7 +5,7 @@
</div> </div>
<div :class="contentClasses"> <div :class="contentClasses">
<div :class="containerClasses"> <div :class="containerClasses">
<button :class="['p-carousel-prev p-button', {'p-disabled': backwardIsDisabled}]" :disabled="backwardIsDisabled" @click="navBackward" type="button"> <button :class="['p-carousel-prev p-link', {'p-disabled': backwardIsDisabled}]" :disabled="backwardIsDisabled" @click="navBackward" type="button">
<span :class="['p-carousel-prev-icon pi', {'pi-chevron-left': !isVertical(),'pi-chevron-up': isVertical()}]"></span> <span :class="['p-carousel-prev-icon pi', {'pi-chevron-left': !isVertical(),'pi-chevron-up': isVertical()}]"></span>
</button> </button>
@ -36,15 +36,13 @@
</div> </div>
</div> </div>
<button :class="['p-carousel-next p-button', {'p-disabled': forwardIsDisabled}]" :disabled="forwardIsDisabled" @click="navForward" type="button"> <button :class="['p-carousel-next p-link', {'p-disabled': forwardIsDisabled}]" :disabled="forwardIsDisabled" @click="navForward" type="button">
<span :class="['p-carousel-prev-icon pi', {'pi-chevron-right': !isVertical(),'pi-chevron-down': isVertical()}]"></span> <span :class="['p-carousel-prev-icon pi', {'pi-chevron-right': !isVertical(),'pi-chevron-down': isVertical()}]"></span>
</button> </button>
</div> </div>
<ul :class="dotsContentClasses"> <ul :class="indicatorsContentClasses">
<li v-for="(totalDot, i) of totalDots" :key="'p-carousel-dot-' + i" :class="['p-carousel-dot-item', {'p-highlight': d_page === i}]"> <li v-for="(indicator, i) of totalIndicators" :key="'p-carousel-indicator-' + i" :class="['p-carousel-indicator', {'p-highlight': d_page === i}]">
<button class="p-link" @click="onDotClick($event, i)" type="button"> <button class="p-link" @click="onIndicatorClick($event, i)" type="button" />
<span :class="['p-carousel-dot-icon pi', {'pi-circle-on': d_page === i, 'pi-circle-off': !(d_page === i)}]"></span>
</button>
</li> </li>
</ul> </ul>
</div> </div>
@ -84,7 +82,7 @@ export default {
}, },
contentClass: String, contentClass: String,
containerClass: String, containerClass: String,
dotsContentClass: String, indicatorsContentClass: String,
circular: { circular: {
type: Boolean, type: Boolean,
default: false default: false
@ -155,15 +153,15 @@ export default {
page = Math.abs(Math.floor(originalShiftedItems / this.d_numScroll)); page = Math.abs(Math.floor(originalShiftedItems / this.d_numScroll));
} }
if (isCircular && this.d_page === (this.totalDots - 1) && dir === -1) { if (isCircular && this.d_page === (this.totalIndicators - 1) && dir === -1) {
totalShiftedItems = -1 * (this.value.length + this.d_numVisible); totalShiftedItems = -1 * (this.value.length + this.d_numVisible);
page = 0; page = 0;
} }
else if (isCircular && this.d_page === 0 && dir === 1) { else if (isCircular && this.d_page === 0 && dir === 1) {
totalShiftedItems = 0; totalShiftedItems = 0;
page = (this.totalDots - 1); page = (this.totalIndicators - 1);
} }
else if (page === (this.totalDots - 1) && this.remainingItems > 0) { else if (page === (this.totalIndicators - 1) && this.remainingItems > 0) {
totalShiftedItems += ((this.remainingItems * -1) - (this.d_numScroll * dir)); totalShiftedItems += ((this.remainingItems * -1) - (this.d_numScroll * dir));
this.isRemainingItemsAdded = true; this.isRemainingItemsAdded = true;
} }
@ -228,7 +226,7 @@ export default {
} }
}, },
navForward(e,index){ navForward(e,index){
if (this.d_circular || this.d_page < (this.totalDots - 1)) { if (this.d_circular || this.d_page < (this.totalIndicators - 1)) {
this.step(-1, index); this.step(-1, index);
} }
@ -238,7 +236,7 @@ export default {
e.preventDefault(); e.preventDefault();
} }
}, },
onDotClick(e, index) { onIndicatorClick(e, index) {
let page = this.d_page; let page = this.d_page;
if (index > page) { if (index > page) {
@ -253,7 +251,7 @@ export default {
DomHandler.addClass(this.$refs.itemsContainer, 'p-items-hidden'); DomHandler.addClass(this.$refs.itemsContainer, 'p-items-hidden');
this.$refs.itemsContainer.style.transition = ''; this.$refs.itemsContainer.style.transition = '';
if ((this.d_page === 0 || this.d_page === (this.totalDots - 1)) && this.isCircular()) { if ((this.d_page === 0 || this.d_page === (this.totalIndicators - 1)) && this.isCircular()) {
this.$refs.itemsContainer.style.transform = this.isVertical() ? `translate3d(0, ${this.totalShiftedItems * (100/ this.d_numVisible)}%, 0)` : `translate3d(${this.totalShiftedItems * (100/ this.d_numVisible)}%, 0, 0)`; this.$refs.itemsContainer.style.transform = this.isVertical() ? `translate3d(0, ${this.totalShiftedItems * (100/ this.d_numVisible)}%, 0)` : `translate3d(${this.totalShiftedItems * (100/ this.d_numVisible)}%, 0, 0)`;
} }
} }
@ -308,7 +306,7 @@ export default {
}, },
startAutoplay() { startAutoplay() {
this.interval = setInterval(() => { this.interval = setInterval(() => {
if(this.d_page === (this.totalDots - 1)) { if(this.d_page === (this.totalIndicators - 1)) {
this.step(-1, 0); this.step(-1, 0);
} }
else { else {
@ -407,8 +405,8 @@ export default {
this.remainingItems = (this.value.length - this.d_numVisible) % this.d_numScroll; this.remainingItems = (this.value.length - this.d_numVisible) % this.d_numScroll;
let page = this.d_page; let page = this.d_page;
if (this.totalDots !== 0 && page >= this.totalDots) { if (this.totalIndicators !== 0 && page >= this.totalIndicators) {
page = this.totalDots - 1; page = this.totalIndicators - 1;
this.$emit('update:page', page); this.$emit('update:page', page);
this.d_page = page; this.d_page = page;
@ -421,7 +419,7 @@ export default {
totalShiftedItems -= this.d_numVisible; totalShiftedItems -= this.d_numVisible;
} }
if (page === (this.totalDots - 1) && this.remainingItems > 0) { if (page === (this.totalIndicators - 1) && this.remainingItems > 0) {
totalShiftedItems += (-1 * this.remainingItems) + this.d_numScroll; totalShiftedItems += (-1 * this.remainingItems) + this.d_numScroll;
this.isRemainingItemsAdded = true; this.isRemainingItemsAdded = true;
} }
@ -474,14 +472,14 @@ export default {
} }
}, },
computed: { computed: {
totalDots() { totalIndicators() {
return this.value ? Math.ceil((this.value.length - this.d_numVisible) / this.d_numScroll) + 1 : 0; return this.value ? Math.ceil((this.value.length - this.d_numVisible) / this.d_numScroll) + 1 : 0;
}, },
backwardIsDisabled() { backwardIsDisabled() {
return (this.value && (!this.circular || this.value.length < this.d_numVisible) && this.d_page === 0); return (this.value && (!this.circular || this.value.length < this.d_numVisible) && this.d_page === 0);
}, },
forwardIsDisabled() { forwardIsDisabled() {
return (this.value && (!this.circular || this.value.length < this.d_numVisible) && (this.d_page === (this.totalDots - 1) || this.totalDots === 0)); return (this.value && (!this.circular || this.value.length < this.d_numVisible) && (this.d_page === (this.totalIndicators - 1) || this.totalIndicators === 0));
}, },
containerClasses() { containerClasses() {
return ['p-carousel-container', this.containerClass]; return ['p-carousel-container', this.containerClass];
@ -489,8 +487,8 @@ export default {
contentClasses() { contentClasses() {
return ['p-carousel-content ', this.contentClass]; return ['p-carousel-content ', this.contentClass];
}, },
dotsContentClasses() { indicatorsContentClasses() {
return ['p-carousel-dots-container p-reset', this.dotsContentClass]; return ['p-carousel-indicators p-reset', this.indicatorsContentClass];
}, },
}, },
name: "Carousel" name: "Carousel"
@ -533,15 +531,17 @@ export default {
flex-direction: row; flex-direction: row;
} }
.p-carousel-dots-container { .p-carousel-indicators {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: center;
flex-wrap: wrap; flex-wrap: wrap;
} }
.p-carousel-dot-item > button { .p-carousel-indicator > button {
display: inline-flex; display: flex;
align-items: center;
justify-content: center;
} }
/* Vertical */ /* Vertical */

View File

@ -13,12 +13,12 @@
<h3>Basic</h3> <h3>Basic</h3>
</template> </template>
<template #item="slotProps"> <template #item="slotProps">
<div class="car-details"> <div class="car-item">
<div class="p-grid p-nogutter"> <div class="car-content">
<div class="p-col-12"> <div>
<img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" /> <img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" />
</div> </div>
<div class="p-col-12 car-data"> <div>
<div class="car-title">{{slotProps.data.brand}}</div> <div class="car-title">{{slotProps.data.brand}}</div>
<div class="car-subtitle">{{slotProps.data.year}} | {{slotProps.data.color}}</div> <div class="car-subtitle">{{slotProps.data.year}} | {{slotProps.data.color}}</div>
@ -38,12 +38,12 @@
<h3>Circular, AutoPlay, 3 Items per Page and Scroll by 1</h3> <h3>Circular, AutoPlay, 3 Items per Page and Scroll by 1</h3>
</template> </template>
<template #item="slotProps"> <template #item="slotProps">
<div class="car-details"> <div class="car-item">
<div class="p-grid p-nogutter"> <div class="car-content">
<div class="p-col-12"> <div>
<img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" /> <img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" />
</div> </div>
<div class="p-col-12 car-data"> <div>
<div class="car-title">{{slotProps.data.brand}}</div> <div class="car-title">{{slotProps.data.brand}}</div>
<div class="car-subtitle">{{slotProps.data.year}} | {{slotProps.data.color}}</div> <div class="car-subtitle">{{slotProps.data.year}} | {{slotProps.data.color}}</div>
@ -58,18 +58,18 @@
</template> </template>
</Carousel> </Carousel>
<Carousel :value="cars" :numVisible="1" :numScroll="1" orientation="vertical" verticalViewPortHeight="330px" <Carousel :value="cars" :numVisible="1" :numScroll="1" orientation="vertical" verticalViewPortHeight="325px"
style="max-width: 400px; margin-top: 2em"> style="max-width: 400px; margin-top: 2em">
<template #header> <template #header>
<h3>Vertical</h3> <h3>Vertical</h3>
</template> </template>
<template #item="slotProps"> <template #item="slotProps">
<div class="car-details"> <div class="car-item">
<div class="p-grid p-nogutter"> <div class="car-content">
<div class="p-col-12"> <div>
<img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" /> <img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" />
</div> </div>
<div class="p-col-12 car-data"> <div>
<div class="car-title">{{slotProps.data.brand}}</div> <div class="car-title">{{slotProps.data.brand}}</div>
<div class="car-subtitle">{{slotProps.data.year}} | {{slotProps.data.color}}</div> <div class="car-subtitle">{{slotProps.data.year}} | {{slotProps.data.color}}</div>
@ -131,92 +131,38 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.p-carousel { .p-carousel {
margin-bottom: 1rem;
.p-carousel-header { &:last-child {
h3 { margin-bottom: 0rem;
font-weight: 500; }
font-size: 18px;
}
}
.p-carousel-content {
.p-carousel-item {
.car-details {
> .p-grid {
border: 1px solid #dee2e6;
border-radius: 3px;
margin: .3rem;
text-align: center;
padding: 2em 0 2.25em 0;
}
}
.car-data {
.car-title {
font-weight: 600;
font-size: 20px;
margin-top: 24px;
}
.car-subtitle {
margin: .25em 0 2em 0;
}
button {
margin-left: .5rem;
&:first-child {
margin-left: 0;
}
}
}
}
}
&.custom-carousel {
/deep/ .p-carousel-dot-icon {
width: 16px !important;
height: 16px !important;
border-radius: 50%;
}
}
&.p-carousel-horizontal {
.p-carousel-content {
.p-carousel-item {
&.p-carousel-item-start {
.car-details {
> .p-grid {
margin-left: .6rem;
}
}
}
&.p-carousel-item-end {
.car-details {
> .p-grid {
margin-right: .6rem;
}
}
}
}
}
}
} }
/* Dark Theme such as luna-amber, luna-blue, luna-green and luna-pink */ .car-item {
.dark-theme { .car-content {
.p-carousel { border: 1px solid var(--layer-2);
.p-carousel-content { border-radius: 3px;
.p-carousel-item { margin: .3rem;
.car-details { text-align: center;
> .p-grid { padding: 2em 0 2.25em 0;
border: 1px solid #191919; }
background-color: #323232;
} .car-title {
} font-weight: 600;
} font-size: 20px;
} margin-top: 24px;
} }
.car-subtitle {
margin: .25em 0 2em 0;
}
button {
margin-left: .5rem;
&:first-child {
margin-left: 0;
}
}
} }
</style> </style>

View File

@ -35,23 +35,23 @@ import Carousel from 'primevue/carousel';
&lt;h2&gt;Basic&lt;/h2&gt; &lt;h2&gt;Basic&lt;/h2&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #item="slotProps"&gt; &lt;template #item="slotProps"&gt;
&lt;div class="car-details"&gt; &lt;div class="car-item"&gt;
&lt;div class="p-grid p-nogutter"&gt; &lt;div class="car-content"&gt;
&lt;div class="p-col-12"&gt; &lt;div&gt;
&lt;img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" /&gt; &lt;img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class="p-col-12 car-data"&gt; &lt;div&gt;
&lt;div class="car-title"&gt;{{slotProps.data.brand}}&lt;/div&gt; &lt;div class="car-title"&gt;{{slotProps.data.brand}}&lt;/div&gt;
&lt;div class="car-subtitle"&gt;{{slotProps.data.year}} | {{slotProps.data.color}}&lt;/div&gt; &lt;div class="car-subtitle"&gt;{{slotProps.data.year}} | {{slotProps.data.color}}&lt;/div&gt;
&lt;div class="car-buttons"&gt; &lt;div class="car-buttons"&gt;
&lt;Button icon="pi pi-search" class="p-button-secondary" /&gt; &lt;Button icon="pi pi-search" class="p-button-secondary" /&gt;
&lt;Button icon="pi pi-star" class="p-button-secondary" /&gt; &lt;Button icon="pi pi-star" class="p-button-secondary" /&gt;
&lt;Button icon="pi pi-cog" class="p-button-secondary" /&gt; &lt;Button icon="pi pi-cog" class="p-button-secondary" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Carousel&gt; &lt;/Carousel&gt;
</template> </template>
@ -124,86 +124,86 @@ data() {
<div class="doc-tablewrapper"> <div class="doc-tablewrapper">
<table class="doc-table"> <table class="doc-table">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>
<th>Type</th> <th>Type</th>
<th>Default</th> <th>Default</th>
<th>Description</th> <th>Description</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>value</td> <td>value</td>
<td>array</td> <td>array</td>
<td>null</td> <td>null</td>
<td>An array of objects to display.</td> <td>An array of objects to display.</td>
</tr> </tr>
<tr> <tr>
<td>page</td> <td>page</td>
<td>number</td> <td>number</td>
<td>null</td> <td>null</td>
<td>Index of the first item.</td> <td>Index of the first item.</td>
</tr> </tr>
<tr> <tr>
<td>circular</td> <td>circular</td>
<td>boolean</td> <td>boolean</td>
<td>false</td> <td>false</td>
<td>Defines if scrolling would be infinite.</td> <td>Defines if scrolling would be infinite.</td>
</tr> </tr>
<tr> <tr>
<td>autoplayInterval</td> <td>autoplayInterval</td>
<td>number</td> <td>number</td>
<td>null</td> <td>null</td>
<td>Time in milliseconds to scroll items automatically.</td> <td>Time in milliseconds to scroll items automatically.</td>
</tr> </tr>
<tr> <tr>
<td>numVisible</td> <td>numVisible</td>
<td>number</td> <td>number</td>
<td>1</td> <td>1</td>
<td>Number of items per page.</td> <td>Number of items per page.</td>
</tr> </tr>
<tr> <tr>
<td>numScroll</td> <td>numScroll</td>
<td>number</td> <td>number</td>
<td>1</td> <td>1</td>
<td>Number of items to scroll.</td> <td>Number of items to scroll.</td>
</tr> </tr>
<tr> <tr>
<td>responsiveOptions</td> <td>responsiveOptions</td>
<td>any</td> <td>any</td>
<td>null</td> <td>null</td>
<td>An array of options for responsive design.</td> <td>An array of options for responsive design.</td>
</tr> </tr>
<tr> <tr>
<td>orientation</td> <td>orientation</td>
<td>string</td> <td>string</td>
<td>horizontal</td> <td>horizontal</td>
<td>Specifies the layout of the component, valid values are "horizontal" and "vertical".</td> <td>Specifies the layout of the component, valid values are "horizontal" and "vertical".</td>
</tr> </tr>
<tr> <tr>
<td>verticalViewPortHeight</td> <td>verticalViewPortHeight</td>
<td>string</td> <td>string</td>
<td>300px</td> <td>300px</td>
<td>Height of the viewport in vertical layout.</td> <td>Height of the viewport in vertical layout.</td>
</tr> </tr>
<tr> <tr>
<td>contentClass</td> <td>contentClass</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Style class of main content.</td> <td>Style class of main content.</td>
</tr> </tr>
<tr> <tr>
<td>containerClass</td> <td>containerClass</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Style class of the viewport container.</td> <td>Style class of the viewport container.</td>
</tr> </tr>
<tr> <tr>
<td>dotsContainerClass</td> <td>indicatorsContentClass</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Style class of the paginator items.</td> <td>Style class of the indicator items.</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
@ -213,48 +213,44 @@ data() {
<div class="doc-tablewrapper"> <div class="doc-tablewrapper">
<table class="doc-table"> <table class="doc-table">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>
<th>Element</th> <th>Element</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>p-carousel</td> <td>p-carousel</td>
<td>Container element.</td> <td>Container element.</td>
</tr> </tr>
<tr> <tr>
<td>p-carousel-header</td> <td>p-carousel-header</td>
<td>Header section.</td> <td>Header section.</td>
</tr> </tr>
<tr> <tr>
<td>p-carousel-footer</td> <td>p-carousel-footer</td>
<td>Footer section.</td> <td>Footer section.</td>
</tr> </tr>
<tr> <tr>
<td>p-carousel-content</td> <td>p-carousel-content</td>
<td>Main content element. It contains the container of the viewport.</td> <td>Main content element. It contains the container of the viewport.</td>
</tr> </tr>
<tr> <tr>
<td>p-carousel-container</td> <td>p-carousel-container</td>
<td>Container of the viewport. It contains navigation buttons and viewport.</td> <td>Container of the viewport. It contains navigation buttons and viewport.</td>
</tr> </tr>
<tr> <tr>
<td>p-carousel-items-content</td> <td>p-carousel-items-content</td>
<td>Viewport.</td> <td>Viewport.</td>
</tr> </tr>
<tr> <tr>
<td>p-carousel-dots-container</td> <td>p-carousel-indicators</td>
<td>Container of the paginator.</td> <td>Container of the indicators.</td>
</tr> </tr>
<tr> <tr>
<td>p-carousel-dot-item</td> <td>p-carousel-indicator</td>
<td>Paginator element.</td> <td>Indicator element.</td>
</tr> </tr>
<tr>
<td>p-carousel-dot-icon</td>
<td>Paginator element icon.</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
@ -274,23 +270,23 @@ data() {
&lt;h2&gt;Basic&lt;/h2&gt; &lt;h2&gt;Basic&lt;/h2&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #item="slotProps"&gt; &lt;template #item="slotProps"&gt;
&lt;div class="car-details"&gt; &lt;div class="car-item"&gt;
&lt;div class="p-grid p-nogutter"&gt; &lt;div class="car-content"&gt;
&lt;div class="p-col-12"&gt; &lt;div&gt;
&lt;img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" /&gt; &lt;img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class="p-col-12 car-data"&gt; &lt;div&gt;
&lt;div class="car-title"&gt;{{slotProps.data.brand}}&lt;/div&gt; &lt;div class="car-title"&gt;{{slotProps.data.brand}}&lt;/div&gt;
&lt;div class="car-subtitle"&gt;{{slotProps.data.year}} | {{slotProps.data.color}}&lt;/div&gt; &lt;div class="car-subtitle"&gt;{{slotProps.data.year}} | {{slotProps.data.color}}&lt;/div&gt;
&lt;div class="car-buttons"&gt; &lt;div class="car-buttons"&gt;
&lt;Button icon="pi pi-search" class="p-button-secondary" /&gt; &lt;Button icon="pi pi-search" class="p-button-secondary" /&gt;
&lt;Button icon="pi pi-star" class="p-button-secondary" /&gt; &lt;Button icon="pi pi-star" class="p-button-secondary" /&gt;
&lt;Button icon="pi pi-cog" class="p-button-secondary" /&gt; &lt;Button icon="pi pi-cog" class="p-button-secondary" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Carousel&gt; &lt;/Carousel&gt;
@ -299,23 +295,23 @@ data() {
&lt;h2&gt;Circular, AutoPlay, 3 Items per Page and Scroll by 1&lt;/h2&gt; &lt;h2&gt;Circular, AutoPlay, 3 Items per Page and Scroll by 1&lt;/h2&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #item="slotProps"&gt; &lt;template #item="slotProps"&gt;
&lt;div class="car-details"&gt; &lt;div class="car-item"&gt;
&lt;div class="p-grid p-nogutter"&gt; &lt;div class="car-content"&gt;
&lt;div class="p-col-12"&gt; &lt;div&gt;
&lt;img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" /&gt; &lt;img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class="p-col-12 car-data"&gt; &lt;div&gt;
&lt;div class="car-title"&gt;{{slotProps.data.brand}}&lt;/div&gt; &lt;div class="car-title"&gt;{{slotProps.data.brand}}&lt;/div&gt;
&lt;div class="car-subtitle"&gt;{{slotProps.data.year}} | {{slotProps.data.color}}&lt;/div&gt; &lt;div class="car-subtitle"&gt;{{slotProps.data.year}} | {{slotProps.data.color}}&lt;/div&gt;
&lt;div class="car-buttons"&gt; &lt;div class="car-buttons"&gt;
&lt;Button icon="pi pi-search" class="p-button-secondary" /&gt; &lt;Button icon="pi pi-search" class="p-button-secondary" /&gt;
&lt;Button icon="pi pi-star" class="p-button-secondary" /&gt; &lt;Button icon="pi pi-star" class="p-button-secondary" /&gt;
&lt;Button icon="pi pi-cog" class="p-button-secondary" /&gt; &lt;Button icon="pi pi-cog" class="p-button-secondary" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Carousel&gt; &lt;/Carousel&gt;
@ -325,23 +321,23 @@ data() {
&lt;h2&gt;Vertical&lt;/h2&gt; &lt;h2&gt;Vertical&lt;/h2&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;template #item="slotProps"&gt; &lt;template #item="slotProps"&gt;
&lt;div class="car-details"&gt; &lt;div class="car-item"&gt;
&lt;div class="p-grid p-nogutter"&gt; &lt;div class="car-content"&gt;
&lt;div class="p-col-12"&gt; &lt;div&gt;
&lt;img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" /&gt; &lt;img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class="p-col-12 car-data"&gt; &lt;div&gt;
&lt;div class="car-title"&gt;{{slotProps.data.brand}}&lt;/div&gt; &lt;div class="car-title"&gt;{{slotProps.data.brand}}&lt;/div&gt;
&lt;div class="car-subtitle"&gt;{{slotProps.data.year}} | {{slotProps.data.color}}&lt;/div&gt; &lt;div class="car-subtitle"&gt;{{slotProps.data.year}} | {{slotProps.data.color}}&lt;/div&gt;
&lt;div class="car-buttons"&gt; &lt;div class="car-buttons"&gt;
&lt;Button icon="pi pi-search" class="p-button-secondary" /&gt; &lt;Button icon="pi pi-search" class="p-button-secondary" /&gt;
&lt;Button icon="pi pi-star" class="p-button-secondary" /&gt; &lt;Button icon="pi pi-star" class="p-button-secondary" /&gt;
&lt;Button icon="pi pi-cog" class="p-button-secondary" /&gt; &lt;Button icon="pi pi-cog" class="p-button-secondary" /&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/template&gt; &lt;/template&gt;
&lt;/Carousel&gt; &lt;/Carousel&gt;
</template> </template>
@ -383,93 +379,32 @@ export default {
</CodeHighlight> </CodeHighlight>
<CodeHighlight lang="css"> <CodeHighlight lang="css">
.p-carousel { .car-item {
.p-carousel-header { .car-content {
h3 { border: 1px solid var(--layer-2);
font-weight: 500; border-radius: 3px;
font-size: 18px; margin: .3rem;
} text-align: center;
} padding: 2em 0 2.25em 0;
}
.p-carousel-content { .car-title {
.p-carousel-item { font-weight: 600;
.car-details { font-size: 20px;
> .p-grid { margin-top: 24px;
border: 1px solid #dee2e6; }
border-radius: 3px;
margin: .3rem;
text-align: center;
padding: 2em 0 2.25em 0;
}
}
.car-data { .car-subtitle {
.car-title { margin: .25em 0 2em 0;
font-weight: 600; }
font-size: 20px;
margin-top: 24px;
}
.car-subtitle { button {
margin: .25em 0 2em 0; margin-left: .5rem;
}
button { &:first-child {
margin-left: .5rem; margin-left: 0;
}
&amp;:first-child { }
margin-left: 0;
}
}
}
}
}
&amp;.custom-carousel {
.p-carousel-dot-icon {
width: 16px !important;
height: 16px !important;
border-radius: 50%;
}
}
&amp;.p-carousel-horizontal {
.p-carousel-content {
.p-carousel-item {
&amp;.p-carousel-item-start {
.car-details {
> .p-grid {
margin-left: .6rem;
}
}
}
&amp;.p-carousel-item-end {
.car-details {
> .p-grid {
margin-right: .6rem;
}
}
}
}
}
}
}
/* Dark Theme such as luna-amber, luna-blue, luna-green and luna-pink */
.dark-theme {
.p-carousel {
.p-carousel-content {
.p-carousel-item {
.car-details {
> .p-grid {
border: 1px solid #191919;
background-color: #323232;
}
}
}
}
}
} }
</CodeHighlight> </CodeHighlight>
</TabPanel> </TabPanel>