/* $Header: /local/cvs_repository/c24.cafmodule/web_static/css/dashboard.css,v 1.5 2011/11/03 12:36:18 sacha Exp $ */
/*----------------------------------------------------------------------*/

/* Dashboard globals */

div.dashboard-contents {
    /* floatcontainer */
    zoom:1; /* for IE6 to trigger overflow */
    overflow: hidden;
}

div.dashboard-body {
    width: 960px;
}

div.dashboard-body h1#pagetitle {
    font-size: 131%;
    font-weight: bold;
    margin-bottom: 1em;
}

div.dashboard-body h2 {
    font-size: 116%;
    font-weight: bold;
}

div.dashboard-body div#type-title {
    font-size: 116%;
    font-weight: bold;
}

div#dashboard-lhs {
    width: 630px;
}

div#dashboard-lhs p {
    margin-bottom: 1em;
}

div#dashboard-credits {
    clear: both;
}

div#dashboard-intro {
    width: 630px;
}


div#dashboard-news,
div#dashboard-bbcttd {
    width: 570px; /* slightly narrow or it peeps out behind splash */
    padding: 9px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

    -moz-box-shadow: 0px 0px 5px #ccc;
    -webkit-box-shadow: 0px 0px 5px #ccc;
    box-shadow: 0px 0px 5px #ccc;
}
div#dashboard div#dashboard-news ul,
div#dashboard div#dashboard-bbcttd ul {
    margin: 0.75em 0;
}
div#dashboard div#dashboard-news ul li,
div#dashboard div#dashboard-bbcttd ul li {
    list-style: disc inside;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}

div#dashboard-message-top {
    background-color: #fe9;
    border: 1px solid #ccc;
    width: 420px;
    padding: 9px;
    margin-bottom: 2em;

    -moz-box-shadow: 3px  3px 3px #ccc;
    -webkit-box-shadow: 3px 3px 3px #ccc;
    box-shadow: 3px 3px 3px #ccc;
}

div#dashboard-message {
    clear: both;
    float: right;
    width: 270px;
    padding: 9px;
    margin-bottom: 2em;
}

div#dashboard-message {
    -moz-box-shadow: 3px  3px 3px #ccc;
    -webkit-box-shadow: 3px 3px 3px #ccc;
    box-shadow: 3px 3px 3px #ccc;
}

div#dashboard-message {
    background-color: #fe9;
    border: 1px solid #ccc;
}




/* Dashboard login page */

div#dashboard-login h2 {
    font-weight: bold;
    margin-bottom: 1em;
}

div#login-form {
    width: 420px;
    margin: 20px 0px;
}



/* Dashboard 403 page */

div#dashboard-tnc {
    border: solid 1px #ccc;
    width: 620px;
    height: 200px;
    overflow: auto;
    padding: 10px;
    background-color: #eee;
    margin: 10px 0px;
    font-family: monospace;

    -moz-box-shadow: 0px 0px 5px #ccc;
    -webkit-box-shadow: 0px 0px 5px #ccc;
    box-shadow: 0px 0px 5px #ccc;
}
div#dashboard-tnc p {
    margin-bottom: 1em;
}
div#dashboard-tnc ul li {
    list-style-type: disc;
    list-style-position: outside;
    margin-left: 1em;
    margin-bottom: 0.5em;
}

/* Dashboard page */

div#dashboard ul#grouplist {
    margin-top: 1em;
    margin-left: 1em;
}
div#dashboard ul#grouplist li {
    margin-top: 0.5em;
    margin-bottom: 0;
}

/* Record manager page */

div#dashboard-recman ul li {
    margin-left: 16px;
}

div#dashboard-recman a.toggleon,
div#dashboard-recman a.toggleoff {
    margin-left: -16px;
    padding-left: 16px;
    background-repeat: no-repeat;
    background-position: middle left;
}

.ext-ie7 div#dashboard-recman a.toggleon,
.ext-ie7 div#dashboard-recman a.toggleoff {
    margin-left: 0px; /* not quite the same, but it'll have to do */
}

div#dashboard-recman a.toggleon {
    background-image: url('../../img/extjs/icons/bullet_toggle_minus.png');
}
div#dashboard-recman a.toggleoff {
    background-image: url('../../img/extjs/icons/bullet_toggle_plus.png');
}

.dashboard-recman-form {
    margin-top: 0.5em;
}

div#dashboard-recman form.upload-form {
    border: solid 1px #99BBE8; /* to match extjs forms */
    background-color: #fff;
    padding: 5px;
}


/* let's stick with blue links please */

div#dashboard-recman-contents a,
div#dashboard-recman-contents a:link,
div#dashboard-recman-contents a:visited,
div#dashboard-recman-contents a:hover,
div#dashboard-recman-contents a:active {
    color: #0000ff !important;
}


/* prevent super long comments blowing out the table */

div#dashboard-search-result table#recordbrowse td.cell-title {
    max-width: 340px;
}


/* Record editor */

.c24-privileged-field .x-form-element {
    background-color: #d8d8d8;
    padding: 5px 0px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.c24-privileged-field .x-form-item-label {
    margin-top: 5px;
}


