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:rgba(255,255,255,.04);
--focus-ring: 0 0 0 1px #e3f3fe;
--maskbg: rgba(0, 0, 0, 0.4);
--highlight-bg: #8dd0ff;
--highlight-text-color: #151515;
color-scheme: dark;
}
@@ -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: #151515;
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: #8dd0ff;
background: #8dd0ff;
@@ -1075,7 +1086,7 @@
.p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider {
background: #8dd0ff;
}
.p-inputswitch.p-invalid {
.p-inputswitch.p-invalid .p-inputswitch-slider {
border-color: #f19ea6;
}
@@ -1121,6 +1132,7 @@
color: #f19ea6;
}
.p-input-icon-left > svg:first-of-type,
.p-input-icon-left > i:first-of-type {
left: 0.75rem;
color: rgba(255, 255, 255, 0.6);
@@ -1134,6 +1146,7 @@
left: 2.5rem;
}
.p-input-icon-right > svg:last-of-type,
.p-input-icon-right > i:last-of-type {
right: 0.75rem;
color: rgba(255, 255, 255, 0.6);
@@ -1492,6 +1505,10 @@
transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
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: #f19ea6;
}
@@ -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 1px #e3f3fe;
}
.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 2px 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: #2f3641;
@@ -3248,6 +3304,7 @@
padding: 0.5rem 0;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
outline: 0 none;
}
.p-orderlist .p-orderlist-list .p-orderlist-item {
padding: 0.5rem 1.5rem;
@@ -3261,15 +3318,17 @@
background: rgba(255, 255, 255, 0.04);
color: rgba(255, 255, 255, 0.87);
}
.p-orderlist .p-orderlist-list .p-orderlist-item:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #e3f3fe;
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.12);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: #151515;
background: #8dd0ff;
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight.p-focus {
background: #64bfff;
}
.p-orderlist.p-orderlist-striped .p-orderlist-list .p-orderlist-item:nth-child(even) {
background: rgba(255, 255, 255, 0.02);
}
@@ -3421,6 +3480,7 @@
padding: 0.5rem 0;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
outline: 0 none;
}
.p-picklist .p-picklist-list .p-picklist-item {
padding: 0.5rem 1.5rem;
@@ -3434,15 +3494,17 @@
background: rgba(255, 255, 255, 0.04);
color: rgba(255, 255, 255, 0.87);
}
.p-picklist .p-picklist-list .p-picklist-item:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #e3f3fe;
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.12);
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: #151515;
background: #8dd0ff;
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight.p-focus {
background: #64bfff;
}
.p-picklist.p-picklist-striped .p-picklist-list .p-picklist-item:nth-child(even) {
background: rgba(255, 255, 255, 0.02);
}
@@ -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 #e3f3fe;
}
.p-tree .p-tree-container .p-treenode .p-treenode-content {
border-radius: 4px;
@@ -3520,11 +3588,6 @@
.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox .p-indeterminate .p-checkbox-icon {
color: rgba(255, 255, 255, 0.87);
}
.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 #e3f3fe;
}
.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight {
background: #8dd0ff;
color: #151515;
@@ -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: 0;
@@ -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;
}
@@ -3958,15 +4029,19 @@
border: 1px solid #3f4b5b;
background: #2a323d;
color: rgba(255, 255, 255, 0.87);
border-top: 0 none;
}
.p-panel .p-panel-content:last-child {
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
border-top: 0 none;
}
.p-panel .p-panel-footer {
padding: 0.5rem 1.25rem;
border: 1px solid #3f4b5b;
background: #2a323d;
color: rgba(255, 255, 255, 0.87);
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
border-top: 0 none;
}
@@ -4066,6 +4141,7 @@
border: 1px solid #3f4b5b;
padding: 1rem 1.25rem;
border-radius: 4px;
gap: 0.5rem;
}
.p-toolbar .p-toolbar-separator {
margin: 0 0.5rem;
@@ -4111,6 +4187,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;
}
@@ -4180,7 +4260,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;
}
@@ -4401,6 +4481,7 @@
border-radius: 0;
}
.p-contextmenu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: rgba(255, 255, 255, 0.87);
padding: 0.75rem 1rem;
user-select: none;
}
@@ -4454,6 +4535,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);
@@ -4540,6 +4625,7 @@
border-radius: 0;
}
.p-megamenu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: rgba(255, 255, 255, 0.87);
padding: 0.75rem 1rem;
user-select: none;
}
@@ -4658,6 +4744,7 @@
border-radius: 0;
}
.p-menu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: rgba(255, 255, 255, 0.87);
padding: 0.75rem 1rem;
user-select: none;
}
@@ -4769,6 +4856,7 @@
border-radius: 0;
}
.p-menubar .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: rgba(255, 255, 255, 0.87);
padding: 0.75rem 1rem;
user-select: none;
}
@@ -4929,6 +5017,7 @@
transition: box-shadow 0.15s;
}
.p-panelmenu .p-panelmenu-header .p-panelmenu-header-content .p-panelmenu-header-action {
color: rgba(255, 255, 255, 0.87);
padding: 1rem 1.25rem;
font-weight: 600;
}
@@ -4981,6 +5070,7 @@
border-radius: 0;
}
.p-panelmenu .p-panelmenu-content .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: rgba(255, 255, 255, 0.87);
padding: 0.75rem 1rem;
user-select: none;
}
@@ -5178,6 +5268,7 @@
border-radius: 0;
}
.p-tieredmenu .p-menuitem > .p-menuitem-content .p-menuitem-link {
color: rgba(255, 255, 255, 0.87);
padding: 0.75rem 1rem;
user-select: none;
}
@@ -5231,6 +5322,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.75rem;
@@ -5362,6 +5457,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: 1;
@@ -5381,6 +5480,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;
}
@@ -5455,6 +5558,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: rgba(255, 255, 255, 0.87);
@@ -5472,6 +5579,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: rgba(255, 255, 255, 0.6);
@@ -5555,6 +5666,10 @@
color: #f8f9fa;
transition: color 0.15s, box-shadow 0.15s;
}
.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);
@@ -5583,6 +5698,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: #3f4b5b;
@@ -5713,6 +5832,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: #721c24;
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: #721c24;
}
40% {
stroke: #004085;
}
66% {
stroke: #155724;
}
80%, 90% {
stroke: #856404;
}
}
.p-scrolltop {
width: 3rem;
height: 3rem;
@@ -5730,6 +5894,10 @@
font-size: 1.5rem;
color: #151515;
}
.p-scrolltop .p-scrolltop-icon.p-icon {
width: 1.5rem;
height: 1.5rem;
}
.p-skeleton {
background-color: rgba(255, 255, 255, 0.06);
@@ -5767,6 +5935,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: #2a323d;