dialog.css

Same filename in this branch
  1. 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/dialog.css
  2. 8.9.x core/themes/seven/css/components/dialog.css
  3. 8.9.x core/themes/bartik/css/classy/components/dialog.css
  4. 8.9.x core/themes/classy/css/components/dialog.css
  5. 8.9.x core/assets/vendor/jquery.ui/themes/base/dialog.css
  6. 8.9.x core/assets/vendor/ckeditor/skins/moono-lisa/dialog.css
  7. 8.9.x core/assets/vendor/ckeditor/plugins/dialog/styles/dialog.css
Same filename in other branches
  1. 9 core/profiles/demo_umami/themes/umami/css/classy/components/dialog.css
  2. 9 core/themes/seven/css/components/dialog.css
  3. 9 core/themes/claro/css/components/dialog.css
  4. 9 core/themes/bartik/css/classy/components/dialog.css
  5. 9 core/themes/starterkit_theme/css/components/dialog.css
  6. 9 core/themes/classy/css/components/dialog.css
  7. 9 core/assets/vendor/jquery.ui/themes/base/dialog.css
  8. 9 core/assets/vendor/ckeditor/skins/moono-lisa/dialog.css
  9. 9 core/assets/vendor/ckeditor/plugins/dialog/styles/dialog.css
  10. 10 core/profiles/demo_umami/themes/umami/css/classy/components/dialog.css
  11. 10 core/themes/claro/css/components/dialog.css
  12. 10 core/themes/starterkit_theme/css/components/dialog.css
  13. 10 core/assets/vendor/jquery.ui/themes/base/dialog.css
  14. 11.x core/profiles/demo_umami/themes/umami/css/classy/components/dialog.css
  15. 11.x core/themes/claro/css/components/dialog.css
  16. 11.x core/themes/starterkit_theme/css/components/dialog.css
  17. 11.x core/assets/vendor/jquery.ui/themes/base/dialog.css
/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/2815083
 * @preserve
 */

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

.ui-dialog {
  position: absolute;
  z-index: 1260;
  padding: 0;
  border: 0;
  background: transparent;
}

@media all and (max-width: 48em) { /* 768px */
  .ui-dialog {
    min-width: 92%;
    max-width: 92%;
  }
}

.ui-dialog .ui-dialog-titlebar {
  padding: 15px 49px 15px 15px; /* LTR */
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background: #6b6b6b;
}

[dir="rtl"] .ui-dialog .ui-dialog-titlebar {
  padding-right: 15px;
  padding-left: 49px;
}

.ui-dialog .ui-dialog-title {
  margin: 0;
  color: #fff;
  font-size: 1.231em;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}

.ui-dialog .ui-dialog-titlebar-close {
  position: absolute;
  top: 10px;
  right: 12px; /* LTR */
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  transition: all 0.1s;
  border: 3px solid #6b6b6b;
  border-radius: 5px;
  background: none;
}

.ui-dialog .ui-dialog-titlebar-close:hover,
.ui-dialog .ui-dialog-titlebar-close:focus {
  border-color: #fff;
}

[dir="rtl"] .ui-dialog .ui-dialog-titlebar-close {
  right: auto;
  left: 20px;
}

.ui-dialog .ui-icon.ui-icon-closethick {
  margin-top: -8px;
  background: url(../../images/core/ffffff/ex.svg) 0 0 no-repeat;
}

.ui-dialog .ui-widget-content.ui-dialog-content {
  overflow: auto;
  padding: 1em;
  background: #fff;
}

.views-ui-dialog .ui-widget-content.ui-dialog-content {
  padding: 0;
}

.ui-dialog .ui-widget-content.ui-dialog-buttonpane {
  /* border-top: 1px solid #bfbfbf; */
  margin: 0;
  padding: 15px 20px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  background: #f5f5f2;
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
  float: none;
  margin: 0;
  padding: 0;
}

.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 {
  margin: 0;
  padding: 0;
}

.ui-dialog .ajax-progress-throbber {
  position: fixed;
  z-index: 1000;
  top: 48.5%;
  /* Can't do center:50% middle: 50%, so approximate it for a typical window size. */
  left: 49%; /* LTR */
  width: 24px;
  height: 24px;
  padding: 4px;
  opacity: 0.9;
  border-radius: 7px;
  background-color: #232323;
  background-image: url(../../images/loading-small.gif);
  background-repeat: no-repeat;
  background-position: center center;
}

[dir="rtl"] .ui-dialog .ajax-progress-throbber {
  right: 49%;
  left: auto;
}

.ui-dialog .ajax-progress-throbber .throbber,
.ui-dialog .ajax-progress-throbber .message {
  display: none;
}

.ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar {
  position: relative;
}

.ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close {
  top: 10px;
}

.ui-dialog.ui-dialog-off-canvas .ui-widget-content.ui-dialog-content {
  background: none;
}

File

core/themes/claro/css/components/dialog.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/2815083
  5. * @preserve
  6. */
  7. /**
  8. * Presentational styles for Drupal dialogs.
  9. */
  10. .ui-dialog {
  11. position: absolute;
  12. z-index: 1260;
  13. padding: 0;
  14. border: 0;
  15. background: transparent;
  16. }
  17. @media all and (max-width: 48em) { /* 768px */
  18. .ui-dialog {
  19. min-width: 92%;
  20. max-width: 92%;
  21. }
  22. }
  23. .ui-dialog .ui-dialog-titlebar {
  24. padding: 15px 49px 15px 15px; /* LTR */
  25. border-top-left-radius: 5px;
  26. border-top-right-radius: 5px;
  27. background: #6b6b6b;
  28. }
  29. [dir="rtl"] .ui-dialog .ui-dialog-titlebar {
  30. padding-right: 15px;
  31. padding-left: 49px;
  32. }
  33. .ui-dialog .ui-dialog-title {
  34. margin: 0;
  35. color: #fff;
  36. font-size: 1.231em;
  37. font-weight: 600;
  38. -webkit-font-smoothing: antialiased;
  39. }
  40. .ui-dialog .ui-dialog-titlebar-close {
  41. position: absolute;
  42. top: 10px;
  43. right: 12px; /* LTR */
  44. width: 30px;
  45. height: 30px;
  46. margin: 0;
  47. padding: 0;
  48. transition: all 0.1s;
  49. border: 3px solid #6b6b6b;
  50. border-radius: 5px;
  51. background: none;
  52. }
  53. .ui-dialog .ui-dialog-titlebar-close:hover,
  54. .ui-dialog .ui-dialog-titlebar-close:focus {
  55. border-color: #fff;
  56. }
  57. [dir="rtl"] .ui-dialog .ui-dialog-titlebar-close {
  58. right: auto;
  59. left: 20px;
  60. }
  61. .ui-dialog .ui-icon.ui-icon-closethick {
  62. margin-top: -8px;
  63. background: url(../../images/core/ffffff/ex.svg) 0 0 no-repeat;
  64. }
  65. .ui-dialog .ui-widget-content.ui-dialog-content {
  66. overflow: auto;
  67. padding: 1em;
  68. background: #fff;
  69. }
  70. .views-ui-dialog .ui-widget-content.ui-dialog-content {
  71. padding: 0;
  72. }
  73. .ui-dialog .ui-widget-content.ui-dialog-buttonpane {
  74. /* border-top: 1px solid #bfbfbf; */
  75. margin: 0;
  76. padding: 15px 20px;
  77. border-bottom-right-radius: 5px;
  78. border-bottom-left-radius: 5px;
  79. background: #f5f5f2;
  80. }
  81. .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
  82. float: none;
  83. margin: 0;
  84. padding: 0;
  85. }
  86. .ui-dialog .ui-dialog-buttonpane .ui-button-text-only .ui-button-text {
  87. padding: 0;
  88. }
  89. .ui-dialog .ui-dialog-content {
  90. position: static;
  91. }
  92. /* Form action buttons are moved in dialogs. Remove empty space. */
  93. .ui-dialog .ui-dialog-content .form-actions {
  94. margin: 0;
  95. padding: 0;
  96. }
  97. .ui-dialog .ajax-progress-throbber {
  98. position: fixed;
  99. z-index: 1000;
  100. top: 48.5%;
  101. /* Can't do center:50% middle: 50%, so approximate it for a typical window size. */
  102. left: 49%; /* LTR */
  103. width: 24px;
  104. height: 24px;
  105. padding: 4px;
  106. opacity: 0.9;
  107. border-radius: 7px;
  108. background-color: #232323;
  109. background-image: url(../../images/loading-small.gif);
  110. background-repeat: no-repeat;
  111. background-position: center center;
  112. }
  113. [dir="rtl"] .ui-dialog .ajax-progress-throbber {
  114. right: 49%;
  115. left: auto;
  116. }
  117. .ui-dialog .ajax-progress-throbber .throbber,
  118. .ui-dialog .ajax-progress-throbber .message {
  119. display: none;
  120. }
  121. .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar {
  122. position: relative;
  123. }
  124. .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close {
  125. top: 10px;
  126. }
  127. .ui-dialog.ui-dialog-off-canvas .ui-widget-content.ui-dialog-content {
  128. background: none;
  129. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.