98 lines
2.2 KiB
CSS
98 lines
2.2 KiB
CSS
/*
|
|
* Copyright (C) 2013 Glyptodon LLC
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
* in the Software without restriction, including without limitation the rights
|
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
* copies of the Software, and to permit persons to whom the Software is
|
|
* furnished to do so, subject to the following conditions:
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in
|
|
* all copies or substantial portions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
* THE SOFTWARE.
|
|
*/
|
|
|
|
.dialog-container {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
padding: 1em;
|
|
}
|
|
|
|
.dialog-outer {
|
|
display: table;
|
|
height: 100%;
|
|
width: 100%;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.dialog-middle {
|
|
width: 100%;
|
|
text-align: center;
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.dialog.edit {
|
|
max-height: 100%;
|
|
}
|
|
|
|
.dialog {
|
|
|
|
max-width: 100%;
|
|
width: 8in;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
overflow: auto;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
|
background: #E7E7E7;
|
|
|
|
-moz-border-radius: 0.2em;
|
|
-webkit-border-radius: 0.2em;
|
|
-khtml-border-radius: 0.2em;
|
|
border-radius: 0.2em;
|
|
|
|
box-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.6);
|
|
|
|
}
|
|
|
|
.dialog > * {
|
|
margin: 1em;
|
|
}
|
|
|
|
.dialog .header {
|
|
margin: 0;
|
|
}
|
|
|
|
.dialog td {
|
|
position: relative;
|
|
}
|
|
|
|
.dialog .overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.dialog .footer {
|
|
text-align: center;
|
|
}
|