-
Notifications
You must be signed in to change notification settings - Fork 1
/
ph-audio-image-video-recorder.css
91 lines (72 loc) · 1.75 KB
/
ph-audio-image-video-recorder.css
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
:host {
display: block; }
/* see http://css-tricks.com/snippets/css/keyframe-animation-syntax */
@-webkit-keyframes pulsateOpacity {
0% {
opacity: 1; }
50% {
opacity: 0.1; }
100% {
opacity: 1; } }
@keyframes pulsateOpacity {
0% {
opacity: 1; }
50% {
opacity: 0.1; }
100% {
opacity: 1; } }
.spaceToTop {
margin-top: 1rem; }
#videoContainer.video, #videoContainer.image {
width: 640px;
height: 480px;
border: 1px grey dashed; }
#videoContainer.audio {
width: 640px;
height: 240px;
border: 1px grey dashed; }
#videoContainer.audio ph-core-audio {
height: inherit; }
#liveVideo {
width: 640px;
height: 480px; }
.grayscale {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
filter: grayscale(100%); }
.sepia {
-webkit-filter: sepia(1);
-moz-filter: sepia(1);
-ms-filter: sepia(1);
filter: sepia(1); }
.invert {
-webkit-filter: invert(100%);
-moz-filter: invert(100%);
-ms-filter: invert(100%);
filter: invert(100%); }
.brightness {
-webkit-filter: brightness(150%);
-moz-filter: brightness(150%);
-ms-filter: brightness(150%);
filter: brightness(150%); }
.blur {
-webkit-filter: blur(3px);
-moz-filter: blur(3px);
-ms-filter: blur(3px);
filter: blur(3px); }
#recordButton > core-icon {
color: red; }
.pulsate {
-webkit-animation: pulsateOpacity 2s infinite linear;
animation: pulsateOpacity 2s infinite linear;
/*-webkit-animation: recordPulsate 2s infinite linear;*/ }
paper-button > div {
margin-left: 0.5rem; }
#progressLine {
margin-top: -3px;
width: 0%;
height: 5px;
background-color: #03a9f4;
transition: width 250ms linear 0ms;
/* 250ms is the redraw interval, so the progress is smooth */ }