dialog.css 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /**
  2. * @file
  3. * Presentational styles for Drupal dialogs.
  4. */
  5. .ui-dialog {
  6. position: absolute;
  7. z-index: 1260;
  8. overflow: visible;
  9. color: #000;
  10. background: #fff;
  11. border: solid 1px #ccc;
  12. padding: 0;
  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. font-weight: bold;
  21. background: #f3f4ee;
  22. border-style: solid;
  23. border-radius: 0;
  24. border-width: 0 0 1px 0;
  25. border-color: #ccc;
  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. background: #f3f4ee;
  34. padding: 0.3em 1em;
  35. border-width: 1px 0 0 0;
  36. border-color: #ccc;
  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. padding: 0;
  48. margin: 0;
  49. }
  50. .ui-dialog .ajax-progress-throbber {
  51. /* Can't do center:50% middle: 50%, so approximate it for a typical window size. */
  52. left: 49%;
  53. position: fixed;
  54. top: 48.5%;
  55. z-index: 1000;
  56. background-color: #232323;
  57. background-image: url(../../../../misc/loading-small.gif);
  58. background-position: center center;
  59. background-repeat: no-repeat;
  60. border-radius: 7px;
  61. height: 24px;
  62. opacity: 0.9;
  63. padding: 4px;
  64. width: 24px;
  65. }
  66. .ui-dialog .ajax-progress-throbber .throbber,
  67. .ui-dialog .ajax-progress-throbber .message {
  68. display: none;
  69. }