@import '../../shared/mixins',
        '../../shared/reset',
        '../../shared/about-dark';

/*
 * Copyright (c) 2012-2013 Thibaut Courouble
 * http://www.cssflow.com
 *
 * Licensed under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 */

html, body { min-height: 100%; }

body {
  font: 12px/20px 'Lucida Grande', Tahoma, Verdana, sans-serif;
  color: #404040;
  background: #744575;
  @include radial-gradient(center, circle cover, #9b729a, #5e2c61);
}

.notif {
  position: relative;
  margin: 60px auto;
  width: 288px;
  height: 62px;
  padding: 6px;
  line-height: 18px;
  font-size: 11px;
  color: rgba(#ccc, .9);
  text-shadow: 0 -1px black;
  background: rgba(#111, .48);
  /* Don't let the background bleed underneath our semi-transparent (rgba) border. */
  background-clip: padding-box;
  border: 1px solid;
  border-color: rgba(#111, .6) rgba(#111, .7) rgba(#111, .9);
  border-radius: 5px;
  /* This is the original gradient on a transparent background:
   * rgba(#808080, .5), rgba(#111, .48) 50%, rgba(#111, .58) 50%, rgba(#111, .68) 100%
   * I had to adapt it for a different background color in order
   * to support browsers that don't support linear-gradient. */
  @include linear-gradient(top,
                           rgba(#f2f2f2, .3),
                           rgba(#ddd, .01) 50%,
                           rgba(black, .12) 50%,
                           rgba(black, .3));
  @include box-shadow(inset 0 0 1px rgba(white, .5),
                      0 1px 2px rgba(black, .3));

  p { margin: 0; }

  a {
    font-weight: bold;
    color: rgba(#ddd, .9);
    text-decoration: none;
  }

  &:before {
    content: '';
    float: left;
    margin: -6px 14px -6px -6px;
    width: 74px;
    height: 74px;
    background: rgba(black, .1) url('../img/dribbble.png') center no-repeat;
    border-right: 1px solid rgba(#111, .4);
    border-radius: 5px 0 0 5px;
    @include box-shadow(1px 0 rgba(white, .05));
  }
}

.notif-title {
  margin: 0;
  line-height: 22px;
  font-size: 13px;
  font-weight: bold;
  color: rgba(white, .95);
}

.notif-close {
  position: absolute;
  top: 50%;
  right: 0;
  margin: -10px -10px 0 0;
  padding: 4px;
  width: 10px;
  height: 10px;
  background: #222;
  border: 1px solid rgba(black, .4);
  border-radius: 10px;
  @include hide-text;
  @include linear-gradient(top, #383838, #111);
  @include box-shadow(inset 0 1px rgba(white, .15));

  &:before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: url('../img/close.png');
  }
}

.notif-white {
  color: rgba(#333, .9);
  text-shadow: 0 1px rgba(white, .2);
  background-color: rgba(white, .3);
  border-color: rgba(#444, .6) rgba(#444, .7) rgba(#444, .8);
  /* rgba(white, .4), rgba(white, .33) 50%, rgba(#eaeaea, .3) 50%, rgba(#eaeaea, .35) 100% */
  @include linear-gradient(top,
                           rgba(white, .15),
                           rgba(white, .05) 50%,
                           rgba(#666, .1) 50%,
                           rgba(#777, .05));
  @include box-shadow(inset 0 0 1px rgba(white, .7),
                      0 1px 2px rgba(black, .2));

  &:before {
    background-color: rgba(white, .1);
    border-right-color: rgba(#333, .3);
    @include box-shadow(1px 0 rgba(white, .15));
  }

  .notif-title { color: rgba(black, .8); }

  a { color: rgba(#282828, .9); }
}