| 1 |
/* |
| 2 |
* Copyright 2007 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 |
/* Author: [email protected] (Daniel Pupius) */ |
| 9 |
|
| 10 |
/* |
| 11 |
Styles to make the colorpicker look like the old gmail color picker |
| 12 |
NOTE: without CSS scoping this will override styles defined in palette.css |
| 13 |
*/ |
| 14 |
.goog-palette { |
| 15 |
outline: none; |
| 16 |
cursor: default; |
| 17 |
} |
| 18 |
|
| 19 |
.goog-palette-table { |
| 20 |
border: 1px solid #666; |
| 21 |
border-collapse: collapse; |
| 22 |
} |
| 23 |
|
| 24 |
.goog-palette-cell { |
| 25 |
height: 13px; |
| 26 |
width: 15px; |
| 27 |
margin: 0; |
| 28 |
border: 0; |
| 29 |
text-align: center; |
| 30 |
vertical-align: middle; |
| 31 |
border-right: 1px solid #666; |
| 32 |
font-size: 1px; |
| 33 |
} |
| 34 |
|
| 35 |
.goog-palette-colorswatch { |
| 36 |
position: relative; |
| 37 |
height: 13px; |
| 38 |
width: 15px; |
| 39 |
border: 1px solid #666; |
| 40 |
} |
| 41 |
|
| 42 |
.goog-palette-cell-hover .goog-palette-colorswatch { |
| 43 |
border: 1px solid #FFF; |
| 44 |
} |
| 45 |
|
| 46 |
.goog-palette-cell-selected .goog-palette-colorswatch { |
| 47 |
border: 1px solid #000; |
| 48 |
color: #fff; |
| 49 |
} |