Sha256: 3b2c0617111888ca18ce8875820b54cc3e0a76d49c2202f4e262a663fb3ba76a

Contents?: true

Size: 1.88 KB

Versions: 23

Compression:

Stored size: 1.88 KB

Contents

//blue boxes
.outer-quicklink-box{
  margin-right: 1.5%;
  float: left;

  a{
    text-decoration: none;
  }

  &:nth-last-child(1){
    margin-right: 0;
  }
}

.icon-box{
  width: 100px;
  height: 80px;
  margin: $base-margin*4 auto 0 auto;
  background-repeat: no-repeat;
  background-position: center center;
  width: auto;
  text-align: center;
  color: $white;
  font-size: $base-font-size*5;
  line-height: $base-font-size*5;
}

.box-title{
  text-align: center;
  color: $white;
  width: 90%;
  margin: $base-margin*2 auto $base-margin*0 auto;
}

.quicklink-box{
  margin-top: 0;
  padding-top: 1px;
  min-height: 161px;

  &.light-blue-bg:hover{
    background: lighten($brand-blue-light, 3%);
  }

  &.rewards-green-bg:hover{
    background: lighten($brand-green, 3%);
  }
}

.tab-title.active > a{
  outline: none;
}

// For the quicklink boxes, get a count of how many boxes there are.
// For example: for 2 boxes, check if the first box (first-child) is both the first and second-last(nth-last-child(2)).
.outer-quicklink-box:first-child:nth-last-child(1){
  width: 23.5%;
  margin-left: 0;
  margin-right: 1.5%;

  &.fullwidth{
    margin-top: 1.5%;
  }
}

.outer-quicklink-box:first-child:nth-last-child(2),
.outer-quicklink-box:first-child:nth-last-child(2) ~ div,
.outer-quicklink-box:first-child:nth-last-child(2) ~ li{
  width: 49.2%;
  margin-top: 1.5%;
}

.outer-quicklink-box:first-child:nth-last-child(3),
.outer-quicklink-box:first-child:nth-last-child(3) ~ div,
.outer-quicklink-box:first-child:nth-last-child(3) ~ li{
  width: 23.5%;
}

.outer-quicklink-box:first-child:nth-last-child(4),
.outer-quicklink-box:first-child:nth-last-child(4) ~ div,
.outer-quicklink-box:first-child:nth-last-child(4) ~ li{
  width: 24.2%;
  margin-right: 0.8%;
  margin-top: 0.8%;
}

.quicklink-single-box{
  margin-left: 0;
  margin-top: $base-margin*4;

  .outer-quicklink-box > a{
    font-size: $base-font-size;
  }
}

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ama_layout-2.4.5 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.4.4 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.4.3 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.4.2 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.4.1 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.4.0 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.3.4 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.3.3 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.3.2 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.3.1 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.3.0 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.2.13 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.2.12 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.2.11 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.2.10 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.2.9 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.2.8 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.2.7 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.2.6 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss
ama_layout-2.2.5 app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss