mirror of
https://github.com/kmoskwiak/videojs-resolution-switcher.git
synced 2025-10-03 17:59:42 +02:00
Gear icon Fixed
Gear Icon Fixed
This commit is contained in:
parent
e99c1b972a
commit
347732090d
1 changed files with 31 additions and 0 deletions
31
videojs-resolution-switcher.css
Normal file
31
videojs-resolution-switcher.css
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
.vjs-resolution-button .vjs-icon-placeholder:before {
|
||||||
|
content: '\f110';
|
||||||
|
font-family: VideoJS;
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
font-size: 1.8em;
|
||||||
|
line-height: 1.67em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vjs-resolution-button .vjs-resolution-button-label {
|
||||||
|
font-size: 1em;
|
||||||
|
line-height: 3em;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
text-align: center;
|
||||||
|
box-sizing: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vjs-resolution-button .vjs-menu .vjs-menu-content {
|
||||||
|
width: 4em;
|
||||||
|
left: 50%; /* Center the menu, in it's parent */
|
||||||
|
margin-left: -2em; /* half of width, to center */
|
||||||
|
}
|
||||||
|
|
||||||
|
.vjs-resolution-button .vjs-menu li {
|
||||||
|
text-transform: none;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue