You are here

simple_modal_overlay.css in Simple modal overlay 7

Styling for the Simple Modal Overlay module.

© 2014-2016 RedBottle Design, LLC, Inveniem, and House at Work. All rights reserved.

@author Guy Paddock (guy@redbottledesign.com)

File

css/simple_modal_overlay.css
View source
  1. /**
  2. * @file
  3. * Styling for the Simple Modal Overlay module.
  4. *
  5. * © 2014-2016 RedBottle Design, LLC, Inveniem, and House at Work.
  6. * All rights reserved.
  7. *
  8. * @author Guy Paddock (guy@redbottledesign.com)
  9. */
  10. /* Background behind the overlay. */
  11. div.messages.simple-overlay {
  12. display: none; /* Start off hidden */
  13. position: fixed;
  14. top: 0;
  15. left: 0;
  16. z-index: 200;
  17. width: 100%;
  18. height: 100%;
  19. margin: 0;
  20. border: none;
  21. padding: 10% 0;
  22. background: rgba(0, 0, 0, 0.6);
  23. }
  24. /* Overlay */
  25. div.messages.simple-overlay .message-inner {
  26. display: none; /* Start off hidden */
  27. position: relative;
  28. z-index: 201;
  29. width: 600px;
  30. border-radius: 3px;
  31. -webkit-border-radius: 3px;
  32. -moz-border-radius: 3px;
  33. border-color: #6bb0cb;
  34. margin: 0 auto;
  35. padding: 0;
  36. box-shadow: 0 2px 15px #57595a;
  37. -moz-box-shadow: 0 2px 15px #57595a;
  38. -webkit-box-shadow: 0 2px 15px #57595a;
  39. filter: progid:DXImageTransform.Microsoft.Shadow(color='#57595A', direction='180', strength='5');
  40. color: #aeaaa5;
  41. overflow: hidden;
  42. background-color: white;
  43. }
  44. /* Title */
  45. div.messages.simple-overlay .message-inner .title {
  46. float: left; /* LTR */
  47. width: 90%;
  48. padding: 1em;
  49. color: #2698f2;
  50. font-weight: bold;
  51. text-transform: uppercase;
  52. }
  53. /* Message content area. */
  54. div.messages.simple-overlay .content {
  55. clear: both;
  56. position: relative;
  57. width: 90%;
  58. padding: 0 1em 1em;
  59. }
  60. /* Close button */
  61. div.messages.simple-overlay .message-inner .simple-overlay-close {
  62. display: block;
  63. position: absolute;
  64. top: 1em;
  65. right: 1em; /* LTR */
  66. width: 18px;
  67. height: 17px;
  68. background: url('../images/btn_overlay-close.png') no-repeat 0 0;
  69. }