colorpicker-simplegrid.css 998 B

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