Commit ff965f4e authored by wangtp's avatar wangtp
Browse files

Merge remote-tracking branch 'origin/4.7.2' into 4.7.2

Conflicts:
	src/main/resources/application.yml
parent 9e238aa6
......@@ -35,10 +35,10 @@
</repository>
</repositories>
<dependencies>
<dependency>
<dependency>
<groupId>net.mingsoft</groupId>
<artifactId>ms-basic</artifactId>
<version>1.0.11</version>
<version>1.0.12-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.mingsoft</groupId>
......
body,html{height:100%}body .ms-text2-hide,body .ms-text3-hide{display:-webkit-box;-webkit-box-orient:vertical}body .ms-menu .ms-menu-parent .ms-menu-child li a .caret,body .ms-menu .panel-group .panel-default .panel-body .dropdown-menu li a .caret{border-top:4px solid transparent;border-left:4px dashed;border-bottom:4px solid transparent}.scrollable{-webkit-overflow-scrolling:touch}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background-color:rgba(50,50,50,.3)}::-webkit-scrollbar-thumb:hover{background-color:rgba(50,50,50,.6)}::-webkit-scrollbar-track{background-color:rgba(50,50,50,.1)}::-webkit-scrollbar-track:hover{background-color:rgba(50,50,50,.2)}.has-feedback label~.form-control-feedback{top:0}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:4px}body{width:100%;background:#fcfcfc;line-height:21px;color:#555;overflow-y:auto}body .modal-dialog .modal-content .modal-body,body .pageNav{overflow:hidden}body .btn-group .btn{margin-right:0}body dl,body dl dd,body dl dt,body input,body ol,body ol li,body ul,body ul li{margin:0;padding:0;list-style:none}body .row{margin:0}body a,body a:active,body a:link,body a:visited{text-decoration:none;color:#2a6496}body .modal-dialog{width:35%;margin:50px auto}body .modal-dialog .modal-content{border-radius:4px}body .modal-dialog .modal-content .modal-header{padding:10px;background-color:#f5f5f5;color:#333;border-radius:4px}body .ms-upgrader-number{display:none}body .ms-text-hide{word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body .ms-text2-hide{text-overflow:ellipsis;-webkit-line-clamp:2}body .ms-text3-hide{text-overflow:ellipsis;-webkit-line-clamp:3}body .ms-text8-hide{text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:8;-webkit-box-orient:vertical}body .pageNav{text-align:right;margin-bottom:30px;padding-right:8px}body .ms-top{height:40px;width:100%;min-width:500px;background-color:#283649}body .ms-top .ms-top-logo{width:164px;float:left;padding:8px 0 0 14px}body .ms-top .ms-top a:focus,body .ms-top .ms-top a:hover{background:#e6e6e6;color:#1d2939}body .ms-top .ms-top-menu{height:100%}body .ms-top .ms-top-menu .btn-group .btn-group .ms-rg-top-bt{box-shadow:none;border:none;height:40px;text-shadow:none;color:#e4e4e4;background:repeat-x none}body .ms-top .ms-top-menu .btn-group .btn-group .ms-rg-top-bt .caret{border-top:4px dashed;border-right:4px solid transparent;border-left:4px solid transparent}body .ms-top .ms-top-menu .btn-group .btn-group .dropdown-menu{background-color:#1d2939}body .ms-top .ms-top-menu .btn-group .btn-group .dropdown-menu li>a{color:#e4e4e4}body .ms-top .ms-top-menu .btn-group .btn-group .dropdown-menu a:focus,body .ms-top .ms-top-menu .btn-group .btn-group .dropdown-menu a:hover{color:#1caf9a;text-decoration:none;padding-left:20px;background:repeat-x none}body .ms-top .ms-top-menu .btn-group .ms-top-menuchild{float:right;position:relative}body .ms-top .ms-top-menu .btn-group .ms-top-menuchild .ms-top-menuchildtext{width:45px;height:40px;color:#e4e4e4;float:right;text-align:center;cursor:pointer;line-height:40px}body .ms-top .ms-top-menu .btn-group .ms-top-menuchild .ms-top-menuchildTit{display:block;top:41px;left:8px;width:120px;color:#333}body .ms-top .ms-top-menu .btn-group .ms-top-menuchild .badge{position:absolute;right:45px;top:4px;padding:2px 5px;background-color:red}body .ms-top .ms-top-menu .btn-group .ms-top a:focus,body .ms-top .ms-top-menu .btn-group .ms-top a:hover,body .ms-top .ms-top-menu .btn-group .ms-top-menuchild a:focus,body .ms-top .ms-top-menu .btn-group .ms-top-menuchild a:hover{background:#e6e6e6;color:#1d2939}body .ms-menu{background-color:#1d2939;position:relative;top:40px;width:13%;height:100%;float:left;padding:0 15px;min-width:160px;overflow-y:auto}body .ms-menu .ms-menu-parent{background:#1d2939;border:none;color:#e4e4e4;padding-top:1px;border-radius:2px}body .ms-menu .ms-menu-parent .ms-menu-parent-header{background:#1d2939;border:none;color:#e4e4e4;padding:6px;border-radius:2px}body .ms-menu .ms-menu-parent .ms-menu-parent-header .icon-logo{margin-right:10px;display:block;float:left;position:relative;color:#e4e4e4;font-size:16px;height:25px}body .ms-menu .ms-menu-parent .ms-menu-parent-header .ms-menu-parent-title{font-size:14px;color:#e4e4e4;cursor:pointer}body .ms-menu .ms-menu-parent .ms-menu-parent-header .openMenu{display:block;float:right;font-size:17px;line-height:24px}body .ms-menu .ms-menu-parent .nav-title{background:#fff;border:none;color:#e4e4e4;padding:6px;border-radius:2px}body .ms-menu .ms-menu-parent .nav-title .icon-logo{margin-right:10px;display:block;float:left;position:relative;color:#1d2939;font-size:16px;height:25px}body .ms-menu .ms-menu-parent .nav-title .ms-menu-parent-title{font-size:14px;color:#1d2939;cursor:pointer}body .ms-menu .ms-menu-parent .nav-title .openMenu{display:block;float:right;font-size:17px;line-height:24px}body .ms-menu .ms-menu-parent .ms-menu-child{display:none;border:none;box-shadow:none;position:relative;background:#1d2939;margin:0;border-radius:0}body .ms-menu .ms-menu-parent .ms-menu-child li{border:none;padding:5px 0 5px 16px}body .ms-menu .ms-menu-parent .ms-menu-child li a{color:#e4e4e4}body .ms-menu .ms-menu-parent .ms-menu-child li a:focus,body .ms-menu .ms-menu-parent .ms-menu-child li a:hover{color:#1caf9a;text-decoration:none;padding-left:0}body .ms-menu .panel-group .panel-heading+.panel-collapse>.list-group,body .ms-menu .panel-group .panel-heading+.panel-collapse>.panel-body{border:none}body .ms-menu .panel-group{width:100%;float:left;padding:0}body .ms-menu .panel-group .panel{margin-top:1px;background-color:#1d2939}body .ms-menu .panel-group .panel-default{position:relative;border:none;box-shadow:none}body .ms-menu .panel-group .panel-default .panel-heading{background:#1d2939;border:none;color:#e4e4e4;padding:0;border-radius:2px}body .ms-menu .panel-group .panel-default .panel-heading .icon-logo{margin-right:10px;display:block;float:left;position:relative;color:#e4e4e4;font-size:16px;height:25px}body .ms-menu .panel-group .panel-default .panel-heading .panel-title{font-size:14px;color:#e4e4e4;cursor:pointer}body .ms-menu .panel-group .panel-default .panel-heading .openMenu{display:block;float:right;font-size:17px;line-height:24px}body .ms-menu .panel-group .panel-default .panel-default>.panel-heading a:focus,body .ms-menu .panel-group .panel-default .panel-heading a:hover{color:#1d2939;border-radius:2px}body .ms-menu .panel-group .panel-default .nav-active{background-color:#fff;border-radius:2px}body .ms-menu .panel-group .panel-default .nav-active .icon-logo,body .ms-menu .panel-group .panel-default .nav-active .panel-title{color:#1d2939}body .ms-menu .panel-group .panel-default .collapse .panel-body,body .ms-menu .panel-group .panel-default .panel-body{padding:0}body .ms-menu .panel-group .panel-default .panel-body .ms-leftMenu{display:block;border:none;box-shadow:none;position:relative;background:#1d2939;margin:0;border-radius:0}body .ms-menu .panel-group .panel-default .panel-body .dropdown-menu{background:#1d2939}body .ms-menu .panel-group .panel-default .panel-body .dropdown-menu li{border:none}body .ms-menu .panel-group .panel-default .panel-body .dropdown-menu li a{color:#e4e4e4;padding:5px 24px}body .ms-menu .panel-group .panel-default .panel-body .dropdown-menu li a:focus,body .ms-menu .panel-group .panel-default .panel-body .dropdown-menu li a:hover{color:#1caf9a;text-decoration:none;padding-left:24px;background:repeat-x none}body .ms-content{background-color:#fcfcfc;height:100%;overflow:hidden;padding:0}body .row .caption{text-align:center}body .row .caption p{height:22px;overflow:hidden}body .ms-content-body-title{border-bottom:1px solid #d3d7db;border-top:1px solid #eee;background:#fff;color:#666;height:44px;line-height:42px;padding-left:14px;width:100%;z-index:1000;text-align:right}body .ms-content-body-title span{text-align:left;float:left;font-weight:700;font-size:16px}body .ms-content-body-title .btn{margin-bottom:4px;margin-right:10px}body .ms-content-body-panel{padding:10px 10px 30px;width:100%;min-width:800px;z-index:999;height:100%;overflow-y:auto;overflow-x:hidden}body .ms-content-body-panel .ms-content-body-panel-nav{background:#fff;padding:10px 8px;border-top:2px #8296be solid}body .ms-content-body-panel .ms-panel-nav{width:100%;float:left;margin-bottom:10px}body .ms-content-body-panel .ms-panel-nav .btn{float:left;margin-right:5px}body .ms-content-body-panel .ms-panel-nav .form-control{width:125px;float:left;margin-right:5px}body .ms-content-body-panel .ms-panel-nav .form-seach{width:200px;float:left;margin-right:5px}body .ms-content-menu{width:15%;float:left;color:#666;background:#fff;height:100%;border-right:1px solid #ccc;overflow-y:auto}body .ms-content-body{height:100%;float:left;width:100%;overflow-y:hidden;overflow-x:hidden}body .ms-content-body .updatePrompt{margin:20px;border:1px solid #e0e0e0;padding:10px;border-radius:5px}body .ms-content-body .updatePrompt span{color:#0096fb;margin-right:10px}body .ms-content-body h3{padding-left:20px}body .ms-content-body .ms-content-msPlug{border-bottom:1px solid #ddd;padding-bottom:30px}body .ms-content-body .ms-content-msPlug .thumbnail{margin-bottom:30px}body .ms-content-body .ms-content-msPlug .thumbnail img.lazy{width:100%}body .ms-content-body .ms-content-msPlug,body .ms-content-body .ms-content-msTemplet{margin:15px 0;padding:0 10px}body .ms-content-body .ms-content-msPlug div,body .ms-content-body .ms-content-msTemplet div{padding-right:10px;padding-left:10px}body .ms-content-body .ms-content-msPlug div .thumbnail,body .ms-content-body .ms-content-msTemplet div .thumbnail{margin-bottom:20px;padding:5px}body .ms-content-body .ms-content-msPlug div .thumbnail .ms-plugTitle,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-templateTitle,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-plugTitle,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-templateTitle{text-align:left;font-size:20px;color:#333;height:55px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:0}body .ms-content-body .ms-content-msPlug div .thumbnail .ms-plugTitle span,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-templateTitle span,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-plugTitle span,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-templateTitle span{font-size:12px}body .ms-content-body .ms-content-msPlug div .thumbnail .ms-plugTitle .ms-plugShareHead,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-plugTitle .ms-templateShareHead,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-templateTitle .ms-plugShareHead,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-templateTitle .ms-templateShareHead,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-plugTitle .ms-plugShareHead,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-plugTitle .ms-templateShareHead,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-templateTitle .ms-plugShareHead,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-templateTitle .ms-templateShareHead{padding:0;float:left;margin-right:10px}body .ms-content-body .ms-content-msPlug div .thumbnail .ms-plugTitle .ms-plugShareHead img,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-plugTitle .ms-templateShareHead img,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-templateTitle .ms-plugShareHead img,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-templateTitle .ms-templateShareHead img,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-plugTitle .ms-plugShareHead img,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-plugTitle .ms-templateShareHead img,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-templateTitle .ms-plugShareHead img,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-templateTitle .ms-templateShareHead img{width:50px;border-radius:100%;height:50px}body .ms-content-body .ms-content-msPlug div .thumbnail .ms-plugTitle .ms-plugShareHead .lazy,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-plugTitle .ms-templateShareHead .lazy,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-templateTitle .ms-plugShareHead .lazy,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-templateTitle .ms-templateShareHead .lazy,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-plugTitle .ms-plugShareHead .lazy,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-plugTitle .ms-templateShareHead .lazy,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-templateTitle .ms-plugShareHead .lazy,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-templateTitle .ms-templateShareHead .lazy{background:url(http://static.ming-soft.net/msheader.jpg)}body .ms-content-body .ms-content-msPlug div .thumbnail .ms-plugTitle .ms-plugShareVersion p,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-plugTitle .ms-templateShareName p,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-templateTitle .ms-plugShareVersion p,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-templateTitle .ms-templateShareName p,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-plugTitle .ms-plugShareVersion p,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-plugTitle .ms-templateShareName p,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-templateTitle .ms-plugShareVersion p,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-templateTitle .ms-templateShareName p{font-size:12px;margin-bottom:5px}body .ms-content-body .ms-content-msPlug div .thumbnail .ms-plugTitle .ms-plugShareName p,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-templateTitle .ms-plugShareName p,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-plugTitle .ms-plugShareName p,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-templateTitle .ms-plugShareName p{font-size:16px;margin-bottom:5px}body .ms-content-body .ms-content-msPlug div .thumbnail .ms-plugTitle .ms-plugShareBb,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-templateTitle .ms-plugShareBb,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-plugTitle .ms-plugShareBb,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-templateTitle .ms-plugShareBb{float:left;padding:0;font-size:12px;color:#999}body .ms-content-body .ms-content-msPlug div .thumbnail .ms-plugTitle .ms-plugShareNew,body .ms-content-body .ms-content-msPlug div .thumbnail .ms-templateTitle .ms-plugShareNew,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-plugTitle .ms-plugShareNew,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-templateTitle .ms-plugShareNew{float:right;color:#fff;background:red;border-radius:4px;padding:0 3px;margin-top:0;border-bottom:#b00 2px solid;margin-right:-10px}body .ms-content-body .ms-content-msPlug div .thumbnail .ms-templatePic,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-templatePic{height:180px;overflow:hidden;margin-bottom:10px;padding:0}body .ms-content-body .ms-content-msPlug div .thumbnail .ms-templatePic img,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-templatePic img{width:100%}body .ms-content-body .ms-content-msPlug div .thumbnail .sharePic,body .ms-content-body .ms-content-msTemplet div .thumbnail .sharePic{height:225px;margin-bottom:0}body .ms-content-body .ms-content-msPlug div .thumbnail .ms-plugDescription,body .ms-content-body .ms-content-msTemplet div .thumbnail .ms-plugDescription{height:60px;overflow:hidden;margin-bottom:10px;word-break:break-all;padding:0;text-align:left}body .ms-content-body .ms-content-msPlug div .thumbnail .shareTitle,body .ms-content-body .ms-content-msTemplet div .thumbnail .shareTitle{text-align:center;font-size:20px}body .ms-content-body .ms-content-msPlug div .thumbnail .shareWelcome,body .ms-content-body .ms-content-msTemplet div .thumbnail .shareWelcome{height:26px;text-align:center;font-size:12px}body .ms-content table,body .ms-content-body table{width:100%;color:#666;border:none;background-color:#fff;padding:10px 0;box-shadow:0 0 1px #ccc}body .ms-content table tbody tr,body .ms-content-body table tbody tr{height:30px}body .ms-content table tbody tr .text-center,body .ms-content table tbody tr .text-left,body .ms-content-body table tbody tr .text-center,body .ms-content-body table tbody tr .text-left{padding:5px;line-height:26px;font-size:12px}body .ms-content .searchForm .control-label,body .ms-content .searchForm .ms-form-input,body .ms-content-body .searchForm .control-label,body .ms-content-body .searchForm .ms-form-input{line-height:35px}body .ms-content .searchForm,body .ms-content-body .searchForm{margin-bottom:10px;padding:10px 0;background-color:#fff;box-shadow:0 1px 5px #A1A1A1}body .ms-content .searchForm .row,body .ms-content-body .searchForm .row{margin-right:0}body .ms-content .searchForm .row .col-md-3,body .ms-content-body .searchForm .row .col-md-3{padding:0 10px}body .ms-content .searchForm .col-sm-2,body .ms-content-body .searchForm .col-sm-2{width:auto}body .ms-content .searchForm .ms-from-group-input,body .ms-content-body .searchForm .ms-from-group-input{padding-left:0;padding-right:0}body .ms-content .searchForm .ms-from-group-input input,body .ms-content-body .searchForm .ms-from-group-input input{width:100%}body .ms-content .searchForm .ms-from-group-input input[type=radio],body .ms-content .searchForm .ms-from-group-input input[type=checkbox],body .ms-content-body .searchForm .ms-from-group-input input[type=radio],body .ms-content-body .searchForm .ms-from-group-input input[type=checkbox]{width:auto}body .ms-content .searchForm .ms-from-group-input .input-group,body .ms-content .searchForm .ms-from-group-input select,body .ms-content-body .searchForm .ms-from-group-input .input-group,body .ms-content-body .searchForm .ms-from-group-input select{width:100%}body .ms-content .searchForm .form-group,body .ms-content-body .searchForm .form-group{margin-bottom:10px}body .ms-content .searchForm .checkbox,body .ms-content .searchForm .radio,body .ms-content-body .searchForm .checkbox,body .ms-content-body .searchForm .radio{margin-top:4px}body .ms-content .searchForm .bottom,body .ms-content-body .searchForm .bottom{text-align:right;padding:10px 10px 0 0;border-top:1px solid #EAE7E7}body .ms-content .searchForm .bottom .close,body .ms-content-body .searchForm .bottom .close{float:left}body .select2-container .select2-choice{height:34px}body .select2-container{border:none;padding:0}
\ No newline at end of file
ms.manager={initMenu:function(e){$("#ms-menu-parent-tmpl").tmpl(e).appendTo(".ms-menu"),$(".ms-menu-parent").each(function(s){var n=new Array;for(i=0;i<e.length;i++)e[i].modelModelId==$(this).data("model-id")&&n.push(e[i]);$("#ms-menu-child-tmpl").tmpl(n).appendTo($(this).find("ul:first"))}),$('[data-toggle="tooltip"]').tooltip(),$("body").delegate(".ms-menu-parent > div","click",function(){$(this).siblings(".ms-menu-child").hasClass("openMenuChild")?($(this).removeClass("nav-title"),$(this).addClass("ms-menu-parent-header"),$(this).siblings(".ms-menu-child").slideUp(),$(this).siblings(".ms-menu-child").removeClass("openMenuChild")):($(".ms-menu-parent").children("div").removeClass("nav-title"),$(".ms-menu-parent").children("div").addClass("ms-menu-parent-header"),$(".ms-menu-child").slideUp(),$(".ms-menu-child").removeClass("openMenuChild"),$(this).addClass("nav-title"),$(this).removeClass("ms-menu-parent-header"),$(this).siblings(".ms-menu-child").slideDown(),$(this).siblings(".ms-menu-child").addClass("openMenuChild"),$(this).siblings(".ms-menu-child > li").click(function(){$(this).siblings(".ms-menu-child").show(),$(".ms-menu-parent").siblings(".ms-menu-child > li >a").css("color","#e4e4e4"),$(this).siblings(".ms-menu-child > li > a").css("color","#1CAF9A")}))})}},$(function(){$("body").delegate(".ms-menu-parent","mouseover",function(){$(this).children("div").addClass("nav-title"),$(this).children("div").removeClass("ms-menu-parent-header")}),$("body").delegate(".ms-menu-parent","mouseout",function(){$(this).children(".ms-menu-child").hasClass("openMenuChild")?($(this).children("div").addClass("nav-title"),$(this).children("div").removeClass("ms-menu-parent-header")):($(this).children("div").removeClass("nav-title"),$(this).children("div").addClass("ms-menu-parent-header"))}),$('[data-toggle="tooltip"]').tooltip()});
\ No newline at end of file
//后台分页js
(function($){
var methods = {
init: function(options) {
var o = $.extend({
items: 1,//总数量
itemsOnPage: 1,//每页显示数量
pages: 1,//总页数
displayedPages: 5,//显示页数
edges: 3,//边界显示页数
currentPage: 1,
hrefTextPrefix: '#page-',//分页链接地址的的前缀
hrefTextSuffix: '',
prevText: '上一页',//上一页显示文字
nextText: '下一页',
ellipseText: '&hellip;',
cssStyle: 'light-theme',//分页使用的样式
labelMap: [],//分页显示的信息
selectOnClick: true,
onPageClick: function(pageNumber, event) {
//点击分页进行的操作
},
onInit: function() {
//初始化时进行的操作
}
}, options || {});
var self = this;
o.pages = o.pages ? o.pages : Math.ceil(o.items / o.itemsOnPage) ? Math.ceil(o.items / o.itemsOnPage) : 1;
o.currentPage = o.currentPage - 1;
o.halfDisplayed = o.displayedPages / 2;
this.each(function() {
self.addClass(o.cssStyle).data('pagination', o);
methods._draw.call(self);
});
o.onInit();
return this;
},
selectPage: function(page) {
methods._selectPage.call(this, page - 1);
return this;
},
prevPage: function() {
var o = this.data('pagination');
if (o.currentPage > 0) {
methods._selectPage.call(this, o.currentPage - 1);
}
return this;
},
nextPage: function() {
var o = this.data('pagination');
if (o.currentPage < o.pages - 1) {
methods._selectPage.call(this, o.currentPage + 1);
}
return this;
},
getPagesCount: function() {
return this.data('pagination').pages;
},
getCurrentPage: function () {
return this.data('pagination').currentPage + 1;
},
destroy: function(){
this.empty();
return this;
},
drawPage: function (page) {
var o = this.data('pagination');
o.currentPage = page - 1;
this.data('pagination', o);
methods._draw.call(this);
return this;
},
redraw: function(){
methods._draw.call(this);
return this;
},
disable: function(){
var o = this.data('pagination');
o.disabled = true;
this.data('pagination', o);
methods._draw.call(this);
return this;
},
enable: function(){
var o = this.data('pagination');
o.disabled = false;
this.data('pagination', o);
methods._draw.call(this);
return this;
},
updateItems: function (newItems) {
var o = this.data('pagination');
o.items = newItems;
o.pages = methods._getPages(o);
this.data('pagination', o);
methods._draw.call(this);
},
updateItemsOnPage: function (itemsOnPage) {
var o = this.data('pagination');
o.itemsOnPage = itemsOnPage;
o.pages = methods._getPages(o);
this.data('pagination', o);
methods._selectPage.call(this, 0);
return this;
},
_draw: function() {
var o = this.data('pagination'),
interval = methods._getInterval(o),
i,
tagName;
methods.destroy.call(this);
tagName = (typeof this.prop === 'function') ? this.prop('tagName') : this.attr('tagName');
var $panel = tagName === 'UL' ? this : $('<ul></ul>').appendTo(this);
//上一页
if (o.prevText) {
methods._appendItem.call(this, o.currentPage - 1, {text: o.prevText, classes: 'prev'});
}
// 开始位置的分页
if (interval.start > 0 && o.edges > 0) {
var end = Math.min(o.edges, interval.start);
for (i = 0; i < end; i++) {
methods._appendItem.call(this, i);
}
if (o.edges < interval.start && (interval.start - o.edges != 1)) {
$panel.append('<li class="disabled"><a>' + o.ellipseText + '</a></span></li>');
} else if (interval.start - o.edges == 1) {
methods._appendItem.call(this, o.edges);
}
}
// 中间段的分页显示
for (i = interval.start; i < interval.end; i++) {
methods._appendItem.call(this, i);
}
//结束的分页显示
if (interval.end < o.pages && o.edges > 0) {
if (o.pages - o.edges > interval.end && (o.pages - o.edges - interval.end != 1)) {
$panel.append('<li class="disabled"><a>' + o.ellipseText + '</a></li>');
} else if (o.pages - o.edges - interval.end == 1) {
methods._appendItem.call(this, interval.end++);
}
var begin = Math.max(o.pages - o.edges, interval.end);
for (i = begin; i < o.pages; i++) {
methods._appendItem.call(this, i);
}
}
// Generate Next link
if (o.nextText) {
methods._appendItem.call(this, o.currentPage + 1, {text: o.nextText, classes: 'next'});
}
},
//获取总页数
_getPages: function(o) {
var pages = Math.ceil(o.items / o.itemsOnPage);
return pages || 1;
},
//获取中间显示的页数
_getInterval: function(o) {
return {
start: Math.ceil(o.currentPage > o.halfDisplayed ? Math.max(Math.min(o.currentPage - o.halfDisplayed, (o.pages - o.displayedPages)), 0) : 0),
end: Math.ceil(o.currentPage > o.halfDisplayed ? Math.min(o.currentPage + o.halfDisplayed, o.pages) : Math.min(o.displayedPages, o.pages))
};
},
_appendItem: function(pageIndex, opts) {
var self = this, options, $link, o = self.data('pagination'), $linkWrapper = $('<li></li>'), $ul = self.find('ul');
pageIndex = pageIndex < 0 ? 0 : (pageIndex < o.pages ? pageIndex : o.pages - 1);
options = {
text: pageIndex + 1,
classes: ''
};
if (o.labelMap.length && o.labelMap[pageIndex]) {
options.text = o.labelMap[pageIndex];
}
options = $.extend(options, opts || {});
if (pageIndex == o.currentPage || o.disabled) {
if (o.disabled) {
$linkWrapper.addClass('disabled');
} else {
if (!options.classes) {
$linkWrapper.addClass('active');
}
}
$link = $('<a target="_self">' + (options.text) + '</a>');
} else {
$link = $('<a target="_self" href="' + o.hrefTextPrefix + (pageIndex + 1) + o.hrefTextSuffix + '" class="page-link">' + (options.text) + '</a>');
$link.click(function(event){
return methods._selectPage.call(self, pageIndex, event);
});
}
if (options.classes) {
$link.addClass(options.classes);
}
$linkWrapper.append($link);
if ($ul.length) {
$ul.append($linkWrapper);
} else {
self.append($linkWrapper);
}
},
_selectPage: function(pageIndex, event) {
var o = this.data('pagination');
o.currentPage = pageIndex;
if (o.selectOnClick) {
methods._draw.call(this);
}
return o.onPageClick(pageIndex + 1, event);
}
};
$.fn.pagination = function(method) {
// Method calling logic
if (methods[method] && method.charAt(0) != '_') {
return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
} else if (typeof method === 'object' || !method) {
return methods.init.apply(this, arguments);
} else {
$.error('Method ' + method + ' does not exist on jQuery.pagination');
}
};
})(jQuery);
// JavaScript Document
(function($) {
/**
* ajax提交表单
*
* @form 表单 格式:#表单id
* @config 配置扩展用,可包含参数:func,回调方法
*/
$.fn.postForm = function(form, config) {
var target = $(this);
if (isEmpty($(form).attr("action")) && isEmpty(config.action)) {
alert("配置错误:from表单不存在action属性");
return;
}
var func;
var action = $(form).attr("action");
var data_type = "json";
if (config != undefined) {
if (config.func != undefined) {
func = config.func;
}
if (config.action != undefined) {
action = config.action;
}
}
$.ajax({
type : "POST",
url : action,
dataType : data_type,
data : $(form).serialize(),
beforeSend : function() {
target.attr("disabled", true);
},
success : function(data) {
if (typeof (func) == "string") {
eval(func + "(data)");
} else if (typeof (func) == "function") {
func.call(this, data);
}
target.removeAttr("disabled");
}
});
}
/**
* 发起ajax连接请求
*
* @config(优先) 配置扩展用,可包含参数:func,回调方法
* config格式:{url:请求地址,data:请求参数,loadingText:加载时文字}
* 调用该方法的元素必须存在data-ajax-url参数; 参数:data-ajax-url必须
* data-ajax-data 可选
*/
$.fn.request = function(config) {
var target = $(this);
if (isEmpty(target.attr("data-ajax-url"))
&& isEmpty(config.url)) {
alert(target.selector + "配置错误:data-ajax-url属性不存在");
return;
}
var method = "POST";
var data_type = "json";
var func = null;
var _url = isEmpty(target.attr("data-ajax-url")) ? null
: target.attr("data-ajax-url");// 请求地址
var _data = isEmpty(target.attr("data-ajax-data")) ? null
: target.attr("data-ajax-data");// 请求参数
var _loadingText = isEmpty(target
.attr("data-ajax-loading-text")) ? null : target
.attr("data-ajax-loading-text");// 加载状态;
var data_type = isEmpty(target.attr("data-ajax-type")) ? null
: target.attr("data-ajax-type");// 返回数据类型
var text = target.text();
if (config != undefined) {
// 请求方法
if (config.method != undefined) {
var _method = config.method;
if (_method.toLowerCase() != "post"
|| _method.toLowerCase() != "get") {
method = _method;
}
}
// 回调方法
if (config.func != undefined) {
func = config.func;
}
// 返回数据类型
if (config.type != undefined) {
var _type = config.type.toLowerCase();
if (_type == "xml" || _type == "html"
|| _type == "script" || _type == "jsonp"
|| _type == "json" || _type == "text") {
data_type = _type;
}
}
if (config.url != undefined) {
_url = config.url;
}
if (config.data != undefined) {
_data = config.data;
}
if (config.loadingText != undefined) {
_loadingText = config.loadingText;
}
}
$.ajax({
type : method,
url : _url,
dataType : data_type,
data : _data,
beforeSend : function() {
if (target[0].nodeName == "INPUT") {
if (!isEmpty(_loadingText)) {
target.text(_loadingText);
}
target.attr("disabled", true);
}
},
success : function(data) {
if (typeof (func) == "string") {
eval(func + "(data)");
} else if (typeof (func) == "function") {
func.call(this, data);
}
if (target[0].nodeName == "INPUT") {
target.removeAttr("disabled");
target.text(text);
}
}
});
},
$.fn.noDataMsg = function(config) {
if (config != undefined) {
}
}
/**
* 判断是否为空, target:判断对象 message:提示信息 true:为空 false:不为空
*/
function isEmpty(target, message) {
if (target == undefined || target == null || target.trim() == ""
|| target.trim().length == 0) {
if (message != undefined) {
alert(message);
}
return true;
}
return false;
}
})(jQuery);
var Ms = {
_target : this,
"msg" : function(str, url) { // 提示消息 Ms.msg()调用
var obj = $("<div class='ms-msg'></div>");
$("body").append(obj);
obj.html(str).show();
obj.animate({
opacity : 1,
}, 500, 'ease', function() {
$(this).animate({
opacity : 0,
}, 800, 'ease', function() {
if (typeof (url) != "undefined") {
_target.loadUrl(url);
}
});
});
},
"loadUrl" : function(url) {
location.href = url;
},
"post" : function(url, params, func) { // 会员中心ajax请求类
$.ajax({
type : "POST",
url : url,
dataType : 'json',
data : params,
beforeSend : function() {
try {
_target.msg("加载中...");
} catch (e) {
}
},
success : function(json) {
func(json);
},
error : function(xhr, type) { // 服务器异常提示
try {
_target.msg("服务器繁忙稍后重试!");
} catch (e) {
}
}
});
},
"get" : function(url, params, func) { // 会员中心ajax请求类
$.ajax({
type : "GET",
url : url,
dataType : 'json',
data : params,
beforeSend : function() {
_target.msg("加载中...");
},
success : function(json) {
func(json);
},
error : function(xhr, type) { // 服务器异常提示
_target.msg("服务器繁忙稍后重试!");
}
});
},
"load" : function(url, method, params, func) { // 非会员中心ajax请求类
$.ajax({
type : method,
url : url,
dataType : 'json',
data : params,
beforeSend : function() {
_target.msg("加载中...");
},
success : function(json) {
if (func != null && func != undefined) {
func(json);
}
},
error : function(xhr, type) { // 服务器异常提示
_target.msg("服务器繁忙稍后重试!");
}
});
},
"setCookie" : function(key, value, time) { // 依赖zepto.cookie.min.js
// time单位为天数字
$.fn.cookie(key, value, {
path : '/',
expires : time
});
},
"getCookie" : function(key) { // 读取cookie
return decodeURIComponent($.fn.cookie(key));
},
"delCookie" : function(key) {
$.fn.cookie(key, null);
},
"queryString" : function(param) {
var svalue = location.search.match(new RegExp("[\?\&]" + param
+ "=([^\&]*)(\&?)", "i"));
return svalue ? svalue[1] : svalue;
},
"initModal" : function() { // 初始化模态框
// 弹出框处理
if ($("*[data-toggle='modal']").size() > 0) {
$("*[data-toggle='modal']").each(
function(index) {
$("body").on(
"tap",
"[data-target=\"" + $(this).attr("data-target")
+ "\"]",
function() {
if ($(this).attr("data-target") != "") {
openModal($(this).attr("data-target"),
w, h);
}
})
});
}
function openModal(modalId, w, h) {
$(modalId).show();
Ms.init(w, h);
if (!$(modalId).parent().hasClass("modalMask")) {
$(modalId)
.wrap(
"<div class='modalMask' style='width:"
+ w
+ "px;height:"
+ h
+ "px;position: absolute;background:rgba(0, 0, 0, 0.6) none repeat scroll 0 0 !important;filter:Alpha(opacity=80); background:#fff;z-index: 9997;top: 0;'>");
} else {
$(modalId).parent().show();
}
$(modalId).find(".ms-modal-button").css("line-height", "200%");
$(modalId).css(
"margin-left",
($(modalId).parent().width() - $(modalId).width()) / 2
+ "px");
$(modalId).css("margin-top", "10%");
$(modalId).on("tap", ".close", function() {
// $(modalId).hide();
// $(modalId).unwrap().parent();
hideModal(modalId);
})
}
function hideModal(modalId) {
$(modalId).parent().hide();
$(modalId).hide();
}
},
"browser" : {
versions : function() {
var u = navigator.userAgent, app = navigator.appVersion;
return {
android4 : u.indexOf('Android 4') > -1
&& u.indexOf('Linux') > -1,
android2 : u.indexOf('Android 2') > -1
&& u.indexOf('Linux') > -1,
iPhone : u.indexOf('iPhone') > -1,
iPad : u.indexOf('iPad') > -1,
iPod : u.indexOf('iPod') > -1,
};
}(),
language : (navigator.browserLanguage || navigator.language)
.toLowerCase()
}
};
var ms = Ms;
body {
padding-top: 40px;
padding-bottom: 40px;
background-color: #eee;
}
.form-signin {
max-width: 330px;
padding: 15px;
margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
margin-bottom: 10px;
}
.form-signin .checkbox {
font-weight: normal;
}
.form-signin .form-control {
position: relative;
height: auto;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 10px;
font-size: 16px;
}
.form-signin .form-control:focus {
z-index: 2;
}
.form-signin input[type="email"] {
margin-bottom: -1px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.form-signin input[name="verify"] {
margin-bottom:10px;
width:60%;
float:left;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.form-signin .checkimage {
width: 70px;
height:33px;
float: left;
margin: 5px 25px;
}
.ms-upgrader-number,.topDiv{display:none}.ms-text2-hide,.ms-text3-hide,.ms-text8-hide{-webkit-box-orient:vertical}.ms-text-hide,.ms-text2-hide,.ms-text3-hide,.ms-text8-hide{text-overflow:ellipsis}.email-login,.weixin-login{position:absolute;top:15%;left:32%}html{height:100%}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background-color:rgba(50,50,50,.3)}::-webkit-scrollbar-thumb:hover{background-color:rgba(50,50,50,.6)}::-webkit-scrollbar-track{background-color:rgba(50,50,50,.1)}::-webkit-scrollbar-track:hover{background-color:rgba(50,50,50,.2)}.topDiv{height:125px;width:100%}.ms-text-hide{word-break:keep-all;white-space:nowrap;overflow:hidden}.ms-text2-hide{display:-webkit-box;-webkit-line-clamp:2}.ms-text3-hide{display:-webkit-box;-webkit-line-clamp:3}.ms-text8-hide{display:-webkit-box;-webkit-line-clamp:8}.email-login{width:472px;border:1px solid #eaeaea;padding-top:20px;background:#fff;box-shadow:0 0 15px -5px #888}.email-login form{width:300px;margin:0 auto}.email-login .title{font-size:20px;text-align:center;margin-bottom:15px}.email-login .email-login-tit{margin-right:-15px;margin-left:-15px}.fixed-filter,.fixed-top{background:#fff;position:fixed}#login_container{margin:0 auto;width:472px;background:url(http://static.ming-soft.net/images/scorback.jpg)no-repeat #fcfcfc;text-align:center;padding-top:51px}.small-font{font-size:12px}.padding-clear{padding:0}.pageNav{text-align:right;margin-bottom:30px;padding-right:8px;overflow:hidden}.fixed-top{top:-10px;z-index:1000;left:0;margin-left:-15px;padding-left:15px}.fixed-filter{top:42px;z-index:1000;width:100%;left:0;box-shadow:0 5px 10px #d3d3d3}.mstore-content{overflow:auto;padding:15px;min-width:1100px}.mstore-content .free-font{color:#1E8BDD;font-weight:700}.mstore-content .price-font{color:#FB803C;font-weight:700}.mstore-content .glyphicon-star,.mstore-content .glyphicon-star-empty{color:#fb803c}.mstore-content .glyphicon-heart{color:#d9534f}.mstore-content .carousel{height:240px}.mstore-content .item img{margin:0 auto;max-width:100%}.mstore-content .group-button-active{background-color:#e6e6e6}.mstore-content .mswidth{width:100%}.mstore-content .content-new{margin-top:15px;border:1px solid #ddd;overflow:hidden;border-bottom:0}.mstore-content .content-new .new-upload{width:78%;float:left}.mstore-content .content-new .new-upload .table-title{padding:10px;height:40px;border-bottom:1px solid #ddd;border-right:1px #ddd solid;clear:both;font-weight:700;font-size:18px}.mstore-content .content-new .new-upload ul li{height:260px;border-radius:0;margin:0;border-left:none;border-top:none;float:left;cursor:pointer}.mstore-content .content-new .new-upload ul li .pic{display:block;height:74%;overflow:hidden;margin-bottom:5px}.mstore-content .content-new .new-upload ul li .share-info{min-width:220px;width:80%;float:left}.mstore-content .content-new .new-upload ul li .share-info .share-title{margin:5px 0}.mstore-content .content-new .new-upload ul li .share-user{width:40px;float:right;height:62px;overflow:hidden}.mstore-content .content-new .new-upload ul li .share-user img{width:100%}.mstore-content .content-new .new-upload ul li .share-user p{font-size:12px;line-height:25px}.mstore-content .content-new .order-user-list{width:22%;float:left;overflow:hidden;height:520px}.mstore-content .content-new .order-user-list .list-title{border-bottom:1px solid #ddd;margin:10px;padding-bottom:10px;font-weight:700}.mstore-content .order-user{width:33%;max-width:90px;float:left;height:95px;overflow:hidden;line-height:38px}.mstore-content .order-user p{font-size:12px}.mstore-content .content-people{border:1px solid #ddd;overflow:hidden;border-top:0}.mstore-content .content-people .solve-user-list{width:78%;float:left}.mstore-content .content-people .solve-user-list .table-title{padding:10px;height:40px;border-bottom:1px solid #ddd;border-right:1px #ddd solid;clear:both;font-weight:700;font-size:18px}.mstore-content .content-people .solve-user-list .solve-user-detail{border-radius:0;margin:0;border-left:none;height:295px;border-top:none;border-bottom:none}.mstore-content .content-people .solve-user-list .solve-user-detail .solve-user-head{width:50px;float:left;padding-right:5px}.mstore-content .content-people .solve-user-list .solve-user-detail .solve-user-info{float:left}.mstore-content .content-people .solve-user-list .solve-user-detail .solve-user-info .solve-heart{margin-top:5px}.mstore-content .content-people .solve-user-list .solve-user-detail .solve-descrip{height:60%;overflow:hidden;width:100%;padding:5px;line-height:23px}.mstore-content .content-people .solve-user-list .solve-user-detail .solve-bottom{position:absolute;bottom:10px;right:10px}.mstore-content .content-people .solve-user-list .solve-user-detail .solve-bottom .solve-btn{padding:0 10px}.mstore-content .content-people .download-top{width:22%;float:left}.mstore-content .content-people .download-top .list-title{border-bottom:1px solid #ddd;margin:10px;padding-bottom:10px;font-weight:700}.mstore-content .content-people .download-top .download-info{width:100%;margin-bottom:9px;float:left}.mstore-content .content-people .download-top .download-info .download-head{width:40px;float:left;margin:0 10px}.mstore-content .content-people .download-top .download-info strong{cursor:pointer}.mstore-content .model-all{margin:10px 0}.mstore-content .model-filter{margin-bottom:10px;padding:10px 15px}.mstore-content .nav-pills li{cursor:pointer}.mstore-content .nav-pills li a{padding:1px 20px}.mstore-content .share-detail{padding:0 5px}.mstore-content .share-detail .thumbnail{height:260px;cursor:pointer;margin-bottom:10px}.mstore-content .share-detail .pic{display:block;height:74%;overflow:hidden;margin-bottom:5px}.mstore-content .share-detail .pic .tit{position:absolute;padding:5px;top:5px;right:10px;text-align:center;color:#fff;background:#868686}.mstore-content .share-detail .pic .describe{color:#666;line-height:25px;margin-top:4px;font-size:12px;text-decoration:none}.mstore-content .share-detail .pic .describe:hover,.mstore-content .share-detail .pic:hover{text-decoration:none}.mstore-content .share-detail .share-info{width:70%;float:left}.mstore-content .share-detail .share-info .share-title{margin:5px 0}.mstore-content .share-detail .share-user{width:40px;float:right;height:62px;overflow:hidden}.mstore-content .share-detail .share-user img{width:100%}.mstore-content .share-detail .share-user p{font-size:12px;line-height:25px}.mstore-content .share-detail-user{margin-bottom:10px;overflow:hidden}.mstore-content .share-detail-user img{width:50px;height:50px;margin-right:10px}.mstore-content .read-more{margin-left:20px;color:#fff}.mstore-content .comment-info{border-bottom:1px dotted #ddd;padding-bottom:15px}.mstore-content .comment-info .comment-name{color:#337ab7;font-size:14px;font-weight:700}.mstore-content #detail-comment{max-height:500px;overflow-y:auto}
\ No newline at end of file
/* ------- This is the CSS Reset ------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a,
abbr, acronym, address, big, cite, code, del,
dfn, em, img, ins, kbd, q, s, samp, small,
strike, strong, sub, sup, tt, var, u, i, center,
dl, dt, dd, ol, ul, li, fieldset, form, label,
legend, table, caption, tbody, tfoot, thead, tr,
th, td, article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, menu,
nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* ------- HTML5 display-role reset for older browsers ------- */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/*
*
* Template Name: Fullscreen Login
* Description: Login Template with Fullscreen Background Slideshow
* Author: Anli Zaimi
* Author URI: http://azmind.com
*
*/
body {
background: #f8f8f8;
font-family: 'PT Sans', Helvetica, Arial, sans-serif;
text-align: center;
color: #fff;
}
.page-container {
position: relative;
top:25%;
}
h1 {
font-size: 30px;
font-weight: 700;
text-shadow: 0 1px 4px rgba(0,0,0,.2);
}
form {
position: relative;
width: 305px;
margin: 15px auto 0 auto;
text-align: center;
}
input {
width: 300px;
height: 42px;
margin-top: 10px;
padding: 0 15px;
background: #2d2d2d; /* browsers that don't support rgba */
background: rgba(45,45,45,.15);
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
border: 1px solid #3d3d3d; /* browsers that don't support rgba */
border: 1px solid rgba(255,255,255,.15);
-moz-box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset;
-webkit-box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset;
box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset;
font-family: 'PT Sans', Helvetica, Arial, sans-serif;
font-size: 14px;
color: #fff;
text-shadow: 0 1px 2px rgba(0,0,0,.1);
-o-transition: all .2s;
-moz-transition: all .2s;
-webkit-transition: all .2s;
-ms-transition: all .2s;
}
input:-moz-placeholder { color: #fff; }
input:-ms-input-placeholder { color: #fff; }
input::-webkit-input-placeholder { color: #fff; }
input:focus {
outline: none;
-moz-box-shadow:
0 2px 3px 0 rgba(0,0,0,.1) inset,
0 2px 7px 0 rgba(0,0,0,.2);
-webkit-box-shadow:
0 2px 3px 0 rgba(0,0,0,.1) inset,
0 2px 7px 0 rgba(0,0,0,.2);
box-shadow:
0 2px 3px 0 rgba(0,0,0,.1) inset,
0 2px 7px 0 rgba(0,0,0,.2);
}
button {
cursor: pointer;
width: 300px;
height: 44px;
margin-top: 25px;
padding: 0;
background: #ef4300;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
border: 1px solid #ff730e;
-moz-box-shadow:
0 15px 30px 0 rgba(255,255,255,.25) inset,
0 2px 7px 0 rgba(0,0,0,.2);
-webkit-box-shadow:
0 15px 30px 0 rgba(255,255,255,.25) inset,
0 2px 7px 0 rgba(0,0,0,.2);
box-shadow:
0 15px 30px 0 rgba(255,255,255,.25) inset,
0 2px 7px 0 rgba(0,0,0,.2);
font-family: 'PT Sans', Helvetica, Arial, sans-serif;
font-size: 14px;
font-weight: 700;
color: #fff;
text-shadow: 0 1px 2px rgba(0,0,0,.1);
-o-transition: all .2s;
-moz-transition: all .2s;
-webkit-transition: all .2s;
-ms-transition: all .2s;
}
button:hover {
-moz-box-shadow:
0 15px 30px 0 rgba(255,255,255,.15) inset,
0 2px 7px 0 rgba(0,0,0,.2);
-webkit-box-shadow:
0 15px 30px 0 rgba(255,255,255,.15) inset,
0 2px 7px 0 rgba(0,0,0,.2);
box-shadow:
0 15px 30px 0 rgba(255,255,255,.15) inset,
0 2px 7px 0 rgba(0,0,0,.2);
}
button:active {
-moz-box-shadow:
0 15px 30px 0 rgba(255,255,255,.15) inset,
0 2px 7px 0 rgba(0,0,0,.2);
-webkit-box-shadow:
0 15px 30px 0 rgba(255,255,255,.15) inset,
0 2px 7px 0 rgba(0,0,0,.2);
box-shadow:
0 5px 8px 0 rgba(0,0,0,.1) inset,
0 1px 4px 0 rgba(0,0,0,.1);
border: 0px solid #ef4300;
}
.error {
display: none;
position: absolute;
top: 27px;
right: -55px;
width: 40px;
height: 40px;
background: #2d2d2d; /* browsers that don't support rgba */
background: rgba(45,45,45,.25);
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
}
.error span {
display: inline-block;
margin-left: 2px;
font-size: 40px;
font-weight: 700;
line-height: 40px;
text-shadow: 0 1px 2px rgba(0,0,0,.1);
-o-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
}
.connect {
width: 305px;
margin: 35px auto 0 auto;
font-size: 18px;
font-weight: 700;
text-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.connect a {
display: inline-block;
width: 32px;
height: 35px;
margin-top: 15px;
-o-transition: all .2s;
-moz-transition: all .2s;
-webkit-transition: all .2s;
-ms-transition: all .2s;
}
.connect a.facebook { background: url(../images/facebook.png) center center no-repeat; }
.connect a.twitter { background: url(../images/twitter.png) center center no-repeat; }
.connect a:hover { background-position: center bottom; }
/*
Supersized - Fullscreen Slideshow jQuery Plugin
Version : 3.2.7
Site : www.buildinternet.com/project/supersized
Author : Sam Dunn
Company : One Mighty Roar (www.onemightyroar.com)
License : MIT License / GPL License
*/
* { margin:0; padding:0; }
body { background:#111; height:100%; }
img { border:none; }
#supersized-loader { position:absolute; top:50%; left:50%; z-index:0; width:60px; height:60px; margin:-30px 0 0 -30px; text-indent:-999em; background:url(../images/progress.gif) no-repeat center center;}
#supersized { display:block; position:fixed; left:0; top:0; overflow:hidden; z-index:-999; height:100%; width:100%; }
#supersized img { width:auto; height:auto; position:relative; display:none; outline:none; border:none; }
#supersized.speed img { -ms-interpolation-mode:nearest-neighbor; image-rendering: -moz-crisp-edges; } /*Speed*/
#supersized.quality img { -ms-interpolation-mode:bicubic; image-rendering: optimizeQuality; } /*Quality*/
#supersized li { display:block; list-style:none; z-index:-30; position:fixed; overflow:hidden; top:0; left:0; width:100%; height:100%; background:#111; }
#supersized a { width:100%; height:100%; display:block; }
#supersized li.prevslide { z-index:-20; }
#supersized li.activeslide { z-index:-10; }
#supersized li.image-loading { background:#111 url(../images/progress.gif) no-repeat center center; width:100%; height:100%; }
#supersized li.image-loading img{ visibility:hidden; }
#supersized li.prevslide img, #supersized li.activeslide img{ display:inline; }
#supersized img { max-width: none !important }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment