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: #f4f4f5;
--focus-ring: 0 0 0 1px #6366F1;
--maskbg: rgba(0, 0, 0, 0.4);
--highlight-bg: #EEF2FF;
--highlight-text-color: #312E81;
color-scheme: light;
}
@@ -111,6 +113,11 @@
font-size: 1rem;
}
.p-icon {
width: 1rem;
height: 1rem;
}
.p-link {
font-size: 1rem;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
@@ -681,6 +688,10 @@
color: #ffffff;
font-size: 10px;
}
.p-checkbox .p-checkbox-box .p-checkbox-icon.p-icon {
width: 10px;
height: 10px;
}
.p-checkbox .p-checkbox-box.p-highlight {
border-color: #4F46E5;
background: #4F46E5;
@@ -1106,7 +1117,7 @@
.p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider {
background: #4338CA;
}
.p-inputswitch.p-invalid {
.p-inputswitch.p-invalid .p-inputswitch-slider {
border-color: #f0a9a7;
}
@@ -1152,6 +1163,7 @@
color: #f0a9a7;
}
.p-input-icon-left > svg:first-of-type,
.p-input-icon-left > i:first-of-type {
left: 0.75rem;
color: #71717A;
@@ -1165,6 +1177,7 @@
left: 2.5rem;
}
.p-input-icon-right > svg:last-of-type,
.p-input-icon-right > i:last-of-type {
right: 0.75rem;
color: #71717A;
@@ -1519,6 +1532,10 @@
transition: none;
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: #EF4444;
}
@@ -2213,6 +2230,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 1px #6366F1;
}
.p-speeddial-action {
width: 3rem;
@@ -2726,6 +2757,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;
}
@@ -2739,25 +2774,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: #fcfcfc;
@@ -3271,6 +3327,7 @@
padding: 0.25rem 0;
border-bottom-right-radius: 0.375rem;
border-bottom-left-radius: 0.375rem;
outline: 0 none;
}
.p-orderlist .p-orderlist-list .p-orderlist-item {
padding: 0.75rem 1rem;
@@ -3284,15 +3341,17 @@
background: #f4f4f5;
color: #18181B;
}
.p-orderlist .p-orderlist-list .p-orderlist-item:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #6366F1;
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: #18181B;
background: #e5e7eb;
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: #312E81;
background: #EEF2FF;
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight.p-focus {
background: #E0E7FF;
}
.p-orderlist.p-orderlist-striped .p-orderlist-list .p-orderlist-item:nth-child(even) {
background: #fcfcfc;
}
@@ -3444,6 +3503,7 @@
padding: 0.25rem 0;
border-bottom-right-radius: 0.375rem;
border-bottom-left-radius: 0.375rem;
outline: 0 none;
}
.p-picklist .p-picklist-list .p-picklist-item {
padding: 0.75rem 1rem;
@@ -3457,15 +3517,17 @@
background: #f4f4f5;
color: #18181B;
}
.p-picklist .p-picklist-list .p-picklist-item:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #6366F1;
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: #18181B;
background: #e5e7eb;
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: #312E81;
background: #EEF2FF;
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight.p-focus {
background: #E0E7FF;
}
.p-picklist.p-picklist-striped .p-picklist-list .p-picklist-item:nth-child(even) {
background: #fcfcfc;
}
@@ -3507,6 +3569,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 #6366F1;
}
.p-tree .p-tree-container .p-treenode .p-treenode-content {
border-radius: 0.375rem;
@@ -3543,11 +3611,6 @@
.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox .p-indeterminate .p-checkbox-icon {
color: #3f3f46;
}
.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 #6366F1;
}
.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight {
background: #EEF2FF;
color: #312E81;
@@ -3581,6 +3644,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: 0 0 1px 0;
@@ -3723,6 +3790,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;
}
@@ -3981,15 +4052,19 @@
border: 1px solid #e5e7eb;
background: #ffffff;
color: #3f3f46;
border-top: 0 none;
}
.p-panel .p-panel-content:last-child {
border-bottom-right-radius: 0.375rem;
border-bottom-left-radius: 0.375rem;
border-top: 0 none;
}
.p-panel .p-panel-footer {
padding: 0.75rem 1.25rem;
border: 1px solid #e5e7eb;
background: #ffffff;
color: #3f3f46;
border-bottom-right-radius: 0.375rem;
border-bottom-left-radius: 0.375rem;
border-top: 0 none;
}
@@ -4089,6 +4164,7 @@
border: 1px solid #e5e7eb;
padding: 1.25rem;
border-radius: 0.375rem;
gap: 0.5rem;
}
.p-toolbar .p-toolbar-separator {
margin: 0 0.5rem;
@@ -4134,6 +4210,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;
}
@@ -4203,7 +4283,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;
}
@@ -4424,6 +4504,7 @@
border-radius: 0;
}
.p-contextmenu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #3f3f46;
padding: 0.75rem 1rem;
user-select: none;
}
@@ -4477,6 +4558,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);
@@ -4563,6 +4648,7 @@
border-radius: 0;
}
.p-megamenu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #3f3f46;
padding: 0.75rem 1rem;
user-select: none;
}
@@ -4681,6 +4767,7 @@
border-radius: 0;
}
.p-menu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #3f3f46;
padding: 0.75rem 1rem;
user-select: none;
}
@@ -4792,6 +4879,7 @@
border-radius: 0;
}
.p-menubar .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #3f3f46;
padding: 0.75rem 1rem;
user-select: none;
}
@@ -4952,6 +5040,7 @@
transition: none;
}
.p-panelmenu .p-panelmenu-header .p-panelmenu-header-content .p-panelmenu-header-action {
color: #3f3f46;
padding: 1.25rem;
font-weight: 700;
}
@@ -5004,6 +5093,7 @@
border-radius: 0;
}
.p-panelmenu .p-panelmenu-content .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #3f3f46;
padding: 0.75rem 1rem;
user-select: none;
}
@@ -5201,6 +5291,7 @@
border-radius: 0;
}
.p-tieredmenu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #3f3f46;
padding: 0.75rem 1rem;
user-select: none;
}
@@ -5254,6 +5345,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.75rem 0.75rem;
@@ -5385,6 +5480,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;
@@ -5404,6 +5503,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;
}
@@ -5478,6 +5581,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: #fafafa;
@@ -5495,6 +5602,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(255, 255, 255, 0.1);
color: #fafafa;
@@ -5578,6 +5689,10 @@
color: #f8f9fa;
transition: none;
}
.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);
@@ -5606,6 +5721,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: #e5e7eb;
@@ -5736,6 +5855,51 @@
line-height: 1.5rem;
}
.p-progress-spinner-svg {
animation: p-progress-spinner-rotate 2s linear infinite;
}
.p-progress-spinner-circle {
stroke-dasharray: 89, 200;
stroke-dashoffset: 0;
stroke: #DC2626;
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: #DC2626;
}
40% {
stroke: #2563EB;
}
66% {
stroke: #059669;
}
80%, 90% {
stroke: #D97706;
}
}
.p-scrolltop {
width: 3rem;
height: 3rem;
@@ -5753,6 +5917,10 @@
font-size: 1.5rem;
color: #fafafa;
}
.p-scrolltop .p-scrolltop-icon.p-icon {
width: 1.5rem;
height: 1.5rem;
}
.p-skeleton {
background-color: #f4f4f5;
@@ -5790,6 +5958,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;
@@ -5885,3 +6057,7 @@
.p-datatable .p-datatable-tbody > tr.p-datatable-dragpoint-bottom > td {
box-shadow: inset 0 -2px 0 0 #4F46E5;
}
.p-speeddial-item.p-focus > .p-speeddial-action {
box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #6366F1, 0 1px 2px 0 rgba(0, 0, 0, 0);
}