From 5d9e33a0cfeea154063431e24890277272883e51 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Fri, 27 Nov 2020 11:45:31 +0300 Subject: [PATCH] Fixed #679 - ConfirmPopup --- exports/confirmpopup.d.ts | 1 + exports/confirmpopup.js | 2 + public/themes/arya-blue/theme.css | 44 +++ public/themes/arya-green/theme.css | 44 +++ public/themes/arya-orange/theme.css | 44 +++ public/themes/arya-purple/theme.css | 44 +++ public/themes/bootstrap4-dark-blue/theme.css | 44 +++ .../themes/bootstrap4-dark-purple/theme.css | 44 +++ public/themes/bootstrap4-light-blue/theme.css | 44 +++ .../themes/bootstrap4-light-purple/theme.css | 44 +++ public/themes/fluent-light/theme.css | 44 +++ public/themes/luna-amber/theme.css | 44 +++ public/themes/luna-blue/theme.css | 44 +++ public/themes/luna-green/theme.css | 44 +++ public/themes/luna-pink/theme.css | 44 +++ public/themes/md-dark-deeppurple/theme.css | 44 +++ public/themes/md-dark-indigo/theme.css | 44 +++ public/themes/md-light-deeppurple/theme.css | 44 +++ public/themes/md-light-indigo/theme.css | 44 +++ public/themes/mdc-dark-deeppurple/theme.css | 44 +++ public/themes/mdc-dark-indigo/theme.css | 44 +++ public/themes/mdc-light-deeppurple/theme.css | 44 +++ public/themes/mdc-light-indigo/theme.css | 44 +++ public/themes/nova-accent/theme.css | 44 +++ public/themes/nova-alt/theme.css | 44 +++ public/themes/nova-vue/theme.css | 44 +++ public/themes/nova/theme.css | 44 +++ public/themes/rhea/theme.css | 44 +++ public/themes/saga-blue/theme.css | 44 +++ public/themes/saga-green/theme.css | 44 +++ public/themes/saga-orange/theme.css | 44 +++ public/themes/saga-purple/theme.css | 44 +++ public/themes/vela-blue/theme.css | 44 +++ public/themes/vela-green/theme.css | 44 +++ public/themes/vela-orange/theme.css | 44 +++ public/themes/vela-purple/theme.css | 44 +++ src/AppMenu.vue | 1 + .../confirmdialog/ConfirmDialog.d.ts | 7 + src/components/confirmpopup/ConfirmPopup.d.ts | 7 + src/components/confirmpopup/ConfirmPopup.vue | 275 ++++++++++++++++ src/main.js | 2 + src/router/index.js | 5 + src/views/confirmdialog/ConfirmDialogDemo.vue | 2 +- src/views/confirmdialog/ConfirmDialogDoc.vue | 8 +- src/views/confirmpopup/ConfirmPopupDemo.vue | 60 ++++ src/views/confirmpopup/ConfirmPopupDoc.vue | 297 ++++++++++++++++++ 46 files changed, 2158 insertions(+), 5 deletions(-) create mode 100644 exports/confirmpopup.d.ts create mode 100644 exports/confirmpopup.js create mode 100644 src/components/confirmdialog/ConfirmDialog.d.ts create mode 100644 src/components/confirmpopup/ConfirmPopup.d.ts create mode 100644 src/components/confirmpopup/ConfirmPopup.vue create mode 100644 src/views/confirmpopup/ConfirmPopupDemo.vue create mode 100644 src/views/confirmpopup/ConfirmPopupDoc.vue diff --git a/exports/confirmpopup.d.ts b/exports/confirmpopup.d.ts new file mode 100644 index 0000000000..6908e1ea5e --- /dev/null +++ b/exports/confirmpopup.d.ts @@ -0,0 +1 @@ +export * from './components/confirmpopup/ConfirmPopup'; \ No newline at end of file diff --git a/exports/confirmpopup.js b/exports/confirmpopup.js new file mode 100644 index 0000000000..6095f3cdb7 --- /dev/null +++ b/exports/confirmpopup.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('./components/confirmpopup/ConfirmPopup.vue'); \ No newline at end of file diff --git a/public/themes/arya-blue/theme.css b/public/themes/arya-blue/theme.css index 830c2f28e2..9b55f5ce03 100644 --- a/public/themes/arya-blue/theme.css +++ b/public/themes/arya-blue/theme.css @@ -2914,6 +2914,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #1e1e1e; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #383838; + border-radius: 3px; + 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-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(30, 30, 30, 0); + border-bottom-color: #1e1e1e; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(56, 56, 56, 0); + border-bottom-color: #383838; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #1e1e1e; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #383838; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; 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); diff --git a/public/themes/arya-green/theme.css b/public/themes/arya-green/theme.css index 760dbb84b8..b92497419f 100644 --- a/public/themes/arya-green/theme.css +++ b/public/themes/arya-green/theme.css @@ -2914,6 +2914,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #1e1e1e; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #383838; + border-radius: 3px; + 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-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(30, 30, 30, 0); + border-bottom-color: #1e1e1e; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(56, 56, 56, 0); + border-bottom-color: #383838; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #1e1e1e; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #383838; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; 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); diff --git a/public/themes/arya-orange/theme.css b/public/themes/arya-orange/theme.css index 4776b46320..2700e6707a 100644 --- a/public/themes/arya-orange/theme.css +++ b/public/themes/arya-orange/theme.css @@ -2914,6 +2914,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #1e1e1e; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #383838; + border-radius: 3px; + 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-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(30, 30, 30, 0); + border-bottom-color: #1e1e1e; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(56, 56, 56, 0); + border-bottom-color: #383838; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #1e1e1e; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #383838; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; 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); diff --git a/public/themes/arya-purple/theme.css b/public/themes/arya-purple/theme.css index 49846a5589..59a27db89f 100644 --- a/public/themes/arya-purple/theme.css +++ b/public/themes/arya-purple/theme.css @@ -2914,6 +2914,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #1e1e1e; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #383838; + border-radius: 3px; + 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-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(30, 30, 30, 0); + border-bottom-color: #1e1e1e; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(56, 56, 56, 0); + border-bottom-color: #383838; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #1e1e1e; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #383838; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; 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); diff --git a/public/themes/bootstrap4-dark-blue/theme.css b/public/themes/bootstrap4-dark-blue/theme.css index a6fc71c465..b5551b7927 100644 --- a/public/themes/bootstrap4-dark-blue/theme.css +++ b/public/themes/bootstrap4-dark-blue/theme.css @@ -2926,6 +2926,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #2a323d; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #3f4b5b; + border-radius: 4px; + box-shadow: none; +} +.p-confirm-popup .p-confirm-popup-content { + padding: 1.25rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1.25rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(42, 50, 61, 0); + border-bottom-color: #2a323d; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(63, 75, 91, 0); + border-bottom-color: #3f4b5b; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #2a323d; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #3f4b5b; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 4px; box-shadow: none; diff --git a/public/themes/bootstrap4-dark-purple/theme.css b/public/themes/bootstrap4-dark-purple/theme.css index 84e128ff14..be412a15a8 100644 --- a/public/themes/bootstrap4-dark-purple/theme.css +++ b/public/themes/bootstrap4-dark-purple/theme.css @@ -2926,6 +2926,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #2a323d; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #3f4b5b; + border-radius: 4px; + box-shadow: none; +} +.p-confirm-popup .p-confirm-popup-content { + padding: 1.25rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1.25rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(42, 50, 61, 0); + border-bottom-color: #2a323d; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(63, 75, 91, 0); + border-bottom-color: #3f4b5b; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #2a323d; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #3f4b5b; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 4px; box-shadow: none; diff --git a/public/themes/bootstrap4-light-blue/theme.css b/public/themes/bootstrap4-light-blue/theme.css index 61c148ec54..63ccbf15d0 100644 --- a/public/themes/bootstrap4-light-blue/theme.css +++ b/public/themes/bootstrap4-light-blue/theme.css @@ -2926,6 +2926,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #212529; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 4px; + box-shadow: none; +} +.p-confirm-popup .p-confirm-popup-content { + padding: 1.25rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1.25rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(0, 0, 0, 0); + border-bottom-color: rgba(0, 0, 0, 0.2); +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: rgba(0, 0, 0, 0.2); +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 4px; box-shadow: none; diff --git a/public/themes/bootstrap4-light-purple/theme.css b/public/themes/bootstrap4-light-purple/theme.css index 5ffc4c82d3..70357590c7 100644 --- a/public/themes/bootstrap4-light-purple/theme.css +++ b/public/themes/bootstrap4-light-purple/theme.css @@ -2926,6 +2926,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #212529; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 4px; + box-shadow: none; +} +.p-confirm-popup .p-confirm-popup-content { + padding: 1.25rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1.25rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(0, 0, 0, 0); + border-bottom-color: rgba(0, 0, 0, 0.2); +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: rgba(0, 0, 0, 0.2); +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 4px; box-shadow: none; diff --git a/public/themes/fluent-light/theme.css b/public/themes/fluent-light/theme.css index 3c8f9db4d1..ade607a503 100644 --- a/public/themes/fluent-light/theme.css +++ b/public/themes/fluent-light/theme.css @@ -2889,6 +2889,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #323130; + border: 0 none; + border-radius: 2px; + box-shadow: rgba(0, 0, 0, 0.133) 0px 6.4px 14.4px 0px, rgba(0, 0, 0, 0.11) 0px 1.2px 3.6px 0px; +} +.p-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #ffffff; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 2px; box-shadow: rgba(0, 0, 0, 0.133) 0px 6.4px 14.4px 0px, rgba(0, 0, 0, 0.11) 0px 1.2px 3.6px 0px; diff --git a/public/themes/luna-amber/theme.css b/public/themes/luna-amber/theme.css index 9f5d42adf7..7392a8150a 100644 --- a/public/themes/luna-amber/theme.css +++ b/public/themes/luna-amber/theme.css @@ -2901,6 +2901,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #323232; + color: #dedede; + border: 1px solid #191919; + border-radius: 3px; + box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(50, 50, 50, 0); + border-bottom-color: #323232; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(25, 25, 25, 0); + border-bottom-color: #191919; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #323232; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #191919; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); diff --git a/public/themes/luna-blue/theme.css b/public/themes/luna-blue/theme.css index 95257eb4f2..2e2ef20cc9 100644 --- a/public/themes/luna-blue/theme.css +++ b/public/themes/luna-blue/theme.css @@ -2901,6 +2901,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #323232; + color: #dedede; + border: 1px solid #191919; + border-radius: 3px; + box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(50, 50, 50, 0); + border-bottom-color: #323232; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(25, 25, 25, 0); + border-bottom-color: #191919; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #323232; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #191919; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); diff --git a/public/themes/luna-green/theme.css b/public/themes/luna-green/theme.css index 1076f4f8d8..e86c4fff03 100644 --- a/public/themes/luna-green/theme.css +++ b/public/themes/luna-green/theme.css @@ -2901,6 +2901,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #323232; + color: #dedede; + border: 1px solid #191919; + border-radius: 3px; + box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(50, 50, 50, 0); + border-bottom-color: #323232; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(25, 25, 25, 0); + border-bottom-color: #191919; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #323232; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #191919; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); diff --git a/public/themes/luna-pink/theme.css b/public/themes/luna-pink/theme.css index 5aebb038a9..69b1af29cc 100644 --- a/public/themes/luna-pink/theme.css +++ b/public/themes/luna-pink/theme.css @@ -2901,6 +2901,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #323232; + color: #dedede; + border: 1px solid #191919; + border-radius: 3px; + box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(50, 50, 50, 0); + border-bottom-color: #323232; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(25, 25, 25, 0); + border-bottom-color: #191919; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #323232; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #191919; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); diff --git a/public/themes/md-dark-deeppurple/theme.css b/public/themes/md-dark-deeppurple/theme.css index 6c727dd54b..71e16014fa 100644 --- a/public/themes/md-dark-deeppurple/theme.css +++ b/public/themes/md-dark-deeppurple/theme.css @@ -2938,6 +2938,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #262626; + color: rgba(255, 255, 255, 0.87); + border: 0 none; + border-radius: 4px; + box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 1rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(38, 38, 38, 0); + border-bottom-color: #262626; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(38, 38, 38, 0); + border-bottom-color: #262626; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #262626; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #262626; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 4px; box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); diff --git a/public/themes/md-dark-indigo/theme.css b/public/themes/md-dark-indigo/theme.css index a4069c8515..42df0d031c 100644 --- a/public/themes/md-dark-indigo/theme.css +++ b/public/themes/md-dark-indigo/theme.css @@ -2938,6 +2938,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #262626; + color: rgba(255, 255, 255, 0.87); + border: 0 none; + border-radius: 4px; + box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 1rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(38, 38, 38, 0); + border-bottom-color: #262626; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(38, 38, 38, 0); + border-bottom-color: #262626; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #262626; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #262626; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 4px; box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); diff --git a/public/themes/md-light-deeppurple/theme.css b/public/themes/md-light-deeppurple/theme.css index 3afa22a7d0..cd5e3769e6 100644 --- a/public/themes/md-light-deeppurple/theme.css +++ b/public/themes/md-light-deeppurple/theme.css @@ -2938,6 +2938,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #000001; + border: 0 none; + border-radius: 4px; + box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 1rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #ffffff; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 4px; box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); diff --git a/public/themes/md-light-indigo/theme.css b/public/themes/md-light-indigo/theme.css index fba9db60a7..b92b6c8591 100644 --- a/public/themes/md-light-indigo/theme.css +++ b/public/themes/md-light-indigo/theme.css @@ -2938,6 +2938,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #000001; + border: 0 none; + border-radius: 4px; + box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 1rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #ffffff; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 4px; box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); diff --git a/public/themes/mdc-dark-deeppurple/theme.css b/public/themes/mdc-dark-deeppurple/theme.css index d718bc8013..7df44dbd8b 100644 --- a/public/themes/mdc-dark-deeppurple/theme.css +++ b/public/themes/mdc-dark-deeppurple/theme.css @@ -2938,6 +2938,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #262626; + color: rgba(255, 255, 255, 0.87); + border: 0 none; + border-radius: 4px; + box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 0.75rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.75rem 0.75rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(38, 38, 38, 0); + border-bottom-color: #262626; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(38, 38, 38, 0); + border-bottom-color: #262626; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #262626; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #262626; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 4px; box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); diff --git a/public/themes/mdc-dark-indigo/theme.css b/public/themes/mdc-dark-indigo/theme.css index ac2f7aba12..7e2364f652 100644 --- a/public/themes/mdc-dark-indigo/theme.css +++ b/public/themes/mdc-dark-indigo/theme.css @@ -2938,6 +2938,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #262626; + color: rgba(255, 255, 255, 0.87); + border: 0 none; + border-radius: 4px; + box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 0.75rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.75rem 0.75rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(38, 38, 38, 0); + border-bottom-color: #262626; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(38, 38, 38, 0); + border-bottom-color: #262626; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #262626; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #262626; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 4px; box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); diff --git a/public/themes/mdc-light-deeppurple/theme.css b/public/themes/mdc-light-deeppurple/theme.css index a930117533..552685e075 100644 --- a/public/themes/mdc-light-deeppurple/theme.css +++ b/public/themes/mdc-light-deeppurple/theme.css @@ -2938,6 +2938,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #000001; + border: 0 none; + border-radius: 4px; + box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 0.75rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.75rem 0.75rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #ffffff; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 4px; box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); diff --git a/public/themes/mdc-light-indigo/theme.css b/public/themes/mdc-light-indigo/theme.css index 3d953ccb12..21b221efd0 100644 --- a/public/themes/mdc-light-indigo/theme.css +++ b/public/themes/mdc-light-indigo/theme.css @@ -2938,6 +2938,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #000001; + border: 0 none; + border-radius: 4px; + box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 0.75rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.75rem 0.75rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #ffffff; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 4px; box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12); diff --git a/public/themes/nova-accent/theme.css b/public/themes/nova-accent/theme.css index 2bcc9cc36c..3d4e75ee07 100644 --- a/public/themes/nova-accent/theme.css +++ b/public/themes/nova-accent/theme.css @@ -2889,6 +2889,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #333333; + border: 1px solid #c8c8c8; + border-radius: 3px; + box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(200, 200, 200, 0); + border-bottom-color: #c8c8c8; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #c8c8c8; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); diff --git a/public/themes/nova-alt/theme.css b/public/themes/nova-alt/theme.css index 59df513544..3b18471dfe 100644 --- a/public/themes/nova-alt/theme.css +++ b/public/themes/nova-alt/theme.css @@ -2901,6 +2901,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #333333; + border: 1px solid #c8c8c8; + border-radius: 3px; + box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(200, 200, 200, 0); + border-bottom-color: #c8c8c8; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #c8c8c8; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); diff --git a/public/themes/nova-vue/theme.css b/public/themes/nova-vue/theme.css index 93d42033d2..0af0fddce3 100644 --- a/public/themes/nova-vue/theme.css +++ b/public/themes/nova-vue/theme.css @@ -2901,6 +2901,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #333333; + border: 1px solid #c8c8c8; + border-radius: 3px; + box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(200, 200, 200, 0); + border-bottom-color: #c8c8c8; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #c8c8c8; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); diff --git a/public/themes/nova/theme.css b/public/themes/nova/theme.css index 6c33e951a7..bef7385272 100644 --- a/public/themes/nova/theme.css +++ b/public/themes/nova/theme.css @@ -2901,6 +2901,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #333333; + border: 1px solid #c8c8c8; + border-radius: 3px; + box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(200, 200, 200, 0); + border-bottom-color: #c8c8c8; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #c8c8c8; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); diff --git a/public/themes/rhea/theme.css b/public/themes/rhea/theme.css index 38b539b27c..728140c602 100644 --- a/public/themes/rhea/theme.css +++ b/public/themes/rhea/theme.css @@ -2889,6 +2889,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #666666; + border: 1px solid #f1f1f1; + border-radius: 2px; + box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); +} +.p-confirm-popup .p-confirm-popup-content { + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.571rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(241, 241, 241, 0); + border-bottom-color: #f1f1f1; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #f1f1f1; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 2px; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); diff --git a/public/themes/saga-blue/theme.css b/public/themes/saga-blue/theme.css index e5083b16e8..4d4460ae4c 100644 --- a/public/themes/saga-blue/theme.css +++ b/public/themes/saga-blue/theme.css @@ -2914,6 +2914,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #495057; + border: 0 none; + border-radius: 3px; + 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-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #ffffff; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; 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); diff --git a/public/themes/saga-green/theme.css b/public/themes/saga-green/theme.css index 94f0ebe45e..627075b139 100644 --- a/public/themes/saga-green/theme.css +++ b/public/themes/saga-green/theme.css @@ -2914,6 +2914,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #495057; + border: 0 none; + border-radius: 3px; + 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-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #ffffff; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; 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); diff --git a/public/themes/saga-orange/theme.css b/public/themes/saga-orange/theme.css index f71337fba0..addc521cc6 100644 --- a/public/themes/saga-orange/theme.css +++ b/public/themes/saga-orange/theme.css @@ -2914,6 +2914,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #495057; + border: 0 none; + border-radius: 3px; + 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-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #ffffff; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; 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); diff --git a/public/themes/saga-purple/theme.css b/public/themes/saga-purple/theme.css index 36a9edb507..6f90ab1722 100644 --- a/public/themes/saga-purple/theme.css +++ b/public/themes/saga-purple/theme.css @@ -2914,6 +2914,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #ffffff; + color: #495057; + border: 0 none; + border-radius: 3px; + 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-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #ffffff; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #ffffff; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; 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); diff --git a/public/themes/vela-blue/theme.css b/public/themes/vela-blue/theme.css index b518074bd9..3c85a863d3 100644 --- a/public/themes/vela-blue/theme.css +++ b/public/themes/vela-blue/theme.css @@ -2914,6 +2914,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #1f2d40; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #304562; + border-radius: 3px; + 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-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(31, 45, 64, 0); + border-bottom-color: #1f2d40; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(48, 69, 98, 0); + border-bottom-color: #304562; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #1f2d40; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #304562; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; 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); diff --git a/public/themes/vela-green/theme.css b/public/themes/vela-green/theme.css index a5fa5939ed..1c4bfe1002 100644 --- a/public/themes/vela-green/theme.css +++ b/public/themes/vela-green/theme.css @@ -2914,6 +2914,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #1f2d40; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #304562; + border-radius: 3px; + 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-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(31, 45, 64, 0); + border-bottom-color: #1f2d40; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(48, 69, 98, 0); + border-bottom-color: #304562; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #1f2d40; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #304562; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; 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); diff --git a/public/themes/vela-orange/theme.css b/public/themes/vela-orange/theme.css index da6f16e69c..31fc4803f0 100644 --- a/public/themes/vela-orange/theme.css +++ b/public/themes/vela-orange/theme.css @@ -2914,6 +2914,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #1f2d40; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #304562; + border-radius: 3px; + 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-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(31, 45, 64, 0); + border-bottom-color: #1f2d40; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(48, 69, 98, 0); + border-bottom-color: #304562; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #1f2d40; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #304562; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; 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); diff --git a/public/themes/vela-purple/theme.css b/public/themes/vela-purple/theme.css index aee535fbbc..40d2b9bd21 100644 --- a/public/themes/vela-purple/theme.css +++ b/public/themes/vela-purple/theme.css @@ -2914,6 +2914,50 @@ margin: 0 0.5rem; } +.p-confirm-popup { + background: #1f2d40; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #304562; + border-radius: 3px; + 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-confirm-popup .p-confirm-popup-content { + padding: 1rem; +} +.p-confirm-popup .p-confirm-popup-footer { + text-align: right; + padding: 0.5rem 1rem; +} +.p-confirm-popup .p-confirm-popup-footer button { + margin: 0 0.5rem 0 0; + width: auto; +} +.p-confirm-popup .p-confirm-popup-footer button:last-child { + margin: 0; +} +.p-confirm-popup:after { + border: solid transparent; + border-color: rgba(31, 45, 64, 0); + border-bottom-color: #1f2d40; +} +.p-confirm-popup:before { + border: solid transparent; + border-color: rgba(48, 69, 98, 0); + border-bottom-color: #304562; +} +.p-confirm-popup.p-confirm-popup-flipped:after { + border-top-color: #1f2d40; +} +.p-confirm-popup.p-confirm-popup-flipped:before { + border-top-color: #304562; +} +.p-confirm-popup .p-confirm-popup-icon { + font-size: 1.5rem; +} +.p-confirm-popup .p-confirm-popup-message { + margin-left: 1rem; +} + .p-dialog { border-radius: 3px; 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); diff --git a/src/AppMenu.vue b/src/AppMenu.vue index 4e5724fd16..2987d580f3 100755 --- a/src/AppMenu.vue +++ b/src/AppMenu.vue @@ -175,6 +175,7 @@
Dependencies
-

None.

+

Mitt.

@@ -283,7 +283,7 @@ export default { methods: { confirm1() { this.$confirm.require({ - message: 'Are you sure that you want to proceed?', + message: 'Are you sure you want to proceed?', header: 'Confirmation', icon: 'pi pi-exclamation-triangle', accept: () => { diff --git a/src/views/confirmpopup/ConfirmPopupDemo.vue b/src/views/confirmpopup/ConfirmPopupDemo.vue new file mode 100644 index 0000000000..f4eb06b688 --- /dev/null +++ b/src/views/confirmpopup/ConfirmPopupDemo.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/src/views/confirmpopup/ConfirmPopupDoc.vue b/src/views/confirmpopup/ConfirmPopupDoc.vue new file mode 100644 index 0000000000..a0f2f20690 --- /dev/null +++ b/src/views/confirmpopup/ConfirmPopupDoc.vue @@ -0,0 +1,297 @@ +