mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
style: add visual styling to time display components
Adds consistent styling to duration and current time display components across both HTML and React platforms: - Semi-transparent dark background matching other UI components - Monospace font for better time alignment - Proper padding, borders, and text alignment - Consistent color scheme with existing control bar elements Both HTML and React skins now display time values with proper visual styling that integrates seamlessly with the control bar design. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
committed by
Christian Pillsbury
co-authored by
Claude
parent
0746d400af
commit
5aeeb6dde6
@@ -42,6 +42,20 @@ export function getTemplateHTML() {
|
||||
background: none;
|
||||
}
|
||||
|
||||
/* Time Display Styling */
|
||||
media-current-time-display,
|
||||
media-duration-display {
|
||||
background: rgb(20 20 30 / .7);
|
||||
padding: 4px 8px;
|
||||
color: rgb(238 238 238);
|
||||
font-family: monospace;
|
||||
font-size: 14px;
|
||||
border-radius: 2px;
|
||||
min-width: 3em;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* Generic Media Button Styling */
|
||||
.button {
|
||||
border: none;
|
||||
|
||||
Reference in New Issue
Block a user