cryptpad/www/file/file.css

111 lines
1.8 KiB
CSS
Raw Normal View History

2017-05-19 09:46:10 +00:00
html,
body {
margin: 0px;
height: 100%;
2017-05-19 09:46:10 +00:00
}
2017-06-12 13:59:24 +00:00
#toolbar {
display: flex;
}
2017-06-15 13:35:52 +00:00
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;
}
2017-05-19 09:46:10 +00:00
.cryptpad-toolbar {
padding: 0px;
display: inline-block;
}
#file,
#dl {
2017-05-19 09:46:10 +00:00
display: block;
2017-05-22 09:16:01 +00:00
height: 100%;
width: 100%;
2017-05-19 09:46:10 +00:00
border: 2px solid black;
}
.inputfile {
width: 0.1px;
height: 0.1px;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: -1;
}
2017-06-15 13:35:52 +00:00
media-tag img {
max-width: 100%;
max-height: calc(100vh - 64px);
}
#upload-form,
#download-form {
2017-05-19 09:46:10 +00:00
padding: 0px;
margin: 0px;
position: relative;
width: 50vh;
height: 50vh;
display: block;
2017-05-22 09:16:01 +00:00
margin: 50px auto;
max-width: 80vw;
2017-05-19 09:46:10 +00:00
}
#upload-form label,
#download-form label {
line-height: calc(50vh - 20px);
2017-05-22 09:16:01 +00:00
text-align: center;
2017-05-19 09:46:10 +00:00
position: relative;
2017-05-22 09:16:01 +00:00
padding: 10px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
height: 50vh;
box-sizing: border-box;
2017-05-19 09:46:10 +00:00
}
#download-form label {
display: flex;
justify-content: center;
align-items: center;
white-space: normal;
word-wrap: break-word;
}
#download-form label span {
width: 50vh;
max-width: 80vw;
text-align: center;
line-height: 1.5em;
}
2017-05-19 09:46:10 +00:00
.hovering {
background-color: rgba(255, 0, 115, 0.5) !important;
}
.block {
display: block;
}
.hidden {
display: none;
}
.inputfile + label {
display: block;
}
#progress {
position: absolute;
top: 0;
left: 0;
2017-05-19 09:46:10 +00:00
height: 100%;
2017-06-15 13:35:52 +00:00
transition: width 200ms;
2017-05-19 09:46:10 +00:00
width: 0%;
max-width: 100%;
max-height: 100%;
background-color: rgba(255, 0, 115, 0.75);
z-index: 10000;
display: block;
}
2017-06-15 13:35:52 +00:00
body #uploadStatusContainer {
background-color: rgba(255, 255, 255, 0.9);
color: black;
opacity: 0.9;
}