Update UI for the file/media app

This commit is contained in:
yflory
2017-06-15 15:35:52 +02:00
parent c2c04bd5d8
commit cbe21959b4
5 changed files with 82 additions and 32 deletions

View File

@@ -7,6 +7,19 @@ html, body {
margin: 0px;
height: 100%;
}
body {
display: flex;
flex-flow: column;
}
#app {
flex: 1;
background: url('/customize/bg3.jpg') no-repeat center center;
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
}
.cryptpad-toolbar {
margin-bottom: 1px;
padding: 0px;
@@ -28,6 +41,13 @@ html, body {
z-index: -1;
}
media-tag {
img {
max-width: 100%;
max-height: ~"calc(100vh - 64px)";
}
}
#upload-form, #download-form {
padding: 0px;
margin: 0px;
@@ -61,14 +81,14 @@ html, body {
display: none;
}
.inputfile + label {
border: 2px solid black;
background-color: rgba(50, 50, 50, .10);
//border: 2px solid black;
//background-color: rgba(50, 50, 50, .10);
display: block;
}
.inputfile:focus + label,
.inputfile + label:hover {
background-color: rgba(50, 50, 50, 0.30);
//background-color: rgba(50, 50, 50, 0.30);
}
#progress {
@@ -78,7 +98,7 @@ html, body {
height: 100%;
transition: width 500ms;
transition: width 200ms;
width: 0%;
max-width: 100%;
max-height: 100%;
@@ -87,3 +107,9 @@ html, body {
display: block;
}
body #uploadStatusContainer {
background-color: rgba(255, 255, 255, 0.9);
color: black;
opacity: 0.9;
display: block !important;
}