dialog.css

Same filename in this branch
  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/assets/vendor/jquery.ui/themes/base/dialog.css
  7. 9 core/assets/vendor/ckeditor/skins/moono-lisa/dialog.css
  8. 9 core/assets/vendor/ckeditor/plugins/dialog/styles/dialog.css
Same filename in other branches
  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/claro/css/components/dialog.css
  4. 8.9.x core/themes/bartik/css/classy/components/dialog.css
  5. 8.9.x core/themes/classy/css/components/dialog.css
  6. 8.9.x core/assets/vendor/jquery.ui/themes/base/dialog.css
  7. 8.9.x core/assets/vendor/ckeditor/skins/moono-lisa/dialog.css
  8. 8.9.x core/assets/vendor/ckeditor/plugins/dialog/styles/dialog.css
  9. 10 core/profiles/demo_umami/themes/umami/css/classy/components/dialog.css
  10. 10 core/themes/claro/css/components/dialog.css
  11. 10 core/themes/starterkit_theme/css/components/dialog.css
  12. 10 core/assets/vendor/jquery.ui/themes/base/dialog.css
  13. 11.x core/profiles/demo_umami/themes/umami/css/classy/components/dialog.css
  14. 11.x core/themes/claro/css/components/dialog.css
  15. 11.x core/themes/starterkit_theme/css/components/dialog.css
  16. 11.x core/assets/vendor/jquery.ui/themes/base/dialog.css

Presentational styles for Drupal dialogs.

File

core/themes/classy/css/components/dialog.css

View source
  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. }

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