-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathStorybook.css
70 lines (61 loc) · 1.15 KB
/
Storybook.css
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
body {
margin: 0;
font-family: sans-serif;
}
.Storybook {
height: 100vh;
display: grid;
grid-template-areas:
"logo main"
"nav main";
grid-template-columns: 20rem 1fr;
grid-template-rows: 4rem 1fr;
}
.Storybook-logo {
grid-area: logo;
display: flex;
align-items: center;
padding-left: 2rem;
text-decoration: none;
background-color: #fafafa;
color: #282828;
border-right: 1px solid rgba(0, 0, 0, 0.08);
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.Storybook-nav {
grid-area: nav;
overflow-y: auto;
font-size: 0.875rem;
background-color: #fafafa;
border-right: 1px solid rgba(0, 0, 0, 0.08);
}
.Storybook-nav-list {
list-style: none;
margin: 0;
padding: 0;
}
.Storybook-nav-section {
margin: 1rem 0;
}
.Storybook-nav-section-title {
color: #3a3a3a;
text-transform: uppercase;
font-weight: bold;
padding: 0.625rem 2rem;
}
.Storybook-link {
display: block;
text-decoration: none;
padding: 0.625rem 2rem;
word-wrap: break-word;
color: #282828;
}
.Storybook-link:hover,
.Storybook-link.is-active {
color: #008cff;
}
.Storybook-main {
grid-area: main;
padding: 2rem;
overflow: auto;
}