gwt.material.design.addins.client.window.resources.css.window.css Maven / Gradle / Ivy
/** Window Dialog **/
.window {
position: fixed;
display: none;
z-index: 1001;
top: 0;
left: 0;
right: 0;
padding: 0;
/*max-height: 80%;*/
width: 50%;
margin: auto;
overflow: hidden;
will-change: top, opacity;
box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
border-radius: 4px;
transition: 150ms all;
-moz-transition: 150ms all;
-webkit-transition: 150ms all;
}
.window-overlay {
height: 100%;
width: 100%;
position: fixed;
top: 0;
right: 0;
left: 0;
background: rgba(0,0,0,0.3);
bottom: 0;
z-index: 1000;
}
.window .window-toolbar {
background-color: #2196f3;
color: #fff;
overflow: hidden;
padding: 8px;
}
.window .window-title {
color: #fff;
font-size: 1.1em;
float: left;
}
.window .window-action {
font-size: 16px;
float: right;
margin-left: 12px;
}
.window.maximize {
width: 100% !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
max-height: 100% !important;
transform: translate(0px ,0px) !important;
-webkit-transform: translate(0px ,0px) !important;
-moz-transform: translate(0px ,0px) !important;
-webkit-transition:width 400ms ease-in-out, height 400ms ease-in-out;
-moz-transition:width 400ms ease-in-out, height 400ms ease-in-out;
-o-transition:width 400ms ease-in-out, height 400ms ease-in-out;
transition:width 400ms ease-in-out, height 400ms ease-in-out;
height: 100vh !important;
}
.window.open {
display: block !important;
opacity: 1 !important;
}
.window .content {
background-color: #fafafa;
height: calc(100% - 40px);
overflow: auto;
}
@media only screen and (max-width: 992px) {
.window .content {
width: 100% !important;
}
}