-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy path_app-pane.scss
70 lines (58 loc) · 1.23 KB
/
_app-pane.scss
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
@include govuk-media-query(tablet, $media-type: screen) {
$toc-width: 330px;
.flexbox, .flexboxtweener {
body {
overflow: hidden;
}
.app-pane {
display: flex;
flex-direction: column;
overflow: hidden;
height: 100vh;
}
.app-pane__header {
display: flex;
flex-direction: column;
flex: 1 0 auto;
> * {
flex: 1 0 auto;
}
}
.app-pane__body {
display: flex;
flex: 1 1 100%;
min-height: 0;
position: relative;
> * {
overflow-x: scroll;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: none;
}
}
.app-pane__toc {
flex: 0 0 auto;
width: $toc-width;
border-right: 1px solid $govuk-border-colour;
}
.app-pane__content {
flex: 1 1 auto;
}
}
.no-flexbox.no-flexboxtweener,
.no-js {
.app-pane__toc {
float: left;
width: $toc-width;
}
.app-pane__content {
margin-left: $toc-width;
}
}
}
.app-pane__content:focus-visible,
.app-pane__content:has(main:focus-visible) {
outline: $govuk-focus-width solid transparent;
box-shadow:
0 0 0 4px $govuk-focus-colour,
0 0 0 8px $govuk-focus-text-colour;
}