HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: /var/www/kevin-demo/wp-content/themes/fitmencook/sass/vendor/smartbanner.scss
$light-grey: #f3f3f3;
$grey: #767676;
$blue: #1474fc;
$black: #000;

.smartbanner {
  position: absolute;
  top: 0;
  left: 0;
	background-color: #f3f3f3;
  overflow-x: hidden;

  width: 100%;
  height: 84px;


  font-family: Helvetica, sans, sans-serif;

  &__exit {
    position: absolute;
    top: calc(50% - 6px);
    left: 9px;

    display: block;
    margin: 0;


    width: 12px;
    height: 12px;

    border: 0;

    text-align: center;

    &::before,
    &::after {
      position: absolute;
      width: 1px;
      height: 12px;
			background-color: #b1b1b3;
      content: ' ';
    }

    &::before {
      transform: rotate(45deg);
    }

    &::after {
      transform: rotate(-45deg);
    }
  }

  &__icon {
    position: absolute;

    top: 10px;
    left: 30px;

    width: 64px;
    height: 64px;

    border-radius: 15px;
    background-size: 64px 64px;
  }

  &__info {
    position: absolute;

    top: 10px;
    left: 104px;

    display: flex;
    overflow-y: hidden;
    width: 60%;
    height: 64px;

    align-items: center;

    color: $black;

    &__title {
      font-size: 14px;
    }

    &__author,
    &__price {
      font-size: 12px;
			margin-top: 4px;
    }

  }

  &__button {
    position: absolute;
    top: 32px;
    right: 10px;
    z-index: 1;

    display: block;
    padding: 0 10px;
    min-width: 10%;

    border-radius: 5px;

    background: $light-grey;

    color: $blue;
    font-size: 18px;
    text-align: center;
    text-decoration: none;

    &__label {
      text-align: center;
    }
  }

  /** Android styles **/
  &.smartbanner--android {
    background: #f3f3f3;

    .smartbanner__exit {
      left: 6px;

      margin-right: 7px;
      width: 17px;
      height: 17px;

      border-radius: 14px;

      color: #b1b1b3;
      font-size: 20px;
      line-height: 17px;

      &::before,
      &::after {
        top: 3px;
        left: 8px;

        width: 2px;
        height: 11px;

        background: #b1b1b3;
      }

      &:active,
      &:hover {
        color: #eee;
      }
    }

    .smartbanner__icon {
      background-color: transparent;
      box-shadow: none;
    }

    .smartbanner__info {
      color: #3a3a3a;

      &__title {
        color: #3a3a3a;
      }
    }

    .smartbanner__button {
      top: 30px;
      right: 20px;

      padding: 0;
      min-width: 12%;

      border-radius: 0;

      color: #4a86a2;
      font-size: 16px;
      font-weight: bold;

      &:active,
      &:hover {
        background: none;
      }

      &__label {
        display: block;
        margin-left: 10px;

        box-shadow: none;

        line-height: 24px;
        text-align: center;
        text-shadow: none;
        text-transform: none;

      }
    }
  }
}