aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.scss
blob: 98cf7f92f93fa4780d45a4e2c948ad9a3b9ac021 (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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
.imageBox-cont {
    padding: 0vw;
    position: relative;
    text-align: center;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    pointer-events: none;
}

.imageBox-cont-interactive {
    pointer-events: all;
    width: 100%;
    height: auto;
}

.imageBox-dot {
    position: absolute;
    bottom: 10;
    left: 0;
    border-radius: 10px;
    width: 20px;
    height: 20px;
    background: gray;
}

.imageBox-cont img {
    height: auto;
    width: 100%;
}

.imageBox-cont-interactive img {
    height: auto;
    width: 100%;
}

#google-photos {
    transition: all 0.5s ease 0s;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 15px;
    right: 15px;
    border: 2px solid black;
    border-radius: 50%;
    padding: 3px;
    background: white;
    cursor: pointer;
}

.imageBox-button {
    padding: 0vw;
    border: none;
    width: 100%;
    height: 100%;
}

.imageBox-audioBackground {
    display: inline-block;
    width: 10%;
    position: absolute;
    top: 0px;
    left: 0px;
    border-radius: 25px;
    background: white;
    opacity: 0.3;

    svg {
        width: 90% !important;
        height: 70%;
        position: absolute;
        left: 5%;
        top: 15%;
    }
}

#cf {
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
    overflow: hidden;

    .imageBox-fadeBlocker {
        width: 100%;
        height: 100%;
        background: black;
        display: flex;
        flex-direction: row;
        align-items: center;
        z-index: 1;

        .imageBox-fadeaway {
            object-fit: contain;
            width: 100%;
            height: 100%;
        }
    }
}

#cf img {
    position: absolute;
    left: 0;
}

.imageBox-fadeBlocker {
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}

.imageBox-fadeBlocker:hover {
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}