mirror of
https://github.com/flextype/flextype.git
synced 2025-08-18 19:01:40 +02:00
feat(admin-plugin): swal integration #211
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
@import 'modules/presley';
|
||||
@import 'modules/tabs';
|
||||
@import 'modules/select2';
|
||||
@import 'modules/swal';
|
||||
|
||||
/* Components */
|
||||
@import 'components/tables';
|
||||
|
34
site/plugins/admin/assets/src/modules/swal.css
Normal file
34
site/plugins/admin/assets/src/modules/swal.css
Normal file
@@ -0,0 +1,34 @@
|
||||
/* purgecss start ignore */
|
||||
.swal-overlay
|
||||
{
|
||||
background-color: rgba(0, 0, 0, .75);
|
||||
}
|
||||
|
||||
.swal-modal
|
||||
{
|
||||
@apply border-none rounded-none;
|
||||
}
|
||||
|
||||
.swal-button
|
||||
{
|
||||
@apply px-4 py-2 border border-black text-white inline-block w-auto bg-black rounded-none;
|
||||
}
|
||||
|
||||
.swal-button:focus
|
||||
{
|
||||
@apply shadow-none;
|
||||
}
|
||||
|
||||
.swal-button--cancel
|
||||
{
|
||||
@apply bg-white text-black;
|
||||
}
|
||||
|
||||
|
||||
.swal-button:not([disabled]):hover,
|
||||
.swal-button--cancel:not([disabled]):hover
|
||||
{
|
||||
@apply border-gray-900 bg-gray-900 text-white;
|
||||
}
|
||||
|
||||
/* purgecss end ignore */
|
Reference in New Issue
Block a user