index.css 1.38 KB
.zui-cell {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  padding: 0.625rem 1rem;
  overflow: hidden;
  color: #323233;
  font-size: 0.875rem;
  background-color: #fff;
}

.zui-cell--clickable {
  cursor: pointer;
}

.zui-cell--clickable:active {
  background-color: #f2f3f5;
}

.zui-cell__left-icon {
  display: flex;
  align-items: center;
  margin-right: 0.375rem;
}

.zui-cell__right-icon {
  display: flex;
  align-items: center;
  margin-left: 0.375rem;
}

.zui-cell__left-icon, .zui-cell__right-icon {
  min-width: 1em;
  font-size: 1rem;
}

.zui-cell:not(:last-child)::after {
  position: absolute;
  box-sizing: border-box;
  content: ' ';
  pointer-events: none;
  right: 0;
  bottom: 0;
  left: 1rem;
  border-bottom: 1px solid #ebedf0;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
}

.zui-cell__title, .zui-cell__value {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}

.zui-cell__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zui-cell__value {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.zui-cell__value {
  position: relative;
  overflow: hidden;
  color: #969799;
  text-align: right;
  vertical-align: middle;
  word-wrap: break-word;
}

.zui-cell__label {
  padding-top: 0.25rem;
  color: #969799;
  font-size: 0.75rem;
}