dialog.css

Same filename in this branch
  1. 11.x core/themes/claro/css/components/dialog.css
  2. 11.x core/themes/starterkit_theme/css/components/dialog.css
  3. 11.x core/assets/vendor/jquery.ui/themes/base/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. 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/dialog.css
  11. 8.9.x core/themes/seven/css/components/dialog.css
  12. 8.9.x core/themes/claro/css/components/dialog.css
  13. 8.9.x core/themes/bartik/css/classy/components/dialog.css
  14. 8.9.x core/themes/classy/css/components/dialog.css
  15. 8.9.x core/assets/vendor/jquery.ui/themes/base/dialog.css
  16. 8.9.x core/assets/vendor/ckeditor/skins/moono-lisa/dialog.css
  17. 8.9.x core/assets/vendor/ckeditor/plugins/dialog/styles/dialog.css
  18. 10 core/profiles/demo_umami/themes/umami/css/classy/components/dialog.css
  19. 10 core/themes/claro/css/components/dialog.css
  20. 10 core/themes/starterkit_theme/css/components/dialog.css
  21. 10 core/assets/vendor/jquery.ui/themes/base/dialog.css

Presentational styles for Drupal dialogs.

File

core/profiles/demo_umami/themes/umami/css/classy/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) {
  15. /* 768px */
  16. .ui-dialog {
  17. width: 92% !important;
  18. }
  19. }
  20. .ui-dialog .ui-dialog-titlebar {
  21. border-width: 0 0 1px 0;
  22. border-style: solid;
  23. border-color: #ccc;
  24. border-radius: 0;
  25. background: #f3f4ee;
  26. font-weight: bold;
  27. }
  28. .ui-dialog .ui-dialog-titlebar-close {
  29. border: 0;
  30. background: none;
  31. }
  32. .ui-dialog .ui-dialog-buttonpane {
  33. margin-top: 0;
  34. padding: 0.3em 1em;
  35. border-width: 1px 0 0 0;
  36. border-color: #ccc;
  37. background: #f3f4ee;
  38. }
  39. .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
  40. margin: 0;
  41. padding: 0;
  42. }
  43. .ui-dialog .ui-dialog-buttonpane .ui-button-text-only .ui-button-text {
  44. padding: 0;
  45. }
  46. /* Form action buttons are moved in dialogs. Remove empty space. */
  47. .ui-dialog .ui-dialog-content .form-actions {
  48. margin: 0;
  49. padding: 0;
  50. }
  51. .ui-dialog .ajax-progress-throbber {
  52. position: fixed;
  53. z-index: 1000;
  54. top: 48.5%;
  55. /* Can't do center:50% middle: 50%, so approximate it for a typical window size. */
  56. left: 49%;
  57. width: 24px;
  58. height: 24px;
  59. padding: 4px;
  60. opacity: 0.9;
  61. border-radius: 7px;
  62. background-color: #232323;
  63. background-image: url(../../../../../../../misc/loading-small.svg);
  64. background-repeat: no-repeat;
  65. background-position: center center;
  66. }
  67. .ui-dialog .ajax-progress-throbber .throbber,
  68. .ui-dialog .ajax-progress-throbber .message {
  69. display: none;
  70. }

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