/* CustomSettingsMenu.css */ /* Settings button styling */ .vjs-settings-button { width: 3em; height: 3em; display: flex; align-items: center; justify-content: center; padding: 0; margin: 0; } /* Settings button icon styling */ .vjs-icon-cog1 { font-size: 30px !important; position: relative; top: -8px !important; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; line-height: 1; } /* Settings overlay styling */ .custom-settings-overlay { border: 0; position: absolute; bottom: 60px; right: 20px; width: 280px; height: 350px; background: rgba(28, 28, 28, 0.95); color: white; border-radius: 7px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); display: none; z-index: 1000; font-size: 14px; overflow: auto; } .settings-header {padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-weight: bold;} .settings-item { padding: 12px 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.1); transition: background 0.2s ease; gap:10px;} .settings-item .settings-left span{ display:flex;} .custom-settings-overlay .settings-left span.vjs-icon-placeholder {transform: inherit !important;} .settings-item:last-child { border-bottom: none;} .settings-item:hover { background: rgba(255, 255, 255, 0.05);} /* Speed submenu */ .speed-submenu { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(28, 28, 28, 0.95); display: none; flex-direction: column; } /* Quality submenu mirrors speed submenu */ .quality-submenu { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(28, 28, 28, 0.95); display: none; flex-direction: column; } /* Subtitles submenu styling mirrors speed/quality */ .subtitles-submenu { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(28, 28, 28, 0.95); display: none; flex-direction: column; } .subtitle-option { padding: 12px 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s ease; } .subtitle-option:hover { background: rgba(255,255,255,0.05); } .subtitle-option.active { background: rgba(255,255,255,0.1); } /* Submenu header */ .submenu-header { padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; cursor: pointer; position: sticky; top: 0; background: rgba(28, 28, 28, 0.95); z-index: 1; } .submenu-header:hover { background: rgba(28, 28, 28, 1); } /* Speed options */ .speed-option { padding: 12px 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s ease; } .speed-option:hover { background: rgba(255, 255, 255, 0.05); } .speed-option.active { background: rgba(255, 255, 255, 0.1); } /* Quality option styling */ .quality-option { padding: 12px 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s ease; } .quality-option:hover { background: rgba(255, 255, 255, 0.05); } .quality-option.active { background: rgba(255, 255, 255, 0.1); } /* Settings row left/right layout like YouTube */ .settings-left { display: inline-flex; align-items: center; gap: 8px; } .settings-right { display: inline-flex; align-items: center; text-align:right; } /* .vjs-icon-cog:before { font-size: 20px !important; position: relative; top: -5px !important; } */ /* HD superscript badge for 1080p */ sup.hd-badge { font-size: 10px; line-height: 1; margin-left: 6px; background: #e53935; color: #fff; padding: 1px 4px; border-radius: 3px; }