You are here

popup.css in Popup message 8

#popup-message-background {
  display: none;
  position: fixed;
  _position: absolute; /* hack for internet explorer 6*/
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #d2d2d2;
  border: 1px solid #cecece;
  z-index: 9998;
}

#popup-message-wrapper {
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

#popup-message-window {
  display: block;
  position: fixed;
  _position: absolute; /* hack for internet explorer 6*/
  overflow: auto;
  background: #ffffff;
  border-radius: 2px;
  box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.05);
  z-index: 9999;
  padding: 0 50px 10px;
  font-size: 13px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
}

#popup-message-window h1.popup-message-title {
  text-align: left;
  color: black;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #d3d3d3;
}

#popup-message-close {
  width: 19px;
  height: 19px;
  font-size: 0;
  right: 15px;
  top: 15px;
  position: absolute;
  display: block;
  cursor: pointer;
  border: 0;
  transition: transform 0.3s linear;
}

#popup-message-close:hover {
  transform: rotate(90deg);
}

#popup-message-close::after,
#popup-message-close::before {
  content: '';
  width: 2px;
  height: 19px;
  background: #666;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
}

#popup-message-close::after {
  transform: rotate(-45deg);
}

#popup-message-close::before {
  transform: rotate(45deg);
}

File

styles/light/popup.css
View source
  1. #popup-message-background {
  2. display: none;
  3. position: fixed;
  4. _position: absolute; /* hack for internet explorer 6*/
  5. height: 100%;
  6. width: 100%;
  7. top: 0;
  8. left: 0;
  9. background: #d2d2d2;
  10. border: 1px solid #cecece;
  11. z-index: 9998;
  12. }
  13. #popup-message-wrapper {
  14. height: 100vh;
  15. width: 100vw;
  16. position: absolute;
  17. top: 0;
  18. left: 0;
  19. display: none;
  20. }
  21. #popup-message-window {
  22. display: block;
  23. position: fixed;
  24. _position: absolute; /* hack for internet explorer 6*/
  25. overflow: auto;
  26. background: #ffffff;
  27. border-radius: 2px;
  28. box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.05);
  29. z-index: 9999;
  30. padding: 0 50px 10px;
  31. font-size: 13px;
  32. left: 0;
  33. right: 0;
  34. top: 0;
  35. bottom: 0;
  36. margin: auto;
  37. max-width: 100%;
  38. max-height: 100%;
  39. box-sizing: border-box;
  40. }
  41. #popup-message-window h1.popup-message-title {
  42. text-align: left;
  43. color: black;
  44. font-size: 22px;
  45. font-weight: 700;
  46. margin-bottom: 20px;
  47. padding-bottom: 15px;
  48. border-bottom: 1px solid #d3d3d3;
  49. }
  50. #popup-message-close {
  51. width: 19px;
  52. height: 19px;
  53. font-size: 0;
  54. right: 15px;
  55. top: 15px;
  56. position: absolute;
  57. display: block;
  58. cursor: pointer;
  59. border: 0;
  60. transition: transform 0.3s linear;
  61. }
  62. #popup-message-close:hover {
  63. transform: rotate(90deg);
  64. }
  65. #popup-message-close::after,
  66. #popup-message-close::before {
  67. content: '';
  68. width: 2px;
  69. height: 19px;
  70. background: #666;
  71. position: absolute;
  72. left: 0;
  73. right: 0;
  74. top: 0;
  75. margin: auto;
  76. }
  77. #popup-message-close::after {
  78. transform: rotate(-45deg);
  79. }
  80. #popup-message-close::before {
  81. transform: rotate(45deg);
  82. }