add assets manage Sweet Alert"

pull/530/head
unknown 2016-09-14 15:51:09 +08:00
parent 0f9bdab108
commit e7c20f0707
4 changed files with 0 additions and 55 deletions

View File

@ -1,43 +0,0 @@
@charset "utf-8";
/*
CSS border:dotted solid double dashed
*/
*:focus { outline: none; list-style-type: decimal; }
/* fade */
.jbox-fade{background-color:#000;}
/* drag */
.jbox-drag{border:1px dashed #376EA5;}
/* jbox */
div.jbox {padding:0px;border:none;font-size:12px;}
/* border */
div.jbox .jbox-border{background: none repeat scroll 0 0 #999999;filter:alpha(opacity=20);-moz-opacity:0.2;opacity:0.2;}
/* container */
div.jbox .jbox-container{background-color:#ffffff;border:1px solid #999999;}
/* title-panel */
div.jbox .jbox-title-panel{background:#ffffff;border-bottom:1px solid #CCCCCC;padding: 8px 15px;}
div.jbox .jbox-title{font-weight:bold;color:#333333; font-size: 18px; line-height: 27px;padding-top:0px;}
div.jbox .jbox-title-icon{background:url(images/jbox-title-icon.gif) no-repeat scroll 3px 5px transparent;}
div.jbox .jbox-close,div.jbox .jbox-close-hover{background:url(images/jbox-close.gif) no-repeat scroll 0px 0px transparent;margin:7px;}
div.jbox .jbox-close-hover{background-position:-16px 0;}
/* content */
div.jbox .jbox-content{min-height:24px;line-height:18px;color:#444444;}
div.jbox .jbox-content-loading{background-color:#E6E6E6;}
div.jbox .jbox-content-loading-image{background:url(images/jbox-content-loading.gif) no-repeat bottom center;}
/* button-panel */
div.jbox .jbox-button-panel{border-top:1px solid #CCCCCC;background-color: #EEEEEE;}
div.jbox .jbox-bottom-text{text-indent:10px;color:#444444;}
div.jbox .jbox-button{background:url(images/jbox-button1.png) repeat-x transparent;border:#AAAAAA 1px solid;color:#888888;border-radius:3px 3px 3px 3px;margin:1px 7px 0px 0px;height:22px;cursor:default;}
div.jbox .jbox-button-hover{background-position:0px -20px;color:#666666;}
div.jbox .jbox-button-active{background-position:0px -40px;}
div.jbox-warning .jbox .jbox-button-panel{background-color: #FFFFFF;}
/* tip-color */
div.jbox .jbox-tip-color{background-color:#376EA5;border-color:#376EA5;border-radius:3px 3px 3px 3px;color:#ffffff;}
/* icons */
div.jbox span.jbox-icon{background:url(images/jbox-icons.png) no-repeat scroll 0 0 transparent;_background:url(images/jbox-icons-ie6.gif) no-repeat scroll 0 0 transparent;}
div.jbox span.jbox-icon-info {background-position:0 0;}
div.jbox span.jbox-icon-question {background-position:-36px 0;}
div.jbox span.jbox-icon-success {background-position:-72px 0;}
div.jbox span.jbox-icon-warning {background-position:-108px 0;}
div.jbox span.jbox-icon-error {background-position:-144px 0;}
div.jbox span.jbox-icon-none {display: none; overflow:hidden;}
div.jbox span.jbox-icon-loading {background:url(images/jbox-loading1.gif) no-repeat scroll 0 0 transparent;}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
var jBoxConfig={};jBoxConfig.defaults={id:null,top:"15%",border:5,opacity:0.50,timeout:0,showType:"fade",showSpeed:"fast",showIcon:false,showClose:true,draggable:true,dragLimit:false,dragClone:false,persistent:false,showScrolling:true,ajaxData:{},iframeScrolling:"auto",title:" 消息",width:350,height:"auto",bottomText:"",buttons:{"确定":"ok"},buttonsFocus:0,loaded:function(a){},submit:function(a,b,c){return true},closed:function(){}};jBoxConfig.stateDefaults={content:"",buttons:{"确定":"ok"},buttonsFocus:0,submit:function(a,b,c){return true}};jBoxConfig.tipDefaults={content:"",icon:"info",top:"53%",width:"auto",height:"auto",opacity:0,timeout:3000,closed:function(){}};jBoxConfig.messagerDefaults={content:"",title:"jBox",icon:"none",width:350,height:"auto",timeout:3000,showType:"slide",showSpeed:600,border:0,buttons:{},buttonsFocus:0,loaded:function(a){},submit:function(a,b,c){return true},closed:function(){}};jBoxConfig.languageDefaults={close:"关闭",ok:"确定",yes:"是",no:"否",cancel:"取消"};$.jBox.setDefaults(jBoxConfig);