colorpalette.css 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. * Standard styling for color palettes.
  9. *
  10. * @author pupius@google.com (Daniel Pupius)
  11. * @author attila@google.com (Attila Bodis)
  12. */
  13. .goog-palette-cell .goog-palette-colorswatch {
  14. border: none;
  15. font-size: x-small;
  16. height: 18px;
  17. position: relative;
  18. width: 18px;
  19. }
  20. .goog-palette-cell-hover .goog-palette-colorswatch {
  21. border: 1px solid #fff;
  22. height: 16px;
  23. width: 16px;
  24. }
  25. .goog-palette-cell-selected .goog-palette-colorswatch {
  26. /* Client apps may override the URL at which they serve the sprite. */
  27. background: url(//ssl.gstatic.com/editor/editortoolbar.png) no-repeat -368px 0;
  28. border: 1px solid #333;
  29. color: #fff;
  30. font-weight: bold;
  31. height: 16px;
  32. width: 16px;
  33. }
  34. .goog-palette-customcolor {
  35. background-color: #fafafa;
  36. border: 1px solid #eee;
  37. color: #666;
  38. font-size: x-small;
  39. height: 15px;
  40. position: relative;
  41. width: 15px;
  42. }
  43. .goog-palette-cell-hover .goog-palette-customcolor {
  44. background-color: #fee;
  45. border: 1px solid #f66;
  46. color: #f66;
  47. }