-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhsLayout.less
More file actions
54 lines (49 loc) · 1.07 KB
/
hsLayout.less
File metadata and controls
54 lines (49 loc) · 1.07 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
@import "../css/Layout.less";
@space: 2px;
@border: 1px;
@LayoutSpacing: @border solid white;
body {
font-family: sans-serif;
color: #46c;
padding: 5px;
}
.header {
margin-top: 3px;
font-size: 24px;
}
.leaf {
font-family: Arial;
font-size: 10px;
overflow:visible;
.hs-layout-spacing;
/*
&.hs-column-layout {
margin-top: @space;
margin-bottom: @space+2*@border;
&:first-child { margin-top: 2*@space; }
&:last-child { margin-bottom: 2*@space+2*@border; }
}
&.hs-row-layout {
margin-left: @space;
margin-right: @space+2*@border;
&:first-child { margin-left: 2*@space; }
&:last-child { margin-right: 2*@space+2*@border; }
}
*/
}
.leaf .hs-layout {
text-align: center;
// border: @border solid #aaa;
.hs-column-layout& {
background-color: #ffe;
}
.hs-row-layout& {
background-color: #eef;
}
.tile_pct .hs-tile-layout& {
background-color: #fee;
}
.tile_px .hs-tile-layout& {
background-color: #eff;
}
}