mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
fix(extend-video-speed): 修复输入框字体大小,颜色,行高等样式
This commit is contained in:
parent
66135ae92e
commit
ef2e4fa33a
@ -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 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user