web-apps/apps/common/main/resources/less/layout.less

61 lines
1.2 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
/**
* layout.less
*
* Created by Maxim Kadushkin on 10 February 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
*
*/
.layout-ct {
position: absolute;
width: 100%;
height: 100%;
.layout-item, .layout-resizer {
position: absolute;
}
.layout-resizer {
z-index: @zindex-dropdown - 10;
2020-12-19 19:43:19 +00:00
background: @background-toolbar;
2016-03-11 00:48:53 +00:00
border: 0 none;
&.move {
opacity: 0.4;
}
}
&.vbox {
.layout-item, > .layout-resizer {
left: 0;
width: 100%;
}
> .layout-resizer {
height: 4px;
cursor: row-resize;
&.move {
2020-12-19 19:43:19 +00:00
border-top: solid 1px @border-toolbar;
border-bottom: solid 1px @border-toolbar;
2016-03-11 00:48:53 +00:00
}
}
}
&.hbox {
.layout-item, > .layout-resizer {
top: 0;
height: 100%;
}
> .layout-resizer {
width: 4px;
2016-03-11 00:48:53 +00:00
cursor: col-resize;
&.move {
2020-12-19 19:43:19 +00:00
border-left: solid 1px @border-toolbar;
border-right: solid 1px @border-toolbar;
2016-03-11 00:48:53 +00:00
}
}
}
}