| 1 |
/* |
| 2 |
* Copyright 2009 The Closure Library Authors. All Rights Reserved. |
| 3 |
* |
| 4 |
* Use of this source code is governed by the Apache License, Version 2.0. |
| 5 |
* See the COPYING file for details. |
| 6 |
*/ |
| 7 |
|
| 8 |
/* |
| 9 |
* Styling for flat buttons created by goog.ui.FlatButtonRenderer. |
| 10 |
* |
| 11 |
* @author [email protected] (Brian Peterson) |
| 12 |
*/ |
| 13 |
|
| 14 |
.goog-flat-button { |
| 15 |
position: relative; |
| 16 |
/*width: 20ex;*/ |
| 17 |
margin: 2px; |
| 18 |
border: 1px solid #000; |
| 19 |
padding: 2px 6px; |
| 20 |
font: normal 13px "Trebuchet MS", Tahoma, Arial, sans-serif; |
| 21 |
color: #fff; |
| 22 |
background-color: #8c2425; |
| 23 |
cursor: pointer; |
| 24 |
outline: none; |
| 25 |
} |
| 26 |
|
| 27 |
/* State: disabled. */ |
| 28 |
.goog-flat-button-disabled { |
| 29 |
border-color: #888; |
| 30 |
color: #888; |
| 31 |
background-color: #ccc; |
| 32 |
cursor: default; |
| 33 |
} |
| 34 |
|
| 35 |
/* State: hover. */ |
| 36 |
.goog-flat-button-hover { |
| 37 |
border-color: #8c2425; |
| 38 |
color: #8c2425; |
| 39 |
background-color: #eaa4a5; |
| 40 |
} |
| 41 |
|
| 42 |
/* State: active, selected, checked. */ |
| 43 |
.goog-flat-button-active, |
| 44 |
.goog-flat-button-selected, |
| 45 |
.goog-flat-button-checked { |
| 46 |
border-color: #5b4169; |
| 47 |
color: #5b4169; |
| 48 |
background-color: #d1a8ea; |
| 49 |
} |
| 50 |
|
| 51 |
/* State: focused. */ |
| 52 |
.goog-flat-button-focused { |
| 53 |
border-color: #5b4169; |
| 54 |
} |
| 55 |
|
| 56 |
/* Pill (collapsed border) styles. */ |
| 57 |
.goog-flat-button-collapse-right { |
| 58 |
margin-right: 0; |
| 59 |
} |
| 60 |
|
| 61 |
.goog-flat-button-collapse-left { |
| 62 |
margin-left: 0; |
| 63 |
border-left: none; |
| 64 |
} |