All files / src/Upload Upload.module.css

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 1071x                                                                                                                                                                                                                    
.container {
  position: relative;
  cursor: pointer;
  transition: all var(--zd_transition3);
  vertical-align: middle;
  padding: 5px;
  border-radius: var(--zd_size2);
}
.light {
  background-color: var(--zdt_upload_default_bg);
}
.night {
  background-color: var(--zdt_upload_night_bg);
}
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--zdt_upload_overlay_bg);
}
.small {
  width: 50px;
  height: 40px;
}
.medium {
  height: 49px;
  width: 65px;
}
.preview {
  opacity: 0.4;
  cursor: default;
}
.loader {
  position: absolute;
  bottom: -1px;
  height: 2px;
  width: 0%;
  transition: width var(--zd_transition6) ease;
  left: 0;
}
.light .loader {
  background: var(--zdt_upload_loader_default_bg);
}
.night .loader {
  background: var(--zdt_upload_loader_night_bg);
}
.uploadimage {
  width: 100%;
  height: 100%;
}
.attachInfo {
  padding: 4px 0 0 8px;
}
.fileIcon {
  font-size: 14px;
}
.attachsize {
  font-size: 10px;
  padding: 4px 0 2px;
  letter-spacing: 1px;
  composes: dotted from "~@zohodesk/components/lib/common/common.module.css";
  text-transform: uppercase;
}
.light .attachsize {
  color: var(--zdt_upload_attachsize_default_text);
}
.night .attachsize {
  color: var(--zdt_upload_attachsize_night_text);
}
.uploadclose {
  height: 12px;
  width: 12px;
  top: 0;
  right: 0;
  position: absolute;
  text-align: center;
  line-height: 0.8333;
  font-size: 12px;
}
.light .uploadclose {
  background-color: var(--zdt_upload_uploadclose_default_bg);
  color: var(--zdt_upload_uploadclose_default_text);
}
.light .uploadclose:hover {
  background-color: var(--zdt_upload_uploadclose_default_hover_text);
}
.night .uploadclose {
  background-color: var(--zdt_upload_uploadclose_night_bg);
  color: var(--zdt_upload_uploadclose_night_text);
}
.night .uploadclose:hover {
  background-color: var(--zdt_upload_uploadclose_night_hover_text);
}
.uploadclose,
.overlay {
  opacity: 0;
  visibility: hidden;
  transition: var(--zd_transition3);
}
.container:hover .uploadclose,
.container:hover .overlay {
  opacity: 1;
  visibility: visible;
}