forked from unisonweb/codebase-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkspace.css
More file actions
42 lines (35 loc) · 1000 Bytes
/
Copy pathworkspace.css
File metadata and controls
42 lines (35 loc) · 1000 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
#workspace {
--color-workspace-gutter: var(--u-color_container_subdued);
--workspace-content-width: var(--main-content-width);
display: flex;
flex-direction: column;
}
#workspace-content {
overflow: auto;
height: calc(calc(100vh - var(--toolbar-height)) - var(--app-header-height));
padding-top: 2rem;
scroll-behavior: smooth;
scrollbar-width: auto;
scrollbar-color: var(--u-color_scrollbar) var(--u-color_scrollbar-track);
/* gutter */
box-shadow: inset 2rem 0 0 var(--color-workspace-gutter);
}
#workspace-content::-webkit-scrollbar {
width: 0.5rem;
height: 0.5rem;
}
#workspace-content::-webkit-scrollbar-track {
background: var(--u-color_scrollbar-track);
}
#workspace-content::-webkit-scrollbar-thumb {
background-color: var(--u-color_scrollbar);
border-radius: var(--border-radius-base);
}
@media only screen and (max-width: 1024px) {
#workspace-content {
box-shadow: none;
height: auto;
width: auto;
}
}
@import "./workspace-item.css";