flatmenubutton.css 1.3 KB

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