Dialog cosmetics
parent
d69dd3adc0
commit
b97352ca4b
|
@ -2785,7 +2785,7 @@
|
|||
border-bottom: 0 none;
|
||||
background: #1e1e1e;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
border-top-right-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
@ -2819,13 +2819,13 @@
|
|||
.p-dialog .p-dialog-content {
|
||||
background: #1e1e1e;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-dialog .p-dialog-footer {
|
||||
border-top: 0 none;
|
||||
background: #1e1e1e;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
text-align: right;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
|
@ -2847,7 +2847,7 @@
|
|||
box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-content {
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-close {
|
||||
background: #64B5F6;
|
||||
|
|
|
@ -2785,7 +2785,7 @@
|
|||
border-bottom: 0 none;
|
||||
background: #1e1e1e;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
border-top-right-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
@ -2819,13 +2819,13 @@
|
|||
.p-dialog .p-dialog-content {
|
||||
background: #1e1e1e;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-dialog .p-dialog-footer {
|
||||
border-top: 0 none;
|
||||
background: #1e1e1e;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
text-align: right;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
|
@ -2847,7 +2847,7 @@
|
|||
box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-content {
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-close {
|
||||
background: #81C784;
|
||||
|
|
|
@ -2785,7 +2785,7 @@
|
|||
border-bottom: 0 none;
|
||||
background: #1e1e1e;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
border-top-right-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
@ -2819,13 +2819,13 @@
|
|||
.p-dialog .p-dialog-content {
|
||||
background: #1e1e1e;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-dialog .p-dialog-footer {
|
||||
border-top: 0 none;
|
||||
background: #1e1e1e;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
text-align: right;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
|
@ -2847,7 +2847,7 @@
|
|||
box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-content {
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-close {
|
||||
background: #FFD54F;
|
||||
|
|
|
@ -2785,7 +2785,7 @@
|
|||
border-bottom: 0 none;
|
||||
background: #1e1e1e;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
border-top-right-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
@ -2819,13 +2819,13 @@
|
|||
.p-dialog .p-dialog-content {
|
||||
background: #1e1e1e;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-dialog .p-dialog-footer {
|
||||
border-top: 0 none;
|
||||
background: #1e1e1e;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
text-align: right;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
|
@ -2847,7 +2847,7 @@
|
|||
box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-content {
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-close {
|
||||
background: #BA68C8;
|
||||
|
|
|
@ -2785,7 +2785,7 @@
|
|||
border-bottom: 0 none;
|
||||
background: #ffffff;
|
||||
color: #495057;
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
border-top-right-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
@ -2819,13 +2819,13 @@
|
|||
.p-dialog .p-dialog-content {
|
||||
background: #ffffff;
|
||||
color: #495057;
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-dialog .p-dialog-footer {
|
||||
border-top: 0 none;
|
||||
background: #ffffff;
|
||||
color: #495057;
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
text-align: right;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
|
@ -2847,7 +2847,7 @@
|
|||
box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-content {
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-close {
|
||||
background: #2196F3;
|
||||
|
|
|
@ -2785,7 +2785,7 @@
|
|||
border-bottom: 0 none;
|
||||
background: #ffffff;
|
||||
color: #495057;
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
border-top-right-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
@ -2819,13 +2819,13 @@
|
|||
.p-dialog .p-dialog-content {
|
||||
background: #ffffff;
|
||||
color: #495057;
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-dialog .p-dialog-footer {
|
||||
border-top: 0 none;
|
||||
background: #ffffff;
|
||||
color: #495057;
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
text-align: right;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
|
@ -2847,7 +2847,7 @@
|
|||
box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-content {
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-close {
|
||||
background: #4CAF50;
|
||||
|
|
|
@ -2785,7 +2785,7 @@
|
|||
border-bottom: 0 none;
|
||||
background: #ffffff;
|
||||
color: #495057;
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
border-top-right-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
@ -2819,13 +2819,13 @@
|
|||
.p-dialog .p-dialog-content {
|
||||
background: #ffffff;
|
||||
color: #495057;
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-dialog .p-dialog-footer {
|
||||
border-top: 0 none;
|
||||
background: #ffffff;
|
||||
color: #495057;
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
text-align: right;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
|
@ -2847,7 +2847,7 @@
|
|||
box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-content {
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-close {
|
||||
background: #FFC107;
|
||||
|
|
|
@ -2785,7 +2785,7 @@
|
|||
border-bottom: 0 none;
|
||||
background: #1f2d40;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
border-top-right-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
@ -2819,13 +2819,13 @@
|
|||
.p-dialog .p-dialog-content {
|
||||
background: #1f2d40;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-dialog .p-dialog-footer {
|
||||
border-top: 0 none;
|
||||
background: #1f2d40;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
text-align: right;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
|
@ -2847,7 +2847,7 @@
|
|||
box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-content {
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-close {
|
||||
background: #64B5F6;
|
||||
|
|
|
@ -2785,7 +2785,7 @@
|
|||
border-bottom: 0 none;
|
||||
background: #1f2d40;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
border-top-right-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
@ -2819,13 +2819,13 @@
|
|||
.p-dialog .p-dialog-content {
|
||||
background: #1f2d40;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-dialog .p-dialog-footer {
|
||||
border-top: 0 none;
|
||||
background: #1f2d40;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
text-align: right;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
|
@ -2847,7 +2847,7 @@
|
|||
box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-content {
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-close {
|
||||
background: #81C784;
|
||||
|
|
|
@ -2785,7 +2785,7 @@
|
|||
border-bottom: 0 none;
|
||||
background: #1f2d40;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
border-top-right-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
@ -2819,13 +2819,13 @@
|
|||
.p-dialog .p-dialog-content {
|
||||
background: #1f2d40;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-dialog .p-dialog-footer {
|
||||
border-top: 0 none;
|
||||
background: #1f2d40;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
text-align: right;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
|
@ -2847,7 +2847,7 @@
|
|||
box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-content {
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-close {
|
||||
background: #FFD54F;
|
||||
|
|
|
@ -2785,7 +2785,7 @@
|
|||
border-bottom: 0 none;
|
||||
background: #1f2d40;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
border-top-right-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
@ -2819,13 +2819,13 @@
|
|||
.p-dialog .p-dialog-content {
|
||||
background: #1f2d40;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-dialog .p-dialog-footer {
|
||||
border-top: 0 none;
|
||||
background: #1f2d40;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
text-align: right;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
|
@ -2847,7 +2847,7 @@
|
|||
box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-content {
|
||||
padding: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.p-overlaypanel .p-overlaypanel-close {
|
||||
background: #BA68C8;
|
||||
|
|
|
@ -119,7 +119,10 @@
|
|||
</Dialog>
|
||||
|
||||
<Dialog :visible.sync="deleteProductDialog" :style="{width: '450px'}" header="Confirm" :modal="true">
|
||||
<p v-if="product">Are you sure you want to delete <b>{{product.name}}</b>?</p>
|
||||
<div class="confirmation-content">
|
||||
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
||||
<span v-if="product">Are you sure you want to delete <b>{{product.name}}</b>?</span>
|
||||
</div>
|
||||
<template #footer>
|
||||
<Button label="No" icon="pi pi-times" class="p-button-text" @click="deleteProductDialog = false"/>
|
||||
<Button label="Yes" icon="pi pi-check" class="p-button-text" @click="deleteProduct" />
|
||||
|
@ -127,7 +130,10 @@
|
|||
</Dialog>
|
||||
|
||||
<Dialog :visible.sync="deleteProductsDialog" :style="{width: '450px'}" header="Confirm" :modal="true">
|
||||
<p v-if="product">Are you sure you want to delete selected products?</p>
|
||||
<div class="confirmation-content">
|
||||
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
||||
<span v-if="product">Are you sure you want to delete the selected products?</span>
|
||||
</div>
|
||||
<template #footer>
|
||||
<Button label="No" icon="pi pi-times" class="p-button-text" @click="deleteProductsDialog = false"/>
|
||||
<Button label="Yes" icon="pi pi-check" class="p-button-text" @click="deleteSelectedProducts" />
|
||||
|
@ -250,7 +256,10 @@
|
|||
</Dialog>
|
||||
|
||||
<Dialog :visible.sync="deleteProductDialog" :style="{width: '450px'}" header="Confirm" :modal="true">
|
||||
<p v-if="product">Are you sure you want to delete <b>{{product.name}}</b>?</p>
|
||||
<div class="confirmation-content">
|
||||
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
||||
<span v-if="product">Are you sure you want to delete <b>{{product.name}}</b>?</span>
|
||||
</div>
|
||||
<template #footer>
|
||||
<Button label="No" icon="pi pi-times" class="p-button-text" @click="deleteProductDialog = false"/>
|
||||
<Button label="Yes" icon="pi pi-check" class="p-button-text" @click="deleteProduct" />
|
||||
|
@ -258,7 +267,10 @@
|
|||
</Dialog>
|
||||
|
||||
<Dialog :visible.sync="deleteProductsDialog" :style="{width: '450px'}" header="Confirm" :modal="true">
|
||||
<p v-if="product">Are you sure you want to delete selected products?</p>
|
||||
<div class="confirmation-content">
|
||||
<i class="pi pi-exclamation-triangle p-mr-3" style="font-size: 2rem" />
|
||||
<span v-if="product">Are you sure you want to delete the selected products?</span>
|
||||
</div>
|
||||
<template #footer>
|
||||
<Button label="No" icon="pi pi-times" class="p-button-text" @click="deleteProductsDialog = false"/>
|
||||
<Button label="Yes" icon="pi pi-check" class="p-button-text" @click="deleteSelectedProducts" />
|
||||
|
@ -497,4 +509,10 @@ export default {
|
|||
margin: 0 auto 2rem auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.confirmation-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
</style>
|
|
@ -190,4 +190,8 @@ p {
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.p-dialog .p-button {
|
||||
min-width: 6rem;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue