forked from cerebral/overmind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.ts
More file actions
55 lines (48 loc) · 990 Bytes
/
styles.ts
File metadata and controls
55 lines (48 loc) · 990 Bytes
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
import { css } from 'emotion'
export const wrapper = css`
display: flex;
align-items: center;
`
export const listWrapper = css`
position: fixed;
top: 50px;
height: calc(100% - 50px);
overflow-y: scroll;
z-index: 1;
box-sizing: border-box;
width: 150px;
padding: 35px 0;
right: calc(50% + 350px);
`
export const list = css`
list-style-type: none;
margin: 0;
padding: 0;
a {
text-decoration: none;
display: block;
color: var(--color-black-1);
:hover {
color: var(--color-dark-1);
}
}
`
export const item = css`
padding: var(--padding-2) var(--padding-3);
color: var(--color-primary);
border-left: 2px solid transparent;
`
export const itemSelected = css`
border-left: 2px solid var(--color-primary);
`
export const tocList = css`
padding: 0;
list-style-type: none;
padding-left: 0.8em;
padding-top: var(--padding-1);
font-size: 0.8em;
margin: 0;
`
export const tocItem = css`
padding: var(--padding-1);
`