/* Pt-web/src/doc-root/Pt-web.css
 * 
 *  Copyright: ©2013–2015, Güralp Systems Ltd.
 *  Author: Laurence Withers <lwithers@guralp.com>
 *  License: GPLv3
 */



/*
 * Page body: add left margin
 *  This is required since we're stuck using a frameset for now. Without it, the
 *  page content touches the frame line which is extremely ugly.
 */
body {
    margin-left: 8px;
}



/*
 * Assertion failed
 */

.assert {
    border: solid thick red;
    font-weight: bold;
    font-size: large;
}



/*
 * Small, inline error message
 */

.errorMessage:before {
    content: url(/static/icon-s/Error.png);
}
.errorMessage {
    background: rgb(255,232,232);
}



/*
 * Small, inline success message
 */

.successMessage {
    background: rgb(232,255,232);
}



/*
 * Serial port configuration widgets
 */

.SerialPortConfigBase table {
    border: solid thick black;
    border-collapse: collapse;
}

.SerialPortConfigBase td {
    padding: 0.1em 0.2em 0.1em 0.2em;
    border: solid thin rgb(192,192,192);
}

.SerialPortConfigDesc {
    width: 20em;
}



/*
 * CSS classes for lightweight table
 */
.PtTable td, .PtTable th {
    padding: 0.1em 0.2em 0.1em 0.2em;
    vertical-align: middle;
}

.PtTableL1 {
    border-left: solid thin black;
}

.PtTableL2 {
    border-left: solid thin rgb(192,192,192);
}

.PtTableT1 {
    border-top: solid thin black;
}

.PtTableT2 {
    border-top: solid thin rgb(192,192,192);
}



/* options for text editors
vim: ts=4:sw=4:expandtab
*/
