pulseplot
Version:
Pulse data viewer JS library
113 lines (102 loc) • 1.73 kB
CSS
/* drop zone styles */
div#dropBg,
div#dropZone,
div.dropZone {
z-index: 999;
visibility: hidden;
opacity: 0;
transition: opacity .3s ease-in-out;
}
div#dropBg {
z-index: 998;
background: black;
}
.dragdrop div#dropBg,
div#dropZone.active,
div.dropZone.active {
visibility: visible;
opacity: 0.6;
}
div#dropZone.active,
div.dropZone.active {
background: lightgray;
}
div#dropZone.hover,
div.dropZone.hover {
opacity: 0.8;
background: white;
}
div#dropBg,
div#dropZone {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
div.dropZone {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
/* inputfile styles */
.inputfile-box {
display: block;
max-width: 20em;
padding: 40px 20px;
margin: 0 auto;
text-align: center;
}
.inputfile-icon {
width: 100%;
height: 80px;
fill: #d05ce3;
display: block;
margin-bottom: 40px;
}
.inputfile-files {
width: 0.1px;
height: 0.1px;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: -1;
}
label.inputfile-box,
#inputfile + label {
line-height: 1.25;
padding: 2em 0;
}
label.inputfile-box i,
#inputfile + label i {
font-style: normal;
color: #aaa;
}
label.inputfile-box:focus,
label.inputfile-box:hover,
#inputfile:focus + label,
#inputfile + label:hover {
color: blue;
}
/* floating action button styles */
.fab {
width: 70px;
height: 70px;
background-color: #9c27b0;
border-radius: 50%;
box-shadow: 0 6px 10px 0 #666;
transition: all 0.1s ease-in-out;
font-size: 50px;
color: white;
text-align: center;
line-height: 60px;
position: fixed;
right: 50px;
bottom: 50px;
}
.fab:hover {
box-shadow: 0 6px 14px 0 #666;
transform: scale(1.05);
}