fix(extend-video-speed): 修复输入框字体大小,颜色,行高等样式

This commit is contained in:
JLoeve 2021-01-18 17:12:21 +08:00
parent 66135ae92e
commit ef2e4fa33a

View File

@ -102,7 +102,9 @@ export const getExtraSpeedMenuItemElements = async () => {
font-size: 1.5em;
}
.${VideoSpeedController.classNameMap.speedContainer} .${VideoSpeedController.classNameMap.speedMenuItem}:first-child input {
color: #fff;
font-size: inherit;
color: inherit;
line-height: inherit;
background: transparent;
outline: none;
width: 100%;
@ -110,7 +112,8 @@ export const getExtraSpeedMenuItemElements = async () => {
text-align: center;
}
.${VideoSpeedController.classNameMap.speedMenuItem} .mdi-close-circle {
color: hsla(0,0%,100%,.5);
color: inherit;
opacity: 0.5;
display: none;
position: absolute;
right: 4px;
@ -119,8 +122,8 @@ export const getExtraSpeedMenuItemElements = async () => {
display: inline;
}
.${VideoSpeedController.classNameMap.speedMenuItem} .mdi-close-circle:hover {
color: #fff;
transition: color .3s;
opacity: 1;
transition: all .3s;
}
/* https://stackoverflow.com/a/4298216 */
/* Chrome */