Sha256: f9fca85eda7f93759d969c514e8ac05da05162b676232515c2ff9be19445ea3e

Contents?: true

Size: 1.22 KB

Versions: 8

Compression:

Stored size: 1.22 KB

Contents

.box-quick-link {
  text-align: center;
  margin-bottom: 10px;

  a {
    text-decoration: none;

    .header {
      height: 60px;
      line-height: 60px;
      padding-bottom: 2px;

      [class^="icon-"], [class*=" icon-"] {
        color: $quickIconColor;
        font-size: 30px;
        vertical-align: middle;
      }
    }

    .content {
      text-transform: uppercase;
      font-size: 85%;
      @include ellipsis;
      color: $quickContentColor;
      background-color: $quickContentBackground;
      border-bottom: 1px solid $quickContentBorder;
      padding: 5px;
    }

    &:hover {
      .header {
        [class^="icon-"], [class*=" icon-"] {
          font-size: 40px;
        }
      }

      .content {
        text-decoration: underline;
        border-bottom-color: $quickContentHoverBorder;
        background-color: $quickContentHoverBackground;
      }
    }
  }

  @for $i from 1 through length($colorsNames) {
    $colorName: nth($colorsNames, $i);
    $color: nth($colors, $i);

    &.#{$colorName}-background {
      a:active {
        .header {
          background: darken($color, 10%);
        }
      }

      &:hover {
        .header {
          background: darken($color, 5%);
        }
      }
    }
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cg_app_base-1.1.1 app/assets/stylesheets/flatty/theme/_boxes-quick-links.scss
cg_app_base-1.0.78 app/assets/stylesheets/flatty/theme/_boxes-quick-links.scss
cg_app_base-1.0.62 app/assets/stylesheets/flatty/theme/_boxes-quick-links.scss
cg_app_base-1.0.56 app/assets/stylesheets/flatty/theme/_boxes-quick-links.scss
cg_app_base-1.0.55 app/assets/stylesheets/flatty/theme/_boxes-quick-links.scss
cg_app_base-1.0.54 app/assets/stylesheets/flatty/theme/_boxes-quick-links.scss
cg_app_base-1.0.52 app/assets/stylesheets/flatty/theme/_boxes-quick-links.scss
cg_app_base-1.0.51 app/assets/stylesheets/flatty/theme/_boxes-quick-links.scss