/* $Id: SendFile.css 3119 2012-09-24 04:49:23Z IMPOMEZIA $
 * IMPOMEZIA Simple Chat
 * Copyright (c) 2008-2012 IMPOMEZIA <schat@impomezia.com>
 *
 *   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/>.
 */

.file-type {
  box-shadow: 1px 1px 0px rgba(0,0,0,0.07);
}

.file-sender {
  float: left;
}

.file-buttons {
  float: right;
}

.file-block {
  float: left;
}

.file-icon {
  float: left;
  margin: 2px 4px 0 4px;
}

.file-name {
  font-weight: bold;
}

.file-only-name {
  display: inline-block;
  vertical-align: middle;
  min-height: 16px;
}

.file-state {
  color: rgba(0, 0, 50, .5);
}

.file-state-inactive {
  display: none;
}

.file-progress {
  height: 8px;
  width: 100px;
  float: right;
  margin: 1px 4px 0 10px;
  overflow: hidden;
  background-color: #f7f7f7;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
  background-repeat: repeat-x;
  -webkit-border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
  display: none;
}

.file-progress .bar {
  width: 0;
  height: 8px;
  font-size: 8px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #0e90d2;
  background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
  background-repeat: repeat-x;
  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  -webkit-box-sizing: border-box;
  -webkit-transition: width 0.6s ease;
}
