Sha256: 10d81cafb10a84579784fa890428a61c5fd8025bc2ad89c7a29490f2475228e8

Contents?: true

Size: 1.06 KB

Versions: 3

Compression:

Stored size: 1.06 KB

Contents

// Tooltip
// --------------------------------------------------

.tooltip {
  font-size: ceil(@component-font-size-base * 0.933); // ~14px
  line-height: 1.286; // 18px
  
  &.in {
    opacity: 1;
  }
  &.top {
    padding-bottom: 9px;
    
    .tooltip-arrow {
      border-top-color: @brand-primary;
      border-width: 9px 9px 0;
      bottom: 0;
      margin-left: -9px;
    }
  }
  &.right {
    .tooltip-arrow {
      border-right-color: @brand-primary;
      border-width: 9px 9px 9px 0;
      margin-top: -9px;
      left: -3px;
    }
  }
  &.bottom {
    padding-top: 8px;
    
    .tooltip-arrow {
      border-bottom-color: @brand-primary;
      border-width: 0 9px 9px;
      margin-left: -9px;
      top: -1px;
    }
  }
  &.left {
    .tooltip-arrow {
      border-left-color: @brand-primary;
      border-width: 9px 0 9px 9px;
      margin-top: -9px;
      right: -3px;
    }
  }
}

.tooltip-inner {
  background-color: @brand-primary;
  line-height: 1.286; // 18px
  padding: 12px 12px;
  text-align: center;
  width: 183px;
  border-radius: @border-radius-large;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flatui-rails-less-1.3 vendor/assets/stylesheets/modules/tooltip.less
flatui-rails-less-1.1 vendor/assets/stylesheets/modules/tooltip.less
flatui-rails-less-1.0 vendor/assets/stylesheets/modules/tooltip.less