aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.scss
blob: a0e829d2609accec282d00c14eca7529346c7b03 (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
@import "../globalCssVariables";

.documentView-node, .documentView-node-topmost {
  position: inherit;
  top: 0;
  left:0;
  background: $light-color; //overflow: hidden;
  transform-origin: left top;

  &.minimized {
    width: 30px;
    height: 30px;
  }

  .top {
    height: 20px;
    cursor: pointer;
  }

  .content {
    padding: 20px 20px;
    height: auto;
    box-sizing: border-box;
  }

  .scroll-box {
    overflow-y: scroll;
    height: calc(100% - 20px);
  }
}
.documentView-node-topmost {
    background: white;
}
.minimized-box {
    position: absolute;
    left:0;
    top:0;
    width:$MINIMIZED_ICON_SIZE;
    height:$MINIMIZED_ICON_SIZE;
    transform:translate(-50%, -50%);
}

.minimized-box:hover {
  background: $main-accent;
  transform:translate(-50%, -50%) scale(1.15);;
  cursor: pointer;
}