aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/CollectionLinearView.scss
blob: 46a226eef73b32d58b8da9a6643dee586ad5f4dc (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
@import "globalCssVariables";
@import "nodeModuleOverrides";

.collectionLinearView-outer{
    overflow: hidden;
    height:100%;
    padding:5px;
}
.collectionLinearView {
    display:flex;
    >label {
        background: $dark-color;
        color: $light-color;
        display: inline-block;
        border-radius: 18px;
        font-size: 25px;
        width: 36px;
        height: 36px;
        margin-right: 10px;
        cursor: pointer;
        transition: transform 0.2s;
    }

    label p {
        padding-left: 10.5px;
        width: 500px;
        height: 500px;
    }

    label:hover {
        background: $main-accent;
        transform: scale(1.15);
    }

    >input {
        display: none;
    }
    >input:not(:checked)~.collectionLinearView-content {
        display: none;
    }

    >input:checked~label {
        transform: rotate(45deg);
        transition: transform 0.5s;
        cursor: pointer;
    }

    .collectionLinearView-content {
        display: flex;
        opacity: 1;
        padding: 0;
        position: relative;
        .collectionFreeFormDocumentView-container {
            position: relative;
        } 
        .collectionLinearView-docBtn {
            position:relative;
            margin-right: 10px;
        }
        .collectionLinearView-round-button {
            width: 36px;
            height: 36px;
            border-radius: 18px;
            font-size: 15px;
        }
        
        .collectionLinearView-round-button:hover {
            transform: scale(1.15);
        }
        
    }
    
    .collectionLinearView-add-button {
        position: relative;
        margin-right: 10px;
    }
}