dialog.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /**
  2. * @file
  3. * Presentational styles for Drupal dialogs.
  4. */
  5. .ui-dialog {
  6. position: absolute;
  7. z-index: 1260;
  8. overflow: visible;
  9. padding: 0;
  10. color: #000;
  11. border: solid 1px #ccc;
  12. background: #fff;
  13. }
  14. @media all and (max-width: 48em) { /* 768px */
  15. .ui-dialog {
  16. width: 92% !important;
  17. }
  18. }
  19. .ui-dialog .ui-dialog-titlebar {
  20. border-width: 0 0 1px 0;
  21. border-style: solid;
  22. border-color: #ccc;
  23. border-radius: 0;
  24. background: #f3f4ee;
  25. font-weight: bold;
  26. }
  27. .ui-dialog .ui-dialog-titlebar-close {
  28. border: 0;
  29. background: none;
  30. }
  31. .ui-dialog .ui-dialog-buttonpane {
  32. margin-top: 0;
  33. padding: 0.3em 1em;
  34. border-width: 1px 0 0 0;
  35. border-color: #ccc;
  36. background: #f3f4ee;
  37. }
  38. .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
  39. margin: 0;
  40. padding: 0;
  41. }
  42. .ui-dialog .ui-dialog-buttonpane .ui-button-text-only .ui-button-text {
  43. padding: 0;
  44. }
  45. /* Form action buttons are moved in dialogs. Remove empty space. */
  46. .ui-dialog .ui-dialog-content .form-actions {
  47. margin: 0;
  48. padding: 0;
  49. }
  50. .ui-dialog .ajax-progress-throbber {
  51. position: fixed;
  52. z-index: 1000;
  53. top: 48.5%;
  54. /* Can't do center:50% middle: 50%, so approximate it for a typical window size. */
  55. left: 49%;
  56. width: 24px;
  57. height: 24px;
  58. padding: 4px;
  59. opacity: 0.9;
  60. border-radius: 7px;
  61. background-color: #232323;
  62. background-image: url(../../../../../../../misc/loading-small.gif);
  63. background-repeat: no-repeat;
  64. background-position: center center;
  65. }
  66. .ui-dialog .ajax-progress-throbber .throbber,
  67. .ui-dialog .ajax-progress-throbber .message {
  68. display: none;
  69. }