-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsidebar.component.scss
More file actions
79 lines (68 loc) · 1.27 KB
/
sidebar.component.scss
File metadata and controls
79 lines (68 loc) · 1.27 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
@import '../../../../../styles/colors.scss';
body {
overflow-x: hidden;
}
#sidebar-wrapper {
min-height: 100vh;
margin-left: -15rem;
-webkit-transition: margin 0.25s ease-out;
-moz-transition: margin 0.25s ease-out;
-o-transition: margin 0.25s ease-out;
transition: margin 0.25s ease-out;
}
#sidebar-wrapper .sidebar-heading {
padding: 0.875rem 1.25rem;
font-size: 1.2rem;
}
#sidebar-wrapper .list-group {
width: 15rem;
}
#page-content-wrapper {
min-width: 100vw;
}
#wrapper.toggled #sidebar-wrapper {
margin-left: 0;
}
@media (min-width: 769px) {
#sidebar-wrapper {
margin-left: 0;
}
#page-content-wrapper {
min-width: 0;
width: 100%;
}
#wrapper.toggled #sidebar-wrapper {
margin-left: -15rem;
}
#hide-sidebar {
display: block;
}
#show-sidebar {
display: none;
}
}
@media (max-width: 768px) {
#hide-sidebar {
display: none;
}
#show-sidebar {
display: block;
}
}
.content_app {
padding: 2rem 3rem 5rem 3rem;
overflow-y: scroll;
}
.active {
color: $primary;
font-weight: bold;
border-color: $primary;
background-color: transparent;
}
.full-height {
height: 100%;
height: -moz-calc(100vh - 1vh);
height: -webkit-calc(100vh - 1vh);
height: -o-calc(100vh - 1vh);
height: calc(100vh - 1vh);
}