2016-03-11 00:48:53 +00:00
|
|
|
/**
|
|
|
|
* Window.less
|
|
|
|
*
|
|
|
|
* Describes styles for base class 'Window'
|
|
|
|
*
|
|
|
|
* Created by Maxim Kadushkin on 24 January 2014
|
2018-03-01 12:16:38 +00:00
|
|
|
* Copyright (c) 2018 Ascensio System SIA. All rights reserved.
|
2016-03-11 00:48:53 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
.modals-mask {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-08-16 12:46:30 +00:00
|
|
|
opacity: 0.2;
|
2016-03-11 00:48:53 +00:00
|
|
|
background-color: rgb(0,0,0);
|
|
|
|
z-index: @zindex-modal - 1;
|
2020-12-30 10:37:44 +00:00
|
|
|
|
|
|
|
.theme-dark & {
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.asc-window {
|
|
|
|
min-height: 50px;
|
|
|
|
min-width: 150px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
z-index: @zindex-modal-background;
|
|
|
|
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
|
|
|
|
border-radius: 5px;
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @background-normal-ie;
|
2020-12-17 11:22:09 +00:00
|
|
|
background-color: @background-normal;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: solid @scaled-one-px-value-ie @border-toolbar-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border: solid @scaled-one-px-value @border-toolbar;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
position: fixed;
|
2018-08-28 11:25:03 +00:00
|
|
|
cursor: default;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
> .header {
|
|
|
|
height: 34px;
|
|
|
|
border-radius: 5px 5px 0 0;
|
|
|
|
position: absolute;
|
|
|
|
padding: 5px 6px 6px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
2021-02-16 07:21:22 +00:00
|
|
|
color: @text-normal-ie;
|
2020-12-22 12:45:06 +00:00
|
|
|
color: @text-normal;
|
2016-03-11 00:48:53 +00:00
|
|
|
text-align: center;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 700;
|
|
|
|
vertical-align: bottom;
|
|
|
|
line-height: 26px;
|
|
|
|
|
2021-02-16 07:21:22 +00:00
|
|
|
background: @background-toolbar-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background: @background-toolbar;
|
2021-02-16 07:21:22 +00:00
|
|
|
border-bottom: solid @scaled-one-px-value-ie @border-toolbar-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border-bottom: solid @scaled-one-px-value @border-toolbar;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
cursor: move;
|
|
|
|
|
2020-07-21 12:32:58 +00:00
|
|
|
.tools {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
padding-right: 6px;
|
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
.tool {
|
|
|
|
float: right;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
cursor: pointer;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0px;
|
|
|
|
margin: 4px 3px 0px 0px;
|
|
|
|
|
|
|
|
&.close {
|
2020-12-30 10:37:44 +00:00
|
|
|
position: relative;
|
|
|
|
opacity: 0.7;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
&:hover {
|
2020-12-30 10:37:44 +00:00
|
|
|
opacity: 1;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
cursor: default;
|
|
|
|
}
|
2020-12-30 10:37:44 +00:00
|
|
|
|
|
|
|
&:before, &:after {
|
|
|
|
content: ' ';
|
|
|
|
position: absolute;
|
2021-02-16 19:59:03 +00:00
|
|
|
left: 7px;
|
2021-02-10 13:37:40 +00:00
|
|
|
left: calc(7px/@pixel-ratio-factor);
|
2021-02-16 07:21:22 +00:00
|
|
|
top: @scaled-one-px-value-ie;
|
2021-02-10 13:37:40 +00:00
|
|
|
top: @scaled-one-px-value;
|
2020-12-30 10:37:44 +00:00
|
|
|
height: 14px;
|
2021-02-16 07:21:22 +00:00
|
|
|
width: @scaled-one-px-value-ie;
|
2021-02-10 13:37:40 +00:00
|
|
|
width: @scaled-one-px-value;
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @icon-normal-ie;
|
2020-12-30 10:37:44 +00:00
|
|
|
background-color: @icon-normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
2020-07-21 12:32:58 +00:00
|
|
|
|
|
|
|
&.help {
|
|
|
|
width: 20px;
|
|
|
|
margin-right:0;
|
|
|
|
line-height: 14px;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: bold;
|
2021-02-16 07:21:22 +00:00
|
|
|
color: @text-normal-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
color: @text-normal;
|
2020-07-21 12:32:58 +00:00
|
|
|
opacity: 0.7;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
2021-02-28 21:29:00 +00:00
|
|
|
opacity: @component-disabled-opacity;
|
2020-07-21 12:32:58 +00:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
2016-08-04 11:41:16 +00:00
|
|
|
|
|
|
|
&.resizing {
|
|
|
|
cursor: inherit !important;
|
|
|
|
}
|
2019-07-31 08:16:58 +00:00
|
|
|
|
|
|
|
.title {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
> .body {
|
|
|
|
border-radius: 0 0 5px 5px;
|
|
|
|
position: absolute;
|
|
|
|
top: 34px;
|
|
|
|
width: 100%;
|
2021-02-16 07:21:22 +00:00
|
|
|
background-color: @background-normal-ie;
|
2020-12-17 11:22:09 +00:00
|
|
|
background-color: @background-normal;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.modal {
|
|
|
|
z-index: @zindex-modal;
|
2017-08-17 08:40:50 +00:00
|
|
|
-ms-touch-action: none;
|
|
|
|
-moz-user-select:none;
|
|
|
|
-khtml-user-select:none;
|
|
|
|
user-select:none;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.dethrone {
|
|
|
|
z-index: @zindex-modal - 2;
|
|
|
|
}
|
|
|
|
|
2020-11-13 12:06:45 +00:00
|
|
|
.icon {
|
|
|
|
&.warn {
|
|
|
|
width: 35px;
|
|
|
|
height: 32px;
|
|
|
|
background-position: @alerts-offset-x @alerts-offset-y - 105px;
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2020-11-13 12:06:45 +00:00
|
|
|
&.error, &.info, &.confirm {
|
2016-03-11 00:48:53 +00:00
|
|
|
width: 35px;
|
|
|
|
height: 35px;
|
2020-11-13 12:06:45 +00:00
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2020-11-13 12:06:45 +00:00
|
|
|
&.error {
|
|
|
|
background-position: @alerts-offset-x @alerts-offset-y - 0;
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2020-11-13 12:06:45 +00:00
|
|
|
&.info {
|
|
|
|
background-position: @alerts-offset-x @alerts-offset-y - 35px;
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2020-11-13 12:06:45 +00:00
|
|
|
&.confirm {
|
|
|
|
background-position: @alerts-offset-x @alerts-offset-y - 70px;
|
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2020-11-13 12:06:45 +00:00
|
|
|
&.alert {
|
|
|
|
.icon {
|
|
|
|
float: left;
|
|
|
|
margin: 0 0 0 10px;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
2020-11-13 12:06:45 +00:00
|
|
|
min-height: 90px;
|
|
|
|
min-width: 230px;
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
.body {
|
|
|
|
.info-box {
|
|
|
|
padding: 20px 20px 20px 10px;
|
|
|
|
height: 50px;
|
|
|
|
|
|
|
|
.text {
|
2017-02-09 06:55:35 +00:00
|
|
|
padding-left: 60px;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: 12px;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
2021-02-16 07:21:22 +00:00
|
|
|
color: @text-normal-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
color: @text-normal;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
&:focus, &:hover {
|
2021-02-16 07:21:22 +00:00
|
|
|
color: @text-normal-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
color: @text-normal;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dont-show-checkbox {
|
|
|
|
margin-top: 13px; text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
height: 37px;
|
|
|
|
width: 100%;
|
|
|
|
bottom: 0;
|
|
|
|
text-align: center;
|
|
|
|
padding: 7px 0 0 0;
|
|
|
|
|
|
|
|
&.dontshow {
|
|
|
|
height: 55px;
|
|
|
|
padding: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
&:not(:first-child) {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.notransform {
|
|
|
|
-webkit-transform: none !important;
|
|
|
|
-webkit-transition: none !important;
|
|
|
|
-moz-transform: none !important;
|
|
|
|
-moz-transition: none !important;
|
|
|
|
-ms-transition: none !important;
|
|
|
|
-ms-transform: none !important;
|
|
|
|
-o-transform: none !important;
|
|
|
|
-o-transition: none !important;
|
|
|
|
}
|
2016-08-04 11:41:16 +00:00
|
|
|
|
2017-06-23 11:54:36 +00:00
|
|
|
&.plain {
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
.body, .resize-border {
|
|
|
|
border-radius: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-04 11:41:16 +00:00
|
|
|
.resize-border {
|
|
|
|
position: absolute;
|
|
|
|
width: 5px;
|
|
|
|
height: 5px;
|
|
|
|
z-index: 1;
|
2021-02-16 07:21:22 +00:00
|
|
|
background: @background-toolbar-ie;
|
2020-12-19 19:43:19 +00:00
|
|
|
background: @background-toolbar;
|
2021-02-16 07:21:22 +00:00
|
|
|
border: @scaled-one-px-value-ie none @border-toolbar-ie;
|
2021-02-10 12:40:30 +00:00
|
|
|
border: @scaled-one-px-value none @border-toolbar;
|
2016-08-04 11:41:16 +00:00
|
|
|
|
|
|
|
&.left {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
&.right {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
&.top {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
&.bottom {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.resizing {
|
|
|
|
cursor: inherit !important;
|
|
|
|
}
|
|
|
|
}
|
2019-09-11 08:38:08 +00:00
|
|
|
|
|
|
|
.footer {
|
|
|
|
button {
|
|
|
|
&:not(:first-child) {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal-dlg {
|
|
|
|
.body {
|
|
|
|
height: auto;
|
|
|
|
padding: 15px;
|
|
|
|
|
|
|
|
.input-row {
|
|
|
|
height: @input-height-base;
|
|
|
|
|
|
|
|
label:not(.checkbox-indeterminate) {
|
|
|
|
line-height: @input-height-base;
|
|
|
|
}
|
|
|
|
|
2020-03-20 12:29:47 +00:00
|
|
|
& > div {
|
2016-03-11 00:48:53 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
padding-top: 15px;
|
|
|
|
|
|
|
|
&.center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.right {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// CopyWarningDialog
|
|
|
|
|
|
|
|
.copy-warning {
|
|
|
|
.body {
|
|
|
|
padding: 15px 0;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.box {
|
|
|
|
text-align: center;
|
|
|
|
padding-bottom: 15px;
|
|
|
|
}
|
|
|
|
.message{
|
|
|
|
text-align: justify;
|
|
|
|
}
|
|
|
|
.hotkeys {
|
|
|
|
padding-top: 5px;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
> div:first-child {
|
|
|
|
margin-right: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> div:last-child {
|
|
|
|
margin-left: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hotkey {
|
|
|
|
font-size: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|