You are here

dialog.css in Dialog 7.2

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

.ui-dialog {
  background: transparent;
  border: 0;
  position: absolute;
  z-index: 1260;
  padding: 0;
}
@media all and (max-width: 48em) { /* 768px */
  .ui-dialog {
    min-width: 92%;
    max-width: 92%;
  }
}
.ui-dialog .ui-dialog-titlebar {
  background: #6b6b6b;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 15px 49px 15px 15px;
}
.ui-dialog .ui-dialog-title {
  font-size: 1.231em;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}
.ui-dialog .ui-dialog-titlebar-close {
  border: 0;
  background: none;
  right: 20px; /* LTR */
  top: 20px;
  margin: 0;
  height: 16px;
  width: 16px;
  position: absolute;
}
[dir="rtl"] .ui-dialog .ui-dialog-titlebar-close {
  right: auto;
  left: 20px;
}
.ui-dialog .ui-icon.ui-icon-closethick {
  background: url(../../../../misc/icons/ffffff/ex.svg) 0 0 no-repeat;
  margin-top: -12px;
}
.ui-dialog .ui-widget-content.ui-dialog-content {
  background: #ffffff;
  overflow: auto;
  padding: 1em;
}
.views-ui-dialog .ui-widget-content.ui-dialog-content {
  padding: 0;
}
.ui-dialog .ui-widget-content.ui-dialog-buttonpane {
  background: #f5f5f2;
  /*border-top: 1px solid #bfbfbf;*/
  margin: 0;
  padding: 15px 20px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
  margin: 0;
  padding: 0;
  float: none;
}
.ui-dialog .ui-dialog-buttonpane .ui-button-text-only .ui-button-text {
  padding: 0;
}
.ui-dialog .ui-dialog-content {
  position: static;
}

/* 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%; /* LTR */
  position: fixed;
  top: 48.5%;
  z-index: 1000;
  background-color: #232323;
  background-image: url(../../../../misc/loading-small.gif);
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 7px;
  height: 24px;
  opacity: 0.9;
  padding: 4px;
  width: 24px;
}
[dir="rtl"] .ui-dialog .ajax-progress-throbber {
  left: auto;
  right: 49%;
}
.ui-dialog .ajax-progress-throbber .throbber,
.ui-dialog .ajax-progress-throbber .message {
  display: none;
}

File

themes/seven/css/components/dialog.css
View source
  1. /**
  2. * Presentational styles for Drupal dialogs.
  3. */
  4. .ui-dialog {
  5. background: transparent;
  6. border: 0;
  7. position: absolute;
  8. z-index: 1260;
  9. padding: 0;
  10. }
  11. @media all and (max-width: 48em) { /* 768px */
  12. .ui-dialog {
  13. min-width: 92%;
  14. max-width: 92%;
  15. }
  16. }
  17. .ui-dialog .ui-dialog-titlebar {
  18. background: #6b6b6b;
  19. border-top-left-radius: 5px;
  20. border-top-right-radius: 5px;
  21. padding: 15px 49px 15px 15px;
  22. }
  23. .ui-dialog .ui-dialog-title {
  24. font-size: 1.231em;
  25. font-weight: 600;
  26. margin: 0;
  27. color: #ffffff;
  28. -webkit-font-smoothing: antialiased;
  29. }
  30. .ui-dialog .ui-dialog-titlebar-close {
  31. border: 0;
  32. background: none;
  33. right: 20px; /* LTR */
  34. top: 20px;
  35. margin: 0;
  36. height: 16px;
  37. width: 16px;
  38. position: absolute;
  39. }
  40. [dir="rtl"] .ui-dialog .ui-dialog-titlebar-close {
  41. right: auto;
  42. left: 20px;
  43. }
  44. .ui-dialog .ui-icon.ui-icon-closethick {
  45. background: url(../../../../misc/icons/ffffff/ex.svg) 0 0 no-repeat;
  46. margin-top: -12px;
  47. }
  48. .ui-dialog .ui-widget-content.ui-dialog-content {
  49. background: #ffffff;
  50. overflow: auto;
  51. padding: 1em;
  52. }
  53. .views-ui-dialog .ui-widget-content.ui-dialog-content {
  54. padding: 0;
  55. }
  56. .ui-dialog .ui-widget-content.ui-dialog-buttonpane {
  57. background: #f5f5f2;
  58. /*border-top: 1px solid #bfbfbf;*/
  59. margin: 0;
  60. padding: 15px 20px;
  61. border-bottom-left-radius: 5px;
  62. border-bottom-right-radius: 5px;
  63. }
  64. .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
  65. margin: 0;
  66. padding: 0;
  67. float: none;
  68. }
  69. .ui-dialog .ui-dialog-buttonpane .ui-button-text-only .ui-button-text {
  70. padding: 0;
  71. }
  72. .ui-dialog .ui-dialog-content {
  73. position: static;
  74. }
  75. /* Form action buttons are moved in dialogs. Remove empty space. */
  76. .ui-dialog .ui-dialog-content .form-actions {
  77. padding: 0;
  78. margin: 0;
  79. }
  80. .ui-dialog .ajax-progress-throbber {
  81. /* Can't do center:50% middle: 50%, so approximate it for a typical window size. */
  82. left: 49%; /* LTR */
  83. position: fixed;
  84. top: 48.5%;
  85. z-index: 1000;
  86. background-color: #232323;
  87. background-image: url(../../../../misc/loading-small.gif);
  88. background-position: center center;
  89. background-repeat: no-repeat;
  90. border-radius: 7px;
  91. height: 24px;
  92. opacity: 0.9;
  93. padding: 4px;
  94. width: 24px;
  95. }
  96. [dir="rtl"] .ui-dialog .ajax-progress-throbber {
  97. left: auto;
  98. right: 49%;
  99. }
  100. .ui-dialog .ajax-progress-throbber .throbber,
  101. .ui-dialog .ajax-progress-throbber .message {
  102. display: none;
  103. }