mvc 分页js
<script type="text/javascript"> var configA = { options: { min: 1, //{number} min 最小页数 max: maxPage, //{number} max 最大页数 step: 6, //{number} step 分页间隔步数 current: 1, //{number} current 默认选中页数 prevText: '< 上一页', //{string} prevText 上一页文字 nextText: '下一页 >', //{string} prevText 下一页文字 splitText: "...", //{string} splitText 分割标记 goto: true, //{boolean} goto 是否有直达框 showText: false, //{boolean} showText 是否显示当前页/总页 isUpdate: false //{boolean} isUpdate 更新 }, methods: {
}, listeners: { onChange: function (current) {//回调函数,返回当前选择 // console.log(current);//当前索引 Search(current); } }, template: { pageList: '${page}', //{string} pageList 翻页html box page: '<a ${className} href="javascript:;">${pageNo}</a>', //{string} page 翻页标签html模板 total: '<span ${className}>共${pageInfo}</span>', //{string} total 当前页/总页 HTML split: '<span ${className}>${splitText}</span>', //{string} split 分割 HTML goto: '<div class="g-hide-goto"><span>共100页 到第 </span><input type="text" class="text-small" /><span>页</span><button type="button" class="btn btn-small">确定</button></div>', //{string} goto 直达HTML prev: '<a ${className} href="javascript:;">${pageNo}</a>', next: '<a ${className} href="javascript:;">${pageNo}</a>' },
classNames: { prev: 'page-ctrl', //上一页class next: 'page-ctrl', //下一页class prev_no: 'page-ctrl disable', next_no: 'page-ctrl disable', list: '', //翻页标签box class action: 'current', //选中 class disabled: 'disable', //不可翻页 class split: 'ellipsis', //分割 class total: '', //total模板 class current: 'current', //当前选中 class pageStyle: '.g-hide-goto{display:none;}' //当前页码显示样式(样式内容) } };
//生成页码条方法(翻页方法名,页码条容器,当前页码,总页数,页码组容量,总行数) function makePageBar(jsMethodName, pageContainer, pgIndex, pgCount, gpSize, roCount) { var groupFirstPageIndex = 0; //当前页码组的第一个页码 var groupCount = 0; //页码组个数 //var pageContainer = document.getElementById("pageDiv"); //获得当前页码组 的 第一个页码 ,为了 在点击 NextGroup 时 //这样:1.加上 3 就可以获得 【下一个页码组】的 第一页 // 2.减去1 就可以获得 【上一个页码组】的最后一页 groupFirstPageIndex = (Math.floor(((pgIndex - 1) / gpSize)) * gpSize) + 1; //获得页码组总个数 groupCount = Math.ceil(pgCount / gpSize); //生成统计数据 pageContainer.innerHTML = "页码:" + pgIndex + "/" + pgCount + " │ 共" + roCount + "条";
//生成 上一个页码组 按钮 var pagePrevGroup = document.createElement("a"); if (groupFirstPageIndex > 1) { pagePrevGroup.onclick = function () { pgIndex = groupFirstPageIndex - 1; jsMethodName(groupFirstPageIndex - 1); }; } pagePrevGroup.innerHTML = "PrevGroup"; pageContainer.appendChild(pagePrevGroup);
//生成 上一页 按钮 var pagePrev = document.createElement("a"); pagePrev.onclick = function () { if (pgIndex > 1) { pgIndex--; jsMethodName(pgIndex); } else { alert("已经是第一页咯~~!"); } }; pagePrev.innerHTML = "Prev"; pageContainer.appendChild(pagePrev);
//按照 页码组容量 和当前页码组 来生成 页码 var tempI = 0; tempI = groupFirstPageIndex;//此时获得的是当前页码组的第一页 do { //页码按钮 var pageA; if (tempI == pgIndex) {//如果 当前生成页码 和 当前访问的页码 相等,则生成 文本,而不是超链接 pageA = document.createTextNode(tempI); } else {//否则 生成超链接页码按钮 pageA = document.createElement("a"); //pageA.href = "javascript:jsMethodName(" + tempI + ");"; pageA.href = "javascript:void(0)"; pageA.setAttribute("pi", tempI); pageA.onclick = function () { jsMethodName(this.getAttribute("pi")) }; pageA.innerHTML = tempI; } pageContainer.appendChild(pageA); tempI++; } while (tempI < groupFirstPageIndex + gpSize && tempI <= pgCount);//1.不能超过当前页码组最后一个下标 2.不能超过总页数
//生成下一页 var pageNext = document.createElement("a"); pageNext.onclick = function () { //判断 当前页码 是否小于 总页数 if (pgIndex < pgCount) { pgIndex++; jsMethodName(pgIndex); } else { alert("已经是最后一页咯~~!"); } }; pageNext.innerHTML = "Next"; pageContainer.appendChild(pageNext);
//生成 NextGroup var pageNextGroup = document.createElement("a"); if (groupFirstPageIndex + gpSize <= pgCount) { pageNextGroup.onclick = function () { pgIndex = groupFirstPageIndex + gpSize; jsMethodName(groupFirstPageIndex + gpSize); }; } pageNextGroup.innerHTML = "NextGroup"; pageContainer.appendChild(pageNextGroup);
var sel = document.createElement("select"); sel.onchange = function () { var pi = this.value; jsMethodName(pi); } for (var i = 0; i < pgCount; i++) { var opt = new Option("第" + (i + 1) + "页", i + 1); if (i == (pgIndex - 1)) opt.selected = true; sel.options.add(opt); } pageContainer.appendChild(sel); };
/* json 格式数组字符串 [ {"CID":1,"CName":"bbbccc"}, {"CID":2,"CName":"0428就业班qwea"} ] */ //1.2获取响应报文字符串 //var res = xhrObj.responseText;// {"statu":"err","msg":"出错啦~~","data":[{},{}],"nextUrl":"Login.aspx"} //var resJson = eval("("+res+")");//当 字符串为 数组[]字符串时,需要加上一对 () //1.3 将 Js数组字符串 转成 js数组对象 //var resJson = JSON.parse(res);
var msgBox = null;
window.onload = function () { //创建消息对象 msgBox = new MsgBox({ imghref: "/images/" }); //先隐藏 修改面板 showHide(); //为修改面板 的按钮 绑定 方法 document.getElementById("btnEditCancel").onclick = showHide; document.getElementById("btnEditSure").onclick = doEdit; //----------------------------------------------------------------- getPageList(1); };
//------------------请求分页 数据------------------------ function getPageList(pageIndex) { //重置数据显示表格 clearTable();
//1.请求班级列表数据 {statu:"ok",msg:"加载成功",data:{PageIndex:1,PageCount:4,RowCount:39,PagedList:[{},{},{}]},backUrl:"null"} jsHelper.doGet("/Action/C02Common.ashx", "type=l&pi=" + pageIndex, true, function (dataObj) { if (dataObj.statu == "ok") { //1.4 创建表格 makeTable(dataObj.data.PagedList); //1.5 生成页码条 makePageBar(getPageList, document.getElementById("pageBar"), pageIndex, dataObj.data.PageCount, 2, dataObj.data.RowCount); } }, "json"); }
function clearTable() { var tb = document.getElementById("tbList"); var rowCount = tb.rows.length; for (var i = rowCount - 1; i > 0; i--) { tb.deleteRow(i); } }
//2.根据 数据对象数组 生成 表格行 function makeTable(jsonArr) { //2.1循环数组生成行 for (var i = 0; i < jsonArr.length; i++) { makeTr(jsonArr[i]); } }
//3.创建行 function makeTr(rowData) { var tbList = document.getElementById("tbList"); //3.1追加行 var newRow = tbList.insertRow(-1); //3.2为新行 追加 列 newRow.insertCell(-1).innerHTML = rowData.CID; newRow.insertCell(-1).innerHTML = rowData.CName; newRow.insertCell(-1).innerHTML = rowData.CCount; // 超链接 href中的this =window,只有事件中的 this = 事件源(被点击的超链接) newRow.insertCell(-1).innerHTML = "<a href='javascript:void(0)' onclick='doDel(" + rowData.CID + ",this);'>删</a> " + "<a href='javascript:void(0)' onclick='showEdit(" + rowData.CID + ",this);'>改</a>"; }
//----------------------------------------------------------------------- //4. 删除操作 function doDel(id, aBtn) { if (confirm("确定要删除 吗?")) { //用异步对象 向 服务器 发送 请求报文,并传递 要删除的 班级 id 给 服务器 jsHelper.doPost("/Action/C02Common.ashx", "type=d&cid=" + id, true, function (resObj) { if (resObj.statu == "ok") { var trDel = aBtn.parentNode.parentNode; trDel.parentNode.removeChild(trDel); } }, "json"); } }
var editingRow = null; //5.显示修改面板 function showEdit(id, aBtn) { //将被修改的行 存全局变量 editingRow = aBtn.parentNode.parentNode; //显示提示消息 msgBox.showMsgWait("努力加载中..."); //1.为修改面板 里的控件 指定数据 jsHelper.doGet("/Action/C02Common.ashx", "type=g&cid=" + id, true, function (resObj) { if (resObj.statu == "ok") { //resObj.data document.getElementById("CID").value = resObj.data.CID; document.getElementById("CName").value = resObj.data.CName; document.getElementById("CCount").value = resObj.data.CCount; } //隐藏提示消息 msgBox.hidBox(); }, "json"); //2.显示修改面板 showHide(); }
//5.1显示或隐藏 修改面板 function showHide() { var divM = document.getElementById("divModel"); var tbE = document.getElementById("tbEdit"); if (divM.style.display == "none") { divM.style.display = "block"; tbE.style.display = "block"; } else { divM.style.display = "none"; tbE.style.display = "none"; } }
//6.执行修改 (id,cname,ccount) function doEdit() { //6.1获取数据 var cid = document.getElementById("CID").value; var cName = document.getElementById("CName").value; var cCount = document.getElementById("CCount").value; //6.2验证数据 //6.3发送到服务器 jsHelper.doPost("/Action/C02Common.ashx", "type=e&cid=" + cid + "&cname=" + cName + "&ccount=" + cCount, true, function (resObj) { if (resObj.statu == "ok") { //6.4将 修改后的数据 更新到 行中 editingRow.children[1].innerHTML = cName; editingRow.children[2].innerHTML = cCount; //6.5隐藏 更新面板 showHide(); } }, "json"); }
</script>
<div> <div class="page"> <a href="javascript:;" class="page-ctrl disable">< 上一页</a> <a href="javascript:;" class="current">1</a> <a href="javascript:;">2</a> <a href="javascript:;">3</a> <a href="javascript:;">4</a> <span class="ellipsis">...</span> <a href="javascript:;">99</a> <a href="javascript:;">100</a> <a href="javascript:;" class="page-ctrl">下一页 ></a> <span>共100页 到第 </span> <input type="text" class="text-small" /> <span>页</span> <button type="button" class="btn btn-small">确定</button> </div> </div>
/* 由 F12 开发人员工具生成。这可能不是原始源文件的准确表示形式。*/
html {
margin: 0px; padding: 0px;
}
body {
margin: 0px; padding: 0px;
}
div {
margin: 0px; padding: 0px;
}
dl {
margin: 0px; padding: 0px;
}
dt {
margin: 0px; padding: 0px;
}
dd {
margin: 0px; padding: 0px;
}
pre {
margin: 0px; padding: 0px;
}
code {
margin: 0px; padding: 0px;
}
blockquote {
margin: 0px; padding: 0px;
}
fieldset {
margin: 0px; padding: 0px;
}
legend {
margin: 0px; padding: 0px;
}
body {
font: 12px/1.5 Arial, Simsun, sans-serif; color: rgb(51, 51, 51); padding-bottom: 20px; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255);
}
img {
border: 0px currentColor;
}
fieldset {
border: 0px currentColor;
}
dfn {
font-style: normal;
}
.pull-left {
float: left;
}
.pull-right {
float: right;
}
.inline {
display: inline;
}
.block {
display: block;
}
.clearfix {
}
.clearfix::before {
line-height: 0; display: table; content: "";
}
.clearfix::after {
line-height: 0; display: table; content: "";
}
.clearfix::after {
clear: both;
}
.wrapper_950 {
width: 950px; margin-right: auto; margin-left: auto;
}
.wrapper_950::before {
line-height: 0; display: table; content: "";
}
.wrapper_950::after {
line-height: 0; display: table; content: "";
}
.wrapper_950::after {
clear: both;
}
[class*='span'] {
margin-left: 10px; float: left; min-height: 1px;
}
.wrapper_950 [class*='span']:first-child {
margin-left: 0px;
}
.span12 {
width: 950px;
}
.span11 {
width: 870px;
}
.span10 {
width: 790px;
}
.span9 {
width: 710px;
}
.span8 {
width: 630px;
}
.span7 {
width: 550px;
}
.span6 {
width: 470px;
}
.span5 {
width: 390px;
}
.span4 {
width: 310px;
}
.span3 {
width: 230px;
}
.span2 {
width: 150px;
}
.span1 {
width: 70px;
}
h1 {
margin: 0px 0px 10px; padding: 0px; font-family: Arial,Simsun;
}
h2 {
margin: 0px 0px 10px; padding: 0px; font-family: Arial,Simsun;
}
h3 {
margin: 0px 0px 10px; padding: 0px; font-family: Arial,Simsun;
}
h4 {
margin: 0px 0px 10px; padding: 0px; font-family: Arial,Simsun;
}
h5 {
margin: 0px 0px 10px; padding: 0px; font-family: Arial,Simsun;
}
h6 {
margin: 0px 0px 10px; padding: 0px; font-family: Arial,Simsun;
}
h1 {
font-size: 26px;
}
h2 {
font-size: 22px;
}
h3 {
font-size: 18px;
}
h4 {
font-size: 14px;
}
h5 {
font-size: 14px;
}
h6 {
font-size: 14px;
}
p {
margin: 0px; padding: 0px;
}
p + p {
margin-top: 10px;
}
ul {
list-style: none; margin: 0px; padding: 0px;
}
ol {
list-style: none; margin: 0px; padding: 0px;
}
li {
margin: 0px; padding: 0px;
}
strong {
font-weight: bold;
}
em {
font-style: italic;
}
a {
color: rgb(0, 102, 204); font-size: 12px; text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
outline: 0px;
}
a:focus {
outline: 0px;
}
.lead {
font-size: 14px;
}
.muted {
color: rgb(153, 153, 153);
}
.text-warning {
color: rgb(192, 152, 83);
}
.text-error {
color: rgb(185, 74, 72);
}
.text-info {
color: rgb(58, 135, 173);
}
.text-success {
color: rgb(70, 136, 71);
}
button {
margin: 0px; padding: 0px; line-height: normal; vertical-align: middle;
}
input[type='button'] {
cursor: pointer;
}
input[type='submit'] {
cursor: pointer;
}
button {
cursor: pointer;
}
.btn {
padding: 5px 22px; border-radius: 4px; border: 1px solid rgb(197, 197, 197); text-align: center; color: rgb(102, 102, 102); font-size: 14px; font-weight: bold; display: inline-block; box-shadow: inset 0px 1px 0px rgba(255,255,255,0.2), 0px 1px 2px rgba(0,0,0,0.05); background-repeat: repeat-x; background-color: rgb(245, 245, 245); text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}
a.btn {
vertical-align: middle;
}
.btn:hover {
background-position: 0px -15px; color: rgb(102, 102, 102); text-decoration: none; background-color: rgb(230, 230, 230); transition: background-position 0.1s linear;
}
.btn:active {
outline: 0px; box-shadow: inset 0px 1px 4px rgba(0,0,0,0.15), 0px 1px 2px rgba(0,0,0,0.05); background-image: none; background-color: rgb(230, 230, 230);
}
.btn:focus {
outline: 0px;
}
.disabled.btn {
filter: alpha(opacity=65); cursor: default; opacity: 0.65; box-shadow: none; background-image: none; background-color: rgb(230, 230, 230);
}
.btn-primary {
border-color: rgb(2, 116, 208) rgb(2, 95, 178) rgb(2, 74, 148); color: rgb(255, 255, 255); background-color: rgb(36, 139, 222); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.btn-primary:hover {
color: rgb(255, 255, 255); background-color: rgb(34, 106, 186);
}
.btn-primary:active {
background-color: rgb(31, 102, 184);
}
.disabled.btn-primary {
background-color: rgb(31, 102, 184);
}
.btn-emphasis {
border-color: rgb(253, 143, 45) rgb(216, 108, 22) rgb(180, 74, 1); color: rgb(255, 255, 255); background-color: rgb(244, 156, 42); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.btn-emphasis:hover {
color: rgb(255, 255, 255); background-color: rgb(229, 104, 1);
}
.btn-emphasis:active {
background-color: rgb(234, 120, 15);
}
.disabled.btn-emphasis {
background-color: rgb(234, 120, 15);
}
.btn-large {
padding: 8px 24px; font-size: 16px;
}
.btn-small {
padding: 4px 19px; font-size: 12px;
}
.btn-mini {
padding: 1px 10px; font-size: 12px; font-weight: normal;
}
.btn-block {
width: 100%; padding-right: 0px; padding-left: 0px; display: block; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;
}
.btn + .btn {
margin: 0px 0px 0px 10px;
}
.btn + a {
margin: 0px 0px 0px 10px;
}
a + .btn {
margin: 0px 0px 0px 10px;
}
.btn-block + .btn-block {
margin: 10px 0px 0px;
}
form {
margin: 0px; padding: 0px;
}
input {
margin: 0px; padding: 0px; line-height: normal; font-size: 12px; vertical-align: middle;
}
textarea {
margin: 0px; padding: 0px; line-height: normal; font-size: 12px; vertical-align: middle;
}
textarea {
padding: 4px 3px; border-radius: 3px; border: 1px solid rgb(204, 204, 204); color: rgb(51, 51, 51); font-family: Arial,Simsun; box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075); background-color: rgb(255, 255, 255); transition: border linear 0.2s, box-shadow linear 0.2s;
}
input[type='text'] {
padding: 4px 3px; border-radius: 3px; border: 1px solid rgb(204, 204, 204); color: rgb(51, 51, 51); font-family: Arial,Simsun; box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075); background-color: rgb(255, 255, 255); transition: border linear 0.2s, box-shadow linear 0.2s;
}
input[type='password'] {
padding: 4px 3px; border-radius: 3px; border: 1px solid rgb(204, 204, 204); color: rgb(51, 51, 51); font-family: Arial,Simsun; box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075); background-color: rgb(255, 255, 255); transition: border linear 0.2s, box-shadow linear 0.2s;
}
textarea:focus {
border-color: rgba(82, 168, 236, 0.8); outline: transparent 0px; box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075), 0px 0px 8px rgba(82,168,236,0.6);
}
input[type='text']:focus {
border-color: rgba(82, 168, 236, 0.8); outline: transparent 0px; box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075), 0px 0px 8px rgba(82,168,236,0.6);
}
input[type='password']:focus {
border-color: rgba(82, 168, 236, 0.8); outline: transparent 0px; box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075), 0px 0px 8px rgba(82,168,236,0.6);
}
input + input {
margin-left: 10px;
}
input + select {
margin-left: 10px;
}
select + select {
margin-left: 10px;
}
select + input {
margin-left: 10px;
}
input + button {
margin-left: 10px;
}
input[type='radio'] {
margin: -2px 5px 0px 0px; vertical-align: middle; cursor: pointer;
}
input[type='checkbox'] {
margin: -2px 5px 0px 0px; vertical-align: middle; cursor: pointer;
}
label {
overflow: hidden; white-space: nowrap; cursor: pointer;
}
label.inline + label.inline {
margin-left: 20px;
}
label.block + label.block {
margin-top: 5px;
}
select {
outline: transparent 0px; width: 150px; font-family: Arial,Simsun; font-size: 12px; vertical-align: middle;
}
input[type='text'].input-unfocus {
color: rgb(153, 153, 153);
}
textarea.input-unfocus {
color: rgb(153, 153, 153);
}
.input-mini {
width: 60px;
}
.input-small {
width: 100px;
}
.input-medium {
width: 150px;
}
.input-large {
width: 210px;
}
.input-xlarge {
width: 400px;
}
.input-block {
width: 100%; display: block; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;
}
* + .input-block {
margin: 10px 0px 0px;
}
select.input-mini {
width: 68px;
}
select.input-small {
width: 108px;
}
select.input-medium {
width: 158px;
}
select.input-large {
width: 218px;
}
input[disabled] {
cursor: not-allowed; background-color: rgb(238, 238, 238);
}
select[disabled] {
cursor: not-allowed; background-color: rgb(238, 238, 238);
}
textarea[disabled] {
cursor: not-allowed; background-color: rgb(238, 238, 238);
}
input[readonly] {
cursor: not-allowed; background-color: rgb(238, 238, 238);
}
select[readonly] {
cursor: not-allowed; background-color: rgb(238, 238, 238);
}
textarea[readonly] {
cursor: not-allowed; background-color: rgb(238, 238, 238);
}
input.input-error {
border-color: rgb(185, 74, 72);
}
input.input-success {
border-color: rgb(70, 136, 71);
}
.tip-inline {
color: rgb(102, 102, 102);
}
.tip-block {
color: rgb(102, 102, 102);
}
.text-warning.tip-inline {
color: rgb(192, 152, 83);
}
.text-warning.tip-block {
color: rgb(192, 152, 83);
}
.text-error.tip-inline {
color: rgb(185, 74, 72);
}
.text-error.tip-block {
color: rgb(185, 74, 72);
}
.text-info.tip-inline {
color: rgb(58, 135, 173);
}
.text-info.tip-block {
color: rgb(58, 135, 173);
}
.text-success.tip-inline {
color: rgb(70, 136, 71);
}
.text-success.tip-block {
color: rgb(70, 136, 71);
}
a.tip-inline {
color: rgb(0, 102, 204);
}
a.tip-block {
color: rgb(0, 102, 204);
}
.tip-inline {
margin-left: 10px; display: inline;
}
.tip-block {
margin-top: 3px; display: block;
}
.tip-error {
color: rgb(185, 74, 72);
}
.tip-success {
color: rgb(70, 136, 71);
}
.tip-error b {
background: url("http://picint.sh.ctriptravel.com/cuio/un_icon.png") no-repeat; margin: -3px 3px 0px 0px; width: 11px; height: 11px; vertical-align: middle; display: inline-block;
}
.tip-success b {
background: url("http://picint.sh.ctriptravel.com/cuio/un_icon.png") no-repeat; margin: -3px 3px 0px 0px; width: 11px; height: 11px; vertical-align: middle; display: inline-block;
}
.tip-error b {
background-position: -20px -80px;
}
.tip-success b {
background-position: 0px -80px;
}
table {
width: 100%; border-collapse: collapse; border-spacing: 0; background-color: transparent;
}
.table {
margin-bottom: 20px;
}
.table th {
padding: 4px 5px;
}
.table td {
padding: 4px 5px;
}
.table th {
font-weight: bold;
}
.table-striped tbody tr:nth-child(2n) td {
background-color: rgb(249, 249, 249);
}
.table-striped tbody tr:nth-child(2n) th {
background-color: rgb(249, 249, 249);
}
.table-hover tbody tr:hover td {
background-color: rgb(220, 237, 254);
}
.table-hover tbody tr:hover th {
background-color: rgb(220, 237, 254);
}
.table-level1 th {
border-width: 0px 1px; border-style: solid; border-color: rgb(0, 102, 208); text-align: left; color: rgb(255, 255, 255); background-color: rgb(0, 102, 208);
}
.table-level1 td {
border: 1px solid rgb(150, 194, 241);
}
.table-level2 th {
border: 1px solid rgb(150, 194, 241); text-align: left; background-color: rgb(220, 238, 255);
}
.table-level2 td {
border: 1px solid rgb(150, 194, 241);
}
.table-level3 th {
text-align: left; background-color: rgb(221, 221, 221);
}
.table .col-center {
text-align: center;
}
.col-center th {
text-align: center;
}
.col-center td {
text-align: center;
}
[class^='icon-'] {
background-position: 14px 14px; width: 14px; height: 14px; margin-top: 3px; vertical-align: text-bottom; display: inline-block; background-image: url("http://picint.sh.ctriptravel.com/cuio/glyphicons-halflings.png"); background-repeat: no-repeat;
}
[class*=' icon-'] {
background-position: 14px 14px; width: 14px; height: 14px; margin-top: 3px; vertical-align: text-bottom; display: inline-block; background-image: url("http://picint.sh.ctriptravel.com/cuio/glyphicons-halflings.png"); background-repeat: no-repeat;
}
.icon-white {
background-image: url("http://picint.sh.ctriptravel.com/cuio/glyphicons-halflings-white.png");
}
.icon-glass {
}
.icon-music {
background-position: -24px 0px;
}
.icon-search {
background-position: -48px 0px;
}
.icon-envelope {
background-position: -72px 0px;
}
.icon-heart {
background-position: -96px 0px;
}
.icon-star {
background-position: -120px 0px;
}
.icon-star-empty {
background-position: -144px 0px;
}
.icon-user {
background-position: -168px 0px;
}
.icon-film {
background-position: -192px 0px;
}
.icon-th-large {
background-position: -216px 0px;
}
.icon-th {
background-position: -240px 0px;
}
.icon-th-list {
background-position: -264px 0px;
}
.icon-ok {
background-position: -288px 0px;
}
.icon-remove {
background-position: -312px 0px;
}
.icon-zoom-in {
background-position: -336px 0px;
}
.icon-zoom-out {
background-position: -360px 0px;
}
.icon-off {
background-position: -384px 0px;
}
.icon-signal {
background-position: -408px 0px;
}
.icon-cog {
background-position: -432px 0px;
}
.icon-trash {
background-position: -456px 0px;
}
.icon-home {
background-position: 0px -24px;
}
.icon-file {
background-position: -24px -24px;
}
.icon-time {
background-position: -48px -24px;
}
.icon-road {
background-position: -72px -24px;
}
.icon-download-alt {
background-position: -96px -24px;
}
.icon-download {
background-position: -120px -24px;
}
.icon-upload {
background-position: -144px -24px;
}
.icon-inbox {
background-position: -168px -24px;
}
.icon-play-circle {
background-position: -192px -24px;
}
.icon-repeat {
background-position: -216px -24px;
}
.icon-refresh {
background-position: -240px -24px;
}
.icon-list-alt {
background-position: -264px -24px;
}
.icon-lock {
background-position: -287px -24px;
}
.icon-flag {
background-position: -312px -24px;
}
.icon-headphones {
background-position: -336px -24px;
}
.icon-volume-off {
background-position: -360px -24px;
}
.icon-volume-down {
background-position: -384px -24px;
}
.icon-volume-up {
background-position: -408px -24px;
}
.icon-qrcode {
background-position: -432px -24px;
}
.icon-barcode {
background-position: -456px -24px;
}
.icon-tag {
background-position: 0px -48px;
}
.icon-tags {
background-position: -25px -48px;
}
.icon-book {
background-position: -48px -48px;
}
.icon-bookmark {
background-position: -72px -48px;
}
.icon-print {
background-position: -96px -48px;
}
.icon-camera {
background-position: -120px -48px;
}
.icon-font {
background-position: -144px -48px;
}
.icon-bold {
background-position: -167px -48px;
}
.icon-italic {
background-position: -192px -48px;
}
.icon-text-height {
background-position: -216px -48px;
}
.icon-text-width {
background-position: -240px -48px;
}
.icon-align-left {
background-position: -264px -48px;
}
.icon-align-center {
background-position: -288px -48px;
}
.icon-align-right {
background-position: -312px -48px;
}
.icon-align-justify {
background-position: -336px -48px;
}
.icon-list {
background-position: -360px -48px;
}
.icon-indent-left {
background-position: -384px -48px;
}
.icon-indent-right {
background-position: -408px -48px;
}
.icon-facetime-video {
background-position: -432px -48px;
}
.icon-picture {
background-position: -456px -48px;
}
.icon-pencil {
background-position: 0px -72px;
}
.icon-map-marker {
background-position: -24px -72px;
}
.icon-adjust {
background-position: -48px -72px;
}
.icon-tint {
background-position: -72px -72px;
}
.icon-edit {
background-position: -96px -72px;
}
.icon-share {
background-position: -120px -72px;
}
.icon-check {
background-position: -144px -72px;
}
.icon-move {
background-position: -168px -72px;
}
.icon-step-backward {
background-position: -192px -72px;
}
.icon-fast-backward {
background-position: -216px -72px;
}
.icon-backward {
background-position: -240px -72px;
}
.icon-play {
background-position: -264px -72px;
}
.icon-pause {
background-position: -288px -72px;
}
.icon-stop {
background-position: -312px -72px;
}
.icon-forward {
background-position: -336px -72px;
}
.icon-fast-forward {
background-position: -360px -72px;
}
.icon-step-forward {
background-position: -384px -72px;
}
.icon-eject {
background-position: -408px -72px;
}
.icon-chevron-left {
background-position: -432px -72px;
}
.icon-chevron-right {
background-position: -456px -72px;
}
.icon-plus-sign {
background-position: 0px -96px;
}
.icon-minus-sign {
background-position: -24px -96px;
}
.icon-remove-sign {
background-position: -48px -96px;
}
.icon-ok-sign {
background-position: -72px -96px;
}
.icon-question-sign {
background-position: -96px -96px;
}
.icon-info-sign {
background-position: -120px -96px;
}
.icon-screenshot {
background-position: -144px -96px;
}
.icon-remove-circle {
background-position: -168px -96px;
}
.icon-ok-circle {
background-position: -192px -96px;
}
.icon-ban-circle {
background-position: -216px -96px;
}
.icon-arrow-left {
background-position: -240px -96px;
}
.icon-arrow-right {
background-position: -264px -96px;
}
.icon-arrow-up {
background-position: -289px -96px;
}
.icon-arrow-down {
background-position: -312px -96px;
}
.icon-share-alt {
background-position: -336px -96px;
}
.icon-resize-full {
background-position: -360px -96px;
}
.icon-resize-small {
background-position: -384px -96px;
}
.icon-plus {
background-position: -408px -96px;
}
.icon-minus {
background-position: -433px -96px;
}
.icon-asterisk {
background-position: -456px -96px;
}
.icon-exclamation-sign {
background-position: 0px -120px;
}
.icon-gift {
background-position: -24px -120px;
}
.icon-leaf {
background-position: -48px -120px;
}
.icon-fire {
background-position: -72px -120px;
}
.icon-eye-open {
background-position: -96px -120px;
}
.icon-eye-close {
background-position: -120px -120px;
}
.icon-warning-sign {
background-position: -144px -120px;
}
.icon-plane {
background-position: -168px -120px;
}
.icon-calendar {
background-position: -192px -120px;
}
.icon-random {
background-position: -216px -120px; width: 16px;
}
.icon-comment {
background-position: -240px -120px;
}
.icon-magnet {
background-position: -264px -120px;
}
.icon-chevron-up {
background-position: -288px -120px;
}
.icon-chevron-down {
background-position: -313px -119px;
}
.icon-retweet {
background-position: -336px -120px;
}
.icon-shopping-cart {
background-position: -360px -120px;
}
.icon-folder-close {
background-position: -384px -120px;
}
.icon-folder-open {
background-position: -408px -120px; width: 16px;
}
.icon-resize-vertical {
background-position: -432px -119px;
}
.icon-resize-horizontal {
background-position: -456px -118px;
}
.icon-hdd {
background-position: 0px -144px;
}
.icon-bullhorn {
background-position: -24px -144px;
}
.icon-bell {
background-position: -48px -144px;
}
.icon-certificate {
background-position: -72px -144px;
}
.icon-thumbs-up {
background-position: -96px -144px;
}
.icon-thumbs-down {
background-position: -120px -144px;
}
.icon-hand-right {
background-position: -144px -144px;
}
.icon-hand-left {
background-position: -168px -144px;
}
.icon-hand-up {
background-position: -192px -144px;
}
.icon-hand-down {
background-position: -216px -144px;
}
.icon-circle-arrow-right {
background-position: -240px -144px;
}
.icon-circle-arrow-left {
background-position: -264px -144px;
}
.icon-circle-arrow-up {
background-position: -288px -144px;
}
.icon-circle-arrow-down {
background-position: -312px -144px;
}
.icon-globe {
background-position: -336px -144px;
}
.icon-wrench {
background-position: -360px -144px;
}
.icon-tasks {
background-position: -384px -144px;
}
.icon-filter {
background-position: -408px -144px;
}
.icon-briefcase {
background-position: -432px -144px;
}
.icon-fullscreen {
background-position: -456px -144px;
}
.hd {
color: rgb(255, 255, 255); margin-bottom: 20px; border-bottom-color: rgb(230, 149, 37); border-bottom-width: 3px; border-bottom-style: solid; background-color: rgb(0, 102, 204);
}
.hd-wrapper {
margin: 0px auto; width: 950px; height: 70px; position: relative;
}
.logo {
left: 20px; bottom: 12px; margin-bottom: 0px; position: absolute;
}
.logo a {
background: url("http://picint.sh.ctriptravel.com/cuio/logo-white.png") no-repeat; width: 120px; height: 0px; overflow: hidden; padding-top: 45px; display: block;
}
.hd-title {
font: 22px "microsoft yahei"; left: 160px; bottom: 12px; margin-bottom: 0px; position: absolute; font-size-adjust: none; font-stretch: normal;
}
.hd-toolkit {
right: 20px; bottom: 12px; position: absolute;
}
.hd-toolkit a {
color: rgb(255, 255, 255); margin-left: 15px;
}
.hd-toolkit a i {
margin-right: 3px;
}
.navbar {
padding: 0px 20px; height: 38px; margin-bottom: 10px; filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff0078D9',endColorstr='#ff0263CF',GradientType=0); box-shadow: 0px 1px 4px rgba(0,0,0,0.065); background-color: rgb(2, 99, 207);
}
.navbar li {
padding-top: 5px; margin-right: 10px; float: left;
}
.navbar li > a {
padding: 0px 10px; border-radius: 4px 4px 0px 0px; height: 32px; color: rgb(255, 255, 255); line-height: 28px; font-weight: bold; border-top-color: transparent; border-right-color: transparent; border-left-color: transparent; border-top-width: 1px; border-right-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-left-style: solid; display: block;
}
.navbar li:hover > a {
border-color: rgb(204, 204, 204); color: rgb(51, 51, 51); text-decoration: none; background-color: rgb(255, 255, 255);
}
.navbar .active > a {
border-color: rgb(204, 204, 204); color: rgb(51, 51, 51); zoom: 1; background-color: rgb(255, 255, 255);
}
.navbar li a .caret {
width: 0px; height: 0px; line-height: 0; font-size: 0px; margin-left: 2px; vertical-align: middle; border-top-color: rgb(255, 255, 255); border-right-color: transparent; border-left-color: transparent; border-top-width: 4px; border-right-width: 4px; border-left-width: 4px; border-top-style: solid; border-right-style: solid; border-left-style: solid; display: inline-block;
}
.navbar li:hover a .caret {
border-top-color: currentColor; border-bottom-color: rgb(51, 51, 51); border-top-width: 0px; border-bottom-width: 4px; border-top-style: none; border-bottom-style: solid;
}
.navbar .active a .caret {
border-top-color: rgb(51, 51, 51); border-bottom-color: currentColor; border-top-width: 4px; border-bottom-width: 0px; border-top-style: solid; border-bottom-style: none;
}
.navbar-menu {
border-width: 0px 1px 1px; border-style: none solid solid; border-color: currentColor rgb(204, 204, 204) rgb(204, 204, 204); border-radius: 0px 0px 4px 4px; position: absolute; box-shadow: 0px 3px 3px rgba(0,0,0,0.2); background-color: rgb(255, 255, 255);
}
.navbar-menu a {
padding: 0px 10px; height: 30px; color: rgb(51, 51, 51); line-height: 30px; font-weight: bold; display: block;
}
.navbar-menu a:hover {
color: rgb(255, 255, 255); text-decoration: none; background-color: rgb(2, 99, 207);
}
.nav {
margin-bottom: 10px;
}
.nav li {
float: left;
}
.nav li a {
display: block;
}
.nav li a:hover {
text-decoration: none;
}
.nav .active a {
cursor: default;
}
.nav .active a:hover {
cursor: default;
}
.nav .disabled a {
color: rgb(102, 102, 102);
}
.nav .disabled a:hover {
text-decoration: none; cursor: default;
}
.nav-tabs {
}
.nav-pills {
}
.nav-tabs::before {
line-height: 0; display: table; content: "";
}
.nav-pills::before {
line-height: 0; display: table; content: "";
}
.nav-tabs::after {
line-height: 0; display: table; content: "";
}
.nav-pills::after {
line-height: 0; display: table; content: "";
}
.nav-tabs::after {
clear: both;
}
.nav-pills::after {
clear: both;
}
.nav-tabs {
border-bottom-color: rgb(2, 102, 208); border-bottom-width: 2px; border-bottom-style: solid;
}
.nav-tabs li a {
background: rgb(218, 236, 254); padding: 0px 12px; border-radius: 4px 4px 0px 0px; height: 34px; color: rgb(0, 102, 204); line-height: 34px; margin-right: 5px;
}
.nav-tabs li a:hover {
color: rgb(51, 51, 51); background-color: rgb(153, 204, 255);
}
.nav-tabs .active a {
color: rgb(255, 255, 255); font-weight: bold; background-color: rgb(2, 106, 210);
}
.nav-tabs .active a:hover {
color: rgb(255, 255, 255); font-weight: bold; background-color: rgb(2, 106, 210);
}
.nav-tabs .disabled a:hover {
color: rgb(102, 102, 102); background-color: rgb(218, 236, 254);
}
.nav-pills {
border-bottom-color: rgb(150, 194, 241); border-bottom-width: 1px; border-bottom-style: solid;
}
.nav-pills li a {
border-width: 1px; border-style: solid; border-color: rgb(150, 194, 241) rgb(150, 194, 241) transparent; margin: 0px 5px -1px 0px; padding: 0px 12px; border-radius: 3px 3px 0px 0px; height: 24px; color: rgb(0, 102, 204); line-height: 24px;
}
.nav-pills li a:hover {
background-color: rgb(153, 204, 255);
}
.nav-pills .active a {
color: rgb(0, 51, 102); border-bottom-color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);
}
.nav-pills .active a:hover {
color: rgb(0, 51, 102); border-bottom-color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);
}
.nav-pills .disabled a {
border-color: rgb(204, 204, 204) rgb(204, 204, 204) rgb(150, 194, 241); color: rgb(102, 102, 102); background-color: rgb(255, 255, 255);
}
.nav-pills .disabled a:hover {
border-color: rgb(204, 204, 204) rgb(204, 204, 204) rgb(150, 194, 241); color: rgb(102, 102, 102); background-color: rgb(255, 255, 255);
}
.breadcrumb {
margin: 0px 0px 10px; color: rgb(102, 102, 102); font-size: 12px;
}
.breadcrumb a {
color: rgb(0, 102, 204);
}
.breadcrumb span {
margin: 0px 7px;
}
.breadcrumb-underline {
border-bottom-color: rgb(153, 153, 153); border-bottom-width: 1px; border-bottom-style: solid;
}
.tri_out {
border-width: 14px; border-style: solid none solid solid; border-color: transparent transparent transparent rgb(241, 241, 241); top: 0px; width: 0px; height: 0px; overflow: hidden; margin-right: -13px; float: right; position: relative;
}
.tri_in {
border-width: 14px; border-style: solid none solid solid; border-color: transparent transparent transparent rgb(241, 241, 241); top: 0px; width: 0px; height: 0px; overflow: hidden; margin-right: -13px; float: right; position: relative;
}
.tri_out {
margin-right: -14px; border-left-color: rgb(204, 204, 204);
}
.con {
height: 28px; text-align: center; color: rgb(153, 153, 153); line-height: 28px; margin-left: 0px; background-color: rgb(241, 241, 241);
}
.step {
border: 1px solid rgb(206, 206, 206); overflow: hidden;
}
.step-mini {
border: 1px solid rgb(206, 206, 206); width: 420px; overflow: hidden;
}
.step-mini .tri_out {
border-width: 10px; margin-right: -9px;
}
.step-mini .tri_in {
border-width: 10px; margin-right: -9px;
}
.step-mini .tri_out {
margin-right: -10px;
}
.step-mini .con {
height: 20px; line-height: 20px;
}
.step_table {
width: 100%;
}
.step_table .current .con {
color: rgb(255, 255, 255); background-color: rgb(255, 153, 51);
}
.step_table .current .tri_in {
border-left-color: rgb(255, 153, 51);
}
.step_table .clicked .con {
color: rgb(102, 102, 102); background-color: rgb(255, 245, 209);
}
.step_table .clicked .tri_in {
border-left-color: rgb(255, 245, 209);
}
.page {
margin: 20px 0px; color: rgb(102, 102, 102); font-size: 12px;
}
.page a {
padding: 0px 7px; border: 1px solid rgb(204, 204, 204); height: 22px; color: rgb(0, 102, 204); line-height: 22px; margin-right: 3px; display: inline-block;
}
.page a:hover {
text-decoration: none; background-color: rgb(153, 204, 255);
}
.page .current {
color: rgb(255, 255, 255); cursor: default; background-color: rgb(2, 102, 208);
}
.page .current:hover {
color: rgb(255, 255, 255); cursor: default; background-color: rgb(2, 102, 208);
}
.page .disable {
color: rgb(204, 204, 204); cursor: default;
}
.page .disable:hover {
color: rgb(204, 204, 204); background-color: rgb(255, 255, 255);
}
.page .text-small {
width: 25px; text-align: center;
}
.page span {
margin: 0px 10px; height: 23px; line-height: 23px;
}
.page .ellipsis {
margin: 0px 3px 0px 0px; line-height: 2;
}
.page-simple {
margin: 15px 0px 20px; color: rgb(2, 102, 208); font-size: 12px;
}
.page-simple div {
display: inline;
}
.page-simple a {
padding: 0px 7px;
}
.page-simple a:hover {
text-decoration: underline;
}
.page-simple .current {
color: rgb(102, 102, 102); text-decoration: none; cursor: default;
}
.page-simple .current:hover {
color: rgb(102, 102, 102); text-decoration: none; cursor: default;
}
.page-simple .page-ctrl {
vertical-align: -1px;
}
.page-simple .page-ctrl b {
line-height: 0; font-size: 0px; border-top-color: rgb(255, 255, 255); border-bottom-color: rgb(255, 255, 255); border-top-width: 6px; border-bottom-width: 6px; border-top-style: solid; border-bottom-style: solid; display: inline-block;
}
.page-simple .left {
border-right-color: rgb(2, 102, 208); border-right-width: 6px; border-right-style: solid;
}
.page-simple .page-ctrl:hover .left {
border-right-color: rgb(102, 102, 102);
}
.page-simple .right {
border-left-color: rgb(2, 102, 208); border-left-width: 6px; border-left-style: solid;
}
.page-simple .page-ctrl:hover .right {
border-left-color: rgb(102, 102, 102);
}
.page-simple .disable {
cursor: default;
}
.page-simple .disable .left {
border-right-color: rgb(102, 102, 102);
}
.page-simple .disable:hover .left {
border-right-color: rgb(102, 102, 102);
}
.page-simple .disable .right {
border-left-color: rgb(102, 102, 102);
}
.page-simple .disable:hover .right {
border-left-color: rgb(102, 102, 102);
}
.page-simple .ellipsis {
color: rgb(0, 102, 204);
}
.page-right {
text-align: right;
}
.page-right a {
margin: 0px 0px 0px 3px;
}
.page-right .ellipsis {
margin: 0px 0px 0px 3px;
}
.page-center {
text-align: center;
}
.mod {
border-width: 2px 1px 1px; border-style: solid; border-color: rgb(2, 102, 208) rgb(221, 221, 221) rgb(221, 221, 221); margin: 10px 0px; padding: 10px;
}
.mod-hd {
padding: 6px 10px; font-weight: bold;
}
.mod-bd {
padding: 10px;
}
.mod-blue {
margin: 10px 0px; border: 1px solid rgb(150, 194, 241);
}
.mod-blue .mod-hd {
border-bottom-color: rgb(150, 194, 241); border-bottom-width: 1px; border-bottom-style: solid; background-color: rgb(218, 236, 254);
}
.mod-blue-simple {
margin: 10px 0px; padding: 10px; border: 1px solid rgb(150, 194, 241); background-color: rgb(218, 236, 254);
}
.mod-gray {
margin: 10px 0px; border: 1px solid rgb(204, 204, 204);
}
.mod-gray .mod-hd {
border-bottom-color: rgb(204, 204, 204); border-bottom-width: 1px; border-bottom-style: solid; background-color: rgb(241, 241, 241);
}
.mod-gray-simple {
margin: 10px 0px; padding: 10px; border: 1px solid rgb(204, 204, 204); background-color: rgb(241, 241, 241);
}
.calendar {
font: 14px/normal Arial, simsun; width: 204px; color: rgb(51, 51, 51); font-size-adjust: none; font-stretch: normal; box-shadow: 3px 4px 5px #ccc; background-color: rgb(255, 255, 255);
}
.calendar .cal_title {
background: rgb(0, 102, 208); font: bold 14px/30px tahoma; width: 204px; height: 30px; text-align: center; color: rgb(255, 255, 255); position: relative; font-size-adjust: none; font-stretch: normal;
}
.calendar .cal_title .last-month {
background: url("http://picint.sh.ctriptravel.com/cuio/un_icon.png") no-repeat; top: 0px; width: 30px; height: 30px; position: absolute;
}
.calendar .cal_title .next-month {
background: url("http://picint.sh.ctriptravel.com/cuio/un_icon.png") no-repeat; top: 0px; width: 30px; height: 30px; position: absolute;
}
.calendar .cal_title .last-month {
background-position: 0px -40px; left: 0px;
}
.calendar .cal_title .last-month:hover {
background-position: -40px -40px;
}
.calendar .cal_title .next-month {
right: 0px;
}
.calendar .cal_title .next-month:hover {
background-position: -40px 0px;
}
.calendar .week {
border-width: 0px 0px 0px 1px; border-style: solid; border-color: rgb(204, 204, 204); margin: 0px; _border-right-width: 1px;
}
.calendar .week li {
font: bold 14px/30px simsun; width: 29px; height: 30px; text-align: center; float: left; cursor: default; font-size-adjust: none; font-stretch: normal; _width: 28px;
}
.calendar .week li + li + li + li + li + li + li {
width: 28px; border-right-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid;
}
.calendar .week .weekend {
color: rgb(255, 153, 0);
}
* html .calendar .date {
width: 206px; border-bottom-color: rgb(204, 204, 204); border-bottom-width: 1px; border-bottom-style: solid;
}
.calendar .date a {
font: bold 12px/28px tahoma; border: 1px solid rgb(204, 204, 204); width: 28px; height: 28px; text-align: center; color: rgb(0, 102, 204); text-decoration: none; margin-right: -1px; margin-bottom: -1px; float: left; font-size-adjust: none; font-stretch: normal;
}
.calendar .date a:hover {
border-color: rgb(150, 194, 250); position: relative; box-shadow: inset 0px 0px 3px 1px rgba(255,255,255,0.7); background-color: rgb(218, 236, 255);
}
.calendar .date .today {
border-color: rgb(238, 204, 102); position: relative; background-color: rgb(255, 243, 204);
}
.calendar .date .today:hover {
border-color: rgb(238, 204, 102); position: relative; background-color: rgb(255, 243, 204);
}
.calendar .date .select-day {
border-color: rgb(84, 139, 209); color: rgb(255, 255, 255); position: relative; box-shadow: inset 0px 0px 4px 1px rgba(0,0,0,0.3); background-color: rgb(102, 170, 255);
}
.calendar .date .select-day:hover {
border-color: rgb(84, 139, 209); color: rgb(255, 255, 255); position: relative; box-shadow: inset 0px 0px 4px 1px rgba(0,0,0,0.3); background-color: rgb(102, 170, 255);
}
.calendar .date .disable {
border-color: rgb(204, 204, 204); color: rgb(204, 204, 204); cursor: default; box-shadow: none; background-color: rgb(255, 255, 255);
}
.calendar .date .disable:hover {
border-color: rgb(204, 204, 204); color: rgb(204, 204, 204); cursor: default; box-shadow: none; background-color: rgb(255, 255, 255);
}
.alert {
padding: 6px 10px; border-radius: 4px; border: 1px solid rgb(251, 238, 213); color: rgb(192, 152, 83); line-height: 1.5; font-size: 12px; margin-bottom: 20px; background-color: rgb(252, 248, 227); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.alert h4 {
margin-bottom: 5px;
}
.alert p {
margin-bottom: 0px;
}
.alert ul {
margin-bottom: 0px;
}
.alert p + p {
margin-top: 5px;
}
.alert-success {
border-color: rgb(214, 233, 198); color: rgb(70, 136, 71); background-color: rgb(223, 240, 216);
}
.alert-danger {
border-color: rgb(238, 211, 215); color: rgb(185, 74, 72); background-color: rgb(242, 222, 222);
}
.alert-error {
border-color: rgb(238, 211, 215); color: rgb(185, 74, 72); background-color: rgb(242, 222, 222);
}
.alert-info {
border-color: rgb(188, 232, 241); color: rgb(58, 135, 173); background-color: rgb(217, 237, 247);
}
.alert .close {
color: rgb(0, 0, 0); filter: alpha(opacity=30); opacity: 0.3;
}
.alert .close:hover {
color: rgb(0, 0, 0); filter: alpha(opacity=60); opacity: 0.6;
}
.alert-inline {
margin: 0px; padding: 3px 10px; vertical-align: middle; display: inline-block;
}
* + .alert-inline {
margin-left: 10px;
}
.label {
color: rgb(255, 255, 255); font-size: 12px; font-weight: bold; vertical-align: middle; background-color: rgb(153, 153, 153); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.badge {
color: rgb(255, 255, 255); font-size: 12px; font-weight: bold; vertical-align: middle; background-color: rgb(153, 153, 153); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.label {
padding: 2px 4px; border-radius: 3px;
}
.badge {
padding: 2px 9px; border-radius: 9px;
}
a.label:hover {
color: rgb(255, 255, 255); text-decoration: none; cursor: pointer;
}
a.badge:hover {
color: rgb(255, 255, 255); text-decoration: none; cursor: pointer;
}
.label-important {
background-color: rgb(185, 74, 72);
}
.badge-important {
background-color: rgb(185, 74, 72);
}
a.label-important:hover {
background-color: rgb(149, 59, 57);
}
a.badge-important:hover {
background-color: rgb(149, 59, 57);
}
.label-warning {
background-color: rgb(248, 148, 6);
}
.badge-warning {
background-color: rgb(248, 148, 6);
}
a.label-warning:hover {
background-color: rgb(198, 118, 5);
}
a.badge-warning:hover {
background-color: rgb(198, 118, 5);
}
.label-success {
background-color: rgb(70, 136, 71);
}
.badge-success {
background-color: rgb(70, 136, 71);
}
a.label-success:hover {
background-color: rgb(53, 102, 53);
}
a.badge-success:hover {
background-color: rgb(53, 102, 53);
}
.label-info {
background-color: rgb(58, 135, 173);
}
.badge-info {
background-color: rgb(58, 135, 173);
}
a.label-info:hover {
background-color: rgb(45, 105, 135);
}
a.badge-info:hover {
background-color: rgb(45, 105, 135);
}
.label-inverse {
background-color: rgb(51, 51, 51);
}
.badge-inverse {
background-color: rgb(51, 51, 51);
}
a.label-inverse:hover {
background-color: rgb(26, 26, 26);
}
a.badge-inverse:hover {
background-color: rgb(26, 26, 26);
}
.mask {
border: 1px solid rgb(150, 194, 241); background-color: rgb(255, 255, 255);
}
.mask-simple {
border: 1px solid rgb(150, 194, 241); background-color: rgb(255, 255, 255);
}
.mask-hd {
padding: 6px 10px; font-weight: bold; border-bottom-color: rgb(150, 194, 241); border-bottom-width: 1px; border-bottom-style: solid; background-color: rgb(220, 237, 254);
}
.mask-bd {
padding: 10px;
}
.mask-simple .mask-bd {
padding-top: 16px;
}
.close {
font: 24px/18px Arial, Simsun; width: 18px; height: 18px; text-align: center; color: rgb(136, 189, 242); float: right; font-size-adjust: none; font-stretch: normal; text-shadow: 0 1px 0 #FFF;
}
.close:hover {
color: rgb(68, 153, 238); text-decoration: none;
}
.mask-simple .close {
margin: 4px 4px 0px 0px;
}
.mask-btn {
margin: 10px auto; text-align: center;
}
.mask-btn a {
margin-left: 10px;
}
.mask-center {
margin: 10px 0px 20px; text-align: center;
}
.tip {
padding: 6px 10px; border: 1px solid rgb(255, 217, 144); font-size: 12px; display: inline-block; background-color: rgb(255, 255, 217);
}