-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy path_layouts.less
More file actions
93 lines (74 loc) · 1.31 KB
/
_layouts.less
File metadata and controls
93 lines (74 loc) · 1.31 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
html {
height: 100%;
}
body {
height: 100%;
}
#navbar {
min-width: @containerWidth;
}
.l-row {
width: 100%;
.clearfix();
[class*="span"] {
.input-block-level();
float: left;
margin-left: @fluidGridGutterWidth;
*margin-left: @fluidGridGutterWidth - (.5 / @gridRowWidth * 100 * 1%);
}
[class*="span"]:first-child {
margin-left: 0;
}
.controls-row [class*="span"] + [class*="span"] {
margin-left: @fluidGridGutterWidth;
}
.spanX (@gridColumns);
.offsetX (@gridColumns);
}
.l-container {
.clearfix();
min-width: @containerWidth;
width: 100%;
}
.l-main-container {
.l-container();
height: 100%;
}
.l-site-header {
min-width: @containerWidth;
position: fixed;
top: @siteSelectorTop;
right: 0;
left: 0;
}
.l-site-wrapper {
position: fixed;
top: @siteNavTop;
&.--is-inactive {
top: @siteNavTopForInactiveSite;
}
}
.l-site-nav {
.clearfix();
float: left;
height: 100%;
&.main {
.l-site-wrapper();
left: 0;
width: @siteMainNavWidth;
}
&.sub {
.l-site-wrapper();
left: @siteMainNavWidth;
width: @siteSubNavWidth;
}
}
.l-content {
.clearfix();
margin-left: (@siteMainNavWidth + @siteSubNavWidth + 1);
padding-top: @siteNavTop;
width: auto;
&.--is-inactive {
padding-top: @siteNavTopForInactiveSite;
}
}