aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.scss
blob: 497ce96c9c5e0ea8ffdf796fae3617070cd37928 (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
.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%;
}

.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;
  }
  
  #cf img {
    position:absolute;
    left:0;
    -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;
  }
  
  #cf img.fadeaway:hover {
    opacity:0;
  }