pandorafms/pandora_console/include/styles/tables.css

446 lines
8.8 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;
2022-11-23 17:40:40 +01:00
/* margin-bottom: 10px; */
2019-06-03 10:46:52 +02:00
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) {
2022-11-30 10:14:42 +01:00
/*background-color: #f5f5f5;*/
background-color: #f6f7fb;
2019-06-03 10:46:52 +02:00
}
2019-06-04 22:34:17 +02:00
.info_table tr > td:first-child,
.info_table tr > th:first-child {
2022-11-24 10:00:42 +01:00
/*padding-left: 5px;*/
padding-left: 10px;
2019-06-04 22:34:17 +02:00
}
.info_table tr > td:last-child,
.info_table tr > th:last-child {
2022-11-24 10:00:42 +01:00
/*padding-right: 5px;*/
padding-right: 10px;
2019-06-04 22:34:17 +02:00
}
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-07-12 18:29:58 +02:00
cursor: pointer;
2019-06-03 10:46:52 +02:00
}
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 {
2022-11-30 10:14:42 +01:00
/*border-bottom: 1px solid #e2e2e2;*/
2019-06-03 10:46:52 +02:00
}
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;
}
2022-11-30 10:14:42 +01:00
.table_action_buttons > a,
.table_action_buttons > img {
visibility: hidden;
}
2019-06-03 14:30:23 +02:00
.info_table > tbody > tr:hover {
2019-06-28 10:24:53 +02:00
/* This !important is necessary to overwrite the white background of tables with less than 5 rows. */
2022-11-30 10:14:42 +01:00
/*background-color: #eee !important;*/
background-color: #d9efee !important;
}
.info_table > tbody > tr:hover .table_action_buttons > a,
.info_table > tbody > tr:hover .table_action_buttons > img {
visibility: visible;
2019-06-03 10:46:52 +02:00
}
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;
2019-06-03 10:46:52 +02:00
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;
}
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 * {
2022-11-30 10:14:42 +01:00
font-size: 11pt;
padding: 1.5em 0 0.5em;
2019-06-03 10:46:52 +02:00
}
2019-12-12 14:55:27 +01:00
.datos5 * {
color: #ffffff;
}
2019-06-03 10:46:52 +02:00
/*td.datos_id {
color: #1a313a;
}*/
/* user list php */
tr.disabled_row_user * {
color: grey;
}
2019-06-07 21:22:07 +02:00
/* Disable datatables border */
table.dataTable.info_table.no-footer {
border-bottom: none;
}
2019-06-10 15:18:35 +02:00
/* Datatables pagination */
.dataTables_paginate.paging_simple_numbers {
2019-06-18 12:48:28 +02:00
margin: 2em 0;
2019-06-10 15:18:35 +02:00
}
2019-06-18 12:48:28 +02:00
a.pandora_pagination {
2022-11-21 14:49:07 +01:00
background-color: #f6f7fb;
padding: 11px;
2019-06-18 12:48:28 +02:00
color: #000;
border: 1px solid #cacaca;
border-left: none;
2019-06-18 12:48:28 +02:00
min-width: 12px;
text-decoration: none;
2022-11-21 14:49:07 +01:00
font-size: 11pt;
line-height: 35px;
2019-06-18 12:48:28 +02:00
cursor: pointer;
}
2022-11-21 14:49:07 +01:00
a.pandora_pagination.next {
2022-11-21 23:45:32 +01:00
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
2022-11-21 14:49:07 +01:00
}
2022-11-21 23:45:32 +01:00
a.pandora_pagination.previous {
2022-11-21 14:49:07 +01:00
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
2022-11-21 23:45:32 +01:00
.dataTables_paginate > span > span.ellipsis + a.pandora_pagination:last-child,
.dataTables_paginate {
border-left: 1px solid #c0ccdc;
}
2019-06-18 12:48:28 +02:00
a.pandora_pagination.disabled {
color: #cacaca;
}
a.pandora_pagination:hover {
text-decoration: none;
background-color: #e2e2e2;
}
a.pandora_pagination.current,
a.pandora_pagination.current:hover {
2019-06-10 15:18:35 +02:00
color: #fff;
2022-11-21 14:49:07 +01:00
background-color: #14524f;
2019-06-18 12:48:28 +02:00
}
/* CSV button datatables */
.dt-button.buttons-csv.buttons-html5 {
2019-06-18 12:58:46 +02:00
background-image: url(../../images/csv_mc.png);
2019-06-18 12:48:28 +02:00
background-position: center center;
background-repeat: no-repeat;
color: #000;
2019-06-18 12:58:46 +02:00
border: none;
2019-06-18 12:48:28 +02:00
cursor: pointer;
2019-06-18 12:58:46 +02:00
display: inline;
padding: 7pt;
margin-left: 10px;
2021-12-30 18:26:59 +01:00
background-color: transparent;
2019-06-18 12:48:28 +02:00
}
.dt-button.buttons-csv.buttons-html5 span {
font-size: 0;
}
2019-06-18 12:58:46 +02:00
.dt-buttons {
margin-top: 3pt;
2019-06-18 12:48:28 +02:00
}
2019-06-18 12:58:46 +02:00
.dt-button.buttons-csv.buttons-html5:active,
.dt-button.buttons-csv.buttons-html5:hover {
border: none;
2019-06-18 12:48:28 +02:00
}
.dt-button.buttons-csv.buttons-html5[disabled] {
color: #b4b4b4;
background-color: #f3f3f3;
border-color: #b6b6b6;
cursor: default;
2019-06-10 15:18:35 +02:00
}
2019-06-21 19:34:47 +02:00
/* Default datatable filter style */
.datatable_filter.content {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
}
.datatable_filter.content label {
margin-right: 1em;
}
.datatable_filter.content li {
flex: 1 1 auto;
margin: 1em auto;
}
.sorting_desc {
background: url(../../images/sort_down_green.png) no-repeat;
background-position-x: left;
background-position-y: center;
cursor: pointer;
}
.sorting_asc {
background: url(../../images/sort_up_green.png) no-repeat;
background-position-x: left;
background-position-y: center;
cursor: pointer;
}
2019-07-12 18:29:58 +02:00
.info_table tr th.sorting_asc,
.info_table tr th.sorting_desc {
padding-left: 15px;
}
2022-11-30 10:14:42 +01:00
/* This class is for the icons of actions and operations in the tables. */
.table_action_buttons a[href] img,
.table_action_buttons input[type="image"],
.action_button_img {
border-radius: 4px;
/*border: 1px solid #dcdcdc !important;*/
padding: 1px !important;
/*box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);*/
width: 24px;
height: 24px;
}
/* This class is for only one icon to be a button type. */
.action_button_img {
cursor: pointer;
}
.table_action_buttons a,
.table_action_buttons input[type="image"] {
margin-right: 5px;
display: inline-block;
}
.table_action_buttons a:last-child,
.table_action_buttons input[type="image"]:last-child {
margin-right: 0px;
}
.table_action_buttons a:hover {
background-color: #fff;
border-radius: 4px;
}
.table_action_buttons input[type="image"]:hover {
background-color: #fff;
}
.table_action_buttons_image {
width: 24px;
height: 24px;
}
2022-12-02 14:26:05 +01:00
.section_table_title {
font-size: 11pt;
color: #14524f;
font-family: "Pandora-Bold";
margin: 4px 0 7px;
}
.section_table_title_line {
width: 80%;
height: 10px;
background-color: aqua;
}
2022-12-05 13:39:51 +01:00
.cron_section {
padding: 0 !important;
}
.cron_section td {
font-size: 10pt !important;
color: #8a96a6;
}
.ff_thresholds_line input {
width: 100%;
}