| 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 |
* Standard styling for buttons created by goog.ui.FlatMenuButtonRenderer. |
| 10 |
* |
| 11 |
* @author [email protected] (Attila Bodis) |
| 12 |
* @author [email protected] (Thierry Le Boulenge) |
| 13 |
*/ |
| 14 |
|
| 15 |
|
| 16 |
.goog-flat-menu-button { |
| 17 |
background-color: #fff; |
| 18 |
border: 1px solid #c9c9c9; |
| 19 |
color: #333; |
| 20 |
cursor: pointer; |
| 21 |
font: normal 95%; |
| 22 |
list-style: none; |
| 23 |
margin: 0 2px; |
| 24 |
outline: none; |
| 25 |
padding: 1px 4px; |
| 26 |
position: relative; |
| 27 |
text-decoration: none; |
| 28 |
vertical-align: middle; |
| 29 |
} |
| 30 |
|
| 31 |
.goog-flat-menu-button-disabled * { |
| 32 |
border-color: #ccc; |
| 33 |
color: #999; |
| 34 |
cursor: default; |
| 35 |
} |
| 36 |
|
| 37 |
.goog-flat-menu-button-hover { |
| 38 |
border-color: #9cf #69e #69e #7af !important; /* Hover border wins. */ |
| 39 |
} |
| 40 |
|
| 41 |
.goog-flat-menu-button-active { |
| 42 |
background-color: #bbb; |
| 43 |
background-position: bottom left; |
| 44 |
} |
| 45 |
|
| 46 |
.goog-flat-menu-button-focused { |
| 47 |
border-color: #bbb; |
| 48 |
} |
| 49 |
|
| 50 |
.goog-flat-menu-button-caption { |
| 51 |
padding-right: 10px; |
| 52 |
vertical-align: top; |
| 53 |
} |
| 54 |
|
| 55 |
.goog-flat-menu-button-dropdown { |
| 56 |
/* Client apps may override the URL at which they serve the sprite. */ |
| 57 |
background: url(//ssl.gstatic.com/editor/editortoolbar.png) no-repeat -388px 0; |
| 58 |
position: absolute; |
| 59 |
right: 2px; |
| 60 |
top: 0; |
| 61 |
vertical-align: top; |
| 62 |
width: 7px; |
| 63 |
} |