You are here

dialog.theme.css in Dialog 7.2

/**
 * Presentational styles for Drupal dialogs.
 */

.ui-dialog {
  position: absolute;
  z-index: 1260;
  overflow: visible;
  color: #000;
  background: #fff;
  border: solid 1px #ccc;
  padding: 0;
}
@media all and (max-width: 48em) { /* 768px */
  .ui-dialog {
    width: 92% !important;
  }
}
.ui-dialog .ui-dialog-titlebar {
  font-weight: bold;
  background: #f3f4ee;
  border-style: solid;
  border-radius: 0;
  border-width: 0 0 1px 0;
  border-color: #ccc;
}
.ui-dialog .ui-dialog-titlebar-close {
  border: 0;
  background: none;
}
.ui-dialog .ui-dialog-buttonpane {
  margin-top: 0;
  background: #f3f4ee;
  padding: .3em 1em;
  border-width: 1px 0 0 0;
  border-color: #ccc;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
  margin: 0;
  padding: 0;
}
.ui-dialog .ui-dialog-buttonpane .ui-button-text-only .ui-button-text {
  padding: 0;
}

/* Form action buttons are moved in dialogs. Remove empty space. */
.ui-dialog .ui-dialog-content .form-actions {
  padding: 0;
  margin: 0;
}
.ui-dialog .ajax-progress-throbber {
  /* Can't do center:50% middle: 50%, so approximate it for a typical window size. */
  left: 49%;
  position: fixed;
  top: 48.5%;
  z-index: 1000;
  background-color: #232323;
  background-image: url(loading-small.gif);
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 7px;
  height: 24px;
  opacity: 0.9;
  padding: 4px;
  width: 24px;
}
.ui-dialog .ajax-progress-throbber .throbber,
.ui-dialog .ajax-progress-throbber .message {
  display: none;
}

File

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