@risecx/carespace-chat-ui
Version:
carespace-chat-ui React component
80 lines (70 loc) • 1.56 kB
CSS
body {
overflow: hidden;
}
#menuModal .__react_modal_menu__modal_container {
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
touch-action: none;
overflow: hidden;
}
#menuModal .__react_modal_menu__modal_content {
position: relative;
height: 100%;
width: 100%;
}
#menuModal .__react_modal_menu__modal_content > div {
position: absolute;
top: 50%;
left: 50%;
transform: translate3d(-50%, -50%, 0);
-webkit-transform: translate3d(-50%, -50%, 0);
-ms-transform: translate3d(-50%, -50%, 0);
overflow: hidden;
background-color: #FFFFFF;
padding: 10px;
border-radius: 8px;
}
#menuModal .__react_modal_menu__medium_img {
max-width: 98%;
max-height: 98%;
background-color: black;
}
#menuModal .__react_modal_menu__large_img {
cursor: move;
background-color: black
}
#menuModal .__react_modal_menu__icon_menu a {
display: inline-block;
font-size: 40px;
cursor: pointer;
line-height: 40px;
box-sizing: border-box;
border: none;
padding: 0px 5px 0px 5px;
margin: 0 0 0 10px ;
color: white;
background-color: rgba(0, 0, 0, 0) ;
}
#menuModal .__react_modal_menu__icon_menu {
display: inline-block;
float: right;
}
#menuModal .__react_modal_menu__caption {
display: inline-block;
color: white;
font-size: 120%;
padding: 10px;
margin: 0;
}
#menuModal .__react_modal_menu__header {
position: absolute;
top: 0;
width: 100%;
background-color: rgba(0, 0, 0, 0.7);
overflow: hidden;
}