Gridmvc.css 3.26 KB
/***
*   Grid.Mvc stylesheet http://gridmvc.codeplex.com/
*   This file contains default styles for Grid.Mvc.
*/
.boxshadow {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
/* Grid */
table.grid-table {
  margin: 0;
}
table.grid-table .grid-wrap {
  padding: 0;
  position: relative;
}
table.grid-table .grid-empty-text {
  color: #606060;
}
/* Grid headers */
table.grid-table .grid-header {
  position: relative;
}
table.grid-table .grid-header .sorted-asc .grid-sort-arrow:after {
  content: " \2193";
}
table.grid-table .grid-header .sorted-desc .grid-sort-arrow:after {
  content: " \2191";
}
table.grid-table .grid-header > .grid-header-title {
  width: 100%;
  margin-left: 20px;
  white-space: nowrap;
}
/* Grid body */
table.grid-table tr.grid-row-selected td {
  background: rgba(0, 169, 255, 0.1) !important;
  /*color: black;*/
}
table.grid-table tr.grid-row-selected a {
  /*color: black;*/
}
/* Grid filtering */
table.grid-table .grid-filter {
  float: left;
  position: absolute;
  width: 22px;
  height: 22px;
  top: 14px;
  left: 8px;
}
table.grid-table .grid-filter-btn {
  cursor: pointer;
  display: block;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: 0 -2px;
  background-image: url('/content/img/filter-off.png');
  background-image: -webkit-image-set(url("/content/img/filter-off.png") 1x, url("/content/img/filter-off@2x.png") 2x);
}
table.grid-table .grid-filter-btn.filtered {
  background-image: url('/content/img/filter-on.png');
  background-image: -webkit-image-set(url("/content/img/filter-on.png") 1x, url("/content/img/filter-on@2x.png") 2x);
}
table.grid-table .grid-filter-buttons {
  padding: 0;
}
table.grid-table .grid-filter-datepicker {
  font-size: 12px;
}
table.grid-table .grid-filter-datepicker table td {
  padding: 1px!important;
}
table.grid-table .grid-filter-datepicker .ui-datepicker {
  width: auto;
}
table.grid-table .grid-dropdown-inner ul.menu-list li a.grid-filter-clear {
  white-space: nowrap;
  padding-left: 26px;
  background-image: url('/content/img/filter-clear.png');
  background-image: -webkit-image-set(url("/content/img/filter-clear.png") 1x, url("/content/img/filter-clear@2x.png") 2x);
  background-position: 3px center;
  background-repeat: no-repeat;
}
table.grid-table .grid-filter-choose.choose-selected {
  background-color: white!important;
  cursor: default;
  color: #999;
}
table.grid-table .grid-popup-additional {
  padding: 3px 0 0 0;
}
/* POP-UP */
.grid-dropdown {
  font-weight: normal;
  left: -96px;
  top: 18px !important;
  min-width: 180px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.grid-dropdown-arrow {
  background-repeat: no-repeat;
  background-image: url('/content/img/dropdown-arrow.png');
  background-image: -webkit-image-set(url("/content/img/dropdown-arrow.png") 1x, url("/content/img/dropdown-arrow@2x.png") 2x);
  height: 8px;
  left: 99px;
  position: absolute;
  top: -8px;
  width: 14px;
}
.grid-dropdown-inner {
  padding: 5px 7px;
}
.grid-dropdown ul.menu-list {
  list-style-type: none;
  margin: 3px 0 0 0;
  padding: 0;
}
.grid-dropdown ul.menu-list li a {
  text-decoration: none;
  background-position: 6px center;
  background-repeat: no-repeat;
  display: block;
  padding: 4px 5px;
}
.grid-dropdown ul.menu-list li a:hover {
  background-color: #EEE;
  text-decoration: none;
}