-
Notifications
You must be signed in to change notification settings - Fork 8
/
custom-camera.page.scss
85 lines (73 loc) · 1.24 KB
/
custom-camera.page.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
:host {
background-color: transparent;
}
ion-content {
--background: transparent;
}
mat-icon {
color: #f2f2f2;
font-size: 36px;
height: 36px;
width: 36px;
}
mat-icon.flash-camera-button {
position: absolute;
top: 16px;
left: 16px;
}
mat-icon.close-camera-button {
position: absolute;
top: 16px;
right: 16px;
}
mat-icon.temporarily-hidden {
visibility: hidden;
}
// mat-icon
.select-from-go-pro-camera-button {
position: absolute;
top: 16px;
left: 16px;
color: var(--ion-color-primary);
display: flex;
align-items: center;
padding: 4px 8px;
font-size: 22px;
mat-icon {
margin-left: 4px;
font-size: 24px;
height: 24px;
width: 24px;
}
}
.camera-buttons-container {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
position: absolute;
left: 0;
right: 0;
bottom: 0;
padding: 16px 8px;
}
#camera-flash-placeholder {
position: absolute;
left: 0;
width: 100%;
top: 0;
height: 100%;
}
@keyframes flash-camera-keyframes {
from {
background-color: white;
}
to {
background-color: transparent;
}
}
.flash-camera-animation {
animation-duration: 1s;
animation-iteration-count: 1;
animation-name: flash-camera-keyframes;
}