* { box-sizing: border-box; }
html,body {
margin: 0; padding: 0; width: 100%; height: 100%;
/*font-family: 'Helvetica', sans-serif; font-weight: 300;*/
font-family: 'Trebuchet MS', sans-serif;
}
body {
transition: background 0.2s;
background-attachment: fixed;
font-size: 10px;
}
header {
font-size: 13px;
position: fixed;
top: 0px;
left: 50%;
transform: translateX(-50%);
padding: 10px;
width: 1020px;
max-width: calc(100vw - 20px);
}
header span {
color: #444;
padding-right: 8px;
}
a,
.link,
header a {
color: #66e;
}
header span:last-child {
padding-right: 0;
}
header a {
text-decoration: none;
opacity: 0.8;
transition: all 0.05s;
}
.desktop header a:hover {
opacity: 1;
}
header a b {
border-bottom: 1.5px solid;
}
h1, h2, h3 {
margin: 0;
}
h1 {
font-size: 20px;
}
h2 {
font-size: 14px;
}
h3 {
font-size: 12px;
}
h1 a, h2 a, h3 a {
color: #222;
text-decoration: none;
}
.desktop h1 a:hover, .desktop h2 a:hover, .desktop h3 a:hover {
color: #666;
text-decoration: underline;
}
#container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
min-height: 100%;
padding: 10px 10px;
}
section {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.row {
display: flex;
flex-direction: row;
}
.row.middle {
align-items: center;
}
.column {
display: flex;
flex-direction: column;
}
.rows {
margin-bottom: 3px;
}
.rows .row {
width: 100%;
}
.rows .row > div {
padding: 3px;
overflow: hidden;
text-overflow: ellipsis;
}
.app {
display: flex;
flex-direction: column;
align-self: flex-start;
width: calc(100vw - 40px);
max-width: 1000px;
min-height: 100vh;
padding-top: 30px;
padding-bottom: 50px;
}
.app.centered {
align-items: center;
justify-content: center;
width: auto;
max-width: auto;
min-height: auto;
padding-top: auto;
padding-bottom: auto;
}
.player {
width: 100%;
height: 50vmin;
margin-bottom: 10px;
display: flex;
align-items: center;
justify-content: center;
}
.player img, .player canvas {
width: 88vmin;
height: 50vmin;
}
.pix2wav .player img, .pix2wav .player canvas {
width: 50vmin;
}
.params {
justify-content: flex-start;
}
.group .param {
margin-bottom: 3px;
}
.group, .paramGroup {
padding-right: 10px;
}
.paramGroup.inactive {
background: rgba(255,255,255,0);
opacity: 0.4;
}
.group {
margin-bottom: 3px;
}
.group h3 {
margin-bottom: 3px;
}
.group p {
width: 250px;
line-height: 1.5;
}
.narrow {
width: 250px;
}
.gray {
color: #888;
opacity: 0.5;
}
.heading {
width: 100%;
margin-bottom: 10px;
}
.spaced {
display: flex;
flex-direction: row;
align-items: flex-end;
justify-content: space-between;
}
.row .heading,
.col .heading {
margin-bottom: 3px;
align-items: center;
justify-content: space-between;
}
.heading.middle > * {
margin-right: 10px;
}
.paramGroup > label {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 2px 0;
min-height: 22px;
}
.slider {
margin-bottom: 3px;
}
.slider input[type=text] {
width: 34px;
border: 1px solid transparent;
margin-right: 5px;
}
.slider input[type=text]:focus {
border: 1px solid #ddd; background: white;
}
.param {
display: flex;
flex-direction: row;
align-items: center;
}
.param > span,
.param > label {
display: flex;
justify-content: space-between;
align-items: center;
width: 120px;
text-align: right;
}
.param.checkbox > label {
width: 250px;
}
.system .param > span:last-child {
justify-content: flex-start;
}
.select.param > label,
.button.param > label,
.fileUpload.param > label,
.textInput.param > label {
width: 250px;
}
.select select {
max-width: 150px;
}
.param > label span {
white-space: nowrap;
}
.fileUpload input[type=file] {
opacity: 0; width: 0; height: 0;
}
.fileUpload button {
pointer-events: none;
}
/* file list */
.filelist { border: 1px solid #d0d0e0; margin-top: 3px; }
.filelist .file:nth-child(odd) { background-color: #e6f0f0; }
.desktop .filelist .file:nth-child(odd):hover { background-color: #d8e0ec; color: #000000; }
.filelist .file:nth-child(even) { background-color: #e0e8e8; }
.desktop .filelist .file:nth-child(even):hover { background-color: #d8e0ec; color: #000000; }
.filelist .file:nth-child(odd).checked { background-color: #c6d0d0; }
.desktop .filelist .file:nth-child(odd).checked:hover { background-color: #c8d0dc; color: #000000; }
.filelist .file:nth-child(even).checked { background-color: #c0c8c8; }
.desktop .filelist .file:nth-child(even).checked:hover { background-color: #b8c0cc; color: #000000; }
.filelist .filename {
width: 200px;
height: 15px;
}
.filelist .size {
width: 58px;
text-align: right;
}
.rows.filelist .row > div.date,
.filelist .date {
width: 60px;
white-space: nowrap;
overflow: visible;
}
.filelist .datetime {
width: 105px;
}
.filelist .epoch {
width: 45px;
}
.row .epoch {
white-space: nowrap;
}
/* folder list / bluebox */
.bluebox,
.folders .filelist {
background-color: #d8e0ec;
color: #000000;
border: 1px solid #321;
}
.folders .filelist .file { background: transparent; }
.filelist {
margin-right: 5px;
}
.rows .row .link {
color: #13f;
text-decoration: none;
cursor: pointer;
}
.rows .row .link:hover {
color: #12e;
text-decoration: underline;
cursor: pointer;
}
.rows .row .activity {
text-align: right;
width: 100px;
}
/* semitransparent bg on datasets */
.rows .row .dataset {
width: 200px;
border-left: 1px solid #c8c0c0;
border-right: 1px solid #c8c0c0;
}
.rows .row:first-of-type .dataset { border-top: 1px solid #c8c0c0; }
.rows .row:last-child .dataset { border-bottom: 1px solid #c8c0c0; }
.rows .row:nth-child(even) .dataset { background-color: rgba(10,13,18,0.1); }
.rows .row:nth-child(odd) .dataset { background-color: rgba(10,13,18,0.05); }
/* gallery */
.gallery {
margin-top: 10px;
display: flex;
flex-direction: row;
}
.gallery img {
max-width: 10vw;
margin-right: 10px;
}
/* samplernn loss graph */
.lossGraph canvas,
.lossGraph h3 {
position: fixed;
top: 0; left: 0;
}
.lossGraph h3 {
margin: 10px;
padding: 10px;
background: white;
font-size: 14px;
}
/* folder list */
.folderList {
margin-top: 10px;
}
.folderList h3 {
margin-bottom: 3px;
}
.folderList .group {
padding: 3px;
}
.folderList .param {
padding: 3px 0;
}
/* datasets */
.datasets .row.dataset {
max-width: 100vw;
flex-wrap: wrap;
}
.datasets .row.dataset > .col:nth-child(1) { min-width: 270px; }
.datasets .row.dataset > .col:nth-child(2) { min-width: 100px; padding-left: 0; }
.datasets .row.dataset > .col:nth-child(3) { min-width: 200px; }
.datasets .row.dataset > .col:nth-child(4) { min-width: 350px; }
.datasets .row.dataset > .col {
padding: 0;
}
.datasets .dataset:first-child > .col {
padding: 0 0 8px 2px;
font-size: larger;
opacity: 0.9;
}
.datasets .dataset:first-child > .col:first-child {
padding: 0 0 3px 0px;
}
.datasets .dataset > .col:nth-child(2) > div {
padding-top: 3px;
padding-bottom: 3px;
}
.dataset .filename,
.dataset .filelist .filename {
max-width: 160px;
}
.input_file {
padding-top: 4px;
}
.input_file .filename {
height: 12px;
}
.input_file div {
overflow: hidden;
text-overflow: ellipsis;
max-width: 200px;
display: inline-block;
margin-right: 4px;
}
.row .destroy {
opacity: 0;
cursor: pointer;
transition: all 0.2s;
}
.desktop .row:hover .destroy {
color: #444;
opacity: 0.5;
}
.desktop .row:hover .destroy:hover {
opacity: 1;
}
.rows .row.input_file > div {
padding: 0;
}
.checkpoint .filename {
max-width: 100px;
}
.unpersisted {
opacity: 0.5;
}
.noFiles {
opacity: 0.5;
}
.form {
margin-bottom: 10px;
}
.form .col > h2 {
margin-bottom: 4px;
}
.bestRenders {
margin-bottom: 10px;
}
/* actions */
.actions {
padding-bottom: 3px;
}
.actions .link {
padding-right: 3px;
}
.not_built {
opacity: 0.3;
transition: all 0.08s;
}
.not_built.processing {
opacity: 0.8;
}
.not_built.processing .actions {
opacity: 0.4;
}
.subtext {
cursor: arrow;
}
.rows .row .subtext .link {
opacity: 0.8;
transition: all 0.08s;
color: #888;
}
.desktop .subtext:hover .link,
.desktop .not_built:hover {
opacity: 1.0;
}
/* results */
.bestRenders .rows {
display: inline-block;
}
/*.desktop .rows .row > div.hiddenActions {
overflow: visible;
}
.desktop .hiddenActions {
position: relative;
}
.desktop .hiddenActions .actions {
position: absolute;
left: 0px;
top: -1px;
transition: opacity 0.05s;
opacity: 0;
}
.desktop .hiddenActions .subtext {
transition: opacity 0.05s;
opacity: 1;
}
.desktop .row:hover .hiddenActions .subtext {
opacity: 0;
}
.desktop .row:hover .hiddenActions .actions {
opacity: 1;
}
*/
/* progress bar */
.progress div {
margin: 1px;
width: 20px;
height: 2px;
display: inline-block;
box-shadow: 0 1px 2px rgba(10,17,23,0.2);
transition: all 0.1s;
}
.progress .x {
background: #333;
opacity: 0.8a;
}
.progress .o {
background: #fff;
opacity: 0.9;
box-shadow: 0 1px 2px rgba(10,17,23,0.4);
}
/* bucky bogart.css color shading :) */
.new { color: #000000; font-weight: bold; }
.recent { color: #001111; }
.med { color: #203838; }
.old { color: #425050; }
.older { color: #5D6464; }
.quiet { color: #787878; }
/* audio player */
.audioPlayer {
position: fixed;
bottom: 0;
right: 0;
margin: 10px;
background: white;
}
.audioPlayer button {
padding: 10px;
background: transparent;
border: 0;
cursor: pointer;
}
/* pix2wav spectrogram builder */
.fileMetadata .param > span:nth-child(1) {
width: 100px;
}
.spectrogramBuilder {
min-height: 400px;
border-bottom: 1px solid #888;
padding-bottom: 10px;
margin-bottom: 10px;
}
.thumbs canvas {
width: 80px; height: 80px;
margin: 3px 0 0 5px;
filter: contrast(34430%); /* lol */
transform: scaleY(-1);
cursor: pointer;
}
.opaque {
background: white;
padding: 10px;
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
position: relative;
left: -10px;
}
.last_message {
width: 250px;
height: 40px;
overflow: hidden;
opacity: 0.4;
white-space: nowrap;
}
/* pix2wav */
.audioParams {
margin-left: 10px;
}
/* dashboard */
.dashboardHeader > div {
margin-top: 5px;
}
.dashboardModule {
margin-bottom: 10px;
}
.moduleHeading {
justify-content: flex-start;
align-items: center;
}
.moduleHeading div {
margin-left: 3px;
}
.moduleHeading div:before {
content: ' ยท ';
}
/* system */
.screen {
width: 750px;
height: 400px;
max-height: 90vh;
padding: 3px;
white-space: pre;
font-family: Menlo, monospace;
font-size: 12px;
line-height: 15px;
overflow: scroll;
background: rgba(238,238,238,0.4);
border: 1px solid #bbb;
color: #234;
}