layout.scss 1.07 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
.layout-root {
  padding-top: 64px;
  box-sizing: border-box;
  height: 100%;
}

.layout-container {
  width: 100%;
  height: 100%;
  display: flex;
11
  overflow-x: hidden;
12
13
  overflow-y:scroll;
  -webkit-overflow-scrolling: touch;
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
}

.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;
  height: 48px;
  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;
  top: 12px;
  right: 0;
  width: 24px !important;
  height: 24px !important;
}

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

57
@media screen and (max-width: 960px) {
58
59
60
61
  .layout-sidebar-toggle-container {
    display: none;
  }
}