/
image_flipper.scss
129 lines (116 loc) · 1.79 KB
/
image_flipper.scss
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
123
124
125
126
127
128
129
.image-flipper {
position: relative;
margin-top: 1rem;
}
.image-flipper-image {
margin: auto;
max-width: 100%;
max-height: 650px;
min-height: 200px;
}
.image-flipper-left {
position: absolute;
top: -5px;
left: -5px;
bottom: -5px;
background-color: rgba(0, 0, 0, 0.5);
&:hover {
background-color: rgba(0, 0, 0, 0.7);
}
}
.image-flipper-right {
position: absolute;
top: -5px;
bottom: -5px;
right: -5px;
background-color: rgba(0, 0, 0, 0.5);
&:hover {
background-color: rgba(0, 0, 0, 0.7);
}
}
.is-loaded-false {
display: none;
}
.is-loaded-true {
display: block;
}
.no-flipper-image-container {
img {
opacity: 0.4;
}
p {
position: absolute;
left: 0;
right: 0;
z-index: 1;
font-size: 1.5rem;
text-align: center;
padding: 20% 1rem 0;
line-height: 2.4rem;
margin-left: 50px;
margin-right: 50px;
}
}
.photos-footer {
display: flex;
position: relative;
bottom: 1rem;
justify-content: space-between;
label {
font-weight: normal;
}
span {
font-weight: bold;
}
}
.image-metadata {
display: flex;
label {
margin-left: 1rem;
margin-right: 0.5rem;
}
}
.image-created-at {
span {
white-space: nowrap;
}
label {
margin-right: 0.5rem;
}
}
.photos{
.farmware-button{
position: relative!important;
bottom: 3rem;
height: 0px;
float: right!important;
}
}
.weed-detector{
.farmware-button{
position: relative;
top: 0rem;
z-index: 9;
height: 0px;
float: right;
}
}
.farmware-button {
div {
float: right;
}
p {
float: right;
margin-top: 0.75rem;
margin-right: 1rem;
color: $medium_gray;
}
}
.index-indicator {
position: absolute;
top: 3rem;
bottom: 0;
right: 0;
background: $white;
height: 3px;
}