web-apps/apps/common/main/resources/less/layout.less
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -03:00

61 lines
1.2 KiB
Plaintext

/**
* layout.less
*
* Created by Maxim Kadushkin on 10 February 2014
* Copyright (c) 2014 Ascensio System SIA. All rights reserved.
*
*/
.layout-ct {
position: absolute;
width: 100%;
height: 100%;
.layout-item, .layout-resizer {
position: absolute;
}
.layout-resizer {
z-index: @zindex-dropdown - 10;
background: @gray-light;
border: 0 none;
&.move {
opacity: 0.4;
}
}
&.vbox {
.layout-item, > .layout-resizer {
left: 0;
width: 100%;
}
> .layout-resizer {
height: 4px;
cursor: row-resize;
&.move {
border-top: solid 1px @gray-dark;
border-bottom: solid 1px @gray-dark;
}
}
}
&.hbox {
.layout-item, > .layout-resizer {
top: 0;
height: 100%;
}
> .layout-resizer {
width: 4px;
cursor: col-resize;
&.move {
border-left: solid 1px @gray-dark;
border-right: solid 1px @gray-dark;
}
}
}
}