列表界面样式修改,搜索框优化
This commit is contained in:
@@ -21531,4 +21531,26 @@ Color library demo
|
||||
vertical-align: middle; }
|
||||
.mt-cookie-consent-bar.mt-cookie-consent-bar-light {
|
||||
background: rgba(238, 238, 238, 0.9);
|
||||
color: #333; }
|
||||
color: #333; }
|
||||
|
||||
|
||||
|
||||
.form-search .pull-left {
|
||||
float: left !important;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
|
||||
.filter-action-select-panle {
|
||||
border: 1px solid #c2cad8;
|
||||
background-color: #f6f3f3;
|
||||
margin-top: 5px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.filter-action-select-panle label{
|
||||
line-height: 34px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
.Wdate{border:#999 1px solid;height:20px;background:#fff url(datePicker.gif) no-repeat right;}
|
||||
.Wdate{border:#c2cad8 1px solid;min-height:20px;background:#fff url(datePicker.gif) no-repeat right;}
|
||||
.WdateFmtErr{font-weight:bold;color:red;}
|
||||
@@ -1334,9 +1334,9 @@ a.bg-danger:focus {
|
||||
background-color: #f6b3b8; }
|
||||
|
||||
.page-header {
|
||||
padding-bottom: 9px;
|
||||
margin: 40px 0 20px;
|
||||
border-bottom: 1px solid #eeeeee; }
|
||||
/* padding-bottom: 9px;
|
||||
margin: 40px 0 20px; */
|
||||
border-bottom: 1px solid #C2CAD8; }
|
||||
|
||||
ul,
|
||||
ol {
|
||||
@@ -2037,7 +2037,9 @@ th {
|
||||
.table {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
margin-bottom: 20px; }
|
||||
margin-bottom: 20px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.table > thead > tr > th,
|
||||
.table > thead > tr > td,
|
||||
.table > tbody > tr > th,
|
||||
@@ -2058,7 +2060,16 @@ th {
|
||||
.table > thead:first-child > tr:first-child > th,
|
||||
.table > thead:first-child > tr:first-child > td {
|
||||
border-top: 0;
|
||||
background-color: #F5F6FA;
|
||||
/* background-color: #F5F6FA;
|
||||
*/
|
||||
background-color: #3598dc;
|
||||
color: #F5F6FA;
|
||||
height: 38px;
|
||||
line-height: 38px;
|
||||
padding-top: 0px;
|
||||
padding-right: 10px;
|
||||
padding-bottom: 0px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.table > tbody + tbody {
|
||||
border-top: 2px solid #e7ecf1; }
|
||||
@@ -2071,7 +2082,7 @@ th {
|
||||
.table-condensed > tbody > tr > td,
|
||||
.table-condensed > tfoot > tr > th,
|
||||
.table-condensed > tfoot > tr > td {
|
||||
padding: 5px; }
|
||||
padding-left:10px; }
|
||||
|
||||
.table-bordered {
|
||||
border: 1px solid #e7ecf1; }
|
||||
|
||||
@@ -6,15 +6,14 @@
|
||||
* @version 2014-4-29
|
||||
*/
|
||||
$(document).ready(function() {
|
||||
|
||||
try{
|
||||
// 链接去掉虚框
|
||||
$("a").bind("focus",function() {
|
||||
if(this.blur) {this.blur()};
|
||||
});
|
||||
//所有下拉框使用select2 - 排除class为noSelect2的<select>元素
|
||||
$("select:not(.noSelect2)").select2();
|
||||
|
||||
|
||||
//$("select:not(.noSelect2)").select2();
|
||||
|
||||
}catch(e){
|
||||
// blank
|
||||
@@ -22,10 +21,6 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function getContextPath() {
|
||||
var pathName = window.location.pathname;
|
||||
var index = pathName.substring(1).indexOf("/");
|
||||
@@ -298,3 +293,38 @@ function abbr(name, maxLength){
|
||||
|
||||
|
||||
|
||||
/*筛选按钮初始化*/
|
||||
function filterActionInit() {
|
||||
|
||||
var isFilterAction = $("#isFilterAction").val();
|
||||
if(isFilterAction=="true") {
|
||||
fiterPanleShow();
|
||||
}else {
|
||||
fiterPanleHide();
|
||||
}
|
||||
|
||||
$("#filter-btn").click(function(){
|
||||
if($("#isFilterAction").val()=="true") {
|
||||
$("#isFilterAction").val("false");
|
||||
fiterPanleHide();
|
||||
}else {
|
||||
$("#isFilterAction").val("true");
|
||||
fiterPanleShow();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function fiterPanleShow() {
|
||||
$("#filter-action").find("i").removeClass("fa-angle-double-down").addClass("fa-angle-double-up");
|
||||
$(".btn-search").addClass("hide");
|
||||
$(".filter-action-select-panle").removeClass("hide");
|
||||
}
|
||||
|
||||
function fiterPanleHide() {
|
||||
$("#filter-action").find("i").removeClass("fa-angle-double-up").addClass("fa-angle-double-down");
|
||||
$(".btn-search").removeClass("hide");
|
||||
$(".filter-action-select-panle").addClass("hide");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user