html,body { margin: 0; padding: 0; width: 100%; height: 100%; font-family: sans-serif; background: #f8feff; } .header { width: 100%; padding: 5px; background: black; color: white; } .modal { width: 100%; height: 100%; position: fixed; top: 0; left: 0; background: rgba(0,0,0,0.9); display: none; } .modal.visible { display: block; } .modal .inner { padding: 10px; position: absolute; top: 50%; left: 50%; transform: translate3d(-50%,-50%,0); background: white; border-radius: 2px; } h1 { margin-top: 0; } .form > div { margin-bottom: 10px; } label { width: 150px; display: inline-block; } input { width: 200px; font-size: 15px; border: 1px solid #888; font-family: sans-serif; padding: 5px; } textarea { width: 320px; height: 160px; padding: 5px; font-size: 15px; border: 1px solid #888; margin-top: 10px; } .folders, .folder { background: white; padding: 5px; margin: 5px; border: 1px solid #888; max-width: 400px; } .folders .name, .folder .name { cursor: pointer; color: #08f; text-decoration: underline; } .list div { padding: 0 0 5px 0; } .heading { display: flex; flex-direction: row; justify-content: center; align-content: center; margin-bottom: 5px; } .heading b { padding: 5px 0; } .heading > div { flex: 1; } .heading .buttons { display: flex; flex-direction: row; justify-content: flex-end; align-content: flex-end; } button, .fileUploadButton { font-size: 15px; position: relative; overflow: hidden; font-family: sans-serif; padding: 5px; display: inline-block; background: #888; color: white; border: 0; margin-left: 5px; } button:first-child { margin: 0; } .fileUploadButton input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; }