3.0 source code
This commit is contained in:
54
OfficeWeb/apps/common/main/resources/less/layout.less
Normal file
54
OfficeWeb/apps/common/main/resources/less/layout.less
Normal file
@@ -0,0 +1,54 @@
|
||||
/**
|
||||
* 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;
|
||||
|
||||
&.move {
|
||||
opacity: 0.4;
|
||||
}
|
||||
}
|
||||
|
||||
&.vbox {
|
||||
.layout-item, > .layout-resizer {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
> .layout-resizer {
|
||||
height: 4px;
|
||||
cursor: row-resize;
|
||||
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;
|
||||
border-left: solid 1px @gray-dark;
|
||||
border-right: solid 1px @gray-dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user