-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathlayout.css
More file actions
90 lines (76 loc) · 1.73 KB
/
Copy pathlayout.css
File metadata and controls
90 lines (76 loc) · 1.73 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
.Layout {
top: var(--top-bar-height);
padding: var(--layout-padding) var(--layout-padding) 0 var(--layout-padding);
position: fixed;
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
right: 0;
bottom: 0;
left: 0;
display: flex;
flex-direction: column;
}
.TopBar--thin .Layout {
top: var(--top-bar-height-thin);
}
.Layout .Main {
padding: var(--layout-padding) var(--layout-padding) 0 var(--layout-padding);
border-left: var(--border-width) solid transparent;
}
.Layout .Main:focus {
outline: 0;
border-left-color: var(--gray-90);
}
/* the left-bar style focus indication */
.Content--focus-target,
[data-skip-target='true'] {
position: relative;
}
.Content--focus-target::before,
[data-skip-target='true']::before {
content: '';
position: absolute;
left: -15px;
background-color: transparent;
top: 0;
bottom: 0;
width: var(--border-width);
}
.Content--focus-target:focus,
[data-skip-target='true']:focus {
outline: 0;
}
.Content--focus-target:focus::before,
[data-skip-target='true']:focus::before {
background-color: var(--top-bar-background-color);
}
@media (min-width: 1024px) {
body .SideBar {
display: block;
left: 0;
transition: left 0.3s;
}
body .TopBar .TopBar__menu-trigger {
display: none;
}
body:not(.Page--no-sidebar) .Layout {
left: var(--menu-width);
}
body:not(.Page--no-sidebar) .Toast {
left: var(--menu-width);
}
}
@media (max-width: 460px) {
body .Modal .Modal__inner {
width: 301px;
}
}
/* Dark Theme */
.cauldron--theme-dark .Layout {
background-color: var(--dark-workspace-color);
color: var(--layout-dark-color, var(--white));
}
.cauldron--theme-dark .Layout .Main:focus {
border-left-color: var(--white);
}