pandorafms/pandora_console/include/styles/tables.css

911 lines
18 KiB
CSS

/*
* ---------------------------------------------------------------------
* - 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%;
}
.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;
}
.info_table,
.filter_table {
background-color: #fff;
border-spacing: 0;
overflow: hidden;
border-radius: 5px;
border: 1px solid #e5e9ed;
width: -webkit-fill-available;
width: -moz-available;
}
.info_table {
margin-bottom: 25px;
}
.info_table > tbody > tr:nth-child(even) {
background-color: #e5e9ed;
}
.info_table tr > td:first-child,
.info_table tr > th:first-child {
/*padding-left: 5px;*/
padding-left: 10px;
/*border-left: 1px solid #c0ccdc;*/
}
.info_table tr > td:last-child,
.info_table tr > th:last-child {
/*padding-right: 5px;*/
padding-right: 10px;
/*border-right: 1px solid #c0ccdc;*/
}
.info_table tr:first-child > th {
background-color: #fff;
color: #000;
text-align: left;
vertical-align: middle;
}
.info_table th {
font-size: 7.5pt;
letter-spacing: 0.3pt;
color: #000;
background-color: #fff;
cursor: pointer;
}
.info_table > thead > tr > th,
.info_table > thead > tr > th * {
/*border-bottom: 1px solid #e2e2e2;*/
font-family: "lato-bold";
font-style: normal;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.info_table > thead > tr {
height: 3em;
vertical-align: top;
border: 1px solid #c0ccdc;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.info_table > thead > tr * {
font-size: 12px;
line-height: 23px;
}
/* Radius top */
.info_table > thead > tr:first-child > th:first-child {
/*border-top-left-radius: 4px;*/
}
.info_table > thead > tr:first-child > th:last-child {
/*border-top-right-radius: 4px;*/
}
/* Radius bottom */
.info_table > tbody > tr:last-child {
/*border-top-left-radius: 4px;*/
/*border-bottom-left-radius: 4px;*/
}
.info_table > tbody > tr:last-child > td:last-child {
/*border-top-right-radius: 4px;*/
}
/*.info_table > tbody > tr > th,
.info_table > thead > tr > th,*/
.info_table > thead > tr > th a,
.info_table > thead > tr > th > span {
padding: 0.1em;
/*margin-left: 0.5em;*/
}
.info_table > tbody > tr:last-child > td {
border-bottom: 0;
}
.info_table > tbody > tr > th,
.info_table > thead > tr > th,
.info_table > tbody > tr > td {
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
/*border: none;*/
/* border-bottom: 1px solid #c0ccdc; */
padding: 7px 3px;
/*
padding-left: 0px;
padding-right: 9px;
padding-top: 7px;
padding-bottom: 7px;
*/
}
.info_table .header_row .sort_arrow {
vertical-align: top;
visibility: hidden;
}
.info_table .header_row:hover .sort_arrow {
visibility: visible;
}
.info_table .inherited_text_data_for_humans,
.info_table .inherited_text_data_for_humans i {
font-size: inherit;
}
.info_table.no-td-padding td {
padding-left: 0;
padding-right: 0;
}
.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 {
vertical-align: middle;
}
.table_action_buttons > a,
.table_action_buttons > img,
.table_action_buttons > button,
.table_action_buttons > form,
.table_action_buttons > div,
.table_action_buttons .action_button_hidden {
visibility: hidden;
}
.info_table > tbody > tr:hover {
/* This !important is necessary to overwrite the white background of tables with less than 5 rows. */
/*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,
.info_table > tbody > tr:hover .table_action_buttons > button,
.info_table > tbody > tr:hover .table_action_buttons > form,
.info_table > tbody > tr:hover .table_action_buttons > div,
.info_table > tbody > tr:hover .table_action_buttons .action_button_hidden {
visibility: visible;
}
.info_.profile_list > thead > tr > th > a.tip {
padding: 0px;
}
.info_table .datos3,
.datos3,
.info_table .datos4,
.datos4 {
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;
}
.databox.datos2 {
background: #f5f5f5;
}
.databox.datos {
background: #fff;
}
.datos4 {
/*Add because in php the function html_print_table write style in cell and this is style head.*/
text-align: center;
}
.datos3 *,
.datos4 *,
.info_table .datos3 *,
.info_table .datos4 * {
font-size: 11pt;
padding: 1.5em 0 0.5em;
}
.datos5 * {
color: #ffffff;
}
/*td.datos_id {
color: #1a313a;
}*/
/* user list php */
tr.disabled_row_user * {
color: grey;
}
/* Disable datatables border */
table.dataTable.info_table.no-footer {
border-bottom: none;
}
a.pandora_pagination {
background-color: #f6f7fb;
padding: 9px;
color: #000;
border: 1px solid #cacaca;
border-left: none;
min-width: 12px;
text-decoration: none;
font-size: 11pt;
line-height: 35px;
cursor: pointer;
}
a.pandora_pagination:first-child {
border-left: 1px solid #cacaca;
}
a.pandora_pagination.next {
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
border-right: 1px solid #c0ccdc;
}
a.pandora_pagination.previous {
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
border-left: 1px solid #c0ccdc;
}
.dataTables_paginate > span > span.ellipsis + a.pandora_pagination:last-child,
.dataTables_paginate {
/*/border-left: 1px solid #c0ccdc;*/
}
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 {
color: #fff;
background-color: var(--primary-color);
}
/* CSV button datatables */
.dt-button.buttons-csv.buttons-html5 {
background-image: url(../../images/file-csv-primary-color.svg);
background-size: 22px;
background-position: 48px center;
background-repeat: no-repeat;
background-color: #fff;
color: var(--primary-color);
font-size: 20px;
height: 38px;
width: 80px;
margin-left: 90px;
display: flex;
justify-content: space-between;
flex-direction: row;
align-items: center;
box-shadow: 0px 3px 6px #c7c7c7;
border: 2px solid var(--primary-color);
border-radius: 8px;
padding: 0 10px;
cursor: pointer;
}
.dt-button.buttons-csv.buttons-html5.mini-csv-button {
background-image: url(../../images/file-csv.svg);
background-position: 4px center;
height: 26px;
width: 31px;
margin-left: 10px;
box-shadow: 0px 0px 0px #00000000;
border: 0px;
border-radius: 0px;
}
.dt-button.buttons-csv.buttons-html5:hover {
color: #1d7873 !important;
border: 2px solid #1d7873 !important;
}
.dt-button.buttons-csv.buttons-html5.mini-csv-button:hover {
color: #00000000 !important;
border: 0px !important;
}
.dt-button.buttons-csv.buttons-html5:before {
content: "csv";
}
.dt-button.buttons-csv.buttons-html5.mini-csv-button:before {
content: "";
}
.dt-button.buttons-csv.buttons-html5 span {
font-size: 0;
}
.dt-button.buttons-csv.buttons-html5:active,
.dt-button.buttons-csv.buttons-html5:hover {
border: none;
}
.dt-button.buttons-csv.buttons-html5[disabled] {
color: #b4b4b4;
background-color: #f3f3f3;
border-color: #b6b6b6;
cursor: default;
}
.filter_input_datatable {
width: 45% !important;
display: flex;
flex-wrap: nowrap;
flex-direction: row;
max-width: 450px;
min-width: 400px;
}
.filter_input_datatable input {
flex: 1;
}
.filter_input_datatable label {
max-width: 100%;
}
.filter_input_datatable .select2.select2-container {
flex: 1;
}
.datatable_filter.content li.filter_input_datatable {
margin: 1em 0;
}
/* 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;
padding: 0px 10px;
}
.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;
}
.info_table tr th.sorting_asc,
.info_table tr th.sorting_desc {
padding-left: 15px;
}
/* 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;
}
/* This class is for only one icon to be a button type. */
.action_button_img {
cursor: pointer;
width: 24px;
height: 24px;
}
.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: transparent;
border-radius: 4px;
}
.table_action_buttons input[type="image"]:hover {
background-color: #fff;
}
.table_action_buttons_image {
width: 24px;
height: 24px;
}
.section_table_title {
flex: 0 1 auto;
font-size: 15px;
color: var(--primary-color);
font-weight: bold;
margin: 4px 0 7px;
}
.section_table_title_line {
flex: 1 1 auto;
width: 14px;
border-radius: 15px;
height: 3px;
background-color: var(--primary-color);
margin-top: -4px;
/*box-shadow: inset 1px 1px 1px 1px #1d7873;*/
}
.cron_section {
padding: 0 !important;
}
.cron_section td {
font-size: 10pt !important;
color: #8a96a6;
}
.ff_thresholds_line input {
width: 100%;
}
.datatable_form {
margin: 0 1em;
}
/*
table.filter-table-adv {
max-width: 1024px;
}
*/
table.filter-table-adv td {
vertical-align: top;
}
div.filter-table-adv-manual > div,
table.filter-table-adv td > div,
table.filter-table-adv td > div.ec2_instance_metrics > div {
display: flex;
flex-direction: column;
justify-content: center;
align-items: normal;
}
div.filter-table-adv-manual > div label,
table.filter-table-adv td > div label {
color: #161628;
font-size: 13px;
line-height: 16px;
text-align: left;
margin-bottom: 10px;
}
div.filter-table-adv-manual > div.inline,
table.filter-table-adv td > div.inline {
display: block;
}
div.filter-table-adv-manual > div.inline input,
table.filter-table-adv td > div.inline input {
margin-top: 10px;
}
table.filter-table-adv td > div.add-input-reverse {
flex-direction: row-reverse;
justify-content: flex-end;
align-items: center;
margin-top: 5px;
}
table.filter-table-adv td > div .label-thin {
color: #3f3f3f;
font-weight: 400;
}
table.filter-table-adv td input[type="radio"] {
height: 20px;
}
table.filter-table-adv div.select-with-sibling {
display: flex;
align-items: center;
}
table.databox.filter-table-adv {
padding: 10px;
}
div.filter-datatable-submain {
padding: 10px 25px;
}
div.filter-datatable-submain > form > div.filter_input {
max-width: 20%;
display: grid;
justify-content: initial;
}
div.filter-datatable-submain > form {
align-items: flex-start;
}
div.filter-datatable-submain > form > div.filter_input > label,
div.advanced-options-events > div.filter_input > label {
font-size: 13px;
line-height: 16px;
font-weight: bold;
margin-bottom: 10px;
}
div.filter-datatable-submain > form > div.filter_input,
div.advanced-options-events > div.filter_input {
margin-bottom: 10px !important;
}
.display-initial {
display: initial;
/* margin-bottom: 10px; */
}
.vert-align-bottom {
vertical-align: bottom;
}
label.vert-align-bottom > a.tip {
vertical-align: middle;
}
div.display-initial > a.tip {
vertical-align: bottom;
}
div.advanced-options-events > div.filter_input {
display: grid !important;
}
div.advanced-options-events > div.filter_input input {
width: 400px;
}
div.advanced-options-events > div.filter_input.large {
display: flex !important;
}
div.filter_input > div.datetime-adv-opt > input.hasDatepicker {
width: 193px !important;
}
div.filter_input > div.datetime-adv-opt > span {
padding: 0px 5px;
}
tr#update_save_selector {
display: block;
}
td#load_filter_form-0-0,
td#load_filter_form-0-1,
td#save_filter_form-1-0,
td#save_filter_form-1-1,
td#save_filter_form-3-0 {
display: grid;
}
td#load_filter_form-0-0 > b,
td#save_filter_form-1-0 > b {
padding-bottom: 10px;
font-size: 13px;
line-height: 16px;
}
td#save_filter_form-0-0,
td#save_filter_form-0-1,
td#save_filter_form-1-0 > input#text-id_name,
td#save_filter_form-1-1 > span,
td#save_filter_form-3-0 > span {
width: 300px !important;
}
div.white_box > ul > li,
div.filter-datatable-submain > form > ul > li {
display: grid;
}
div.white_box > ul > li > label,
div.filter-datatable-submain > form > ul > li > label {
margin-bottom: 10px;
font-weight: bold;
line-height: 16px;
font-size: 13px;
}
table.events-filters-create > tbody > tr > td > div > label,
table.events-filters-create > tbody > tr > td > div.flex-row > div > label {
font-size: 13px;
line-height: 16px;
text-align: left;
}
table.events-filters-create > tbody > tr > td > div > input,
table.events-filters-create > tbody > tr > td > div > div,
table.events-filters-create > tbody > tr > td > div > select,
table.events-filters-create > tbody > tr > td > div > span,
table.events-filters-create > tbody > tr > td > div.flex-row > div > div {
margin-top: 10px;
}
table.events-filters-create
> tbody
> tr
> td
> div
> div
> .ui-autocomplete-input {
width: 100%;
}
table.events-filters-create > tbody > tr > td > div.flex-row > div {
width: 48%;
}
td:has(div > .no-margin-top) {
margin-top: 0px !important;
padding-top: 0px !important;
}
.no-margin-top {
margin-top: 0px !important;
}
tr.datos > td.datos > div > label,
tr.datos2 > td.datos2 > div > label,
tr.datos2 > td.datos2 > div > div > label {
font-size: 13px;
line-height: 16px;
}
td[id^="basic_thresholds-"] .switch_radio_button > label[id^="label-radius"] {
line-height: 26px;
}
.mgn_tp_0_imp {
margin-top: 0px !important;
}
.dataTables_wrapper .dataTables_filter input {
margin: 0.5em;
}
.label-ipam {
font-size: 13px;
line-height: 16px;
font-weight: bold;
margin-bottom: 10px;
}
.label-ipam-calculator {
font-size: 13px;
line-height: 20px;
font-weight: bold;
}
#text-vrf_name {
width: 100%;
}
table.filter-table-adv td div.inline-radio-button {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
}
table.filter-table-adv td div.inline-radio-button input[type="radio"] {
width: 20px;
background-color: #f6f7fb;
border: 2px solid #c0ccdc;
border-radius: 6px;
height: 20px;
font-family: "lato";
font-size: 12px;
color: #333333;
padding-left: 12px;
margin-right: 10px;
}
.select2-w100p > span.select2 {
width: 100% !important;
}
form#create_site > ul {
display: flex;
flex-wrap: wrap;
}
.select-ips-ipam > select {
min-height: 19.8em !important;
}
div.margin-top-50p {
margin-top: 50% !important;
}
.line-height-normal {
line-height: normal;
}
div[id^="auto-os-"] > img {
width: 20px;
height: 20px;
}
.w22px {
width: 22px;
}
table#simple.floating_form tr[id^="simple-plugin_"],
table#simple.floating_form tr[id^="simple-macro_field"] {
display: grid;
margin-bottom: 10px;
}
table#simple.floating_form tr[id^="simple-macro_field"] > td > input {
width: 50%;
}
td.FF-thresholds-pdd {
padding: 0px !important;
padding-left: 13px !important;
}
div.grid-stack-item-content a.pandora_pagination,
a.mini-pandora-pagination {
padding: 7px;
font-size: 9pt;
}
input.mini-search-input {
height: 30px;
}
td#password_manage-captions_newpassword-0,
td#password_manage-fields_newpassword-0,
td#password_manage-captions_repeatpassword-0,
td#password_manage-fields_repeatpassword-0,
td#password_manage-captions_currentpassword-0,
td#password_manage-fields_currentpassword-0,
td#advanced-passwordManage_table-0,
td#home_screen_table-captions_homescreen-0,
td#home_screen_table-fields_homescreen-0,
td#advanced-homescreen_table-0 {
padding: 0px;
}
td.w75p#rightcolumn {
margin-right: 0%;
vertical-align: baseline;
}
/* Workaround specifically for alert server pending alerts list */
#pending_alerts_paginate {
margin-bottom: 15px;
}
.dataTables_filter > label {
color: #fff;
}
.dataTables_wrapper .dataTables_filter {
float: left;
text-align: right;
margin-left: 8%;
padding-left: 0px;
margin-top: -5px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
background: #bcbcbc;
}