Sha256: 4027ec30f0d779fe786f745eaacc2b7d63f9669c6ee134cd6dba60b878d97813

Contents?: true

Size: 1.7 KB

Versions: 11

Compression:

Stored size: 1.7 KB

Contents

.third_party_embed_opt_in {
  position: absolute;
  top: 0;
  left: 0;
  padding: 15px;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-align: center;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  z-index: 1;

  &::before {
    content: image-url("pageflow/themes/default/embed_opt_in.svg");
    display: block;
    height: 90px;
    width: 120px;
  }

  &-message {
    margin: 1em 0 1.5em 0;
  }

  &-button {
    padding: 10px;
    background-color: transparent;
    color: currentColor;
    border: solid 1px currentColor;
    border-radius: 4px;
    cursor: pointer;
  }

  a {
    color: currentColor;
  }

  .consent_given & {
    display: none;
  }
}

.third_party_embed_opt_out_info {
  display: none;
  color: #fff;
  height: 100%;
  pointer-events: none;

  &-icon,
  &-tooltip {
    position: absolute;
    right: 0;
    box-sizing: border-box;
    min-height: 40px;
    height: 100%;
    pointer-events: auto;
  }

  &-icon {
    border: 0;
    background-color: transparent;
    text-align: initial;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7px 7px;
    z-index: 2;

    &::before {
      content: image-url("pageflow/themes/default/embed_opt_out_info.svg");
      display: block;
      width: 26px;
      height: 26px;
    }
  }

  &-tooltip {
    background-color: #000;
    display: none;
    align-items: center;
    justify-content: flex-end;
    padding: 5px 50px 5px 10px;
    left: 0;
    z-index: 1;

    a {
      color: currentColor;
    }
  }

  &:hover,
  &:focus-within {
    .third_party_embed_opt_out_info-tooltip {
      display: flex;
    }
  }

  .consent_given & {
    display: block;
  }
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pageflow-17.0.4 app/assets/stylesheets/pageflow/themes/default/third_party_embed_consent.scss
pageflow-17.0.3 app/assets/stylesheets/pageflow/themes/default/third_party_embed_consent.scss
pageflow-17.0.2 app/assets/stylesheets/pageflow/themes/default/third_party_embed_consent.scss
pageflow-17.0.1 app/assets/stylesheets/pageflow/themes/default/third_party_embed_consent.scss
pageflow-17.0.0 app/assets/stylesheets/pageflow/themes/default/third_party_embed_consent.scss
pageflow-16.2.0 app/assets/stylesheets/pageflow/themes/default/third_party_embed_consent.scss
pageflow-16.1.0 app/assets/stylesheets/pageflow/themes/default/third_party_embed_consent.scss
pageflow-16.0.0 app/assets/stylesheets/pageflow/themes/default/third_party_embed_consent.scss
pageflow-15.8.0 app/assets/stylesheets/pageflow/themes/default/third_party_embed_consent.scss
pageflow-15.7.1 app/assets/stylesheets/pageflow/themes/default/third_party_embed_consent.scss
pageflow-15.7.0 app/assets/stylesheets/pageflow/themes/default/third_party_embed_consent.scss