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-10-01 22:40:28 +03:00
|
|
|
border-radius: var(--border-radius-large);
|
|
|
|
box-shadow: 0 0 30px 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);
|
2013-06-02 23:52:59 +04:00
|
|
|
}
|
|
|
|
.oc-dialog-buttonrow {
|
2016-11-25 22:49:50 +03:00
|
|
|
position: relative;
|
2018-08-13 22:51:58 +03:00
|
|
|
display: flex;
|
2016-10-18 12:42:13 +03:00
|
|
|
background: transparent;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2018-10-01 22:40:28 +03:00
|
|
|
padding: 0;
|
|
|
|
padding-top: 10px;
|
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));
|
2018-08-13 22:51:58 +03:00
|
|
|
|
|
|
|
&.twobuttons {
|
2018-11-30 17:15:52 +03:00
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2014-07-03 16:38:40 +04:00
|
|
|
|
2018-08-13 22:51:58 +03:00
|
|
|
&.onebutton,
|
|
|
|
&.twobuttons.aside {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
2018-10-01 22:40:28 +03:00
|
|
|
|
|
|
|
button {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2014-07-03 16:38:40 +04:00
|
|
|
}
|
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;
|
2018-10-01 22:40:28 +03:00
|
|
|
opacity: .5;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2013-06-02 23:52:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.oc-dialog-dim {
|
|
|
|
background-color: #000;
|
2018-11-30 17:15:52 +03:00
|
|
|
opacity: .2;
|
2018-07-25 13:39:17 +03:00
|
|
|
z-index: 9999;
|
2014-03-26 20:48:33 +04:00
|
|
|
position: fixed;
|
2018-11-30 17:15:52 +03:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2013-06-02 23:52:59 +04:00
|
|
|
}
|
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;
|
|
|
|
|
|
|
|
input[type=password] {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-10-01 22:40:28 +03:00
|
|
|
}
|