2017-07-18 02:21:45 +08:00
|
|
|
@import "/imports/ui/stylesheets/variables/_all";
|
|
|
|
@import "/imports/ui/components/modal/simple/styles";
|
2017-05-02 03:52:57 +08:00
|
|
|
|
2017-09-26 04:28:36 +08:00
|
|
|
.header {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
line-height: 2rem;
|
2017-05-02 03:52:57 +08:00
|
|
|
}
|
2016-10-12 03:10:06 +08:00
|
|
|
|
2017-09-26 04:28:36 +08:00
|
|
|
.content {
|
2017-03-23 04:10:49 +08:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2017-09-26 04:28:36 +08:00
|
|
|
padding: 0;
|
2017-10-05 04:49:11 +08:00
|
|
|
margin-top: auto;
|
|
|
|
margin-bottom: auto;
|
2017-09-26 04:28:36 +08:00
|
|
|
|
|
|
|
.audioBtn:first-child {
|
|
|
|
margin-right: 3rem;
|
|
|
|
|
|
|
|
@include mq($small-only) {
|
|
|
|
margin-right: 1rem;
|
|
|
|
}
|
|
|
|
}
|
2016-10-12 03:10:06 +08:00
|
|
|
}
|
|
|
|
|
2017-09-26 04:28:36 +08:00
|
|
|
//
|
|
|
|
|
|
|
|
.overlay {
|
|
|
|
@extend .overlay;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
@extend .modal;
|
|
|
|
padding: 1.5rem;
|
2017-10-05 04:49:11 +08:00
|
|
|
min-height: 35vh;
|
2017-07-11 23:15:19 +08:00
|
|
|
}
|
|
|
|
|
2017-03-23 04:52:41 +08:00
|
|
|
.closeBtn {
|
2017-09-26 04:28:36 +08:00
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
position: absolute;
|
2017-07-11 23:15:19 +08:00
|
|
|
background-color: $color-white;
|
2017-03-23 04:10:49 +08:00
|
|
|
border: none;
|
2017-09-26 04:28:36 +08:00
|
|
|
padding: .75rem;
|
|
|
|
|
|
|
|
|
2017-03-23 04:10:49 +08:00
|
|
|
i {
|
|
|
|
color: $color-gray-light;
|
|
|
|
}
|
2017-07-11 23:15:19 +08:00
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:hover{
|
2017-09-26 04:28:36 +08:00
|
|
|
background-color: $color-white;
|
2017-07-11 23:15:19 +08:00
|
|
|
i{
|
2017-09-29 21:38:10 +08:00
|
|
|
color: $color-primary;
|
2017-07-11 23:15:19 +08:00
|
|
|
}
|
|
|
|
}
|
2016-10-12 03:10:06 +08:00
|
|
|
}
|
|
|
|
|
2017-10-05 04:49:11 +08:00
|
|
|
.audioBtn {
|
2017-03-23 04:10:49 +08:00
|
|
|
i{
|
|
|
|
color: #3c5764;
|
|
|
|
}
|
2016-10-12 03:10:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Modifies the audio button icon colour
|
2017-10-05 04:49:11 +08:00
|
|
|
.audioBtn span:first-child {
|
2017-03-23 04:10:49 +08:00
|
|
|
color: #1b3c4b;
|
|
|
|
background-color: #f1f8ff;
|
2016-10-12 03:10:06 +08:00
|
|
|
box-shadow: none;
|
2017-03-23 04:10:49 +08:00
|
|
|
border: 5px solid #f1f8ff;
|
2017-10-05 04:49:11 +08:00
|
|
|
font-size: 3.5rem;
|
|
|
|
|
|
|
|
@include mq($small-only) {
|
|
|
|
font-size: 2.5rem;
|
|
|
|
}
|
2016-10-12 03:10:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// When hovering over a button of class audioBtn, change the border colour of first span-child
|
2017-10-05 04:49:11 +08:00
|
|
|
.audioBtn:hover span:first-child,
|
|
|
|
.audioBtn:focus span:first-child {
|
2016-10-12 03:10:06 +08:00
|
|
|
border: 5px solid $color-primary;
|
2017-03-23 04:10:49 +08:00
|
|
|
background-color: #f1f8ff;
|
2016-10-12 03:10:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Modifies the button label text
|
2017-10-05 04:49:11 +08:00
|
|
|
.audioBtn span:last-child {
|
2017-03-23 04:10:49 +08:00
|
|
|
color: black;
|
2017-10-05 04:49:11 +08:00
|
|
|
font-size: 1rem;
|
2017-03-24 22:24:23 +08:00
|
|
|
font-weight: 600;
|
2017-03-23 04:10:49 +08:00
|
|
|
}
|
|
|
|
|
2017-09-26 04:28:36 +08:00
|
|
|
// Button.audioBtn:first-of-type {
|
|
|
|
// margin-right: 5%;
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// Button.audioBtn:last-of-type {
|
|
|
|
// margin-left: 5%;
|
|
|
|
// }
|
|
|
|
|
2017-03-23 04:52:41 +08:00
|
|
|
.title {
|
2017-03-23 04:10:49 +08:00
|
|
|
text-align: center;
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 1.3rem;
|
2017-09-26 04:28:36 +08:00
|
|
|
white-space: normal;
|
2017-03-23 04:10:49 +08:00
|
|
|
|
2017-09-26 04:28:36 +08:00
|
|
|
@include mq($small-only) {
|
|
|
|
font-size: 1rem;
|
|
|
|
padding: 0 1rem;
|
2017-03-23 04:10:49 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-05 04:49:11 +08:00
|
|
|
.connecting {
|
|
|
|
font-size: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.connecting:after {
|
|
|
|
overflow: hidden;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: bottom;
|
|
|
|
-webkit-animation: ellipsis steps(4,end) 900ms infinite;
|
|
|
|
animation: ellipsis steps(4,end) 900ms infinite;
|
|
|
|
content: "\2026"; /* ascii code for the ellipsis character */
|
|
|
|
width: 0;
|
|
|
|
margin-right: 1.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes ellipsis {
|
|
|
|
to {
|
|
|
|
width: 1.25em;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes ellipsis {
|
|
|
|
to {
|
|
|
|
width: 1.25em;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-26 04:28:36 +08:00
|
|
|
.audioNote {
|
2017-07-08 00:11:22 +08:00
|
|
|
color: $color-text;
|
2017-09-26 04:28:36 +08:00
|
|
|
display: inline-block;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
}
|