stylist / frontend / src / components / ChooseSalonCard / ChooseSalonCard.module.scss
ChooseSalonCard.module.scss
Raw
//global imports
@import '../../styles/global.colors.scss';
@import '../../styles/global.fonts.scss';

.chooseCard {
  position: relative;
  margin-top: 12px;
  margin-inline: 24px;
  height: 108px;
  display: flex;
  flex-direction: row;
  gap: 12px;

  .open {
    @include MediumGreen11Mixin;
  }

  .closed {
    @include MediumRed11Mixin;
  }
  .cardImage {
    width: 30%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    padding: 0px;
  }

  .textContainer {
    width: 70%;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: 20px;
    justify-content: space-between;
  }

  .upperText,
  .lowerText,
  .genderText,
  .reviewText {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .nameAddress {
    display: flex;
    flex-direction: column;
    gap: 2px;
    h2 {
      @include BoldDark16Mixin;
    }
    p {
      @include MediumLight12Mixin;
    }
  }

  .upperText {
    align-items: center;
    .open {
      @include MediumGreen11Mixin;
    }
  }

  .genderText,
  .reviewText {
    @include MediumDark14Mixin;
    gap: 2px;
    align-items: center;
  }
}