mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-10-06 22:32:41 +07:00
117 lines
2.2 KiB
CSS
117 lines
2.2 KiB
CSS
/* 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: 1px solid red;
|
|
position: absolute;
|
|
bottom: 60px;
|
|
right: 20px;
|
|
width: 250px;
|
|
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: visible;
|
|
}
|
|
|
|
/* Settings header */
|
|
.settings-header {
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Settings items */
|
|
.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;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
/* Submenu header */
|
|
.submenu-header {
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.submenu-header:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
/* 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);
|
|
}
|
|
.vjs-icon-cog:before {
|
|
font-size: 20px !important;
|
|
position: relative;
|
|
top: -5px !important;
|
|
}
|