bptlab/scylla-ui

View on GitHub
src/app/landing/file-selection/file-reader/file-reader.component.css

Summary

Maintainability
Test Coverage
.inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.inputfile + label {
  font-size: 1em;
  font-weight: 700;
  color: dimgray;
  display: inline-block;
  cursor: pointer; /* "hand" cursor */
}

.inputfile:focus + label {
  outline: 1px dotted #000;
  outline: -webkit-focus-ring-color auto 5px;
}
.inputfile + label:hover {
  color: black;
}

.inputfile + label figure {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #d3394c;
  display: block;
  padding: 20px;
  margin: 0 auto 10px;}

.inputfile + label svg {
  width: 100%;
  height: 100%;
  fill: #f1e5e6;
}