Files
rktplayer/gui/styles.css
2026-02-25 18:11:13 +01:00

211 lines
2.9 KiB
CSS

body {
font-family: Arial;
font-size: 11pt;
background: #202020;
color: #ffffff;
}
.pane {
height: calc(100vh - 40px - 2em - 10px);
width: calc(100% - 10px);
display: flex;
flex-direction: column;
}
.buttons {
height: 40px;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
border: 1px solid #505050;
margin-bottom: 5px;
}
button {
background: #e0e0e0;
border: none;
border-left: 1px solid #505050;
border-right: 1px solid #505050;
}
button:hover {
background: #909090;
}
button.command {
margin: 0;
padding: 0;
width: 40px;
height: 40px;
}
button.command img {
height: 32px;
width: 32px;
margin: 0;
padding: 2px;
}
input.h-slider {
flex-grow: 1;
}
.buttons .text-block {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
/*width: 4em;*/
border-left: 1px solid #505050;
}
.buttons span.time, .buttons span.totaltime {
font-weight: bold;
text-align: center;
padding-left: 0.5em;
padding-right: 0.5em;
}
.hpane {
height: 100%;
width: 100%;
display: flex;
}
.music-info {
border: 1px solid #505050;
width: 30%;
height: 100%;
}
.music-library {
border-bottom: 1px solid #505050;
width: 100%;
height: 50%;
}
.album-art {
width: 100%;
height: 50%;
padding: 5px;
}
.music-playing {
border: 1px solid #505050;
border-left: none;
width: 70%;
height: 100%;
}
.content {
width: 100%;
height: 100%;
overflow: hidden;
}
.scrolly {
overflow-y: auto;
}
table.music-library {
padding: 5px;
}
table.music-library tr td {
border-bottom: 1px solid #f0f0f0;
cursor: default;
height: 1.1em;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
user-select: none;
}
table.music-library tr:hover td {
background: #e0e0e0;
color: black;
}
.popup-menu, .popup-submenu {
display: flex;
flex-direction: column;
margin: 5px;
padding: 5px;
position: absolute;
z-index: 9999;
border: 1px solid black;
background: #e0e0e0;
color: black;
}
.popup-submenu {
display: none;
}
.menubar .menu-item span.menu-icon, .popup-menu .menu-item span.menu-icon {
min-width: unset;
width: unset;
}
.menubar .menu-item {
min-width: unset;
width: unset;
color: black;
}
input[type="range"] {
accent-color: #c97101;
}
.menu-item span.menu-name {
text-wrap: nowrap;
}
table.tracks {
width: 94%;
margin-left: 3%;
margin-right: 3%;
margin-top: 5px;
margin-bottom: 5px;
}
table.tracks td.number {
text-align: right;
}
table.tracks tr, table.tracks td {
cursor: default;
user-select: none;
}
table.tracks tr:hover {
background: #e0e0e0;
color: black;
}
table.tracks tr:hover.current {
color: #955c12;
}
table.tracks tr.current {
font-weight: bold;
color: #f3961e;
}
.album-art .content img {
width: auto;
height: calc(100% - 20px);
aspect-ratio: 1 / 1;
margin: auto;
}
.album-art .content {
display: flex;
justify-content: center;
}