
/* buttons.css
   jt6 20120419 WTSI

   Style the pretty CSS buttons.
   
   $Id$
   
   Copyright (c) 2012: Genome Research Ltd.
   
   Authors: John Tate (jt6@sanger.ac.uk)
   
   This 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 2 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/>.
    
*/

a.btn {
  text-decoration: none ! important;
  border-radius: 5px;
  padding: 5px 5px 5px 5px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.6);
  font-family: sans-serif;
  font-weight: bold;
  color: rgba(255,255,255,1) ! important;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
  position: relative;
  cursor: pointer;
  padding: 2px 4px;
  margin: 4px 0;
  vertical-align: middle;
  font-size: small;
}   

a.btn:active, a.btn:focus {
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.6);
  top: 1px;
  /* left: 1px; */
}   

a.btn.disabled {
  color: rgba(50,50,50,0.6) ! important;
  border: 1px solid rgba(163,163,163,1);
  background-image: linear-gradient(top,         rgb(212,212,212) 0%, rgb(163,163,163) 97%) ! important;
  background-image: -o-linear-gradient(top,      rgb(212,212,212) 0%, rgb(163,163,163) 97%) ! important;
  background-image: -moz-linear-gradient(top,    rgb(212,212,212) 0%, rgb(163,163,163) 97%) ! important;
  background-image: -webkit-linear-gradient(top, rgb(212,212,212) 0%, rgb(163,163,163) 97%) ! important;
  background-image: -ms-linear-gradient(top,     rgb(212,212,212) 0%, rgb(163,163,163) 97%) ! important;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0.1, rgb(163,163,163)),
    color-stop(0.25, rgb(212,212,212)),
    color-stop(0.5, rgb(163,163,163))
  ) ! important;  
  cursor: default;
}   

a.btn.disabled:active, a.btn.disabled:focus {
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.6);
  top: 0;
  left: 0;
}   

a.btn.go {
  margin-left: 4px;
}

