edbob/edbob/pyramid/static/css/index.css
2012-08-01 05:44:00 -07:00

176 lines
3.5 KiB
CSS

/************************************************************
* index.css
*
* Styles specific to "object index" pages.
************************************************************/
/******************************
* Wrapper
******************************/
div.object-index {
font-size: 10pt;
}
div.object-index table.header {
padding-bottom: 5px;
width: 100%;
}
/******************************
* Context Menu
******************************/
div.object-index table.header td.context-menu {
vertical-align: top;
}
div.object-index table.header td.context-menu ul {
list-style-type: none;
text-align: right;
}
/******************************
* Filters
******************************/
div.object-index div.filterset div.filter {
margin-bottom: 10px;
}
div.object-index div.filterset div.filter label,
div.object-index div.filterset div.filter select.filter-type {
margin-right: 8px;
}
div.object-index div.filterset div.buttons * {
margin-right: 8px;
}
/******************************
* Tools
******************************/
div.object-index table.header td.tools {
text-align: right;
vertical-align: bottom;
}
/******************************
* Grids
******************************/
div.object-index div.grid {
clear: both;
}
div.object-index div.grid table {
border-top: 1px solid black;
border-left: 1px solid black;
border-collapse: collapse;
font-size: 9pt;
line-height: normal;
white-space: nowrap;
width: 100%;
}
div.object-index div.grid table th,
div.object-index div.grid table td {
border-right: 1px solid black;
border-bottom: 1px solid black;
padding: 2px 3px;
}
div.object-index div.grid table th.sortable a {
display: block;
padding-right: 18px;
}
div.object-index div.grid table th.sorted {
background-position: right center;
background-repeat: no-repeat;
}
div.object-index div.grid table th.sorted.asc {
background-image: url(../img/sort_arrow_up.png);
}
div.object-index div.grid table th.sorted.desc {
background-image: url(../img/sort_arrow_down.png);
}
div.object-index div.grid table tbody td {
text-align: left;
}
div.object-index div.grid table tr.even {
background-color: #e0e0e0;
}
/* div.grid table thead th.checkbox, */
/* div.grid table tbody td.checkbox { */
/* text-align: center; */
/* vertical-align: middle; */
/* width: 15px; */
/* } */
/* div.grid table td.action { */
/* cursor: default; */
/* } */
div.object-index div.grid table td.delete {
text-align: center;
width: 18px;
background-image: url(../img/delete.png);
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
}
div.object-index div.grid table tbody tr.hovering {
background-color: #bbbbbb;
}
div.object-index div.grid table.hoverable tbody tr {
cursor: default;
}
div.object-index div.grid.clickable table tbody tr,
div.object-index div.grid table.selectable tbody tr,
div.object-index div.grid table.checkable tbody tr {
cursor: pointer;
}
/* div.grid table.selectable tbody tr.selected, */
/* div.grid table.checkable tbody tr.selected { */
/* background-color: #666666; */
/* color: white; */
/* } */
div.object-index div.pager {
margin-top: 5px;
}
div.object-index div.pager p {
font-size: 10pt;
margin: 0px;
}
div.object-index div.pager p.showing {
float: left;
}
div.object-index div.pager #grid-page-count {
font-size: 8pt;
height: 21px;
}
div.object-index div.pager p.page-links {
float: right;
}