ImageButton.stories.scss 701 Bytes
Newer Older
1 2
@import 'src/styles/common';

Andrey Azov's avatar
Andrey Azov committed
3
@import 'src/shared/components/image-button/ImageButton.scss';
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

.imageCard {
  float: left;
  height: 200px;
  display: block;
  width: 150px;
  margin: 10px 10px 10px 0px;
  border-radius: 5px;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
  padding: 5px;

  .imageHolder {
    height: 150px;
    width: 100%;

    img {
      top: 25%;
      left: 25%;
      height: 50%;
      width: 50%;
    }
  }

  .imageDescription {
    text-align: center;
  }
}

.containerStyles {
  float: left;
  padding: 20px;
  clear: both;
  width: 100%;

  .codeContent {
    float: left;
    background: $ens-light-grey;
    padding: 10px;
    margin-top: 10px;
    height: 200px;
  }
}