2013-06-02 23:52:59 +04:00
|
|
|
.oc-dialog {
|
2016-10-18 12:42:13 +03:00
|
|
|
background: #fff;
|
|
|
|
color: #333;
|
|
|
|
border-radius: 3px; box-shadow: 0 0 7px #888;
|
2013-06-02 23:52:59 +04:00
|
|
|
padding: 15px;
|
2016-11-28 15:49:45 +03:00
|
|
|
z-index: 10000;
|
2013-06-02 23:52:59 +04:00
|
|
|
font-size: 100%;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
min-width: 200px;
|
2016-11-28 15:44:27 +03:00
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
2016-11-28 15:49:45 +03:00
|
|
|
max-height: calc(100% - 20px);
|
|
|
|
max-width: calc(100% - 20px);
|
|
|
|
overflow: auto;
|
2013-06-02 23:52:59 +04:00
|
|
|
}
|
|
|
|
.oc-dialog-title {
|
2016-10-18 12:42:13 +03:00
|
|
|
background: #fff;
|
2016-10-19 15:43:04 +03:00
|
|
|
margin-left: 12px;
|
2013-06-02 23:52:59 +04:00
|
|
|
}
|
|
|
|
.oc-dialog-buttonrow {
|
2016-11-25 22:49:50 +03:00
|
|
|
position: relative;
|
2013-06-02 23:52:59 +04:00
|
|
|
display: block;
|
2016-10-18 12:42:13 +03:00
|
|
|
background: transparent;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2016-11-28 16:05:46 +03:00
|
|
|
padding: 10px;
|
|
|
|
padding-bottom: 0;
|
2016-10-18 12:42:13 +03:00
|
|
|
box-sizing: border-box;
|
2013-10-04 19:21:52 +04:00
|
|
|
width: 100%;
|
2016-10-18 12:42:13 +03:00
|
|
|
background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
border-bottom-right-radius: 3px;
|
2013-06-02 23:52:59 +04:00
|
|
|
}
|
2014-07-03 16:38:40 +04:00
|
|
|
/* align primary button to right, other buttons to left */
|
|
|
|
.oc-dialog-buttonrow.twobuttons button:nth-child(1) {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.oc-dialog-buttonrow.twobuttons button:nth-child(2) {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oc-dialog-buttonrow.onebutton button {
|
|
|
|
float: right;
|
|
|
|
}
|
2016-11-25 22:49:50 +03:00
|
|
|
.oc-dialog-buttonrow:after {
|
|
|
|
visibility: hidden;
|
|
|
|
display: block;
|
|
|
|
font-size: 0;
|
|
|
|
content: " ";
|
|
|
|
clear: both;
|
|
|
|
height: 0;
|
|
|
|
}
|
2013-06-02 23:52:59 +04:00
|
|
|
|
|
|
|
.oc-dialog-close {
|
2016-10-18 12:42:13 +03:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
padding: 25px;
|
|
|
|
background: url('../img/actions/close.svg') no-repeat center;
|
2013-06-02 23:52:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.oc-dialog-dim {
|
|
|
|
background-color: #000;
|
2015-03-19 11:10:58 +03:00
|
|
|
opacity: .20;
|
2013-06-02 23:52:59 +04:00
|
|
|
z-index: 999;
|
2014-03-26 20:48:33 +04:00
|
|
|
position: fixed;
|
2013-06-02 23:52:59 +04:00
|
|
|
top: 0; left: 0;
|
|
|
|
width: 100%; height: 100%;
|
|
|
|
}
|
2016-11-28 16:05:46 +03:00
|
|
|
|
|
|
|
.oc-dialog-content {
|
|
|
|
width: 100%;
|
|
|
|
}
|