Sha256: 987f44c0630e939c1087c751fe2658c25a96f0d327836e451e6245e08f3641ef

Contents?: true

Size: 1.14 KB

Versions: 48

Compression:

Stored size: 1.14 KB

Contents

.hint-with-icon {
  @extend .with-hint;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 $default-margin;

  .toolbar_buttons & {
    margin: 0 2*$default-margin;
  }

  > .icon {
    text-indent: 0;
  }
}

.with-hint {
  position: relative;

  &:hover {
    cursor: help;

    > .hint-bubble {
      @include hint-hover-style;
    }
  }

  > .hint-bubble {
    visibility: hidden;
    background: $light_yellow;
    border-radius: $default-border-radius;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, .3);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    z-index: 100;
    padding: 8px;
    line-height: 1.5em;
    min-width: 180px;
    max-width: 300px;
    white-space: normal;
    text-align: left;
    font-size: $default-font-size;
    opacity: 0;
    transition: .3s;
    pointer-events: none;

    &:before {
      content: '';
      position: absolute;
      top: -8px;
      left: 50%;
      transform: translateX(-50%);
      width: 0px;
      height: 0px;
      border-style: solid;
      border-width: 0 8px 8px 8px;
      border-color: transparent transparent $light_yellow transparent;
    }
  }
}

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
alchemy_cms-5.0.10 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-4.6.7 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-5.0.9 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-4.6.6 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-5.0.8 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-4.6.5 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-4.5.1 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-4.4.5 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-4.6.4 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-5.0.7 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-5.0.6 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-5.0.5 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-4.6.3 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-5.0.4 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-5.0.3 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-5.0.2 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-5.1.0.rc1 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-5.1.0.beta2 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-5.1.0.beta1 app/assets/stylesheets/alchemy/hints.scss
alchemy_cms-5.0.1 app/assets/stylesheets/alchemy/hints.scss