You are here

dialog.css in Dialog 7.2

Presentational styles for Drupal dialogs.

File

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. color: #000;
  10. background: #fff;
  11. border: solid 1px #ccc;
  12. padding: 0;
  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. font-weight: bold;
  21. background: #f3f4ee;
  22. border-style: solid;
  23. border-radius: 0;
  24. border-width: 0 0 1px 0;
  25. border-color: #ccc;
  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. background: #f3f4ee;
  34. padding: .3em 1em;
  35. border-width: 1px 0 0 0;
  36. border-color: #ccc;
  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. .ui-dialog .ui-dialog-content {
  46. position: static;
  47. }
  48. /* Form action buttons are moved in dialogs. Remove empty space. */
  49. .ui-dialog .ui-dialog-content .form-actions {
  50. padding: 0;
  51. margin: 0;
  52. }
  53. .ui-dialog .ajax-progress-throbber {
  54. /* Can't do center:50% middle: 50%, so approximate it for a typical window size. */
  55. left: 49%;
  56. position: fixed;
  57. top: 48.5%;
  58. z-index: 1000;
  59. background-color: #232323;
  60. background-image: url(../../../../misc/loading-small.gif);
  61. background-position: center center;
  62. background-repeat: no-repeat;
  63. border-radius: 7px;
  64. height: 24px;
  65. opacity: 0.9;
  66. padding: 4px;
  67. width: 24px;
  68. }
  69. .ui-dialog .ajax-progress-throbber .throbber,
  70. .ui-dialog .ajax-progress-throbber .message {
  71. display: none;
  72. }