Files
rktplayer/gui/styles.css

272 lines
3.9 KiB
CSS

body {
font-family: Arial;
font-size: 11pt;
background: #202020;
color: #ffffff;
}
.pane {
height: calc(100vh - 2em - 20px);
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;
transition: all 0.5s ease-in;
}
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: calc(100% - 40px - 2.5em);
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%;
}
.tabs {
width: 100%;
height: 1.5em;
border-bottom: 1px solid #505050;
}
.tabs span.tab {
width: 50px;
overflow: hide;
text-overflow: hide;
white-space: nowrap;
border: 1px solid #505050;
cursor: default;
padding-left: 5px;
padding-right: 5px;
border-bottom: none;
}
.tabs span.tab.current {
font-weight: bold;
color: #f3961e;
}
.tabs span.tab:hover {
background: #e0e0e0;
color: black;
transition: all 0.5s ease-in;
}
.content {
width: 100%;
height: 100%;
overflow: hidden;
}
.music-playing .content {
height: calc(100% - 1.5em);
}
.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 td:hover {
background: #e0e0e0;
color: black;
transition: all 0.5s ease-in;
}
.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%;
}
table.tracks td {
text-overflow: ellipsis;
white-space: nowrap;
padding-left: 5px;
}
table.tracks td.number {
text-align: right;
width: 40px;
}
table.tracks td.length {
width: 30px;
}
table.tracks td.title, table.tracks td.album {
width: calc(50% - 70px);
}
table.tracks tr, table.tracks td {
cursor: default;
user-select: none;
}
table.tracks tr:hover {
background: #e0e0e0;
color: black;
transition: all 0.5s ease-in;
}
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;
}
div.status {
width: 100%;
height: 2em;
padding-top: 0.25em;
border-left: 1px solid #505050;
}
div.status span.info {
padding-left: 5px;
padding-right: 5px;
border-right: 1px solid #505050;
color: #d0d0d0;
}