File size: 2,689 Bytes
2909463 |
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 130 131 132 133 134 135 136 137 138 139 140 141 142 |
body {
margin: 0;
}
.voice-div {
display: flex;
justify-content: center;
align-items: center;
}
.voice-select-div {
display: flex;
justify-content: left;
}
#record-btn {
border-radius: 0.25rem;
margin: 0;
line-height: 1.4;
color: inherit;
display: inline-flex;
justify-content: center;
align-items: center;
font-size: 1.2rem;
font-weight: bold;
text-transform: uppercase;
background-color: transparent;
border: 1px solid rgba(49, 51, 63, 0.2);
cursor: pointer;
transition: all 0.2s ease;
user-select: none;
height: 40px;
width: 100%;
}
#record-btn:hover {
border-color: rgb(255, 75, 75);
}
#toggle-btn {
display: inline-flex;
justify-content: center;
align-items: center;
padding: 1rem 2rem;
height: 40px;
font-size: 1.2rem;
font-weight: bold;
border: none;
text-transform: uppercase;
background-color: transparent;
cursor: pointer;
transition: all 0.2s ease;
user-select: none;
margin: 0;
width: 20px;
}
#record-btn i {
margin-right: 0.5rem;
}
#record-btn:active i {
transform: scale(0.8);
}
#record-btn:active span {
opacity: 0;
}
#record-btn.recording {
background-color: transparent;
color: black;
box-shadow: inset 0 0 1.25rem red;
}
#record-btn.recording i {
animation: pulse 1s infinite;
}
#record-btn.recording span {
display: none;
}
select {
border: none;
border-radius: 0;
background-color: transparent;
box-shadow: none;
font-size: 16px;
padding: 10px 15px 10px 3px;
height: 40px;
color: #333;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-repeat: no-repeat;
background-position: right 10px center;
text-align: left;
}
select:focus {
box-shadow: none;
outline: none;
}
select:hover {
cursor: pointer;
}
#language-select, #voice-select {
display: inline-flex;
justify-content: left;
text-size-adjust: 100%;
font-size: 1rem;
transition-duration: 200ms;
padding: 6px 15px 6px 10px;
width: auto;
max-width: 100%;
white-space: nowrap;
box-sizing: border-box;
color: rgb(49, 51, 63);
transition-timing-function: cubic-bezier(0.2, 0.8, 0.4, 1);
overflow: hidden;
cursor: text;
transition-property: border, box-shadow, background-color;
background-color: transparent;
font-weight: 300;
border-radius: 0.25rem;
margin: 10px 0 10px 0;
line-height: 1.4;
border: 1px solid rgba(49, 51, 63, 0.2);
}
#voice-select {
margin-top: 5px;
width: 100%;
}
.select option {
display: inline-block;
} |