Home | History | Annotate | Download | only in css
      1 button,
      2 input[type='button'],
      3 input[type='submit'] {
      4   -webkit-border-radius: 2px;
      5   -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
      6   -webkit-user-select: none;
      7   background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5);
      8   border: 1px solid #aaa;
      9   color: #444;
     10   font-size: inherit;
     11   margin-bottom: 0px;
     12   min-width: 4em;
     13   padding: 3px 12px 3px 12px;
     14 }
     15 
     16 button:hover,
     17 input[type='button']:hover,
     18 input[type='submit']:hover {
     19   -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
     20   background: #ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9);
     21   border-color: #999;
     22   color: #222;
     23 }
     24 
     25 button:active,
     26 input[type='button']:active,
     27 input[type='submit']:active {
     28   -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
     29   background: #ebebeb -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc);
     30   color: #333;
     31 }
     32 
     33 button[disabled],
     34 input[type='button'][disabled],
     35 input[type='submit'][disabled],
     36 button[disabled]:hover,
     37 input[type='button'][disabled]:hover,
     38 input[type='submit'][disabled]:hover {
     39   -webkit-box-shadow: none;
     40   background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5);
     41   border-color: #aaa;
     42   color: #888;
     43 }
     44