diff --git a/exports/confirmpopup.d.ts b/exports/confirmpopup.d.ts new file mode 100644 index 000000000..6908e1ea5 --- /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 000000000..6095f3cdb --- /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 830c2f28e..9b55f5ce0 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 760dbb84b..b92497419 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 4776b4632..2700e6707 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 49846a558..59a27db89 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 a6fc71c46..b5551b792 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 84e128ff1..be412a15a 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 61c148ec5..63ccbf15d 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 5ffc4c82d..70357590c 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 3c8f9db4d..ade607a50 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 9f5d42adf..7392a8150 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 95257eb4f..2e2ef20cc 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 1076f4f8d..e86c4fff0 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 5aebb038a..69b1af29c 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 6c727dd54..71e16014f 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 a4069c851..42df0d031 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 3afa22a7d..cd5e3769e 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 fba9db60a..b92b6c859 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 d718bc801..7df44dbd8 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 ac2f7aba1..7e2364f65 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 a93011753..552685e07 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 3d953ccb1..21b221efd 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 2bcc9cc36..3d4e75ee0 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 59df51354..3b18471df 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 93d42033d..0af0fddce 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 6c33e951a..bef738527 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 38b539b27..728140c60 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 e5083b16e..4d4460ae4 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 94f0ebe45..627075b13 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 f71337fba..addc521cc 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 36a9edb50..6f90ab172 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 b518074bd..3c85a863d 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 a5fa5939e..1c4bfe100 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 da6f16e69..31fc4803f 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 aee535fbb..40d2b9bd2 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 4e5724fd1..2987d580f 100755 --- a/src/AppMenu.vue +++ b/src/AppMenu.vue @@ -175,6 +175,7 @@
None.
+Mitt.
ConfirmPopup displays a confirmation overlay displayed relatively to its target.
+ConfirmPopup requires Mitt, a tiny 200b EventBus implementation.
+
+
+npm install mitt --save
+
+
+
+ ConfirmPopup is controlled via the ConfirmationService that needs to be installed globally before the application + instance is created.
+
+
+import {createApp} from 'vue';
+import ConfirmationService from 'primevue/confirmationservice';
+
+const app = createApp(App);
+app.use(ConfirmationService);
+
+
+
+
+
+import ConfirmPopup from 'primevue/confirmpopup';
+
+
+
+ ConfirmPopup is displayed by calling the require method of the $confirm instance by passing the options to customize the Popup.
+
+
+<ConfirmPopup></ConfirmPopup>
+
+<Button @click="delete()" icon="pi pi-check" label="Confirm"></Button>
+
+
+
+
+export default {
+ methods: {
+ delete() {
+ this.$confirm.require({
+ message: 'Are you sure you want to proceed?',
+ icon: 'pi pi-exclamation-triangle',
+ accept: () => {
+ //callback to execute when user confirms the action
+ },
+ reject: () => {
+ //callback to execute when user rejects the action
+ }
+ });
+ },
+ }
+}
+
+
+
+ The service can be injected with the useConfirm function.
+
+
+import { defineComponent } from "vue";
+import { useConfirm } from "primevue/useconfirm";
+
+export default defineComponent({
+ setup() {
+ const confirm = useConfirm();
+ confirm.require({
+ message: 'Are you sure you want to proceed?',
+ icon: 'pi pi-exclamation-triangle',
+ accept: () => {
+ //callback to execute when user confirms the action
+ },
+ reject: () => {
+ //callback to execute when user rejects the action
+ }
+ });
+ }
+})
+
+
+
+ The popup can also be hidden programmatically using the close method.
+
+
+export default {
+ methods: {
+ discard() {
+ this.$confirm.close();
+ }
+ }
+}
+
+
+
+ ConfirmDialog can be customized with various options listed here.
+Name | +Type | +Default | +Description | +
---|---|---|---|
message | +string | +null | +Message of the confirmation. | +
group | +string | +null | +Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance. | +
icon | +string | +null | +Icon to display next to the message. | +
accept | +Function | +null | +Callback to execute when action is confirmed. | +
reject | +Function | +null | +Callback to execute when action is rejected. | +
acceptLabel | +string | +null | +Label of the accept button. | +
rejectLabel | +string | +null | +Label of the reject button. | +
acceptIcon | +string | +null | +Icon of the accept button. | +
rejectIcon | +string | +null | +Icon of the reject button. | +
acceptClass | +string | +null | +Style class of the accept button. | +
rejectClass | +string | +null | +Style class of the reject button. | +
Name | +Type | +Default | +Description | +
---|---|---|---|
group | +string | +null | +Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance. | +
ConfirmDialog inherits all the classes from the Dialog component, visit
Name | +Element | +
---|---|
p-confirm-popup | +Container element. | +
p-confirm-content | +Content element. | +
p-confirm-popup-icon | +Message icon. | +
p-confirm-popup-message | +Message text. | +
p-confirm-popup-footer | +Footer element for buttons. | +
Mitt.
+
+
+<ConfirmPopup></ConfirmPopup>
+
+<div class="card">
+ <Button @click="confirm1($event)" icon="pi pi-check" label="Confirm" class="p-mr-2"></Button>
+ <Button @click="confirm2($event)" icon="pi pi-times" label="Delete" class="p-button-danger p-button-outlined"></Button>
+</div>
+
+
+
+
+
+export default {
+ methods: {
+ confirm1() {
+ this.$confirm.require({
+ message: 'Are you sure you want to proceed?',
+ icon: 'pi pi-exclamation-triangle',
+ accept: () => {
+ this.$toast.add({severity:'info', summary:'Confirmed', detail:'You have accepted', life: 3000});
+ },
+ reject: () => {
+ this.$toast.add({severity:'info', summary:'Rejected', detail:'You have rejected', life: 3000});
+ }
+ });
+ },
+ confirm2() {
+ this.$confirm.require({
+ message: 'Do you want to delete this record?',
+ icon: 'pi pi-info-circle',
+ acceptClass: 'p-button-danger',
+ accept: () => {
+ this.$toast.add({severity:'info', summary:'Confirmed', detail:'Record deleted', life: 3000});
+ },
+ reject: () => {
+ this.$toast.add({severity:'info', summary:'Rejected', detail:'You have rejected', life: 3000});
+ }
+ });
+ }
+ }
+}
+
+
+