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-next {
background: #FFB300;
border: 1px solid #FFB300;
margin: 0.2rem;
color: #212121;
background: transparent;
color: #888888;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #FFA000;
color: #212121;
border-color: #FFA000;
background: #4c4c4c;
color: #888888;
}
.p-carousel .p-carousel-dots-container {
padding: 0.571rem 0.857rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #585858;
width: 2rem;
height: 0.5rem;
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 {
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 {
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
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;
color: #212121;
}
.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-next {
background: #1ea04c;
border: 1px solid #1ea04c;
margin: 0.2rem;
color: #ffffff;
background: transparent;
color: #888888;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #1b9044;
color: #ffffff;
border-color: #1b9044;
background: #4c4c4c;
color: #888888;
}
.p-carousel .p-carousel-dots-container {
padding: 0.571rem 0.857rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #585858;
width: 2rem;
height: 0.5rem;
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 {
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 {
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
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;
color: #ffffff;
}
.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-next {
background: #cc285c;
border: 1px solid #cc285c;
margin: 0.2rem;
color: #ffffff;
background: transparent;
color: #888888;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #b72452;
color: #ffffff;
border-color: #b72452;
background: #4c4c4c;
color: #888888;
}
.p-carousel .p-carousel-dots-container {
padding: 0.571rem 0.857rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #585858;
width: 2rem;
height: 0.5rem;
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 {
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 {
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
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;
color: #ffffff;
}
.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-next {
background: #ffffff;
border: 1px solid #c8c8c8;
margin: 0.2rem;
color: #848484;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #eaeaea;
color: #333333;
border-color: #eaeaea;
color: #848484;
}
.p-carousel .p-carousel-dots-container {
padding: 0.571rem 0.857rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #f4f4f4;
width: 2rem;
height: 0.5rem;
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 {
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 {
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
background: #eaeaea;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #007ad9;
.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #d95f00;
color: #ffffff;
}
.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-next {
background: #ffffff;
border: 1px solid #c8c8c8;
margin: 0.2rem;
color: #848484;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #eaeaea;
color: #333333;
border-color: #eaeaea;
color: #848484;
}
.p-carousel .p-carousel-dots-container {
padding: 0.571rem 0.857rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #f4f4f4;
width: 2rem;
height: 0.5rem;
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 {
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 {
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
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;
color: #ffffff;
}
.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-next {
background: #ffffff;
border: 1px solid #c8c8c8;
margin: 0.2rem;
color: #848484;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #eaeaea;
color: #333333;
border-color: #eaeaea;
color: #848484;
}
.p-carousel .p-carousel-dots-container {
padding: 0.571rem 0.857rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #f4f4f4;
width: 2rem;
height: 0.5rem;
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 {
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 {
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
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;
color: #ffffff;
}
.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-next {
background: #ffffff;
border: 1px solid #c8c8c8;
margin: 0.2rem;
color: #848484;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #eaeaea;
color: #333333;
border-color: #eaeaea;
color: #848484;
}
.p-carousel .p-carousel-dots-container {
padding: 0.571rem 0.857rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #f4f4f4;
width: 2rem;
height: 0.5rem;
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 {
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 {
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
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;
color: #ffffff;
}
.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-next {
background: #7B95A3;
border: 1px solid #7B95A3;
margin: 0.2rem;
color: #ffffff;
background: #ffffff;
color: #a6a6a6;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #6c8999;
color: #ffffff;
border-color: #6c8999;
background: #f4f4f4;
color: #a6a6a6;
}
.p-carousel .p-carousel-dots-container {
padding: 0.571rem 0.857rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #7B95A3;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
background: #b2c1cd;
transition: background-color 0.2s, box-shadow 0.2s;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
background: panelHeaderHoverBg;
}
.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;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item.p-highlight .p-carousel-dot-icon {
background: #7B95A3;
.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #AFD3C8;
color: #385048;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #6c757d;
border-color: #dee2e6;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
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 {
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 {
.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #2196F3;
color: #ffffff;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #6c757d;
border-color: #dee2e6;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
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 {
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 {
.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #00ACC1;
color: #ffffff;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #6c757d;
border-color: #dee2e6;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
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 {
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 {
.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #673AB7;
color: #ffffff;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #6c757d;
border-color: #dee2e6;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
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 {
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 {
.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #4CAF50;
color: #ffffff;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #6c757d;
border-color: #dee2e6;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
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 {
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 {
.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #3F51B5;
color: #ffffff;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #6c757d;
border-color: #dee2e6;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
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 {
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 {
.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #FFC107;
color: #212529;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #6c757d;
border-color: #dee2e6;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
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 {
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 {
.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #9C27B0;
color: #ffffff;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
color: #6c757d;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #6c757d;
border-color: #dee2e6;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #e9ecef;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
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 {
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 {
.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {
background: #009688;
color: #ffffff;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
background: transparent;
color: #aeb6bf;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #ebedef;
border-color: #dee2e6;
background: rgba(255, 255, 255, 0.1);
color: #aeb6bf;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #34495E;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
background: rgba(255, 255, 255, 0.1);
}
.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: #ced4da;
}
.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: #64B5F6;
color: #212529;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
background: transparent;
color: #aeb6bf;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #ebedef;
border-color: #dee2e6;
background: rgba(255, 255, 255, 0.1);
color: #aeb6bf;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #34495E;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
background: rgba(255, 255, 255, 0.1);
}
.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: #ced4da;
}
.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: #4DD0E1;
color: #212529;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
background: transparent;
color: #aeb6bf;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #ebedef;
border-color: #dee2e6;
background: rgba(255, 255, 255, 0.1);
color: #aeb6bf;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #34495E;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
background: rgba(255, 255, 255, 0.1);
}
.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: #ced4da;
}
.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: #9575CD;
color: #ffffff;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
background: transparent;
color: #aeb6bf;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #ebedef;
border-color: #dee2e6;
background: rgba(255, 255, 255, 0.1);
color: #aeb6bf;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #34495E;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
background: rgba(255, 255, 255, 0.1);
}
.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: #ced4da;
}
.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: #81C784;
color: #212529;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
background: transparent;
color: #aeb6bf;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #ebedef;
border-color: #dee2e6;
background: rgba(255, 255, 255, 0.1);
color: #aeb6bf;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #34495E;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
background: rgba(255, 255, 255, 0.1);
}
.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: #ced4da;
}
.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: #7986CB;
color: #ffffff;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
background: transparent;
color: #aeb6bf;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #ebedef;
border-color: #dee2e6;
background: rgba(255, 255, 255, 0.1);
color: #aeb6bf;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #34495E;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
background: rgba(255, 255, 255, 0.1);
}
.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: #ced4da;
}
.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: #FFD54F;
color: #212529;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
background: transparent;
color: #aeb6bf;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #ebedef;
border-color: #dee2e6;
background: rgba(255, 255, 255, 0.1);
color: #aeb6bf;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #34495E;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
background: rgba(255, 255, 255, 0.1);
}
.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: #ced4da;
}
.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: #BA68C8;
color: #ffffff;
}
.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-next {
background: #ffffff;
border: 1px solid #dee2e6;
margin: 0.2rem;
background: transparent;
color: #aeb6bf;
border-radius: 50%;
width: 2rem;
height: 2rem;
transition: background-color 0.2s, box-shadow 0.2s;
width: 2.357rem;
height: 2.357rem;
margin: 0.5rem;
}
.p-carousel .p-carousel-content .p-carousel-prev:not(.p-disabled):hover,
.p-carousel .p-carousel-content .p-carousel-next:not(.p-disabled):hover {
background: #e9ecef;
color: #ebedef;
border-color: #dee2e6;
background: rgba(255, 255, 255, 0.1);
color: #aeb6bf;
}
.p-carousel .p-carousel-dots-container {
padding: 0.5rem 1rem;
.p-carousel .p-carousel-indicators {
padding: 1rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item {
margin: 0;
.p-carousel .p-carousel-indicators .p-carousel-indicator {
margin-right: 0.5rem;
}
.p-carousel .p-carousel-dots-container .p-carousel-dot-item button {
padding: 0.286rem;
.p-carousel .p-carousel-indicators .p-carousel-indicator button {
background-color: #34495E;
width: 2rem;
height: 0.5rem;
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 {
width: 20px;
height: 6px;
background: #dee2e6;
transition: background-color 0.2s, box-shadow 0.2s;
.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {
background: rgba(255, 255, 255, 0.1);
}
.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: #ced4da;
}
.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: #4DB6AC;
color: #212529;
}
.p-datatable .p-paginator-top {

View File

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

View File

@ -13,12 +13,12 @@
<h3>Basic</h3>
</template>
<template #item="slotProps">
<div class="car-details">
<div class="p-grid p-nogutter">
<div class="p-col-12">
<div class="car-item">
<div class="car-content">
<div>
<img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" />
</div>
<div class="p-col-12 car-data">
<div>
<div class="car-title">{{slotProps.data.brand}}</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>
</template>
<template #item="slotProps">
<div class="car-details">
<div class="p-grid p-nogutter">
<div class="p-col-12">
<div class="car-item">
<div class="car-content">
<div>
<img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" />
</div>
<div class="p-col-12 car-data">
<div>
<div class="car-title">{{slotProps.data.brand}}</div>
<div class="car-subtitle">{{slotProps.data.year}} | {{slotProps.data.color}}</div>
@ -58,18 +58,18 @@
</template>
</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">
<template #header>
<h3>Vertical</h3>
</template>
<template #item="slotProps">
<div class="car-details">
<div class="p-grid p-nogutter">
<div class="p-col-12">
<div class="car-item">
<div class="car-content">
<div>
<img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand" />
</div>
<div class="p-col-12 car-data">
<div>
<div class="car-title">{{slotProps.data.brand}}</div>
<div class="car-subtitle">{{slotProps.data.year}} | {{slotProps.data.color}}</div>
@ -131,92 +131,38 @@ export default {
<style lang="scss" scoped>
.p-carousel {
margin-bottom: 1rem;
.p-carousel-header {
h3 {
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;
}
}
}
}
}
}
&:last-child {
margin-bottom: 0rem;
}
}
/* 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;
}
}
}
}
}
.car-item {
.car-content {
border: 1px solid var(--layer-2);
border-radius: 3px;
margin: .3rem;
text-align: center;
padding: 2em 0 2.25em 0;
}
.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>

View File

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