html,body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background: #000;
background-size: contain;
background-position: bottom left;
background-repeat: no-repeat;
}
* {
box-sizing: border-box;
}
html,body,input,button,textarea,.fileUploadButton {
font-size: 12px;
font-family: sans-serif;
}
/* main view */
.header {
width: 100%;
padding: 5px;
background: #220211;
color: white;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-content: flex-start;
}
.columns {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-content: flex-start;
}
.column {
width: 400px;
}
/* modal */
.modal {
width: 100%;
height: 100%;
position: fixed;
top: 0; left: 0;
background: rgba(0,0,0,0.9);
display: none;
z-index: 2;
}
.modal.visible {
display: block;
}
.modal .inner {
padding: 10px;
position: absolute;
top: 50%;
left: 50%;
transform: translate3d(-50%,-50%,0);
background: white;
border-radius: 2px;
}
.close {
position: absolute;
top: 0px;
right: 10px;
background: black;
color: white;
font-size: 72px;
cursor: pointer;
}
/* forms */
h1 {
margin-top: 0;
}
.form > div {
margin-bottom: 10px;
}
label {
width: 150px;
display: inline-block;
}
input {
width: 200px;
border: 1px solid #888;
padding: 5px;
}
textarea {
width: 324px;
height: 160px;
padding: 5px;
border: 1px solid #888;
margin-top: 10px;
}
/* browser */
.window {
background: white;
margin: 5px;
border: 1px solid #111;
}
.actions span,
.list .name {
cursor: pointer;
color: #08f;
text-decoration: underline;
min-width: 200px;
}
.selected .name {
color: #8ff;
font-weight: bold;
}
.list span {
color: #888;
}
.duration {
display: inline-block;
width: 40px;
text-align: right;
}
.actions span,
.actions a {
padding-left: 5px;
}
.actions a {
}
.list div {
padding: 5px;
}
.list > div.selected {
background: #333 !important;
color: #fff !important;
}
.list > div:nth-child(2n+1) {
background: white;
}
.list > div:nth-child(2n+2) {
background: #f8f8f8;
}
.list > div:hover {
background: #eee;
}
.list > div > span {
display: inline-block;
}
.heading {
display: flex;
flex-direction: row;
justify-content: center;
align-content: center;
background: #333;
color: white;
}
.heading b {
padding: 5px;
}
.heading > div {
flex: 1;
}
.heading .buttons {
display: flex;
flex-direction: row;
justify-content: flex-end;
align-content: flex-end;
}
.selected .actions a {
color: #88f;
}
/* buttons */
button,
.fileUploadButton {
position: relative;
overflow: hidden;
padding: 5px;
display: inline-block;
background: #888;
color: white;
border: 0;
margin-left: 1px;
cursor: pointer;
}
.desktop button:hover,
.desktop .fileUploadButton:hover {
background: #666;
}
button:first-child {
margin: 0;
}
.fileUploadButton input {
position: absolute;
top: 0; left: 0;
width: 100%;
height: 100%;
opacity: 0;
cursor: pointer;
}
.fileUploadButton span {
cursor: pointer;
}