session-desktop/stylesheets/_recorder.scss

103 lines
1.7 KiB
SCSS
Raw Normal View History

2016-08-16 00:36:29 +02:00
.capture-audio {
text-align: center;
.microphone {
height: 36px;
width: 36px;
text-align: center;
opacity: 0.5;
background: transparent;
padding: 0;
border: none;
2019-01-10 21:26:28 +01:00
margin-top: 2px;
2016-08-16 00:36:29 +02:00
2018-05-04 22:07:52 +02:00
&:focus,
&:hover {
opacity: 1;
2016-08-16 00:36:29 +02:00
}
&:before {
content: '';
display: inline-block;
2016-09-03 23:36:40 +02:00
height: 24px;
2016-08-16 00:36:29 +02:00
width: 24px;
2017-03-08 01:54:46 +01:00
@include color-svg('../images/microphone.svg', $grey);
2016-08-16 00:36:29 +02:00
}
}
}
.recorder {
background: $color-white;
2016-08-16 00:36:29 +02:00
button {
float: right;
width: 36px;
height: 36px;
border-radius: 36px;
margin-inline-start: 5px;
2016-08-16 00:36:29 +02:00
opacity: 0.5;
text-align: center;
padding: 0;
2019-01-10 21:26:28 +01:00
margin-top: 5px;
2016-08-16 00:36:29 +02:00
2018-05-04 22:07:52 +02:00
&:focus,
&:hover {
opacity: 1;
2016-08-16 00:36:29 +02:00
}
.icon {
display: inline-block;
width: $button-height;
height: $button-height;
}
}
.finish {
2020-08-26 02:48:35 +02:00
background: lighten($session-color-green, 20%);
border: 1px solid $session-color-green;
2016-08-16 00:36:29 +02:00
2018-05-04 22:07:52 +02:00
.icon {
2020-08-26 02:48:35 +02:00
@include color-svg('../images/check.svg', $session-color-green);
2018-05-04 22:07:52 +02:00
}
2016-08-16 00:36:29 +02:00
}
.close {
2020-08-26 02:48:35 +02:00
background: lighten($session-color-danger, 20%);
border: 1px solid $session-color-danger;
2016-08-16 00:36:29 +02:00
2018-05-04 22:07:52 +02:00
.icon {
2020-08-26 02:48:35 +02:00
@include color-svg('../images/x.svg', $session-color-danger);
2018-05-04 22:07:52 +02:00
}
2016-08-16 00:36:29 +02:00
}
.time {
color: $grey;
float: right;
line-height: 36px;
padding: 0 10px;
@keyframes pulse {
2018-05-04 22:07:52 +02:00
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
2016-08-16 00:36:29 +02:00
}
&::before {
content: '';
display: inline-block;
border-radius: 10px;
width: 10px;
height: 10px;
background: #f00;
margin-inline-end: 10px;
2016-08-16 00:36:29 +02:00
opacity: 0;
animation: pulse 2s infinite;
}
}
}