-
Notifications
You must be signed in to change notification settings - Fork 230
/
_layouts.less
60 lines (59 loc) · 1.63 KB
/
_layouts.less
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
//
// Layouts (substructure)
// ------------------------------------
.header-toolbar {
background-color: @panel-light;
border-bottom: 1px solid @page-header-border-color;
}
.layout-pf.layout-pf-fixed {
height: 1px;
body {
height: 1px;
padding-top: @navbar-os-header-mobile;
&.tech-preview {
padding-top: (@navbar-os-header-mobile + @tech-preview-banner-height);
}
@media(min-width: @screen-sm-min) {
padding-top: @navbar-os-header-desktop;
&.tech-preview {
padding-top: (@navbar-os-header-desktop + @tech-preview-banner-height);
}
}
&.has-project-bar {
padding-top: (@navbar-os-header-mobile + @project-bar-height-mobile);
&.tech-preview {
padding-top: (@navbar-os-header-mobile + @project-bar-height-mobile + @tech-preview-banner-height);
}
@media(min-width: @screen-sm-min) {
padding-top: (@navbar-os-header-desktop + @project-bar-height-desktop);
&.tech-preview {
padding-top: (@navbar-os-header-desktop + @project-bar-height-desktop + @tech-preview-banner-height);
}
.container-pf-nav-pf-vertical {
margin-left: @nav-pf-vertical-width;
&.collapsed-nav {
margin-left: 75px;
}
}
}
}
}
.container-pf-nav-pf-vertical {
height: 100%;
transition: margin-left .1s ease-in-out;
&,
&.collapsed-nav {
margin-left: 0; // override PatternFly default
}
.middle-header {
margin-bottom: @grid-gutter-width / 2;
}
.view {
height: 100%;
}
}
}
.surface-shaded {
background-color: @panel-shaded;
min-height: 100%;
}