/* $Id: History.css 3088 2012-09-16 12:47:26Z 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/>.
 */

#history-bar {
  padding: 2px;
}

.history-more, .day-day, .day-close {
  background-color: #fafafa;
  background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
  background-repeat: repeat-x;
  border: 1px solid #d4d4d4;
  -webkit-border-radius: 4px;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
}

.history-more {
  width: 100%;
  box-sizing: border-box;
}

.history-more:hover {
  background-color: #f2f2f2;
  background-position: 0 -17px;
}

.history-more > span {
  display: inline-block;
  min-height: 16px;
  vertical-align: middle;
  padding-left: 2px;
}

.icon-history-more {
  background-image: url(qrc:/images/History/up.png);
}

.day-header {
  padding: 6px 0 0 2px;
  display: -webkit-box;
}

.day-day {
  padding: 2px 4px;
}

.day-day:hover {
  -webkit-border-top-right-radius: 0;
  -webkit-border-bottom-right-radius: 0;
}

.day-day a {
  display: inline-block;
  width: 100%;
}

.expanded .day-day, .expanded .day-close {
  border-bottom: 0;
  -webkit-border-bottom-left-radius: 0;
  -webkit-border-bottom-right-radius: 0;
}

.day-day, .day-day a, .day-close, .day-close a {
  color: #333333;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.day-close .close {
  font-size: 16px;
  line-height: 16px;
}

.day-close {
  display: none;
  border-left: none;
  vertical-align: middle;
  -webkit-border-radius: 0 4px 4px 0;
}

.day-day:hover, .day-close:hover {
  color: #333333;
  text-decoration: none;
  background-color: #f2f2f2;
  background-position: 0 -17px;
  -webkit-transition: background-position 0.1s linear;
}

.day-day:active, .day-close:active {
  background-image: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  background-color: #e6e6e6;
  color: rgba(0, 0, 0, 0.5);
  outline: 0;
}

.day-badge {
  font-size: 11.844px;
  font-weight: bold;
  line-height: 14px;
  height: 14px;
  color: #ffffff;
  vertical-align: baseline;
  white-space: nowrap;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #999999;
  padding: 1px 5px 2px;
  -webkit-border-radius: 9px;
  margin-left: 6px;
  display: none;
}
