Sha256: 9c8bd96974fa4f0cd385d4f2f5eeb8f192c784f8b7a39fde81742417707c96a8

Contents?: true

Size: 1.03 KB

Versions: 7

Compression:

Stored size: 1.03 KB

Contents

.help{
  vertical-align: -2px;

  .icon{
    width: 14px;
    height: 14px;
    fill: $white;
    background: lighten($muted, 20);
    border-radius: 50%;
    padding: 2px;

    &:hover{
      background: $anchor-color;
    }
  }
}

.help-tooltip{
  @include flex;
  @include flex-align(center, middle);

  border: .25rem solid lighten($secondary, 25%);
  border-radius: 50%;
  background-color: $secondary;
  color: $light-gray;
  padding: .25rem;
  cursor: pointer;
}

// Extend Foundation defaults
.tooltip{
  &.light{
    background-color: $body-background;
    color: $body-font-color;
    box-shadow: $prototype-box-shadow;
    border-radius: $global-radius;

    &.top::before{
      border-color: $body-background transparent transparent;
    }

    &.bottom::before{
      border-color: transparent transparent $body-background;
    }

    &.left::before{
      border-color: transparent transparent transparent $body-background;
    }

    &.right::before{
      border-color: transparent $body-background transparent transparent;
    }
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-core-0.15.2 app/assets/stylesheets/decidim/modules/_help.scss
decidim-core-0.15.1 app/assets/stylesheets/decidim/modules/_help.scss
decidim-core-0.15.0 app/assets/stylesheets/decidim/modules/_help.scss
decidim-core-0.14.4 app/assets/stylesheets/decidim/modules/_help.scss
decidim-core-0.14.3 app/assets/stylesheets/decidim/modules/_help.scss
decidim-core-0.14.2 app/assets/stylesheets/decidim/modules/_help.scss
decidim-core-0.14.1 app/assets/stylesheets/decidim/modules/_help.scss