All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.mats3.localinspect.localhtmlinspect.css Maven / Gradle / Ivy

Go to download

Mats^3 tool that can output an embeddable HTML describing a MatsFactory and all its endpoints, as well as "local statistics", gathered using a Mats Interceptor.

There is a newer version: 0.19.22-2024-11-09
Show newest version
/* Using "native font stacks" of Bootstrap 5 */

.matsli_report {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 13px;  /* Main setting of font size. Summary-table has it's own. */
    line-height: 1.6;
    color: #212529;
}

.matsli_report hr {
    margin: 1.9em 0 1.8em 0;
    padding: 0;
    height: 0;
    box-shadow: 0 0 10px 5px white;
    border: 3px solid white;
}

/* :: Fonts and headings */
.matsli_report h2, .matsli_report h3, .matsli_report h4 {
    /* Have to re-set font here, otherwise Bootstrap 3 takes over. */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    display: inline;
    line-height: 1.2;
}

.matsli_report h2 {
    font-size: 1.5em;
    font-weight: normal;
}

.matsli_report h3 {
    font-size: 1.4em;
    font-weight: normal;
}

.matsli_report h4 {
    font-size: 1.3em;
    font-weight: normal;
}

.matsli_heading {
    display: block;
    margin: 0em 0em 0.5em 0em;
}

.matsli_report code {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: .875em;
    color: #d63384;
    background-color: rgba(0, 0, 0, 0.07);
    padding: 2px 4px 1px 4px;
    border-radius: 3px;
}

.matsli_creation_info {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: .75em;
    color: #3d3d3d;
    padding: 0.1em 0.1em 0.4em 1em;
}

/* TABLE: Summary */

.matsli_table_summary {
    font-size: 12px;
    line-height: 1;
    border-collapse: collapse;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.matsli_table_summary thead th {
    position: sticky;
    z-index: 1;
    top: 0;
    background-color: #009879;
    color: #ffffff;
}

.matsli_table_summary th, .matsli_table_summary td {
    padding: 0.5em 0.5em 0.5em 0.5em;
}

.matsli_table_summary tbody tr {
    border-bottom: thin solid #dddddd;
}

.matsli_table_summary .matsli_summary_initiator_row {
    background-color: #ffffe0;
}

.matsli_table_summary tbody tr:not(.matsli_summary_initiator_row):nth-of-type(even) {
    background-color: #f3f3f3;
}

.matsli_table_summary tbody tr:hover {
    background-color: #ffff99 !important;
}

.matsli_table_summary tbody .matsli_summary_lastline {
    border-bottom: thick solid #009879;
}

.matsli_right {
    text-align: right;
}

.matsli_summary_time {
    font-size: 0.75em;
    padding: 0 0.2em 0 0.2em;
    vertical-align: 0.15em;
    margin: 0 0.1em 0 0.1em;
    display: inline-block;
}

/* The small box/"button" denoting a Stage in the Summary */
.matsli_stage_summary_box {
    background: #f0f0f0;
    display: inline-block;
    border-radius: 3px;
    box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.37);
    border: thin solid #a0a0a0;
    margin: 0 0.3em 0 0.15em;
    padding: 0.1em 0.1em 0.1em 0.1em;
}

/* Tooltip for the full StatsSnapshot, in Summary */
.matsli_tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
    cursor: default;
}

.matsli_tooltip .matsli_tooltiptext {
    visibility: hidden;
    width: 55em;
    background-color: rgba(210, 210, 210, 0.9);
    color: black;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
    bottom: 200%;
    left: 50%;
    margin-left: -27.5em; /* Use half of the width (120/2 = 60), to center the tooltip */
}

.matsli_tooltip:hover .matsli_tooltiptext {
    visibility: visible;
}

.matsli_tooltip .matsli_tooltiptext::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color:  rgba(210, 210, 210, 0.9) transparent transparent transparent;
}

/* :; Inside stage: Initiator-to-Terminator timings */

