-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.less
More file actions
64 lines (59 loc) · 1.84 KB
/
layout.less
File metadata and controls
64 lines (59 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
+------------------------------------------------------------------------+
| PhalconEye CMS |
+------------------------------------------------------------------------+
| Copyright (c) 2013-2014 PhalconEye Team (http://phalconeye.com/) |
+------------------------------------------------------------------------+
| This source file is subject to the New BSD License that is bundled |
| with this package in the file LICENSE.txt. |
| |
| If you did not receive a copy of the license and are unable to |
| obtain it through the world-wide-web, please send an email |
| to license@phalconeye.com so we can send you a copy immediately. |
+------------------------------------------------------------------------+
| Author: Ivan Vorontsov <ivan.vorontsov@phalconeye.com> |
| Author: Piotr Gasiorowski <p.gasiorowski@vipserv.org> |
+------------------------------------------------------------------------+
*/
main {
clear: both;
width: 100%;
padding: 1em 0;
}
section, aside {
float: left;
&.content, &.content-left, &.content-right {
min-height: @contentMinHeight;
display: inline-block;
}
&.content-left {
clear: left;
}
&.content-right {
clear: right;
}
}
section {
&.content {
clear: none;
width: @contentSectionWidth;
}
&.content-full, &.content-top, &.content-bottom {
width: 100%;
clear: both;
}
&.content-left {
width: 100% - @contentAsideRightWidth;
}
&.content-right {
width: 100% - @contentAsideLeftWidth;
}
}
aside {
&.content-left {
width: @contentAsideRightWidth;
}
&.content-right {
width: @contentAsideLeftWidth;
}
}