Initial Sweetalert2 inclusion

To maintain version 1 compatibility, his package is available as swal2 function.
This commit is contained in:
gfjardim
2020-01-16 12:20:47 -03:00
parent 8622727b5c
commit 0e6bfc75b5
3 changed files with 17 additions and 0 deletions
@@ -34,6 +34,7 @@ $themes2 = in_array($theme,['gray','azure']);
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/font-awesome.css")?>">
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/context.standalone.css")?>">
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/jquery.sweetalert.css")?>">
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/sweetalert2.css")?>">
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/default-{$display['theme']}.css")?>">
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/dynamix-{$display['theme']}.css")?>">
File diff suppressed because one or more lines are too long
+14
View File
@@ -0,0 +1,14 @@
.swal-button{background-color:#7cd1f9;color:#fff;border:none;box-shadow:none;border-radius:5px;font-weight:600;font-size:14px;padding:10px 24px;margin:0;cursor:pointer}
.swal-button:not([disabled]):hover{background-color:#78cbf2}
.swal-button:active{background-color:#70bce0}
.swal-button:focus{outline:none;box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(43,114,165,.29)}
.swal-button[disabled]{opacity:.5;cursor:default}
.swal-button::-moz-focus-inner{border:0}
.swal-button--cancel{color:#555;background-color:#efefef}
.swal-button--cancel:not([disabled]):hover{background-color:#e8e8e8}
.swal-button--cancel:active{background-color:#d7d7d7}
.swal-button--cancel:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(116,136,150,.29)}
.swal-button--danger{background-color:#e64942}
.swal-button--danger:not([disabled]):hover{background-color:#df4740}
.swal-button--danger:active{background-color:#cf423b}
.swal-button--danger:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(165,43,43,.29)}