diff --git a/code/apps/common/interfaces/login.js b/code/apps/common/interfaces/login.js index da69dce..ae44b8a 100644 --- a/code/apps/common/interfaces/login.js +++ b/code/apps/common/interfaces/login.js @@ -2,29 +2,29 @@ var request = require('request'); var _ = require('lodash'); var fs = require('fs'); -var Iaccount=global.Register.system; +var Iaccount = global.Register.system; -var Utils={ - createrMenus:function(data){ +var Utils = { + createrMenus: function (data) { var menu = []; - for(var key in data){ - - var v=data[key]; - var item = { - title:v.menu_name, + for (var key in data) { + + var v = data[key]; + var item = { + title: v.menu_name, } - if(v.parent_id === "0") { + if (v.parent_id === "0") { item.parent = 'menu-template'; var itemSubs = []; - _.forEach(v.sub,function(val) { + _.forEach(v.sub, function (val) { var sub = { - title:val.menu_name, - href:val.menu_url, + title: val.menu_name, + href: val.menu_url, icon: 'list-alt' } itemSubs.push(sub); }); - + item.menu = itemSubs; } menu.push(item); @@ -33,118 +33,108 @@ var Utils={ } } -module.exports={ - namespace:"common", - apis:{ - login:function(req,callback){ - var user = req.body.user; - var password = req.body.password; - var userInfo = {},result={code:400,message:"登录失败"}; - //调用登陆 - console.log(Iaccount.login); - return request.post({ - url: Iaccount.login, - form:'["'+user+'","'+password+'",'+Iaccount.WEBSITE+']' - },function(error, httpResponse, rebody){ - if (!error && httpResponse.statusCode == 200) { - var userData = JSON.parse(rebody).data; - console.log("登录接口成功"); - userInfo = { - auth: userData, - uid: userData.pid, - name: userData.truename - }; - //调用菜单 - request.post({ - url: Iaccount.getResourceByPid, - form: '[' + userData.pid + ',' + userData.role_id + ',' + Iaccount.WEBSITE + ']' - }, function (error1, httpResponse1, rebody1) { - if (!error1 && httpResponse1.statusCode == 200) { - userInfo.menu = Utils.createrMenus(JSON.parse(rebody1).data); - console.log("调用菜单成功,开始调用权限:"+Iaccount.allRight); - //调用权限 - request.post({ - url: Iaccount.allRight, - form: '[false]' - }, function (error2, httpResponse2, rebody2) { - console.log("调用权限"); - if (!error2 && httpResponse2.statusCode == 200&&rebody2) { - - userInfo.right = {}; - JSON.parse(rebody2).data.forEach(function (data) { - if (data.platform_id == Iaccount.WEBSITE) { - userInfo.right[data.path] = true; - } - }); - //获取店铺 - console.log("店铺URL:"+Iaccount.getShopList); - request.post({ - 'url': Iaccount.getShopList, - 'headers': { - "x-user-id": userInfo.uid - } - }, function (error3, httpResponse3, rebody3) { - console.log("获取店铺"); - if (!error3 && httpResponse3.statusCode == 200) { - userInfo.shopList = []; - if (JSON.parse(rebody3).data) { - JSON.parse(rebody3).data.forEach(function (data, index) { - if (!index) { - userInfo.auth.shopName = data.shopName; - userInfo.auth.shopId = data.shopsId; - } - userInfo.shopList.push({ - name: data.shopName, - id: data.shopsId - }); - }); - } else { - result = { code: 400, message: "该用户没有店铺" }; - } - - - /*保存session 成功*/ - req.session.user = userInfo; - console.log("保存session 成功"); - - request.post({ - 'url': Iaccount.url+'/login/sessions', - form: { - 'account': user, - 'password': password, - 'refer': '%2Faccount%2Fprofile%2Fdisplay' - } - }, function (error4, httpResponse4, rebody4) { - if (!error4) { - var cookie = httpResponse4.caseless.dict["set-cookie"]; - if (cookie && cookie.length > 0) { - req.session.gray = cookie[0]; - } - result = { code: 200, message: "登录成功" } - return callback(null, result); - } else { - return callback(null, result); - } - }); - } else { - console.log(error3); - return callback(null, result); - } - }); - } else { - return callback(null, result); - } +module.exports = { + namespace: "common", + apis: { + Ilogin: { + title:'登录接口', + url: Iaccount.login, + form: '["{{user}}","{{password}}",{{website}}]', + params: { + user: { type: String }, + password: { type: String }, + website: {type:Number,default: Iaccount.WEBSITE} + } + }, + getResourceByPid: { + title:'菜单接口', + url: Iaccount.getResourceByPid, + form: '[{{pid}},{{role_id}},{{website}}]', + params: { + pid: { type: Number }, + role_id: { type: Number }, + website: { type: Number, default: Iaccount.WEBSITE } + } + }, + allRight: { + title: '获取权限', + url: Iaccount.allRight, + form: '[false]' + }, + getShopList: { + title:'获取当前用户所有店铺', + url: Iaccount.getShopList, + form:true, + headers: { + "x-user-id": {type:Number} + } + }, + sessionAsync: { + title:'与老系统session同步', + url: Iaccount.url + '/login/sessions', + outobj: "response", + form: {'account':'{{user}}','password':'{{password}}','refer': '%2Faccount%2Fprofile%2Fdisplay'}, + params: { + user: { type: String }, + password: { type: String } + } + }, + login: function (req, callback, common) { + var userInfo = {},result = { code: 400, message: "登录失败" },isSuccess=false; + var user = req.body.user; + var password = req.body.password; + var errcallback = function (err) { + return callback(err, result); + } + //promise.all(Ilogin,allRight,sessionAsync).then(a,b,c); + + common.Ilogin(user, password).allRight().sessionAsync(user, password).done(function (IloginRes,allRes,sesRes) { + var userData = IloginRes.data, cookie = sesRes.caseless.dict["set-cookie"]; + userInfo = { auth: userData, uid: userData.pid, name: userData.truename, right: {},shopList:[]}; + allRes.data.forEach(function (data) { + if (data.platform_id == Iaccount.WEBSITE) { + userInfo.right[data.path] = true; + } + }); + common.getResourceByPid(userData.pid, userData.role_id) + .getShopList({ "@x-user-id": userInfo.uid }).done(function (getRRes, shopRes) { + userInfo.menu = Utils.createrMenus(getRRes.data); + if (shopRes.data) { + shopRes.data.forEach(function (data, index) { + if (!index) { + userInfo.auth.shopName = data.shopName; + userInfo.auth.shopId = data.shopsId; + } + userInfo.shopList.push({ + name: data.shopName, + id: data.shopsId }); - } else { - return callback(null, result); + }); + req.session.user = userInfo; + if (cookie && cookie.length > 0) { + req.session.gray = cookie[0]; + result = { code: 200, message: "登录成功" }; } - }); - } else { + console.log(result); + + } else { + result = { code: 400, message: "该用户没有店铺" }; + } return callback(null, result); - } - }); - }, - gray: function (req, callback){ + },errcallback); + }, errcallback); + }, + isUsedMenuAuth:{ + title:'检查有没有权限', + url:Iaccount.isUsedMenuAuth, + form:'[{{pid}},{{role_id}},"{{path}}","","",' + Iaccount.WEBSITE + ']', + params:{ + pid:{type:Number}, + role_id:{type:Number}, + path:{type:String} + } + }, + gray: function (req, callback,common) { var result = { code: 201, message: "没有权限" }; if (req.session && req.session.user) { var user = req.session.user; @@ -157,30 +147,37 @@ module.exports={ 'x-shop-id': user.auth.shopId }; if (path && user.right[path]) { - request({ - url: Iaccount.isUsedMenuAuth, - method: 'POST', - form: '[' + user.auth.pid + ',' + user.auth.role_id + ', "' + path + '", "", "", ' + Iaccount.WEBSITE + ']' - }, function (error, httpResponse, rebody) { - if (!error && httpResponse.statusCode == 200) { - result = { code: 200, message: "具有权限" }; - return callback(error, result); - } else { - return callback(error, result); - } + common.isUsedMenuAuth(user.auth.pid,user.auth.role_id,path).done(function(isURes){ + result = { code: 200, message: "具有权限" }; + return callback(null, result); + },function(error){ + return callback(error, result); }); } else { result = { code: 200, message: "不受权限控制" }; return callback(null, result); } - } else { - return callback(null,result); + } else { + return callback(null, result); } }, - changeShop: function (req, callback) { + IchangeShops:{ + title:'调用老系统的切换店铺的接口', + url: Iaccount.changeShops + '?shops_id={{shops_id}}', + method:'GET', + outobj:'response', + headers: { + cookie: { type: String } + }, + params: { + shops_id: { type: Number }, + '@cookie': {type:String} + } + }, + changeShop: function (req, callback,common) { var shopId = Number(req.query.shops_id); var cookie = req.session.gray; - var result = {code:500,message:"something wrong!"}; + var result = { code: 500, message: "something wrong!" }; //设置当前的店铺信息 if (req.session.user && req.session.user.auth) { @@ -191,21 +188,14 @@ module.exports={ }; }); } - //调用老系统的切换店铺的接口 - request.post({ - 'method': 'GET', - 'headers': { - 'cookie': cookie - }, - 'url': Iaccount.changeShops + '?shops_id=' + shopId - }, function (error, httpResponse, rebody) { - if (!error && httpResponse.statusCode == 200) { + common.IchangeShops(shopId,cookie).done(function(IchRes){ + if(IchRes.statusCode == 200){ result = { code: 200, message: "success" }; return callback(null, result); - } else { + }else{ return callback(null, result); } }); } - } - } \ No newline at end of file + } +} \ No newline at end of file diff --git a/code/apps/report/interfaces/report.js b/code/apps/report/interfaces/report.js index 0992a75..a53f7b4 100644 --- a/code/apps/report/interfaces/report.js +++ b/code/apps/report/interfaces/report.js @@ -6,7 +6,7 @@ module.exports={ getShopBusinessOverview:{ title: "获取店铺的经营指标:一个自然日内有效订单商品件数、有效订单商品金额", - domain:"{bigdata}", + domain:"{{bigdata}}", url: "/bigdata/getShopBusinessOverview", params:{ dateId:{type:String} @@ -15,7 +15,7 @@ module.exports={ getShopBrandRank:{ title: "获取店铺的品牌排名,当前等级、排名、上升名词", - domain:"{bigdata}", + domain:"{{bigdata}}", url: "/bigdata/getShopBrandRank", params:{ dateId:{type:String} @@ -24,7 +24,7 @@ module.exports={ getOrdersGoodsAccountRptList:{ title:"对账结算", - domain:"{bigdata}", + domain:"{{bigdata}}", url: "/shop/getOrdersGoodsAccountRptList" }, @@ -32,7 +32,7 @@ module.exports={ getOrdersGoodsRptList:{ title:'销售统计', - domain:'{bigdata}', + domain:'{{bigdata}}', url:'/shop/getOrdersGoodsRptList', params:{ page:{type:Number}, @@ -51,7 +51,7 @@ module.exports={ getReturnGoodsRptList:{ title:'退货统计', - domain:'{bigdata}', + domain:'{{bigdata}}', url:'/shop/getReturnGoodsRptList', params:{ page:{type:Number}, @@ -72,7 +72,7 @@ module.exports={ getStorageInRptList:{ title:'发货入库统计', - domain:'{bigdata}', + domain:'{{bigdata}}', url:'/shop/getStorageInRptList', params:{ page:{type:Number}, @@ -89,7 +89,7 @@ module.exports={ getStorageOutRptList:{ title:'请退出库统计', - domain:'{bigdata}', + domain:'{{bigdata}}', url:'/shop/getStorageOutRptList', params:{ page:{type:Number}, @@ -108,7 +108,7 @@ module.exports={ getStorageStatisticsList:{ title:"查询库存列表", - domain:"{bigdata}", + domain:"{{bigdata}}", url:"/bigdata/getStorageStatisticsList", params:{ page:{type:Number}, diff --git a/code/index.js b/code/index.js index 43dacef..5e6262d 100644 --- a/code/index.js +++ b/code/index.js @@ -11,7 +11,7 @@ var grayroute = require("./mid/grayrouter"); /*session 配置*/ var options = { - secret: 'yohobuy.portal', //session配置 + secret: 'yohobuy.shops', //session配置 cookie: {secure: false, maxAge: 3600000}, resave: false, saveUninitialized: true @@ -28,7 +28,7 @@ var Iaccount = { isUsedMenuAuth: oldSerDomain + '/service/account/v1/profile/authPath', allRight: oldSerDomain + '/service/setting/v1/action/getAllAction', - getShopList: '{domain}/ShopsRest/queryShopsByAdminPid', + getShopList: '{{domain}}/ShopsRest/queryShopsByAdminPid', // 灰度代理 url: 'http://shops.yohobuy.com', @@ -97,12 +97,14 @@ if(process.env.NODE_ENV==="test"){ apiCofig.EnvConst.domain="http://10.66.100.6:8088/platform"; apiCofig.EnvConst.bigdata="http://10.66.100.7:8091/bigdata"; } -// if(process.env.NODE_ENV==="production"){ -// apiCofig.EnvConst.domain="http://172.31.23.161:8088/platform"; -// apiCofig.EnvConst.bigdata="http://172.31.23.161:8091/bigdata"; -// } +// 灰度 if(process.env.NODE_ENV==="production"){ - apiCofig.EnvConst.domain="http://172.31.20.7:8088/platform"; + apiCofig.EnvConst.domain="http://172.31.23.161:8088/platform"; apiCofig.EnvConst.bigdata="http://172.31.23.161:8091/bigdata"; } +//线上 +// if(process.env.NODE_ENV==="production"){ +// apiCofig.EnvConst.domain="http://172.31.20.7:8088/platform"; +// apiCofig.EnvConst.bigdata="http://172.31.23.161:8091/bigdata"; +// } module.exports = require('./libs/App')(apiCofig); \ No newline at end of file diff --git a/code/libs/Controller.js b/code/libs/Controller.js index b652b27..ecdcdbc 100644 --- a/code/libs/Controller.js +++ b/code/libs/Controller.js @@ -82,7 +82,6 @@ Controller.prototype.__define=function(method,router,view,apis,callback,clientmo } else { res.json(model); } - return; }); //调用接口获取数据 me.interfaces.require.apply(me.interfaces,[apis].concat(args)); diff --git a/code/libs/Interfacer.js b/code/libs/Interfacer.js index 8545c4d..75d5cc3 100644 --- a/code/libs/Interfacer.js +++ b/code/libs/Interfacer.js @@ -1,167 +1,389 @@ var util = require('util'); -var Emitter=require('events'); +var Emitter = require('events'); var Request = require('request'); -var async=require('async'); +var async = require('async'); /*接口*/ var _ = require('lodash'); -var Utils=require('./Utils'); +var Utils = require('./Utils'); -var Interfacer=function(config,app){ - this.config=config; - this.CONSTS=app.get("Register"); - this.config.domain=this.config.domain||app.get("Register").domain; - this.apis={}; - Emitter.call(this); +var Interfacer = function (config, app) { + this.config = config; + this.CONSTS = app.get("Register"); + this.config.domain = this.config.domain || app.get("Register").domain; + this.apis = {}; + Emitter.call(this); }; -util.inherits(Interfacer,Emitter); +util.inherits(Interfacer, Emitter); -Interfacer.prototype.register = function(mos) { - var me=this,name=mos.namespace; - if(!name){ - console.info(" Interfacer name can not empty"); - } - for(var key in mos.apis){ - var name_key=name+"_"+key; - if(me.isExisted(name_key)){ - console.info("can not add repeat Interfacer key,please checkout"); - } - /*需要进行验证判断*/ - me.apis[name_key]=mos.apis[key]; - } +Interfacer.prototype.register = function (mos) { + var me = this, name = mos.namespace; + if (!name) { + console.info(" Interfacer name can not empty"); + } + for (var key in mos.apis) { + var name_key = name + "_" + key; + if (me.isExisted(name_key)) { + console.info("can not add repeat Interfacer key,please checkout"); + } + /*需要进行验证判断*/ + me.apis[name_key] = mos.apis[key]; + } }; -Interfacer.prototype.isExisted=function(key){ - return !!this.apis[key]; +Interfacer.prototype.isExisted = function (key) { + return !!this.apis[key]; }; +Interfacer.prototype.getInterfacerByNameSpace = function (namespace) { + var me = this; + if (!namespace) return {}; + var apis = {}, len = namespace.length; + for (var key in me.apis) { + if (key.slice(0, len + 1) === namespace + "_") { + var name = key.slice(len + 1); + if (typeof me.apis[key] !== "function") { + apis[name] = me.apis[key]; + } + } + } + return apis; +} + +function __getArgs(str) { + var arr = str.toString().match(/^function\s*[^\(]*\(\s*([^\)]*)\)/m)[1].split(','); + return (arr.length == 1 && arr[0] == "")?[]:arr; +} -function __requestApi(config, apiOpt, req, callback){ - var me=this; +function __requestApi(config, apiOpt, req, callback) { + var me = this; if (typeof apiOpt == "function") { - return apiOpt.call(0, req, function (err, result) { - req._yoheaders = req._yoheaders; - return callback(null, result); - }); - } - var method = apiOpt.method || "POST"; - var data={}; - if(apiOpt.params&&(_.isArray(apiOpt.params)||_.isPlainObject(apiOpt.params))){ - if(_.isArray(apiOpt.params)){ - apiOpt.params.forEach(function(param){ - var name=param.name; - if(req.param(name)){ - if(param.type.toUpperCase()=="NUMBER"){ - data[name]=Number(req.param(name)); - }else{ - data[name]=String(req.param(name)); - } - } - }); - }else - if(_.isPlainObject(apiOpt.params)){ - for(var name in apiOpt.params){ - var param=apiOpt.params[name]; - if(param.default){ - data[name]=param.type(param.default); - } - if(req.param(name)){ - data[name]=param.type(req.param(name)); - } - } - } - } - var options={ - url: Utils.template((apiOpt.domain||config.domain)+apiOpt.url,me.CONSTS), - method:apiOpt.method, - //数据组装 - qs: method.toUpperCase()=="GET"?data:undefined, - // form:apiOpt.method.toUpperCase()=="GET"?undefined:data//, - body: method.toUpperCase()=="GET"?undefined:JSON.stringify(data), + + var args = __getArgs(apiOpt), o = {}; + if (args.length > 2) { + args.slice(2).map(function (namespace) { + namespace = _.trim(namespace); + o[namespace] = {}; + var apis = me.getInterfacerByNameSpace(namespace); + for (var action in apis) { + o[namespace][action] = (function (api, config, consts) { + var intermo = new Interfacer.create(api); + return function () { + var args = [].slice.call(arguments, 0), params = {}; + intermo.apiOpt = api; + intermo.config = { + config: config, + consts: consts + }; + + if (args.length === 1 && _.isPlainObject(args[0])) { + intermo.req.param(args[0]); + } else { + api.params = api.params || {}; + var os = Object.keys(api.params); + args.forEach(function (value, i) { + params[os[i]] = value; + }); + intermo.req.param(params); + } + if (!this.queue) { + this.queue = []; + } + this.queue.push(intermo); + this.__proto__ = new queue(); + return this; + }; + })(apis[action], config, me.CONSTS); + } + }); + } + var fns = []; + for (var i in o) { + fns.push(o[i]); + } + //return apiOpt.call(0, req, function (err, result) { + // req._yoheaders = req._yoheaders; + // return callback(null, result); + //}); + return apiOpt.apply(0, [req, function (err, result) { + req._yoheaders = req._yoheaders; + return callback(null, result); + }].concat(fns)); + } + + var options = __requestOption(req, apiOpt, config, me.CONSTS); + + Request(options, function (error, response, body) { + var _err_ = new Error(); + if (error) { + console.info("Error [request"+options.url+"]:" + options.title); + console.error(error); + return callback(error, null); + } + try { + if (response && response.statusCode === 200) { + var obj = JSON.parse(body) + if (!(typeof obj == "object")) { + _err_.message = "Error[json parse@" + options.title + "--"+options.url+"]:" + body; + console.info(_err_.message); + console.error(_err_); + return callback(_err_, null); + } + } else { + _err_.message = "Error[response state @" + options.title + "--"+options.url+"]:" + response; + console.info(_err_.message); + console.error(_err_); + return callback(_err_, null); + } + + } catch (err) { + console.info("Error[response to json @" + options.title + "--"+options.url+"]"); + console.info(response); + console.error(err); + return callback(err, null); + } + return callback(null, JSON.parse(body)); + }); +}; + +function __requestOption(req, apiOpt, config, consts) { + var method = (apiOpt.method || "POST").toLocaleUpperCase(); + var data = {}; + if (apiOpt.params && (_.isArray(apiOpt.params) || _.isPlainObject(apiOpt.params))) { + if (_.isArray(apiOpt.params)) { + //兼容 yo之前的模式 后期废弃 + apiOpt.params.forEach(function (param) { + var name = param.name; + if (req.param(name)) { + if (param.type.toUpperCase() == "NUMBER") { + data[name] = Number(req.param(name)); + } else { + data[name] = String(req.param(name)); + } + } + }); + } else + if (_.isPlainObject(apiOpt.params)) { + for (var name in apiOpt.params) { + if (req.param("@" + name)) { + continue; + } + var param = apiOpt.params[name]; + if (param.default) { + data[name] = param.type(param.default); + } + if (req.param(name)) { + data[name] = param.type(req.param(name)); + } + } + } + } + var options = { method: method }; + options.title = apiOpt.title || ''; + options.outobj = apiOpt.outobj || ''; + if (options.method == "GET") { + apiOpt.query = true; + } - headers: apiOpt.headers||{ - 'Content-Type' : 'application/json' - } - }; - if (req._yoheaders) { - options.headers= _.merge(options.headers, req._yoheaders); + if (/^https{0,1}:\/\//g.test(apiOpt.url)) { + options.url = apiOpt.url; + } else { + options.url = (apiOpt.domain || config.domain) + apiOpt.url; } + if (/\{\{.*\}\}/.test(options.url)) { + var _qs = {}; + if (apiOpt.query) { + _qs = data; + } + var a = _.merge(consts, _qs); + options.url=Utils.template(options.url, a); + } + + if (apiOpt.form) { + if (typeof apiOpt.form === "string") { + options.form = Utils.template(apiOpt.form, data); + } else if (_.isPlainObject(apiOpt.form)) { + options.form = {}; + for (var i in apiOpt.form) { + options.form[i] = Utils.template(apiOpt.form[i], data) + } + } + options.headers = { + 'Content-Type' : 'application/x-www-form-urlencoded' + } + } else if (apiOpt.query) { + //不做任何事 + } else { + options.body = JSON.stringify(data); + options.headers = { + 'Content-Type' : 'application/json' + } + } + if (apiOpt.headers && _.isPlainObject(apiOpt.headers)) { + options.headers = {}; + for (var name in apiOpt.headers) { + var param = apiOpt.headers[name]; + if (req.param("@" + name)) { + if (param.default) { + options.headers[name] = param.type(param.default); + } + if (req.param("@" + name)) { + options.headers[name] = param.type(req.param("@" + name)); + } + } + } + } + if (req._yoheaders) { + options.headers = _.merge(options.headers, req._yoheaders); + } + console.log("*************************************"); + console.log("Http", options.url, data, options.headers); console.log("*************************************"); - console.log("Http",options.url,data,options.headers); - console.log("*************************************"); + return options; +} - Request(options,function(error, response, body){ - var _err_=new Error(); - if(error){ - console.info("Request 请求错误"); - console.error(error); - return callback(error,null); - } - try{ - if(response && response.statusCode === 200){ - var obj=JSON.parse(body) - if(!(typeof obj=="object")){ - _err_.message="Error[json parse@"+apiOpt.title+"]:"+body; - return callback(_err_,null); - } - }else{ - _err_.message="Error[response@"+apiOpt.title+"]:"+response.statusCode; - return callback(_err_,null); - } - - }catch(err){ - console.info("Request 内容转化JSON错误@"+apiOpt.title+""); - console.info(response); - console.error(err); - return callback(err,null); - } - return callback(null,JSON.parse(body)); - }); -}; /* * {mos} 接口key 数组 比如[key1,key2] 后面可能要兼容字符串 比如 传key1 */ -Interfacer.prototype.require=function(mos,req,res,cb){ - var me=this,funcs=[],names=[],errName=[]; - - mos.forEach(function(name){ - - if(me.apis.hasOwnProperty(name)){ - names.push(name); - if(me.config.mock){ - funcs.push(me.apis[name].output); - }else{ - funcs.push(function(callback){ - __requestApi.call(me,me.config,me.apis[name],req,callback); - }); - } - }else{ - errName.push(name); - } - }); - +Interfacer.prototype.require = function (mos, req, res, cb) { + var me = this, funcs = [], names = [], errName = []; + + mos.forEach(function (name) { + + if (me.apis.hasOwnProperty(name)) { + names.push(name); + if (me.config.mock) { + funcs.push(me.apis[name].output); + } else { + funcs.push(function (callback) { + __requestApi.call(me, me.config, me.apis[name], req, callback); + }); + } + } else { + errName.push(name); + } + }); + if (funcs.length != mos.length) { var err = new Error(); - err.message = "某个"+errName.join("->")+" 可能不存在!"; + err.message = "某个" + errName.join("->") + " 可能不存在!"; cb(err, funcs, names); - return; - } - if(me.config.mock){ - cb(null,funcs,names); - return; - } - async.parallel(funcs, function(err, results){ - if(err){ - console.info("Async Error"); - console.error(err); - console.error(results); - return cb(err,results,names); - } - console.log(names); + return; + } + if (me.config.mock) { + cb(null, funcs, names); + return; + } + async.parallel(funcs, function (err, results) { + if (err) { + console.info("Async Error"); + console.error(err); + console.error(results); + return cb(err, results, names); + } return cb(null, results, names); - }); + }); }; +Interfacer.create = function (apis) { + return { + req: { + __params__: null, + param: function (value) { + if (typeof value == "object") { + this.__params__ = value; + } else { + return this.__params__[value]; + } + } + }, + apiOpt: null, + config: {}, + + error: function () { + + } + } +} +function queue() { } +queue.prototype = { + done: function (success, fail) { + var that = this; + if (typeof success !== 'function') return; + var len = that.queue.length, watchlen = { len: len }; + var args = new Array(3); + var wlen=Object.defineProperty({}, 'len', { + value: len, + writable: true, + enumerable: false, + configurable: true + }); + for (var i = 0; i < len; i++) { + (function (queue,args) { + var options = __requestOption(queue.req, queue.apiOpt, queue.config.config, queue.config.consts); + __sendRequest(options, success, fail, wlen, i,args); + })(this.queue[i],args); + } + that.queue = null; + //var options = __requestOption(this.req, this.apiOpt); + //this.__sendRequest(options, success, fail); + return this; + }, + +} +function __sendRequest(options, success, fail,wlen,i,args) { + Request(options, function (error, response, body) { + if (!wlen.len) { + return; + } + var _err_ = new Error(), obj; + if (error) { + console.info("Error [request"+options.url+"]:" + options.title); + console.error(error); + wlen.len = 0; + fail && fail(error); + return; + } + try { + if (response && (response.statusCode === 200||response.statusCode === 302)) { + if (!options.outobj) { + obj = JSON.parse(body) + if (!(typeof obj == "object")) { + _err_.message = "Error[json parse@" + options.title + "--"+options.url+"]:" + body; + console.info(_err_.message); + console.error(_err_); + wlen.len = 0; + fail && fail(_err_); + return; + } + } else { + obj = options.outobj.toLocaleUpperCase().indexOf("BODY")>-1?body:response; + } + } else { + _err_.message = "Error[response state @" + options.title + "--"+options.url+"]:" + response.statusCode; + console.info(_err_.message); + console.error(_err_); + wlen.len = 0; + fail && fail(_err_); + return; + } + + } catch (err) { + console.info("Error[response to json @" + options.title + "--"+options.url+"]"); + console.info(response); + console.error(err); + wlen.len = 0; + fail && fail(err); + return; + } + args[i]=obj; + wlen.len--; + if (!wlen.len) { + success && success.apply(0, args) + } + return; + }); +} -module.exports= Interfacer; \ No newline at end of file +module.exports = Interfacer; \ No newline at end of file diff --git a/code/libs/Match.js b/code/libs/Match.js index 01377ae..2959a30 100644 --- a/code/libs/Match.js +++ b/code/libs/Match.js @@ -1,4 +1,4 @@ -function Match(pattern,str) { +function Match(pattern,str) { var step='/'; var keyReg=new RegExp('().*{}+?[]^$\\!','g'); diff --git a/code/libs/Utils.js b/code/libs/Utils.js index 7f67969..5bee271 100644 --- a/code/libs/Utils.js +++ b/code/libs/Utils.js @@ -9,12 +9,12 @@ for (var key in args[1]) { if (args[1][key] != undefined) { var regkey = ((+key) == (+key)) ? "[" + key + "]" : key; - var reg = new RegExp("({" + regkey + "})", "g"); + var reg = new RegExp("({{" + regkey + "}})", "g"); result = result.replace(reg, args[1][key]); } } } - var reg = new RegExp("({.*})", "g"); + var reg = new RegExp("({{.*}})", "g"); result = result.replace(reg, ''); } } diff --git a/code/mid/grayrouter.js b/code/mid/grayrouter.js index 6d273c1..4a7f882 100644 --- a/code/mid/grayrouter.js +++ b/code/mid/grayrouter.js @@ -14,6 +14,8 @@ function addFiles(req) { module.exports=function(controllers){ var Iaccount=global.Register.system; return function(err,req,res,next){ + console.log(err); + console.log("req.originalUrl:"+req.originalUrl) if(err.status=="404"){ var method = req.method.toLowerCase(); var path = req.route?req.route.path:''; diff --git a/code/package.json b/code/package.json index a6cdef1..1e42cd2 100644 --- a/code/package.json +++ b/code/package.json @@ -1,10 +1,11 @@ { "name": "yohobuy-shops-fe", - "version": "4.6.6", + "version": "4.6.8", "description": "Construction of the presentation layer solution is based on express, handlebars", "main": "app.js", "scripts": { "code":"set NODE_ENV=coding&& gulp start", + "build":"set NODE_ENV=production && gulp && gulp mvc", "server":"set NODE_ENV=server&& gulp start" }, "dependencies": { diff --git a/code/static/assets/images/sass/common/bootstrap-override.scss b/code/static/assets/images/sass/common/bootstrap-override.scss deleted file mode 100644 index 722396d..0000000 --- a/code/static/assets/images/sass/common/bootstrap-override.scss +++ /dev/null @@ -1,934 +0,0 @@ - - -label { - font-weight: normal; - margin-bottom: 5px !important; - color: #4a535e; -} - -code { - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; - background: none; - padding: 0; -} - -.lead { - color: #333; -} - -blockquote p { - font-family: 'Georgia', sans-serif; - font-weight: 100; - color: #333; -} - -blockquote .glyphicon, -blockquote .fa { - float: left; - margin-right: 10px; - font-size: 20px; -} - -h4, .h4 { - line-height: 24px; -} - -.row { - margin-left: -10px; - margin-right: -10px; -} - -.col-xs-1, .col-xs-2, -.col-xs-3, .col-xs-4, -.col-xs-5, .col-xs-6, -.col-xs-7, .col-xs-8, -.col-xs-9, .col-xs-10, -.col-xs-11, .col-xs-12, -.col-sm-1, .col-sm-2, -.col-sm-3, .col-sm-4, -.col-sm-5, .col-sm-6, -.col-sm-7, .col-sm-8, -.col-sm-9, .col-sm-10, -.col-sm-11, .col-sm-12, -.col-md-1, .col-md-2, -.col-md-3, .col-md-4, -.col-md-5, .col-md-6, -.col-md-7, .col-md-8, -.col-md-9, .col-md-10, -.col-md-11, .col-md-12, -.col-lg-1, .col-lg-2, -.col-lg-3, .col-lg-4, -.col-lg-5, .col-lg-6, -.col-lg-7, .col-lg-8, -.col-lg-9, .col-lg-10, -.col-lg-11, .col-lg-12 { - padding-left: 10px; - padding-right: 10px; -} - -.form-group::after { - clear: both; - display: block; - content: ''; -} - -.form-group .control-label { - margin-top: 3px; -} - -.form-bordered .form-group { - margin: 0; - padding: 15px 10px; - border-top: 1px dotted #d3d7db; -} - -.form-bordered .form-group:first-child { - border-top: 0; -} - -.form-striped .form-group { - margin: 0; - padding: 15px 0; -} - -.form-striped .form-group:nth-child(even) { - background: #fcfcfc; -} - -.form-inline .form-group { - margin-right: 20px; -} - -.form-inline .checkbox { - margin-right: 20px; -} - -.form-control { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - padding: 10px; - height: auto; - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - font-size: 13px; -} - -.form-control:focus { - border-color: #999; - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.input-sm { - font-size: 12px; - padding: 7px 10px; - height: auto; - margin-top: 3px; -} - -.input-lg { - font-size: 18px; - padding: 12px 10px; -} - -.btn { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - line-height: 21px; - -moz-transition: all 0.2s ease-out 0s; - -webkit-transition: all 0.2s ease-out 0s; - transition: all 0.2s ease-out 0s; - padding: 8px 15px; - border-width: 0; -} - -.btn:focus { - outline: none; -} - -.btn-sm { - padding: 5px 10px; -} - -.btn-xs { - padding: 3px 10px; - font-size: 12px; -} - -.btn-lg { - padding: 12px 20px; -} - -.btn-default { - background: #e4e7ea; - color: #636e7b; -} - -.btn-default-border { - border-width: 1px; -} - -.btn-default:hover, -.btn-default:focus, -.btn-default:active, -.btn-default.active, -.open .dropdown-toggle.btn-default { - background: #d2d5d8; - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.btn-primary:active, -.btn-primary.active, -.open .dropdown-toggle.btn-primary { - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.btn-white { - background: #fff; - border: 1px solid #ccc; - color: #666; -} - -.btn-white:hover, -.btn-white:focus, -.btn-white:active, -.btn-white.active, -.open .dropdown-toggle.btn-white { - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - background: #f7f7f7; -} - -.btn-default-alt { - border: 2px solid #999; - color: #999; - text-transform: uppercase; - font-weight: bold; - font-size: 12px; -} - -.btn-default-alt:hover, -.btn-default-alt:active, -.btn-default-alt:focus { - border-color: #666; - color: #666; -} - -.btn-primary-alt { - border: 2px solid #428BCA; - color: #428BCA; - text-transform: uppercase; - font-size: 12px; -} - -.btn-primary-alt:hover, -.btn-primary-alt:active, -.btn-primary-alt:focus { - border-color: #357EBD; - color: #357EBD; -} - -.btn-success-alt { - border: 2px solid #5CB85C; - color: #5CB85C; - text-transform: uppercase; - font-size: 12px; -} - -.btn-success-alt:hover, -.btn-success-alt:active, -.btn-success-alt:focus { - border-color: #17a08c; - color: #17a08c; -} - -.btn-warning-alt { - border: 2px solid #F0AD4E; - color: #F0AD4E; - text-transform: uppercase; - font-weight: bold; - font-size: 12px; -} - -.btn-warning-alt:hover, -.btn-warning-alt:active, -.btn-warning-alt:focus { - border-color: #EEA236; - color: #EEA236; -} - -.btn-danger-alt { - border: 2px solid #D9534F; - color: #D9534F; - text-transform: uppercase; - font-weight: bold; - font-size: 12px; -} - -.btn-danger-alt:hover, -.btn-danger-alt:active, -.btn-danger-alt:focus { - color: #D43F3A; -} - -.btn-info-alt { - border: 2px solid #5BC0DE; - color: #5BC0DE; - text-transform: uppercase; - font-weight: bold; - font-size: 12px; -} - -.btn-info-alt:hover, -.btn-info-alt:active, -.btn-info-alt:focus { - border-color: #46B8DA; - color: #46B8DA; -} - -.btn-group.open .dropdown-toggle { - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.btn-group { - margin-bottom: 10px; -} - -.btn-group > .btn, -.btn-group-vertical > .btn { - border-width: 1px; -} - -.badge { - vertical-align: middle; - display: inline-block; -} - -.badge-warning { - background-color: #ec8c04; -} - -.badge-success { - background-color: #019a1e; -} - -.nav-pills > li > a { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -.breadcrumb > li + li:before { - padding: 0 3px; -} - -.panel { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - position: relative; -} - - -.panel-heading, -.panel-footer { - background: #f7f7f7; - border-color: #ddd; -} - -.panel-heading { - padding: 18px 20px 20px 20px; - position: relative; - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} - -.panel-heading .panel-title { - line-height: normal; -} - -.panel-default > .panel-heading { - border-color: #e7e7e7; - background-color: #f9f9f9; -} - -.panel-heading-empty { - background: none; - border-bottom: 0; -} - -.panel-heading p { - font-size: 12px; - margin-top: 5px; - margin-bottom: 0; - line-height: 18px; -} - -.panel-btns { - position: absolute; - top: 10px; - right: 10px; - display: none; -} - -.panel-btns a { - font-size: 11px; - color: #999; - padding: 3px 4px; - border: 1px solid #bbb; - line-height: 10px !important; - -moz-border-radius: 50px; - -webkit-border-radius: 50px; - border-radius: 50px; - display: inline-block; -} - -.panel-btns a:hover { - text-decoration: none; - cursor: pointer; - color: #666; - border-color: #999; -} - -.panel-btns a.minimize:active, -.panel-btns a.minimize:focus { - text-decoration: none; -} - -.panel-body { - padding: 20px; -} - -.panel-footer { - padding: 20px; -} - -.panel-footer:after { - clear: both; - display: block; - content: ''; -} - -.panel-heading .nav-tabs { - margin-bottom: -20px; - border-bottom: 0; -} - -.panel-heading .nav-tabs li { - margin-right: 5px; -} - -.panel-heading .nav-tabs li a { - color: #666; -} - -.panel-heading .nav-tabs li a:hover, -.panel-heading .nav-tabs li a:active, -.panel-heading .nav-tabs li a:focus { - background-color: #fff; - border-color: #fff; - border-bottom: 0; - color: #111; -} - -.panel-heading .nav-tabs li.active a { - background: #fcfcfc; - color: #111; -} - -.panel-heading .nav-tabs li.active a:hover, -.panel-heading .nav-tabs li.active a:active, -.panel-heading .nav-tabs li.active a:focus { - background: #fcfcfc; - color: #111; - border: 1px solid #ddd; - border-bottom-color: #fcfcfc; -} - -.panel-heading .nav-justified { - margin-bottom: -21px; -} - -.panel-heading .nav-justified li a { - border-bottom: 0; -} - -.panel-default .panel-heading { - color: #41464d; -} - -.panel-default .panel-heading p { - color: #77818e; -} - -.panel-primary .panel-heading p { - opacity: 0.75; -} - -.panel-primary .panel-heading p a { - color: #fff; -} - -.panel-primary .panel-btns a { - border-color: #fff; - color: #fff; - opacity: 0.75; -} - -.panel-success .panel-btns a { - color: #3c763d; - border-color: #3c763d; - opacity: 0.75; -} - -.panel-info .panel-btns a { - color: #31708f; - border-color: #31708f; - opacity: 0.75; -} - -.panel-warning .panel-btns a { - color: #8a6d3b; - border-color: #8a6d3b; - opacity: 0.75; -} - -.panel-danger .panel-btns a { - color: #a94442; - border-color: #a94442; - opacity: 0.75; -} - -.panel-primary .panel-btns a:hover, -.panel-success .panel-btns a:hover, -.panel-info .panel-btns a:hover, -.panel-warning .panel-btns a:hover, -.panel-danger .panel-btns a:hover { - opacity: 1; -} - -.form-horizontal .control-label { - font-weight: normal; -} - -.has-success .form-control, -.has-warning .form-control, -.has-error .form-control { - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.has-success .form-control:focus, -.has-warning .form-control:focus, -.has-error .form-control:focus { - -moz-box-shadow: 5px 5px 0 rgba(12,12,12,0.05); - -webkit-box-shadow: 5px 5px 0 rgba(12,12,12,0.05); - box-shadow: 5px 5px 0 rgba(12,12,12,0.05); -} - - -.input-group-addon { - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; - font-size: 13px; - background-color: #f7f7f7; -} - -.input-group-lg > .form-control, -.input-group-lg > .input-group-addon, -.input-group-lg > .input-group-btn > .btn { - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; - height: 46px; -} - -.input-group-btn .btn { - line-height: 22.5px; -} - -.input-group-btn > .btn, -.input-group-btn > .btn-group { - border-width: 1px; -} - -.dropdown-menu { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - padding: 5px; - -moz-box-shadow: 3px 3px 0 rgba(12,12,12,0.03); - -webkit-box-shadow: 3px 3px 0 rgba(12,12,12,0.03); - box-shadow: 3px 3px 0 rgba(12,12,12,0.03); - margin-top: -1px; -} - -.dropdown-menu li a { - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; - -moz-transition: all 0.2s ease-out 0s; - -webkit-transition: all 0.2s ease-out 0s; - transition: all 0.2s ease-out 0s; -} - -.dropdown-menu > li > a { - padding: 7px 10px; - color: #666; -} - -.dropdown-menu > li > a:hover { - background-color: #e7e7e7; - color: #333; -} - -.dropdown-menu-sm > li { - font-size: 12px; -} - -.tooltip-inner { - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -.popover { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.05); - -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.05); - box-shadow: 1px 1px 2px rgba(0,0,0,0.05); - padding: 0; -} - -.popover-title { - -moz-border-radius: 3px 3px 0 0; - -webkit-border-radius: 3px 3px 0 0; - border-radius: 3px 3px 0 0; - font-size: 13px; - border-color: #ccc; - font-weight: 500; - line-height: 21px; -} - -.popover.bottom > .arrow { - border-bottom-color: #ccc; -} - -.popover.bottom > .arrow:after { - border-bottom-color: #f7f7f7; -} - -.modal-dialog { - border: 0; -} - -.modal-content { - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; - -moz-box-shadow: 0 5px 0 rgba(0,0,0,0.4);; - -webkit-box-shadow: 0 5px 0 rgba(0,0,0,0.4);; - box-shadow: 0 5px 0 rgba(0,0,0,0.4); - border: 0; -} - -.modal-title { - font-size: 20px; - color: #333; -} - -.modal-backdrop.in { - opacity: 0.65; -} - -.alert { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -.alert .close { - font-size: 16px; -} - -.alert .alert-link { - font-weight: bold; - font-weight: normal; -} - -.alert > p + p { - margin-top: 15px; -} - -.alert > p + p .btn { - margin-right: 5px; -} - -.label { - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; - padding: 4px 8px; - font-weight: normal; - font-size: 11px; -} - -.badge-primary { - background-color: #428BCA; -} - -.badge-warning { - background-color: #F0AD4E; -} - -.badge-success { - background-color: #5CB85C; -} - -.badge-danger { - background-color: #D9534F; -} - -.badge-info { - background-color: #5BC0DE; -} - -.progress { - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - height: 15px; - margin-bottom: 15px; -} - -.progress-bar { - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.progress-sm { - height: 10px; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -.progress-xs { - height: 5px; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -.nav-tabs { - background: #eee; - border: 0; - -moz-border-radius: 3px 3px 0 0; - -webkit-border-radius: 3px 3px 0 0; - border-radius: 3px 3px 0 0; - border: 1px solid #ddd; - border-bottom: 0; -} - -.nav-tabs > li > a { - border: 0; - padding: 14px 20px; - color: #666; - font-weight: 500; - font-size: 14px; -} - -.nav-tabs > li > a:hover { - background: none; - color: #333; -} - -.nav-tabs > li.active > a, -.nav-tabs > li.active > a:hover, -.nav-tabs > li.active > a:focus { - background-color: #fff; - margin-top: -1px; -} - -.nav-tabs > li.active:first-child > a, -.nav-tabs > li.active:first-child > a:hover, -.nav-tabs > li.active:first-child > a:focus { - border-left: 0; -} - -.nav-tabs > li.active:last-child > a, -.nav-tabs > li.active:last-child > a:hover, -.nav-tabs > li.active:last-child > a:focus { - border-right: 0; -} - -.tab-content { - padding: 15px; - -moz-border-radius: 0 0 3px 3px; - -webkit-border-radius: 0 0 3px 3px; - border-radius: 0 0 3px 3px; - border: 1px solid #ddd; - border-top: 0; -} - -.tab-pane address:last-child { - margin-bottom: 0; -} - -.pagination > li:first-child > a, -.pagination > li:first-child > span { - border-bottom-left-radius: 3px; - border-top-left-radius: 3px; -} - -.pagination > li:last-child > a, -.pagination > li:last-child > span { - border-bottom-right-radius: 3px; - border-top-right-radius: 3px; -} - -.pagination > li > a, -.pagination > li > span { - color: #636e7b; -} - -.pagination > li > a:hover, -.pagination > li > span:hover, -.pagination > li > a:focus, -.pagination > li > span:focus { - background-color: #e4e7ea; -} - -.pagination-split li { - margin-left: 5px; - display: inline-block; - float: left; -} - -.pagination-split li:first-child { - margin-left: 0; -} - -.pagination-split li a { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -.pager li > a, .pager li > span { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - color: #636e7b; -} - -.well { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - border: 0; - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - background-color: #e4e7ea; -} - -.thumbnail { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - padding: 5px; -} - -.media-heading { - color: #333; - font-size: 14px; - font-weight: 500; - margin: 0; -} - -.media-desc { - line-height: 20px; - display: block; - margin: 0; -} - -.text-success { - color: #5CB85C; -} - -.table thead > tr > th { - color: #444; -} - -.table thead > tr > th, -.table tbody > tr > th, -.table tfoot > tr > th, -.table thead > tr > td, -.table tbody > tr > td, -.table tfoot > tr > td { - border-color: #ddd; -} - -.table-striped > tbody > tr:nth-child(2n+1) > td, -.table-striped > tbody > tr:nth-child(2n+1) > th { - background-color: #f7f7f7; -} - -.table thead .table-head-alt th { - text-transform: uppercase; - font-size: 12px; -} - -.table tbody tr td .progress { - margin: 0; -} - -.modal-footer { - margin-top: 0; -} - -.modal-content .tab-content { - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.list-group-item:first-child { - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} - -.list-group-item:last-child { - border-bottom-left-radius: 3px; - border-bottom-right-radius: 3px; -} - - diff --git a/code/static/assets/images/sass/common/bootstrap-wysihtml5-0.0.2.scss b/code/static/assets/images/sass/common/bootstrap-wysihtml5-0.0.2.scss deleted file mode 100644 index 44ed777..0000000 --- a/code/static/assets/images/sass/common/bootstrap-wysihtml5-0.0.2.scss +++ /dev/null @@ -1,102 +0,0 @@ -ul.wysihtml5-toolbar { - margin: 0; - padding: 0; - display: block; -} - -ul.wysihtml5-toolbar::after { - clear: both; - display: table; - content: ""; -} - -ul.wysihtml5-toolbar > li { - float: left; - display: list-item; - list-style: none; - margin: 0 5px 10px 0; -} - -ul.wysihtml5-toolbar a[data-wysihtml5-command=bold] { - font-weight: bold; -} - -ul.wysihtml5-toolbar a[data-wysihtml5-command=italic] { - font-style: italic; -} - -ul.wysihtml5-toolbar a[data-wysihtml5-command=underline] { - text-decoration: underline; -} - -ul.wysihtml5-toolbar a.btn.wysihtml5-command-active { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05); - background-color: #E6E6E6; - background-color: #D9D9D9; - outline: 0; -} - -ul.wysihtml5-commands-disabled .dropdown-menu { - display: none !important; -} - -ul.wysihtml5-toolbar div.wysihtml5-colors { - display:block; - width: 50px; - height: 20px; - margin-top: 2px; - margin-left: 5px; - position: absolute; - pointer-events: none; -} - -ul.wysihtml5-toolbar a.wysihtml5-colors-title { - padding-left: 70px; -} - -ul.wysihtml5-toolbar div[data-wysihtml5-command-value="black"] { - background: black !important; -} - -ul.wysihtml5-toolbar div[data-wysihtml5-command-value="silver"] { - background: silver !important; -} - -ul.wysihtml5-toolbar div[data-wysihtml5-command-value="gray"] { - background: gray !important; -} - -ul.wysihtml5-toolbar div[data-wysihtml5-command-value="maroon"] { - background: maroon !important; -} - -ul.wysihtml5-toolbar div[data-wysihtml5-command-value="red"] { - background: red !important; -} - -ul.wysihtml5-toolbar div[data-wysihtml5-command-value="purple"] { - background: purple !important; -} - -ul.wysihtml5-toolbar div[data-wysihtml5-command-value="green"] { - background: green !important; -} - -ul.wysihtml5-toolbar div[data-wysihtml5-command-value="olive"] { - background: olive !important; -} - -ul.wysihtml5-toolbar div[data-wysihtml5-command-value="navy"] { - background: navy !important; -} - -ul.wysihtml5-toolbar div[data-wysihtml5-command-value="blue"] { - background: blue !important; -} - -ul.wysihtml5-toolbar div[data-wysihtml5-command-value="orange"] { - background: orange !important; -} diff --git a/code/static/assets/images/sass/common/bootstrap.min.scss b/code/static/assets/images/sass/common/bootstrap.min.scss deleted file mode 100644 index 4439695..0000000 --- a/code/static/assets/images/sass/common/bootstrap.min.scss +++ /dev/null @@ -1 +0,0 @@ -html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:before,:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive,.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;width:100% \9;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;width:100% \9;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:400;line-height:1;color:#777}h1,.h1,h2,.h2,h3,.h3{margin-top:20px;margin-bottom:10px}h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:10px;margin-bottom:10px}h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}cite{font-style:normal}mark,.mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#428bca}a.text-primary:hover{color:#3071a9}.text-success{color:#3c763d}a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#428bca}a.bg-primary:hover{background-color:#3071a9}.bg-success{background-color:#dff0d8}a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote footer:before,blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse footer:before,blockquote.pull-right footer:before,.blockquote-reverse small:before,blockquote.pull-right small:before,.blockquote-reverse .small:before,blockquote.pull-right .small:before{content:''}.blockquote-reverse footer:after,blockquote.pull-right footer:after,.blockquote-reverse small:after,blockquote.pull-right small:after,.blockquote-reverse .small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}blockquote:before,blockquote:after{content:""}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>tbody>tr>td.info,.table>tfoot>tr>td.info,.table>thead>tr>th.info,.table>tbody>tr>th.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>tbody>tr.info>td,.table>tfoot>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr.info>th,.table>tfoot>tr.info>th{background-color:#d9edf7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=radio],input[type=checkbox]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=radio]:focus,input[type=checkbox]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#777;opacity:1}.form-control:-ms-input-placeholder{color:#777}.form-control::-webkit-input-placeholder{color:#777}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee;opacity:1}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{line-height:34px;line-height:1.42857143 \0}input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}.form-group{margin-bottom:15px}.radio,.checkbox{position:relative;display:block;min-height:20px;margin-top:10px;margin-bottom:10px}.radio label,.checkbox label{padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.radio input[type=radio],.radio-inline input[type=radio],.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox]{position:absolute;margin-top:4px \9;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type=radio][disabled],input[type=checkbox][disabled],input[type=radio].disabled,input[type=checkbox].disabled,fieldset[disabled] input[type=radio],fieldset[disabled] input[type=checkbox]{cursor:not-allowed}.radio-inline.disabled,.checkbox-inline.disabled,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.radio.disabled label,.checkbox.disabled label,fieldset[disabled] .radio label,fieldset[disabled] .checkbox label{cursor:not-allowed}.form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm,.form-horizontal .form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm,select[multiple].input-sm{height:auto}.input-lg,.form-horizontal .form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:46px;line-height:46px}textarea.input-lg,select[multiple].input-lg{height:auto}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:25px;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center}.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn,.form-inline .input-group .form-control{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .radio label,.form-inline .checkbox label{padding-left:0}.form-inline .radio input[type=radio],.form-inline .checkbox input[type=checkbox]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{top:0;right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:14.3px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn:focus,.btn:active:focus,.btn.active:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#3071a9;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-primary .badge{color:#428bca;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#428bca;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#777;text-decoration:none}.btn-lg,.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm,.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs,.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;-o-transition:height .35s ease;transition:height .35s ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#428bca;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#777}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px solid}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn>input[type=radio],[data-toggle=buttons]>.btn>input[type=checkbox]{position:absolute;z-index:-1;filter:alpha(opacity=0);opacity:0}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn,select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn,select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=radio],.input-group-addon input[type=checkbox]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:hover,.input-group-btn>.btn:focus,.input-group-btn>.btn:active{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:340px}@media (max-width:480px) and (orientation:landscape){.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:200px}}.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;-webkit-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}@media (min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn,.navbar-form .input-group .form-control{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .radio label,.navbar-form .checkbox label{padding-left:0}.navbar-form .radio input[type=radio],.navbar-form .checkbox input[type=checkbox]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:hover,.navbar-default .btn-link:focus{color:#333}.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:hover,.navbar-default .btn-link[disabled]:focus,fieldset[disabled] .navbar-default .btn-link:focus{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#777}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#777}.navbar-inverse .navbar-nav>li>a{color:#777}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#777}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#777}.navbar-inverse .btn-link:hover,.navbar-inverse .btn-link:focus{color:#fff}.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:hover,.navbar-inverse .btn-link[disabled]:focus,fieldset[disabled] .navbar-inverse .btn-link:focus{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#428bca;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{color:#2a6496;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;cursor:default;background-color:#428bca;border-color:#428bca}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:hover,a.label:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:hover,.label-default[href]:focus{background-color:#5e5e5e}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge{top:0;padding:1px 5px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron h1,.jumbotron .h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron h1,.jumbotron .h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img,.thumbnail a>img{margin-right:auto;margin-left:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#428bca}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar,.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress.active .progress-bar,.progress-bar.active{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar[aria-valuenow="1"],.progress-bar[aria-valuenow="2"]{min-width:30px}.progress-bar[aria-valuenow="0"]{min-width:30px;color:#777;background-color:transparent;background-image:none;-webkit-box-shadow:none;box-shadow:none}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{color:#555;text-decoration:none;background-color:#f5f5f5}.list-group-item.disabled,.list-group-item.disabled:hover,.list-group-item.disabled:focus{color:#777;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}.list-group-item.active .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>.small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,a.list-group-item-success:focus{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:hover,a.list-group-item-success.active:focus{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,a.list-group-item-info:focus{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:hover,a.list-group-item-info.active:focus{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,a.list-group-item-warning:focus{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,a.list-group-item-danger:focus{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.table,.panel>.table-responsive>.table,.panel>.panel-collapse>.table{margin-bottom:0}.panel>.table:first-child,.panel>.table-responsive:first-child>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#428bca}.panel-primary>.panel-heading .badge{color:#428bca;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive iframe,.embed-responsive embed,.embed-responsive object{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:996;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate3d(0,-25%,0);-o-transform:translate3d(0,-25%,0);transform:translate3d(0,-25%,0)}.modal.in .modal-dialog{-webkit-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:995;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{min-height:16.43px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-size:12px;line-height:1.4;visibility:visible;filter:alpha(opacity=0);opacity:0}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%;margin-left:-10px}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%;margin-right:-10px}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-15px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-15px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after,.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{display:table;content:" "}.clearfix:after,.dl-horizontal dd:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed;-webkit-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none!important}.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}} \ No newline at end of file diff --git a/code/static/assets/images/sass/common/css1.scss b/code/static/assets/images/sass/common/css1.scss deleted file mode 100644 index 5629251..0000000 --- a/code/static/assets/images/sass/common/css1.scss +++ /dev/null @@ -1,3625 +0,0 @@ -/********** 2. RESET STYLES **********/ -/*************************************/ - -body { - font-size: 13px; - color: #636E7B; - background-color: #fff; -} - -a { - outline: none !important; -} - -a:hover, -a:active, -a:focus { - text-decoration: none; -} - - - -/********** 3. HEADER STYLES **********/ -/**************************************/ - -.headerwrapper { - background-color: #428BCA; - min-height: 60px; - position: fixed; - width: 100%; - z-index: 1000; -} - -.headerwrapper:after { - clear: both; - display: block; - content: ''; -} - - -/***** 3.1 HEADER LEFT *****/ - -.headerwrapper .header-left { - width: 230px; - min-height: 60px; - padding: 14px 15px; - float: left; - border-right: 1px solid rgba(255,255,255,0.14); - background-color: rgba(0,0,0,0.03); - position: relative; -} - -.headerwrapper .header-left .logo { - display: inline-block; - margin-top: 5px; - float: left; -} - -.headerwrapper .header-left .menu-collapse { - -moz-transition: all 0.2s ease-out 0s; - -webkit-transition: all 0.2s ease-out 0s; - transition: all 0.2s ease-out 0s; - border: 1px solid rgba(255,255,255,0.3); - color: rgba(255,255,255,0.8); - padding: 6px 9px; - -moz-border-radius: 50px; - -webkit-border-radius: 50px; - border-radius: 50px; - display: inline-block; - font-size: 16px; - line-height: normal; - position: absolute; - top: 13px; - right: 15px; -} - -.headerwrapper .header-left .menu-collapse:hover { - border-color: #fff; - color: #fff; -} - - -/***** 3.2 HEADER RIGHT *****/ - -.headerwrapper .header-right { - margin-left: 230px; - min-height: 60px; - padding: 14px 15px; -} - -.headerwrapper .header-right .btn-group { - margin: 0; - line-height: 21px; - float: left; -} - -.headerwrapper .header-right .btn-group > .btn { - border: 0; - background-color: rgba(0,0,0,0.1); - color: rgba(255,255,255,0.75); - -moz-border-radius: 50px; - -webkit-border-radius: 50px; - border-radius: 50px; - line-height: normal; - margin-left: 5px; - height: 33px; -} - -.headerwrapper .header-right .btn-group > .btn:hover { - background-color: rgba(0,0,0,0.2); -} - -.headerwrapper .header-right .btn-group > .btn:focus, -.headerwrapper .header-right .btn-group > .btn:active { - color: #fff; - background-color: rgba(0,0,0,0.3); - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.headerwrapper .header-right .btn-group .btn .badge { - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - background-color: #fff; - color: #000; - margin-left: 2px; - padding: 2px 6px; -} - -.btn-group-notification > .btn { - padding: 7px 10px; -} - -.btn-group-messages > .btn { - padding: 6px 9px 8px 9px; -} - -.btn-group-option > .btn { - padding: 7px 12px; -} - -.headerwrapper .header-right .btn-group .dropdown-menu { - -moz-box-shadow: 3px 3px 0 rgba(0,0,0,0.05); - -webkit-box-shadow: 3px 3px 0 rgba(0,0,0,0.05); - box-shadow: 3px 3px 2px rgba(0,0,0,0.05); - margin-top: 13px; - border-top: 0; - -moz-border-radius: 0 0 3px 3px; - -webkit-border-radius: 0 0 3px 3px; - border-radius: 0 0 3px 3px; - border-color: #ccc; -} - -.headerwrapper .header-right .btn-group .dropdown-menu:after { - border-bottom: 6px solid #fff; - border-left: 6px solid rgba(0,0,0,0); - border-right: 6px solid rgba(0,0,0,0); - content: ''; - display: inline-block; - position: absolute; - top: -6px; - right: 10px; -} - -.headerwrapper .header-right .btn-group .dropdown-menu li { - position: relative; -} - -.headerwrapper .header-right .btn-group .dropdown-menu li a { - font-size: 12px; - padding: 8px 15px; - color: #555; - -moz-transition: all 0.2s ease-out 0s; - -webkit-transition: all 0.2s ease-out 0s; - transition: all 0.2s ease-out 0s; -} - -.headerwrapper .header-right .btn-group .dropdown-menu li a:hover { - color: #333; - background-color: #E4E7EA; -} - -.headerwrapper .header-right .btn-group .dropdown-menu .divider { - margin: 5px 0; -} - -.headerwrapper .header-right .btn-group-option .dropdown-menu li .glyphicon, -.headerwrapper .header-right .btn-group-option .dropdown-menu li .fa { - margin-right: 10px; -} - -.headerwrapper .header-right .btn-group-option .dropdown-menu { - min-width: 180px; - margin-top: 13px; -} - -.headerwrapper .header-right .form-search { - float: left; - margin-right: 10px; - margin-top: 0; - position: relative; -} - -.headerwrapper .header-right .form-search:before { - position: absolute; - top: 6px; - left: 10px; - font-family: 'Glyphicons Halflings'; - content: '\e003'; - color: #666; -} - -.headerwrapper .header-right .form-search .form-control { - border: 0; - -moz-border-radius: 50px; - -webkit-border-radius: 50px; - border-radius: 50px; - width: 200px; - padding-left: 30px; - height: 32px; - font-size: 13px; -} - -.headerwrapper .header-right .btn-group-list .dropdown-menu { - padding: 0; - min-width: 380px; -} - -.headerwrapper .header-right .btn-group-list .dropdown-menu:after { - border-bottom-color: #E4E7EA; -} - -.headerwrapper .header-right div.dropdown-menu h5 { - padding: 13px 0; - text-align: center; - background-color: #E4E7EA; - margin: 0; - font-size: 13px; - border-bottom: 1px solid #ccc; -} - -.headerwrapper .header-right .dropdown-footer { - background-color: #f7f7f7; - border-top: 1px solid #ddd; - padding: 10px; - font-size: 12px; -} - -.headerwrapper .header-right .link-right { - color: #636E7B; - position: absolute; - top: 10px; - right: 15px; -} - -.dropdown-list { - margin: 0; -} - -.dropdown-list li { - border: 0; - border-top: 1px solid #eee; - padding: 10px 20px 10px 10px; - margin: 0; - cursor: pointer; -} - -.dropdown-list li:hover { - background-color: #fcfcfc; -} - -.dropdown-list li:first-child { - border-top: 0; -} - -.dropdown-list li .noti-thumb { - width: 40px; -} - -.dropdown-list .media-body { - font-size: 13px; - line-height: 18px; -} - -.dropdown-list .media-body strong { - font-weight: 500; - color: #2f363d; -} - -.dropdown-list .media-body p { - margin: 0; -} - -.dropdown-list .media-body .date { - display: block; - margin-top: 2px; - line-height: normal; - color: #999; -} - -.dropdown-list .media-body .date i { - margin-right: 2px; - margin-top: -3px; - vertical-align: middle; -} - -.dropdown-list .badge { - float: right; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; - font-weight: normal; - font-size: 11px; - padding: 5px 8px; -} - - - -/********* 4. MAIN WRAPPER STYLES *********/ -/******************************************/ - -.mainwrapper { - position: relative; - top: 60px; -} - -.mainwrapper:before { - content: ''; - height: 100%; - position: fixed; - top: 0; - left: 0; - width: 230px; - border-right: 1px solid #e7e7e7; -} - -.mainwrapper:after { - clear: both; - display: block; - content: ''; -} - -.img-online { - border: 2px solid #5cb85c; - padding: 2px; - background-color: #fff; -} - -.img-offline { - border: 2px solid #ccc; - padding: 2px; - background-color: #fff; -} - - - -/***** 4.1 LEFT PANEL STYLES *****/ - -.leftpanel { - width: 230px; - position: absolute; - top: 0; - left: 0; -} - -.leftpanel .profile-left { - padding: 15px; - min-height: 90px; - background-color: #fff; - border-bottom: 1px solid #eee; - -webkit-box-shadow: 0 2px 3px rgba(0,0,0,0.03); - box-shadow: 0 2px 3px rgba(0,0,0,0.03); - margin-right: 1px; -} - -.leftpanel .profile-left .profile-thumb { - -moz-border-radius: 50px; - -webkit-border-radius: 50px; - border-radius: 50px; - display: inline-block; - border: 2px solid #5cb85c; - padding: 2px; -} - -.leftpanel .profile-left .profile-thumb img { - width: 50px; -} - -.leftpanel .profile-left .media-heading { - line-height: 18px; - margin-top: 12px; - font-weight: 500; - font-size: 16px; -} - -.leftpanel .profile-left small { - line-height: 18px; -} - -.leftpanel .leftpanel-title { - text-transform: uppercase; - color: #ccc; - font-size: 11px; - font-weight: normal; - margin: 15px 15px; -} - - -/***** 4.1.1 LEFT PANEL NAVIGATION *****/ - -.leftpanel .nav { - position: relative; - border-bottom: 1px solid #e7e7e7; -} - -.leftpanel .nav > li { - margin: 0 1px 0 0; - font-size: 14px; - font-weight: 500; - border-top: 1px solid #e7e7e7; - position: relative; -} - -.leftpanel .nav > li.active { - border-top: 0; - margin-right: 0; -} - -.leftpanel .nav > li.active + li { - border-top: 0; -} - -.leftpanel .nav > li > a { - color: #555; - -moz-border-radius: 0; - -webkit-border-radius: 0; - border-radius: 0; - -moz-transition: all 0.2s ease-out 0s; - -webkit-transition: all 0.2s ease-out 0s; - transition: all 0.2s ease-out 0s; - padding: 12px 15px; -} - -.leftpanel .nav > li > a:hover, -.leftpanel .nav > li > a:focus, -.leftpanel .nav > li > a:active { - background-color: #f7f7f7; -} - -.leftpanel .nav > li.active > a, -.leftpanel .nav > li.active > a:hover { - color: #fff; - background-color: #428bca; -} - -.leftpanel .nav > li > a i { - width: 16px; - margin-right: 5px; - color: #428bca; - font-size: 15px; - top: 1px; - position: relative; - text-align: center; -} - -.leftpanel .nav > li.active > a i { - color: #fff; -} - -.leftpanel .nav > li.parent:after { - font-family: 'FontAwesome'; - content: '\f107'; - display: block; - position: absolute; - top: 12px; - right: 22px; - color: #ccc; -} - -.leftpanel .nav > li.parent-focus > a { - background-color: #f7f7f7; -} - -.leftpanel .nav .badge { - font-weight: normal; - line-height: normal; - font-size: 11px; - background-color: #2f363d; -} - -.leftpanel .nav .children { - list-style: none; - padding: 0; - margin: 0; - display: none; -} - -.leftpanel .nav .active .children, -.leftpanel .nav .parent-focus .children { - display: block; -} - -.leftpanel .nav > li.active:after { - color: #fff; -} - -.leftpanel .nav .children li:first-child { - border-top: 1px solid #e7e7e7; -} - -.leftpanel .nav .children li.active:first-child { - border-top: 0; -} - -.leftpanel .nav .children li a { - font-weight: normal; - font-size: 13px; - display: block; - color: #444; - padding: 6px 10px 6px 40px; - -moz-transition: all 0.2s ease-out 0s; - -webkit-transition: all 0.2s ease-out 0s; - transition: all 0.2s ease-out 0s; -} - -.leftpanel .nav .children li a:hover { - text-decoration: none; - background-color: #f7f7f7; -} - -.leftpanel .nav .children li.active a { - background-color: #e4e7ea; -} - -.leftpanel .nav .active .children { - border-bottom: 1px solid #e7e7e7; -} - -.leftpanel .nav .active .children { - margin-right: 1px; -} - - - -/***** 4.2 MAIN PANEL STYLES *****/ - -.mainpanel { - margin-left: 230px; -} - -.pageheader { - padding: 20px; - border-bottom: 1px solid #eee; - padding-bottom: 20px; - height: 90px; - -webkit-box-shadow: 0 2px 3px rgba(0,0,0,0.03); - box-shadow: 0 2px 3px rgba(0,0,0,0.03); -} - -.pageheader .media { - padding: 0; - clear: both; -} - -.pageheader .pageicon { - width: 50px; - height: 50px; - background-color: #4e5154; - display: inline-block; - color: #fff; - font-size: 32px; - border-radius: 3px; - padding-top: 1px; - padding-left: 10px; -} - -.pageheader .pageicon .fa-envelope-o { - font-size: 31px; -} - -.pageheader .pageicon .fa-bar-chart-o { - font-size: 28px; -} - -.pageheader .pageicon .fa-flag { - font-size: 30px; -} - -.pageheader .pageicon .fa-laptop { - font-size: 28px; -} - -.pageheader .pageicon .fa-navicon { - font-size: 28px; - margin-left: 3px; -} - -.pageheader .pageicon .fa-code { - font-size: 28px; -} - -.pageheader .pageicon .fa-pencil { - margin-left: 3px; -} - -.pageheader .pageicon .fa-th-list { - font-size: 28px; - margin-left: 1px; -} - -.pageheader .pageicon .fa-map-marker { - margin-left: 5px; -} - -.pageheader .pageicon .fa-calendar { - font-size: 32px; -} - -.pageheader .pageicon .fa-user { - font-size: 28px; - margin-left: 4px; -} - -.pageheader .breadcrumb { - margin: 0; - padding: 0; - background: none; - font-size: 11px; - color: #999; - line-height: 18px; -} - -.pageheader .breadcrumb li a { - color: #333; -} - -.pageheader .breadcrumb li a:hover, -.pageheader .breadcrumb li a:active, -.pagehaeder .breadcrumb li a:focus { - color: #428bca; -} - -.pageheader .breadcrumb li a i { - color: #999; - font-size: 10px; -} - -.pageheader h4 { - margin: -2px 0 0 0; - font-size: 28px; - font-weight: 500; - color: #2f363d; - line-height: normal; -} - - - -/***** 4.2.1 CONTENT PANEL STYLES *****/ - -.contentpanel { - position: relative; - padding: 20px; -} - -.bg-light { - background-color: #ccc; -} - - - - -/******** 5. MESSAGES STYLES *********/ -/*************************************/ - -.msg-left { - float: left; - width: 250px; - position: relative; - z-index: 50; -} - -.nav-msg li a { - color: #444; - -moz-transition: all 0.2s ease-out 0s; - -webkit-transition: all 0.2s ease-out 0s; - transition: all 0.2s ease-out 0s; -} - -.nav-msg li a i { - display: inline-block; - margin-right: 10px; -} - -.nav-msg li a .badge { - font-weight: normal; - line-height: normal; - font-size: 11px; - margin-top: 1px; -} - -.nav-msg li.active a { - background-color: #4e5154; - color: #fff; -} - -.nav-msg li.active a:hover, -.nav-msg li.active a:focus, -.nav-msg li.active a:active { - background-color: #444649; -} - -.nav-msg li.active a .badge { - color: #666; -} - -.sm-title { - font-size: 11px; - text-transform: uppercase; - font-weight: normal; -} - -.md-title { - font-size: 12px; - text-transform: uppercase; - font-weight: normal; -} - -.lg-title { - font-weight: 500; - color: #333; - margin: 0; - margin-bottom: 5px; - text-transform: uppercase; - font-size: 13px; -} - -.xlg-title { - margin: 0; - font-weight: 400; - color: #333; -} - -.msg-list > li { - border: 1px solid #eee; - background-color: #fcfcfc; - border-bottom: 0; - padding: 10px; - margin: 0; -} - -.msg-list > li.unread { - background-color: #fff; -} - -.msg-list > li:first-child { - -moz-border-radius: 3px 3px 0 0; - -webkit-border-radius: 3px 3px 0 0; - border-radius: 3px 3px 0 0; -} - -.msg-list > li:last-child { - border-bottom: 1px solid #eee; - -moz-border-radius: 0 0 3px 3px; - -webkit-border-radius: 0 0 3px 3px; - border-radius: 0 0 3px 3px; -} - -.msg-list .media-object { - width: 40px; -} - -.msg-list > li .sender { - font-weight: 500; - margin: 0; - font-size: 12px; - color: #333; -} - -.msg-list > li p { - margin: 0; -} - -.msg-list > li p a { - color: #999; -} - -.msg-list > li p a:hover, -.msg-list > li p a:active, -.msg-list > li p a:focus { - text-decoration: none; -} - -.msg-list > li .subject { - color: #333; -} - -.msg-list .media-option > a { - color: #999; - margin-left: 5px; -} - -.msg-list .media-option a:hover { - color: #666; -} - -.msg-list .btn-group { - margin: 0; - margin-top: -3px; - margin-left: 5px; -} - -.msg-list .btn-group > .btn { - padding: 0; - background: none; - color: #999; - border: 0; -} - -.msg-list li.media, -.msg-list li.media .media-body { - overflow: visible; -} - -.msg-list .dropdown-menu li { - font-size: 12px; -} - -.msg-list .dropdown-menu .divider { - margin: 5px 0; -} - -.msg-list .ckbox { - margin-top: 12px; -} - -.msg-list li.highlighted { - background-color: #fffeee; -} - -.msg-header { - margin-bottom: 25px; - margin-top: 5px; -} - -.msg-header:after { - clear: both; - display: block; - content: ''; -} - -.msg-header .btn-group { - margin: 0; -} - -.msg-header .btn { - padding: 0; - -moz-border-radius: 50px; - -webkit-border-radius: 50px; - border-radius: 50px; - border-width: 2px; - width: 35px; - height: 35px; - color: #999; - margin-right: 5px; -} - -.msg-header .btn-navi { - font-size: 14px; - color: #999; -} - -.msg-header .btn:hover, -.msg-header .btn:active, -.msg-header .btn:focus { - background-color: #fff; - border-color: #666; - color: #666; -} - -.msg-header .btn-navi { - margin-right: 0; -} - -.msg-header .btn-navi-left i { - margin-left: -3px; -} - -.msg-header .btn-navi-right i { - margin-left: 2px; -} - -.msg-header .dropdown-menu { - margin-top: 12px; -} - -.msg-header .dropdown-menu:after { - border-bottom: 6px solid #fff; - border-left: 6px solid rgba(0,0,0,0); - border-right: 6px solid rgba(0,0,0,0); - content: ''; - display: inline-block; - position: absolute; - top: -6px; - right: 15px; -} - -.msg-header .dropdown-menu:before { - border-bottom: 7px solid #ddd; - border-left: 7px solid rgba(0,0,0,0); - border-right: 7px solid rgba(0,0,0,0); - content: ''; - display: inline-block; - position: absolute; - top: -8px; - right: 14px; -} - -.msg-header .dropdown-menu li { - font-size: 12px; -} - -.msg-header .dropdown-menu li i { - margin-right: 8px; -} - -.panel-group-msg { - margin-top: 15px; -} - -.panel-group-msg .panel { - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.panel-group-msg .panel-heading { - padding: 10px; -} - -.panel-group-msg .img { - width: 30px; - margin: 0; -} - -.panel-group-msg .panel-title { - font-weight: 500; - color: #444; - font-size: 14px; -} - -.panel-group-msg .time { - margin: 5px 20px 0 0; - font-weight: normal; - font-size: 12px; -} - -.panel-group-msg .time i { - font-size: 16px; -} - -.msg-reply { - margin-left: 15px; -} - -.msg-reply img { - width: 30px; -} - -.btn-create-msg { - padding: 12px 10px; -} - -.alert-metro { - -moz-border-radius: 0; - -webkit-border-radius: 0; - border-radius: 0; -} - - -/********* 6. UI ELEMENTS *********/ -/**********************************/ - - -/***** 6.1 BUTTONS PAGE STYLES *****/ - -.btn-dark { - background-color: #4e5154; - color: #fff; -} - -.btn-dark:hover, -.btn-dark:focus, -.btn-dark:active { - background-color: #414446; - color: #fff; -} - -.btn-list .btn { - margin: 0 3px 7px 0; -} - -.btn-rounded { - -moz-border-radius: 100px; - -webkit-border-radius: 100px; - border-radius: 100px; - padding-left: 20px; - padding-right: 20px; -} - -.btn.btn-bordered { - padding: 6px 13px; -} - -.btn-sm.btn-bordered { - padding: 4px 10px; -} - -.btn-xs.btn-bordered { - padding: 2px 8px; -} - -.btn.btn-bordered, -.btn.btn-bordered:hover, -.btn.btn-bordered:focus, -.btn.btn-bordered:active { - background: none !important; - border-width: 2px; -} - -.btn-primary.btn-bordered, -.btn-primary.btn-bordered:hover, -.btn-primary.btn-bordered:active, -.btn-primary.btn-bordered:focus { - color: #428bca; -} - -.btn-success.btn-bordered, -.btn-success.btn-bordered:hover, -.btn-success.btn-bordered:active, -.btn-success.btn-bordered:focus { - color: #5cb85c; -} - -.btn-warning.btn-bordered, -.btn-warning.btn-bordered:hover, -.btn-warning.btn-bordered:active, -.btn-warning.btn-bordered:focus { - color: #eea236; -} - -.btn-danger.btn-bordered, -.btn-danger.btn-bordered:focus, -.btn-danger.btn-bordered:active, -.btn-danger.btn-bordered:hover { - color: #d9534f; -} - -.btn-info.btn-bordered, -.btn-info.btn-bordered:focus, -.btn-info.btn-bordered:active, -.btn-info.btn-bordered:hover { - color: #46b8da; -} - -.btn.btn-metro { - font-weight: 300; - letter-spacing: 0.3px; - -moz-border-radius: 0; - -webkit-border-radius: 0; - border-radius: 0; -} - -.btn-group .btn.btn-bordered + .btn.btn-bordered, -.btn-group .btn.btn-bordered + .btn-group, -.btn-group .btn-group + .btn.btn-bordered, -.btn-group .btn-group + .btn-group { - margin-left: -2px; -} - -.btn-group .btn.btn-bordered { - padding-left: 14px; - padding-right: 15px; -} - - - -/***** 6.2 EXTRAS STYLES *****/ - -.dropdown-demo-only { - position: static; - display: inline-block; - margin-right: 10px; - width: 160px; - float: none; - margin-bottom: 20px; -} - -.dropdown-menu-primary { - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - border-color: #428bca; -} - -.dropdown-menu-primary > li > a { - color: #428bca; -} - -.dropdown-menu-primary > li > a:hover { - background-color: #428bca; - color: #fff; -} - -.dropdown-menu-success { - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - border-color: #5cb85c; -} - -.dropdown-menu-success > li > a { - color: #5cb85c; -} - -.dropdown-menu-success > li > a:hover { - background-color: #5cb85c; - color: #fff; -} - -.dropdown-menu-danger { - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - border-color: #d9534f; -} - -.dropdown-menu-danger > li > a { - color: #d9534f; -} - -.dropdown-menu-danger > li > a:hover { - background-color: #d9534f; - color: #fff; -} - -.dropdown-menu-warning { - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - border-color: #f0ad4e; -} - -.dropdown-menu-warning > li > a { - color: #f0ad4e; -} - -.dropdown-menu-warning > li > a:hover { - background-color: #f0ad4e; - color: #fff; -} - -.dropdown-menu-metro { - -moz-border-radius: 0; - -webkit-border-radius: 0; - border-radius: 0; - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -.dropdown-menu-metro > li > a { - -moz-border-radius: 0; - -webkit-border-radius: 0; - border-radius: 0; -} - -.pagination-metro > li:first-child > a, -.pagination-metro > li:first-child > span { - border-bottom-left-radius: 0; - border-top-left-radius: 0; -} - -.pagination-metro > li:last-child > a, -.pagination-metro > li:last-child > span { - border-bottom-right-radius: 0; - border-top-right-radius: 0; -} - -.pagination-split.pagination-metro > li > a, -.pagination-split.pagination-metro > li > span { - -moz-border-radius: 0; - -webkit-border-radius: 0; - border-radius: 0; -} - -.pagination-primary > li > a, -.pagination-primary > li > a:hover { - border-color: #428bca; - color: #428bca; -} - -.pagination-primary > .disabled > span, -.pagination-primary > .disabled > span:hover, -.pagination-primary > .disabled > span:focus, -.pagination-primary > .disabled > a, -.pagination-primary > .disabled > a:hover, -.pagination-primary > .disabled > a:focus { - border-color: #428bca; - color: #428bca; - opacity: 0.5; -} - -.pagination-success > li > a, -.pagination-success > li > a:hover { - border-color: #5cb85c; - color: #5cb85c; -} - -.pagination-success > .disabled > span, -.pagination-success > .disabled > span:hover, -.pagination-success > .disabled > span:focus, -.pagination-success > .disabled > a, -.pagination-success > .disabled > a:hover, -.pagination-success > .disabled > a:focus { - border-color: #5cb85c; - color: #5cb85c; - opacity: 0.5; -} - -.pagination-success > .active > a, -.pagination-success > .active > span, -.pagination-success > .active > a:hover, -.pagination-success > .active > span:hover, -.pagination-success > .active > a:focus, -.pagination-success > .active > span:focus { - background-color: #5cb85c; - border-color: #5cb85c; -} - -.pagination-circled > li > a { - -moz-border-radius: 50px; - -webkit-border-radius: 50px; - border-radius: 50px; -} - -.pagination-circled > li:first-child > a, -.pagination-circled > li:first-child > span { - border-bottom-left-radius: 50px; - border-top-left-radius: 50px; -} - -.pagination-circled > li:last-child > a, -.pagination-circled > li:last-child > span { - border-bottom-right-radius: 50px; - border-top-right-radius: 50px; -} - -.pagination-circled > li:first-child > a, -.pagination-circled > li:last-child > a { - padding: 6px 13px; -} - -.pagination-active-success > .active > a, -.pagination-active-success > .active > span, -.pagination-active-success > .active > a:hover, -.pagination-active-success > .active > span:hover, -.pagination-active-success > .active > a:focus, -.pagination-active-success > .active > span:focus { - background-color: #5cb85c; - border-color: #5cb85c; -} - -.pagination-active-success > li > a:hover, -.pagination-active-success > li > span:hover, -.pagination-active-success > li > a:focus, -.pagination-active-success > li > span:focus { - color: #5cb85c; -} - -.pagination-active-warning > .active > a, -.pagination-active-warning > .active > span, -.pagination-active-warning > .active > a:hover, -.pagination-active-warning > .active > span:hover, -.pagination-active-warning > .active > a:focus, -.pagination-active-warning > .active > span:focus { - background-color: #f0ad4e; - border-color: #f0ad4e; -} - -.pagination-active-warning > li > a:hover, -.pagination-active-warning > li > span:hover, -.pagination-active-warning > li > a:focus, -.pagination-active-warning > li > span:focus { - color: #f0ad4e; -} - -.pagination-active-danger > .active > a, -.pagination-active-danger > .active > span, -.pagination-active-danger > .active > a:hover, -.pagination-active-danger > .active > span:hover, -.pagination-active-danger > .active > a:focus, -.pagination-active-danger > .active > span:focus { - background-color: #d9534f; - border-color: #d9534f; -} - -.pagination-active-danger > li > a:hover, -.pagination-active-danger > li > span:hover, -.pagination-active-danger > li > a:focus, -.pagination-active-danger > li > span:focus { - color: #d9534f; -} - -.pagination-active-info > .active > a, -.pagination-active-info > .active > span, -.pagination-active-info > .active > a:hover, -.pagination-active-info > .active > span:hover, -.pagination-active-info > .active > a:focus, -.pagination-active-info > .active > span:focus { - background-color: #5bc0de; - border-color: #5bc0de; -} - -.pagination-active-info > li > a:hover, -.pagination-active-info > li > span:hover, -.pagination-active-info > li > a:focus, -.pagination-active-info > li > span:focus { - color: #5bc0de; -} - -.pagination-active-dark > .active > a, -.pagination-active-dark > .active > span, -.pagination-active-dark > .active > a:hover, -.pagination-active-dark > .active > span:hover, -.pagination-active-dark > .active > a:focus, -.pagination-active-dark > .active > span:focus { - background-color: #4e5154; - border-color: #4e5154; -} - -.pagination-active-dark > li > a:hover, -.pagination-active-dark > li > span:hover, -.pagination-active-dark > li > a:focus, -.pagination-active-dark > li > span:focus { - color: #4e5154; -} - -.progress-metro { - -moz-border-radius: 0; - -webkit-border-radius: 0; - border-radius: 0; -} - - -/******* 6.3 GRAPHS STYLES *******/ - -.tinystat { - display: inline-block; -} - -.tinystat .chart, -.tinystat .datainfo { - display: inline-block; - vertical-align: middle; -} - -.tinystat .chart { - margin-right: 5px; -} - -.tinystat .text-muted { - text-transform: uppercase; - font-size: 10px; -} - -.tinystat h4 { - margin: 0; - color: #333; - font-weight: bold; - line-height: normal; - font-size: 16px; -} - -.tooltipflot { - background-color: rgba(0,0,0,0.8); - padding: 5px 10px; - font-size: 11px; - color: #fff; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -.jqstooltip { - min-height: 25px; - border: 0; - min-width: 30px; - height: auto !important; - width: auto !important; -} - -.flotGraph { - width: 100%; - height: 300px; -} - - - -/***** 6.4 ICON STYLES *******/ - -.icon-list { - margin: 20px 0; - padding: 0; - list-style: none; -} - -.icon-list li { - margin-bottom: 5px; -} - -.icon-list li span { - width: 20px; - display: inline-block; - margin-right: 5px; - color: #333; -} - - - -/***** 6.5 PANELS & WIDGETS STYLES *****/ - -.panel-dark { - border-color: #4e5154; -} - -.panel-dark .panel-heading { - background-color: #4e5154; - color: #fff; -} - -.panel-success-alt { - border-color: #4cae4c; -} - -.panel-success-alt .panel-heading { - background-color: #5cb85c; - color: #fff; -} - -.panel-info-alt { - border-color: #46b8da; -} - -.panel-info-alt .panel-heading { - background-color: #5bc0de; - color: #fff; -} - -.panel-warning-alt { - border-color: #eea236; -} - -.panel-warning-alt .panel-heading { - background-color: #f0ad4e; - color: #fff; -} - -.panel-danger-alt { - border-color: #d43f3a; -} - -.panel-danger-alt .panel-heading { - background-color: #d9534f; - color: #fff; -} - -.panel-success-alt .panel-heading p a, -.panel-info-alt .panel-heading p a, -.panel-warning-alt .panel-heading p a, -.panel-danger-alt .panel-heading p a, -.panel-dark .panel-heading p a { - color: #fff; -} - -.panel-success-alt .panel-heading .panel-btns a, -.panel-info-alt .panel-heading .panel-btns a, -.panel-warning-alt .panel-heading .panel-btns a, -.panel-danger-alt .panel-heading .panel-btns a, -.panel-dark .panel-heading .panel-btns a { - border-color: #fff; - color: #fff; - opacity: 0.75; -} - -.panel-primary-head .panel-heading, -.panel-success-head .panel-heading, -.panel-warning-head .panel-heading, -.panel-danger-head .panel-heading, -.panel-info-head .panel-heading, -.panel-dark-head .panel-heading { - border-bottom: 0; - color: #fff; -} - -.panel-primary-head .panel-heading p, -.panel-success-head .panel-heading p, -.panel-warning-head .panel-heading p, -.panel-danger-head .panel-heading p, -.panel-info-head .panel-heading p, -.panel-dark-head .panel-heading p { - opacity: 0.75; -} - -.panel-primary-head .panel-body, -.panel-success-head .panel-body, -.panel-warning-head .panel-body, -.panel-danger-head .panel-body, -.panel-info-head .panel-body, -.panel-dark-head .panel-body { - border: 1px solid #ddd; - border-top: 0; -} - -.panel-primary-head .panel-footer, -.panel-success-head .panel-footer, -.panel-warning-head .panel-footer, -.panel-danger-head .panel-footer, -.panel-info-head .panel-footer, -.panel-dark-head .panel-footer { - border: 1px solid #ddd; - border-top: 0; -} - -.panel-primary-head .panel-heading { - background-color: #428bca; -} - -.panel-success-head .panel-heading { - background-color: #5cb85c; -} - -.panel-warning-head .panel-heading { - background-color: #f0ad4e; -} - -.panel-danger-head .panel-heading { - background-color: #d9534f; -} - -.panel-info-head .panel-heading { - background-color: #5bc0de; -} - -.panel-dark-head .panel-heading { - background-color: #4e5154; -} - -.panel-primary-head .panel-heading p a, -.panel-success-head .panel-heading p a, -.panel-info-head .panel-heading p a, -.panel-warning-head .panel-heading p a, -.panel-danger-head .panel-heading p a, -.panel-dark-head .panel-heading p a { - color: #fff; -} - -.panel-primary-head .panel-heading .panel-btns a, -.panel-success-head .panel-heading .panel-btns a, -.panel-info-head .panel-heading .panel-btns a, -.panel-warning-head .panel-heading .panel-btns a, -.panel-danger-head .panel-heading .panel-btns a, -.panel-dark-head .panel-heading .panel-btns a { - border-color: #fff; - color: #fff; - opacity: 0.75; -} - -.panel-metro, -.panel-metro .panel-heading, -.panel-metro .panel-footer { - -moz-border-radius: 0; - -webkit-border-radius: 0; - border-radius: 0; -} - -.widget-messaging .new-msg { - color: #fff; - font-size: 18px; - margin: 0; - line-height: normal; - opacity: 0.5; -} - -.widget-messaging .new-msg:hover { - opacity: 1; -} - -.widget-messaging ul li:hover { - background-color: #f7f7f7; -} - -.widget-messaging .sender { - color: #333; - font-weight: 500; - font-size: 14px; - line-height: normal; - margin: 0; -} - -.widget-messaging ul li p { - line-height: normal; - margin: 0; -} - -.widget-todo .panel-heading a { - color: #fff; -} - -.widget-todo ul > li input:checked + label { - text-decoration: line-through; -} - -.widget-slider .carousel-control { - background: none; - bottom: auto; - color: #fff; - line-height: 10px; - padding: 0; - text-shadow: none; - top: -65px; - width: auto; - opacity: 0.75; - border: 1px solid #fff; - -moz-border-radius: 50px; - -webkit-border-radius: 50px; - border-radius: 50px; -} - -.widget-slider .carousel-control:hover { - opacity: 1; -} - -.widget-slider .carousel-control.left { - left: auto; - right: 25px; - padding: 1px 10px 3px 8px; -} - -.widget-slider .carousel-control.right { - right: -5px; - padding: 1px 8px 3px 10px; -} - -.widget-slider .carousel-control span { - font-size: 18px; - line-height: normal; -} - -.widget-slider .media { - padding-bottom: 0; -} - -.widget-slider .carousel-indicators { - bottom: auto; - left: auto; - right: 0; - top: -58px; - width: auto; -} - - - - -/***** 6.6 TABS & ACCORDION STYLES *****/ - -.nav-primary { - border-color: #357ebd; - background-color: #428bca; -} - -.nav-primary > li.active > a, -.nav-primary > li.active > a:hover, -.nav-primary > li.active > a:focus, -.nav-primary > li.active > a:active { - border-top-color: #357ebd; - border-left-color: #357ebd; - border-right-color: #357ebd; -} - -.nav-success { - border-color: #5cb85c; - background-color: #5cb85c; -} - -.nav-info { - border-color: #46b8da; - background-color: #5bc0de; -} - -.nav-danger { - border-color: #d43f3a; - background-color: #d9534f; -} - -.nav-warning { - border-color: #eea236; - background-color: #f0ad4e; -} - -.nav-success > li.active > a, -.nav-success > li.active > a:hover, -.nav-success > li.active > a:focus, -.nav-success > li.active > a:active { - border-top-color: #5cb85c; - border-left-color: #5cb85c; - border-right-color: #5cb85c; -} - -.nav-info > li.active > a, -.nav-info > li.active > a:hover, -.nav-info > li.active > a:focus, -.nav-info > li.active > a:active { - border-top-color: #46b8da; - border-left-color: #46b8da; - border-right-color: #46b8da; -} - -.nav-danger > li.active > a, -.nav-danger > li.active > a:hover, -.nav-danger > li.active > a:focus, -.nav-danger > li.active > a:active { - border-top-color: #d43f3a; - border-left-color: #d43f3a; - border-right-color: #d43f3a; -} - -.nav-warning > li.active > a, -.nav-warning > li.active > a:hover, -.nav-warning > li.active > a:focus, -.nav-warning > li.active > a:active { - border-top-color: #eea236; - border-left-color: #eea236; - border-right-color: #eea236; -} - -.nav-primary > li > a, -.nav-success > li > a, -.nav-info > li > a, -.nav-danger > li > a, -.nav-warning > li > a { - color: #fff; -} - -.nav-primary > li > a:hover, -.nav-success > li > a:hover, -.nav-info > li > a:hover, -.nav-danger > li > a:hover, -.nav-warning > li > a:hover { - color: #fff; - background-color: rgba(255,255,255,0.1); -} - -.tab-content-primary { - border-color: #357ebd; -} - -.tab-content-success { - border-color: #5cb85c; -} - -.tab-content-info { - border-color: #46b8da; -} - -.tab-content-danger { - border-color: #d43f3a; -} - -.tab-content-warning { - border-color: #eea236; -} - -.nav-metro, -.nav-metro > li > a, -.nav-metro > li.active > a, -.tab-content-metro { - -moz-border-radius: 0; - -webkit-border-radius: 0; - border-radius: 0; -} - -.panel-group .panel-heading { - padding: 15px; -} - -.panel-group .panel-heading .panel-title { - font-size: 14px; -} - -.nav-line { - background: none; - border: 0; - margin-bottom: 20px; - -moz-box-shadow: 0 3px 0 rgba(0,0,0,0.1); - -webkit-box-shadow: 0 3px 0 rgba(0,0,0,0.1); - box-shadow: 0 3px 0 rgba(0,0,0,0.1); -} - -.nav-line > li { - margin: 0; -} - -.nav-line > li > a, -.nav-line > li > a:hover, -.nav-line > li > a:active, -.nav-line > li > a:focus { - border: 0; - margin: 0 !important; -} - -.nav-line > li.active > a, -.nav-line > li.active > a:hover, -.nav-line > li.active > a:active, -.nav-line > li.active > a:focus { - border: 0; -} - -.nav-line > li.active > a, -.nav-line > li.active > a:hover, -.nav-line > li.active > a:active, -.nav-line > li.active > a:focus { - -moz-box-shadow: 0 3px 0 #428bca; - -webkit-box-shadow: 0 3px 0 #428bca; - box-shadow: 0 3px 0 #428bca; - margin: 0; -} - - -/********** 7. FORM STYLES **********/ -/************************************/ - -.ckbox, -.rdio { - position: relative; -} - -.ckbox input[type="checkbox"], -.rdio input[type="radio"] { - opacity: 0; -} - -.ckbox label, -.rdio label { - padding-left: 10px; - cursor: pointer; - margin-bottom: 7px !important; -} - -.ckbox label:before { - width: 18px; - height: 18px; - position: absolute; - top: 1px; - left: 0; - content: ''; - display: inline-block; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; - border: 1px solid #bbb; - background: #fff; -} - -.ckbox input[type="checkbox"]:disabled + label { - color: #999; -} - -.ckbox input[type="checkbox"]:disabled + label:before { - background-color: #eee; -} - -.ckbox input[type="checkbox"]:checked + label:after { - font-family: 'FontAwesome'; - content: "\F00C"; - position: absolute; - top: 2.5px; - left: 3.5px; - display: inline-block; - font-size: 11px; - width: 16px; - height: 16px; - color: #fff; -} - -.ckbox-default input[type="checkbox"]:checked + label:before { - border-color: #999; -} - -.ckbox-default input[type="checkbox"]:checked + label:after { - color: #333; -} - -.ckbox-primary input[type="checkbox"]:checked + label:before { - border-color: #357EBD; - background-color: #428BCA; -} - -.ckbox-warning input[type="checkbox"]:checked + label:before { - border-color: #EEA236; - background-color: #F0AD4E; -} - -.ckbox-success input[type="checkbox"]:checked + label:before { - border-color: #5cb85c; - background-color: #5cb85c; -} - -.ckbox-danger input[type="checkbox"]:checked + label:before { - border-color: #D43F3A; - background-color: #D9534F; -} - -.rdio label:before { - width: 18px; - height: 18px; - position: absolute; - top: 1px; - left: 0; - content: ''; - display: inline-block; - -moz-border-radius: 50px; - -webkit-border-radius: 50px; - border-radius: 50px; - border: 1px solid #bbb; - background: #fff; -} - -.rdio input[type="radio"]:disabled + label { - color: #999; -} - -.rdio input[type="radio"]:disabled + label:before { - background-color: #eee; -} - -.rdio input[type="radio"]:checked + label::after { - content: ''; - position: absolute; - top: 5px; - left: 4px; - display: inline-block; - font-size: 11px; - width: 10px; - height: 10px; - background-color: #444; - -moz-border-radius: 50px; - -webkit-border-radius: 50px; - border-radius: 50px; -} - -.rdio-default input[type="radio"]:checked + label:before { - border-color: #999; -} - -.rdio-primary input[type="radio"]:checked + label:before { - border-color: #428BCA; -} - -.rdio-primary input[type="radio"]:checked + label::after { - background-color: #428BCA; -} - -.rdio-warning input[type="radio"]:checked + label:before { - border-color: #F0AD4E; -} - -.rdio-warning input[type="radio"]:checked + label::after { - background-color: #F0AD4E; -} - -.rdio-success input[type="radio"]:checked + label:before { - border-color: #1CAF9A; -} - -.rdio-success input[type="radio"]:checked + label::after { - background-color: #1CAF9A; -} - -.rdio-danger input[type="radio"]:checked + label:before { - border-color: #D9534F; -} - -.rdio-danger input[type="radio"]:checked + label::after { - background-color: #D9534F; -} - -.errorForm label { - display: block; - background-color: #f2dede; - border: 1px solid #ebccd1; - color: #a94442; - padding: 5px 10px; - display: block; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -.form-group.has-error label.error { - color: #a94442; -} - -.errorForm label:last-child { - margin-bottom: 20px !important; -} - -.colorpicker-input { - display: inline-block; - width: 100px; -} - - -/***** 7.1 FORM WIZARD *****/ - -.nav-wizard { - background-color: #ddd; - margin-bottom: 15px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - margin-bottom: 5px; -} - -.nav-wizard > li { - position: relative; - margin-right: -2px; -} - -.nav-wizard > li > a { - color: #666; -} - -.nav-wizard > li > a { - position: relative; - padding-left: 30px; - -moz-border-radius: 0; - -webkit-border-radius: 0; - border-radius: 0; -} - -.nav-wizard > li > a:after { - border-left: 19px solid #ddd; - border-top: 19px solid rgba(0,0,0,0); - border-bottom: 19px solid rgba(0,0,0,0); - content: ''; - display: inline-block; - position: absolute; - top: 0; - right: -19px; - z-index: 10; -} - -.nav-wizard > li > a:before { - border-left: 20px solid #fff; - border-top: 20px solid rgba(0,0,0,0); - border-bottom: 20px solid rgba(0,0,0,0); - content: ''; - display: inline-block; - position: absolute; - top: -1px; - right: -20px; - z-index: 5; -} - -.nav-wizard > li > a:hover, -.nav-wizard > li > a:active, -.nav-wizard > li > a:focus { - background-color: #ccc; -} - -.nav-wizard > li > a:hover:after, -.nav-wizard > li > a:active:after, -.nav-wizard > li > a:focus:after { - border-left-color: #ccc; -} - -.nav-wizard > li:first-child > a { - padding-left: 15px; - -moz-border-radius: 3px 0 0 3px; - -webkit-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; -} - -.nav-wizard > li:last-child > a { - -moz-border-radius: 0 3px 3px 0; - -webkit-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; -} - -.nav-wizard > li:last-child > a:after, -.nav-wizard > li:last-child > a:before { - display: none; -} - -.nav-wizard > li.active a, -.nav-wizard > li.active a:hover, -.nav-wizard > li.active a:focus, -.nav-wizard > li.active a:active { - background-color: #4e5154; - color: #fff; -} - -.nav-wizard > li.active a:after { - border-left-color: #4e5154; -} - -.nav-wizard > li.done a { - background-color: #428bca; - color: #fff; -} - -.nav-wizard > li.done a:after { - border-left-color: #428bca; -} - -.panel-wizard { - margin-bottom: 20px; -} - -.panel-wizard .tab-content { - border: 1px solid #ddd; - -moz-border-radius: 3px 3px 0 0; - -webkit-border-radius: 3px 3px 0 0; - border-radius: 3px 3px 0 0; - border-bottom: 0; -} - -.panel-wizard .wizard { - margin: 0; - background-color: #fcfcfc; - padding: 15px; - border: 1px solid #ddd; - -moz-border-radius: 0 0 3px 3px; - -webkit-border-radius: 0 0 3px 3px; - border-radius: 0 0 3px 3px; -} - -.panel-wizard .wizard:after { - clear: both; - display: block; - content: ''; -} - -.panel-wizard .progress { - margin-bottom: 5px; -} - -.nav-disabled-click > li > a:hover, -.nav-disabled-click > li > a:active, -.nav-disabled-click > li > a:focus { - background-color: #ddd; - cursor: default; -} - -.nav-disabled-click > li > a:hover:after, -.nav-disabled-click > li > a:active:after, -.nav-disabled-click > li > a:focus:after { - border-left-color: #ddd; -} - -.nav-disabled-click > li.active > a:hover:after, -.nav-disabled-click > li.active > a:active:after, -.nav-disabled-click > li.active > a:focus:after { - border-left-color: #4e5154; -} - -.nav-disabled-click > li.done > a:hover, -.nav-disabled-click > li.done > a:active, -.nav-disabled-click > li.done > a:focus { - background-color: #428bca; -} - -.nav-disabled-click > li.done > a:hover:after, -.nav-disabled-click > li.done > a:active:after, -.nav-disabled-click > li.done > a:focus:after { - border-left-color: #428bca; -} - -.nav-wizard-success > li.done > a { - background-color: #5cb85c; -} - -.nav-wizard-success > li.done > a:after { - border-left-color: #5cb85c; -} - -.nav-wizard-warning > li.done > a { - background-color: #f0ad4e; -} - -.nav-wizard-warning > li.done > a:after { - border-left-color: #f0ad4e; -} - -.nav-wizard-danger > li.done > a { - background-color: #d9534f; -} - -.nav-wizard-danger > li.done > a:after { - border-left-color: #d9534f; -} - -.nav-wizard-info > li.done > a { - background-color: #5bc0de; -} - -.nav-wizard-info > li.done > a:after { - border-left-color: #5bc0de; -} - - -/********** 8. TABLE STYLES **********/ -/*************************************/ - -.table-action a, -.table-action-hide a { - color: #666; - display: inline-block; - margin-left: 2px; -} - -.table-action-hide a { - opacity: 0; -} - -.table-primary thead tr th { - background-color: #428BCA; -} - -.table-success thead tr th { - background-color: #5cb85c; -} - -.table-warning thead tr th { - background-color: #F0AD4E; -} - -.table-danger thead tr th { - background-color: #D9534F; -} - -.table-info thead tr th { - background-color: #5BC0DE; -} - -.table-dark thead tr th { - background-color: #4e5154; -} - -.table.table-primary thead tr th, -.table.table-success thead tr th, -.table.table-danger thead tr th, -.table.table-warning thead tr th, -.table.table-info thead tr th, -.table.table-dark thead tr th { - color: #fff; - border-bottom: 0; -} - -.table-bordered.table-primary thead tr th, -.table-bordered.table-success thead tr th, -.table-bordered.table-warning thead tr th, -.table-bordered.table-danger thead tr th, -.table-bordered.table-info thead tr th, -.table-bordered.table-dark thead tr th { - border-color: rgba(255,255,255,0.2); -} - -.table.table-primary tbody tr:first-child td, -.table.table-success tbody tr:first-child td, -.table.table-danger tbody tr:first-child td, -.table.table-warning tbody tr:first-child td, -.table.table-info tbody tr:first-child td, -.table.table-dark tbody tr:first-child td { - border-top: 0; -} - - -/********** 9. PAGES STYLES **********/ -/*************************************/ - - -/***** 9.1 NOT FOUND PAGE STYLES *****/ - -.notfoundpanel { - text-align: center; - width: 600px; - margin: 80px auto 0 auto; - position: relative; -} - -.notfoundpanel h1 { - font-size: 180px; - font-weight: 200; - color: #000; - margin: 0 0 10px 0; - line-height: 180px; - /* text-shadow: 4px 4px rgba(0,0,0,0.2); */ -} - -.notfoundpanel h3 { - color: #333; - margin: 0 0 10px 0; -} - -.notfoundpanel p { - font-size: 14px !important; -} - -.notfoundpanel form { - width: 350px; - margin: 20px auto 0 auto; -} - -.notfoundpanel .form-control { - width: 250px; - float: left; -} - -.notfoundpanel .btn { - padding: 9px 20px 10px 20px; -} - - - -/***** 9.2 INVOICE STYLES *****/ - - -.table-invoice { - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - border-bottom: 1px solid #ddd; - margin-top: 20px; -} - -.table-invoice thead > tr > th { - font-weight: 500; - padding: 15px; -} - -.table-invoice thead > tr > th:last-child, -.table-invoice thead > tr > th:nth-child(3), -.table-invoice thead > tr > th:nth-child(2) { - text-align: right; -} - -.table-invoice tbody > tr > td { - padding: 15px; - border-color: #ddd; -} - -.table-invoice tbody > tr > td:last-child, -.table-invoice tbody > tr > td:nth-child(3), -.table-invoice tbody > tr > td:nth-child(2) { - width: 15%; - text-align: right; -} - -.table-invoice tbody > tr > td h5, -.table-invoice tbody > tr > td p { - margin: 0; -} - -.table-invoice thead > tr > th:nth-child(2) { - background-color: #3f4144; -} - -.table-invoice thead > tr > th:nth-child(3) { - background-color: #484a4d; -} - -.table-invoice thead > tr > th:last-child { - background-color: #555; -} - -.table-invoice tbody > tr > td:nth-child(2) { - background-color: #eee; -} - -.table-invoice tbody > tr > td:nth-child(3) { - background-color: #f7f7f7; -} - -.table-total { - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - float: right; -} - -.table-total > tbody > tr > td:first-child { - border: 0; - text-transform: uppercase; - font-weight: normal; - text-align: right; -} - -.table-total > tbody > tr > td:last-child { - border-bottom: 1px solid #ddd; - width: 15%; - text-align: right; - font-size: 24px; - font-weight: 500; - color: #333; -} - -table.dataTable.dtr-inline.collapsed tbody td:first-child:before, -table.dataTable.dtr-inline.collapsed tbody th:first-child:before { - border: 1px solid #ccc !important; - background-color: #ddd !important; - -moz-border-radius: 2px !important; - -webkit-border-radius: 2px !important; - border-radius: 2px !important; - color: #666 !important; - font-weight: bold !important; - -moz-box-shadow: none !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; -} - - - -/***** 9.3 MEDIA MANAGER STYLES *****/ - -.media-options { - margin-bottom: 20px; -} - -.media-options:after { - clear: both; - display: block; - content: ''; -} - -.media-options .btn-group { - margin-bottom: 0; -} - -.media-option-group { - margin: 0; - margin-left: 5px; -} - -.media-option-group label { - margin-bottom: 0 !important; -} - -.media-manager .thmb { - border: 1px solid #e7e7e7; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - padding: 10px; - margin-bottom: 20px; - position: relative; -} - -.media-manager .thmb.checked { - border-color: #bbb; - background-color: #fcfcfc; -} - -.media-manager .thmb::after { - clear: both; - display: block; - content: ''; -} - -.media-manager .ckbox { - position: absolute; - top: 15px; - left: 15px; - display: none; -} - -.media-manager .fm-group { - position: absolute; - top: 15px; - right: 15px; - display: none; -} - -.media-manager .fm-toggle { - padding: 1px 4px; - line-height: normal; - background: #fff; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -.media-manager .fm-menu { - min-width: 120px; -} - -.media-manager .fm-menu a { - font-size: 12px; - color: #333; - padding: 4px 8px; -} - -.media-manager .fm-menu i { - margin-right: 7px; - color: #999; - width: 16px; - font-size: 13px; -} - -.media-manager .thmb-prev { - background: #eee; - overflow: hidden; -} - -.media-manager .thmb-prev a { - display: block; -} - -.media-manager .fm-title { - margin-bottom: 0; - font-size: 13px; -} - -.media-manager .fm-title a { - overflow: hidden; - text-overflow: ellipsis; - display: block; - white-space: nowrap; -} - -.media-manager-sidebar { - padding-left: 10px; -} - -.media-manager-sidebar .lg-title a { - color: #999; - font-size: 11px; -} - -.media-manager-sidebar .lg-title a:hover { - text-decoration: none; - color: #333; -} - -.folder-list { - list-style: none; - padding: 0; - margin: 0; -} - -.folder-list li { - display: block; - border-bottom: 1px solid #eee; -} - -.folder-list li a { - display: block; - padding: 7px 0; - color: #666; -} - -.folder-list li a:hover { - color: #333; - text-decoration: none; -} - -.folder-list li i { - margin-right: 10px; - width: 16px; -} - -.media-manager-sidebar .tag-list { - list-style: none; - padding: 0; - margin: 0; -} - -.media-manager-sidebar .tag-list li { - float: left; - margin-right: 5px; - margin-bottom: 5px; -} - -.media-manager-sidebar .tag-list li a { - display: block; - padding: 5px 7px; - font-size: 11px; - background: #ddd; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - color: #666; -} - -.media-manager-sidebar .tag-list li a:hover { - color: #fff; - text-decoration: none; - background: #428BCA; -} - - - -/***** 9.4 PEOPLE DIRECTORY STYLES *****/ - - -.nav-contacts { - margin-bottom: 20px; -} - -.nav-contacts li a { - color: #666; - font-weight: 400; - font-size: 13px; -} - -.nav-contacts li .badge { - background: none; - font-weight: 500; - color: #333; -} - -.nav-contacts li.active .badge { - color: #fff; - background: none; -} - -.people-group .media img { - width: 45px; -} - -.people-group .list-group-item { - -moz-transition: all 0.2s ease-out 0s; - -webkit-transition: all 0.2s ease-out 0s; - transition: all 0.2s ease-out 0s; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - margin: 0; - border-width: 0; -} - -.people-group .media-heading { - margin-top: 5px; -} - -.people-group .media-heading, -.people-group .media-body { - line-height: normal; -} - -.pagination-contact { - margin-top: -3px; -} - -.contact-group { - margin-top: 20px; -} - -.contact-group .media img { - width: 80px; -} - -.contact-group .list-group-item { - -} - -.contact-group .media-heading { - font-size: 16px; - font-weight: 500; -} - -.contact-group .media-heading small { - margin-left: 5px; - font-size: 13px; - font-weight: 400; - color: #999; -} - -.contact-group .list-group-item { - border-color: #e7e7e7; - margin-top: 10px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -.contact-group .list-group-item:hover { - background-color: #fcfcfc; -} - -.contact-group .media-content { - margin-top: 5px; -} - -.contact-group .media-content .fa { - font-size: 16px; - vertical-align: middle; - width: 20px; - color: #333; -} - -.contact-group .media-content ul { - margin-top: 15px; - margin-bottom: 0; -} - -.contact-group .media-content ul > li { - display: inline-block; - min-width: 200px; - margin-bottom: 5px; -} - - -/***** 9.5 PROFILE STYLES *****/ - - -.img-profile { - display: inline-block; - max-width: 200px; -} - -.social-list > li { - padding: 5px 0; - border-bottom: 1px dashed #eee; -} - -.social-list > li > i { - width: 16px; - margin-right: 5px; -} - -.activity-list > .media { - border-bottom: 1px dashed #ddd; - padding-bottom: 15px; - font-size: 14px; -} - -.activity-list > .media:last-child { - border-bottom: 0; - padding-bottom: 0; -} - -.activity-list .media-object { - width: 28px; - vertical-align: middle; -} - -.activity-list .media-body { - line-height: 18px; -} - -.activity-list .media-body p { - line-height: 21px; - font-size: 13px; -} - -.activity-list .media-title { - font-size: 15px; - margin-bottom: 0; -} - -.activity-list .blog-media { - padding-bottom: 0; -} - -.activity-list .blog-media .media-object { - width: 120px; - margin-right: 10px; - margin-top: 5px; -} - -.activity-list .blog-media .media-title { - margin: 0; -} - -.activity-list .img-single img { - width: 50%; -} - -.uploadphoto-list { - list-style: none; - padding: 0; - margin: 0; - margin-top: 20px; -} - -.uploadphoto-list li { - width: 20%; - float: left; -} - -.uploadphoto-list li a { - display: block; - margin-right: 5px; -} - -.follower-list { - padding: 10px 10px 0 10px; -} - -.follower-list .media { - border-bottom: 1px solid #eee; - padding-bottom: 10px; -} - -.follower-list .media:last-child { - padding-bottom: 0; - border-bottom: 0; -} - -.follower-list .fa { - margin-right: 5px; - width: 16px; - text-align: center; -} - -.follower-list .media-object { - margin-right: 10px; -} - -.follower-name { - color: #333; - margin: 5px 0 0 0; - font-size: 18px; - margin-bottom: 5px; -} - -.events .media { - margin-bottom: 20px; -} - -.events .media-object { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -.events-list { - list-style: none; - margin: 0; - padding: 0; -} - -.events-list .media-body { - font-size: 13px; -} - -.event-body small { - display: block; -} - -.event-body small .fa { - margin-right: 5px; - width: 14px; - text-align: center; -} - -.event-body p { - margin-top: 10px; -} - -.event-title { - margin: 0; - margin-bottom: 5px; - font-size: 16px; - line-height: normal; -} - - - -/***** 9.6 SEARCH RESULTS *****/ - -.nav-file-type > li > a { - color: #666; -} - -.nav-file-type > li > a > i { - width: 16px; - margin-right: 5px; - color: #333; -} - -.nav-file-type > li.active > a, -.nav-file-type > li.active > a:hover { - background-color: #4e5154; -} - -.nav-file-type > li.active > a > i { - color: #fff; -} - -.results-list .media { - border-bottom: 1px solid #eee; -} - -.results-list .media-object { - width: 125px; - margin-right: 10px; -} - -.results-list .filename { - margin: 0; - font-size: 16px; -} - -.results-list .media-body { - line-height: 18px; -} - -.pagination-search { - margin-bottom: 10px; - margin-top: 0; -} - - - -/***** 9.7 SIGN IN/UP PAGE *****/ - -body.signin { - background-color: #428bca; -} - -.panel-signin, -.panel-signup { - margin: 80px auto 0 auto; -} - -.panel-signin { - width: 400px; -} - -.panel-signup { - width: 600px; -} - -.panel-signin .panel-body, -.panel-signup .panel-body { - padding: 40px; -} - -.panel-signin .panel-footer, -.panel-signup .panel-footer { - padding-left: 40px; - padding-right: 40px; -} - - -/***** 9.8 LOCKED SCREEN ********/ - -.locked { - background: rgba(0,0,0,0.75); - width: 100%; - height: 100%; - position: fixed; - top: 0; - left: 0; - z-index: 2000; -} - -.lockedpanel { - width: 280px; - margin: 10% auto 0 auto; - text-align: center; - background-color: #fff; - padding: 20px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -.lockedpanel .loginuser { - text-align: center; -} - -.lockedpanel .logged { - margin-top: 20px; -} - -.lockedpanel .logged h4 { - margin: 0; - font-size: 21px; - color: #333; -} - -.lockedpanel form { - margin-top: 20px; -} - -.lockedpanel form .btn { - display: block; - margin-top: 10px; -} - - - -/********* 10. DASHBOARD STYLES **********/ -/*****************************************/ - -.flotLegend { - margin-bottom: 10px; -} -.flotLegend table tr td { - padding-right: 5px; -} - -.row-stat .panel .panel-heading { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -.panel-icon { - background: rgba(255,255,255,0.9); - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - width: 60px; - height: 60px; - float: left; - margin-right: 15px; -} - -.panel-icon .fa { - color: #000; - font-size: 36px; - padding: 12px 0 0 19px; -} - -.panel-bluegreen .panel-icon .fa { - color: #03c3c4; -} - -.panel-violet .panel-icon .fa { - color: #905dd1; -} - -.panel-blue .panel-icon .fa { - color: #428bca; -} - -.row-stat .md-title { - opacity: 0.6; - font-size: 12px; - margin-bottom: 5px; -} - -.row-stat h1 { - margin-bottom: 0; -} - -.row-stat hr { - opacity: 0.3; - margin: 15px 0 0 0; - border-width: 2px; -} - -.panel-icon .fa-users { - padding: 12px 0 0 10px; -} - -.panel-icon .fa-pencil { - padding: 12px 0 0 17px; -} - -.sublabel { - font-size: 11px; - display: block; - margin-bottom: 3px; -} - -.flotChart { - width: 100%; - height: 200px; -} - -#bar-chart { - height: 250px; -} - - - -/********** 11. LEFT MENU COLLAPSE **********/ -/********************************************/ - -.headerwrapper.collapsed .header-left { - position: relative; - left: -168px; -} - -.headerwrapper.collapsed .header-right { - margin-left: 61px; -} - -.mainwrapper.collapsed:before { - width: 61px; -} - -.mainwrapper.collapsed .mainpanel { - margin-left: 61px; -} - -.mainwrapper.collapsed .leftpanel { - width: 61px; -} - -.mainwrapper.collapsed .leftpanel-title { - display: none; -} - -.mainwrapper.collapsed .profile-left { - /*min-height: 0;*/ - padding-left: 10px; -} - -.mainwrapper.collapsed .profile-left .profile-thumb { - margin: 12px 0 0 0; -} - -.mainwrapper.collapsed .profile-left .profile-thumb img { - width: 30px; -} - -.mainwrapper.collapsed .profile-left .media-body { - display: none; -} - -.mainwrapper.collapsed .nav { - margin-top: 20px; -} - -.mainwrapper.collapsed .nav > li > a { - padding-left: 20px; -} - -.mainwrapper.collapsed .nav > li.nav-hover:not(.active) > a { - background-color: #f7f7f7; -} - -.mainwrapper.collapsed .nav > li > a > span:not(.badge) { - position: absolute; - width: 190px; - z-index: 100; - background-color: #f7f7f7; - border: 1px solid #e7e7e7; - borer-bottom: 0; - display: block; - top: -1px; - left: 60px; - padding: 12px 10px 0 10px; - border-left: 0; - height: 46px; - display: none; - -moz-border-radius: 0 3px 3px 0; - -webkit-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; -} - -.mainwrapper.collapsed .nav > li.parent > a > span:not(.badge) { - -moz-border-radius: 0 3px 0 0; - -webkit-border-radius: 0 3px 0 0; - border-radius: 0 3px 0 0; -} - -.mainwrapper.collapsed .nav > li > a > span.badge { - position: absolute; - top: 12px; - right: -170px; - z-index: 200; - display: none; -} - -.mainwrapper.collapsed .nav > li.active > a > span:not(.badge) { - background-color: #428bca; - border: 0; - height: 44px; - top: 0; -} - -.mainwrapper.collapsed .nav > li.parent:after { - display: none; -} - -.mainwrapper.collapsed .nav > li.nav-hover > a > span { - display: block; -} - -.mainwrapper.collapsed .nav > li.nav-hover > .children { - display: block !important; -} - -.mainwrapper.collapsed .nav > li.parent .children { - position: absolute; - z-index: 100; - background-color: #fff; - left: 61px; - width: 189px; - border: 1px solid #e7e7e7; - border-top: 0; - border-left: 0; - display: none; -} - -.mainwrapper.collapsed .nav > li.parent .children > li > a { - padding-left: 10px; -} - - - -/********** 12. CUSTOM STYLES **********/ -/***************************************/ - - -.mt0 { margin-top: 0 !important; } -.mt5 { margin-top: 5px !important; } -.mt10 { margin-top: 10px !important; } -.mt20 { margin-top: 20px !important; } -.mr10 { margin-right: 10px !important; } -.mr20 { margin-right: 20px !important; } -.ml5 { margin-left: 5px !important; } -.ml10 { margin-left: 10px !important; } -.mr5 { margin-right: 5px !important; } -.mr10 { margin-right: 10px !important; } -.mr15 { margin-right: 15px !important; } -.mr20 { margin-right: 20px !important; } -.mr30 { margin-right: 30px !important; } -.mb5 { margin-bottom: 5px; } -.mb8 { margin-bottom: 8px; } -.mb9 { margin-bottom: 9px; } -.mb10 { margin-bottom: 10px; } -.mb15 { margin-bottom: 15px; } -.mb20 { margin-bottom: 20px; } -.mb30 { margin-bottom: 30px; } -.nomargin { margin: 0; } -.nopadding { padding: 0; } -.padding10 { padding: 10px; } -.padding15 { padding: 15px; } -.padding20 { padding: 20px; } -.noborder { border: 0; } -.height200 { height: 200px; } -.height300 { height: 300px; } -.width100p { width: 100%; } -.width300 { width: 300px; } - -.text-black { color: #000; } - -.inline-block { display: inline-block; } - - - -/********** 13. MEDIA QUERIES **********/ -/***************************************/ - - -@media screen and (max-width: 1024px) { - - body { - width: 100%; - overflow-x: hidden; - } - - /* indicator that page is 1024 */ - .logo { - position: relative; - } - - /* dashboard */ - .row-dashboard .col-md-6 { - float: none; - width: auto; - } - - /* wizard */ - .contentpanel-wizard .row .col-md-6 { - float: none; - width: auto; - } -} - -@media screen and (max-width: 768px) { - - body { - position: relative; - } - - .logo { - position: static; - } - - .headerwrapper .header-left, - .headerwrapper .header-right { - position: relative; - } - - .headerwrapper .header-left { - z-index: 3000; - margin-left: -168px; - } - - .headerwrapper .header-right { - width: 100%; - margin-left: 0; - } - - .leftpanel, - .mainwrapper:before { - display: none; - } - - .mainpanel { - width: 100%; - margin-left: 0; - } - - .show-left .headerwrapper .header-left { - margin-left: 0; - } - - .show-left .headerwrapper .header-right { - margin-left: 230px; - } - - .show-left .mainwrapper { - overflow: hidden; - } - - .show-left .leftpanel, - .show-left .mainwrapper:before { - display: block; - } - - .show-left .leftpanel { - position: fixed; - top: 0; - bottom: 0; - height: 100%; - overflow-y: auto; - } - - .show-left .leftpanel .profile-left { - margin-top: 60px; - } - - .show-left .mainpanel { - margin-left: 230px; - } - -} - -@media screen and (max-width: 640px) { - - /* media manager */ - .media-options div.pull-left, - .media-options div.pull-right { - float: none !important; - width: auto !important; - } - - .media-options div.pull-left { - margin-bottom: 20px !important; - } - - .contentpanel-mediamanager .col-sm-9, - .contentpanel-mediamanager .col-sm-3 { - float: none; - width: auto; - } - - .media-manager-sidebar { - padding-left: 0; - } - - /* table */ - .dataTables_wrapper .row .col-xs-6 { - float: none; - width: auto; - text-align: center; - } - - div.dataTables_paginate { - float: none !important; - margin-top: 10px !important; - } - - .panel-signin { - margin: 20px auto; - } - - .panel-signup { - margin: 20px; - width: auto; - } - - /* wizard */ - .nav-wizard { - background: none; - } - - .nav-wizard > li { - margin: 0 !important; - } - - .nav-wizard > li > a, - .nav-wizard > li:first-child > a, - .nav-wizard > li:last-child > a { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - } - - .nav-wizard > li > a:before, - .nav-wizard > li > a:after { - display: none; - } - -} - - -@media screen and (max-width: 480px) { - - .btn-group-notification .dropdown-menu { - margin-right: -62px; - } - - .headerwrapper .header-right .btn-group-notification .dropdown-menu:after { - right: 75px; - } - - .notfoundpanel { - width: auto; - } - - .notfoundpanel h3 { - font-size: 18px; - } - - .leftpanel .profile-left { - min-height: 0; - height: 70px; - padding: 10px; - } - - .leftpanel .profile-left .profile-thumb img { - width: 40px; - } - - .leftpanel .profile-left .media-heading { - margin-top: 7px; - } - - .pageheader { - padding: 10px; - height: 70px; - } - - .contentpanel { - padding: 10px; - } -} - -@media screen and (max-width: 360px) { - - .pageheader h4 { - font-size: 24px; - } - - .form-search { - position: relative; - } - - .headerwrapper .header-right .form-search { - display: none; - } - - .leftpanel .form-search { - margin: 10px 10px 10px 10px; - } - - .headerwrapper .header-right .btn-group-notification .dropdown-menu { - min-width: 340px; - margin-right: -103px; - } - - .headerwrapper .header-right .btn-group-messages .dropdown-menu { - min-width: 340px; - margin-right: -41px; - } - - .headerwrapper .header-right .btn-group-notification .dropdown-menu:after { - right: 115px; - } - - .headerwrapper .header-right .btn-group-messages .dropdown-menu:after { - right: 50px; - } - - /* messages */ - .msg-list > li .sender { - line-height: normal; - } - - /* notfound */ - .notfoundpanel { - margin: 20px; - } - - .notfoundpanel h1 { - font-size: 150px; - line-height: 150px; - } - - .notfoundpanel h3 { - font-size: 16px; - } - - .notfoundpanel p { - font-size: 13px !important; - } - - .notfoundpanel .form-control { - width: 200; - float: none; - margin: auto; - } - - .notfoundpanel .btn { - margin-top: 5px; - width: 250px; - } - - .media-options .btn-group { - margin-bottom: 10px; - } - - .btn-invoice .btn { - width: 100%; - margin-bottom: 10px; - } - - .fc-header tr td { - display: table-row; - width: 100%; - } - - .fc-header-center { - text-align: left !important; - } - - .fc-header-title { - text-align: left; - margin-bottom: 10px; - } - - .panel-signin { - width: auto; - margin: 20px; - } - - .panel-signin .panel-footer { - padding-left: 20px; - padding-right: 20px; - } - - .panel-signin .panel-footer .btn { - font-size: 13px; - } - - .panel-signup .pull-left, - .panel-signup .pull-right { - float: none !important; - } - - .panel-signup .btn.btn-success { - width: 100%; - } -} - -@media screen and (max-width: 320px) { - - .pageheader h4 { - font-size: 20px; - } - - .pageheader .breadcrumb { - margin-top: 5px; - } - - .headerwrapper .header-right .btn-group-notification .dropdown-menu { - min-width: 300px; - margin-right: -103px; - } - - .headerwrapper .header-right .btn-group-messages .dropdown-menu { - min-width: 300px; - margin-right: -41px; - } - - .headerwrapper .header-right .btn-group-notification .dropdown-menu:after { - right: 115px; - } - - .headerwrapper .header-right .btn-group-messages .dropdown-menu:after { - right: 50px; - } - - .panel-signin .panel-footer .btn { - font-size: 11px; - } - - .panel-signin .panel-body, - .panel-signup .panel-body { - padding: 30px 20px; - } - -} diff --git a/code/static/assets/images/sass/common/dialogs/image.css b/code/static/assets/images/sass/common/dialogs/image.css deleted file mode 100644 index 4f60cbd..0000000 --- a/code/static/assets/images/sass/common/dialogs/image.css +++ /dev/null @@ -1,42 +0,0 @@ -.edui-dialog-image .edui-image-wrapper{font-size: 12px;margin: 15px;} - -/*upload*/ -.edui-dialog-image .edui-image-upload1{position: absolute;top:50%;left:50%;width:44px;height:38px;margin-top:-19px; margin-left: -22px;} -.edui-dialog-image .edui-image-upload2{position:relative;float:left;width:120px;height:120px;margin:5px 0 0 5px;} - -.edui-dialog-image .edui-image-form{position: absolute;left: 0px;top: 0px;width: 100%;height: 100%;opacity: 0;cursor: pointer;} -.edui-dialog-image .edui-image-form .edui-image-file{width: 100%;height:100%;filter: alpha(opacity=0)} - -.edui-dialog-image .edui-image-upload1 .edui-image-icon{display: inline-block;width:44px;height:38px;background-image: url('../assets/images/upload1.png')} -.edui-dialog-image .edui-image-upload1 .edui-image-icon.hover{background-position: -50px 0;} -.edui-dialog-image .edui-image-upload2 .edui-image-icon{display: inline-block;width:120px;height:120px;background-image: url('../assets/images/upload2.png')} - -.edui-dialog-image .edui-image-dragTip{position: absolute;display:none;top:50%;left:50%;margin-top:30px;margin-left: -60px; - color: #222;font-size:14px;text-shadow: 0px 2px 3px #555;} - -.edui-dialog-image .edui-image-content{height:330px;width:100%;position: relative;} - -.edui-dialog-image .edui-image-mask{display: none;position: absolute;top:0;left:0;width: 100%; height: 100%;background-color:#fff; - text-align: center;line-height:300px;color:#000;font-size:14px;font-weight:bold;opacity: 0.6;filter: alpha(opacity=60);} -.edui-dialog-image .edui-image-mask.edui-active{display: block;} - -/*network*/ -.edui-dialog-image .edui-image-searchBar{margin: 10px;} -.edui-dialog-image .edui-image-searchBar .edui-image-searchTxt{display: inline-block !important;*display: inline !important;*zoom:1;width:400px; border: 1px solid #c5d2ff; height: 20px; line-height: 18px; font-size: 14px; padding: 3px; margin: 0;outline:0;} -.edui-dialog-image .edui-image-searchBar .edui-image-searchAdd{display: inline-block !important;*display: inline !important;*zoom:1; - width:60px; text-align:center;height: 25px;text-align: center;line-height: 25px; - background-color: #ffffff;padding: 0; border: 1px solid #ababab;margin-left: 20px;cursor: pointer; -} -.edui-dialog-image .edui-image-searchBar .edui-image-searchAdd.hover{ - background-color: #d5e1f2; - padding: 0; - border: 1px solid #a3bde3; -} -.edui-dialog-image .edui-image-searchRes{height:280px;overflow:auto;} - - -/*common*/ -.edui-dialog-image .edui-image-item{position:relative;float:left;width:120px;height:120px;border: 1px solid #CCC;cursor: default;margin: 5px 0 0 5px;} -.edui-dialog-image .edui-image-item .edui-image-pic{position: absolute;left:-9999px;} -.edui-dialog-image .edui-image-item .edui-image-close{position:absolute;right:0;background: url('../assets/images/close.png');width:17px;height:17px;cursor:pointer;z-index:1} -.edui-dialog-image .edui-image-item.hover .edui-image-close{display: block;} diff --git a/code/static/assets/images/sass/common/dialogs/video.css b/code/static/assets/images/sass/common/dialogs/video.css deleted file mode 100644 index e046d8c..0000000 --- a/code/static/assets/images/sass/common/dialogs/video.css +++ /dev/null @@ -1,59 +0,0 @@ -@charset "utf-8"; -.edui-dialog-video .edui-video-wrapper{ width: 570px;_width:575px;margin: 10px auto; zoom:1;position: relative} -.edui-dialog-video .edui-video-tabbody{height:335px;} -.edui-dialog-video .edui-video-panel { position: absolute;width:100%; height:100%;background: #fff;} -.edui-dialog-video .edui-video-panel table td{vertical-align: middle;} -.edui-dialog-video #eduiVideoUrl { - width: 470px; - height: 21px; - line-height: 21px; - margin: 8px 5px; - background: #FFF; - border: 1px solid #d7d7d7; -} -.edui-dialog-video #eduiVideoSearchTxt{margin-left:15px;background: #FFF;width:200px;height:21px;line-height:21px;border: 1px solid #d7d7d7;} -.edui-dialog-video #searchList{width: 570px;overflow: auto;zoom:1;height: 270px;} -.edui-dialog-video #searchList div{float: left;width: 120px;height: 135px;margin: 5px 15px;} -.edui-dialog-video #searchList img{margin: 2px 8px;cursor: pointer;border: 2px solid #fff} /*不用缩略图*/ -.edui-dialog-video #searchList p{margin-left: 10px;} -.edui-dialog-video #eduiVideoType{ - width: 65px; - height: 23px; - line-height: 22px; - border: 1px solid #d7d7d7; -} -.edui-dialog-video #eduiVideoSearchBtn,.edui-dialog-video #eduiVideoSearchReset{ - /*width: 80px;*/ - height: 25px; - line-height: 25px; - background: #eee; - border: 1px solid #d7d7d7; - cursor: pointer; - padding: 0 5px; -} - - - -.edui-dialog-video #eduiVideoPreview{width: 420px; margin-left: 10px; _margin-left:5px; height: 280px;background-color: #ddd;float: left} -.edui-dialog-video #eduiVideoInfo {width: 120px;float: left;margin-left: 10px;_margin-left:7px;} -.edui-dialog-video .edui-video-wrapper fieldset{ - border: 1px solid #ddd; - padding-left: 5px; - margin-bottom: 20px; - padding-bottom: 5px; - width: 115px; -} -.edui-dialog-video .edui-video-wrapper fieldset legend{font-weight: bold;} -.edui-dialog-video .edui-video-wrapper fieldset p{line-height: 30px;} -.edui-dialog-video .edui-video-wrapper fieldset input.edui-video-txt{ - width: 65px; - height: 21px; - line-height: 21px; - margin: 8px 5px; - background: #FFF; - border: 1px solid #d7d7d7; -} -.edui-dialog-video .edui-video-wrapper label.edui-video-url{font-weight: bold;margin-left: 5px;color: #06c;} -.edui-dialog-video #eduiVideoFloat div{cursor:pointer;opacity: 0.5;filter: alpha(opacity = 50);margin:9px;_margin:5px;width:38px;height:36px;float:left;} -.edui-dialog-video #eduiVideoFloat .edui-video-focus{opacity: 1;filter: alpha(opacity = 100)} -.edui-dialog-video .edui-video-wrapper span.edui-video-view{display: inline-block;width: 30px;float: right;cursor: pointer;color: blue} \ No newline at end of file diff --git a/code/static/assets/images/sass/common/font-awesome.min.scss b/code/static/assets/images/sass/common/font-awesome.min.scss deleted file mode 100644 index 6b8c9c8..0000000 --- a/code/static/assets/images/sass/common/font-awesome.min.scss +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.1.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:spin 2s infinite linear;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1)}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-square:before,.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"} diff --git a/code/static/assets/images/sass/common/global.scss b/code/static/assets/images/sass/common/global.scss deleted file mode 100644 index 05d8839..0000000 --- a/code/static/assets/images/sass/common/global.scss +++ /dev/null @@ -1,593 +0,0 @@ -.btn-group-right-menu { - float: right; - position: absolute; - right: 20px; -} -ul { - display: block; - list-style-type: none; - -webkit-margin-before: 1em; - -webkit-margin-after: 1em; - -webkit-margin-start: 0px; - -webkit-margin-end: 0px; - -webkit-padding-start: 40px; -} -.modal-body { - position: relative; - padding: 15px; -} -.ui-search-box { - display:inline-block; - position:relative; - height:27px; - margin:60px; -} - -.ui-search-box .txt { - float:left; - width:130px; - height:19px; - line-height:19px; - padding:3px 5px; - border:#A7A7A7 1px solid; - background:white; - color:#888; - font-size:12px; - -webkit-transition:.3s; - -moz-transition:.3s; - outline: none; -} -.ui-search-box .txt:focus { - width:200px; -} - -/** - * 图片上传部分的css - */ -.module-nav { - display: inline-block; - margin-left: 10px; - vertical-align: baseline; - font-size: 0; - line-height: 0; - font-weight: bold; -} -.module-nav>li { - display: inline-block; - margin-right: 5px; - font-size: 14px; - line-height: 18px; -} -.module-nav>li.active>a{ - color:#333; -} -.ui-box { - margin-bottom: 15px; -} - -.ui-box.ui-border-box { - padding: 14px; - border: 1px solid #f3f3f3; -} - -.ui-box .ui-box-title { - font-size: 16px; - color: #333; - line-height: 1.5em; - border-bottom: 1px solid #e3e3e3; - margin: 0 0 15px; - padding-bottom: 9px; -} - -.ui-box .ui-box-content { - zoom: 1; -} - -.ui-box .ui-box-content:after { - content: ""; - display: table; - clear: both; -} - -.ui-search-box { - top: 0px; - right: 0px; - position: absolute; - z-index: 10; - vertical-align: middle; - margin: 0; -} - -.ui-search-box .txt { - width: 70px; - height: 26px; - padding: 5px; - font-size: 12px; - line-height: 16px; - border: 1px solid #ddd; - margin: 0; - padding-left: 20px; - background: #fff url("../assets/images/ico-search.png") 4px center no-repeat; - background-image: -webkit-image-set(url("../assets/images/ico-search.png") 1x, url("../assets/images/ico-search@2x.png") 2x); - border-radius: 2px; - -webkit-transition: width linear 0.25s; - -moz-transition: width linear 0.25s; - transition: width linear 0.25s; -} - -.widget-image .module-nav li.hide { - display: none; -} - -.widget-image .pagenavi .total { - display: none; -} - -.widget-image-refresh { - line-height: 28px; -} - -.widget-image-filter { - font-size: 14px; -} - -.widget-image-filter input { - display: none; -} - -.widget-image-filter label.radio { - padding-top: 0; - padding-left: 6px; -} - -.widget-image-filter label span { - color: #07d; - cursor: pointer; -} - -.widget-image-filter label.checked span { - color: #333; -} - -.widget-image-filter+.widget-image-filter { - margin-top: 8px; -} - -.widget-image-list { - zoom: 1; - margin: -10px 0 0 -50px; -} - -.widget-image-list:after { - content: ""; - display: table; - clear: both; -} - -.widget-image-list:empty { - margin: 0 0 10px 0; -} - -.widget-image-item { - position: relative; - float: left; - width: 60px; - height: 60px; - margin: 10px 0 0 10px; - background: #d7d7d7; - cursor: pointer; -} -.widget-image-item .widget-image-item-content { - width: 60px; - height: 60px; - background-size: contain; - background-repeat: no-repeat; - background-position: 50% 50%; -} - -.widget-image-item .image-size { - display: none; -} - -.widget-image-item .selected-style { - position: absolute; - display: none; - left: 0; - top: 0; - width: 100%; - height: 100%; - display: none; - border: 2px solid #09F; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.widget-image-item .selected-style:after { - position: absolute; - display: block; - content: ' '; - right: 0px; - bottom: 0px; - border: 14px solid #09f; - border-left-color: transparent; - border-top-color: transparent; -} - -.widget-image-item .selected-style i { - position: absolute; - right: 1px; - bottom: 1px; - z-index: 2; -} - -.widget-image-item .widget-image-meta { - position: absolute; - bottom: 0; - height: 20px; - width: 60px; - line-height: 20px; - background: rgba(0, 0, 0, 0.5); - text-align: center; - color: #eee; - overflow: hidden; -} - -.widget-image-item.selected .widget-image-meta { - display: none; -} - -.widget-image-item.selected .selected-style { - display: block; -} - -.widget-image-item:hover .widget-image-meta { - display: none; -} -.pull-left { - float: left; -} -.ui-btn-primary { - color: #fff; - background: #07d; - border-color: #006cc9; -} -.widget-image-item.selected .widget-image-meta { - display: none -} - -.widget-image-item.selected .selected-style { - display: block -} -.upload-image-list li { - float: left; - margin-right: 10px; - margin-bottom: 5px -} - -.upload-preview-img { - width: 80px; - height: 80px; - text-align: center; - border: 1px solid #CCC; - padding: 1px; - position: relative -} - -.upload-preview-img img { - max-height: 100%; - margin: auto; - display: block; - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0 -} - -.upload-preview-img .close-modal { - position: absolute; - z-index: 91; - top: -9px; - right: -9px; - width: 20px; - height: 20px; - font-size: 16px; - line-height: 18px; - color: #fff; - text-align: center; - cursor: pointer; - background: rgba(153,153,153,0.6); - border-radius: 10px -} - -.upload-preview-img .close-modal:hover { - color: #fff; - background: #000 -} - -.upload-preview-img .close-modal.small { - top: -8px; - right: -8px; - width: 18px; - height: 18px; - font-size: 14px; - line-height: 16px; - border-radius: 9px -} -.fileinput-button { - position: relative; - overflow: hidden; - width: 80px; - height: 80px; - border: 2px dashed #CCC; - background: 0; - padding: 0 -} - -.fileinput-button .fileinput-button-icon { - display: block; - font-size: 40px; - font-weight: bold; - color: #CCC; - height: 80px; - line-height: 80px; - width: 100%; - text-align: center; - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - margin: auto -} - -.fileinput-button input { - position: absolute; - top: 0; - left: 0; - margin: 0; - opacity: 0; - filter: alpha(opacity=0); - font-size: 23px; - direction: ltr; - cursor: pointer; - width: 80px; - height: 80px -} - -.editorTalk_content .nav-tabs>li>a { - padding: 6px; - line-height: 1.2; -} -.editorTalk_content .tab-content>.tab_0 { - display: block; - opacity: 1; -} - -.editorTalk_content .nav-tabs>li.li_0>a { - color: #555; - cursor: default; - background-color: #fff; - border: 1px solid #ddd; - border-bottom-color: transparent; -} - - -.fix:after { - content: "."; - display: block; - clear: both; - height: 0; - visibility: hidden -} - -.fix { - _height: 1%; - *zoom:1} - -.citySelect { - position: relative; - z-index: 99; - height: 30px; - line-height: 30px -} - -.citySelect b { - position: absolute; - display: block; - height: 12px; - width: 12px; - overflow: hidden; - right: 5px -} - -.citySelect span.attr { - float: left; - width: 75px; - height: 26px; - line-height: 26px; - color: #666 -} - -.citySelect .cityboxbtn { - position: relative; - float: left; - border: 1px solid #ccc; - height: 37px; - line-height: 37px; - border-radius:3px; - padding: 0 38px 0 10px; - color: #333; - z-index: 99; - width: 100%; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; -} - -.citySelect .cityboxbtn:hover { - text-decoration: none; - color: #333 -} - -.citySelect .cityboxbtn b { - // background: url(images/jiantou.png) no-repeat; - top: 8px -} - -.citySelect .select { - border: 1px solid #ccc; - border-bottom: 0; - height: 27px; - z-index: 100; - background: #fff; - box-shadow: 0 -1px 2px #ddd -} - -.citySelect .cityboxbtn em { - color: #999; - padding: 0 2px -} - -.citybox { - display: none; - position: absolute; - left: 0; - top: 0; - width: 600px; - padding: 0 5px 5px 5px; - background: #fff; - border: 1px solid #ccc; - line-height: 1; - z-index: 98; - box-shadow: 0 0 6px #ddd -} - -.chooseArea { - padding: 10px; - padding-bottom: 0 -} - -.chooseArea p { - position: relative; - float: left; - display: inline; - height: 24px; - border: 1px solid #ccc; - line-height: 25px; - margin-right: 5px; - padding: 0 25px 0 8px; - cursor: pointer; - white-space: nowrap; - z-index: 8; - margin: 0 2px; -} - -.chooseArea p b { - // background: url(images/jiantou.png) no-repeat; - top: 6px -} - -.chooseArea p.cur { - height: 25px; - background: #fff; - line-height: 24px; - border: 2px solid #ffb786; - border-bottom: 0; - z-index: 10 -} - -.chooseArea p span { - // display: block; - max-width: 60px; - _width: expression(this.offsetWidth>60 ? '60px':'auto'); - height: 26px; - overflow: hidden; - white-space: normal -} - -.chooseArea p.cur b { - background-position: 0 -11px; - top: 4px -} - -.chooseArea p.disable { - color: #999 -} - -.citybox .arriveBox { - position: relative; - background: #fff; - border-top: 2px solid #ffb786; - margin: -2px 5px 0 5px; - padding: 8px 0; - z-index: 9; - *margin-top: -3px; - _margin-top: -2px -} - -.cityshow { - width: 600px; - margin: 0 auto -} - -.citybox a,.cityshow a:visited { - color: #333 -} - -.citybox div.cityshow span { - display: inline-block; - float: left; - height: 26px; - width: 85px; - line-height: 26px; - text-align: left; - overflow: hidden -} -// .citybox div.cityshow span:after{ -// content:"..."; -// } - -.citybox div.cityshow span a { - padding: 5px 7px; - text-decoration: none; - cursor: pointer; - word-break: break-all; -} - -.citybox div.cityshow span a:hover { - color: #fff; - background: #f60; - text-decoration: none -} - -.citybox div.cityshow span a.imp { - color: #f70 -} - -.citybox div.cityshow span a.imp:hover { - color: #fff -} - -.citybox div.cityshow span { - width: 100px; - padding-right: 15px; - display: inline-block; - float: left; - height: 26px; - line-height: 26px; - text-align: left; - overflow: hidden -} - -.closeSelector { - position: absolute; - top: 5px; - right: 5px; - height: 16px; - width: 16px; - // background: url(images/closeSelector.png) no-repeat; - cursor: pointer; - z-index: 9999 -} \ No newline at end of file diff --git a/code/static/assets/images/sass/common/jquery.gritter.scss b/code/static/assets/images/sass/common/jquery.gritter.scss deleted file mode 100644 index 1369377..0000000 --- a/code/static/assets/images/sass/common/jquery.gritter.scss +++ /dev/null @@ -1,99 +0,0 @@ - -#gritter-notice-wrapper { - position:fixed; - top:20px; - right:20px; - width:301px; - z-index:999999; -} - -.gritter-item-wrapper { - position:relative; - margin:0 0 10px 0; - background: #000; - background: rgba(0,0,0,0.75); - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} - -.growl-primary { - background: rgba(66,139,202,0.80); -} - -.growl-success { - background: rgba(92,184,92,0.80); -} - -.growl-warning { - background: rgba(240,173,78,0.80); -} - -.growl-danger { - background: rgba(217,83,79,0.80); -} - -.growl-info { - background: rgba(91,192,222,0.80); -} - -.gritter-item { - display:block; - color:#eee; - padding: 15px; - font-size: 11px; -} - -.gritter-item p { - padding:0; - margin:0; - word-wrap:break-word; - line-height: 18px; - font-size: 13px; - opacity: 0.75; -} - -.gritter-close { - display:none; - position:absolute; - top: 10px; - right: 10px; - background: url(../assets/images/close-white.png) no-repeat center center; - cursor:pointer; - width:10px; - height:11px; - text-indent:-9999em; - opacity: 0.5; -} - -.gritter-title { - font-size: 14px; - padding:0 0 7px 0; - display:block; - font-weight: bold; -} - -.gritter-image { - width:48px; - height:48px; - float:left; -} - -.gritter-with-image, -.gritter-without-image { - padding:0; -} - -.gritter-with-image { - width:220px; - float:right; - padding-left: 10px; -} - -/* for the light (white) version of the gritter notice */ -.gritter-light .gritter-item { - background: #fff; - background: rgba(255,255,255,0.75); - color: #666; -} - diff --git a/code/static/assets/images/sass/common/newselect2.scss b/code/static/assets/images/sass/common/newselect2.scss deleted file mode 100644 index 78f0865..0000000 --- a/code/static/assets/images/sass/common/newselect2.scss +++ /dev/null @@ -1,633 +0,0 @@ -.select2-container { - box-sizing: border-box; - display: inline-block; - margin: 0; - position: relative; - vertical-align: middle; - float: left; - margin-right: 5px; -} - -.select2-container .select2-selection--single { - box-sizing: border-box; - cursor: pointer; - display: block; - height: 39px; - line-height: 39px; - user-select: none; - -webkit-user-select: none; -} - -.select2-container .select2-selection--single .select2-selection__rendered { - display: block; - padding-left: 8px; - padding-right: 20px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -.select2-container .select2-selection--single .select2-selection__clear { - position: relative; -} - -.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered { - padding-right: 8px; - padding-left: 20px; -} - -.select2-container .select2-selection--multiple { - box-sizing: border-box; - cursor: pointer; - display: block; - min-height: 32px; - user-select: none; - -webkit-user-select: none; -} - -.select2-container .select2-selection--multiple .select2-selection__rendered { - display: inline-block; - overflow: hidden; - padding-left: 8px; - text-overflow: ellipsis; - white-space: nowrap; -} - -.select2-container .select2-search--inline { - float: left; -} - -.select2-container .select2-search--inline .select2-search__field { - box-sizing: border-box; - border: none; - font-size: 100%; - margin-top: 5px; - padding: 0; -} - -.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button { - -webkit-appearance: none; -} - -.select2-dropdown { - background-color: white; - border: 1px solid #aaa; - border-radius: 4px; - box-sizing: border-box; - display: block; - position: absolute; - left: -100000px; - width: 100%; - z-index: 998; -} - -.select2-results { - display: block; -} - -.select2-results__options { - list-style: none; - margin: 0; - padding: 0; -} - -.select2-results__option { - padding: 6px; - user-select: none; - -webkit-user-select: none; -} - -.select2-results__option[aria-selected] { - cursor: pointer; -} - -.select2-container--open .select2-dropdown { - left: 0; -} - -.select2-container--open .select2-dropdown--above { - border-bottom: none; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; -} - -.select2-container--open .select2-dropdown--below { - border-top: none; - border-top-left-radius: 0; - border-top-right-radius: 0; -} - -.select2-search--dropdown { - display: block; - padding: 4px; -} - -.select2-search--dropdown .select2-search__field { - padding: 4px; - width: 100%; - box-sizing: border-box; -} - -.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button { - -webkit-appearance: none; -} - -.select2-search--dropdown.select2-search--hide { - display: none; -} - -.select2-close-mask { - border: 0; - margin: 0; - padding: 0; - display: block; - position: fixed; - left: 0; - top: 0; - min-height: 100%; - min-width: 100%; - height: auto; - width: auto; - opacity: 0; - z-index: 99; - background-color: #fff; - filter: alpha(opacity = 0); -} - -.select2-hidden-accessible { - border: 0 !important; - clip: rect(0 0 0 0) !important; - height: 1px !important; - margin: -1px !important; - overflow: hidden !important; - padding: 0 !important; - position: absolute !important; - width: 1px !important; -} - -.select2-container--default .select2-selection--single { - background-color: #fff; - border: 1px solid #aaa; - border-radius: 4px; -} - -.select2-container--default .select2-selection--single .select2-selection__rendered { - color: #444; - line-height: 40px; -} - -.select2-container--default .select2-selection--single .select2-selection__clear { - cursor: pointer; - float: right; - font-weight: bold; -} - -.select2-container--default .select2-selection--single .select2-selection__placeholder { - color: #999; -} - -.select2-container--default .select2-selection--single .select2-selection__arrow { - height: 36px; - position: absolute; - top: 1px; - right: 1px; - width: 20px; -} - -.select2-container--default .select2-selection--single .select2-selection__arrow b { - border-color: #888 transparent transparent transparent; - border-style: solid; - border-width: 5px 4px 0 4px; - height: 0; - left: 50%; - margin-left: -4px; - margin-top: -2px; - position: absolute; - top: 50%; - width: 0; -} - -.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear { - float: left; -} - -.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow { - left: 1px; - right: auto; -} - -.select2-container--default.select2-container--disabled .select2-selection--single { - background-color: #eee; - cursor: default; -} - -.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear { - display: none; -} - -.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { - border-color: transparent transparent #888 transparent; - border-width: 0 4px 5px 4px; -} - -.select2-container--default .select2-selection--multiple { - background-color: white; - border: 1px solid #aaa; - border-radius: 4px; - cursor: text; -} - -.select2-container--default .select2-selection--multiple .select2-selection__rendered { - box-sizing: border-box; - list-style: none; - margin: 0; - padding: 0 5px; - width: 100%; -} - -.select2-container--default .select2-selection--multiple .select2-selection__placeholder { - color: #999; - margin-top: 5px; - float: left; -} - -.select2-container--default .select2-selection--multiple .select2-selection__clear { - cursor: pointer; - float: right; - font-weight: bold; - margin-top: 5px; - margin-right: 10px; -} - -.select2-container--default .select2-selection--multiple .select2-selection__choice { - background-color: #e4e4e4; - border: 1px solid #aaa; - border-radius: 4px; - cursor: default; - float: left; - margin-right: 5px; - margin-top: 5px; - padding: 0 5px; -} - -.select2-container--default .select2-selection--multiple .select2-selection__choice__remove { - color: #999; - cursor: pointer; - display: inline-block; - font-weight: bold; - margin-right: 2px; -} - -.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover { - color: #333; -} - -.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline { - float: right; -} - -.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice { - margin-left: 5px; - margin-right: auto; -} - -.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { - margin-left: 2px; - margin-right: auto; -} - -.select2-container--default.select2-container--focus .select2-selection--multiple { - border: solid black 1px; - outline: 0; -} - -.select2-container--default.select2-container--disabled .select2-selection--multiple { - background-color: #eee; - cursor: default; -} - -.select2-container--default.select2-container--disabled .select2-selection__choice__remove { - display: none; -} - -.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple { - border-top-left-radius: 0; - border-top-right-radius: 0; -} - -.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple { - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; -} - -.select2-container--default .select2-search--dropdown .select2-search__field { - border: 1px solid #aaa; -} - -.select2-container--default .select2-search--inline .select2-search__field { - background: transparent; - border: none; - outline: 0; - box-shadow: none; - -webkit-appearance: textfield; -} - -.select2-container--default .select2-results > .select2-results__options { - max-height: 200px; - overflow-y: auto; -} - -.select2-container--default .select2-results__option[role=group] { - padding: 0; -} - -.select2-container--default .select2-results__option[aria-disabled=true] { - color: #999; -} - -.select2-container--default .select2-results__option[aria-selected=true] { - background-color: #ddd; -} - -.select2-container--default .select2-results__option .select2-results__option { - padding-left: 1em; -} - -.select2-container--default .select2-results__option .select2-results__option .select2-results__group { - padding-left: 0; -} - -.select2-container--default .select2-results__option .select2-results__option .select2-results__option { - margin-left: -1em; - padding-left: 2em; -} - -.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option { - margin-left: -2em; - padding-left: 3em; -} - -.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { - margin-left: -3em; - padding-left: 4em; -} - -.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { - margin-left: -4em; - padding-left: 5em; -} - -.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { - margin-left: -5em; - padding-left: 6em; -} - -.select2-container--default .select2-results__option--highlighted[aria-selected] { - background-color: #5897fb; - color: white; -} - -.select2-container--default .select2-results__group { - cursor: default; - display: block; - padding: 6px; -} - -.select2-container--classic .select2-selection--single { - background-color: #f7f7f7; - border: 1px solid #aaa; - border-radius: 4px; - outline: 0; - background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%); - background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%); - background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); -} - -.select2-container--classic .select2-selection--single:focus { - border: 1px solid #5897fb; -} - -.select2-container--classic .select2-selection--single .select2-selection__rendered { - color: #444; - line-height: 28px; -} - -.select2-container--classic .select2-selection--single .select2-selection__clear { - cursor: pointer; - float: right; - font-weight: bold; - margin-right: 10px; -} - -.select2-container--classic .select2-selection--single .select2-selection__placeholder { - color: #999; -} - -.select2-container--classic .select2-selection--single .select2-selection__arrow { - background-color: #ddd; - border: none; - border-left: 1px solid #aaa; - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; - height: 26px; - position: absolute; - top: 1px; - right: 1px; - width: 20px; - background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%); - background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%); - background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); -} - -.select2-container--classic .select2-selection--single .select2-selection__arrow b { - border-color: #888 transparent transparent transparent; - border-style: solid; - border-width: 5px 4px 0 4px; - height: 0; - left: 50%; - margin-left: -4px; - margin-top: -2px; - position: absolute; - top: 50%; - width: 0; -} - -.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear { - float: left; -} - -.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow { - border: none; - border-right: 1px solid #aaa; - border-radius: 0; - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; - left: 1px; - right: auto; -} - -.select2-container--classic.select2-container--open .select2-selection--single { - border: 1px solid #5897fb; -} - -.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow { - background: transparent; - border: none; -} - -.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b { - border-color: transparent transparent #888 transparent; - border-width: 0 4px 5px 4px; -} - -.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single { - border-top: none; - border-top-left-radius: 0; - border-top-right-radius: 0; - background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%); - background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%); - background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); -} - -.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single { - border-bottom: none; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%); - background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%); - background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); -} - -.select2-container--classic .select2-selection--multiple { - background-color: white; - border: 1px solid #aaa; - border-radius: 4px; - cursor: text; - outline: 0; -} - -.select2-container--classic .select2-selection--multiple:focus { - border: 1px solid #5897fb; -} - -.select2-container--classic .select2-selection--multiple .select2-selection__rendered { - list-style: none; - margin: 0; - padding: 0 5px; -} - -.select2-container--classic .select2-selection--multiple .select2-selection__clear { - display: none; -} - -.select2-container--classic .select2-selection--multiple .select2-selection__choice { - background-color: #e4e4e4; - border: 1px solid #aaa; - border-radius: 4px; - cursor: default; - float: left; - margin-right: 5px; - margin-top: 5px; - padding: 0 5px; -} - -.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove { - color: #888; - cursor: pointer; - display: inline-block; - font-weight: bold; - margin-right: 2px; -} - -.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover { - color: #555; -} - -.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice { - float: right; -} - -.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice { - margin-left: 5px; - margin-right: auto; -} - -.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { - margin-left: 2px; - margin-right: auto; -} - -.select2-container--classic.select2-container--open .select2-selection--multiple { - border: 1px solid #5897fb; -} - -.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple { - border-top: none; - border-top-left-radius: 0; - border-top-right-radius: 0; -} - -.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple { - border-bottom: none; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; -} - -.select2-container--classic .select2-search--dropdown .select2-search__field { - border: 1px solid #aaa; - outline: 0; -} - -.select2-container--classic .select2-search--inline .select2-search__field { - outline: 0; - box-shadow: none; -} - -.select2-container--classic .select2-dropdown { - background-color: white; - border: 1px solid transparent; -} - -.select2-container--classic .select2-dropdown--above { - border-bottom: none; -} - -.select2-container--classic .select2-dropdown--below { - border-top: none; -} - -.select2-container--classic .select2-results > .select2-results__options { - max-height: 200px; - overflow-y: auto; -} - -.select2-container--classic .select2-results__option[role=group] { - padding: 0; -} - -.select2-container--classic .select2-results__option[aria-disabled=true] { - color: grey; -} - -.select2-container--classic .select2-results__option--highlighted[aria-selected] { - background-color: #3875d7; - color: white; -} - -.select2-container--classic .select2-results__group { - cursor: default; - display: block; - padding: 6px; -} - -.select2-container--classic.select2-container--open .select2-dropdown { - border-color: #5897fb; -} \ No newline at end of file diff --git a/code/static/assets/images/sass/common/umeditor.css b/code/static/assets/images/sass/common/umeditor.css deleted file mode 100644 index 188d6d0..0000000 --- a/code/static/assets/images/sass/common/umeditor.css +++ /dev/null @@ -1,773 +0,0 @@ -.edui-container{ - position: relative; - border: 1px solid #d4d4d4; - box-shadow: 2px 2px 5px #d3d6da; - background-color: #fff; -} -.edui-container .edui-toolbar{ - position: relative; - width:auto; - border-bottom: 1px solid #e1e1e1; - box-shadow: 2px 2px 5px #d3d6da; - background-color: #fafafa; - z-index: 99999; -} -.edui-toolbar .edui-btn-toolbar{ - position: relative; - padding: 5px; -} -.edui-container .edui-editor-body{ - background-color: #fff; -} -.edui-editor-body .edui-body-container{ -} - -.edui-editor-body .edui-body-container p{margin:5px 0;} -.edui-editor-body .edui-body-container{ - border:0; - outline:none; - cursor:text; - padding:0 10px 0; - overflow:auto; - display:block; - word-wrap:break-word; - font-size:16px; - font-family:sans-serif; -} -.edui-editor-body.focus{border:1px solid #5c9dff} -.edui-editor-body table{margin:10px 0 10px;border-collapse:collapse;display:table;} -.edui-editor-body td{padding: 5px 10px;border: 1px solid #DDD;} -.edui-editor-body iframe.mathquill-embedded-latex{ - border: 0px; - padding: 0px; - display: inline; - margin: 0px; - background: none; - vertical-align: middle; - width: 0px; - height: 0px; -} -/*普通按钮*/ -.edui-btn-toolbar .edui-btn{ - position: relative; - display: inline-block; - vertical-align: top; - *display: inline; - *zoom:1; - width:auto; - margin: 0 1px; - padding:1px; - border:none; - background: none; -} -.edui-btn-toolbar .edui-btn .edui-icon{ - width: 20px; - height: 20px; - margin: 0; - padding:0; - background-repeat: no-repeat; - background-image: url(../assets/images/icons.png); - background-image: url(../assets/images/icons.gif) \9; -} - -/*状态反射*/ -.edui-btn-toolbar .edui-btn.edui-hover, -.edui-btn-toolbar .edui-btn.edui-active{ - background-color: #d5e1f2; - padding: 0; - border: 1px solid #a3bde3; - _z-index: 1; -} -.edui-btn-toolbar .edui-btn.edui-disabled{ - opacity: 0.3; - filter: alpha(opacity = 30); -} -.edui-btn-toolbar .edui-btn .edui-icon-source { - background-position:-260px -0px; -} -.edui-btn-toolbar .edui-btn .edui-icon-undo { - background-position: -160px 0; -} -.edui-btn-toolbar .edui-btn .edui-icon-redo { - background-position: -100px 0; -} -.edui-btn-toolbar .edui-btn .edui-icon-bold{ - background-position: 0 0; -} -.edui-btn-toolbar .edui-btn .edui-icon-italic { - background-position: -60px 0; -} -.edui-btn-toolbar .edui-btn .edui-icon-underline { - background-position: -140px 0 -} -.edui-btn-toolbar .edui-btn .edui-icon-strikethrough { - background-position: -120px 0; -} - -.edui-btn-toolbar .edui-btn .edui-icon-superscript { - background-position: -620px 0; -} -.edui-btn-toolbar .edui-btn .edui-icon-subscript { - background-position: -600px 0; -} -.edui-btn-toolbar .edui-btn .edui-icon-font, .edui-btn-toolbar .edui-btn .edui-icon-forecolor { - background-position: -720px 0; -} - -.edui-btn-toolbar .edui-btn .edui-icon-backcolor { - background-position: -760px 0; -} - -.edui-btn-toolbar .edui-btn .edui-icon-insertorderedlist { - background-position: -80px 0; -} -.edui-btn-toolbar .edui-btn .edui-icon-insertunorderedlist { - background-position: -20px 0; -} -.edui-btn-toolbar .edui-btn .edui-icon-selectall { - background-position: -400px -20px; -} -.edui-btn-toolbar .edui-btn .edui-icon-cleardoc { - background-position: -520px 0; -} -.edui-btn-toolbar .edui-btn .edui-icon-paragraph { - background-position: -140px 0; -} - -.edui-btn-toolbar .edui-btn .edui-icon-fontfamily { - background-position: -140px 0; -} - -.edui-btn-toolbar .edui-btn .edui-icon-fontsize { - background-position: -140px 0; -} - -.edui-btn-toolbar .edui-btn .edui-icon-justifyleft { - background-position: -460px 0; -} - -.edui-btn-toolbar .edui-btn .edui-icon-justifycenter { - background-position: -420px 0; -} - -.edui-btn-toolbar .edui-btn .edui-icon-justifyright { - background-position:-480px 0; -} - -.edui-btn-toolbar .edui-btn .edui-icon-justifyjustify { - background-position: -440px 0; -} - -.edui-btn-toolbar .edui-btn .edui-icon-link { - background-position: -500px 0; -} - -.edui-btn-toolbar .edui-btn .edui-icon-unlink { - background-position: -640px 0; -} - -.edui-btn-toolbar .edui-btn .edui-icon-image { - background-position: -380px 0; -} - -.edui-btn-toolbar .edui-btn .edui-icon-emotion { - background-position: -60px -20px; -} -.edui-btn-toolbar .edui-btn .edui-icon-video { - background-position: -320px -20px; -} - -.edui-btn-toolbar .edui-btn .edui-icon-map { - background-position: -40px -40px; -} - -.edui-btn-toolbar .edui-btn .edui-icon-gmap { - background-position: -260px -40px; -} -.edui-btn-toolbar .edui-btn .edui-icon-horizontal { - background-position: -360px 0; -} - -.edui-btn-toolbar .edui-btn .edui-icon-print { - background-position: -440px -20px; -} -.edui-btn-toolbar .edui-btn .edui-icon-preview { - background-position: -420px -20px; -} - -.edui-btn-toolbar .edui-btn-fullscreen{ - float:right; -} -.edui-btn-toolbar .edui-btn .edui-icon-fullscreen { - background-position: -100px -20px; -} - -.edui-btn-toolbar .edui-btn .edui-icon-removeformat { - background-position: -580px 0; -} -.edui-btn-toolbar .edui-btn .edui-icon-drafts { - background-position: -560px 0; -} -.edui-btn-toolbar .edui-btn .edui-icon-formula { - background-position: -80px -20px; -} -.edui-btn-toolbar .edui-splitbutton{ - position: relative; - display: inline-block ; - vertical-align: top; - *display: inline ; - *zoom:1; - margin:0 2px; -} -.edui-splitbutton .edui-btn{ - margin: 0; -} -.edui-splitbutton .edui-caret{ - position: relative; - display: inline-block ; - vertical-align: top; - *display: inline ; - *zoom:1; - width: 8px; - height: 20px; - background: url(../assets/images/icons.png) -741px 0; - _background: url(../assets/images/icons.gif) -741px 0; -} - -.edui-btn-toolbar .edui-splitbutton, -.edui-btn-toolbar .edui-splitbutton{ - _border: none; -} - -/*状态反射*/ -.edui-btn-toolbar .edui-splitbutton.edui-hover .edui-btn{ - background-color: #d5e1f2; -} - -.edui-btn-toolbar .edui-splitbutton.edui-disabled{ - opacity: 0.3; - filter: alpha(opacity = 30); -} -.edui-btn-toolbar .edui-splitbutton.edui-disabled .edui-caret{ - opacity: 0.3 \0; - filter: alpha(opacity = 30)\0; -} - - -.edui-btn-toolbar .edui-combobox{ - border: 1px solid #CCC; - padding:0; - margin:0 2px; - line-height: 20px; -} -.edui-combobox .edui-button-label{ - position: relative; - display: inline-block; - vertical-align: top; - *display: inline ; - *zoom:1; - width:60px; - height:20px; - line-height: 20px; - padding: 2px; - margin: 0; - font-size: 12px; - text-align: center; - cursor: default; -} -.edui-combobox .edui-button-spacing{ - position: relative; - display: inline-block ; - vertical-align: top; - *display: inline ; - *zoom:1; - height:20px; - margin: 0; - padding:0 3px; -} -.edui-combobox .edui-caret{ - position: relative; - display: inline-block ; - vertical-align: top; - *display: inline ; - *zoom:1; - height:20px; - width: 12px; - margin: 0; - padding: 0; - background: url(../assets/images/icons.png) -741px 0; - _background: url(../assets/images/icons.gif) -741px 0; -} -.edui-btn-toolbar .edui-combobox.edui-disabled{ - opacity: 0.2; - filter: alpha(opacity = 20); -} -.edui-btn-toolbar .edui-combobox.edui-disabled .edui-button-label, -.edui-btn-toolbar .edui-combobox.edui-disabled .edui-caret{ - opacity: 0.2 \0; - filter: alpha(opacity = 20)\0; -} -.edui-combobox-menu{ - position: absolute; - top: 100%; - left: 0; - display: none; - list-style: none; - text-decoration: none; - margin: 0; - padding:5px; - background-color: #ffffff; - border: 1px solid #ccc; - font-size: 12px; - box-shadow: 2px 2px 5px #d3d6da; - min-width: 160px; - _width: 160px; -} - -.edui-combobox-menu .edui-combobox-item { - display: block; - border: 1px solid white; -} - -.edui-combobox-menu .edui-combobox-item-label { - height: 25px; - line-height: 25px; - display: inline-block; - _display: inline; - _zoom: 1; - margin-left: 10px; -} - -.edui-combobox-menu .edui-combobox-item:hover, .edui-combobox-menu .edui-combobox-stack-item:hover, .edui-combobox-menu .edui-combobox-item-hover { - background-color: #d5e1f2; - padding: 0; - border: 1px solid #a3bde3; -} - -.edui-combobox-menu .edui-combobox-item .edui-combobox-icon { - display: inline-block; - *zoom: 1; - *display: inline; - width: 24px; - height: 25px; - background: red; - vertical-align: bottom; - background: url(../assets/images/ok.gif) no-repeat 1000px 1000px; -} - -.edui-combobox-menu .edui-combobox-checked .edui-combobox-icon { - background-position: 10px 7px; -} - - -.edui-combobox-menu .edui-combobox-item-separator { - min-width: 160px; - height: 1px; - line-height: 1px; - overflow: hidden; - background: #d3d3d3; - margin: 5px 0; - *margin-top: -8px; -} - -/* 字体样式校正 */ - -.edui-combobox-fontsize .edui-combobox-item-0.edui-combobox-checked .edui-combobox-icon { - background-position: 10px 7px; -} - -.edui-combobox-fontsize .edui-combobox-item-1.edui-combobox-checked .edui-combobox-icon { - background-position: 10px 7px; -} - -.edui-combobox-fontsize .edui-combobox-item-2.edui-combobox-checked .edui-combobox-icon { - background-position: 10px 7px; -} - -.edui-combobox-fontsize .edui-combobox-item-3.edui-combobox-checked .edui-combobox-icon { - background-position: 10px 7px; -} - -/* 24 */ -.edui-combobox-fontsize .edui-combobox-item-4 .edui-combobox-item-label { - height: 27px; - line-height: 27px; -} - -.edui-combobox-fontsize .edui-combobox-item-4.edui-combobox-checked .edui-combobox-icon { - background-position: 10px 5px; -} - -/* 32 */ -.edui-combobox-fontsize .edui-combobox-item-5 .edui-combobox-item-label { - height: 31px; - line-height: 31px; -} - -.edui-combobox-fontsize .edui-combobox-item-5.edui-combobox-checked .edui-combobox-icon { - background-position: 10px 4px; -} - - -/* 48 */ -.edui-combobox-fontsize .edui-combobox-item-6 .edui-combobox-item-label { - height: 47px; - line-height: 47px; -} - -/*.edui-combobox-fontsize .edui-combobox-item-6 .edui-combobox-icon {*/ - /*height: 25px;*/ - /*margin-bottom: 11px;*/ -/*}*/ - -/*.edui-combobox-fontsize .edui-combobox-item-6.edui-combobox-checked .edui-combobox-icon {*/ - /*background-position: 10px 7px;*/ -/*}*/ - - -/* 段落样式校正 */ -/* h1 */ -.edui-combobox-paragraph .edui-combobox-item-1 .edui-combobox-item-label { - font-size: 32px; - height: 36px; - line-height: 36px; -} - -.edui-combobox-paragraph .edui-combobox-item-1 .edui-combobox-icon { - height: 25px; - margin-bottom: 5px; -} - -.edui-combobox-paragraph .edui-combobox-item-1.edui-combobox-checked .edui-combobox-icon { - background-position: 10px 7px; -} - -/* h2 */ -.edui-combobox-paragraph .edui-combobox-item-2 .edui-combobox-item-label { - font-size: 28px; - height: 27px; - line-height: 27px; -} - -.edui-combobox-paragraph .edui-combobox-item-2 .edui-combobox-icon { - margin-bottom: 5px; -} - -.edui-combobox-paragraph .edui-combobox-item-2.edui-combobox-checked .edui-combobox-icon { - background-position: 10px 10px; -} - -/* h3 */ -.edui-combobox-paragraph .edui-combobox-item-3 .edui-combobox-item-label { - font-size: 24px; - height: 25px; - line-height: 25px; -} - -.edui-combobox-paragraph .edui-combobox-item-3 .edui-combobox-icon { - height: 25px; - margin-bottom: 5px; -} - -.edui-combobox-paragraph .edui-combobox-item-3.edui-combobox-checked .edui-combobox-icon { - background-position: 10px 11px; -} - -/* h4 */ -.edui-combobox-paragraph .edui-combobox-item-4 .edui-combobox-item-label { - font-size: 18px; - height: 25px; - line-height: 25px; -} - -.edui-combobox-paragraph .edui-combobox-item-4.edui-combobox-checked .edui-combobox-icon { - background-position: 10px 6px; -} - -/* h5 */ -.edui-combobox-paragraph .edui-combobox-item-5 .edui-combobox-item-label { - font-size: 16px; -} - -/* h6 */ -.edui-combobox-paragraph .edui-combobox-item-6 .edui-combobox-item-label { - font-size: 12px; -} -.edui-modal { - position: fixed; - _position: absolute; - top: 10%; - left: 50%; - border: 1px solid #acacac; - box-shadow: 2px 2px 5px #d3d6da; - background-color: #ffffff; - outline: 0; -} -.edui-modal-header { - padding: 5px 10px; - border-bottom: 1px solid #eee; -} -.edui-modal-header .edui-close { - float: right; - width:20px; - height:20px; - margin-top: 2px; - padding: 1px; - border: 0; - background: url("../assets/images/close.png") no-repeat center center; - cursor: pointer; -} -.edui-modal-header .edui-close.edui-hover { - background-color: #d5e1f2; - padding:0; - border: 1px solid #a3bde3; -} -.edui-modal-header .edui-title { - margin: 0; - line-height: 25px; - font-size: 20px; -} -.edui-modal-body { - position: relative; - max-height: 400px; - font-size: 12px; - overflow-y: auto; -} -.edui-modal-footer { - float: right; - padding: 5px 15px 15px; - overflow: hidden; -} -.edui-modal-footer .edui-btn { - float: left; - height: 24px; - width: 96px; - margin: 0 10px; - background-color: #ffffff; - padding: 0; - border: 1px solid #ababab; - font-size: 12px; - line-height: 24px; - text-align: center; - cursor: pointer; -} -.edui-modal-footer .edui-btn.edui-hover{ - background-color: #d5e1f2; - border: 1px solid #a3bde3; -} -.edui-modal-backdrop{ - opacity: 0.5; - filter: alpha(opacity=50); - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - background-color: #c6c6c6; -} - -.edui-modal .edui-modal-tip { - color: red; - position: absolute; - bottom: 10px; - left: 10px; - height: 30px; - line-height: 30px; - display: none; -} -/*图片上传*/ -.edui-dialog-image-body { - width: 700px; - height: 400px; -} -/*插入视频*/ -.edui-dialog-video-body{ - width: 600px; - height: 350px; -} -/*谷歌地图*/ -.edui-dialog-gmap-body{ - width:550px; - height: 400px; -} - -/*百度地图*/ -.edui-dialog-map-body{ - width:580px; - height: 400px; -} - -/*链接*/ -.edui-dialog-link-body{ - width:400px; - height:200px; -} -.edui-popup{ - display: none; - background: url('../assets/images/pop-bg.png') repeat #fff; - padding: 2px; -} -.edui-popup .edui-popup-body{ - border: 1px solid #bfbfbf; - background-color: #fff; -} -.edui-popup .edui-popup-caret{ - width: 21px; - height: 11px; -} -.edui-popup .edui-popup-caret.up{ - background:url('../assets/images/caret.png') no-repeat 0 0; -} -.edui-popup .edui-popup-caret.down{ - background:url('../assets/images/caret.png') no-repeat 0 0; -} - - -.edui-tab-nav { - margin: 0; - padding:0; - border-bottom: 1px solid #ddd; - list-style: none; - height:30px; -} -.edui-tab-nav .edui-tab-item { - float:left; - margin-bottom: -1px; - margin-top: 1px; - margin-top: 0\9; -} -.edui-tab-nav .edui-tab-item .edui-tab-text{ - display: block; - padding:8px 12px; - border: 1px solid transparent; - color: #0088cc; - text-decoration: none; - outline: 0; - _border:1px solid #fff ; - cursor: pointer; -} -.edui-tab-nav .edui-tab-item .edui-tab-text:FOCUS { - outline: none; -} -.edui-tab-nav .edui-tab-item.edui-active .edui-tab-text{ - border: 1px solid #ddd; - border-bottom-color: transparent; - background-color: #fff; - padding:8px 12px; - color: #555555; - cursor: default; -} -.edui-tab-content .edui-tab-pane{ - padding: 1px; - position: relative; - display: none; - background-color: #fff; - clear: both; -} -.edui-tab-content .edui-tab-pane.edui-active{ - display: block; -} - - -.edui-btn-toolbar .edui-tooltip{ - position: absolute; - padding: 5px 0; - display: none; - /*opacity: 0.8;*/ - /*filter: alpha(opacity=80);*/ - z-index: 99999; -} -.edui-tooltip .edui-tooltip-arrow{ - position: absolute; - top: 0; - _top: -2px; - left: 50%; - width: 0; - height: 0; - padding: 0; - font-size:0; - margin-left: -5px; - border-color: transparent; - border-style: dashed dashed solid dashed; - border-bottom-color: #000000; - border-width: 0 5px 5px; - background: transparent; -} -.edui-tooltip .edui-tooltip-inner{ - padding: 6px; - color: #ffffff; - text-align: center; - text-decoration: none; - font-size: 10px; - background-color: #000000; - white-space: nowrap; - line-height: 12px; -} -.edui-splitbutton-color-label { - width: 16px; - height: 3px; - position: absolute; - bottom: 2px; - left: 50%; - margin-left: -8px; - overflow: hidden; - line-height: 3px; -} -.edui-popup .edui-colorpicker { - margin: 10px; - font-size: 12px; -} -.edui-colorpicker .edui-colorpicker-topbar{ - height: 27px; - width: 200px; - overflow: hidden; -} -.edui-colorpicker .edui-colorpicker-topbar .edui-colorpicker-preview{ - height: 20px; - border: 1px inset black; - margin-left: 1px; - width: 128px; - float: left; -} -.edui-colorpicker .edui-colorpicker-topbar .edui-colorpicker-nocolor{ - float: right; - margin-right: 1px; - font-size: 12px; - line-height: 14px; - height: 14px; - border: 1px solid #333; - padding: 3px 5px; - cursor: pointer; -} -.edui-colorpicker table{ - border-collapse: collapse; - border-spacing: 2px; -} -.edui-colorpicker tr.edui-colorpicker-firstrow{ - height: 30px; -} -.edui-colorpicker table td{ - padding: 0 2px; -} -.edui-colorpicker table td .edui-colorpicker-colorcell{ - display: block; - text-decoration: none; - color: black; - width: 14px; - height: 14px; - margin: 0; - cursor: pointer; -} -.edui-toolbar .edui-separator{ - width: 2px; - height: 20px; - padding: 1px 2px; - background: url(../assets/images/icons.png) -179px 1px; - background: url(../assets/images/icons.gif) -179px 1px \9; - display: inline-block ; - vertical-align: top; - *display: inline ; - *zoom:1; - border:none; - -} \ No newline at end of file diff --git a/code/static/assets/images/sass/common/wysiwyg-color.scss b/code/static/assets/images/sass/common/wysiwyg-color.scss deleted file mode 100644 index 86e7895..0000000 --- a/code/static/assets/images/sass/common/wysiwyg-color.scss +++ /dev/null @@ -1,67 +0,0 @@ -.wysiwyg-color-black { - color: black; -} - -.wysiwyg-color-silver { - color: silver; -} - -.wysiwyg-color-gray { - color: gray; -} - -.wysiwyg-color-white { - color: white; -} - -.wysiwyg-color-maroon { - color: maroon; -} - -.wysiwyg-color-red { - color: red; -} - -.wysiwyg-color-purple { - color: purple; -} - -.wysiwyg-color-fuchsia { - color: fuchsia; -} - -.wysiwyg-color-green { - color: green; -} - -.wysiwyg-color-lime { - color: lime; -} - -.wysiwyg-color-olive { - color: olive; -} - -.wysiwyg-color-yellow { - color: yellow; -} - -.wysiwyg-color-navy { - color: navy; -} - -.wysiwyg-color-blue { - color: blue; -} - -.wysiwyg-color-teal { - color: teal; -} - -.wysiwyg-color-aqua { - color: aqua; -} - -.wysiwyg-color-orange { - color: orange; -} \ No newline at end of file diff --git a/code/static/assets/images/sass/index.scss b/code/static/assets/images/sass/index.scss deleted file mode 100644 index c21f45d..0000000 --- a/code/static/assets/images/sass/index.scss +++ /dev/null @@ -1,26 +0,0 @@ -@import "common/bootstrap.min"; -@import "common/bootstrap-override"; -@import "common/font-awesome.min"; -@import "common/newselect2"; -@import "common/jquery.gritter"; -@import "common/global"; -@import "common/css1"; -@import "common/bootstrap-wysihtml5-0.0.2"; -@import "common/wysiwyg-color"; -@import "common/umeditor"; - -// @import "common/dialogs/video"; -@import "common/dialogs/image"; -// @import "common/dialogs/formula"; -// @import "common/dialogs/emotion"; - - -@import "module/default"; -@import "module/datepicker"; -@import "module/edit"; -@import "module/supplier"; -@import "module/product"; -@import "module/brand"; -@import "module/template"; -@import "module/shop-pc"; -@import "module/shop-app"; \ No newline at end of file diff --git a/code/static/assets/images/sass/module/_brand.scss b/code/static/assets/images/sass/module/_brand.scss deleted file mode 100644 index a8a854f..0000000 --- a/code/static/assets/images/sass/module/_brand.scss +++ /dev/null @@ -1,14 +0,0 @@ -.panel-input { - display: inline-block; - width: 100%; -} -.panel-col, .panel-col2 { - float: left; - width: 150px; - height: 40px; - margin: 0 10px 10px; -} - -.panel-col2 { - width: 280px; -} \ No newline at end of file diff --git a/code/static/assets/images/sass/module/_datepicker.scss b/code/static/assets/images/sass/module/_datepicker.scss deleted file mode 100644 index 7949b61..0000000 --- a/code/static/assets/images/sass/module/_datepicker.scss +++ /dev/null @@ -1,201 +0,0 @@ -.datepicker { - display: none; - position: absolute; - padding: 4px; - margin-top: 1px; - direction: ltr; -} - -.datepicker.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - float: left; - display: none; - min-width: 160px; - list-style: none; - background-color: #fff; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - *border-right-width: 2px; - *border-bottom-width: 2px; - color: #333; - font-size: 13px; - line-height: 18px; -} - -.datepicker.dropdown-menu th { - padding: 4px 5px; -} - -.datepicker.dropdown-menu td { - padding: 4px 5px; -} - -.datepicker table { - border: 0; - margin: 0; - width: auto; -} - -.datepicker table tr td span { - display: block; - width: 23%; - height: 54px; - line-height: 54px; - float: left; - margin: 1%; - cursor: pointer; -} - -.datepicker td { - text-align: center; - width: 20px; - height: 20px; - border: 0; - font-size: 12px; - padding: 4px 8px; - background: #fff; - cursor: pointer; -} - -.datepicker td.active.day, .datepicker td.active.year { - background: #2ba6cb; -} - -.datepicker td.old, .datepicker td.new { - color: #999; -} - -.datepicker td span.active { - background: #2ba6cb; -} - -.datepicker td.day.disabled { - color: #ccc; -} - -.datepicker th { - text-align: center; - width: 20px; - height: 20px; - border: 0; - font-size: 12px; - padding: 4px 8px; - background: #fff; - cursor: pointer; -} - -.datepicker th.active.day, .datepicker th.active.year { - background: #2ba6cb; -} - -.datepicker th.date-switch { - width: 145px; -} - -.datepicker th span.active { - background: #2ba6cb; -} - -.datepicker .cw { - font-size: 10px; - width: 12px; - padding: 0 2px 0 5px; - vertical-align: middle; -} - -.datepicker.days div.datepicker-days { - display: block; -} - -.datepicker.months div.datepicker-months { - display: block; -} - -.datepicker.years div.datepicker-years { - display: block; -} - -.datepicker thead tr:first-child th { - cursor: pointer; -} - -.datepicker thead tr:first-child th.cw { - cursor: default; - background-color: transparent; -} - -.datepicker tfoot tr:first-child th { - cursor: pointer; -} - -.datepicker-inline { - width: 220px; -} - -.datepicker-rtl { - direction: rtl; -} - -.datepicker-rtl table tr td span { - float: right; -} - -.datepicker-dropdown { - top: 0; - left: 0; -} - -.datepicker-dropdown:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: 1px solid rgba(0, 0, 0, 0.2); - position: absolute; - top: -7px; - left: 6px; -} - -.datepicker-dropdown:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #fff; - position: absolute; - top: -6px; - left: 7px; -} - -.datepicker > div, -.datepicker-dropdown::before, -.datepicker-dropdown::after { - display: none; -} - -.datepicker-close { - position: absolute; - top: -30px; - right: 0; - width: 15px; - height: 30px; - padding: 0; - display: none; -} - -.table-striped .datepicker table tr td, -.table-striped .datepicker table tr th { - background-color: transparent; -} \ No newline at end of file diff --git a/code/static/assets/images/sass/module/_default.scss b/code/static/assets/images/sass/module/_default.scss deleted file mode 100644 index b09cfd4..0000000 --- a/code/static/assets/images/sass/module/_default.scss +++ /dev/null @@ -1,376 +0,0 @@ -ul { - margin-top: 0; -} - -.admin-icon-yellow { - color: #ffbe40; -} - -.admin-header { - font-size: 1.4rem; - margin-bottom: 0; -} - -.admin-header-list a:hover :after { - content: none; -} - -.admin-main { - background: #f3f3f3; -} - -.admin-menu { - position: fixed; - z-index: 10; - bottom: 30px; - right: 20px; -} - -.admin-sidebar { - width: 260px; - min-height: 100%; - float: left; - border-right: 1px solid #cecece; -} - -.admin-sidebar-list { - margin-bottom: 0; -} - -.admin-sidebar-list li a { - color: #5c5c5c; - padding-left: 24px; -} - -.admin-sidebar-list li:first-child { - border-top: none; -} - -.admin-sidebar-sub { - margin-top: 0; - margin-bottom: 0; - box-shadow: 0 16px 8px -15px #e2e2e2 inset; - background: #ececec; - padding-left: 24px; -} - -.admin-sidebar-sub li:first-child { - border-top: 1px solid #dedede; -} - -.admin-sidebar-panel { - margin: 10px; -} - -.admin-content { - width: auto; - overflow: hidden; - height: 100%; - background: #fff; -} - -.admin-content-list { - border: 1px solid #e9ecf1; - margin-top: 0; -} - -.admin-content-list li { - border: 1px solid #e9ecf1; - border-width: 0 1px; - margin-left: -1px; -} - -.admin-content-list li:first-child { - border-left: none; -} - -.admin-content-list li:last-child { - border-right: none; -} - -.admin-content-table a { - color: #535353; -} - -.admin-content-file { - margin-bottom: 0; - color: #666; -} - -.admin-content-file p { - margin: 0 0 5px 0; - font-size: 1.4rem; -} - -.admin-content-file li { - padding: 10px 0; -} - -.admin-content-file li:first-child { - border-top: none; -} - -.admin-content-file li:last-child { - border-bottom: none; -} - -.admin-content-file li .am-progress { - margin-bottom: 4px; -} - -.admin-content-file li .am-progress-bar { - line-height: 14px; -} - -.admin-content-task { - margin-bottom: 0; -} - -.admin-content-task li { - padding: 5px 0; - border-color: #eee; -} - -.admin-content-task li:first-child { - border-top: none; -} - -.admin-content-task li:last-child { - border-bottom: none; -} - -.admin-task-meta { - font-size: 1.2rem; - color: #999; -} - -.admin-task-bd { - font-size: 1.4rem; - margin-bottom: 5px; -} - -.admin-content-comment { - margin-bottom: 0; -} - -.admin-content-comment .am-comment-bd { - font-size: 1.4rem; -} - -.admin-content-pagination { - margin-bottom: 0; -} - -.admin-content-pagination li a { - padding: 4px 8px; -} - -@media only screen and (min-width: 641px) { - .admin-sidebar { - display: block; - position: static; - background: none; - } - - .admin-offcanvas-bar { - position: static; - width: auto; - background: none; - -webkit-transform: translate3d(0, 0, 0); - -ms-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - } - - .admin-offcanvas-bar:after { - content: none; - } -} - -@media only screen and (max-width: 640px) { - .admin-sidebar { - width: inherit; - } - - .admin-offcanvas-bar { - background: #f3f3f3; - } - - .admin-offcanvas-bar:after { - background: #BABABA; - } - - .admin-sidebar-list a:hover, .admin-sidebar-list a:active { - -webkit-transition: background-color .3s ease; - -moz-transition: background-color .3s ease; - -ms-transition: background-color .3s ease; - -o-transition: background-color .3s ease; - transition: background-color .3s ease; - background: #E4E4E4; - } - - .admin-content-list li { - padding: 10px; - border-width: 1px 0; - margin-top: -1px; - } - - .admin-content-list li:first-child { - border-top: none; - } - - .admin-content-list li:last-child { - border-bottom: none; - } - - .admin-form-text { - text-align: left !important; - } -} - -/* -* user.html css -*/ -.user-info { - margin-bottom: 15px; -} - -.user-info .am-progress { - margin-bottom: 4px; -} - -.user-info p { - margin: 5px; -} - -.user-info-order { - font-size: 1.4rem; -} - -/* -* errorLog.html css -*/ - -.error-log .am-pre-scrollable { - max-height: 40rem; -} - -/* -* table.html css -*/ - -.table-main { - font-size: 1.4rem; - padding: .5rem; -} - -.table-main button { - background: #fff; -} - -.table-check { - width: 30px; -} - -.table-id { - width: 50px; -} - -@media only screen and (max-width: 640px) { - .table-select { - margin-top: 10px; - margin-left: 5px; - } -} - -/* -gallery.html css -*/ - -.gallery-list li { - padding: 10px; -} - -.gallery-list a { - color: #666; -} - -.gallery-list a:hover { - color: #3bb4f2; -} - -.gallery-title { - margin-top: 6px; - font-size: 1.4rem; -} - -.gallery-desc { - font-size: 1.2rem; - margin-top: 4px; -} - -/* - 404.html css -*/ - -.page-404 { - background: #fff; - border: none; - width: 200px; - margin: 0 auto; -} - -/* - fixed-layout 鍥哄畾澶撮儴鍜岃竟鏍忓竷灞€ -*/ - -.fixed-layout, -.fixed-layout body { - height: 100%; - overflow: hidden; -} - -.fixed-layout .admin-header { - position: fixed; - top: 0; - left: 0; - right: 0; - z-index: 1500; -} - -.fixed-layout .admin-main { - position: relative; - height: 100%; - padding-top: 51px; -} - -.fixed-layout .admin-content, -.fixed-layout .admin-sidebar { - height: 100%; - overflow-x: hidden; - overflow-y: scroll; -} - -.fixed-layout .admin-sidebar.am-active { - z-index: 1600; -} - -input[type=file] { - display: block; - opacity: 0; - height: 60px; - width: 100px; - position: absolute; - z-index: 99; -} -.form-horizontal .form-group{ - margin-left: 0px; - margin-right: 0px; -} -.form-group::after { - clear: both; - display: block; - content: ''; -} -.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control{ - cursor:pointer; -} \ No newline at end of file diff --git a/code/static/assets/images/sass/module/_edit.scss b/code/static/assets/images/sass/module/_edit.scss deleted file mode 100644 index 2c8ae2e..0000000 --- a/code/static/assets/images/sass/module/_edit.scss +++ /dev/null @@ -1,292 +0,0 @@ -.panel-default .panel-heading { - border-top: 1px solid #e7e7e7; -} - -.list-img { - display: block; - width: 78px; - height: 78px; - line-height: 78px; - font-size: 0; - text-align: center; - - img { - vertical-align: middle; - max-width: 100%; - max-height: 100%; - } -} - -.red { - color: red; - font-family: bold; -} - -input[type=date], input[type=time], input[type=datetime-local], input[type=month] { - line-height: 0 !important; -} - -.form-group .control-label { - margin-top: 3px; -} -.smalltxt{ - width:20px; - border:0 none; - border-bottom:1px solid #ccc; -} -.tao-noborder{ - border:0 none; - background-color:transparent; -} -.tao-border{ - border:1px solid #ccc; -} - - -.cover-image-list { - li { - float: left; - width: 135px; - height: auto; - border: none; - } - - - - .goods-img { - margin: 10px auto 0; - border: 2px dashed #CCC; - } - - input[type="file"] { - width: 100%; - height: 100%; - } -} - -.cover-color { - text-align: center; - height: 40px; - line-height: 40px; - .btn { - padding: 2px 5px; - } -} - -.fm-side { - width: 110px; - .cover-color { - text-align: left; - } - .goods-img { - margin: 10px 0 0; - } -} - -.goods-img { - position: relative; - width: 110px; - height: 150px; - - - .fileinput-button-icon { - width: 100%; - height: 100%; - line-height: 150px; - overflow: hidden; - - img { - max-width: 100%; - max-height: 100%; - } - } - - .remove-item-btn { - position: absolute; - font-size: 20px; - top: -10px; - right: -10px; - cursor: pointer; - color: #ccc; - - &:hover { - color: #000; - } - } -} -.poseditimg{ - position: relative; - width: 100%; - height: auto; - img{ - display: block; - width: 100%; - height: 100%; - } - .pos{ - position: absolute; - z-index: 10; - width: 220px; - .pos-text{ - border:0 none; - border-bottom:1px solid #ccc; - } - } -} - -#dapei-form { - label { - min-width: 60px; - } -} -.btn.info{ - color: #fff; - background-color: #5bc0de; - border-color: #46b8da; -} - -.floatnav{ - padding: 0; - position: fixed; - right: 0; - top: 50%; - z-index: 999; - margin: -280px 0 0; - transform: translateX(150px); - - ul { - padding: 0; - } - - li { - width: 150px; - line-height: 40px; - - a { - position: relative; - padding: 0 0 0 10px; - display: block; - height: 100%; - border-top-left-radius: 3px; - border-top-right-radius: 3px; - background-color: #f2dede; - border: 1px solid #ebccd1; - color: #a94442; - } - - .required-icon { - position: absolute; - top: 12px; - bottom: 12px; - left: 5px; - width: 3px; - background: red; - } - } - - - .sub-floatnav { - padding: 0; - a { - padding: 0 0 0 20px; - background: #fff; - - .required-icon { - left: 15px; - } - } - - } - - .glyphicon { - position: absolute; - font-size: 20px; - width: 30px; - height: 40px; - background: #f2dede; - border-radius: 10px 0 0 10px; - border: 1px solid #ebccd1; - left: -30px; - top: 50%; - margin: -20px 0 0 0; - color: #fff; - text-align: center; - line-height: 40px; - cursor: pointer; - - &.glyphicon-chevron-right { - display: none; - } - } -} - -.floatnav.show { - transform: translateX(0); - transition: transform .5s; - - .glyphicon-chevron-right { - display: inline; - } - .glyphicon-chevron-left { - display: none; - } - - -} - -.netsale-position { - position: absolute; - width: 100%; - height: 100%; - left: 0; - top: -100%; - z-index:-1; -} -.w-goods-text{ - border-radius: 3px; - background-color: #fff; - border: 1px solid #ccc; - padding: 5px; -} -.modal-dialog{ - margin-top: 70px; -} - -.subhhead{ - span{ - width: 100px; - display: inline-block; - height: 100%; - text-align: center; - } -} - -.edui-editor-body { - img { - max-width: 100%; - } -} -.tagwrap{ - padding: 10px; -} -span.tag{ - display: block; - float: left; - padding: 2px 5px; - text-decoration: none; - background: #1caf9a; - color: #fff; - margin-right: 5px; - margin-bottom: 5px; - font-size: 13px; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; -} - span.tag a { - font-weight: bold; - color: #fff; - opacity: 0.5; - text-decoration: none; - font-size: 11px; -} \ No newline at end of file diff --git a/code/static/assets/images/sass/module/_product.scss b/code/static/assets/images/sass/module/_product.scss deleted file mode 100644 index 1f68fbc..0000000 --- a/code/static/assets/images/sass/module/_product.scss +++ /dev/null @@ -1,177 +0,0 @@ -.mainwrapper .toggle-table tr { - cursor: pointer; -} - -.mainwrapper .toggle-table tr.level1 td:nth-of-type(1) { - text-indent: 2px; -} - -.mainwrapper .toggle-table tr.level2 td:nth-of-type(1) { - text-indent: 15px; -} - -.mainwrapper .toggle-table tr.level3 td:nth-of-type(1) { - text-indent: 30px; -} -.mainwrapper .toggle-table tr.level4 td:nth-of-type(1) { - text-indent: 45px; -} -.pattrscroll { - - background: #F7F7F7; - - ul { - padding-left: 0; - } - - li { - cursor: pointer; - } -} - -.mainwrapper .list-group-item.level1 { - text-indent: 2px; -} -.mainwrapper .list-group-item.level2 { - text-indent: 15px; -} -.mainwrapper .list-group-item.level3 { - text-indent: 30px; -} -.mainwrapper .list-group-item.level4 { - text-indent: 45px; -} - - -.attr-item-active { - background: #428bca; - color: #fff; -} -.pannel-scroll { - height: 500px; - overflow-y: scroll; - overflow-x: hidden; -} -.attr-select { - display: block; - height: 40px; - line-height: 40px; - border: 1px solid #ccc; - border-radius: 3px; -} - - -// 限购商品 -#limit-table-box { - - table { - vertical-align: middle; - - th, td { - text-align: center; - vertical-align: middle; - } - - div.checkbox label{ - height: 13px; - } - - .cover-img { - width: 100px; - } - - .width50 { - width: 50px; - text-align: center; - } - } -} - -.height40 { - height: 40px; - line-height: 40px; -} - -.edit-cover-img { - width: 100px; - margin: 0 15px; - float: left; -} -.quota-text,.quota-img,.quota-video { - width: 300px; - margin-bottom: 15px; - - img { - width: 100%; - } -} - -#text-editor { - width: 100%; - max-width: 100%; - min-width: 100%; - height: 300px; - max-height: 300px; - min-height: 300px; -} - -.product-detail { - input[type="text"] { - width: 100px; - } -} - -.main-table { - -display: none; -} - -.bulk-import { - display: none; -} - -.excel-upload-wrap { - display:inline-block; - position: relative; - - .excel-upload { - display: inline-block; - position: static; - opacity: 1; - width: auto; - height: auto; - } - - #upload-input { - position: absolute; - top: 0; - right: 0; - z-index: 2; - opacity: 0; - } - - .file-name { - display: inline-block; - width: 302px; - height: 38px; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - } - -} - -.excel-model { - display: inline-block; - width: 110px; - height: 48px; - line-height: 48px; - padding: 0 0 0 50px; - margin: 0 200px; - background: url(../assets/images/excel.png) no-repeat left center; -} - -.load { - background-image: url(../assets/images/loading.gif); - background-repeat: no-repeat; - background-position: center center; -} \ No newline at end of file diff --git a/code/static/assets/images/sass/module/_supplier.scss b/code/static/assets/images/sass/module/_supplier.scss deleted file mode 100644 index 828658b..0000000 --- a/code/static/assets/images/sass/module/_supplier.scss +++ /dev/null @@ -1,17 +0,0 @@ -.show-grid{ - padding:10px; -} -.brandBtn-group{ - width: 150px; - float: left; - margin-right: 8px; -} -.brandBtn-group-lg{ - width: 280px; -} - -.contentpanel td { - a { - margin: 0 3px; - } -} \ No newline at end of file diff --git a/code/static/assets/images/sass/module/_template.scss b/code/static/assets/images/sass/module/_template.scss deleted file mode 100644 index fa6fdad..0000000 --- a/code/static/assets/images/sass/module/_template.scss +++ /dev/null @@ -1,35 +0,0 @@ -.g-wrapper{ - width: 990px; - margin: 0 auto; -} -.g-border{ - border: 1px solid #ccc; - box-sizing:border-box; -} -.g-header{ - height: 150px; -} -.g-menus{ - background-color: #3a3a3a; - height: 40px; -} -.g-left{ - width: 160px; - overflow: hidden; - float: left; - ul ,li{ - margin: 0; - padding: 0; - } - li{ - margin-bottom: 5px; - } -} -.g-content{ - margin-left: 160px; - width: 830px; - .g-slide{ - width: 100%; - height: 400px; - } -} \ No newline at end of file diff --git a/code/static/assets/images/sass/module/shop-app.css b/code/static/assets/images/sass/module/shop-app.css deleted file mode 100644 index 77a2cb0..0000000 --- a/code/static/assets/images/sass/module/shop-app.css +++ /dev/null @@ -1,228 +0,0 @@ -/* -app端店铺模板css -*/ -.contentpanel-app {color: #585858; font-size: 12px; font-family:'Microsoft YaHei'} -.contentpanel-app *{margin: 0;padding: 0;box-sizing: border-box } -.contentpanel-app ul {list-style: none;} -.contentpanel-app a {color: #585858; text-decoration: none} -.contentpanel-app a:hover{text-decoration: underline} -.contentpanel-app img {border-style: none;} - -/*清浮动*/ -.contentpanel-app .clear {clear: both} - -/*------------------------wrap--------------------------*/ -.contentpanel-app{ - width: 100%; - margin: 0 auto 20px; - background: #f5f7f6; - max-width: 640px; -} - -/*------------------------banner--------------------------*/ -.contentpanel-app .model-banner{ - width: 100%; - height: 150px; - position: relative; - overflow: hidden; -} -.contentpanel-app .model-banner img{ - position: absolute; - clip: rect(0,640px,150px,0); -} -.contentpanel-app .model-banner h1{ - position: absolute; - top: 20px; - left: 50px; - color: #ffff00; -} - -/*------------------------nav--------------------------*/ -.contentpanel-app .model-nav{ - background: #fff; -} -.contentpanel-app .model-nav ul li{ - float: left; - width: 25%; - height: 30px; - line-height: 28px; - padding: 1px 10px; - font-size: 28px; - border-right: 2px solid #ccc; - margin: 30px 0; - text-align: center; -} -.contentpanel-app .model-nav ul li a{color: #ccc} -.contentpanel-app .model-nav ul li.active a{color: #585858} - -/*------------------------main--------------------------*/ -.contentpanel-app .model-main{ - clear: both; - width: 100%; - background: #f5f7f6; -} - -/*------------------------品牌一览(多品牌商铺专有)--------------------------*/ -.contentpanel-app .brand-list{ - text-align: center; -} -.contentpanel-app .brand-list span{ - display: block; - line-height: 60px; - height: 60px; - font-size: 28px; -} -.contentpanel-app .brand-list ul{ - border: solid #ccc; - border-width:1px 0 0px 0 ; - padding: 0 4px; -} -.contentpanel-app .brand-list ul li{ - float: left; - width: 25%; - padding: 20px 4px; -} -.contentpanel-app .brand-list ul li a{ - display: block; - width: 100%; - height: 100px; -} -.contentpanel-app .brand-list ul li img{ - width: 100%; - height: 100px; -} - -/*------------------------大图--------------------------*/ -.contentpanel-app .largePic img{ - width: 100%; - height: 180px; -} - -/*------------------------小图--------------------------*/ -.contentpanel-app .model-smallPic{ - width: 580px; - height: 150px; - margin: 20px auto; - background: #fff; -} -.contentpanel-app .model-smallPic ul li{ - float: left; - width: 50%; - height: 150px; -} -.contentpanel-app .model-smallPic ul li:first-of-type{ - padding-right: 15px; -} -.contentpanel-app .model-smallPic ul li:last-of-type{ - padding-left: 15px; -} -.contentpanel-app .model-smallPic img{ - width: 275px; - height: 150px; - border:0px solid #000; -} - -/*------------------------热门品类--------------------------*/ -.contentpanel-app .sortList{ - width: 100%; -} -.contentpanel-app .sortList span{ - display: block; - text-align: center; - height: 60px; - line-height: 60px; - width: 580px; - background: #fff; - margin: 0 auto; - font-size: 28px; - color: #999; -} -.contentpanel-app .sortList .sortListDetail{ - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; - position: relative; - padding: 20px 4px 10px; -} -.contentpanel-app .sortList .sortListDetail ul li{ - float: left; - width: 25%; -} -.contentpanel-app .sortList .sortListDetail ul li img{ - display: block; - width: 150px; - height: 120px; - margin: 0 4px; -} -.contentpanel-app .sortList .sortListDetail ul li a{ - display: block; - width: 100%; - text-align: center; - padding: 10px 0; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - font-size: 16px; -} - -/*------------------------人气单品--------------------------*/ -.contentpanel-app .model-show{ - width: 100%; - background: #fff; -} - -.contentpanel-app .showTitle{ - width: 100%; - height: 98px; - line-height: 98px; - text-align: center; - position: relative; - box-sizing: content-box; - border-bottom: 1px solid #ccc; -} -.contentpanel-app .showTitle span{ - font-size: 28px; - color: #585858; -} -.contentpanel-app .showTitle a{ - display: block; - position: absolute; - top:0; - right: 10px; -} - -/*------------------------人气单品详情--------------------------*/ -.contentpanel-app .model-showDetail{ - padding: 50px 25px; -} -.contentpanel-app .model-showDetail ul li{ - float: left; - width: 50%; - position: relative; - margin-bottom:10px; - padding: 0 5px; -} -.contentpanel-app .model-showDetail ul li img{ - width: 100%; - height: 300px; - display: block; -} -.contentpanel-app .shadow{ - width: 100%; - background: #666; - opacity: 0.5; - padding: 5px 10px; -} -.contentpanel-app .model-showDetail ul li a{ - display: block; - font-size: 22px; - color: #fff; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; -} -.contentpanel-app .model-showDetail ul li b{ - font-size: 22px; - display: block; - color: #fff; - font-weight: normal; -} diff --git a/code/static/assets/images/sass/module/shop-pc.css b/code/static/assets/images/sass/module/shop-pc.css deleted file mode 100644 index 5682975..0000000 --- a/code/static/assets/images/sass/module/shop-pc.css +++ /dev/null @@ -1,410 +0,0 @@ -/* -pc端店铺模板css -*/ -.editor-dialog ul.upload-image-list{padding: 0 10px} -.editor-dialog input.numInput{ width: 40px} -.editorTitle input.error,.editor-dialog input.error{ border: 2px solid #ff0000} -.moduleTypeSelect .error{ border: 2px solid #ff0000} -.editorTip{ color: #ff0000} - -.contentpanel-pc {color: #585858; font-size: 12px; font-family:'Microsoft YaHei'} -.contentpanel-pc *{margin: 0;padding: 0;box-sizing: border-box } -.contentpanel-pc ul {list-style: none;} -.contentpanel-pc a {color: #585858; text-decoration: none} -.contentpanel-pc a:hover{text-decoration: underline} -.contentpanel-pc img {border-style: none; } - -/*清浮动*/ -.contentpanel-pc .clear {clear: both} - -/*------------------------wrap--------------------------*/ -.contentpanel-pc{ - width: 990px; - margin: 0 auto; - margin-bottom: 20px; -} - -/*------------------------banner--------------------------*/ -.contentpanel-pc .model-banner{ - width: 100%; - height: 150px; - position: relative; -} -.contentpanel-pc .model-banner img{ - width: 100%; - height: 150px; -} -.contentpanel-pc .model-banner h1{ - position: absolute; - top: 20px; - left: 50px; - color: #ffff00; -} - -/*------------------------nav--------------------------*/ -.contentpanel-pc .model-nav{ - background: #585858; - height: 50px; -} -.contentpanel-pc .model-nav ul li{ - float: left; - width: 14%; - line-height: 50px; - padding: 0 20px; - font-size: 16px; -} -.contentpanel-pc .model-nav ul li a{ - color: #fff; - font-size: 16px; -} - -/*------------------------main--------------------------*/ -.contentpanel-pc .model-main{ - clear: both; - margin-top: 10px; - width: 100%; -} - -/*------------------------main-left--------------------------*/ -.contentpanel-pc .model-main-left{ - float: left; - width: 20%; - padding-right: 10px; -} - -/*------------------------商品分类列表--------------------------*/ -.contentpanel-pc .sortList{ - width: 100%; - height: 200px; - background: url("../assets/images/shop1.png"); -} -.contentpanel-pc .sortList a{ color: #585858} - -/*------------------------推荐总样式--------------------------*/ -.contentpanel-pc .model-recommend{ - width: 100%; - margin-top: 10px; -} -.contentpanel-pc .recommendTitle{ - width: 100%; - height: 40px; - line-height: 40px; - background: #585858; - color: #fff; - text-align: center; - font-size: 16px; -} -.contentpanel-pc .recommendDetail ul li{ - background: #f5f7f6; - margin: 5px 0; - padding: 5px 10px; -} - -/*------------------------品牌集合(多品牌商铺专有)--------------------------*/ -.contentpanel-pc .brandDetail ul li{ - font-size: 14px; - padding: 10px 20px; -} - -/*------------------------经典推荐--------------------------*/ -.contentpanel-pc .typicRecommendDetail ul li .recommendNames{ - display: block; - width: 60%; - float: left; - height: 50px; -} -.contentpanel-pc .typicRecommendDetail ul li a,.contentpanel-pc .typicRecommendDetail ul li span{ - display: block; - width: 100%; - color: #585858; - font-size: 14px; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - padding-right: 10px; -} -.contentpanel-pc .typicRecommendDetail ul li a{ - height: 30px; - line-height: 30px; -} -.contentpanel-pc .typicRecommendDetail ul li span{ - height: 20px; - line-height: 20px; - color: #999999; - font-size: 12px; -} -.contentpanel-pc .typicRecommendDetail ul li img{ - display: block; - float: right; - height: 50px; - width: 40%; -} - -/*------------------------热销推荐--------------------------*/ -.contentpanel-pc .hotRecommendDetail ul li{ - padding: 0; -} -.contentpanel-pc .hotRecommendDetail ul li a img{ - width: 100%; - height: 200px; -} - -/*------------------------水牌--------------------------*/ -.contentpanel-pc .signboardDetail ul li{ - padding: 0; -} -.contentpanel-pc .signboardDetail ul li a img{ - width: 100%; - height: 250px; -} - -/*------------------------main-right--------------------------*/ -.contentpanel-pc .model-main-right{ - float: left; - width: 80%; - padding-left: 10px; -} -.contentpanel-pc .model-main-right-default{ - width: 792px; - height: 920px; - background: url("../assets/images/shop2.png"); -} - -/*------------------------slide--------------------------*/ -.contentpanel-pc .model-slide{ - float: left; - width: 480px; - height: 270px; -} -.contentpanel-pc .model-slide img{ - display: block; - width: 100%; - height: 270px; -} - -/*------------------------资源位小图--------------------------*/ -.contentpanel-pc .model-sourcePic{ - float: left; - height: 270px; - padding-left: 20px; -} -.contentpanel-pc .model-sourcePic ul li{ - width: 100%; -} -.contentpanel-pc .model-sourcePic img{ - display: block; - width: 280px; - height: 130px; - margin-bottom: 10px; -} -.contentpanel-pc .model-sourcePic img:last{margin-bottom: 0} - -/*------------------------商品展示--------------------------*/ -.contentpanel-pc .model-show{ - clear: both; - margin-top: 20px; -} - -.contentpanel-pc .model-showTitle{ - position: relative; - margin-bottom: 20px; -} -.contentpanel-pc .model-showTitle .showName{ - height: 40px; - width: 200px; - padding: 0 20px; - line-height: 40px; - margin: 0 auto; - font-weight: bold; - font-size: 16px; - text-align: center; - border: 1px solid #585858; -} -.contentpanel-pc .model-showTitle .showTab{ - position: absolute; - line-height: 40px; - top: 0;right: 0; -} -.contentpanel-pc .model-showTitle .showTab ul li{ - display: block; - float: right; - color: #585858; - text-decoration: none; - border-right: 1px solid #999; - height: 20px; - line-height: 20px; - padding: 0 5px; - margin: 10px 0; -} - -.contentpanel-pc .model-showDetail{ - width: 792px; -} -.contentpanel-pc .model-showDetail ul li{ - float: left; - width: 188px; - background: #f5f7f6; - margin-right: 10px; - margin-bottom: 10px; -} -.contentpanel-pc .model-showDetail ul li img{ - display: block; - width: 100%; - height: 250px; -} -.contentpanel-pc .model-showDetail ul li a{ - display: block; - text-align: center; - height: 30px; - line-height: 30px; - font-size: 14px; - font-weight: bold; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; -} -.contentpanel-pc .model-showDetail ul li b{ - display: block; - text-align: center; - padding-bottom: 10px; -} - -/* -鼠标hover编辑样式 -*/ - -.contentpanel .model-editor{ - position: relative; -} - -.contentpanel .editorIcon{ - position: absolute; - display: block; - top: 5px; - right: 5px; - width: 50px; - height: 25px; - line-height: 25px; - text-align: center; - font-size: 14px; - font-weight: bold; - background: deepskyblue; - color: #fff; - font-weight: bold; - /*opacity: 0.8;*/ -} - -.contentpanel .model-editor .editorBorder{ - width: 100%; - height: 100%; - position: absolute; - top: 0; - left: 0px; - border: 5px solid #7cfc00; -} - -/******* showTab定制 ********/ -.contentpanel-pc .showTab .editorBorder{ - height: 60px; - top: -20px; -} -.contentpanel-pc .showTab .editorIcon{ - top: -15px; -} - -/******* showDetail定制 ********/ -.contentpanel-pc .model-showDetail .editorBorder{ - width: 782px; -} -.contentpanel-pc .model-showDetail .editorIcon{ - right: 15px; -} - -/* -畅销Top20样式 -*/ -.topList{ - width: 300px; - font-family:'Microsoft YaHei'; - color: #585858; -} -.topList .topListName{ - text-align: center; - font-size: 14px; - padding: 5px 0; - font-weight: bold; -} -.topList .topListDetail ul{ - padding: 0; - margin: 0; -} -.topList .topListDetail ul li{ - width: 25%; - float: left; - height: 80px; - position: relative; - border: solid #fff; - border-width: 0 2px 2px 0; -} -.topList .topListDetail ul li a{ - display: block; - height: 100%; - width: 100%; -} -.topList .topListDetail ul li a img{ - display: block; - width: 100%; - height: 100%; -} -.topList .topListDetail ul li a b{ - position: absolute; - left: 0; - bottom: 0; - display: block; - width: 100%; - height: 30px; - background: #585858; - opacity: 0.8; - z-index: 1; -} -.topList .topListDetail ul li a span{ - position: absolute; - left: 0; - bottom: 0; - display: block; - width: 100%; - height: 30px; - line-height: 30px; - text-align: center; - color: #fff; - font-weight: bold; - z-index: 2; -} -.topList .topListDetail ul li a i{ - position: absolute; - left: 0; - top: 0; - display: none; - width: 100%; - height: 100%; - border: 5px solid #7cfc00; - z-index: 3; - /*background: #7cfc00; - opacity: 0.5;*/ -} -.topList .topListDetail ul li.selected a i{ - position: absolute; - left: 0; - top: 0; - display: block; - width: 100%; - height: 100%; - border: 5px solid #7cfc00; - z-index: 3; -} -.topList .topTip{ - color: #ff0000; - margin-top: 20px; -} - - diff --git a/code/static/js.jquery/module/common/Login.js b/code/static/js.jquery/module/common/Login.js new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/code/static/js.jquery/module/common/Login.js diff --git a/code/static/js.jquery/module/goods/price.Change.js b/code/static/js.jquery/module/goods/price.Change.js index ccea931..5176efa 100644 --- a/code/static/js.jquery/module/goods/price.Change.js +++ b/code/static/js.jquery/module/goods/price.Change.js @@ -387,11 +387,6 @@ var p = new common.grid({ return newPriceHtml + '<p style="color: #ccc;">' + item.oldProductPriceBo.vip2_price + '</p>'; } }, { - display: '返币金额', - render: function(item) { - return item.newProductPriceBo.return_coin + '<p style="color: #ccc;">' + item.oldProductPriceBo.return_coin + '</p>'; - } - }, { display: '操作', render: function(item) { return '<a class="btn btn-info delete-btn" data-index="' + item.__index + '" href="javascript:;">删除</a>'; diff --git a/code/static/sass/module/_product.scss b/code/static/sass/module/_product.scss index e39f6e3..773e360 100644 --- a/code/static/sass/module/_product.scss +++ b/code/static/sass/module/_product.scss @@ -161,11 +161,11 @@ line-height: 48px; padding: 0 0 0 50px; margin: 0 200px; - background: url(../images/excel.png) no-repeat left center; + background: url(assets/images/excel.png) no-repeat left center; } .load { - background-image: url(../images/loading.gif); + background-image: url(assets/images/loading.gif); background-repeat: no-repeat; background-position: center center; } \ No newline at end of file diff --git a/code/webpack.config.vue.js b/code/webpack.config.vue.js index 3cd9dd0..dfbda11 100644 --- a/code/webpack.config.vue.js +++ b/code/webpack.config.vue.js @@ -66,4 +66,6 @@ module.exports = { //} else { // module.exports.devtool = 'source-map'; //} -module.exports.devtool = 'source-map'; \ No newline at end of file +if (process.env.NODE_ENV === 'production') { + module.exports.devtool = 'source-map'; +} diff --git a/server/index.js b/server/index.js index 43dacef..5e6262d 100644 --- a/server/index.js +++ b/server/index.js @@ -11,7 +11,7 @@ var grayroute = require("./mid/grayrouter"); /*session 配置*/ var options = { - secret: 'yohobuy.portal', //session配置 + secret: 'yohobuy.shops', //session配置 cookie: {secure: false, maxAge: 3600000}, resave: false, saveUninitialized: true @@ -28,7 +28,7 @@ var Iaccount = { isUsedMenuAuth: oldSerDomain + '/service/account/v1/profile/authPath', allRight: oldSerDomain + '/service/setting/v1/action/getAllAction', - getShopList: '{domain}/ShopsRest/queryShopsByAdminPid', + getShopList: '{{domain}}/ShopsRest/queryShopsByAdminPid', // 灰度代理 url: 'http://shops.yohobuy.com', @@ -97,12 +97,14 @@ if(process.env.NODE_ENV==="test"){ apiCofig.EnvConst.domain="http://10.66.100.6:8088/platform"; apiCofig.EnvConst.bigdata="http://10.66.100.7:8091/bigdata"; } -// if(process.env.NODE_ENV==="production"){ -// apiCofig.EnvConst.domain="http://172.31.23.161:8088/platform"; -// apiCofig.EnvConst.bigdata="http://172.31.23.161:8091/bigdata"; -// } +// 灰度 if(process.env.NODE_ENV==="production"){ - apiCofig.EnvConst.domain="http://172.31.20.7:8088/platform"; + apiCofig.EnvConst.domain="http://172.31.23.161:8088/platform"; apiCofig.EnvConst.bigdata="http://172.31.23.161:8091/bigdata"; } +//线上 +// if(process.env.NODE_ENV==="production"){ +// apiCofig.EnvConst.domain="http://172.31.20.7:8088/platform"; +// apiCofig.EnvConst.bigdata="http://172.31.23.161:8091/bigdata"; +// } module.exports = require('./libs/App')(apiCofig); \ No newline at end of file diff --git a/server/interfaces/common.login.js b/server/interfaces/common.login.js index da69dce..ae44b8a 100644 --- a/server/interfaces/common.login.js +++ b/server/interfaces/common.login.js @@ -2,29 +2,29 @@ var request = require('request'); var _ = require('lodash'); var fs = require('fs'); -var Iaccount=global.Register.system; +var Iaccount = global.Register.system; -var Utils={ - createrMenus:function(data){ +var Utils = { + createrMenus: function (data) { var menu = []; - for(var key in data){ - - var v=data[key]; - var item = { - title:v.menu_name, + for (var key in data) { + + var v = data[key]; + var item = { + title: v.menu_name, } - if(v.parent_id === "0") { + if (v.parent_id === "0") { item.parent = 'menu-template'; var itemSubs = []; - _.forEach(v.sub,function(val) { + _.forEach(v.sub, function (val) { var sub = { - title:val.menu_name, - href:val.menu_url, + title: val.menu_name, + href: val.menu_url, icon: 'list-alt' } itemSubs.push(sub); }); - + item.menu = itemSubs; } menu.push(item); @@ -33,118 +33,108 @@ var Utils={ } } -module.exports={ - namespace:"common", - apis:{ - login:function(req,callback){ - var user = req.body.user; - var password = req.body.password; - var userInfo = {},result={code:400,message:"登录失败"}; - //调用登陆 - console.log(Iaccount.login); - return request.post({ - url: Iaccount.login, - form:'["'+user+'","'+password+'",'+Iaccount.WEBSITE+']' - },function(error, httpResponse, rebody){ - if (!error && httpResponse.statusCode == 200) { - var userData = JSON.parse(rebody).data; - console.log("登录接口成功"); - userInfo = { - auth: userData, - uid: userData.pid, - name: userData.truename - }; - //调用菜单 - request.post({ - url: Iaccount.getResourceByPid, - form: '[' + userData.pid + ',' + userData.role_id + ',' + Iaccount.WEBSITE + ']' - }, function (error1, httpResponse1, rebody1) { - if (!error1 && httpResponse1.statusCode == 200) { - userInfo.menu = Utils.createrMenus(JSON.parse(rebody1).data); - console.log("调用菜单成功,开始调用权限:"+Iaccount.allRight); - //调用权限 - request.post({ - url: Iaccount.allRight, - form: '[false]' - }, function (error2, httpResponse2, rebody2) { - console.log("调用权限"); - if (!error2 && httpResponse2.statusCode == 200&&rebody2) { - - userInfo.right = {}; - JSON.parse(rebody2).data.forEach(function (data) { - if (data.platform_id == Iaccount.WEBSITE) { - userInfo.right[data.path] = true; - } - }); - //获取店铺 - console.log("店铺URL:"+Iaccount.getShopList); - request.post({ - 'url': Iaccount.getShopList, - 'headers': { - "x-user-id": userInfo.uid - } - }, function (error3, httpResponse3, rebody3) { - console.log("获取店铺"); - if (!error3 && httpResponse3.statusCode == 200) { - userInfo.shopList = []; - if (JSON.parse(rebody3).data) { - JSON.parse(rebody3).data.forEach(function (data, index) { - if (!index) { - userInfo.auth.shopName = data.shopName; - userInfo.auth.shopId = data.shopsId; - } - userInfo.shopList.push({ - name: data.shopName, - id: data.shopsId - }); - }); - } else { - result = { code: 400, message: "该用户没有店铺" }; - } - - - /*保存session 成功*/ - req.session.user = userInfo; - console.log("保存session 成功"); - - request.post({ - 'url': Iaccount.url+'/login/sessions', - form: { - 'account': user, - 'password': password, - 'refer': '%2Faccount%2Fprofile%2Fdisplay' - } - }, function (error4, httpResponse4, rebody4) { - if (!error4) { - var cookie = httpResponse4.caseless.dict["set-cookie"]; - if (cookie && cookie.length > 0) { - req.session.gray = cookie[0]; - } - result = { code: 200, message: "登录成功" } - return callback(null, result); - } else { - return callback(null, result); - } - }); - } else { - console.log(error3); - return callback(null, result); - } - }); - } else { - return callback(null, result); - } +module.exports = { + namespace: "common", + apis: { + Ilogin: { + title:'登录接口', + url: Iaccount.login, + form: '["{{user}}","{{password}}",{{website}}]', + params: { + user: { type: String }, + password: { type: String }, + website: {type:Number,default: Iaccount.WEBSITE} + } + }, + getResourceByPid: { + title:'菜单接口', + url: Iaccount.getResourceByPid, + form: '[{{pid}},{{role_id}},{{website}}]', + params: { + pid: { type: Number }, + role_id: { type: Number }, + website: { type: Number, default: Iaccount.WEBSITE } + } + }, + allRight: { + title: '获取权限', + url: Iaccount.allRight, + form: '[false]' + }, + getShopList: { + title:'获取当前用户所有店铺', + url: Iaccount.getShopList, + form:true, + headers: { + "x-user-id": {type:Number} + } + }, + sessionAsync: { + title:'与老系统session同步', + url: Iaccount.url + '/login/sessions', + outobj: "response", + form: {'account':'{{user}}','password':'{{password}}','refer': '%2Faccount%2Fprofile%2Fdisplay'}, + params: { + user: { type: String }, + password: { type: String } + } + }, + login: function (req, callback, common) { + var userInfo = {},result = { code: 400, message: "登录失败" },isSuccess=false; + var user = req.body.user; + var password = req.body.password; + var errcallback = function (err) { + return callback(err, result); + } + //promise.all(Ilogin,allRight,sessionAsync).then(a,b,c); + + common.Ilogin(user, password).allRight().sessionAsync(user, password).done(function (IloginRes,allRes,sesRes) { + var userData = IloginRes.data, cookie = sesRes.caseless.dict["set-cookie"]; + userInfo = { auth: userData, uid: userData.pid, name: userData.truename, right: {},shopList:[]}; + allRes.data.forEach(function (data) { + if (data.platform_id == Iaccount.WEBSITE) { + userInfo.right[data.path] = true; + } + }); + common.getResourceByPid(userData.pid, userData.role_id) + .getShopList({ "@x-user-id": userInfo.uid }).done(function (getRRes, shopRes) { + userInfo.menu = Utils.createrMenus(getRRes.data); + if (shopRes.data) { + shopRes.data.forEach(function (data, index) { + if (!index) { + userInfo.auth.shopName = data.shopName; + userInfo.auth.shopId = data.shopsId; + } + userInfo.shopList.push({ + name: data.shopName, + id: data.shopsId }); - } else { - return callback(null, result); + }); + req.session.user = userInfo; + if (cookie && cookie.length > 0) { + req.session.gray = cookie[0]; + result = { code: 200, message: "登录成功" }; } - }); - } else { + console.log(result); + + } else { + result = { code: 400, message: "该用户没有店铺" }; + } return callback(null, result); - } - }); - }, - gray: function (req, callback){ + },errcallback); + }, errcallback); + }, + isUsedMenuAuth:{ + title:'检查有没有权限', + url:Iaccount.isUsedMenuAuth, + form:'[{{pid}},{{role_id}},"{{path}}","","",' + Iaccount.WEBSITE + ']', + params:{ + pid:{type:Number}, + role_id:{type:Number}, + path:{type:String} + } + }, + gray: function (req, callback,common) { var result = { code: 201, message: "没有权限" }; if (req.session && req.session.user) { var user = req.session.user; @@ -157,30 +147,37 @@ module.exports={ 'x-shop-id': user.auth.shopId }; if (path && user.right[path]) { - request({ - url: Iaccount.isUsedMenuAuth, - method: 'POST', - form: '[' + user.auth.pid + ',' + user.auth.role_id + ', "' + path + '", "", "", ' + Iaccount.WEBSITE + ']' - }, function (error, httpResponse, rebody) { - if (!error && httpResponse.statusCode == 200) { - result = { code: 200, message: "具有权限" }; - return callback(error, result); - } else { - return callback(error, result); - } + common.isUsedMenuAuth(user.auth.pid,user.auth.role_id,path).done(function(isURes){ + result = { code: 200, message: "具有权限" }; + return callback(null, result); + },function(error){ + return callback(error, result); }); } else { result = { code: 200, message: "不受权限控制" }; return callback(null, result); } - } else { - return callback(null,result); + } else { + return callback(null, result); } }, - changeShop: function (req, callback) { + IchangeShops:{ + title:'调用老系统的切换店铺的接口', + url: Iaccount.changeShops + '?shops_id={{shops_id}}', + method:'GET', + outobj:'response', + headers: { + cookie: { type: String } + }, + params: { + shops_id: { type: Number }, + '@cookie': {type:String} + } + }, + changeShop: function (req, callback,common) { var shopId = Number(req.query.shops_id); var cookie = req.session.gray; - var result = {code:500,message:"something wrong!"}; + var result = { code: 500, message: "something wrong!" }; //设置当前的店铺信息 if (req.session.user && req.session.user.auth) { @@ -191,21 +188,14 @@ module.exports={ }; }); } - //调用老系统的切换店铺的接口 - request.post({ - 'method': 'GET', - 'headers': { - 'cookie': cookie - }, - 'url': Iaccount.changeShops + '?shops_id=' + shopId - }, function (error, httpResponse, rebody) { - if (!error && httpResponse.statusCode == 200) { + common.IchangeShops(shopId,cookie).done(function(IchRes){ + if(IchRes.statusCode == 200){ result = { code: 200, message: "success" }; return callback(null, result); - } else { + }else{ return callback(null, result); } }); } - } - } \ No newline at end of file + } +} \ No newline at end of file diff --git a/server/interfaces/report.report.js b/server/interfaces/report.report.js index 0992a75..a53f7b4 100644 --- a/server/interfaces/report.report.js +++ b/server/interfaces/report.report.js @@ -6,7 +6,7 @@ module.exports={ getShopBusinessOverview:{ title: "获取店铺的经营指标:一个自然日内有效订单商品件数、有效订单商品金额", - domain:"{bigdata}", + domain:"{{bigdata}}", url: "/bigdata/getShopBusinessOverview", params:{ dateId:{type:String} @@ -15,7 +15,7 @@ module.exports={ getShopBrandRank:{ title: "获取店铺的品牌排名,当前等级、排名、上升名词", - domain:"{bigdata}", + domain:"{{bigdata}}", url: "/bigdata/getShopBrandRank", params:{ dateId:{type:String} @@ -24,7 +24,7 @@ module.exports={ getOrdersGoodsAccountRptList:{ title:"对账结算", - domain:"{bigdata}", + domain:"{{bigdata}}", url: "/shop/getOrdersGoodsAccountRptList" }, @@ -32,7 +32,7 @@ module.exports={ getOrdersGoodsRptList:{ title:'销售统计', - domain:'{bigdata}', + domain:'{{bigdata}}', url:'/shop/getOrdersGoodsRptList', params:{ page:{type:Number}, @@ -51,7 +51,7 @@ module.exports={ getReturnGoodsRptList:{ title:'退货统计', - domain:'{bigdata}', + domain:'{{bigdata}}', url:'/shop/getReturnGoodsRptList', params:{ page:{type:Number}, @@ -72,7 +72,7 @@ module.exports={ getStorageInRptList:{ title:'发货入库统计', - domain:'{bigdata}', + domain:'{{bigdata}}', url:'/shop/getStorageInRptList', params:{ page:{type:Number}, @@ -89,7 +89,7 @@ module.exports={ getStorageOutRptList:{ title:'请退出库统计', - domain:'{bigdata}', + domain:'{{bigdata}}', url:'/shop/getStorageOutRptList', params:{ page:{type:Number}, @@ -108,7 +108,7 @@ module.exports={ getStorageStatisticsList:{ title:"查询库存列表", - domain:"{bigdata}", + domain:"{{bigdata}}", url:"/bigdata/getStorageStatisticsList", params:{ page:{type:Number}, diff --git a/server/libs/Controller.js b/server/libs/Controller.js index b652b27..ecdcdbc 100644 --- a/server/libs/Controller.js +++ b/server/libs/Controller.js @@ -82,7 +82,6 @@ Controller.prototype.__define=function(method,router,view,apis,callback,clientmo } else { res.json(model); } - return; }); //调用接口获取数据 me.interfaces.require.apply(me.interfaces,[apis].concat(args)); diff --git a/server/libs/Interfacer.js b/server/libs/Interfacer.js index 8545c4d..75d5cc3 100644 --- a/server/libs/Interfacer.js +++ b/server/libs/Interfacer.js @@ -1,167 +1,389 @@ var util = require('util'); -var Emitter=require('events'); +var Emitter = require('events'); var Request = require('request'); -var async=require('async'); +var async = require('async'); /*接口*/ var _ = require('lodash'); -var Utils=require('./Utils'); +var Utils = require('./Utils'); -var Interfacer=function(config,app){ - this.config=config; - this.CONSTS=app.get("Register"); - this.config.domain=this.config.domain||app.get("Register").domain; - this.apis={}; - Emitter.call(this); +var Interfacer = function (config, app) { + this.config = config; + this.CONSTS = app.get("Register"); + this.config.domain = this.config.domain || app.get("Register").domain; + this.apis = {}; + Emitter.call(this); }; -util.inherits(Interfacer,Emitter); +util.inherits(Interfacer, Emitter); -Interfacer.prototype.register = function(mos) { - var me=this,name=mos.namespace; - if(!name){ - console.info(" Interfacer name can not empty"); - } - for(var key in mos.apis){ - var name_key=name+"_"+key; - if(me.isExisted(name_key)){ - console.info("can not add repeat Interfacer key,please checkout"); - } - /*需要进行验证判断*/ - me.apis[name_key]=mos.apis[key]; - } +Interfacer.prototype.register = function (mos) { + var me = this, name = mos.namespace; + if (!name) { + console.info(" Interfacer name can not empty"); + } + for (var key in mos.apis) { + var name_key = name + "_" + key; + if (me.isExisted(name_key)) { + console.info("can not add repeat Interfacer key,please checkout"); + } + /*需要进行验证判断*/ + me.apis[name_key] = mos.apis[key]; + } }; -Interfacer.prototype.isExisted=function(key){ - return !!this.apis[key]; +Interfacer.prototype.isExisted = function (key) { + return !!this.apis[key]; }; +Interfacer.prototype.getInterfacerByNameSpace = function (namespace) { + var me = this; + if (!namespace) return {}; + var apis = {}, len = namespace.length; + for (var key in me.apis) { + if (key.slice(0, len + 1) === namespace + "_") { + var name = key.slice(len + 1); + if (typeof me.apis[key] !== "function") { + apis[name] = me.apis[key]; + } + } + } + return apis; +} + +function __getArgs(str) { + var arr = str.toString().match(/^function\s*[^\(]*\(\s*([^\)]*)\)/m)[1].split(','); + return (arr.length == 1 && arr[0] == "")?[]:arr; +} -function __requestApi(config, apiOpt, req, callback){ - var me=this; +function __requestApi(config, apiOpt, req, callback) { + var me = this; if (typeof apiOpt == "function") { - return apiOpt.call(0, req, function (err, result) { - req._yoheaders = req._yoheaders; - return callback(null, result); - }); - } - var method = apiOpt.method || "POST"; - var data={}; - if(apiOpt.params&&(_.isArray(apiOpt.params)||_.isPlainObject(apiOpt.params))){ - if(_.isArray(apiOpt.params)){ - apiOpt.params.forEach(function(param){ - var name=param.name; - if(req.param(name)){ - if(param.type.toUpperCase()=="NUMBER"){ - data[name]=Number(req.param(name)); - }else{ - data[name]=String(req.param(name)); - } - } - }); - }else - if(_.isPlainObject(apiOpt.params)){ - for(var name in apiOpt.params){ - var param=apiOpt.params[name]; - if(param.default){ - data[name]=param.type(param.default); - } - if(req.param(name)){ - data[name]=param.type(req.param(name)); - } - } - } - } - var options={ - url: Utils.template((apiOpt.domain||config.domain)+apiOpt.url,me.CONSTS), - method:apiOpt.method, - //数据组装 - qs: method.toUpperCase()=="GET"?data:undefined, - // form:apiOpt.method.toUpperCase()=="GET"?undefined:data//, - body: method.toUpperCase()=="GET"?undefined:JSON.stringify(data), + + var args = __getArgs(apiOpt), o = {}; + if (args.length > 2) { + args.slice(2).map(function (namespace) { + namespace = _.trim(namespace); + o[namespace] = {}; + var apis = me.getInterfacerByNameSpace(namespace); + for (var action in apis) { + o[namespace][action] = (function (api, config, consts) { + var intermo = new Interfacer.create(api); + return function () { + var args = [].slice.call(arguments, 0), params = {}; + intermo.apiOpt = api; + intermo.config = { + config: config, + consts: consts + }; + + if (args.length === 1 && _.isPlainObject(args[0])) { + intermo.req.param(args[0]); + } else { + api.params = api.params || {}; + var os = Object.keys(api.params); + args.forEach(function (value, i) { + params[os[i]] = value; + }); + intermo.req.param(params); + } + if (!this.queue) { + this.queue = []; + } + this.queue.push(intermo); + this.__proto__ = new queue(); + return this; + }; + })(apis[action], config, me.CONSTS); + } + }); + } + var fns = []; + for (var i in o) { + fns.push(o[i]); + } + //return apiOpt.call(0, req, function (err, result) { + // req._yoheaders = req._yoheaders; + // return callback(null, result); + //}); + return apiOpt.apply(0, [req, function (err, result) { + req._yoheaders = req._yoheaders; + return callback(null, result); + }].concat(fns)); + } + + var options = __requestOption(req, apiOpt, config, me.CONSTS); + + Request(options, function (error, response, body) { + var _err_ = new Error(); + if (error) { + console.info("Error [request"+options.url+"]:" + options.title); + console.error(error); + return callback(error, null); + } + try { + if (response && response.statusCode === 200) { + var obj = JSON.parse(body) + if (!(typeof obj == "object")) { + _err_.message = "Error[json parse@" + options.title + "--"+options.url+"]:" + body; + console.info(_err_.message); + console.error(_err_); + return callback(_err_, null); + } + } else { + _err_.message = "Error[response state @" + options.title + "--"+options.url+"]:" + response; + console.info(_err_.message); + console.error(_err_); + return callback(_err_, null); + } + + } catch (err) { + console.info("Error[response to json @" + options.title + "--"+options.url+"]"); + console.info(response); + console.error(err); + return callback(err, null); + } + return callback(null, JSON.parse(body)); + }); +}; + +function __requestOption(req, apiOpt, config, consts) { + var method = (apiOpt.method || "POST").toLocaleUpperCase(); + var data = {}; + if (apiOpt.params && (_.isArray(apiOpt.params) || _.isPlainObject(apiOpt.params))) { + if (_.isArray(apiOpt.params)) { + //兼容 yo之前的模式 后期废弃 + apiOpt.params.forEach(function (param) { + var name = param.name; + if (req.param(name)) { + if (param.type.toUpperCase() == "NUMBER") { + data[name] = Number(req.param(name)); + } else { + data[name] = String(req.param(name)); + } + } + }); + } else + if (_.isPlainObject(apiOpt.params)) { + for (var name in apiOpt.params) { + if (req.param("@" + name)) { + continue; + } + var param = apiOpt.params[name]; + if (param.default) { + data[name] = param.type(param.default); + } + if (req.param(name)) { + data[name] = param.type(req.param(name)); + } + } + } + } + var options = { method: method }; + options.title = apiOpt.title || ''; + options.outobj = apiOpt.outobj || ''; + if (options.method == "GET") { + apiOpt.query = true; + } - headers: apiOpt.headers||{ - 'Content-Type' : 'application/json' - } - }; - if (req._yoheaders) { - options.headers= _.merge(options.headers, req._yoheaders); + if (/^https{0,1}:\/\//g.test(apiOpt.url)) { + options.url = apiOpt.url; + } else { + options.url = (apiOpt.domain || config.domain) + apiOpt.url; } + if (/\{\{.*\}\}/.test(options.url)) { + var _qs = {}; + if (apiOpt.query) { + _qs = data; + } + var a = _.merge(consts, _qs); + options.url=Utils.template(options.url, a); + } + + if (apiOpt.form) { + if (typeof apiOpt.form === "string") { + options.form = Utils.template(apiOpt.form, data); + } else if (_.isPlainObject(apiOpt.form)) { + options.form = {}; + for (var i in apiOpt.form) { + options.form[i] = Utils.template(apiOpt.form[i], data) + } + } + options.headers = { + 'Content-Type' : 'application/x-www-form-urlencoded' + } + } else if (apiOpt.query) { + //不做任何事 + } else { + options.body = JSON.stringify(data); + options.headers = { + 'Content-Type' : 'application/json' + } + } + if (apiOpt.headers && _.isPlainObject(apiOpt.headers)) { + options.headers = {}; + for (var name in apiOpt.headers) { + var param = apiOpt.headers[name]; + if (req.param("@" + name)) { + if (param.default) { + options.headers[name] = param.type(param.default); + } + if (req.param("@" + name)) { + options.headers[name] = param.type(req.param("@" + name)); + } + } + } + } + if (req._yoheaders) { + options.headers = _.merge(options.headers, req._yoheaders); + } + console.log("*************************************"); + console.log("Http", options.url, data, options.headers); console.log("*************************************"); - console.log("Http",options.url,data,options.headers); - console.log("*************************************"); + return options; +} - Request(options,function(error, response, body){ - var _err_=new Error(); - if(error){ - console.info("Request 请求错误"); - console.error(error); - return callback(error,null); - } - try{ - if(response && response.statusCode === 200){ - var obj=JSON.parse(body) - if(!(typeof obj=="object")){ - _err_.message="Error[json parse@"+apiOpt.title+"]:"+body; - return callback(_err_,null); - } - }else{ - _err_.message="Error[response@"+apiOpt.title+"]:"+response.statusCode; - return callback(_err_,null); - } - - }catch(err){ - console.info("Request 内容转化JSON错误@"+apiOpt.title+""); - console.info(response); - console.error(err); - return callback(err,null); - } - return callback(null,JSON.parse(body)); - }); -}; /* * {mos} 接口key 数组 比如[key1,key2] 后面可能要兼容字符串 比如 传key1 */ -Interfacer.prototype.require=function(mos,req,res,cb){ - var me=this,funcs=[],names=[],errName=[]; - - mos.forEach(function(name){ - - if(me.apis.hasOwnProperty(name)){ - names.push(name); - if(me.config.mock){ - funcs.push(me.apis[name].output); - }else{ - funcs.push(function(callback){ - __requestApi.call(me,me.config,me.apis[name],req,callback); - }); - } - }else{ - errName.push(name); - } - }); - +Interfacer.prototype.require = function (mos, req, res, cb) { + var me = this, funcs = [], names = [], errName = []; + + mos.forEach(function (name) { + + if (me.apis.hasOwnProperty(name)) { + names.push(name); + if (me.config.mock) { + funcs.push(me.apis[name].output); + } else { + funcs.push(function (callback) { + __requestApi.call(me, me.config, me.apis[name], req, callback); + }); + } + } else { + errName.push(name); + } + }); + if (funcs.length != mos.length) { var err = new Error(); - err.message = "某个"+errName.join("->")+" 可能不存在!"; + err.message = "某个" + errName.join("->") + " 可能不存在!"; cb(err, funcs, names); - return; - } - if(me.config.mock){ - cb(null,funcs,names); - return; - } - async.parallel(funcs, function(err, results){ - if(err){ - console.info("Async Error"); - console.error(err); - console.error(results); - return cb(err,results,names); - } - console.log(names); + return; + } + if (me.config.mock) { + cb(null, funcs, names); + return; + } + async.parallel(funcs, function (err, results) { + if (err) { + console.info("Async Error"); + console.error(err); + console.error(results); + return cb(err, results, names); + } return cb(null, results, names); - }); + }); }; +Interfacer.create = function (apis) { + return { + req: { + __params__: null, + param: function (value) { + if (typeof value == "object") { + this.__params__ = value; + } else { + return this.__params__[value]; + } + } + }, + apiOpt: null, + config: {}, + + error: function () { + + } + } +} +function queue() { } +queue.prototype = { + done: function (success, fail) { + var that = this; + if (typeof success !== 'function') return; + var len = that.queue.length, watchlen = { len: len }; + var args = new Array(3); + var wlen=Object.defineProperty({}, 'len', { + value: len, + writable: true, + enumerable: false, + configurable: true + }); + for (var i = 0; i < len; i++) { + (function (queue,args) { + var options = __requestOption(queue.req, queue.apiOpt, queue.config.config, queue.config.consts); + __sendRequest(options, success, fail, wlen, i,args); + })(this.queue[i],args); + } + that.queue = null; + //var options = __requestOption(this.req, this.apiOpt); + //this.__sendRequest(options, success, fail); + return this; + }, + +} +function __sendRequest(options, success, fail,wlen,i,args) { + Request(options, function (error, response, body) { + if (!wlen.len) { + return; + } + var _err_ = new Error(), obj; + if (error) { + console.info("Error [request"+options.url+"]:" + options.title); + console.error(error); + wlen.len = 0; + fail && fail(error); + return; + } + try { + if (response && (response.statusCode === 200||response.statusCode === 302)) { + if (!options.outobj) { + obj = JSON.parse(body) + if (!(typeof obj == "object")) { + _err_.message = "Error[json parse@" + options.title + "--"+options.url+"]:" + body; + console.info(_err_.message); + console.error(_err_); + wlen.len = 0; + fail && fail(_err_); + return; + } + } else { + obj = options.outobj.toLocaleUpperCase().indexOf("BODY")>-1?body:response; + } + } else { + _err_.message = "Error[response state @" + options.title + "--"+options.url+"]:" + response.statusCode; + console.info(_err_.message); + console.error(_err_); + wlen.len = 0; + fail && fail(_err_); + return; + } + + } catch (err) { + console.info("Error[response to json @" + options.title + "--"+options.url+"]"); + console.info(response); + console.error(err); + wlen.len = 0; + fail && fail(err); + return; + } + args[i]=obj; + wlen.len--; + if (!wlen.len) { + success && success.apply(0, args) + } + return; + }); +} -module.exports= Interfacer; \ No newline at end of file +module.exports = Interfacer; \ No newline at end of file diff --git a/server/libs/Utils.js b/server/libs/Utils.js index 7f67969..5bee271 100644 --- a/server/libs/Utils.js +++ b/server/libs/Utils.js @@ -9,12 +9,12 @@ for (var key in args[1]) { if (args[1][key] != undefined) { var regkey = ((+key) == (+key)) ? "[" + key + "]" : key; - var reg = new RegExp("({" + regkey + "})", "g"); + var reg = new RegExp("({{" + regkey + "}})", "g"); result = result.replace(reg, args[1][key]); } } } - var reg = new RegExp("({.*})", "g"); + var reg = new RegExp("({{.*}})", "g"); result = result.replace(reg, ''); } } diff --git a/server/mid/grayrouter.js b/server/mid/grayrouter.js index 6d273c1..4a7f882 100644 --- a/server/mid/grayrouter.js +++ b/server/mid/grayrouter.js @@ -14,6 +14,8 @@ function addFiles(req) { module.exports=function(controllers){ var Iaccount=global.Register.system; return function(err,req,res,next){ + console.log(err); + console.log("req.originalUrl:"+req.originalUrl) if(err.status=="404"){ var method = req.method.toLowerCase(); var path = req.route?req.route.path:''; diff --git a/server/package.json b/server/package.json index 98db98b..5d98376 100644 --- a/server/package.json +++ b/server/package.json @@ -1 +1 @@ -{"name":"yohobuy-shops-fe","version":"4.6.6","description":"Construction of the presentation layer solution is based on express, handlebars","main":"app.js","scripts":{"code":"set NODE_ENV=coding&& gulp start","server":"set NODE_ENV=server&& gulp start"},"dependencies":{"art-template":"^3.0.3","async":"^2.0.0-rc.3","body-parser":"^1.15.0","connect-multiparty":"^2.0.0","connect-redis":"^3.0.2","cookie-parser":"^1.4.1","express":"^4.13.4","express-session":"^1.13.0","lodash":"^4.11.1","md5":"^2.1.0","mkdirp":"^0.5.1","request":"^2.72.0","winston":"^2.2.0","glob":"^7.0.3"}} \ No newline at end of file +{"name":"yohobuy-shops-fe","version":"4.6.8","description":"Construction of the presentation layer solution is based on express, handlebars","main":"app.js","scripts":{"code":"set NODE_ENV=coding&& gulp start","build":"set NODE_ENV=production && gulp && gulp mvc","server":"set NODE_ENV=server&& gulp start"},"dependencies":{"art-template":"^3.0.3","async":"^2.0.0-rc.3","body-parser":"^1.15.0","connect-multiparty":"^2.0.0","connect-redis":"^3.0.2","cookie-parser":"^1.4.1","express":"^4.13.4","express-session":"^1.13.0","lodash":"^4.11.1","md5":"^2.1.0","mkdirp":"^0.5.1","request":"^2.72.0","winston":"^2.2.0","glob":"^7.0.3"}} \ No newline at end of file