pandorafms/pandora_console/include/styles/tables.css

248 lines
4.7 KiB
CSS
Raw Normal View History

2019-06-03 10:46:52 +02:00
/*
* ---------------------------------------------------------------------
* - TABLES
* ---------------------------------------------------------------------
*/
/* This is to use divs like tables */
.table_div {
display: table;
}
.table_thead,
.table_tbody {
display: table-row;
}
.table_th {
font-weight: bold;
}
.table_th,
.table_td {
display: table-cell;
vertical-align: middle;
padding: 10px;
}
/* Tables with 3 columns */
.table_three_columns .table_th,
.table_three_columns .table_td {
width: 33%;
}
2019-06-04 13:57:55 +02:00
.white-box-content > form > .databox.filters {
border: none;
}
.databox.filters {
background: #fff;
padding: 1em 0;
}
.databox.filters,
.databox.data {
margin-bottom: 20px;
}
.databox.filters > tbody > tr > td {
padding: 10px;
padding-left: 20px;
}
.databox.filters > tbody > tr > td > img,
.databox.filters > tbody > tr > td > div > a > img,
.databox.filters > tbody > tr > td > span > img,
.databox.filters > tbody > tr > td > span > a > img,
.databox.filters > tbody > tr > td > a > img {
vertical-align: middle;
margin-left: 5px;
}
.databox.filters > tbody > tr > td > a > img {
vertical-align: middle;
}
.databox.data > tbody > tr > td > img,
.databox.data > thead > tr > th > img,
.databox.data > tbody > tr > td > div > a > img,
.databox.data > tbody > tr > td > span > img,
.databox.data > tbody > tr > td > span > a > img,
.databox.data > tbody > tr > td > a > img,
.databox.data > tbody > tr > td > form > a > img {
vertical-align: middle;
}
.databox.data > tbody > tr:hover {
background-color: #eee;
}
.databox.data > tbody > tr > td > input[type="checkbox"] {
margin: 0px;
}
.databox_color > tbody > tr > td {
padding-left: 10px;
}
.databox.agente > tbody > tr > td > div > canvas {
width: 100%;
text-align: left;
}
.databox.agente > tbody > tr > td > div.graph {
width: 100%;
text-align: left;
}
2019-06-03 14:30:23 +02:00
.info_table {
2019-06-03 10:46:52 +02:00
background-color: #fff;
margin-bottom: 10px;
border-spacing: 0;
border-collapse: collapse;
overflow: hidden;
border-radius: 5px;
}
2019-06-03 14:30:23 +02:00
.info_table > tbody > tr:nth-child(even) {
2019-06-03 10:46:52 +02:00
background-color: #f5f5f5;
}
2019-06-04 22:34:17 +02:00
.info_table tr > td:first-child,
.info_table tr > th:first-child {
padding-left: 5px;
}
.info_table tr > td:last-child,
.info_table tr > th:last-child {
padding-right: 5px;
}
2019-06-03 14:30:23 +02:00
.info_table tr:first-child > th {
2019-06-03 10:46:52 +02:00
background-color: #fff;
color: #000;
text-align: left;
vertical-align: middle;
}
2019-06-03 14:30:23 +02:00
.info_table th {
2019-06-03 10:46:52 +02:00
font-size: 7.5pt;
letter-spacing: 0.3pt;
color: #000;
background-color: #fff;
}
2019-06-03 14:30:23 +02:00
.info_table tr th {
2019-06-03 10:46:52 +02:00
border-bottom: 1px solid #e2e2e2;
}
2019-06-04 13:57:55 +02:00
.info_table > thead > tr {
height: 3em;
vertical-align: top;
}
2019-06-03 10:46:52 +02:00
/* Radius top */
2019-06-03 14:30:23 +02:00
.info_table > thead > tr:first-child > th:first-child {
2019-06-03 10:46:52 +02:00
border-top-left-radius: 4px;
}
2019-06-03 14:30:23 +02:00
.info_table > thead > tr:first-child > th:last-child {
2019-06-03 10:46:52 +02:00
border-top-right-radius: 4px;
}
/* Radius bottom */
2019-06-03 14:30:23 +02:00
.info_table > tbody > tr:last-child > td:first-child {
2019-06-03 10:46:52 +02:00
border-top-left-radius: 4px;
}
2019-06-03 14:30:23 +02:00
.info_table > tbody > tr:last-child > td:last-child {
2019-06-03 10:46:52 +02:00
border-top-right-radius: 4px;
}
2019-06-03 14:30:23 +02:00
.info_table > tbody > tr > th,
2019-06-03 19:13:29 +02:00
.info_table > thead > tr > th,
2019-06-03 14:30:23 +02:00
.info_table > thead > tr > th a,
.info_table > thead > tr > th > span {
2019-06-03 10:46:52 +02:00
padding: 0.1em;
font-weight: normal;
color: #000;
margin-left: 0.5em;
}
2019-06-03 14:30:23 +02:00
.info_table > tbody > tr {
2019-06-03 10:46:52 +02:00
border-bottom: 1px solid #e2e2e2;
}
2019-06-03 14:30:23 +02:00
.info_table > tbody > tr > td {
2019-06-03 10:46:52 +02:00
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
border: none;
2019-06-04 13:57:55 +02:00
padding-left: 0px;
2019-06-04 14:08:07 +02:00
padding-right: 9px;
2019-06-03 10:46:52 +02:00
padding-top: 7px;
padding-bottom: 7px;
}
2019-06-04 13:57:55 +02:00
.info_table.no-td-padding td {
padding-left: 0;
padding-right: 0;
}
2019-06-03 14:30:23 +02:00
.info_table > tbody > tr > td > img,
.info_table > thead > tr > th > img,
.info_table > tbody > tr > td > div > a > img,
.info_table > tbody > tr > td > span > img,
.info_table > tbody > tr > td > span > a > img,
.info_table > tbody > tr > td > a > img,
.info_table > tbody > tr > td > form > a > img {
2019-06-03 10:46:52 +02:00
vertical-align: middle;
}
2019-06-03 14:30:23 +02:00
.info_table > tbody > tr:hover {
2019-06-03 10:46:52 +02:00
background-color: #eee;
}
2019-06-03 14:30:23 +02:00
.info_.profile_list > thead > tr > th > a.tip {
2019-06-03 10:46:52 +02:00
padding: 0px;
}
2019-06-03 14:30:23 +02:00
.info_table .datos3,
.datos3,
.info_table .datos4,
.datos4 {
2019-06-03 10:46:52 +02:00
background-color: #fff;
color: #000;
border-bottom: 2px solid #82b92e;
border-left: none;
border-right: none;
height: 30px;
font-size: 8.6pt;
font-weight: normal;
}
2019-06-04 13:57:55 +02:00
.databox.datos2 {
background: #f5f5f5;
}
.databox.datos {
background: #fff;
}
.filters input {
background: #fbfbfb;
}
2019-06-03 14:30:23 +02:00
.datos4 {
2019-06-03 10:46:52 +02:00
/*Add because in php the function html_print_table write style in cell and this is style head.*/
text-align: center;
}
2019-06-03 14:30:23 +02:00
.datos3 *,
.datos4 *,
.info_table .datos3 *,
.info_table .datos4 * {
2019-06-03 10:46:52 +02:00
font-size: 8.6pt;
2019-06-04 13:57:55 +02:00
font-weight: 600;
2019-06-03 19:13:29 +02:00
padding: 1.3em 0;
2019-06-03 10:46:52 +02:00
}
/*td.datos_id {
color: #1a313a;
}*/
/* user list php */
tr.disabled_row_user * {
color: grey;
}