aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss
blob: c979b27a930e2f7809d95a369bd03a9708479456 (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
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
@import "../../global_variables";

.collectionfreeformview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: left top;
  .inking-canvas {
    transform-origin: 50000px 50000px;
  }
}
.collectionfreeformview-container {
  .collectionfreeformview > .jsx-parser {
    position: absolute;
    height: 100%;
    width: 100%;
  }

  .inking-canvas {
    transform-origin: 50000px 50000px;
  }
  //nested freeform views
  // .collectionfreeformview-container {
    // background-image: linear-gradient(to right, $light-color-secondary 1px, transparent 1px),
    //   linear-gradient(to bottom, $light-color-secondary 1px, transparent 1px);
    // background-size: 30px 30px;
  // }

  box-shadow: $intermediate-color 0.2vw 0.2vw 0.8vw;
  border: 0px solid $light-color-secondary;
  border-radius: $border-radius;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.collectionfreeformview-overlay {
  .collectionfreeformview > .jsx-parser {
    position: absolute;
    height: 100%;
  }
  .formattedTextBox-cont {
    background: $light-color-secondary;
  }

  .inking-canvas {
    transform-origin: 50000px 50000px;
  }

  opacity: 0.99;
  border: 0px solid transparent;
  border-radius: $border-radius;
  box-sizing: border-box;
  position:relative;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  .collectionfreeformview {
    .formattedTextBox-cont {
        background:yellow;
    }
  }
}

// selection border...?
.border {
  border-style: solid;
  box-sizing: border-box;
  width: 98%;
  height: 98%;
  border-radius: $border-radius;
}

//this is an animation for the blinking cursor!
@keyframes blink {
  0% {
    opacity: 0;
  }
  49% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

#prevCursor {
  animation: blink 1s infinite;
}