dialog.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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 goog.ui.Dialog.
  9. *
  10. * @author ssaviano@google.com (Steven Saviano)
  11. * @author attila@google.com (Attila Bodis)
  12. */
  13. .modal-dialog {
  14. background: #c1d9ff;
  15. border: 1px solid #3a5774;
  16. color: #000;
  17. padding: 4px;
  18. position: absolute;
  19. }
  20. .modal-dialog a,
  21. .modal-dialog a:link,
  22. .modal-dialog a:visited {
  23. color: #06c;
  24. cursor: pointer;
  25. }
  26. .modal-dialog-bg {
  27. background: #666;
  28. left: 0;
  29. position: absolute;
  30. top: 0;
  31. }
  32. .modal-dialog-title {
  33. background: #e0edfe;
  34. color: #000;
  35. cursor: pointer;
  36. font-size: 120%;
  37. font-weight: bold;
  38. /* Add padding on the right to ensure the close button has room. */
  39. padding: 8px 31px 8px 8px;
  40. position: relative;
  41. _zoom: 1; /* Ensures proper width in IE6 RTL. */
  42. }
  43. .modal-dialog-title-close {
  44. /* Client apps may override the URL at which they serve the sprite. */
  45. background: #e0edfe url(//ssl.gstatic.com/editor/editortoolbar.png) no-repeat -528px 0;
  46. cursor: default;
  47. height: 15px;
  48. position: absolute;
  49. right: 10px;
  50. top: 8px;
  51. width: 15px;
  52. vertical-align: middle;
  53. }
  54. .modal-dialog-buttons,
  55. .modal-dialog-content {
  56. background-color: #fff;
  57. padding: 8px;
  58. }
  59. .goog-buttonset-default {
  60. font-weight: bold;
  61. }