Update PrimeVue, links to Nuxt

This commit is contained in:
Cagatay Civici
2023-05-06 13:45:56 +03:00
parent 6dd551e5d3
commit 4f74396cde
50 changed files with 8895 additions and 1288 deletions

View File

@@ -42,6 +42,8 @@
--surface-hover:#eaeaea;
--focus-ring: 0 0 0 0.2rem #8dcdff;
--maskbg: rgba(0, 0, 0, 0.4);
--highlight-bg: #007ad9;
--highlight-text-color: #ffffff;
color-scheme: light;
}
@@ -76,6 +78,11 @@
font-size: 1rem;
}
.p-icon {
width: 1rem;
height: 1rem;
}
.p-link {
font-size: 1rem;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
@@ -646,6 +653,10 @@
color: #ffffff;
font-size: 14px;
}
.p-checkbox .p-checkbox-box .p-checkbox-icon.p-icon {
width: 14px;
height: 14px;
}
.p-checkbox .p-checkbox-box.p-highlight {
border-color: #007ad9;
background: #007ad9;
@@ -1075,7 +1086,7 @@
.p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider {
background: #116fbf;
}
.p-inputswitch.p-invalid {
.p-inputswitch.p-invalid .p-inputswitch-slider {
border-color: #a80000;
}
@@ -1121,6 +1132,7 @@
color: #a80000;
}
.p-input-icon-left > svg:first-of-type,
.p-input-icon-left > i:first-of-type {
left: 0.429rem;
color: #848484;
@@ -1134,6 +1146,7 @@
left: 1.858rem;
}
.p-input-icon-right > svg:last-of-type,
.p-input-icon-right > i:last-of-type {
right: 0.429rem;
color: #848484;
@@ -1492,6 +1505,10 @@
transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
font-size: 1.143rem;
}
.p-rating .p-rating-item .p-rating-icon.p-icon {
width: 1.143rem;
height: 1.143rem;
}
.p-rating .p-rating-item .p-rating-icon.p-rating-cancel {
color: #e4018d;
}
@@ -2190,6 +2207,20 @@
.p-speeddial-button.p-button.p-button-icon-only .p-button-icon {
font-size: 1.3rem;
}
.p-speeddial-button.p-button.p-button-icon-only .p-icon {
width: 1.3rem;
height: 1.3rem;
}
.p-speeddial-list {
outline: 0 none;
}
.p-speeddial-item.p-focus > .p-speeddial-action {
outline: 0 none;
outline-offset: 0;
box-shadow: 0 0 0 0.2rem #8dcdff;
}
.p-speeddial-action {
width: 3rem;
@@ -2703,6 +2734,10 @@
.p-datatable .p-datatable-loading-icon {
font-size: 2rem;
}
.p-datatable .p-datatable-loading-icon.p-icon {
width: 2rem;
height: 2rem;
}
.p-datatable.p-datatable-gridlines .p-datatable-header {
border-width: 1px 1px 0 1px;
}
@@ -2716,25 +2751,46 @@
border-width: 0 1px 1px 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-thead > tr > th {
border-width: 1px 1px 1px 1px;
border-width: 1px 0 1px 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-thead > tr > th:last-child {
border-width: 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-tbody > tr > td {
border-width: 1px 0 0 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-tbody > tr > td:last-child {
border-width: 1px 1px 0 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-tbody > tr:last-child > td {
border-width: 1px 0 1px 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-tbody > tr:last-child > td:last-child {
border-width: 1px;
}
.p-datatable.p-datatable-gridlines .p-datatable-tfoot > tr > td {
border-width: 1px;
border-width: 1px 0 1px 1px;
}
.p-datatable.p-datatable-gridlines.p-datatable-scrollable .p-datatable-thead > tr > th + th {
border-left-width: 0;
.p-datatable.p-datatable-gridlines .p-datatable-tfoot > tr > td:last-child {
border-width: 1px 1px 1px 1px;
}
.p-datatable.p-datatable-gridlines.p-datatable-scrollable .p-datatable-tbody > tr > td + td {
border-left-width: 0;
.p-datatable.p-datatable-gridlines .p-datatable-thead + .p-datatable-tfoot > tr > td {
border-width: 0 0 1px 1px;
}
.p-datatable.p-datatable-gridlines.p-datatable-scrollable .p-datatable-tbody > tr + tr > td, .p-datatable.p-datatable-gridlines.p-datatable-scrollable .p-datatable-tbody > tr:first-child > td {
border-top-width: 0;
.p-datatable.p-datatable-gridlines .p-datatable-thead + .p-datatable-tfoot > tr > td:last-child {
border-width: 0 1px 1px 1px;
}
.p-datatable.p-datatable-gridlines.p-datatable-scrollable .p-datatable-tfoot > tr > td + td {
border-left-width: 0;
.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td {
border-width: 0 0 1px 1px;
}
.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td:last-child {
border-width: 0 1px 1px 1px;
}
.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td {
border-width: 0 0 0 1px;
}
.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child {
border-width: 0 1px 0 1px;
}
.p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) {
background: #f9f9f9;
@@ -3248,6 +3304,7 @@
padding: 0;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
outline: 0 none;
}
.p-orderlist .p-orderlist-list .p-orderlist-item {
padding: 0.429rem 0.857rem;
@@ -3261,15 +3318,17 @@
background: #eaeaea;
color: #333333;
}
.p-orderlist .p-orderlist-list .p-orderlist-item:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #8dcdff;
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: #333333;
background: #d6d6d6;
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: #ffffff;
background: #007ad9;
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight.p-focus {
background: #007ad9;
}
.p-orderlist.p-orderlist-striped .p-orderlist-list .p-orderlist-item:nth-child(even) {
background: #f9f9f9;
}
@@ -3421,6 +3480,7 @@
padding: 0;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
outline: 0 none;
}
.p-picklist .p-picklist-list .p-picklist-item {
padding: 0.429rem 0.857rem;
@@ -3434,15 +3494,17 @@
background: #eaeaea;
color: #333333;
}
.p-picklist .p-picklist-list .p-picklist-item:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #8dcdff;
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: #333333;
background: #d6d6d6;
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: #ffffff;
background: #007ad9;
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight.p-focus {
background: #007ad9;
}
.p-picklist.p-picklist-striped .p-picklist-list .p-picklist-item:nth-child(even) {
background: #f9f9f9;
}
@@ -3484,6 +3546,12 @@
}
.p-tree .p-tree-container .p-treenode {
padding: 0.143rem;
outline: 0 none;
}
.p-tree .p-tree-container .p-treenode:focus > .p-treenode-content {
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #8dcdff;
}
.p-tree .p-tree-container .p-treenode .p-treenode-content {
border-radius: 3px;
@@ -3520,11 +3588,6 @@
.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox .p-indeterminate .p-checkbox-icon {
color: #333333;
}
.p-tree .p-tree-container .p-treenode .p-treenode-content:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #8dcdff;
}
.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight {
background: #007ad9;
color: #ffffff;
@@ -3558,6 +3621,10 @@
.p-tree .p-tree-loading-icon {
font-size: 2rem;
}
.p-tree .p-tree-loading-icon.p-icon {
width: 2rem;
height: 2rem;
}
.p-treetable .p-paginator-top {
border-width: 1px 1px 0 1px;
@@ -3700,6 +3767,10 @@
.p-treetable .p-treetable-loading-icon {
font-size: 2rem;
}
.p-treetable .p-treetable-loading-icon.p-icon {
width: 2rem;
height: 2rem;
}
.p-treetable.p-treetable-gridlines .p-datatable-header {
border-width: 1px 1px 0 1px;
}
@@ -3933,15 +4004,19 @@
border: 1px solid #c8c8c8;
background: #ffffff;
color: #333333;
border-top: 0 none;
}
.p-panel .p-panel-content:last-child {
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
border-top: 0 none;
}
.p-panel .p-panel-footer {
padding: 0.571rem 1rem;
border: 1px solid #c8c8c8;
background: #ffffff;
color: #333333;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
border-top: 0 none;
}
@@ -4041,6 +4116,7 @@
border: 1px solid #333333;
padding: 0.857rem 1rem;
border-radius: 3px;
gap: 0.5rem;
}
.p-toolbar .p-toolbar-separator {
margin: 0 0.5rem;
@@ -4086,6 +4162,10 @@
.p-confirm-popup .p-confirm-popup-icon {
font-size: 1.5rem;
}
.p-confirm-popup .p-confirm-popup-icon.p-icon {
width: 1.5rem;
height: 1.5rem;
}
.p-confirm-popup .p-confirm-popup-message {
margin-left: 1rem;
}
@@ -4155,7 +4235,7 @@
.p-dialog.p-confirm-dialog .p-confirm-dialog-icon {
font-size: 2rem;
}
.p-dialog.p-confirm-dialog .p-confirm-dialog-message {
.p-dialog.p-confirm-dialog .p-confirm-dialog-message:not(:first-child) {
margin-left: 1rem;
}
@@ -4376,6 +4456,7 @@
border-radius: 0;
}
.p-contextmenu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #333333;
padding: 0.857rem;
user-select: none;
}
@@ -4429,6 +4510,10 @@
.p-contextmenu .p-submenu-icon {
font-size: 0.875rem;
}
.p-contextmenu .p-submenu-icon.p-icon {
width: 0.875rem;
height: 0.875rem;
}
.p-dock .p-dock-list-container {
background: rgba(255, 255, 255, 0.1);
@@ -4515,6 +4600,7 @@
border-radius: 0;
}
.p-megamenu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #333333;
padding: 0.857rem;
user-select: none;
}
@@ -4633,6 +4719,7 @@
border-radius: 0;
}
.p-menu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #333333;
padding: 0.857rem;
user-select: none;
}
@@ -4744,6 +4831,7 @@
border-radius: 0;
}
.p-menubar .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #333333;
padding: 0.857rem;
user-select: none;
}
@@ -4904,6 +4992,7 @@
transition: background-color 0.2s, box-shadow 0.2s;
}
.p-panelmenu .p-panelmenu-header .p-panelmenu-header-content .p-panelmenu-header-action {
color: #ffffff;
padding: 0.857rem 1rem;
font-weight: 700;
}
@@ -4956,6 +5045,7 @@
border-radius: 0;
}
.p-panelmenu .p-panelmenu-content .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #333333;
padding: 0.857rem;
user-select: none;
}
@@ -5129,6 +5219,7 @@
border-radius: 0;
}
.p-tieredmenu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #333333;
padding: 0.857rem;
user-select: none;
}
@@ -5182,6 +5273,10 @@
.p-tieredmenu .p-submenu-icon {
font-size: 0.875rem;
}
.p-tieredmenu .p-submenu-icon.p-icon {
width: 0.875rem;
height: 0.875rem;
}
.p-inline-message {
padding: 0.5rem;
@@ -5313,6 +5408,10 @@
font-size: 1.5rem;
margin-right: 0.5rem;
}
.p-message .p-icon:not(.p-message-close-icon) {
width: 1.5rem;
height: 1.5rem;
}
.p-toast {
opacity: 0.9;
@@ -5332,6 +5431,10 @@
.p-toast .p-toast-message .p-toast-message-content .p-toast-message-icon {
font-size: 2rem;
}
.p-toast .p-toast-message .p-toast-message-content .p-toast-message-icon.p-icon {
width: 2rem;
height: 2rem;
}
.p-toast .p-toast-message .p-toast-message-content .p-toast-summary {
font-weight: 700;
}
@@ -5406,6 +5509,10 @@
.p-galleria .p-galleria-close .p-galleria-close-icon {
font-size: 2rem;
}
.p-galleria .p-galleria-close .p-icon {
width: 2rem;
height: 2rem;
}
.p-galleria .p-galleria-close:hover {
background: rgba(255, 255, 255, 0.1);
color: #ebedef;
@@ -5423,6 +5530,10 @@
.p-galleria .p-galleria-item-nav .p-galleria-item-next-icon {
font-size: 2rem;
}
.p-galleria .p-galleria-item-nav .p-icon {
width: 2rem;
height: 2rem;
}
.p-galleria .p-galleria-item-nav:not(.p-disabled):hover {
background: rgba(0, 0, 0, 0.3);
color: #ebedef;
@@ -5506,6 +5617,10 @@
color: #f8f9fa;
transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.p-image-preview-indicator .p-icon {
width: 1.5rem;
height: 1.5rem;
}
.p-image-preview-container:hover > .p-image-preview-indicator {
background-color: rgba(0, 0, 0, 0.5);
@@ -5534,6 +5649,10 @@
.p-image-action.p-link i {
font-size: 1.5rem;
}
.p-image-action.p-link .p-icon {
width: 1.5rem;
height: 1.5rem;
}
.p-avatar {
background-color: #c8c8c8;
@@ -5664,6 +5783,51 @@
line-height: 24px;
}
.p-progress-spinner-svg {
animation: p-progress-spinner-rotate 2s linear infinite;
}
.p-progress-spinner-circle {
stroke-dasharray: 89, 200;
stroke-dashoffset: 0;
stroke: #212121;
animation: p-progress-spinner-dash 1.5s ease-in-out infinite, p-progress-spinner-color 6s ease-in-out infinite;
stroke-linecap: round;
}
@keyframes p-progress-spinner-rotate {
100% {
transform: rotate(360deg);
}
}
@keyframes p-progress-spinner-dash {
0% {
stroke-dasharray: 1, 200;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 89, 200;
stroke-dashoffset: -35px;
}
100% {
stroke-dasharray: 89, 200;
stroke-dashoffset: -124px;
}
}
@keyframes p-progress-spinner-color {
100%, 0% {
stroke: #212121;
}
40% {
stroke: #212121;
}
66% {
stroke: #212121;
}
80%, 90% {
stroke: #212121;
}
}
.p-scrolltop {
width: 3rem;
height: 3rem;
@@ -5681,6 +5845,10 @@
font-size: 1.5rem;
color: #f4f4f4;
}
.p-scrolltop .p-scrolltop-icon.p-icon {
width: 1.5rem;
height: 1.5rem;
}
.p-skeleton {
background-color: #eaeaea;
@@ -5718,6 +5886,10 @@
margin-right: 0.25rem;
font-size: 0.75rem;
}
.p-tag .p-tag-icon.p-icon {
width: 0.75rem;
height: 0.75rem;
}
.p-terminal {
background: #ffffff;