/* Table: Init-to-terminator */
.matsli_table_init_to_term {
    font-size: 12px;
    line-height: 1;
    border-collapse: collapse;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.matsli_table_init_to_term thead th {
    position: sticky;
    z-index: 1;
    top: 0;
    background-color: #009879;
    color: #ffffff;
}

.matsli_table_init_to_term th, .matsli_table_init_to_term td {
    padding: 0.5em 0.5em 0.5em 0.5em;
}

.matsli_table_init_to_term tbody tr {
    border-bottom: thin solid #dddddd;
}

.matsli_table_init_to_term .matsli_summary_initiator_row {
    background-color: #ffffe0;
}

.matsli_table_init_to_term tbody tr:not(.matsli_summary_initiator_row):nth-of-type(even) {
    background-color: #f3f3f3;
}

.matsli_table_init_to_term tbody tr:hover {
    background-color: #ffff99 !important;
}

.matsli_table_init_to_term tbody .matsli_summary_lastline {
    border-bottom: thick solid #009879;
}


/* Timings: min and max (timings) */
.matsli_min {
    top: +0.15em;
    position: relative;
    font-size: 0.75em;
}

.matsli_max {
    top: -0.45em;
    position: relative;
    font-size: 0.75em;
}

/* .. InitiatorIds and EndpointIds */
.matsli_iid {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: .875em;
    color: #d63384;
    background-color: rgba(0, 255, 0, 0.07);
    padding: 2px 4px 1px 4px;
    border-radius: 3px;
}

.matsli_epid {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: .875em;
    color: #d63384;
    background-color: rgba(0, 0, 255, 0.07);
    padding: 2px 4px 1px 4px;
    border-radius: 3px;
}

.matsli_appname {
    background-color: rgba(0, 255, 255, 0.07);
    padding: 2px 4px 1px 4px;
    border-radius: 3px;
}

.matsli_msgtype {
    background-color: rgba(255, 255, 0, 0.2);
    padding: 2px 4px 1px 4px;
    border-radius: 3px;
}

/* Outgoing and incoming messages */
.matsli_msgs_details {
    margin: 0 0 0 2em;
}

.matsli_msgs_summary {
    margin: 0 0 0 2em;
}

.matsli_noshow {
    display: none;
}

.matsli_msgs_summary_btn, .matsli_msgs_details_btn {
    display: inline-block;
    cursor: pointer;
    background: #f0f0f0;
    border-radius: 3px;
    line-height: 1.1;
    box-shadow: 0.5px 0.5px 0.5px 0px rgba(0, 0, 0, 0.2);
    border: thin solid #e0e0e0;
    /*margin: 0.2em 0 0.2em 0.5em;*/
    padding: 0.05em 0.3em 0.01em 0.3em;
    /*padding: 0;*/
}

.matsli_msgs_summary_or_details_btn_active {
    display: none;
    /*background: #d0e0d0;*/
}

/* :: The different main parts of the report */

.matsli_info {
    margin: 0em 0em 0em 0.5em;
}

/* Boxes for each part. */
.matsli_factory, .matsli_initiator, .matsli_endpoint, .matsli_stage {
    border-radius: 3px;
    box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.37);
    border: thin solid #a0a0a0;
    margin: 0.5em 0.5em 0.7em 0.5em;
    padding: 0.1em 0.5em 0.5em 0.5em;
}

/*.matsli_initiator, .matsli_endpoint {*/
/*    margin: 0.5em 0.5em 2em 0.5em;*/
/*}*/

.matsli_factory {
    background: #f0f0f0;
}

.matsli_initiator {
    background: #e0f0e0;
}

.matsli_endpoint {
    background: #e0e0f0;
}

.matsli_stage {
    background: #f0f0f0;
}

.matsli_hot {
    box-shadow: #FFF 0 -1px 4px, #ff0 0 -2px 10px, #ff8000 0 -10px 20px, red 0 -18px 40px, 5px 5px 15px 5px rgba(0, 0, 0, 0);
    border: 0.2em solid red;
    background: #ECEFCF;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy