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

.collectionfreeformview-ease {
    position: inherit;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: left top;
    transition: transform 1s;
}

.collectionfreeformview-none {
    position: inherit;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: left top;
}

.collectionfreeformview-container {
    .collectionfreeformview>.jsx-parser {
        position: inherit;
        height: 100%;
        width: 100%;
    }

    >.jsx-parser {
        z-index: 0;
    }

    //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;
    // }
    opacity: 0.99;
    border: 0px solid $light-color-secondary;
    border-radius: inherit;
    box-sizing: border-box;
    position: absolute;

    .marqueeView {
        overflow: hidden;
    }

    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

// 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;
}