2013-06-02 23:52:59 +04:00
|
|
|
.oc-dialog {
|
2018-06-03 12:25:38 +03:00
|
|
|
background: var(--color-main-background);
|
2018-06-03 22:06:27 +03:00
|
|
|
color: var(--color-text-light);
|
2018-06-03 12:25:38 +03:00
|
|
|
border-radius: var(--border-radius);
|
|
|
|
box-shadow: 0 0 7px var(--color-box-shadow);
|
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%;
|
|
|
|
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 {
|
2018-06-03 12:25:38 +03:00
|
|
|
background: var(--color-main-background);
|
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%;
|
2018-06-03 12:25:38 +03:00
|
|
|
background-image: linear-gradient(rgba(255, 255, 255, 0.0), var(--color-main-background));
|
2016-10-18 12:42:13 +03:00
|
|
|
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;
|
|
|
|
}
|
2017-08-27 18:39:22 +03:00
|
|
|
.oc-dialog-buttonrow.twobuttons.aside button:nth-child(1) {
|
|
|
|
float: none;
|
|
|
|
}
|
2014-07-03 16:38:40 +04:00
|
|
|
.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%;
|
|
|
|
}
|
2018-05-24 11:53:58 +03:00
|
|
|
|
|
|
|
.oc-dialog.password-confirmation {
|
|
|
|
.oc-dialog-content {
|
|
|
|
width: auto;
|
|
|
|
margin: 12px;
|
|
|
|
|
|
|
|
input[type=password] {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|