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
- #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);
- }