checkbox.css 892 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. /* Author: pallosp@google.com (Peter Pallos) */
  8. /* Sample 3-state checkbox styles. */
  9. .goog-checkbox {
  10. border: 1px solid #1C5180;
  11. display: -moz-inline-box;
  12. display: inline-block;
  13. font-size: 1px; /* Fixes the height in IE6 */
  14. height: 11px;
  15. margin: 0 4px 0 1px;
  16. vertical-align: text-bottom;
  17. width: 11px;
  18. }
  19. .goog-checkbox-checked {
  20. background: #fff url(//ssl.gstatic.com/closure/check-sprite.gif) no-repeat 2px center;
  21. }
  22. .goog-checkbox-undetermined {
  23. background: #bbb url(//ssl.gstatic.com/closure/check-sprite.gif) no-repeat 2px center;
  24. }
  25. .goog-checkbox-unchecked {
  26. background: #fff;
  27. }
  28. .goog-checkbox-disabled {
  29. border: 1px solid lightgray;
  30. background-position: -7px;
  31. }