info-cell

by Valeriy Brunov

HTML

<div class="info-cell">
  <div class="panel-list panel-list_space_no img img_space_no">
    <div class="panel img__img img__img_form_square" style="background-image: url('img/t.png')"></div>
  </div>

  <div class="panel-list panel-list_space_no">
    <div class="panel panel_theme_without-shell text text_size_big text_weight_bold">Простое добавление</div>
  </div>

  <div class="panel-list panel-list_space_no">
    <div class="panel panel_theme_without-shell text panel_space_top-no">Зайди на сайт с помощью Google или iPhone аккаунта и вноси номера недображелателей из записной книжки.</div>
  </div>
</div>

CSS

.info-cell {
  padding: 10px;
  border: 1px solid green;
}

.panel {
  padding: 12px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 1px 1px #CCC;
}

.panel_space_top-no { padding-top: 0; }

.panel-list {
  padding-bottom: 12px;
}

.panel-list_space_no {
  padding: 0;
}

.panel_theme_without-shell {
  border-radius: 0;
  box-shadow: none;
  border: 0;
  background-color: #F5F7F2;
}

/**
 * img
 */
.img {
  padding-left: 4px;
  padding-bottom: 4px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.img_space_no {
  /**/
  padding: 0;
}

.img__img {
  position: relative;
  background-color: #666;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  flex-grow: 1;
}

.img__img_form_square:before {
  content: "";
  padding-top: 100%;
  float: left;
}

.text {
  font-family: sans-serif;/*
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;*/

}

.text_weight_bold {
  font-weight: bold;
}

.text_weight_normal {
  font-weight: normal;
}

.text_style_normal {
  font-style: normal;
}

.text_style_italic {
  font-style: italic;
}

.text_size_normal {
  font-size: 1em;
}

.text_size_small {
  font-size: 0.9em;
}

.text_size_tiny {
  font-size: 0.7em;
}

.text_size_big {
  font-size: 1.2em;
}

.text_size_large {
  font-size: 1.4em;
}

.text-basic-menu {
  color: #444;
}