-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
85 lines (70 loc) · 1.22 KB
/
style.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
html, body {
height: 100%;
}
.bg-primary {
background-color: #17a2b8 !important;
}
.material-icons { color: gray; }
.map-wrapper {
height: inherit;
}
.card-body {
font-size: 80%;
}
/*
* Sidebar
*/
#sidebar-wrapper {
width: 40%;
}
#map-container {
width: 60%;
}
#splitbar {
background-color: gray;
height: 100%;
float: right;
width: 4px;
cursor: col-resize;
}
.sidebar {
position: fixed;
top: 0;
bottom: 0;
left: 0;
z-index: 100; /* Behind the navbar */
padding: 50px 0 0; /* Height of navbar */
}
.sidebar-sticky {
position: relative;
top: 0;
height: calc(100vh - 62px);
padding-top: .5rem;
overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}
@supports ((position: -webkit-sticky) or (position: sticky)) {
.sidebar-sticky {
position: -webkit-sticky;
position: sticky;
}
}
.sidebar-heading {
text-transform: uppercase;
}
/*
* Content
*/
[role="main"] {
padding-top: 133px; /* Space for fixed navbar */
height: inherit;
}
@media (min-width: 768px) {
[role="main"] {
padding-top: 50px; /* Space for fixed navbar */
height: inherit;
}
}
#mapid {
height: calc(100vh - 62px);
}