/*

AUTHORS

 Copyright (C) 2010 Dmitry E. Oboukhov <unera@debian.org>
 Copyright (C) 2010 Roman V. Nikolaev <rshadow@rambler.ru>

LICENSE

This program is free software: you can redistribute  it  and/or  modify  it
under the terms of the GNU General Public License as published by the  Free
Software Foundation, either version 3 of the License, or (at  your  option)
any later version.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even  the  implied  warranty  of  MERCHANTABILITY  or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public  License  for
more details.

You should have received a copy of the GNU  General  Public  License  along
with this program.  If not, see <http://www.gnu.org/licenses/>.

*/

/* This file contain styles for Action frame */

/********************************************************************* Global */
body {
    background-color: white;
    color: WindowText;
    font-size: 10pt;
    font-family: sans;
    margin: 2px;
}

a {
    color: #a00;
    text-decoration: none;
}

a:visited {
    color: #a00;
    text-decoration: none;
}

a:hover {
    color: #a00;
    text-decoration: underline;
}

#action {
    width: 100%;
    border-collapse: collapse;
}

/*************************************************************** Items global */
table.action {
    width: 100%;
}

table.action tbody.item td {
    padding-top: 4px;
    padding-bottom: 4px;
}

table.action tbody.item.selected,
table.action tbody.item.selected tr,
table.action tbody.item.selected td {
    background-color: Highlight;
    color: HighlightText;
    border-color: Highlight;
}

table.action tbody.item td.img {
    width: 16px;
    height: 16px;
    background-image: url("status/other.png");
    background-repeat: no-repeat;
    background-position: center;
}

table.action tbody.item input {
    border: none;
    background-color: white;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

table.action tbody.item.selected input {
    background-color: Highlight;
    color: HighlightText;
}

table.action tbody.item td.count {
    padding-right: 5px;
    color: GrayText;
    text-align: right;
}

/*********************************************************** Items by actions */
table.action tbody.item.default td.img {
    background-image: url("status/default.png");
}

table.action tbody.item.active td.img {
    background-image: url("status/active.png");
}


table.action tbody.item.started td.img {
    background-image: url("status/started.png");
}

table.action tbody.item.stopped td.img {
    background-image: url("status/stopped.png");
}

table.action tbody.item.incomplete td.img {
    background-image: url("status/incomplete.png");
}

table.action tbody.item.complete td.img {
    background-image: url("status/complete.png");
}

table.action tbody.item.seeding td.img {
    background-image: url("status/seeding.png");
}


table.action tbody.item.hashing td.img {
    background-image: url("status/hashing.png");
}

/********************************************************************* Speeds */
table.status {
    position: absolute;
    bottom: 2px;
}

table.status td.down_speed_max,
table.status td.up_speed_max {
    white-space: nowrap;
}

table.status td.down_speed {
    background-position: center left;
    background-repeat: no-repeat;
    background-image: url("status/incomplete.png");
    padding-left: 20px;
}

table.status td.up_speed {
    background-position: center left;
    background-repeat: no-repeat;
    background-image: url("status/seeding.png");
    padding-left: 20px;
}