layout.scss 1.15 KB
Newer Older
Andrew Hrdy's avatar
Andrew Hrdy committed
1
2
@import '../_variables.scss';

3
4
5
6
7
8
9
10
11
12
.layout-root {
  padding-top: 64px;
  box-sizing: border-box;
  height: 100%;
}

.layout-container {
  width: 100%;
  height: 100%;
  display: flex;
13
  overflow-x: hidden;
14
  overflow-y: auto;
15
  -webkit-overflow-scrolling: touch;
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
}

.layout-main-content {
  box-sizing: border-box;
  position: relative;
  flex: 1 1 100%;
  height: 100%;
  width: 100%;
  padding-top: 16px;
}

.layout-sidebar-toggle-container {
  width: 16px;
  position: relative;
}

.layout-sidebar-toggle-btn {
  width: 24px;
Mattias J Duffy's avatar
Mattias J Duffy committed
34
  height: 54px;
35
36
37
38
39
40
41
42
43
44
45
46
  position: absolute;
  top: 16px;
  right: -1px;
  border: 0;
  background-color: white;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.12);
  outline: none;
  border-radius: 1px;
}

.layout-arrow-icon {
  position: absolute;
Mattias J Duffy's avatar
Mattias J Duffy committed
47
  top: 16px;
48
  right: 0;
Mattias J Duffy's avatar
Mattias J Duffy committed
49
  color:rgba(0, 0, 0, 0.54);
50
51
52
53
54
55
56
57
58
59
  width: 24px !important;
  height: 24px !important;
}

.layout-card-container {
  height: calc(100% - 86px);
  overflow-y: auto;
  overflow-x: hidden;
}

Andrew Hrdy's avatar
Andrew Hrdy committed
60
@media screen and (max-width: map-get($breakpoints, lg) - 1px) {
61
62
63
64
  .layout-sidebar-toggle-container {
    display: none;
  }
}