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: #e9ecef;
--focus-ring: 0 0 0 0.2rem #ffe69c;
--maskbg: rgba(0, 0, 0, 0.4);
--highlight-bg: #FFF3E0;
--highlight-text-color: #495057;
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: #212529;
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: #FFC107;
background: #FFC107;
@@ -1071,7 +1082,7 @@
.p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider {
background: #ecb100;
}
.p-inputswitch.p-invalid {
.p-inputswitch.p-invalid .p-inputswitch-slider {
border-color: #f44336;
}
@@ -1117,6 +1128,7 @@
color: #f44336;
}
.p-input-icon-left > svg:first-of-type,
.p-input-icon-left > i:first-of-type {
left: 0.5rem;
color: #6c757d;
@@ -1130,6 +1142,7 @@
left: 2rem;
}
.p-input-icon-right > svg:last-of-type,
.p-input-icon-right > i:last-of-type {
right: 0.5rem;
color: #6c757d;
@@ -1484,6 +1497,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: #e74c3c;
}
@@ -2178,6 +2195,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 #ffe69c;
}
.p-speeddial-action {
width: 3rem;
@@ -2691,6 +2722,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;
}
@@ -2704,25 +2739,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;
@@ -3236,6 +3292,7 @@
padding: 0.5rem 0;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
outline: 0 none;
}
.p-orderlist .p-orderlist-list .p-orderlist-item {
padding: 0.5rem 1rem;
@@ -3249,15 +3306,17 @@
background: #e9ecef;
color: #495057;
}
.p-orderlist .p-orderlist-list .p-orderlist-item:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #ffe69c;
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: #495057;
background: #dee2e6;
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: #495057;
background: #FFF3E0;
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight.p-focus {
background: #ebe0ce;
}
.p-orderlist.p-orderlist-striped .p-orderlist-list .p-orderlist-item:nth-child(even) {
background: #e9ecef;
}
@@ -3409,6 +3468,7 @@
padding: 0.5rem 0;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
outline: 0 none;
}
.p-picklist .p-picklist-list .p-picklist-item {
padding: 0.5rem 1rem;
@@ -3422,15 +3482,17 @@
background: #e9ecef;
color: #495057;
}
.p-picklist .p-picklist-list .p-picklist-item:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #ffe69c;
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: #495057;
background: #dee2e6;
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: #495057;
background: #FFF3E0;
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight.p-focus {
background: #ebe0ce;
}
.p-picklist.p-picklist-striped .p-picklist-list .p-picklist-item:nth-child(even) {
background: #e9ecef;
}
@@ -3472,6 +3534,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 #ffe69c;
}
.p-tree .p-tree-container .p-treenode .p-treenode-content {
border-radius: 3px;
@@ -3508,11 +3576,6 @@
.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox .p-indeterminate .p-checkbox-icon {
color: #495057;
}
.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 #ffe69c;
}
.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight {
background: #FFF3E0;
color: #495057;
@@ -3546,6 +3609,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;
@@ -3688,6 +3755,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;
}
@@ -3946,15 +4017,19 @@
border: 1px solid #dee2e6;
background: #ffffff;
color: #495057;
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.5rem 1rem;
border: 1px solid #dee2e6;
background: #ffffff;
color: #495057;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
border-top: 0 none;
}
@@ -4054,6 +4129,7 @@
border: 1px solid #dee2e6;
padding: 1rem;
border-radius: 3px;
gap: 0.5rem;
}
.p-toolbar .p-toolbar-separator {
margin: 0 0.5rem;
@@ -4099,6 +4175,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;
}
@@ -4168,7 +4248,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;
}
@@ -4389,6 +4469,7 @@
border-radius: 0;
}
.p-contextmenu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #495057;
padding: 0.75rem 1rem;
user-select: none;
}
@@ -4442,6 +4523,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);
@@ -4528,6 +4613,7 @@
border-radius: 0;
}
.p-megamenu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #495057;
padding: 0.75rem 1rem;
user-select: none;
}
@@ -4646,6 +4732,7 @@
border-radius: 0;
}
.p-menu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #495057;
padding: 0.75rem 1rem;
user-select: none;
}
@@ -4757,6 +4844,7 @@
border-radius: 0;
}
.p-menubar .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #495057;
padding: 0.75rem 1rem;
user-select: none;
}
@@ -4917,6 +5005,7 @@
transition: box-shadow 0.2s;
}
.p-panelmenu .p-panelmenu-header .p-panelmenu-header-content .p-panelmenu-header-action {
color: #495057;
padding: 1rem;
font-weight: 600;
}
@@ -4969,6 +5058,7 @@
border-radius: 0;
}
.p-panelmenu .p-panelmenu-content .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #495057;
padding: 0.75rem 1rem;
user-select: none;
}
@@ -5166,6 +5256,7 @@
border-radius: 0;
}
.p-tieredmenu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: #495057;
padding: 0.75rem 1rem;
user-select: none;
}
@@ -5219,6 +5310,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 0.5rem;
@@ -5350,6 +5445,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;
@@ -5369,6 +5468,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;
}
@@ -5443,6 +5546,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: #f8f9fa;
@@ -5460,6 +5567,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: #f8f9fa;
@@ -5543,6 +5654,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);
@@ -5571,6 +5686,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: #dee2e6;
@@ -5701,6 +5820,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: #73000c;
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: #73000c;
}
40% {
stroke: #044868;
}
66% {
stroke: #224a23;
}
80%, 90% {
stroke: #6d5100;
}
}
.p-scrolltop {
width: 3rem;
height: 3rem;
@@ -5718,6 +5882,10 @@
font-size: 1.5rem;
color: #f8f9fa;
}
.p-scrolltop .p-scrolltop-icon.p-icon {
width: 1.5rem;
height: 1.5rem;
}
.p-skeleton {
background-color: #e9ecef;
@@ -5755,6 +5923,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;