aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/ui/panel-wrapper/panel-wrapper.component.less
blob: cacb85d6b190d60c1a4a0ef50787c28080d75388 (plain)
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
@import '../../../../../assets/styles/variables';

.w-sdc-designer-sidebar {
  background-color:@main_color_p ;
  font-family: @font-opensans-regular;
  font-size: 13px;
  color: #191919;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  bottom: 0;
  position: fixed;
  right: -302px;
  width: 302px;
  top: 103px;
  transition: right 0.2s;
  z-index: 1010;
  box-shadow: -7px -3px 6px -8px @main_color_n;
}

.w-sdc-designer-sidebar-toggle {
  background-color: @main_color_p;
  border-left: 1px solid @main_color_o;
  border-bottom: 1px solid @main_color_o;
  height: 21px;
  position: absolute;
  right: 0;
  top: 53px;
  width: 17px;
  transition: right 0.2s;
  z-index: 1005;
  box-shadow: -1px 1px 3px 0  @main_color_n;
  cursor: pointer;

  &.active {
    right: 302px;
    .w-sdc-designer-sidebar-toggle-icon{
      transform: rotate(180deg);
    }
  }
}

.w-sdc-designer-sidebar-toggle-icon {
  margin-left: 6px;
  margin-top: 6px;
}

.w-sdc-designer-sidebar-toggle.active + .w-sdc-designer-sidebar {
  right: 0;
  display: flex;
  flex-direction: column;
}