aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css/itcss/components/newui-sections.scss
blob: f087d2651e7a986ae6075d883022f7b4dc3eef59 (plain) (blame)
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/*
  NewUI Container Elements
 */

.main-container {
  position: absolute;
  z-index: 18;
  box-shadow: 0 0 7px 0 rgba(0,0,0,0.08);
  font-family: DIN OT;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  overflow-y: scroll;
}

.sidebar {
  flex: 1 0 230px;
  background: rgb(250, 250, 250);
  z-index: 26;
  position: fixed;
  top: 35px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  opacity: 1;
  visibility: visible;
  will-change: transform;
  overflow-y: auto;
  box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 4px;
  width: 85%;
  height: 100%;
}

.sidebar-overlay {
  z-index: 25;
  position: fixed;
  top: 35px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.3);
}

@media screen and (min-width: 576px) {
  .lap-visible {
    display: flex;
  }

  .phone-visible {
    display: none;
  }

  .main-container {
    margin-top: 35px;
    width: 85%;
    height: 90vh;
  }
}

@media screen and (min-width: 769px) {
  .main-container {
    margin-top: 35px;
    width: 80%;
    height: 82vh;
  }
}

@media screen and (min-width: 1281px) {
  .main-container {
    margin-top: 35px;
    width: 65%;
    height: 82vh;
  }
}

@media screen and (max-width: 575px) {
  .lap-visible {
    display: none;
  }

  .phone-visible {
    display: flex;
  }

  .main-container {
    margin-top: 35px;
    // position: relative;
    width: 100%;
    height: 100%;
  }

  button.btn-clear {
    width: 93px;
    height: 50px;
    font-size: .7em;
    background: white;
    border: 1px solid;
  }
}