1
0
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:
Awilum
2020-01-31 23:42:30 +03:00
parent d6a93221eb
commit 523dd217be
2 changed files with 35 additions and 0 deletions

View File

@@ -15,6 +15,7 @@
@import 'modules/presley';
@import 'modules/tabs';
@import 'modules/select2';
@import 'modules/swal';
/* Components */
@import 'components/tables';

View 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 */